Thanks for figuring this out, Cristophe!

Fortunately, I found another PPA which has backported autoconf 2.69 to precise 
[1], so I've added it as a dependency to mine.  We'll see how the next 
automatic build goes!

Doug

[1] https://launchpad.net/~dns/+archive/ubuntu/gnu
________________________________________
From: Christophe CURIS [christophe.cu...@free.fr]
Sent: Monday, December 15, 2014 1:43 PM
To: Window Maker Devel
Subject: [PATCH 1/1] configure: require a minimum version for Autoconf to avoid 
wrong generation

As found by Douglas Torrance, when the 'configure' script is generated
using v2.68 of autoconf then it gets wrongly generated due to a regression
in the handling of names in AS_VAR_PUSHDEF, and crashes with this kind of
sibylline messages:

checking CFLAGS for -Wtrampolines... ./configure: line 11916: 
wm_cv_c_check_compopt_Werror_trampolines=no, unknown: command not found

This patch adds a check on autoconf version to ensure the problem will get
caught as soon as possible.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index c9ed50c..ad4bef6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,14 @@ dnl               autoconf
 dnl               libtoolize --force --automake
 dnl               automake -a --gnu --include-deps
 dnl
+
+
+dnl Due to a bug in Autoconf 2.68 (apparently a regression), we need at least
+dnl version 2.68b which includes this patch:
+dnl   
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=2b0d95faef68d7ed7c08b0edb9ff1c38728376fa
 dnl
+dnl Because the 2.69 was released only a few month later, let's just ask for it
+AC_PREREQ([2.69])


 AC_INIT(WindowMaker, 0.95.6, , WindowMaker, http://www.windowmaker.org/)
--
2.1.3


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to