]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: update gnulib for syntax-check on BSD
authorEric Blake <eblake@redhat.com>
Thu, 3 Jan 2019 13:42:41 +0000 (07:42 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 7 Jan 2019 19:54:07 +0000 (13:54 -0600)
In particular, this incorporates Roman's patches to allow
'make syntax-check' to work on BSD with its exec argv
limitations that previously failed when trying to grep the
large number of files present in libvirt.

cfg.mk needs similar changes, but that will be tackled separately.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
.gnulib
bootstrap

diff --git a/.gnulib b/.gnulib
index 4652c7bafa60332145f1e05a7de5f48e1bc56226..8089c00979a5b089cff592c6b91420e595657167 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 4652c7bafa60332145f1e05a7de5f48e1bc56226
+Subproject commit 8089c00979a5b089cff592c6b91420e595657167
index c13b486c57f0731e19e501649261b48c0b7ed37c..5b08e7e2d421c0227598813ae65f35b9c22cfcb3 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2018-10-13.05; # UTC
+scriptversion=2019-01-04.17; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -963,6 +963,16 @@ fi
 bootstrap_post_import_hook \
   || die "bootstrap_post_import_hook failed"
 
+# 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
+
 # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some
 # gnulib-populated directories.  Such .m4 files would cause aclocal to fail.
 # The following requires GNU find 4.2.3 or newer.  Considering the usual