comparison configure.in @ 76551:7de34f871bcd

Don't define KERBEROS, KERBEROS5, or HESIOD if the user specifies "without".
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 19 Mar 2007 01:05:29 +0000
parents 9ff7d64fb17b
children 4eed412c4d44
comparison
equal deleted inserted replaced
76550:05fce28aea26 76551:7de34f871bcd
52 fi], 52 fi],
53 AC_DEFINE(MAIL_USE_POP)) 53 AC_DEFINE(MAIL_USE_POP))
54 AH_TEMPLATE(MAIL_USE_POP, [Define to support POP mail retrieval.])dnl 54 AH_TEMPLATE(MAIL_USE_POP, [Define to support POP mail retrieval.])dnl
55 AC_ARG_WITH(kerberos, 55 AC_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)
59 fi])
58 AH_TEMPLATE(KERBEROS, 60 AH_TEMPLATE(KERBEROS,
59 [Define to support Kerberos-authenticated POP mail retrieval.])dnl 61 [Define to support Kerberos-authenticated POP mail retrieval.])dnl
60 AC_ARG_WITH(kerberos5, 62 AC_ARG_WITH(kerberos5,
61 [ --with-kerberos5 support Kerberos version 5 authenticated POP], 63 [ --with-kerberos5 support Kerberos version 5 authenticated POP],
62 [if test "${with_kerberos5+set}" = set; then 64 [if test "${with_kerberos5+set}" = set; then
63 if test "${with_kerberos+set}" != set; then 65 if test "${with_kerberos+set}" != set; then
64 with_kerberos=yes 66 with_kerberos=yes
65 AC_DEFINE(KERBEROS) 67 AC_DEFINE(KERBEROS)
66 fi 68 fi
67 fi 69 AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.])
68 AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.])]) 70 fi])
69 AC_ARG_WITH(hesiod, 71 AC_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.])
75 fi])
72 76
73 AC_ARG_WITH(sound, 77 AC_ARG_WITH(sound,
74 [ --without-sound don't compile with sound support]) 78 [ --without-sound don't compile with sound support])
75 79
76 dnl This should be the last --with option, because --with-x is 80 dnl This should be the last --with option, because --with-x is