Question

I am using nested packages with autotools, i.e.

  foo -
      |- configure.ac
      |- Makefile.am
      |- bar -
             |- configure.ac
             |- Makefile.am

Every package has its own set of optional features which are shown nicely by

$> cd foo; ./configure --help
   --enable-foo-feat1 
$> cd foo/bar; ./configure --help
   --enable-bar-feat1 

However, I would like to see bar's optional features also from the foo level, i.e.:

$> cd foo; ./configure --help
   --enable-foo-feat1 
   --enable-bar-feat1

Is that possible?

Était-ce utile?

La solution

Do this:

./configure --help=recursive

Should show options from nested packages.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top