diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-04-03 12:43:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-04-03 12:43:40 +0000 |
commit | dea3a9cacf6e4a703a1d7244c413e5e35421fbcf (patch) | |
tree | aff4bbd0b5aa1becb0776ad3676ef0b17afae2aa /testsuites/aclocal | |
parent | 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org> (diff) | |
download | rtems-dea3a9cacf6e4a703a1d7244c413e5e35421fbcf.tar.bz2 |
2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Preset ac_cv_exeext=.exe for *-rtems*
toolchains.
Diffstat (limited to 'testsuites/aclocal')
-rw-r--r-- | testsuites/aclocal/prog-cc.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
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]) |