libmicrohttpd

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

commit 6c2c0f57e4f14fe1ac9dee93b7fd7f555aea15b7
parent 9d9a9a3f00a5a26c5ffc89874eda6e6f29d4e66e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun,  9 Apr 2017 20:38:27 +0300

configure: fixed detection of "pthread_np.h" on OpenBSD

Diffstat:
Mconfigure.ac | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -398,7 +398,13 @@ if test "x$enable_thread_names" != "xno" && test "x$USE_THREADS" = "xposix"; the SAVE_CFLAGS="$CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - AC_CHECK_HEADERS([pthread_np.h],[],[],[AC_INCLUDES_DEFAULT]) + AC_CHECK_HEADERS([pthread_np.h],[],[], + [ +AC_INCLUDES_DEFAULT + [ +#include <pthread.h> + ] + ]) # Try to find how to set thread name by thread attributes. # If pthread_attr_setname_np(3) is not declared, it's not possible to detect