diff options
author | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-08-03 14:17:24 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-08-03 14:17:24 (GMT) |
commit | 2332135332f93bf88909d8ef182281c28a8e1818 (patch) | |
tree | e270a4a428e418f43da67eb687e3d3707000ce66 | |
parent | 00d97d556b3e57129d8c7bbecf8b15497b3f056b (diff) | |
download | hdf5-2332135332f93bf88909d8ef182281c28a8e1818.zip hdf5-2332135332f93bf88909d8ef182281c28a8e1818.tar.gz hdf5-2332135332f93bf88909d8ef182281c28a8e1818.tar.bz2 |
changed the test for NAG fortran compiler, (HDFFV-10037)
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cf82a2e..995d004 100644 --- a/configure.ac +++ b/configure.ac @@ -3516,7 +3516,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then ### wl="-Wl,-WL,," in the libtool file. (HDFFV-10037) case "`uname`" in Linux*) - if (grep -i 'NAG_Fortran' libtool > /dev/null); then + if test "X$FC_BASENAME" = "Xnagfor"; then cat libtool | awk '/NAG_Fortran/{flag=1}flag&&/wl=/{$NF="wl=\"-Wl,Wl,,\"";flag=0}1' > libtool.tmp && mv -f libtool.tmp libtool && chmod 755 libtool fi ;; |