summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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')