]> andersk Git - moira.git/blobdiff - update/update_server.c
Build without krb4 if it's unavailable.
[moira.git] / update / update_server.c
index 985700d15862902a288cda9473f9a437aa1bd6c4..6c5dc9a316c8bbf189499feda7efe85a472a644f 100644 (file)
@@ -25,7 +25,9 @@
 #include <unistd.h>
 #include <syslog.h>
 
+#ifdef HAVE_KRB4
 #include <des.h>
+#endif
 #include "update.h"
 
 RCSID("$Header$");
@@ -33,7 +35,9 @@ RCSID("$Header$");
 char *whoami, *hostname;
 
 int have_authorization = 0;
+#ifdef HAVE_KRB4
 des_cblock session;
+#endif
 int uid = 0;
 
 void child_handler(int signal);
@@ -44,7 +48,9 @@ struct _dt {
   char *str;
   void (*proc)(int, char *);
 } dispatch_table[] = {
+#ifdef HAVE_KRB4
   { "AUTH_002", auth_002 },
+#endif
   { "AUTH_003", auth_003 },
   { "XFER_002", xfer_002 },
   { "XFER_003", xfer_003 },
This page took 0.034123 seconds and 4 git commands to generate.