Skip to content

Commit ab28632

Browse files
committed
Revert unnecessary php.m4 change
1 parent bbd371a commit ab28632

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build/php.m4

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,11 @@ dnl from the sources. Should not be used directly.
213213
dnl
214214
AC_DEFUN([PHP_ADD_SOURCES_X],[
215215
dnl Relative to source- or build-directory?
216-
dnl source-path is "" when called from PHP_NEW_EXTENSION() for extensions built
217-
dnl with phpize, or a relative path when built in php-src.
218216
dnl ac_srcdir/ac_bdir include trailing slash
219217
case $1 in
220-
""[)] ac_srcdir="$abs_srcdir/"; ac_bdir="$abs_builddir/"; ac_inc="-I$ac_bdir -I. -I$abs_srcdir" ;;
218+
""[)] ac_srcdir="$abs_srcdir/"; unset ac_bdir; ac_inc="-I. -I$abs_srcdir" ;;
221219
/*[)] ac_srcdir=`echo "$1"|cut -c 2-`"/"; ac_bdir=$ac_srcdir; ac_inc="-I$ac_bdir -I$abs_srcdir/$ac_bdir" ;;
222-
*[)] ac_srcdir="$abs_srcdir/$1/"; ac_bdir="$abs_builddir/$1/"; ac_inc="-I$ac_bdir -I$ac_srcdir" ;;
220+
*[)] ac_srcdir="$abs_srcdir/$1/"; ac_bdir="$1/"; ac_inc="-I$ac_bdir -I$ac_srcdir" ;;
223221
esac
224222
225223
dnl how to build .. shared or static?

0 commit comments

Comments
 (0)