From 6fd14a091c1c7e7af946dc3d51d0b27649ba49dd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 26 Aug 1996 21:33:49 +0000 Subject: [PATCH] (MOVE_LIBS): Use conditionals on KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up. --- lib-src/Makefile.in | 21 +++++++++++++-------- 1 file 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. -- 2.39.2