[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.57 patch to enhance a message
From: |
Matthias Andree |
Subject: |
2.57 patch to enhance a message |
Date: |
Mon, 12 May 2003 11:08:40 +0200 |
User-agent: |
Mutt/1.5.4i |
Hi,
I have received a bugreport for an autoconf'ed package where the user
complained about autoconf misdetecting a.out vs. ELF format. The package
used autoconf 2.57. The user wasn't aware that autoconf checked the
default output FILE NAME (as opposed to the default output FILE FORMAT)
of the default compiler.
I am suggesting the patch below to remove this ambiguity. I am placing
the patch into the public domain, so feel free to relicense it:
diff -ur autoconf-2.57.orig/lib/autoconf/lang.m4
autoconf-2.57/lib/autoconf/lang.m4
--- autoconf-2.57.orig/lib/autoconf/lang.m4 2002-10-31 09:27:15.000000000
+0100
+++ autoconf-2.57/lib/autoconf/lang.m4 2003-05-12 11:04:36.000000000 +0200
@@ -443,7 +443,7 @@
[# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
-AC_MSG_CHECKING([for _AC_LANG compiler default output])
+AC_MSG_CHECKING([for _AC_LANG compiler default output file name])
ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
AS_IF([AC_TRY_EVAL(ac_link_default)],
[# Find the output, starting from the most likely. This scheme is
--
Matthias Andree
- 2.57 patch to enhance a message,
Matthias Andree <=