aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-03-01 03:54:55 +0000
committerChristian Grothoff <christian@grothoff.org>2007-03-01 03:54:55 +0000
commit0d33aa149bc3f7945ba2f4bb8d71fb8c38619970 (patch)
tree2e825e9c5bcd09c75f9d2b69efe8eab28d82efe1
parenta84f9bc7b3896a197a1e4c41a5311d6b52928034 (diff)
downloadlibmicrohttpd-0d33aa149bc3f7945ba2f4bb8d71fb8c38619970.tar.gz
libmicrohttpd-0d33aa149bc3f7945ba2f4bb8d71fb8c38619970.zip
pt
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 475e4f73..e2d57e5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@ netbsd*)
92esac 92esac
93 93
94CHECK_PTHREAD 94CHECK_PTHREAD
95LIBS="$PTHREAD_LIBS $LIBS"
95AC_SUBST(PTHREAD_LIBS) 96AC_SUBST(PTHREAD_LIBS)
96AC_SUBST(PTHREAD_LDFLAGS) 97AC_SUBST(PTHREAD_LDFLAGS)
97AC_SUBST(PTHREAD_CPPFLAGS) 98AC_SUBST(PTHREAD_CPPFLAGS)
@@ -100,6 +101,11 @@ AC_SUBST(PTHREAD_CPPFLAGS)
100AC_CHECK_MEMBER(pthread_t.p, AC_DEFINE(HAVE_NEW_PTHREAD_T, 1, 101AC_CHECK_MEMBER(pthread_t.p, AC_DEFINE(HAVE_NEW_PTHREAD_T, 1,
101 [Define if you have a post 11/2004 pthread library]), , [#include <pthread.h>]) 102 [Define if you have a post 11/2004 pthread library]), , [#include <pthread.h>])
102 103
104AC_CHECK_FUNCS(pthread_equal)
105
106# Check for headers that are ALWAYS required
107AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h pthread.h],,AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files]))
108
103 109
104# libcurl (required for testing) 110# libcurl (required for testing)
105SAVE_LIBS=$LIBS 111SAVE_LIBS=$LIBS