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/ChangeLog | 5 +++++ testsuites/aclocal/prog-cc.m4 | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'testsuites') diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index 52efcf82b0..bad5f35423 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -1,3 +1,8 @@ +2009-04-03 Ralf Corsépius + + * aclocal/prog-cc.m4: Preset ac_cv_exeext=.exe for *-rtems* + toolchains. + 2008-12-22 Ralf Corsépius * aclocal/canonical-target-name.m4: Remove tic4x. 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