diff options
Diffstat (limited to 'testsuites/aclocal/prog-cc.m4')
-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]) |