diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33602270c7e..c137b110064 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-12-20 Kaveh R. Ghazi + + * aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in + subshells. + * configure.in: Likewise for perl Pod::Man. + + * configure: Regenerated. + 2001-12-20 Kaveh R. Ghazi * builtin-attrs.def (__builtin_printf_unlocked, diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 90fdb691f21..2fd6095af7c 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -321,7 +321,7 @@ for cand in ${ac_tool_prefix}$user_adac $user_adac \ # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1. # Therefore we must check for the error message as well as an # unsuccessful exit. - errors=`$cand -c conftest.adb 2>&1 || echo failure` + errors=`($cand -c conftest.adb) 2>&1 || echo failure` if test x"$errors" = x; then gcc_cv_prog_adac=$cand break diff --git a/gcc/configure b/gcc/configure index 385810cf63a..a32fa3ae54e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -2997,7 +2997,7 @@ for cand in ${ac_tool_prefix}$user_adac $user_adac \ # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1. # Therefore we must check for the error message as well as an # unsuccessful exit. - errors=`$cand -c conftest.adb 2>&1 || echo failure` + errors=`($cand -c conftest.adb) 2>&1 || echo failure` if test x"$errors" = x; then gcc_cv_prog_adac=$cand break @@ -3124,7 +3124,7 @@ fi # Is pod2man recent enough to regenerate manpages? echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6 echo "configure:3127: checking for recent Pod::Man" >&5 -if perl -e 'use 1.10 Pod::Man' >/dev/null 2>&1; then +if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then echo "$ac_t""yes" 1>&6 GENERATED_MANPAGES=generated-manpages else diff --git a/gcc/configure.in b/gcc/configure.in index 8cbc7666f80..f1f52be2f00 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -501,7 +501,7 @@ fi # Is pod2man recent enough to regenerate manpages? AC_MSG_CHECKING([for recent Pod::Man]) -if perl -e 'use 1.10 Pod::Man' >/dev/null 2>&1; then +if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then AC_MSG_RESULT(yes) GENERATED_MANPAGES=generated-manpages AC_SUBST(GENERATED_MANPAGES) else