diff --git a/configure b/configure index 756952b96..84f85f28c 100755 --- a/configure +++ b/configure @@ -4160,7 +4160,11 @@ tar xfz pthreads.tar.gz cd threads/src ./configure cd ../../../ +if test "$ac_cv_pthreadspecial"!=no; then PTHREAD_CFLAGS="-I=../extras/threads/include $ac_cv_pthreadspecial" +else +PTHREAD_CFLAGS="-I=../extras/threads/include" +fi PTHREAD_LIBS="../extras/lib/libgthreads.a ../extras/lib/libmalloc.a" fi fi @@ -4186,12 +4190,12 @@ CC="$PTHREAD_CC" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" IRCDLIBS="$IRCDLIBS $PTHREAD_LIBS" echo $ac_n "checking if FD_SETSIZE is large enough to allow $ac_fd file descriptors""... $ac_c" 1>&6 -echo "configure:4190: checking if FD_SETSIZE is large enough to allow $ac_fd file descriptors" >&5 +echo "configure:4194: checking if FD_SETSIZE is large enough to allow $ac_fd file descriptors" >&5 if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -4203,7 +4207,7 @@ exit(1); } EOF -if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""yes" 1>&6 else