]> xenbits.xensource.com Git - libvirt.git/commit
maint: improve usage of autogen's --no-git
authorStefan Zimmermann <stzi@linux.vnet.ibm.com>
Fri, 6 Feb 2015 16:19:03 +0000 (17:19 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 6 Feb 2015 18:35:29 +0000 (11:35 -0700)
commit0c77a54e3b23c7c14932c0c224c32c15f4cbad41
tree86a7d870fba8bb35d489d4085c502d3cdf8f6655
parent2aa7ce6334ff192eb092932aee76d933f45cc39b
maint: improve usage of autogen's --no-git

If you build libvirt with the --no-git option, then gnulib requires
either $GNULIB_SRCDIR in the environment or --gnulib-srcdir on the
command line.  But we had not been supporting its use from the
command line.  This patch is a bit picky: --gnulib-srcdir must be
passed immediately after --no-git; but since we don't reorder
arguments, and since we already required --no-git to be first to
have any effect, it's not too horrible.  It also does the wrong
thing if you include spaces in your arguments, but developers
doing that deserve what they get, right?

Signed-off-by: Stefan Zimmermann <stzi@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
autogen.sh