aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2013-04-18 21:29:04 +0300
committerEli Zaretskii2013-04-18 21:29:04 +0300
commitd4d223998d1bccd21bdcc062558c1b2700857e4a (patch)
tree3c50da93f4f87d9f7e8b48a84bed2fab7dbafd7b
parent09e94df23efedd7544de1be61d017337829363f5 (diff)
downloademacs-d4d223998d1bccd21bdcc062558c1b2700857e4a.tar.gz
emacs-d4d223998d1bccd21bdcc062558c1b2700857e4a.zip
Used AH_TEMPLATE as suggested by Glenn Morris.
-rw-r--r--configure.ac18
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
3560AH_TEMPLATE(INTERNAL_TERMINAL, [This is substituted when $TERM is "internal".]) 3560AH_TEMPLATE(INTERNAL_TERMINAL, [This is substituted when $TERM is "internal".])
3561 3561
3562AH_TEMPLATE(NULL_DEVICE, [Name of the file to open to get
3563 a null file, or a data sink.])
3562if test "${opsys}" = "mingw32"; then 3564if 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.])
3565else 3566else
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.])
3568fi 3568fi
3569 3569
3570AH_TEMPLATE(SEPCHAR, [Character that separates PATH elements.])
3570if test "${opsys}" = "mingw32"; then 3571if test "${opsys}" = "mingw32"; then
3571 AC_DEFINE(SEPCHAR, [';'], [Character that separates PATH elements.]) 3572 AC_DEFINE(SEPCHAR, [';'])
3572else 3573else
3573 AC_DEFINE(SEPCHAR, [':'], [Character that separates PATH elements.]) 3574 AC_DEFINE(SEPCHAR, [':'])
3574fi 3575fi
3575 3576
3576dnl Everybody supports this, except MS-DOS. 3577dnl 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.])
3582AC_DEFINE(DIRECTORY_SEP, ['/'], 3583AC_DEFINE(DIRECTORY_SEP, ['/'],
3583 [Character that separates directories in a file name.]) 3584 [Character that separates directories in a file name.])
3584 3585
3586AH_TEMPLATE(DEVICE_SEP, [Character that separates a device in a file name.])
3585if test "${opsys}" = "mingw32"; then 3587if 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.])
3596else 3598else
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