]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure.ac: check for secure_getenv where available and always enable system extensions
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 27 May 2016 20:48:48 +0000 (22:48 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 27 May 2016 20:48:48 +0000 (22:48 +0200)
configure.ac

index ff47b6289a8c7922311f0516ef0ec9965c8f3e72..beef3ca719d42a0608886cdb41f96a6f3c8b1e0d 100644 (file)
@@ -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]),