File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -213,13 +213,11 @@ dnl from the sources. Should not be used directly.
213
213
dnl
214
214
AC_DEFUN ( [ PHP_ADD_SOURCES_X] ,[
215
215
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.
218
216
dnl ac_srcdir/ac_bdir include trailing slash
219
217
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" ;;
221
219
/*[ )] 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" ;;
223
221
esac
224
222
225
223
dnl how to build .. shared or static?
You can’t perform that action at this time.
0 commit comments