summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/prog-cc.m4')
-rw-r--r--aclocal/prog-cc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4
index 73967f035e..164934ba51 100644
--- a/aclocal/prog-cc.m4
+++ b/aclocal/prog-cc.m4
@@ -16,6 +16,7 @@ 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")
])
@@ -43,7 +44,7 @@ AM_CONDITIONAL(RTEMS_USE_GCC272, test x"$RTEMS_USE_GCC272" = x"yes")
AC_SUBST(RTEMS_USE_GCC272)
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
-case $host_os in
+case $build_os in
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
*) ;;
esac