Skip to content

Commit

Permalink
relabel
Browse files Browse the repository at this point in the history
  • Loading branch information
zsuraski committed Jan 19, 2003
1 parent dce8267 commit 4c8473d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Zend/Zend.m4
Expand Up @@ -107,11 +107,11 @@ AC_ARG_ENABLE(debug,

AC_DEFUN(LIBZEND_OTHER_CHECKS,[
AC_ARG_ENABLE(experimental-zts,
[ --enable-experimental-zts This will most likely break your build],[
ZEND_EXPERIMENTAL_ZTS=$enableval
AC_ARG_ENABLE(maintainer-zts,
[ --enable-maintainer-zts Enable thread safety - for code maintainers only],[
ZEND_MAINTAINER_ZTS=$enableval
],[
ZEND_EXPERIMENTAL_ZTS=no
ZEND_MAINTAINER_ZTS=no
])
AC_ARG_ENABLE(inline-optimization,
Expand All @@ -130,7 +130,7 @@ AC_ARG_ENABLE(memory-limit,
])
AC_MSG_CHECKING(whether to enable thread-safety)
AC_MSG_RESULT($ZEND_EXPERIMENTAL_ZTS)
AC_MSG_RESULT($ZEND_MAINTAINER_ZTS)
AC_MSG_CHECKING(whether to enable inline optimization for GCC)
AC_MSG_RESULT($ZEND_INLINE_OPTIMIZATION)
Expand All @@ -156,7 +156,7 @@ fi
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
if test "$ZEND_MAINTAINER_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])
CFLAGS="$CFLAGS -DZTS"
LIBZEND_CPLUSPLUS_CHECKS
Expand Down
2 changes: 1 addition & 1 deletion acinclude.m4
Expand Up @@ -777,7 +777,7 @@ dnl
dnl PHP_BUILD_THREAD_SAFE
dnl
AC_DEFUN([PHP_BUILD_THREAD_SAFE],[
enable_experimental_zts=yes
enable_maintainer_zts=yes
if test "$pthreads_working" != "yes"; then
AC_MSG_ERROR([ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.])
fi
Expand Down
8 changes: 4 additions & 4 deletions configure.in
Expand Up @@ -237,7 +237,7 @@ dnl Show which main SAPI was selected
AC_MSG_CHECKING([for chosen SAPI module])
AC_MSG_RESULT([$PHP_SAPI])

if test "$enable_experimental_zts" = "yes"; then
if test "$enable_maintainer_zts" = "yes"; then
PTHREADS_ASSIGN_VARS
PTHREADS_FLAGS
fi
Expand Down Expand Up @@ -836,7 +836,7 @@ TSRM_LIB='TSRM/libtsrm.la'
TSRM_DIR=TSRM
CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/TSRM"
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
if test "$ZEND_MAINTAINER_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])
PHP_THREAD_SAFETY=yes
else
Expand Down Expand Up @@ -898,15 +898,15 @@ if test -z "$EXTENSION_DIR"; then
else
part1=no-debug
fi
if test "$enable_experimental_zts" = "yes"; then
if test "$enable_maintainer_zts" = "yes"; then
part2=zts
else
part2=non-zts
fi
extbasedir=$part1-$part2-$extbasedir
EXTENSION_DIR=$libdir/extensions/$extbasedir
else
if test "$enable_experimental_zts" = "yes"; then
if test "$enable_maintainer_zts" = "yes"; then
extbasedir=$extbasedir-zts
fi

Expand Down

0 comments on commit 4c8473d

Please sign in to comment.