On Tue, 23 Oct 2012, Daniel Richard G. wrote:
> I've prepared a new patch that should address these concerns. My proposed rule
> for config.h.generic is now as follows:
>
> config.h.generic: configure.ac
> rm -rf $@ _generic
> mkdir _generic
> cd _generic && $(abs_top_srcdir)/configure
> perl -pe '<insert Perl one-liner here>' _generic/config.h >$@
> rm -rf _generic
>
> So regardless of how the build tree is currently configured, this re-runs the
> configure script with default settings, but in a temporary subdirectory so
> that the existing configuration remains untouched.
Looks good! Thanks for pursuing this. Note that there is also
pcre.h.generic, which can be done in the same way (I'll figure out how
to add that).
Philip
--
Philip Hazel