[vsipl++] Re: overriding autoconf's own exeext detection
Ralf Wildenhues
Ralf.Wildenhues at gmx.de
Wed Jan 11 08:10:29 UTC 2006
Hi Stefan,
Sorry for the huge delay. I waited a while for comments, and then
forgot about this.
* Stefan Seefeld wrote on Sat, Nov 12, 2005 at 04:24:39PM CET:
> Ralf Wildenhues wrote:
> >
> >Not that I know of. You can always define your own macro, for example
> >a fixed version with the same name. But that may be very fragile, not
> >compatible with the next or previous Autoconf, or anything, so I would
> >not recommend it. Maybe AC_EXEEXT should offer a possibility to
> >override it.
>
> AC_EXEEXT is marked as obsolete, as autoconf detects the extension
> 'automatically'. Oh well. It might have been better if autoconf,
> recognizing its limitations, would keep a backdoor for developers to
> override settings instead of forcing them to live with false guesses.
>
> >Updated patch below.
>
> Ok, that seems to work. Thanks !
I have applied the patch as follows.
Cheers,
Ralf
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
Add `*.map' and `.inf' for Green Hills compiler.
Reported by Stefan Seefeld <stefan at codesourcery.com>.
Index: lib/autoconf/lang.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/lang.m4,v
retrieving revision 1.171
diff -u -r1.171 lang.m4
--- lib/autoconf/lang.m4 14 May 2005 07:00:40 -0000 1.171
+++ lib/autoconf/lang.m4 11 Jan 2006 08:09:30 -0000
@@ -1,6 +1,7 @@
# This file is part of Autoconf. -*- Autoconf -*-
# Programming languages support.
-# Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -421,6 +422,9 @@
#
# - *.xSYM
# Created on BeOS. Seems to be per executable.
+#
+# - *.map, *.inf
+# Created by the Green Hills compiler.
# _AC_COMPILER_OBJEXT_REJECT
@@ -428,7 +432,7 @@
# Case/esac pattern matching the files to be ignored when looking for
# compiled object files.
m4_define([_AC_COMPILER_OBJEXT_REJECT],
-[*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg])
+[*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf])
# _AC_COMPILER_EXEEXT_REJECT
More information about the vsipl++
mailing list