]> andersk Git - moira.git/blobdiff - configure.in
fix typo.
[moira.git] / configure.in
index 25c209c73775446a7fdad9198dfc71e47abedf53..ae9c7ed1d8923773a16554b6d87c3fb270b98696 100755 (executable)
@@ -115,9 +115,6 @@ AC_ARG_WITH(krb4,
     [  --with-krb4=PREFIX      Specify location of krb4],
     [krb4="$withval"], [krb4=no])
 AC_MSG_RESULT($krb4)
-if test $krb4 = "no"; then
-    AC_MSG_ERROR(Kerberos is required for Moira)
-fi
 if test "$krb4" != yes; then
     MR_INCLUDE($krb4/include)
     if test -d "$krb4/include/kerberosIV"; then
@@ -449,7 +446,15 @@ MR_INCLUDE('$(BUILDTOP)/lib')
 MR_INCLUDE('$(BUILDTOP)/db')
 MR_INCLUDE('$(srcdir)')
 LDFLAGS="$LDFLAGS -L\$(BUILDTOP)/lib $LIBPATH"
-KLIBS="-lzephyr $KRB4_LIBS -lcom_err -lhesiod $LIBS"
+KLIBS="$KRB4_LIBS -lcom_err $LIBS"
+KLIBS="$LIBS"
+if test "$hesiod" != no; then
+  KLIBS="-lhesiod $KLIBS"
+fi
+KLIBS="$KRB4_LIBS -lcom_err $KLIBS"
+if test "$zephyr" != no; then
+  KLIBS="-lzephyr $KLIBS"
+fi
 LIBS="-lmoira $KLIBS"
 AC_SUBST(KLIBS)
 
This page took 0.035437 seconds and 4 git commands to generate.