summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Belhorn <belhornmp@ornl.gov>2016-12-01 12:54:48 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2016-12-01 11:54:48 -0600
commite26a0be731e9bde4164f37f8c9592c39a470d6b9 (patch)
treec50fd0c18430c3d9bd0d9aca0415675683c0084b /lib
parentf1fe614d67bf00d2d82918d121eeb2854701801f (diff)
downloadspack-e26a0be731e9bde4164f37f8c9592c39a470d6b9.tar.gz
spack-e26a0be731e9bde4164f37f8c9592c39a470d6b9.tar.bz2
spack-e26a0be731e9bde4164f37f8c9592c39a470d6b9.tar.xz
spack-e26a0be731e9bde4164f37f8c9592c39a470d6b9.zip
Does nothing if no prexisting config.guess is found. (#2446)
* Does nothing if no prexisting config.guess is found. * Update name for RHEL OS.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/autotools.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index 8535c9d3e3..7be0b13645 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -80,6 +80,8 @@ class AutotoolsPackage(PackageBase):
return True
except:
pass
+ else:
+ return True
# Look for a spack-installed automake package
if 'automake' in self.spec:
@@ -120,7 +122,7 @@ class AutotoolsPackage(PackageBase):
"""Perform any required patches."""
if self.patch_config_guess and self.spec.satisfies(
- 'arch=linux-redhat7-ppc64le'):
+ 'arch=linux-rhel7-ppc64le'):
if not self.do_patch_config_guess():
raise RuntimeError('Failed to find suitable config.guess')