From: Lucas De Marchi Date: Fri, 16 Aug 2024 19:01:22 +0000 (-0500) Subject: build: Set AM_DISTCHECK_CONFIGURE_FLAGS X-Git-Tag: v34~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcc1c3284ad290505d30027c3dae6ee5f8f12c13;p=thirdparty%2Fkmod.git build: Set AM_DISTCHECK_CONFIGURE_FLAGS Follow the usual approach for flags in autotools: Set the AM_ variant so the user may set the non-AM variant that is appended. This is needed to pass additional flags from the configure to the configure call done while creating the dist tarball if something doesn't match the default. Signed-off-by: Lucas De Marchi Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/78 --- diff --git a/Makefile.am b/Makefile.am index ceb3f8d8..be8d8fbd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -333,7 +333,7 @@ testsuite-distclean: DISTCLEAN_LOCAL_HOOKS += testsuite-distclean EXTRA_DIST += testsuite/rootfs-pristine -DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --sysconfdir=/etc \ +AM_DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --sysconfdir=/etc \ --with-zlib --with-zstd --with-xz --with-openssl \ --with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir)