summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4410b28434..c195d2faa3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,8 @@ AM_PROG_CC_C_O
AC_PROG_YACC
AC_PROG_SED
+AC_USE_SYSTEM_EXTENSIONS
+
AC_ARG_ENABLE(doc,
AS_HELP_STRING([--disable-doc], [don't generate any documentation]),
enable_doc=$enableval, enable_doc=yes)
@@ -229,7 +231,7 @@ fi
AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no")
-AC_CHECK_FUNCS([__register_atfork],,)
+AC_CHECK_FUNCS([__register_atfork secure_getenv],,)
AC_LIB_HAVE_LINKFLAGS(rt,, [#include <time.h>
#include <signal.h>