]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build: Set AM_DISTCHECK_CONFIGURE_FLAGS
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 16 Aug 2024 19:01:22 +0000 (14:01 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 17 Aug 2024 17:01:25 +0000 (12:01 -0500)
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 <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/78
Makefile.am

index ceb3f8d8715a494ed581a937c6d207251947c867..be8d8fbd160f53cb42cccc4cf9a368396188fa4f 100644 (file)
@@ -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)