> On Mar 1, 2019, at 1:42 PM, Tim Rühsen <tim.rueh...@gmx.de> wrote: > > Hi, > > at GnuTLS we have one git submodule that is not 'active' by default - > this is on purpose since we want to init it just in certain cases. > > The latest 'bootstrap' script doesn't accept this and stops with an error: > "./bootstrap: some git submodules are not initialized. Run 'git > submodule init' and bootstrap again." > > The breaking change in 'bootstrap' is: > > +# Don't proceed if there are uninitialized submodules. In particular, > +# the next step will remove dangling links, which might be links into > +# uninitialized submodules. > +# > +# Uninitialized submodules are listed with an initial dash. > +if $use_git && git submodule | grep '^-' >/dev/null; then > + die "some git submodules are not initialized. " \ > + "Run 'git submodule init' and bootstrap again." > +fi > > Currently I just commented out these lines, but a proper mechanism would > be nice.
Hi Tim, Have you considered this? https://github.com/gnulib-modules/bootstrap It has proven invaluable for incorporating gnulib modules into libtool, M4 and several other projects with more complex bootstrap processes than the standard gnulib bootstrap scripts can accommodate cleanly... Cheers, Gary