diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 48f62b59a..103dd027d 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -61,6 +61,7 @@ AC_DEFUN([jm_MACROS], AC_REQUIRE([jm_FUNC_GNU_STRFTIME]) AC_REQUIRE([jm_FUNC_MKTIME]) AC_REQUIRE([jm_FUNC_FPENDING]) + AC_REQUIRE([AC_SYS_MMAP_STACK]) # This is for od and stat, and any other program that # uses the PRI.MAX macros from inttypes.h. @@ -161,6 +162,9 @@ AC_DEFUN([jm_MACROS], tzset \ ) + # for test.c + AC_CHECK_FUNCS(setreuid setregid) + AM_FUNC_GETLINE if test $am_cv_func_working_getline != yes; then AC_CHECK_FUNCS(getdelim)