summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/'`