]> andersk Git - moira.git/blobdiff - clients/moira/user.c
Switch from Imake-based build system to autoconf-based.
[moira.git] / clients / moira / user.c
index 35198931fdddd4e4f04b8802e75a5f890f124bfe..2347cc8dc4712303e3d1556f1216350f415b69bc 100644 (file)
@@ -26,7 +26,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#ifdef GDSS
+
+#include <krb.h>
+#ifdef HAVE_GDSS
 #include <gdss.h>
 #endif
 
@@ -105,7 +107,7 @@ static void PrintUserInfo(char **info)
 {
   char name[BUFSIZ], buf[BUFSIZ];
   int status;
-#ifdef GDSS
+#ifdef HAVE_GDSS
   SigInfo si;
 #endif
 
@@ -116,7 +118,7 @@ static void PrintUserInfo(char **info)
          info[U_UID], info[U_SHELL], info[U_CLASS]);
   Put_message(buf);
 
-#ifdef GDSS
+#ifdef HAVE_GDSS
   sprintf(buf, "%s:%s", info[U_NAME], info[U_MITID]);
   si.rawsig = NULL;
   status = GDSS_Verify(buf, strlen(buf), info[U_SIGNATURE], &si);
@@ -200,7 +202,7 @@ void CorrectCapitalization(char **name)
 char **AskUserInfo(char **info, Bool name)
 {
   int i;
-#ifdef GDSS
+#ifdef HAVE_GDSS
   SigInfo si;
 #endif
   char temp_buf[BUFSIZ], *newname;
@@ -306,7 +308,7 @@ char **AskUserInfo(char **info, Bool name)
     }
 
   /* Sign record */
-#ifdef GDSS
+#ifdef HAVE_GDSS
   if (strcmp(info[U_NAME], UNIQUE_LOGIN))
     {
       if (name)
This page took 0.048799 seconds and 4 git commands to generate.