changeset 15939:dede4f09f223

(MOVE_LIBS): Use conditionals on KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Aug 1996 21:33:49 +0000
parents 51e5593fad49
children 5f980c3b53e0
files lib-src/Makefile.in
diffstat 1 files changed, 13 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/Makefile.in	Mon Aug 26 21:27:24 1996 +0000
+++ b/lib-src/Makefile.in	Mon Aug 26 21:33:49 1996 +0000
@@ -123,14 +123,6 @@
 #			mail host for the site.
 MOVE_FLAGS=
 
-# Additional libraries for movemail:
-# For KERBEROS
-# MOVE_LIBS= -lkrb -ldes -lcom_err
-# For KERBEROS + KRB5
-# MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err
-# Add "-lhesiod" if HESIOD is defined.
-MOVE_LIBS=
-
 # ========================== start of cpp stuff =======================
 /* From here on, comments must be done in C syntax.  */
 
@@ -187,6 +179,19 @@
 #define BLESSMAIL
 #endif
 
+#if defined (KERBEROS) && defined (HAVE_LIBKRB) && defined (HAVE_LIBDES)
+MOVE_LIBS= -lkrb -ldes -lcom_err
+/* For KERBEROS + KRB5
+    MOVE_LIBS= -lkrb5 -lcrypto -lisode -lcom_err
+    Add "-lhesiod" if HESIOD is defined.  */
+#else
+#if defined (KERBEROS) && defined (HAVE_LIBKRB)
+MOVE_LIBS= -lkrb -lcom_err
+#else
+MOVE_LIBS=
+#endif
+#endif
+
 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC
 
 /* We need to #define emacs to get the right versions of some files.