]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
DJGPP fix: remove both conftest and conftest.exe.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Sep 2009 19:16:15 +0000 (21:16 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Sep 2009 17:33:57 +0000 (19:33 +0200)
The DJGPP compiler may create both `a.out' and `a.exe' without -o,
and both `conftest' and `conftest.exe' with `-o conftest', but not
with `-o conftest.exe'.

* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove
`conftest' without $ac_exeext suffix.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autoconf/lang.m4

index 1617ee420cbf5a5163d80424ce6806df961dcd45..93a5bc8933e730483d573badbbe3813de1d0c4fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-09-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       DJGPP fix: remove both conftest and conftest.exe.
+       The DJGPP compiler may create both `a.out' and `a.exe' without -o,
+       and both `conftest' and `conftest.exe' with `-o conftest', but not
+       with `-o conftest.exe'.
+       * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove
+       `conftest' without $ac_exeext suffix.
+
        DJGPP fix: do not try to source /dev/null as cache or site file.
        * lib/autoconf/general.m4 (AC_SITE_LOAD, AC_CACHE_LOAD): Do not
        load the cache or site file if it is `/dev/null', as DJGPP treats
index 8fd2925855eba449a9bfaaf952ae788a73e3f826..5b44c684f25ffa2b41d32a331812edf5ae1652cc 100644 (file)
@@ -614,7 +614,7 @@ for ac_file in conftest.exe conftest conftest.*; do
   esac
 done],
              [AC_MSG_FAILURE([cannot compute suffix of executables: cannot compile and link])])
-rm -f conftest$ac_cv_exeext
+rm -f conftest conftest$ac_cv_exeext
 AC_MSG_RESULT([$ac_cv_exeext])
 ])# _AC_COMPILER_EXEEXT_O