fixed bug [1323202] Configure script doesnt correctly handle "--with-krb5"
authorbaalberith <baalberith>
Tue, 14 Oct 2008 19:00:50 +0000 (19:00 +0000)
committerbaalberith <baalberith>
Tue, 14 Oct 2008 19:00:50 +0000 (19:00 +0000)
configure.in

index 95b70b1..341dcb4 100644 (file)
@@ -39,6 +39,14 @@ AC_ARG_WITH(krb5,
   AC_HELP_STRING([--with-krb5=dir],[use krb5 in dir]),
   [ with_krb5="$withval" ])
 
+if test "x$with_krb5" = "xyes" ; then
+  with_krb5=""
+fi
+
+if test "x$with_krb4" = "xyes" ; then
+  with_krb4=""
+fi
+
 if test "x$with_krb5" != "xno" ; then
   ac_save_CPPFLAGS="$CPPFLAGS"
   ac_save_LDFLAGS="$LDFLAGS"