summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-01 14:24:41 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-01 14:24:41 +0000
commitad62fba634226b99aa87d576a1cc71c413afb292 (patch)
tree4a076f9719c8080bbd9d41b42f2169ce48f35f48 /m4
parentf9b1c23000ca85c88f6ec526eed64176b5b71fee (diff)
downloadmailutils-ad62fba634226b99aa87d576a1cc71c413afb292.tar.gz
mailutils-ad62fba634226b99aa87d576a1cc71c413afb292.tar.bz2
Fixed action-if-false
Diffstat (limited to 'm4')
-rw-r--r--m4/enable.m410
1 files changed, 3 insertions, 7 deletions
diff --git a/m4/enable.m4 b/m4/enable.m4
index 75fffaf69..1989711a3 100644
--- a/m4/enable.m4
+++ b/m4/enable.m4
@@ -1,5 +1,5 @@
dnl This file is part of GNU mailutils.
-dnl Copyright (C) 2001 Free Software Foundation, Inc.
+dnl Copyright (C) 2002 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
@@ -20,10 +20,8 @@ dnl MU_ENABLE_SUPPORT(feature, [action-if-true], [action-if-false])
AC_DEFUN([MU_ENABLE_SUPPORT], [
pushdef([mu_upcase],translit($1,[a-z],[A-Z]))
- pushdef([mu_build_files],mu_upcase[_BUILD_FILES])
pushdef([mu_cache_var],[mu_cv_enable_]$1)
- AC_SUBST(mu_build_files)
- ifelse([$2],,,AC_SUBST(mu_build_dirs))
+
AC_ARG_ENABLE($1,
[ --disable-]$1[ disable ]$1[ support],
[case "${enableval}" in
@@ -35,14 +33,12 @@ AC_DEFUN([MU_ENABLE_SUPPORT], [
if test x"[$]mu_cache_var" = x"yes"; then
AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support])
- mu_build_files='[$(]mu_upcase[_FILES)]'
ifelse([$2],,,$2)
ifelse([$3],,,else
- $2)
+ $3)
fi
popdef([mu_upcase])
- popdef([mu_build_files])
popdef([mu_cache_var])
])

Return to:

Send suggestions and report system problems to the System administrator.