summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cc.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-08-21 05:37:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-08-21 05:37:41 +0000
commit8ad16bac296cf446a9473041c9c6fd4a25fed038 (patch)
tree7ccb4b8454d2117fd0ff989213cbbcd58234c0fd /aclocal/prog-cc.m4
parentfb7f8d35bfa226c9a2363d42f4275f8110c24847 (diff)
downloadrtems-8ad16bac296cf446a9473041c9c6fd4a25fed038.tar.bz2
2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-arg-enable.m4, aclocal/bsp-configure.m4, aclocal/bspopts.m4, aclocal/canonicalize-tools.m4, aclocal/check-bsp-cache.m4, aclocal/check-cxx.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-networking.m4, aclocal/check-newlib.m4, aclocal/check-posix.m4, aclocal/check-rdbg.m4, aclocal/check-tool.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/i386-gas-code16.m4, aclocal/path-perl.m4, aclocal/ppc.m4, aclocal/prog-cc.m4, aclocal/prog-ccas.m4, aclocal/prog-cxx.m4, aclocal/prog-gnat.m4, aclocal/rtems-debug.m4, aclocal/rtems-flags.m4, aclocal/rtems-test-no-pause.m4, aclocal/target.m4: Remove (Unused). * automake/leaf.am, automake/force-preinstall.am: Remove (Unused). * Makefile.am: Reflect changes above.
Diffstat (limited to 'aclocal/prog-cc.m4')
-rw-r--r--aclocal/prog-cc.m448
1 files changed, 0 insertions, 48 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
deleted file mode 100644
index 24a9d842a1..0000000000
--- a/aclocal/prog-cc.m4
+++ /dev/null
@@ -1,48 +0,0 @@
-dnl
-dnl $Id$
-dnl
-dnl Check for target gcc
-dnl
-
-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
-
-_RTEMS_FLAGS([CFLAGS],
- ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
-
-RTEMS_CHECK_TOOL(CC,gcc)
-test -z "$CC" && \
- AC_MSG_ERROR([no acceptable cc found in \$PATH])
-AC_PROG_CC
-AC_PROG_CPP
-
-AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes")
-])
-
-AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
-[
-dnl check target cc
-RTEMS_PROG_CC
-dnl check if the compiler supports -isystem
-RTEMS_GCC_ISYSTEM
-dnl check if the target compiler may use --pipe
-RTEMS_GCC_PIPE
-test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
-
-dnl check if the compiler supports --specs
-RTEMS_GCC_SPECS
-
-if test "$GCC" = yes; then
-RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
-m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
-fi
-
-AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[
- RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
- RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
-])
-AC_SUBST(RTEMS_CPPFLAGS)
-])