Change redirection rules for perl test so stderr results appear in config.log. Thanks to axel@pike.org for the fix.

This commit is contained in:
cls%seawood.org 2000-09-15 21:44:58 +00:00
parent 41cf1e60de
commit 92e0c32028
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -2641,7 +2641,7 @@ else
echo "$ac_t""no" 1>&6
fi
for ac_prog in gawk mawk nawk awk
for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@ -2762,7 +2762,7 @@ fi
echo $ac_n "checking for minimum required perl version $PERL_VERSION""... $ac_c" 1>&6
echo "configure:2765: checking for minimum required perl version $PERL_VERSION" >&5
_perl_version=`$PERL -e 'use Config; print "$Config{version}"; if ($Config{version} >= $PERL_VERSION) { exit(0); } else { exit(1); }' 5>&1`
_perl_version=`$PERL -e 'use Config; print "$Config{version}"; if ($Config{version} >= $PERL_VERSION) { exit(0); } else { exit(1); }' 1>&5`
_perl_res=$?
echo "$ac_t""$_perl_version" 1>&6

View File

@ -296,7 +296,7 @@ if test -z "$PERL"; then
fi
AC_MSG_CHECKING([for minimum required perl version $PERL_VERSION])
_perl_version=`$PERL -e 'use Config; print "$Config{version}"; if ($Config{version} >= $PERL_VERSION) { exit(0); } else { exit(1); }' 5>&1`
_perl_version=`$PERL -e 'use Config; print "$Config{version}"; if ($Config{version} >= $PERL_VERSION) { exit(0); } else { exit(1); }' 1>&5`
_perl_res=$?
AC_MSG_RESULT([$_perl_version])