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  <[EMAIL PROTECTED]>

        * 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