Hello, patch forgotten, sorry. Attached to this mail. Stepan On Wed, May 31, 2006 at 02:06:53PM +0200, Stepan Kasal wrote: > Hello, > > On Fri, May 26, 2006 at 07:26:41PM +0200, Ralf Wildenhues wrote: > > > > +# ... We should not override ac_cv_exeext if it was > > > > +# cached, so that the user can short-circuit this test for compilers > > > > +# unknown to Autoconf. > > ... but it would be better if this override were done by assigning > EXEEXT on the configure line, not by assigning ac_cv_exeext. > > Of course I'm against any change to this fragile code before the > release, but I think that the current hack should not be documented. > > Thus I propose to remove a tiny fraction of Ralf's work, see the > attached patch. > > (I apologize that I haven't noticed it earlier.) > > Stepan
2006-05-31 Stepan Kasal <[EMAIL PROTECTED]>
* doc/autoconf.texi (System Services): Do not document overriding EXEEXT via ac_cv_exeext=ext. Index: doc/autoconf.texi =================================================================== RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v retrieving revision 1.1029 diff -u -r1.1029 autoconf.texi --- doc/autoconf.texi 27 May 2006 22:22:01 -0000 1.1029 +++ doc/autoconf.texi 31 May 2006 11:32:05 -0000 @@ -5920,9 +5920,7 @@ All the tests for compilers (@code{AC_PROG_CC}, @code{AC_PROG_CXX}, @code{AC_PROG_F77}) define the output variable @code{EXEEXT} based on the output of the compiler, typically to the empty string if -Posix and @samp{.exe} if a @acronym{DOS} variant. It can be overridden -by passing the argument @[EMAIL PROTECTED] to [EMAIL PROTECTED] +Posix and @samp{.exe} if a @acronym{DOS} variant. @ovindex OBJEXT They also define the output variable @code{OBJEXT} based on the