summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cc.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-15 14:13:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-15 14:13:01 +0000
commitf289c0987057c449ce2aecdd90073e9bc770a0c8 (patch)
tree975364ebd65eea597e39a83a1a1512bd6fc88bc6 /aclocal/prog-cc.m4
parent2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-f289c0987057c449ce2aecdd90073e9bc770a0c8.tar.bz2
2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Add CXX_FOR_*, CXXFLAGS_FOR_*. Fix stupid typo (continue/configure). * aclocal/prog-cc.m4: Remove obsolete comments. Acknowledge CFLAGS.
Diffstat (limited to 'aclocal/prog-cc.m4')
-rw-r--r--aclocal/prog-cc.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
index 11b47d4610..7404bd2f8e 100644
--- a/aclocal/prog-cc.m4
+++ b/aclocal/prog-cc.m4
@@ -27,18 +27,13 @@ dnl check if the compiler supports --specs
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_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
]
m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
[
-CFLAGS="-g -Wall"
+CFLAGS=${CFLAGS--g -Wall}
fi
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*