(MU_ENABLE_SUPPORT): Fixed quoting error. Allow action-if-true to disable the feature.
Showing
1 changed file
with
6 additions
and
5 deletions
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]) |
41 | fi | 40 | fi |
42 | 41 | if test x"[$]mu_cache_var" = x"yes"; then | |
42 | AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support]) | ||
43 | fi | ||
43 | popdef([mu_upcase]) | 44 | popdef([mu_upcase]) |
44 | popdef([mu_cache_var]) | 45 | popdef([mu_cache_var]) |
45 | ]) | 46 | ]) | ... | ... |
-
Please register or sign in to post a comment