From 60e961d061b610381fd3895a45e5992b5fc56103 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Reuter?= Date: Sun, 12 Sep 2010 12:15:18 +0200 Subject: [PATCH] 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 --- ChangeLog | 8 ++++++++ NEWS | 1 + libltdl/m4/libtool.m4 | 6 ++++++ 3 files changed, 15 insertions(+) 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) -- 2.47.2