summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--changes/bug313353
-rw-r--r--configure.ac12
3 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 1234b6d22f..70965c2b1b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -378,7 +378,7 @@ endif
check-includes:
if USEPYTHON
- $(PYTHON) $(top_srcdir)/scripts/maint/practracker/includes.py
+ $(PYTHON) $(top_srcdir)/scripts/maint/practracker/includes.py $(top_srcdir)
endif
check-best-practices:
diff --git a/changes/bug31335 b/changes/bug31335
new file mode 100644
index 0000000000..f633cf8b24
--- /dev/null
+++ b/changes/bug31335
@@ -0,0 +1,3 @@
+ o Minor bugfixes (code quality):
+ - Fix "make check-includes" so it runs correctly on out-of-tree builds.
+ Fixes bug 31335; bugfix on 0.3.5.1-alpha.
diff --git a/configure.ac b/configure.ac
index 487361773d..e949aca9db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1080,10 +1080,10 @@ dnl Where we do we find lzma?
AC_ARG_ENABLE(lzma,
AS_HELP_STRING(--enable-lzma, [enable support for the LZMA compression scheme.]),
[case "${enableval}" in
- "yes") lzma=true ;;
- "no") lzma=false ;;
+ "yes") ;;
+ "no") ;;
* ) AC_MSG_ERROR(bad value for --enable-lzma) ;;
- esac], [lzma=auto])
+ esac], [enable_lzma=auto])
if test "x$enable_lzma" = "xno"; then
have_lzma=no;
@@ -1112,10 +1112,10 @@ dnl Where we do we find zstd?
AC_ARG_ENABLE(zstd,
AS_HELP_STRING(--enable-zstd, [enable support for the Zstandard compression scheme.]),
[case "${enableval}" in
- "yes") zstd=true ;;
- "no") zstd=false ;;
+ "yes") ;;
+ "no") ;;
* ) AC_MSG_ERROR(bad value for --enable-zstd) ;;
- esac], [zstd=auto])
+ esac], [enable_zstd=auto])
if test "x$enable_zstd" = "xno"; then
have_zstd=no;