On 03/30/2010 11:25 AM, Jim Meyering wrote:
Eric Blake wrote:
> Automate the reuse of autogen.sh, rather than just erroring out.
>
...
> - $(error gnulib update required; run ./autogen.sh first)
> + $(info INFO: gnulib update required; running ./autogen.sh first)
> +Makefile: _autogen
> endif
> endif
>
> +.PHONY: _autogen
> +_autogen:
> + $(srcdir)/autogen.sh
> +
> # Exempt @...@ uses of these symbols.
> _makefile_at_at_check_exceptions = ' && !/(SCHEMA|SYSCONF)DIR/'
Thanks! I like it.
I've confirmed that this works as advertised.
Thanks. Pushed, as well as the -fdiagnostics-show-option patch.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org