summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index a410350ee46..a7cd8416a7b 100755
--- a/configure
+++ b/configure
@@ -1839,11 +1839,13 @@ fi
# Check whether --with-kerberos was given.
if test "${with_kerberos+set}" = set; then
- withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF
+ withval=$with_kerberos; if test "$withval" = yes; then
+ cat >>confdefs.h <<\_ACEOF
#define KERBEROS 1
_ACEOF
fi
+fi
@@ -1857,23 +1859,25 @@ if test "${with_kerberos5+set}" = set; then
_ACEOF
fi
-fi
cat >>confdefs.h <<\_ACEOF
#define KERBEROS5 1
_ACEOF
fi
+fi
# Check whether --with-hesiod was given.
if test "${with_hesiod+set}" = set; then
- withval=$with_hesiod;
+ withval=$with_hesiod; if test "$withval" = yes; then
+
cat >>confdefs.h <<\_ACEOF
#define HESIOD 1
_ACEOF
fi
+fi