From 808f05c205f5e8896c2f634252ca8d91e99485ec Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 11 Jul 2002 13:33:22 +0000 Subject: [PATCH] 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 --- sapi/apache/config.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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` -- 2.40.0