summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 0aa63773cf..a03bc2e21e 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -64,7 +64,7 @@ VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir)
# 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}; \