Commit b82b5caa b82b5caa40e0c7cdc7af665c4f35db92b3a02c4b by Sergey Poznyakoff

(MU_ENABLE_SUPPORT): Fixed quoting error. Allow action-if-true to disable the feature.

1 parent 6d2c73f1
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])
])
......