autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _AC_COMPILER_EXEEXT cleanup


From: Eric Blake
Subject: Re: _AC_COMPILER_EXEEXT cleanup
Date: Thu, 6 Apr 2006 18:16:15 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Stepan Kasal <kasal <at> ucw.cz> writes:

> 2006-04-01  Stepan Kasal  <kasal <at> ucw.cz>
> 
>       Clean up _AC_COMPILER_EXEEXT* macros.
> 
>       * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
>       (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
>         no longer needed) by libtool.  Make it a cache check.

This patch broke many macros on cygwin, because EXEEXT was being set to '' 
instead of '.exe'.  Please apply the followup:

2006-04-06  Eric Blake  <address@hidden>

        * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
        check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
        2006-04-01.

Index: lib/autoconf/lang.m4
===================================================================
RCS file: /sources/autoconf/autoconf/lib/autoconf/lang.m4,v
retrieving revision 1.178
diff -u -b -r1.178 lang.m4
--- lib/autoconf/lang.m4        6 Apr 2006 11:24:00 -0000       1.178
+++ lib/autoconf/lang.m4        6 Apr 2006 18:07:32 -0000
@@ -542,7 +542,7 @@
       test -f "$ac_file" || continue
       case $ac_file in
        _AC_COMPILER_EXEEXT_REJECT ) ;;
-       *.* ) ac_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
+       *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
              break;;
        * ) break;;
       esac

-- 
Eric Blake







reply via email to

[Prev in Thread] Current Thread [Next in Thread]