From e66cfcc4edf3739f264677dc474e3c521f18f41e Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Sun, 26 Jul 2026 18:39:24 +0200 Subject: [PATCH] Update the check of configure options in the documentation to cover options from libtool 2.5.3 with libtool >= 2.5.3 make check fail with: make[3]: Entering directory '/tmp/WMAKER/wmaker.git' ./script/check-cmdline-options-doc.sh \ --program "./configure" --text-doc "./INSTALL-WMAKER" \ --ignore-prg 'with-PACKAGE,without-PACKAGE # only template names from Autoconf' \ --ignore-prg 'program-prefix,program-suffix,program-transform-name # in INSTALL' \ --ignore-prg 'version,quiet,srcdir,build,host,cache-file,no-create # in INSTALL' \ --ignore-prg 'enable-silent-rules,disable-silent-rules # should be in INSTALL' \ --ignore-prg 'enable-dependency-tracking,disable-dependency-tracking # in INSTALL' \ --ignore-prg 'enable-shared,enable-static # should be in INSTALL' \ --ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \ --ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \ --ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \ --ignore-prg 'with-aix-soname #new in libtool 2.4.4' \ --ignore-prg 'with-x # no use, it would not work without X' Warning: program's option does not contain "--with-pic", specified in "--ignore-prg" Warning: program's option does not contain "--with-aix-soname", specified in "--ignore-prg" Error: program option '--enable-pic' is not in the documentation './INSTALL-WMAKER' Error: program option '--enable-aix-soname' is not in the documentation './INSTALL-WMAKER' make[3]: *** [Makefile:1016: configure-documentation] Error 1 make[3]: Leaving directory '/tmp/WMAKER/wmaker.git' make[2]: *** [Makefile:810: check-am] Error 2 We have been applying the attched patch in Debian to fix this. Bug-Debian: https://bugs.debian.org/1092416 --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3fc0adda..eb80ec7f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -143,7 +143,9 @@ configure-documentation: --ignore-prg 'disable-option-checking,enable-fast-install # should be in INSTALL' \ --ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot # for libtool' \ --ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \ - --ignore-prg 'with-aix-soname #new in libtool 2.4.4' \ + --ignore-prg 'with-aix-soname # new in libtool 2.4.4 up to 2.5.2' \ + --ignore-prg 'enable-aix-soname # renamed in libtool 2.5.3' \ + --ignore-prg 'enable-pic # new in libtool 2.5.3' \ --ignore-prg 'with-x # no use, it would not work without X' .PHONY: configure-documentation