/[mailutils]/mailutils/m4/enable.m4
ViewVC logotype

Diff of /mailutils/m4/enable.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gray, Fri Nov 1 14:24:41 2002 UTC revision 1.3 by jbailey, Fri Nov 1 17:20:33 2002 UTC
# Line 23  AC_DEFUN([MU_ENABLE_SUPPORT], [ Line 23  AC_DEFUN([MU_ENABLE_SUPPORT], [
23          pushdef([mu_cache_var],[mu_cv_enable_]$1)          pushdef([mu_cache_var],[mu_cv_enable_]$1)
24    
25          AC_ARG_ENABLE($1,          AC_ARG_ENABLE($1,
26           [  --disable-]$1[          disable ]$1[ support],                        AC_HELP_STRING([--disable-]$1,
27           [case "${enableval}" in                                       [disable ]$1[ support]),
28                          [
29            case "${enableval}" in
30                  yes) mu_cache_var=yes;;                  yes) mu_cache_var=yes;;
31                  no)  mu_cache_var=no;;                  no)  mu_cache_var=no;;
32                  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-$1) ;;                  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-$1) ;;
33            esac],          esac],
34           [mu_cache_var=yes])                        [mu_cache_var=yes])
35    
36          if test x"[$]mu_cache_var" = x"yes"; then          if test x"[$]mu_cache_var" = x"yes"; then
37                  AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support])                  AC_DEFINE([ENABLE_]mu_upcase,1,[Define this if you enable $1 support])

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26