bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HAVE__BOOL reversion for coreutils main branch


From: Paul Eggert
Subject: HAVE__BOOL reversion for coreutils main branch
Date: Tue, 13 Dec 2005 17:19:20 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

One more stdbool-related change.  I hope this is the last one needed
on the trunk for a while.  It reverts to a previous version where
HAVE__BOOL is concerned.

2005-12-13  Paul Eggert  <address@hidden>

        * stdbool.m4 (AM_STDBOOL_H): Substitute HAVE__BOOL again, reverting
        2005-11-25 change.

--- m4/stdbool.m4       13 Dec 2005 19:41:57 -0000      1.8
+++ m4/stdbool.m4       14 Dec 2005 01:17:28 -0000      1.9
@@ -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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]