]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
check for getpid().
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 26 Jan 2013 11:49:16 +0000 (12:49 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 26 Jan 2013 11:49:16 +0000 (12:49 +0100)
configure.ac

index 8b86639f4eb72db62df6a65ed025db38dff3a726..c8be40225ea23bd8e8f827d9a563bd32eb4b7e7b 100644 (file)
@@ -199,7 +199,7 @@ AC_PROG_LIBTOOL
 
 
 dnl No fork on MinGW, disable some self-tests until we fix them.
-AC_CHECK_FUNCS([fork getrusage getpwuid_r daemon],,)
+AC_CHECK_FUNCS([fork getrusage getpwuid_r daemon getpid],,)
 AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no")
 AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);])