Hi Stefano, * Stefano Lattarini wrote on Wed, Dec 22, 2010 at 12:21:48AM CET: > The automake manual states that the cygwin mode requires the macro > AM_CYGWIN32, > but this is not true anymore since at least commit Release-1-2-31-g3038064 > "merged changes from Cygnus" of 1997-08-25 (yep!); also, the AM_CYGWIN32 macro > has been obsoleted from at least commit Release-1-3b-14-gd4d5968 "Track recent > autoconf changes" of 1998-09-26. > > So I installed the following patch to maint, and pushed.
Hmpf. Nowadays AM_CYGWIN just expands to AC_CYGWIN, which causes $CYGWIN to be set. The latter is probably a bad idea for other reasons (Cygwin AFAIK uses the variable for other purposes), but at least one macro in Autoconf's fortran.m4 still seems to make use of $CYGWIN. It should at least also be fixed to use $host_os instead. Thanks, Ralf > docs: cygnus mode doesn't require AM_CYGWIN32 macro. > > * doc/automake.texi (Cygnus): Mode 'cygnus' does not require > the AM_CYGWIN32 macro (and indeed hasn't required it since at > least commit Release-1-2-31-g3038064 "merged changes from > Cygnus" of 1997-08-25).