From d69cfb083e30a0d101f9a5228dde5ef7f747456d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Jan 2017 15:42:41 +0100 Subject: [PATCH] Work around an apparent autoconf bug in WX_CONFIG_CHECK Don't use "$4" inside m4 comment, as autoconf 2.69 somehow completely mangles the generated configure when the 4th argument is indeed specified: we end up with a part of this comment in the generated file. --- wxwin.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxwin.m4 b/wxwin.m4 index 77ebaf98cd..0b3c8de45b 100644 --- a/wxwin.m4 +++ b/wxwin.m4 @@ -210,8 +210,8 @@ AC_DEFUN([WX_CONFIG_CHECK], AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)]) fi - dnl don't add the libraries ($4) to this variable as this would result in - dnl an error when it's used with --version below + dnl don't add the libraries (4th argument) to this variable as this would + dnl result in an error when it's used with --version below WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5" WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`