]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 01:17:28 +0000 (01:17 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 01:17:28 +0000 (01:17 +0000)
2005-11-25 change.

m4/stdbool.m4

index 86ae312d4365d4bda71d139e4b92958604bb0770..162f1dfc80ced56fe1bd87b2acf77897bf6bc9a5 100644 (file)
@@ -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.