Commit b82b5caa b82b5caa40e0c7cdc7af665c4f35db92b3a02c4b by Sergey Poznyakoff

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

1 parent 6d2c73f1
1 dnl This file is part of GNU mailutils. 1 dnl This file is part of GNU mailutils.
2 dnl Copyright (C) 2002 Free Software Foundation, Inc. 2 dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
3 dnl 3 dnl
4 dnl This program is free software; you can redistribute it and/or modify 4 dnl This program is free software; you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by 5 dnl it under the terms of the GNU General Public License as published by
...@@ -34,12 +34,13 @@ AC_DEFUN([MU_ENABLE_SUPPORT], [ ...@@ -34,12 +34,13 @@ AC_DEFUN([MU_ENABLE_SUPPORT], [
34 [mu_cache_var=yes]) 34 [mu_cache_var=yes])
35 35
36 if test x"[$]mu_cache_var" = x"yes"; then 36 if test x"[$]mu_cache_var" = x"yes"; then
37 AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support]) 37 ifelse([$2],,:,[$2])
38 ifelse([$2],,,$2)
39 ifelse([$3],,,else 38 ifelse([$3],,,else
40 $3) 39 [$3])
40 fi
41 if test x"[$]mu_cache_var" = x"yes"; then
42 AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support])
41 fi 43 fi
42
43 popdef([mu_upcase]) 44 popdef([mu_upcase])
44 popdef([mu_cache_var]) 45 popdef([mu_cache_var])
45 ]) 46 ])
......