From: Jürgen Reuter Date: Sun, 12 Sep 2010 10:15:18 +0000 (+0200) Subject: Initial support for the NAG Fortran compiler on GNU/Linux. X-Git-Tag: v2.4~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e961d061b610381fd3895a45e5992b5fc56103;p=thirdparty%2Flibtool.git Initial support for the NAG Fortran compiler on GNU/Linux. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] : New set of entries, for NAG Fortran 5.1 and 5.2. * NEWS: Update. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 3dd65c708..4584882e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-12 Jürgen Reuter (tiny change) + Ralf Wildenhues + + Initial support for the NAG Fortran compiler on GNU/Linux. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] : + New set of entries, for NAG Fortran 5.1 and 5.2. + * NEWS: Update. + 2010-09-12 Ralf Wildenhues Fix getopt.m4sh to require Autoconf 2.62 or newer. diff --git a/NEWS b/NEWS index 5a2531c19..1d4419b76 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,7 @@ New in 2.2.12 2010-08-??: git version 2.2.11a, Libtool team: variable MANIFEST_TOOL. Please note that the import library naming has changed (from foo-2.lib to foo.dll.lib) from when the code lived in its own git branch. + - Initial support for the NAG Fortran compiler on GNU/Linux. * Bug fixes: diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 895f28dbc..a9e91f63d 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4247,6 +4247,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project)