]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
quoting change
authorDavid MacKenzie <djm@djmnet.org>
Tue, 30 Aug 1994 01:30:23 +0000 (01:30 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Tue, 30 Aug 1994 01:30:23 +0000 (01:30 +0000)
acgeneral.m4
lib/autoconf/general.m4

index aaff454a9c747d24b34dd66d3f17b5465ba4f32b..73a46bcd366347d364c41a34e59e1c1393e4484e 100644 (file)
@@ -1213,9 +1213,10 @@ cat > conftest.${ac_ext} <<EOF
 #include "confdefs.h"
 [$1]
 EOF
-# Some shells (Coherent) do redirections in the wrong order, so need
-# the parens.
-ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
+dnl Capture the stderr of cpp.
+dnl Coherent sh does redirections in the wrong order, so separate them
+dnl with quotes.
+ac_err=`eval "$ac_cpp conftest.${ac_ext} >/dev/null" 2>&1`
 if test -z "$ac_err"; then
   ifelse([$2], , :, [rm -rf conftest*
   $2])
index aaff454a9c747d24b34dd66d3f17b5465ba4f32b..73a46bcd366347d364c41a34e59e1c1393e4484e 100644 (file)
@@ -1213,9 +1213,10 @@ cat > conftest.${ac_ext} <<EOF
 #include "confdefs.h"
 [$1]
 EOF
-# Some shells (Coherent) do redirections in the wrong order, so need
-# the parens.
-ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
+dnl Capture the stderr of cpp.
+dnl Coherent sh does redirections in the wrong order, so separate them
+dnl with quotes.
+ac_err=`eval "$ac_cpp conftest.${ac_ext} >/dev/null" 2>&1`
 if test -z "$ac_err"; then
   ifelse([$2], , :, [rm -rf conftest*
   $2])