CVS update: php3
| From: | sas | Date: | Sun, 20 Jun 1999 19:00:40 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7260@lists.php.net to get a copy of this message | ||
Date: Sunday June 20, 1999 @ 15:00
Author: sas
Update of /repository/php3
In directory php:/tmp/cvs-serv18966
Modified Files:
aclocal.m4
Log Message:
Use the version from PHP4. The old version might not work, if the target is not a directory
Index: php3/aclocal.m4
diff -u php3/aclocal.m4:1.39 php3/aclocal.m4:1.40
--- php3/aclocal.m4:1.39 Sun Jun 20 10:26:50 1999
+++ php3/aclocal.m4 Sun Jun 20 15:00:40 1999
@@ -1,4 +1,4 @@
-dnl $Id: aclocal.m4,v 1.39 1999/06/20 14:26:50 sas Exp $
+dnl $Id: aclocal.m4,v 1.40 1999/06/20 19:00:40 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -25,11 +25,10 @@
dnl expands path to an absolute path and assigns it to variable
dnl
AC_DEFUN(AC_EXPAND_PATH,[
- ai_expand="
cd $1 && pwd"
- if test -n "$ai_expand" ; then
- $2="$ai_expand"
- else
+ if echo "$1" | grep '^/' >/dev/null ; then
$2="$1"
+ else
+ $2="pwd/$1"
fi
])