summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-03 17:46:39 +0000
committerSascha Schumann <sas@php.net>1999-09-03 17:46:39 +0000
commit5b293ecd4dcd22a391784a88cead34d810e7eac7 (patch)
tree368e68e3f30932d16012778b301c2c78fbf5e46a /acinclude.m4
parent690575e51f1866e00074411aae18f98d76cfdf26 (diff)
downloadphp-git-5b293ecd4dcd22a391784a88cead34d810e7eac7.tar.gz
- add global startup/shutdown handlers
- improve genif.sh to also consider all header files for inclusion (checks for phpext_) - use vsnprintf in main.c to avoid buffer overflows - improve sessions's mm module to cope better with OOM situations within the shared memory segment - fix typo wrt session.auto_start
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b8e80403da..dac3621304 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -141,6 +141,7 @@ dnl XXX have to change the hardcoding of ".a" when we want to be able
dnl to make dynamic libraries as well.
dnl
AC_DEFUN(PHP_EXTENSION,[
+ if test -d "$cwd/$srcdir/ext/$1" ; then
EXT_SUBDIRS="$EXT_SUBDIRS $1"
if test "$2" != "shared" -a "$2" != "yes"; then
_extlib="libphpext_$1.a"
@@ -153,6 +154,7 @@ AC_DEFUN(PHP_EXTENSION,[
dnl EXT_INCLUDE_CODE="\#include \"ext/$1/php3_$1.h\"\\n$EXT_INCLUDE_CODE"
dnl EXT_MODULE_PTRS="phpext_$1_ptr, $EXT_MODULE_PTRS"
dnl "
+ fi
])
AC_SUBST(EXT_SUBDIRS)