Browse Source

Fix #484

pull/486/head
Max Lv 9 years ago
parent
commit
f3117e24af
2 changed files with 2 additions and 4 deletions
  1. 3
      configure
  2. 3
      configure.ac

3
configure

@ -15553,9 +15553,8 @@ if test x"$ax_pthread_ok" = xyes; then
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
CLIBS="$PTHREAD_LIBS $LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"
:
else

3
configure.ac

@ -270,9 +270,8 @@ AC_CHECK_FUNCS([malloc memset socket])
AX_PTHREAD([
AC_DEFINE(HAVE_PTHREAD, 1,
[Define if you have POSIX threads libraries and header files.])
CLIBS="$PTHREAD_LIBS $LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"],
AC_MSG_ERROR([No pthread support on this machine]))

Loading…
Cancel
Save