cvs: /php4 acinclude.m4
| From: | Sascha Schumann | Date: | Thu, 09 Mar 2000 22:07:10 +0000 |
| Subject: | cvs: /php4 acinclude.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11827@lists.php.net to get a copy of this message | ||
sas Thu Mar 9 14:07:10 2000 EDT
Modified files:
/php4 acinclude.m4
Log:
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.
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.65 php4/acinclude.m4:1.66
--- php4/acinclude.m4:1.65 Tue Mar 7 10:05:16 2000
+++ php4/acinclude.m4 Thu Mar 9 14:07:10 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.65 2000/03/07 18:05:16 sas Exp $
+dnl $Id: acinclude.m4,v 1.66 2000/03/09 22:07:10 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -404,8 +404,8 @@
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