summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:58:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-09 02:58:19 (GMT)
commitcccefd26ab047c2c4b2ce67bd9074592014dda42 (patch)
tree4d1df9be54438796eac842b882fde610a11b41b8
parent4639056d93c6a7d97986aaed0197a86cde4384c1 (diff)
downloadhdf5-cccefd26ab047c2c4b2ce67bd9074592014dda42.zip
hdf5-cccefd26ab047c2c4b2ce67bd9074592014dda42.tar.gz
hdf5-cccefd26ab047c2c4b2ce67bd9074592014dda42.tar.bz2
[svn-r9391] 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
-rw-r--r--config/pgi-flags2
-rw-r--r--fortran/config/pgi-fflags2
-rw-r--r--fortran/config/pgi-flags2
3 files changed, 3 insertions, 3 deletions
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/'`
diff --git a/fortran/config/pgi-fflags b/fortran/config/pgi-fflags
index 6d4553e..ea59c2d 100644
--- a/fortran/config/pgi-fflags
+++ b/fortran/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/fortran/config/pgi-flags b/fortran/config/pgi-flags
index 8329eb0..ed49d86 100644
--- a/fortran/config/pgi-flags
+++ b/fortran/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/'`