Minor tweaks to m4 -- be sure to add sigsegv args explicitly.

This commit is contained in:
Todd Gamblin 2016-03-05 15:14:21 -08:00
parent 07255da6e9
commit 7d847f4dc4

View File

@ -12,6 +12,12 @@ class M4(Package):
depends_on('libsigsegv', when='+sigsegv')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
configure_args = []
if 'libsigsegv' in spec:
configure_args.append('--with-libsigsegv-prefix=%s' % spec['libsigsegv'].prefix)
else:
configure_args.append('--without-libsigsegv-prefix')
configure("--prefix=%s" % prefix, *configure_args)
make()
make("install")