From 4399e3300fb853d02a31bd8e7fa29e679379536b Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 25 Mar 2008 11:55:53 +0100 Subject: [PATCH] Fix --enable-mch also disabling MCS Explicitly check $enable_mc[hs] instead of the generic $enableval, since the latter is only updated before the checks if it was specified on the command line. --- configure.in | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/configure.in b/configure.in index e1f6890..d177654 100644 --- a/configure.in +++ b/configure.in @@ -13,21 +13,9 @@ AM_INIT_AUTOMAKE() ## Helper macros. ####################################################################### -AC_DEFUN([REMOTE_PARSE_WITHVAL], -[m4_toupper(CONFIG_$1)=no; - m4_toupper(CONFIG_$1)DIR=; -if test "$withval" = "yes"; then - m4_toupper(CONFIG_$1)=yes; -else - m4_toupper(CONFIG_$1)=yes; - m4_toupper(CONFIG_$1)DIR="$withval"; -fi -AC_SUBST(m4_toupper(CONFIG_$1)) -]) - AC_DEFUN([REMOTE_PARSE_ENABLEVAL], [m4_toupper(CONFIG_$1)=yes; -if test "$enableval" = "no"; then +if test "$enable_$1" = "no"; then m4_toupper(CONFIG_$1)=no; fi AC_SUBST(m4_toupper(CONFIG_$1)) -- 2.11.4.GIT