Skip to content

Commit

Permalink
- add PHP_BUILD_THREAD_SAFE
Browse files Browse the repository at this point in the history
- move #undef HAVE_AOLSERVER into its own config.h.stub
  • Loading branch information
Sascha Schumann committed Nov 24, 1999
1 parent 769e25e commit a4c7570
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions acconfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#undef PACKAGE
#undef VERSION

#undef HAVE_AOLSERVER

#undef HAVE_STRUCT_FLOCK
#undef HAVE_TM_GMTOFF

Expand Down
8 changes: 8 additions & 0 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ AC_DEFUN(PHP_SET_SYM_FILE,
PHP_SYM_FILE="$1"
])

dnl
dnl PHP_BUILD_THREAD_SAFE
dbl
AC_DEFUN(PHP_BUILD_THREAD_SAFE,[
enable_thread_safety=yes
passthru="$passthru --enable-thread-safety"
])

dnl
dnl PHP_BUILD_SHARED
dnl
Expand Down
1 change: 1 addition & 0 deletions sapi/aolserver/config.h.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#undef HAVE_AOLSERVER
3 changes: 1 addition & 2 deletions sapi/aolserver/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ AC_ARG_WITH(aolserver,
if test ! -d $withval ; then
AC_MSG_ERROR(You did not specify a directory)
fi
enable_thread_safety=yes
passthru="$passthru --enable-thread-safety"
PHP_BUILD_THREAD_SAFE
NS_DIR=$withval
AC_ADD_INCLUDE($NS_DIR/include)
AC_DEFINE(HAVE_AOLSERVER)
Expand Down

0 comments on commit a4c7570

Please sign in to comment.