build: regenerate config-extra.h if configure was re-run with different arguments

(cherry picked from commit 140619854e)
This commit is contained in:
Lubomir Rintel 2019-09-24 10:23:19 +02:00
parent 24d40570a7
commit 56036d85ec

View file

@ -4,7 +4,7 @@
# See https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
#
# With meson-only, they could just be set via config.h.meson
config-extra.h: config-extra.h.mk config.h
config-extra.h: config-extra.h.mk config.h config.status
$(AM_V_GEN) \
echo "/* Generated by Makefile.am */" >$@ && \
echo "#define BINDIR \"$(bindir)\"" >>$@ && \