diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-01-15 15:57:52 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-01-15 15:57:52 (GMT) |
commit | c41d62c8e5943cd4a129bce3b0b944cbc02c2d7b (patch) | |
tree | b438188cbb28992a265a41f964dc2d5c2d786b1f /configure | |
parent | 37151401465dfe0882458328de4423b450f72bdc (diff) | |
download | hdf5-c41d62c8e5943cd4a129bce3b0b944cbc02c2d7b.zip hdf5-c41d62c8e5943cd4a129bce3b0b944cbc02c2d7b.tar.gz hdf5-c41d62c8e5943cd4a129bce3b0b944cbc02c2d7b.tar.bz2 |
[svn-r6285] Purpose:
a patch
Description:
When intel compilers (icc, ecc) are used in a linux system, the libtool
generated has a wrong setting of '$wl" for linking.
Put in a "ed ..." command script to edit the generated libtool with
the proper setting. The libtool people has fixed this problem.
This can ben taken out when that version of libtool is released.
Platforms tested:
Tested h5committest {arabica (fortran), eirene (fortran, C++)
modi4 (parallel, fortran)}? YES.
Other platforms/configurations tested? platinum and titan using
gcc and intel CC.
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -7282,6 +7282,20 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' +case $host_os in + linux*) + # If an Intel compiler is used, it needs to set $wl to use "-Wl," + if $CC -V 2>&1 | grep '^Intel(R)' > /dev/null ; then + echo 'fix $wl in' $ofile +ed - $ofile <<EOF 2> /dev/null +/^wl=""/s//wl="-Wl,"/ +w +q +EOF + fi + ;; +esac + case "$INSTALL" in *install-sh*) INSTALL='\${top_srcdir}/bin/install-sh -c' |