From 8bf7f49616231f3803fb376421ec7b9725ced1ff Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 14 Dec 2005 01:17:28 +0000 Subject: [PATCH] (AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting 2005-11-25 change. --- m4/stdbool.m4 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/m4/stdbool.m4 b/m4/stdbool.m4 index 86ae312d43..162f1dfc80 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. -- 2.47.3