[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fortran.m4
From: |
Jean-Michel Beuken |
Subject: |
fortran.m4 |
Date: |
Thu, 05 Jun 2014 14:57:56 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
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
----------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fortran.m4,
Jean-Michel Beuken <=