From b82b5caa40e0c7cdc7af665c4f35db92b3a02c4b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 12 Aug 2005 06:41:37 +0000 Subject: (MU_ENABLE_SUPPORT): Fixed quoting error. Allow action-if-true to disable the feature. --- m4/enable.m4 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/m4/enable.m4 b/m4/enable.m4 index cc4b26ace..1355661ea 100644 --- a/m4/enable.m4 +++ b/m4/enable.m4 @@ -1,5 +1,5 @@ dnl This file is part of GNU mailutils. -dnl Copyright (C) 2002 Free Software Foundation, Inc. +dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -34,12 +34,13 @@ AC_DEFUN([MU_ENABLE_SUPPORT], [ [mu_cache_var=yes]) if test x"[$]mu_cache_var" = x"yes"; then - AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support]) - ifelse([$2],,,$2) + ifelse([$2],,:,[$2]) ifelse([$3],,,else - $3) + [$3]) fi - + if test x"[$]mu_cache_var" = x"yes"; then + AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support]) + fi popdef([mu_upcase]) popdef([mu_cache_var]) ]) -- cgit v1.2.1