summaryrefslogtreecommitdiff
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2001-10-24 22:54:38 +0000
committerKen Raeburn <raeburn@raeburn.org>2001-10-24 22:54:38 +0000
commit84e70f78690c02e12704751941824325920923ea (patch)
tree354d71352b7c7b31cec7cf574dd5c2ebdc907113 /lib-src/Makefile.in
parent7d8177cf90333a55b126757e931ae0f5c9db35f6 (diff)
downloademacs-84e70f78690c02e12704751941824325920923ea.tar.gz
fix build problems with krb5 and hesiod support
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r--lib-src/Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 44e8089c4f7..a4b6b07fc41 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -201,8 +201,12 @@ MOVE_FLAGS=
# ifdef HAVE_LIBKRB5
KRB5LIB = -lkrb5
# endif
-# ifdef HAVE_LIBCRYPTO
+# ifdef HAVE_LIBK5CRYPTO
+ CRYPTOLIB = -lk5crypto
+# else
+# ifdef HAVE_LIBCRYPTO
CRYPTOLIB = -lcrypto
+# endif
# endif
# ifdef HAVE_LIBCOM_ERR
COM_ERRLIB = -lcom_err
@@ -210,7 +214,13 @@ MOVE_FLAGS=
#endif /* KERBEROS */
/* If HESIOD is defined, set this to "-lhesiod". */
-HESIODLIB=
+#ifdef HAVE_LIBHESIOD
+# ifdef HAVE_LIBRESOLV
+ HESIODLIB= -lhesiod -lresolv
+# else
+ HESIODLIB= -lhesiod
+# endif
+#endif
MOVE_LIBS=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB)