summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cc.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-09 17:04:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-09 17:04:53 +0000
commit2dbd07f8dc2ba53ba4a556bb76da768d91610c6a (patch)
tree912f73354b40f90ceabbcd6202af1a89648fac08 /aclocal/prog-cc.m4
parent5913d94de8d52e6a69c0123abf42f633cf24af94 (diff)
downloadrtems-2dbd07f8dc2ba53ba4a556bb76da768d91610c6a.tar.bz2
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/gcc-pipe.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf standard). * aclocal/gcc-specs.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf standard). * aclocal/multilib.m4: Fix m4-quoting (BUG-FIX). * aclocal/check-bsp-cache.m4: Fix m4-quoting (autoconf-2.49b). * aclocal/prog-cc.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf standard), replace CC_FOR_TARGET with CC (BUG-FIX).
Diffstat (limited to 'aclocal/prog-cc.m4')
-rw-r--r--aclocal/prog-cc.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
index 7661f09132..73967f035e 100644
--- a/aclocal/prog-cc.m4
+++ b/aclocal/prog-cc.m4
@@ -17,7 +17,7 @@ test -z "$CC" && \
AC_MSG_ERROR([no acceptable cc found in \$PATH])
AC_PROG_CC
-AM_CONDITIONAL(RTEMS_USE_GCC,test x"$ac_cv_prog_gcc" = x"yes")
+AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes")
])
AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
@@ -35,7 +35,7 @@ if test "$RTEMS_USE_GCC272" != "yes" ; then
RTEMS_USE_GCC272=yes
fi
fi
-test "$rtems_cv_gcc_pipe" = "yes" && CC_FOR_TARGET="$CC_FOR_TARGET --pipe"
+test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
## Conditional for automake files
AM_CONDITIONAL(RTEMS_USE_GCC272, test x"$RTEMS_USE_GCC272" = x"yes")