Fix Autotools build error due to missing m4 and MPICC/MPICXX (#5319)

This commit is contained in:
Pramod S Kumbhar 2017-09-11 01:18:55 +02:00 committed by Todd Gamblin
parent ba5b17d28a
commit d5f1144798

View File

@ -67,6 +67,7 @@ class Adios(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('m4', type='build')
depends_on('libtool@:2.4.2', type='build')
depends_on('python', type='build')
@ -121,6 +122,8 @@ def configure_args(self):
extra_args.append('--enable-shared')
if '+mpi' in spec:
env['MPICC'] = spec['mpi'].mpicc
env['MPICXX'] = spec['mpi'].mpicxx
extra_args.append('--with-mpi=%s' % spec['mpi'].prefix)
else:
extra_args.append('--without-mpi')