summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cc.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-17 13:27:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-17 13:27:29 +0000
commit53eb191abe88daf72afc304724ce137c4f7ab10e (patch)
tree186e5a0d85cfe685520ab620636e8484c43e18cf /aclocal/prog-cc.m4
parent2001-04-16 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-53eb191abe88daf72afc304724ce137c4f7ab10e.tar.bz2
2002-04-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/prog-cc.m4: Remove GCC272 support. Remove ENABLE_LIBCDIR. * aclocal/prog-cxx.m4: Ditto. * aclocal/enable-gcc28.m4: Remove. * aclocal/enable-libcdir.m4: Ditto.
Diffstat (limited to 'aclocal/prog-cc.m4')
-rw-r--r--aclocal/prog-cc.m416
1 files changed, 4 insertions, 12 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
index 4b6d70f071..11b47d4610 100644
--- a/aclocal/prog-cc.m4
+++ b/aclocal/prog-cc.m4
@@ -9,8 +9,6 @@ AC_DEFUN(RTEMS_PROG_CC,
AC_BEFORE([$0], [AC_PROG_CPP])dnl
AC_BEFORE([$0], [AC_PROG_CC])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
-AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
-AC_REQUIRE([RTEMS_ENABLE_GCC28])dnl
RTEMS_CHECK_TOOL(CC,gcc)
test -z "$CC" && \
@@ -30,12 +28,10 @@ RTEMS_GCC_SPECS
dnl check if the target compiler may use --pipe
RTEMS_GCC_PIPE
dnl check if the compiler supports --specs if gcc28 is requested
-if test "$RTEMS_USE_GCC272" != "yes" ; then
- if test "$rtems_cv_gcc_specs" = "no"; then
- AC_MSG_WARN([*** disabling --enable-gcc28])
- RTEMS_USE_GCC272=yes
- fi
-fi
+# if test "$rtems_cv_gcc_specs" = "no"; then
+# AC_MSG_WARN([*** disabling --enable-gcc28])
+# RTEMS_USE_GCC272=yes
+# fi
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
if test "$GCC" = yes; then
@@ -44,10 +40,6 @@ m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
[
CFLAGS="-g -Wall"
fi
-## Conditional for automake files
-AM_CONDITIONAL(RTEMS_USE_GCC272, test x"$RTEMS_USE_GCC272" = x"yes")
-## Make variable for autoconf fragments (*.cfg)
-AC_SUBST(RTEMS_USE_GCC272)
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
case $build_os in