configure: require a minimum version for Autoconf to avoid wrong generation
commitbe1c2a01dc8af1fcef6bf1b80c5a4038603d24b7
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 15 Dec 2014 19:43:45 +0000 (15 20:43 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 15 Dec 2014 20:24:22 +0000 (15 20:24 +0000)
treee0579923e5dbe90ffdba145ac96a541e8282ac02
parentc6e323e75dafc7c5553dde448cc625304cab95b4
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>
configure.ac