This commit is contained in:
Max Lv
2016-02-01 12:26:55 +08:00
parent da06378915
commit 4be34cbd82
3 changed files with 6 additions and 7 deletions
-3
View File
@@ -149,9 +149,6 @@
/* Define to 1 if you have the <port.h> header file. */
#undef HAVE_PORT_H
/* Define if you have POSIX threads libraries and header files. */
#undef HAVE_PTHREAD
/* Have PTHREAD_PRIO_INHERIT. */
#undef HAVE_PTHREAD_PRIO_INHERIT
Vendored
+3 -3
View File
@@ -15545,9 +15545,9 @@ test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$ax_pthread_ok" = xyes; then
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"
:
else
ax_pthread_ok=no
+3 -1
View File
@@ -267,7 +267,9 @@ AC_CHECK_LIB(socket, connect)
dnl Checks for library functions.
AC_CHECK_FUNCS([malloc memset socket])
AX_PTHREAD(, AC_MSG_ERROR(Can not find pthreads. This is required.))
AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"], AC_MSG_ERROR(Can not find pthreads. This is required.))
AM_COND_IF([USE_SYSTEM_SHARED_LIB],
[],