From: Richard M. Stallman Date: Mon, 26 Aug 1996 21:33:49 +0000 (+0000) Subject: (MOVE_LIBS): Use conditionals on X-Git-Tag: emacs-20.1~4005 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fd14a091c1c7e7af946dc3d51d0b27649ba49dd;p=emacs.git (MOVE_LIBS): Use conditionals on KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up. --- 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.