libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 0d33aa149bc3f7945ba2f4bb8d71fb8c38619970
parent a84f9bc7b3896a197a1e4c41a5311d6b52928034
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  1 Mar 2007 03:54:55 +0000

pt

Diffstat:
Mconfigure.ac | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -92,6 +92,7 @@ netbsd*) esac CHECK_PTHREAD +LIBS="$PTHREAD_LIBS $LIBS" AC_SUBST(PTHREAD_LIBS) AC_SUBST(PTHREAD_LDFLAGS) AC_SUBST(PTHREAD_CPPFLAGS) @@ -100,6 +101,11 @@ AC_SUBST(PTHREAD_CPPFLAGS) AC_CHECK_MEMBER(pthread_t.p, AC_DEFINE(HAVE_NEW_PTHREAD_T, 1, [Define if you have a post 11/2004 pthread library]), , [#include <pthread.h>]) +AC_CHECK_FUNCS(pthread_equal) + +# Check for headers that are ALWAYS required +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])) + # libcurl (required for testing) SAVE_LIBS=$LIBS