diff options
| author | Chong Yidong | 2007-03-19 01:05:29 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-03-19 01:05:29 +0000 |
| commit | ae61688f89ef63104eb2b7c2ef0738ecd17d9b9f (patch) | |
| tree | 048cddf1f3c201a612bbe0051d00c87381831750 | |
| parent | 39e653ead8fb85137f5d5d060ad658150c698486 (diff) | |
| download | emacs-ae61688f89ef63104eb2b7c2ef0738ecd17d9b9f.tar.gz emacs-ae61688f89ef63104eb2b7c2ef0738ecd17d9b9f.zip | |
Don't define KERBEROS, KERBEROS5, or HESIOD if the user specifies
"without".
| -rw-r--r-- | configure.in | 12 |
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)) | |||
| 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, |
| @@ -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 |
| 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]) |