2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>

* aclocal/prog-cc.m4: Preset ac_cv_exeext=.exe for *-rtems*
	  toolchains.
This commit is contained in:
Ralf Corsepius
2009-04-03 12:43:40 +00:00
parent 52f8e7aa0d
commit dea3a9cacf
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ AC_BEFORE([$0], [AC_PROG_CPP])dnl
AC_BEFORE([$0], [AC_PROG_CC])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
case "$host" in
*-*-rtems*) ac_cv_exeext=.exe;;
esac
RTEMS_CHECK_TOOL(CC,gcc)
test -z "$CC" && \
AC_MSG_ERROR([no acceptable cc found in \$PATH])