diff options
author | Bruno Haible <bruno@clisp.org> | 2002-12-31 13:43:06 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2002-12-31 13:43:06 +0000 |
commit | e059c2358aad79ce8dfd9581dd6f12ce8503dc63 (patch) | |
tree | 9ddff5119783ac032c26bc98393df8f5f3a15f41 /m4/stdbool.m4 | |
parent | 53b8fa05726a7fb30010e42ce02e44a35f0d7489 (diff) | |
download | gnulib-e059c2358aad79ce8dfd9581dd6f12ce8503dc63.tar.gz |
An independent .m4 file for each module.
Diffstat (limited to 'm4/stdbool.m4')
-rw-r--r-- | m4/stdbool.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/stdbool.m4 b/m4/stdbool.m4 index 14e5902945..def6e147f8 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]) |