* top/maint.mk (gnulib_dir): Fall back to GNULIB_SRCDIR if
submodule is not checked out.
+2021-09-20 Simon Josefsson <simon@josefsson.org>
+
+ maint: Avoid syntax-check failure for empty gnulib submodule.
+ * top/maint.mk (gnulib_dir): Fall back to GNULIB_SRCDIR if
+ submodule is not checked out.
+
2021-09-19 Bruno Haible <bruno@clisp.org>
Relicense qemu.h under LGPLv2+.
# You can override this variable in cfg.mk if your gnulib submodule lives
# in a different location.
-gnulib_dir ?= $(shell if test -d $(srcdir)/gnulib; then \
+gnulib_dir ?= $(shell if test -f $(srcdir)/gnulib/gnulib-tool; then \
echo $(srcdir)/gnulib; \
else \
echo ${GNULIB_SRCDIR}; \