From 68732f591f1f91f1e5befe513ed1e0ac71802f9b Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 8 Oct 2004 21:58:16 -0500 Subject: [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 --- config/pgi-fflags | 2 +- config/pgi-flags | 2 +- 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/'` -- cgit v0.12