diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-03-01 03:54:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-03-01 03:54:55 +0000 |
commit | 0d33aa149bc3f7945ba2f4bb8d71fb8c38619970 (patch) | |
tree | 2e825e9c5bcd09c75f9d2b69efe8eab28d82efe1 | |
parent | a84f9bc7b3896a197a1e4c41a5311d6b52928034 (diff) | |
download | libmicrohttpd-0d33aa149bc3f7945ba2f4bb8d71fb8c38619970.tar.gz libmicrohttpd-0d33aa149bc3f7945ba2f4bb8d71fb8c38619970.zip |
pt
-rw-r--r-- | configure.ac | 6 |
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*) | |||
92 | esac | 92 | esac |
93 | 93 | ||
94 | CHECK_PTHREAD | 94 | CHECK_PTHREAD |
95 | LIBS="$PTHREAD_LIBS $LIBS" | ||
95 | AC_SUBST(PTHREAD_LIBS) | 96 | AC_SUBST(PTHREAD_LIBS) |
96 | AC_SUBST(PTHREAD_LDFLAGS) | 97 | AC_SUBST(PTHREAD_LDFLAGS) |
97 | AC_SUBST(PTHREAD_CPPFLAGS) | 98 | AC_SUBST(PTHREAD_CPPFLAGS) |
@@ -100,6 +101,11 @@ AC_SUBST(PTHREAD_CPPFLAGS) | |||
100 | AC_CHECK_MEMBER(pthread_t.p, AC_DEFINE(HAVE_NEW_PTHREAD_T, 1, | 101 | AC_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 | ||
104 | AC_CHECK_FUNCS(pthread_equal) | ||
105 | |||
106 | # Check for headers that are ALWAYS required | ||
107 | AC_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) |
105 | SAVE_LIBS=$LIBS | 111 | SAVE_LIBS=$LIBS |