Fix DISTCHECK_CONFIGURE_FLAGS override

Set AM_DISTCHECK_CONFIGURE_FLAGS in Makefile.am instead of
DISTCHECK_CONFIGURE_FLAGS. This is the recommended way from the
automake manual, as otherwise the flag can't be changed by the user
anymore.

Related: OS#3718
Change-Id: I6aadee1ab05b4caec0857e476190db7b83c85984
This commit is contained in:
Oliver Smith 2018-12-04 15:32:11 +01:00
parent d0b07dab40
commit 8a6754597a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ SUBDIRS = src tests contrib doc
BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = git-version-gen osmoappdesc.py .version
DISTCHECK_CONFIGURE_FLAGS = \
AM_DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
@RELMAKE@