summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-08-12 06:41:37 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-08-12 06:41:37 +0000
commitb82b5caa40e0c7cdc7af665c4f35db92b3a02c4b (patch)
tree7e29998ab0e71edc461ba38ef4f7ca1e7e4d8519
parent6d2c73f1b27e6861d6b1fc2d3a15f8a8b8d771ca (diff)
downloadmailutils-b82b5caa40e0c7cdc7af665c4f35db92b3a02c4b.tar.gz
mailutils-b82b5caa40e0c7cdc7af665c4f35db92b3a02c4b.tar.bz2
(MU_ENABLE_SUPPORT): Fixed quoting error. Allow action-if-true to disable the feature.
-rw-r--r--m4/enable.m411
1 files 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])
])

Return to:

Send suggestions and report system problems to the System administrator.