diff --git a/NEWS b/NEWS index 842b72ad920..f126bbe76fe 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ PHP NEWS array property). (Laruence) . Fixed bug #70898, #70895 (null ptr deref and segfault with crafted callable). (Anatol, Laruence) + . Fixed bug #70899 (buildconf failure in extensions). (Bob, Reeze) - Mysqlnd: . Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction). diff --git a/build/config-stubs b/build/config-stubs index 765eb541b09..fb49bd4e8cd 100755 --- a/build/config-stubs +++ b/build/config-stubs @@ -4,7 +4,9 @@ dir=$1; shift for stubfile in $dir/*/config0.m4 $dir/*/config.m4 $dir/*/config9.m4; do - echo "config_m4_src=$stubfile -config_m4_dir=`dirname $stubfile` + echo "dnl Define where extension directories are located in the configure context +AC_DEFUN([PHP_EXT_BUILDDIR], [`dirname $stubfile`]) +AC_DEFUN([PHP_EXT_DIR], [`dirname $stubfile`]) +AC_DEFUN([PHP_EXT_SRCDIR], [\$abs_srcdir/`dirname $stubfile`]) sinclude($stubfile)" done