--- configure.orig Wed Nov 23 22:37:49 2005 +++ configure Fri Nov 25 10:39:54 2005 @@ -3654,7 +3654,7 @@ save_LIBS=$LIBS if test -n "$ac_cv_pthreads_lib"; then - LIBS="$LIBS -l$ac_cv_pthreads_lib" + LIBS="$LIBS $ac_cv_pthreads_lib" fi if test -n "$ac_cv_pthreads_cflags"; then @@ -12074,7 +12074,7 @@ if test "$enable_maintainer_zts" = "yes"; then if test -n "$ac_cv_pthreads_lib"; then - LIBS="$LIBS -l$ac_cv_pthreads_lib" + LIBS="$LIBS $ac_cv_pthreads_lib" fi if test -n "$ac_cv_pthreads_cflags"; then @@ -12091,8 +12091,6 @@ case $host_alias in *solaris*) PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";; - *freebsd*) - PTHREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE";; *linux*) PTHREAD_FLAGS=-D_REENTRANT;; *aix*) @@ -100076,7 +100074,7 @@ save_LIBS=$LIBS if test -n "$ac_cv_pthreads_lib"; then - LIBS="$LIBS -l$ac_cv_pthreads_lib" + LIBS="$LIBS $ac_cv_pthreads_lib" fi if test -n "$ac_cv_pthreads_cflags"; then @@ -108808,7 +108806,7 @@ - for header_file in Zend/ TSRM/ include/ main/ main/streams/ regex/; do + for header_file in Zend/ TSRM/ main/ main/streams/ regex/ ext/spl/; do unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'`