]> granicus.if.org Git - php/commitdiff
the variable interpolation was already subject to IFS treatment,
authorSascha Schumann <sas@php.net>
Thu, 11 Jul 2002 13:33:22 +0000 (13:33 +0000)
committerSascha Schumann <sas@php.net>
Thu, 11 Jul 2002 13:33:22 +0000 (13:33 +0000)
which resulted in the execution of the foremost directory.

we capture the output before setting IFS now

sapi/apache/config.m4

index ec6101ede2522596243e44215d69a5ca4f92d9e6..a652ee1440c8fe1d82c961dc031bb920598bfd35 100644 (file)
@@ -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`