summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-05-27 22:48:48 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-05-27 22:48:48 +0200
commit5b0f8fe7c9bc4cde95be634c7dda1769f76bd6a6 (patch)
tree09de49b1918b8756dfeae73a9934dbe1008cbaa8 /configure.ac
parentdcf90a9b9718f369ee114233e94c2f2129e231cc (diff)
downloadgnutls-5b0f8fe7c9bc4cde95be634c7dda1769f76bd6a6.tar.gz
configure.ac: check for secure_getenv where available and always enable system extensions
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ff47b6289a..beef3ca719 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
+
AX_CODE_COVERAGE
AC_ARG_ENABLE(doc,
@@ -241,7 +243,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_ARG_ENABLE(seccomp-tests,
AS_HELP_STRING([--enable-seccomp-tests], [unconditionally enable tests with seccomp]),