From e1f0a9bcc8a821ef73f6893f213e9b4025c27f75 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Mon, 4 Nov 2024 06:24:19 -0800 Subject: [PATCH] build: ensure autogen.sh updates package version Problem: PACKAGE_VERSION is not updated to match "git describe" in a development tree when autogen.sh is run. The previous value is retained in the autom4te.cache directory, even when configure is regenerated, which seems counterintuitive. Add the --force option to autoreconf (as called from autogen.sh) to ensure that nothing is cached from previous builds. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 15729ebd..ecd2cdde 100755 --- a/autogen.sh +++ b/autogen.sh @@ -7,5 +7,5 @@ echo "Running libtoolize --automake --copy ... " libtoolize --automake --copy || exit echo "Running autoreconf --verbose --install" -autoreconf --verbose --install || exit +autoreconf --force --verbose --install || exit echo "Now run ./configure."