diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-12-14 01:17:28 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-12-14 01:17:28 +0000 |
commit | 8bf7f49616231f3803fb376421ec7b9725ced1ff (patch) | |
tree | df0248ef66a1b9bbd655e3a745286864201b27fb /m4 | |
parent | 23b2b5c660f482cc9ea6f1d6a70e69b6ed1aede2 (diff) | |
download | coreutils-8bf7f49616231f3803fb376421ec7b9725ced1ff.tar.xz |
(AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting
2005-11-25 change.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/stdbool.m4 | 9 |
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. |