gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: configure: fixed det


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: configure: fixed detection of "pthread_np.h" on OpenBSD
Date: Sun, 09 Apr 2017 19:46:57 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 6c2c0f57 configure: fixed detection of "pthread_np.h" on OpenBSD
6c2c0f57 is described below

commit 6c2c0f57e4f14fe1ac9dee93b7fd7f555aea15b7
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Apr 9 20:38:27 2017 +0300

    configure: fixed detection of "pthread_np.h" on OpenBSD
---
 configure.ac | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 936550ce..fa572d5b 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]