# HG changeset patch # User Chong Yidong # Date 1174266329 0 # Node ID 7de34f871bcd0f2ec56358c4e0b805f8f8f3f807 # Parent 05fce28aea26d1fe3beea2d6d64466924abf4cf7 Don't define KERBEROS, KERBEROS5, or HESIOD if the user specifies "without". diff -r 05fce28aea26 -r 7de34f871bcd configure.in --- a/configure.in Sun Mar 18 23:09:57 2007 +0000 +++ b/configure.in Mon Mar 19 01:05:29 2007 +0000 @@ -54,7 +54,9 @@ AH_TEMPLATE(MAIL_USE_POP, [Define to support POP mail retrieval.])dnl AC_ARG_WITH(kerberos, [ --with-kerberos support Kerberos-authenticated POP], -[AC_DEFINE(KERBEROS)]) +[if test "$withval" = yes; then + AC_DEFINE(KERBEROS) +fi]) AH_TEMPLATE(KERBEROS, [Define to support Kerberos-authenticated POP mail retrieval.])dnl AC_ARG_WITH(kerberos5, @@ -64,11 +66,13 @@ with_kerberos=yes AC_DEFINE(KERBEROS) fi -fi -AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.])]) + AC_DEFINE(KERBEROS5, 1, [Define to use Kerberos 5 instead of Kerberos 4.]) +fi]) AC_ARG_WITH(hesiod, [ --with-hesiod support Hesiod to get the POP server host], -[AC_DEFINE(HESIOD, 1, [Define to support using a Hesiod database to find the POP server.])]) +[if test "$withval" = yes; then + AC_DEFINE(HESIOD, 1, [Define to support using a Hesiod database to find the POP server.]) +fi]) AC_ARG_WITH(sound, [ --without-sound don't compile with sound support])