summaryrefslogtreecommitdiffstats
path: root/config/pgi-fflags
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/pgi-fflags
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/pgi-fflags')
-rw-r--r--config/pgi-fflags2
1 files changed, 1 insertions, 1 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/'`