cvs: php4 /sapi/apache config.m4
| From: | Sascha Schumann | Date: | Thu, 11 Jul 2002 13:33:23 +0000 |
| Subject: | cvs: php4 /sapi/apache config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12783@lists.php.net to get a copy of this message | ||
sas Thu Jul 11 09:33:23 2002 EDT
Modified files:
/php4/sapi/apache config.m4
Log:
the variable interpolation was already subject to IFS treatment,
which resulted in the execution of the foremost directory.
we capture the output before setting IFS now
Index: php4/sapi/apache/config.m4
diff -u php4/sapi/apache/config.m4:1.60 php4/sapi/apache/config.m4:1.61
--- php4/sapi/apache/config.m4:1.60 Thu Jul 11 04:44:42 2002
+++ php4/sapi/apache/config.m4 Thu Jul 11 09:33:22 2002
@@ -1,12 +1,13 @@
dnl
-dnl $Id: config.m4,v 1.60 2002/07/11 08:44:42 sas Exp $
+dnl $Id: config.m4,v 1.61 2002/07/11 13:33:22 sas Exp $
dnl
AC_DEFUN(PHP_AP_EXTRACT_VERSION,[
+ ac_output=
$1 -v 2>&1
ac_IFS=$IFS
IFS="- /.
"
- set $1 -v 2>&1
+ set $ac_output
IFS=$ac_IFS
APACHE_VERSION=expr [$]4 \* 1000000 + [$]5 \* 1000 + [$]6