summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-01-17 05:21:57 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-01-17 05:21:57 (GMT)
commit6f667500c1f163a7fd9cb15945078c3fef622ab1 (patch)
tree6a3d16ae8c2a0ff8af96abccfb2161b7f048a3ff /configure
parenta9c79d6b6168f6833a3683660ae2a15da4e2ec4e (diff)
downloadhdf5-6f667500c1f163a7fd9cb15945078c3fef622ab1.zip
hdf5-6f667500c1f163a7fd9cb15945078c3fef622ab1.tar.gz
hdf5-6f667500c1f163a7fd9cb15945078c3fef622ab1.tar.bz2
[svn-r6293] Purpose:
Another patch Description: libtool will fail if pgcc compiler is used. Now apply the patch if gcc is NOT used. Platforms tested: Tested only on eirene because I am sure it is correct and am trying to beat the daily test checkout.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 0b1b659..9f5cbaf 100755
--- a/configure
+++ b/configure
@@ -7284,9 +7284,11 @@ 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
+ # If gcc is not used, need to set $wl to use "-Wl,"
+ if $CC -v 2>&1 | grep '^gcc' > /dev/null ; then
+ : using gcc
+ else
+ echo 'fix $wl in' $ofile
ed - $ofile <<EOF 2> /dev/null
/^wl=""/s//wl="-Wl,"/
w