configure changes breaks autogen.sh with autoconf 2.59

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

configure changes breaks autogen.sh with autoconf 2.59

David Bateman-3
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....

Cheers
David

--
David Bateman                                [hidden email]
Motorola CRM                                 +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary


Reply | Threaded
Open this post in threaded view
|

configure changes breaks autogen.sh with autoconf 2.59

John W. Eaton-6
On 16-Nov-2004, David Bateman <[hidden email]> 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" <[hidden email]>
  To: [hidden email]
  Date: Thu, 11 Nov 2004 16:00:29 -0500
  Message-ID: <[hidden email]>

  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
  [hidden email]
  http://lists.gnu.org/mailman/listinfo/autoconf


jwe