Previously, gnulib was providing definitions for GPERF and other
variables in the makefile indirectly via the striconv module. But
since we removed that module, the definitions disappeared, leading
to build failures after maintainer-clean.
Easy enough to just do the same thing explicitly. In the future
we might want to use configure to locate gperf but for now this
will do.
$(MAKE) $(AM_MAKEFLAGS) $<; \
fi
+GPERF = gperf
+V_GPERF = $(V_GPERF_@AM_V@)
+V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
+V_GPERF_0 = @printf ' %$(DX_ALIGN_V)s %s\n' 'GPERF ' $@;
+
GPERFFILES = src/execute.gperf
.gperf.c:
$(V_GPERF) $(GPERF) $< >$@.tmp
# --libtool \
# --macro-prefix=gl \
# --no-vc-files \
+# --avoid=gperf \
# --avoid=std-gnu11 \
# getline \
# getopt-gnu \
snprintf
tls
])
-gl_AVOID([std-gnu11])
+gl_AVOID([gperf std-gnu11])
gl_SOURCE_BASE([lib])
gl_M4_BASE([m4])
gl_PO_BASE([])