p4est: use autoreconf only for @:2.2 (#24528)

This fixes @2.3.2 build breakage with #23824 changes.
This commit is contained in:
Satish Balay
2021-06-25 16:04:32 -05:00
committed by GitHub
parent cf0b3632ff
commit 8937102006

View File

@@ -48,8 +48,9 @@ class P4est(AutotoolsPackage):
when='@2.0')
def autoreconf(self, spec, prefix):
bootstrap = Executable('./bootstrap')
bootstrap()
if self.spec.satisfies('@:2.2'):
bootstrap = Executable('./bootstrap')
bootstrap()
def configure_args(self):
args = [