diff options
author | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-08-01 20:33:43 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-08-01 20:33:43 (GMT) |
commit | 2d932366b27af21b9197c882b4bf09f7c7bc973e (patch) | |
tree | e8c0ee0b4ca971c0931e308c969ba0783a526cf9 /configure.ac | |
parent | 464926f2a3adf3ef1c1e3ae60105544f08ff1e51 (diff) | |
download | hdf5-2d932366b27af21b9197c882b4bf09f7c7bc973e.zip hdf5-2d932366b27af21b9197c882b4bf09f7c7bc973e.tar.gz hdf5-2d932366b27af21b9197c882b4bf09f7c7bc973e.tar.bz2 |
added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 47f5897..cf82a2e 100644 --- a/configure.ac +++ b/configure.ac @@ -3348,8 +3348,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then Linux*) fortran_linux_linker_option="-Wl," - - if (grep -i 'NAG_Fortran' libtool > /dev/null); then + if test "X$FC_BASENAME" = "Xnagfor"; then fortran_linux_linker_option="-Wl,-Wl,," fi |