summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-09 22:07:10 +0000
committerSascha Schumann <sas@php.net>2000-03-09 22:07:10 +0000
commitf6460bfe6fc548b317926ceeb3c75de46d69049c (patch)
tree8bcb247c1473e3ab9b0344ff1ac3f397e3237979 /acinclude.m4
parent81ff62c2713b690434514d3bc1cac59f7af22bae (diff)
downloadphp-git-f6460bfe6fc548b317926ceeb3c75de46d69049c.tar.gz
VPATH builds were broken, if the user specified the path to configure
using an absolute path. With this change, absolute and relative paths are accepted and processed correctly.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2adf676716..7b5f4c6c60 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -404,8 +404,8 @@ dnl "shared" can be set to "shared" or "yes" to build the extension as
dnl a dynamically loadable library.
dnl
AC_DEFUN(PHP_EXTENSION,[
- if test -d "$cwd/$srcdir/ext/$1" ; then
- ext_src_base="${abs_srcdir}/ext/$1/"
+ if test -d "$abs_srcdir/ext/$1" ; then
+ ext_src_base="$abs_srcdir/ext/$1/"
ext_base="ext/$1/"
EXT_SUBDIRS="$EXT_SUBDIRS $1"
if test "$2" != "shared" && test "$2" != "yes" && test -z "$php_always_shared"; then