diff options
| author | Eli Zaretskii | 2013-04-18 21:29:04 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-04-18 21:29:04 +0300 |
| commit | d4d223998d1bccd21bdcc062558c1b2700857e4a (patch) | |
| tree | 3c50da93f4f87d9f7e8b48a84bed2fab7dbafd7b | |
| parent | 09e94df23efedd7544de1be61d017337829363f5 (diff) | |
| download | emacs-d4d223998d1bccd21bdcc062558c1b2700857e4a.tar.gz emacs-d4d223998d1bccd21bdcc062558c1b2700857e4a.zip | |
Used AH_TEMPLATE as suggested by Glenn Morris.
| -rw-r--r-- | configure.ac | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index dfe35dab9d1..79402a73ab2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3559,18 +3559,19 @@ AC_DEFINE(HAVE_SOCKETS, 1, [Define if the system supports | |||
| 3559 | 3559 | ||
| 3560 | AH_TEMPLATE(INTERNAL_TERMINAL, [This is substituted when $TERM is "internal".]) | 3560 | AH_TEMPLATE(INTERNAL_TERMINAL, [This is substituted when $TERM is "internal".]) |
| 3561 | 3561 | ||
| 3562 | AH_TEMPLATE(NULL_DEVICE, [Name of the file to open to get | ||
| 3563 | a null file, or a data sink.]) | ||
| 3562 | if test "${opsys}" = "mingw32"; then | 3564 | if test "${opsys}" = "mingw32"; then |
| 3563 | AC_DEFINE(NULL_DEVICE, ["NUL:"], [Name of the file to open to get | 3565 | AC_DEFINE(NULL_DEVICE, ["NUL:"]) |
| 3564 | a null file, or a data sink.]) | ||
| 3565 | else | 3566 | else |
| 3566 | AC_DEFINE(NULL_DEVICE, ["/dev/null"], [Name of the file to open to get | 3567 | AC_DEFINE(NULL_DEVICE, ["/dev/null"]) |
| 3567 | a null file, or a data sink.]) | ||
| 3568 | fi | 3568 | fi |
| 3569 | 3569 | ||
| 3570 | AH_TEMPLATE(SEPCHAR, [Character that separates PATH elements.]) | ||
| 3570 | if test "${opsys}" = "mingw32"; then | 3571 | if test "${opsys}" = "mingw32"; then |
| 3571 | AC_DEFINE(SEPCHAR, [';'], [Character that separates PATH elements.]) | 3572 | AC_DEFINE(SEPCHAR, [';']) |
| 3572 | else | 3573 | else |
| 3573 | AC_DEFINE(SEPCHAR, [':'], [Character that separates PATH elements.]) | 3574 | AC_DEFINE(SEPCHAR, [':']) |
| 3574 | fi | 3575 | fi |
| 3575 | 3576 | ||
| 3576 | dnl Everybody supports this, except MS-DOS. | 3577 | dnl Everybody supports this, except MS-DOS. |
| @@ -3582,9 +3583,10 @@ AC_DEFINE(USER_FULL_NAME, [pw->pw_gecos], [How to get a user's full name.]) | |||
| 3582 | AC_DEFINE(DIRECTORY_SEP, ['/'], | 3583 | AC_DEFINE(DIRECTORY_SEP, ['/'], |
| 3583 | [Character that separates directories in a file name.]) | 3584 | [Character that separates directories in a file name.]) |
| 3584 | 3585 | ||
| 3586 | AH_TEMPLATE(DEVICE_SEP, [Character that separates a device in a file name.]) | ||
| 3585 | if test "${opsys}" = "mingw32"; then | 3587 | if test "${opsys}" = "mingw32"; then |
| 3586 | dnl Only used on MS platforms. | 3588 | dnl Only used on MS platforms. |
| 3587 | AC_DEFINE(DEVICE_SEP, ':', [Character that separates a device in a file name.]) | 3589 | AC_DEFINE(DEVICE_SEP, ':') |
| 3588 | AC_DEFINE(IS_DEVICE_SEP(_c_), [((_c_) == DEVICE_SEP)], | 3590 | AC_DEFINE(IS_DEVICE_SEP(_c_), [((_c_) == DEVICE_SEP)], |
| 3589 | [Returns true if character is a device separator.]) | 3591 | [Returns true if character is a device separator.]) |
| 3590 | 3592 | ||
| @@ -3594,8 +3596,6 @@ if test "${opsys}" = "mingw32"; then | |||
| 3594 | AC_DEFINE(IS_ANY_SEP(_c_), [(IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP(_c_))], | 3596 | AC_DEFINE(IS_ANY_SEP(_c_), [(IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP(_c_))], |
| 3595 | [Returns true if character is any form of separator.]) | 3597 | [Returns true if character is any form of separator.]) |
| 3596 | else | 3598 | else |
| 3597 | AH_TEMPLATE(DEVICE_SEP, [Character that separates a device in a file name.]) | ||
| 3598 | |||
| 3599 | AC_DEFINE(IS_DEVICE_SEP(_c_), 0, | 3599 | AC_DEFINE(IS_DEVICE_SEP(_c_), 0, |
| 3600 | [Returns true if character is a device separator.]) | 3600 | [Returns true if character is a device separator.]) |
| 3601 | 3601 | ||