From maintainers-request at octave dot org Tue Nov 16 15:55:23 2004 Subject: configure changes breaks autogen.sh with autoconf 2.59 From: "John W. Eaton" To: David Bateman Cc: maintainers at octave dot org Date: Tue, 16 Nov 2004 16:55:19 -0500 On 16-Nov-2004, David Bateman wrote: | I get the following messages with the CVS and using autogen.sh | | calling autoconf and autoheader... | /home/dbateman/octave/cvs/octave | configure.in:504: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | autoconf/lang.m4:224: AC_LANG_SOURCE is expanded from... | autoconf/lang.m4:234: AC_LANG_PROGRAM is expanded from... | autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from... | autoconf/general.m4:2223: AC_TRY_LINK is expanded from... | autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... | aclocal.m4:414: OCTAVE_F77_FLAG is expanded from... | configure.in:504: the top level | configure.in:510: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:510: the top level | configure.in:512: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:512: the top level | configure.in:513: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:513: the top level | configure.in:504: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | autoconf/lang.m4:224: AC_LANG_SOURCE is expanded from... | autoconf/lang.m4:234: AC_LANG_PROGRAM is expanded from... | autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from... | autoconf/general.m4:2223: AC_TRY_LINK is expanded from... | autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... | aclocal.m4:414: OCTAVE_F77_FLAG is expanded from... | configure.in:504: the top level | configure.in:510: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:510: the top level | configure.in:512: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:512: the top level | configure.in:513: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] | configure.in:513: the top level | /home/dbateman/octave/cvs/octave/glob | /home/dbateman/octave/cvs/octave/scripts | skipping autoheader in ./scripts | done | | Not knowing much about recent changes in configure.in, maybe someone else | knows to right fix for this.... These are just warnings and not fatal. It looks like a bug in autoconf (still present in the current CVS version). I posted the following to the autoconf list. So far, no solution. Subject: warning from AC_LANG_PROGRAM(Fortran 77) From: "John W. Eaton" To: autoconf at gnu dot org Date: Thu, 11 Nov 2004 16:00:29 -0500 Message-ID: <16787 dot 53997 dot 471929 dot 187804 at devzero dot bogus dot domain> I'm using Autoconf 2.59: devzero:450> autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Given the following input file AC_INIT AC_PREREQ(2.50) AC_LANG_PUSH(Fortran 77) AC_TRY_LINK([],[],[]) AC_LANG_POP(Fortran 77) Autoconf emits the following warning: devzero:449> autoconf foo.in > foo.out foo.in:4: warning: AC_LANG_PROGRAM(Fortran): ignoring PROLOGUE: [] autoconf/lang.m4:224: AC_LANG_SOURCE is expanded from... autoconf/lang.m4:234: AC_LANG_PROGRAM is expanded from... autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from... autoconf/general.m4:2223: AC_TRY_LINK is expanded from... foo.in:4: the top level The INCLUDES argument ($1) of AC_TRY_LINK is empty, so I don't think I should see a warning about ignoring that as there is nothing to ignore. Is there any way to avoid this warning? Thanks, jwe -- www.octave.org | www.che.wisc.edu/~jwe | Peace would shock and awe me. _______________________________________________ Autoconf mailing list Autoconf at gnu dot org http://lists.gnu.org/mailman/listinfo/autoconf jwe