summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:58:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:58:16 (GMT)
commit68732f591f1f91f1e5befe513ed1e0ac71802f9b (patch)
tree14da69cbd685482c06f30bfd076a6393f9f4c07f /config
parenta3db31b7ef0aaeb402ad3f38ce5b2d4b3aa9c8dd (diff)
downloadhdf5-68732f591f1f91f1e5befe513ed1e0ac71802f9b.zip
hdf5-68732f591f1f91f1e5befe513ed1e0ac71802f9b.tar.gz
hdf5-68732f591f1f91f1e5befe513ed1e0ac71802f9b.tar.bz2
[svn-r9390] Purpose:
Bug fix Description: Tweak PGI compiler auto-detection to work for version 5.0 compilers as well as version 5.2 compilers. Platforms tested: Linux 2.4 (verbena) w/PGI compilers Not tested with rest of h5committest platforms
Diffstat (limited to 'config')
-rw-r--r--config/pgi-fflags2
-rw-r--r--config/pgi-flags2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/pgi-fflags b/config/pgi-fflags
index 6d4553e..ea59c2d 100644
--- a/config/pgi-fflags
+++ b/config/pgi-fflags
@@ -12,7 +12,7 @@
# f9x_version: Version number: 5.0-2, 5.2-2
#
if test X = "X$f9x_flags_set"; then
- f9x_version="`$F9X $FFLAGS -V 2>&1 |grep '^pgf90'`"
+ f9x_version="`$F9X $FFLAGS -V 2>&1 |grep '^pgf90 '`"
if test X != "X$f9x_version"; then
f9x_vendor=`echo $f9x_version |sed 's/\([a-z0-9]*\).*/\1/'`
f9x_version=`echo $f9x_version |sed 's/pgf90 \([-a-z0-9\.\-]*\).*/\1/'`
diff --git a/config/pgi-flags b/config/pgi-flags
index a845192..ac1ae22 100644
--- a/config/pgi-flags
+++ b/config/pgi-flags
@@ -12,7 +12,7 @@
# cc_version: Version number: 5.0-2, 5.2-2
#
if test X = "X$cc_flags_set"; then
- cc_version="`$CC $CFLAGS -V 2>&1 |grep '^pgcc'`"
+ cc_version="`$CC $CFLAGS -V 2>&1 |grep '^pgcc '`"
if test X != "X$cc_version"; then
cc_vendor=`echo $cc_version |sed 's/\([a-z]*\).*/\1/'`
cc_version=`echo $cc_version |sed 's/pgcc \([-a-z0-9\.\-]*\).*/\1/'`