cvs: /php4 configure.in

From: Date: Wed, 17 Nov 1999 21:06:33 +0000
Subject: cvs: /php4 configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-6394@lists.php.net to get a copy of this message
sas Wed Nov 17 16:06:33 1999 EDT Modified files: /php4 configure.in Log: Remove --enable-thread-safety. There is no reason people should be able to set this manually; most likely, they will burn themselves by using it. Index: php4/configure.in diff -u php4/configure.in:1.35 php4/configure.in:1.36 --- php4/configure.in:1.35 Wed Nov 17 04:38:21 1999 +++ php4/configure.in Wed Nov 17 16:06:32 1999 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.35 1999/11/17 09:38:21 thies Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.36 1999/11/17 21:06:32 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(0) @@ -634,24 +634,20 @@ test -n "$auto_cflags" && test -n "$GCC" && CFLAGS="$CFLAGS -O2" AC_MSG_CHECKING(whether to build PHP thread-safe) -AC_ARG_ENABLE(thread-safety, -[ --enable-thread-safety Whether to build PHP thread-safe.],[ - if test "$enableval" = "yes"; then - TSRM_LIB='TSRM/libtsrm.la' - TSRM_DIR=TSRM - AC_DEFINE(ZTS) - INCLUDES="$INCLUDES -I\$(top_builddir)/TSRM -I\$(top_srcdir)/TSRM" - CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" - export CPPFLAGS - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - fi -],[ - TSRM_DIR="" - TSRM_LIB="" - AC_MSG_RESULT(no) -]) + +if test "$enable_thread_safety" = "yes"; then + TSRM_LIB='TSRM/libtsrm.la' + TSRM_DIR=TSRM + AC_DEFINE(ZTS) + INCLUDES="$INCLUDES -I\$(top_builddir)/TSRM -I\$(top_srcdir)/TSRM" + CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" + export CPPFLAGS +else + enable_thread_safety=no +fi + +AC_MSG_RESULT($enable_thread_safety) + AC_SUBST(TSRM_DIR) AC_SUBST(TSRM_LIB)

« previous php.version4 (#6394) next »