]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Apr 2007 05:50:27 +0000 (05:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Apr 2007 05:50:27 +0000 (05:50 +0000)
for a.* when searching for executables, as this prevents users
from having files like a.c.  Problem reported by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
This fixes a problem introduced on 2000-12-19.

ChangeLog
lib/autoconf/lang.m4

index b82ce141856abf85ae9b6a376c13de8693a7bb8b..bd7441e739e89e461362147a0ce971341dbe02aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-04-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
+       for a.* when searching for executables, as this prevents users
+       from having files like a.c.  Problem reported by Ralf Wildenhues in:
+       http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
+       This fixes a problem introduced on 2000-12-19.
+
 2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
 
        * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
index 8a205b0acd58e65189c020f644bd9d0c055bcac8..1755a8a8ff05adc91ece3d721a8c6404a6d319b2 100644 (file)
@@ -477,9 +477,9 @@ AC_MSG_CHECKING([for _AC_LANG compiler default output file name])
 ac_link_default=`AS_ECHO(["$ac_link"]) | sed ['s/ -o *conftest[^ ]*//']`
 #
 # List of possible output files, starting from the most likely.
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
-# only as a last resort.  b.out is created by i960 compilers.
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
+# The algorithm is not robust to junk in `.', hence go to wildcards
+# (conftest.*) only as a last resort.  b.out is created by i960 compilers.
+ac_files='a_out.exe a.exe conftest.exe a.out conftest conftest.* b.out'
 #
 # The IRIX 6 linker writes into existing files which may not be
 # executable, retaining their permissions.  Remove them first so a