diff options
| author | Sascha Schumann <sas@php.net> | 2002-07-11 13:33:22 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2002-07-11 13:33:22 +0000 |
| commit | 808f05c205f5e8896c2f634252ca8d91e99485ec (patch) | |
| tree | 11a1fa890cae0e32f717df540ef72954105978dd /sapi | |
| parent | 6c19790778d391253dc9fb0d6895089714a8a47f (diff) | |
| download | php-git-808f05c205f5e8896c2f634252ca8d91e99485ec.tar.gz | |
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
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/apache/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index ec6101ede2..a652ee1440 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -3,10 +3,11 @@ dnl $Id$ 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` |
