Move TSRM checks, so that additional flags can be considered

@- Added GNU Pth support (Sascha, TSRM library)
This commit is contained in:
Sascha Schumann 1999-12-21 18:04:31 +00:00
parent fa1f318d74
commit 23e5aedd37

View file

@ -723,6 +723,11 @@ dnl test -n "$GCC" && CFLAGS="$CFLAGS -fpic"
dnl add -fPIC option on Solaris if we are building dynamic extensions dnl add -fPIC option on Solaris if we are building dynamic extensions
dnl PHP_SOLARIS_PIC_WEIRDNESS dnl PHP_SOLARIS_PIC_WEIRDNESS
if test "$PHP_THREAD_SAFETY" = "yes"; then
TSRM_BASIC_CHECKS
TSRM_OTHER_CHECKS
fi
phplibdir="`pwd`/modules" phplibdir="`pwd`/modules"
phptempdir="`pwd`/libs" phptempdir="`pwd`/libs"
@ -755,11 +760,6 @@ AC_SUBST(PHP_LIBS)
AC_SUBST(PHP_SAPI) AC_SUBST(PHP_SAPI)
AC_SUBST(INSTALL_IT) AC_SUBST(INSTALL_IT)
if test "$PHP_THREAD_SAFETY" = "yes"; then
TSRM_BASIC_CHECKS
TSRM_PTHREAD
fi
#libphp4.module #libphp4.module
AC_OUTPUT([Makefile php4.spec Zend/Makefile ext/Makefile sapi/Makefile pear/Makefile AC_OUTPUT([Makefile php4.spec Zend/Makefile ext/Makefile sapi/Makefile pear/Makefile
$PHP_OUTPUT_FILES $PHP_OUTPUT_FILES