summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-14 01:17:28 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-14 01:17:28 +0000
commit8bf7f49616231f3803fb376421ec7b9725ced1ff (patch)
treedf0248ef66a1b9bbd655e3a745286864201b27fb /m4
parent23b2b5c660f482cc9ea6f1d6a70e69b6ed1aede2 (diff)
downloadcoreutils-8bf7f49616231f3803fb376421ec7b9725ced1ff.tar.xz
(AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting
2005-11-25 change.
Diffstat (limited to 'm4')
-rw-r--r--m4/stdbool.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/stdbool.m4 b/m4/stdbool.m4
index 86ae312d4..162f1dfc8 100644
--- a/m4/stdbool.m4
+++ b/m4/stdbool.m4
@@ -11,7 +11,7 @@ AC_DEFUN([AM_STDBOOL_H],
[
AC_REQUIRE([AC_HEADER_STDBOOL])
- # Define an additional variable used in the Makefile substitution.
+ # Define two additional variables used in the Makefile substitution.
if test "$ac_cv_header_stdbool_h" = yes; then
STDBOOL_H=''
@@ -19,6 +19,13 @@ AC_DEFUN([AM_STDBOOL_H],
STDBOOL_H='stdbool.h'
fi
AC_SUBST([STDBOOL_H])
+
+ if test "$ac_cv_type__Bool" = yes; then
+ HAVE__BOOL=1
+ else
+ HAVE__BOOL=0
+ fi
+ AC_SUBST([HAVE__BOOL])
])
# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future.