summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-26 21:33:49 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-26 21:33:49 +0000
commit20ef8519e4f0eb90f9a938e9441c32714cb3b35a (patch)
treecf02d0e027132d8e830ec772e851f76a431b2e9d /lib-src
parentd55393b5a92d37a81321532da48cac13d9ab410a (diff)
downloademacs-20ef8519e4f0eb90f9a938e9441c32714cb3b35a.tar.gz
(MOVE_LIBS): Use conditionals on
KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in21
1 files changed, 13 insertions, 8 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index f05f92c0441..a3579754283 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -123,14 +123,6 @@ SOURCES = COPYING ChangeLog Makefile.in README emacs.csh \
# 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 @@ MOVE_LIBS=
#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.