From: Paul Eggert Date: Wed, 14 Dec 2005 01:17:28 +0000 (+0000) Subject: (AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting X-Git-Tag: v6.0~1132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8bf7f49616231f3803fb376421ec7b9725ced1ff;p=thirdparty%2Fcoreutils.git (AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting 2005-11-25 change. --- 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.