aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-21 02:46:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-21 02:46:09 +0000
commit7be33370370576182eaf875e3dec337d96811e45 (patch)
tree162bef25378e9e307beb19a01d48f0646eddefed
parentb4c984fbec1caaaa03c2c2bf2c9b42d3f7679223 (diff)
downloadgcc-7be33370370576182eaf875e3dec337d96811e45.zip
gcc-7be33370370576182eaf875e3dec337d96811e45.tar.gz
gcc-7be33370370576182eaf875e3dec337d96811e45.tar.bz2
aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in subshells.
* aclocal.m4 (gcc_AC_PROG_GNAT): Run prospective ada drivers in subshells. * configure.in: Likewise for perl Pod::Man. * configure: Regenerated. From-SVN: r48230
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/aclocal.m42
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.in2
4 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3360227..c137b11 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,13 @@
2001-12-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * 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 <ghazi@caip.rutgers.edu>
+
* builtin-attrs.def (__builtin_printf_unlocked,
__builtin_fprintf_unlocked, printf_unlocked, fprintf_unlocked):
Mark with the __printf__ attribute.
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index 90fdb69..2fd6095 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 385810c..a32fa3a 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 8cbc766..f1f52be 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