X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstdbool.m4;h=def6e147f8ab06c362a6217e5eae4646022ef4ea;hb=ef8e4e5cfec5367d1c3c3aedf15408371de20f6d;hp=14e59029455d0056b1eecaf9b05860c245c9bded;hpb=6fb9c924caaf59848e7ae72d703bdb05b6487339;p=gnulib.git diff --git a/m4/stdbool.m4 b/m4/stdbool.m4 index 14e590294..def6e147f 100644 --- a/m4/stdbool.m4 +++ b/m4/stdbool.m4 @@ -17,6 +17,9 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. +# This file is only needed in autoconf <= 2.54. Newer versions of autoconf +# have this macro built-in. + AC_DEFUN([AC_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], [ac_cv_header_stdbool_h], @@ -57,6 +60,7 @@ AC_DEFUN([AC_HEADER_STDBOOL], [ return !a + !b + !c + !d + !e + !f + !g + !h + !i; ], [ac_cv_header_stdbool_h=yes], [ac_cv_header_stdbool_h=no])]) + AC_CHECK_TYPES([_Bool]) if test $ac_cv_header_stdbool_h = yes; then AC_DEFINE(HAVE_STDBOOL_H, 1, [Define to 1 if stdbool.h conforms to C99.]) fi])