1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

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.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-12-15 20:43:45 +01:00
committed by Carlos R. Mafra
parent c6e323e75d
commit be1c2a01dc

View File

@@ -8,7 +8,14 @@ dnl autoconf
dnl libtoolize --force --automake dnl libtoolize --force --automake
dnl automake -a --gnu --include-deps dnl automake -a --gnu --include-deps
dnl 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
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/) AC_INIT(WindowMaker, 0.95.6, , WindowMaker, http://www.windowmaker.org/)