aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-03-19 01:05:29 +0000
committerChong Yidong2007-03-19 01:05:29 +0000
commitae61688f89ef63104eb2b7c2ef0738ecd17d9b9f (patch)
tree048cddf1f3c201a612bbe0051d00c87381831750
parent39e653ead8fb85137f5d5d060ad658150c698486 (diff)
downloademacs-ae61688f89ef63104eb2b7c2ef0738ecd17d9b9f.tar.gz
emacs-ae61688f89ef63104eb2b7c2ef0738ecd17d9b9f.zip
Don't define KERBEROS, KERBEROS5, or HESIOD if the user specifies
"without".
-rw-r--r--configure.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index e9ffb8d9be8..842002d33a1 100644
--- a/configure.in
+++ b/configure.in
@@ -54,7 +54,9 @@ AC_DEFINE(MAIL_USE_POP))
54AH_TEMPLATE(MAIL_USE_POP, [Define to support POP mail retrieval.])dnl 54AH_TEMPLATE(MAIL_USE_POP, [Define to support POP mail retrieval.])dnl
55AC_ARG_WITH(kerberos, 55AC_ARG_WITH(kerberos,
56[ --with-kerberos support Kerberos-authenticated POP], 56[ --with-kerberos support Kerberos-authenticated POP],
57[AC_DEFINE(KERBEROS)]) 57[if test "$withval" = yes; then
58 AC_DEFINE(KERBEROS)
59fi])
58AH_TEMPLATE(KERBEROS, 60AH_TEMPLATE(KERBEROS,
59 [Define to support Kerberos-authenticated POP mail retrieval.])dnl 61 [Define to support Kerberos-authenticated POP mail retrieval.])dnl
60AC_ARG_WITH(kerberos5, 62AC_ARG_WITH(kerberos5,
@@ -64,11 +66,13 @@ AC_ARG_WITH(kerberos5,
64 with_kerberos=yes 66 with_kerberos=yes
65 AC_DEFINE(KERBEROS) 67 AC_DEFINE(KERBEROS)
66 fi 68 fi
67fi 69 AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.])
68AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.])]) 70fi])
69AC_ARG_WITH(hesiod, 71AC_ARG_WITH(hesiod,
70[ --with-hesiod support Hesiod to get the POP server host], 72[ --with-hesiod support Hesiod to get the POP server host],
71[AC_DEFINE(HESIOD, 1, [Define to support using a Hesiod database to find the POP server.])]) 73[if test "$withval" = yes; then
74 AC_DEFINE(HESIOD, 1, [Define to support using a Hesiod database to find the POP server.])
75fi])
72 76
73AC_ARG_WITH(sound, 77AC_ARG_WITH(sound,
74[ --without-sound don't compile with sound support]) 78[ --without-sound don't compile with sound support])