whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#133 closed defect (fixed)

Warning messages from new autoconf version 2.65

Reported by: Juergen Reuter Owned by: ALL
Priority: P4 Milestone:
Component: configure Version: 2.0.0beta
Severity: minor Keywords: configure.ac, m4 files
Cc:

Description

When using the new autoconf version (2.65, which is e.g. used for the creation of the configure script for the gcc) it seems that it uses stricter conventions for the macros and definitions in configure.ac and the m4 files. These are the warning messages issued from it:

configure.ac:295: warning: AC_REQUIRE: `AC_PROG_CXX' was expanded before it was required
../../lib/autoconf/c.m4:636: AC_PROG_CXXCPP is expanded from...
m4/libtool.m4:5264: _LT_PROG_CXX is expanded from...
m4/libtool.m4:5287: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
m4/hepmc.m4:7: WO_PROG_HEPMC is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: AC_REQUIRE: `AC_PROG_CXX' was expanded before it was required
../../lib/autoconf/c.m4:636: AC_PROG_CXXCPP is expanded from...
m4/libtool.m4:5264: _LT_PROG_CXX is expanded from...
m4/libtool.m4:5287: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
m4/hepmc.m4:7: WO_PROG_HEPMC is expanded from...
configure.ac:295: the top level
configure.ac:75: warning: AC_REQUIRE: `AC_PROG_FC' was expanded before it was required
../../lib/autoconf/fortran.m4:262: AC_LANG_COMPILER(Fortran) is expanded from...
../../lib/autoconf/lang.m4:316: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2645: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4113: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:6672: _LT_LANG_FC_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
m4/fortran.m4:597: WO_FC_CHECK_QUADRUPLE is expanded from...
configure.ac:75: the top level
configure.ac:75: warning: AC_REQUIRE: `AC_PROG_FC' was expanded before it was required
../../lib/autoconf/fortran.m4:262: AC_LANG_COMPILER(Fortran) is expanded from...
../../lib/autoconf/lang.m4:316: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2645: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4113: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:6672: _LT_LANG_FC_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
m4/fortran.m4:597: WO_FC_CHECK_QUADRUPLE is expanded from...
configure.ac:75: the top level
configure.ac:75: warning: AC_REQUIRE: `AC_PROG_FC' was expanded before it was required
../../lib/autoconf/fortran.m4:262: AC_LANG_COMPILER(Fortran) is expanded from...
../../lib/autoconf/lang.m4:316: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2645: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4113: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:6672: _LT_LANG_FC_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
m4/fortran.m4:597: WO_FC_CHECK_QUADRUPLE is expanded from...
configure.ac:75: the top level
configure.ac:75: warning: AC_REQUIRE: `AC_PROG_FC' was expanded before it was required
../../lib/autoconf/fortran.m4:262: AC_LANG_COMPILER(Fortran) is expanded from...
../../lib/autoconf/lang.m4:316: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2645: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1005: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4113: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:6672: _LT_LANG_FC_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
m4/fortran.m4:597: WO_FC_CHECK_QUADRUPLE is expanded from...
configure.ac:75: the top level
configure.ac:295: warning: AC_REQUIRE: `AC_PROG_CXX' was expanded before it was required
../../lib/autoconf/c.m4:636: AC_PROG_CXXCPP is expanded from...
m4/libtool.m4:5264: _LT_PROG_CXX is expanded from...
m4/libtool.m4:5287: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
m4/hepmc.m4:7: WO_PROG_HEPMC is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: AC_REQUIRE: `AC_PROG_CXX' was expanded before it was required
../../lib/autoconf/c.m4:636: AC_PROG_CXXCPP is expanded from...
m4/libtool.m4:5264: _LT_PROG_CXX is expanded from...
m4/libtool.m4:5287: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:787: _LT_LANG is expanded from...
m4/libtool.m4:770: LT_LANG is expanded from...
m4/hepmc.m4:7: WO_PROG_HEPMC is expanded from...
configure.ac:295: the top level

ALthough this is nothing severe one should look into this.

Change History (3)

comment:2 Changed 15 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

In the end it was simpler as thought. Just do the CXX checks before calling WO_PROG_HEPMC.

comment:3 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.