From 5b293ecd4dcd22a391784a88cead34d810e7eac7 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 3 Sep 1999 17:46:39 +0000 Subject: - 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 --- acinclude.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'acinclude.m4') 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) -- cgit v1.2.1