From dea3a9cacf6e4a703a1d7244c413e5e35421fbcf Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 3 Apr 2009 12:43:40 +0000 Subject: =?UTF-8?q?2009-04-03=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * aclocal/prog-cc.m4: Preset ac_cv_exeext=.exe for *-rtems* toolchains. --- testsuites/aclocal/prog-cc.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuites/aclocal/prog-cc.m4') diff --git a/testsuites/aclocal/prog-cc.m4 b/testsuites/aclocal/prog-cc.m4 index 5b3e1149dc..e611fbcbef 100644 --- a/testsuites/aclocal/prog-cc.m4 +++ b/testsuites/aclocal/prog-cc.m4 @@ -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]) -- cgit v1.2.3