Jean-Michel Beuken
2014-06-05 12:57:56 UTC
Hi,
I use in my configure.ac, AC_FC_WRAPPERS defined in fortran.m4 :
------------------------------------------------
...
# Determine Fortran-C name mangling scheme
if test "${abi_lang_mix}" = "yes"; then
AC_FC_WRAPPERS
fi
...
------------------------------------------------
I use the NAG compiler 5.3.1 ( and autoconf 2.69 )
How is it the best way to "extend" the "functionality"
of these two lines in fortran.m4 without changing it ?
1) add a option ( -dryrun ) to test verbosity -> for NAG : -dryrun
587 # Try some options frequently used verbose output
588 for ac_verb in -v -verbose --verbose -V -\#\#\# *-dryrun*; do
2) add a ignore flag ( -library ) :
663 # Ignore these flags.
664 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little *| -library*\
thanks in advance,
jmb
--
----------------------------------------------------
Jean-Michel Beuken
Computer Scientist
Software Engineer for ETSF and ABINIT.ORG
Université catholique de Louvain
pôle NAPS/IMCN (ex-PCPM), Bat. SC17
8, Chemin des étoiles, Bt L7.03.01
1348 Louvain-la-Neuve BELGIUM
----------------------------------------------------
Tel : (3210) 473570 Fax : (3210) 473102
http://www.uclouvain.be/jean-michel.beuken
----------------------------------------------------
I use in my configure.ac, AC_FC_WRAPPERS defined in fortran.m4 :
------------------------------------------------
...
# Determine Fortran-C name mangling scheme
if test "${abi_lang_mix}" = "yes"; then
AC_FC_WRAPPERS
fi
...
------------------------------------------------
I use the NAG compiler 5.3.1 ( and autoconf 2.69 )
How is it the best way to "extend" the "functionality"
of these two lines in fortran.m4 without changing it ?
1) add a option ( -dryrun ) to test verbosity -> for NAG : -dryrun
587 # Try some options frequently used verbose output
588 for ac_verb in -v -verbose --verbose -V -\#\#\# *-dryrun*; do
2) add a ignore flag ( -library ) :
663 # Ignore these flags.
664 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little *| -library*\
thanks in advance,
jmb
--
----------------------------------------------------
Jean-Michel Beuken
Computer Scientist
Software Engineer for ETSF and ABINIT.ORG
Université catholique de Louvain
pôle NAPS/IMCN (ex-PCPM), Bat. SC17
8, Chemin des étoiles, Bt L7.03.01
1348 Louvain-la-Neuve BELGIUM
----------------------------------------------------
Tel : (3210) 473570 Fax : (3210) 473102
http://www.uclouvain.be/jean-michel.beuken
----------------------------------------------------