diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/prereq.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4 index a12f59107..0d3708445 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -60,7 +60,7 @@ AC_DEFUN([jm_PREREQ_DIRNAME], AC_DEFUN([jm_PREREQ_EXCLUDE], [ jm_FUNC_FNMATCH - AC_CHECK_HEADERS(stdbool.h) + AC_HEADER_STDBOOL ]) AC_DEFUN([jm_PREREQ_GETPAGESIZE], @@ -78,7 +78,8 @@ AC_DEFUN([jm_PREREQ_HARD_LOCALE], AC_DEFUN([jm_PREREQ_HASH], [ - AC_CHECK_HEADERS(stdlib.h stdbool.h) + AC_CHECK_HEADERS(stdlib.h) + AC_HEADER_STDBOOL AC_REQUIRE([jm_CHECK_DECLS]) ]) |