diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-09 02:58:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-09 02:58:16 (GMT) |
commit | 68732f591f1f91f1e5befe513ed1e0ac71802f9b (patch) | |
tree | 14da69cbd685482c06f30bfd076a6393f9f4c07f /config/pgi-flags | |
parent | a3db31b7ef0aaeb402ad3f38ce5b2d4b3aa9c8dd (diff) | |
download | hdf5-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-flags')
-rw-r--r-- | config/pgi-flags | 2 |
1 files changed, 1 insertions, 1 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/'` |