1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00

(MOVE_LIBS): Use conditionals on

KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up.
This commit is contained in:
Richard M. Stallman 1996-08-26 21:33:49 +00:00
parent 685b1bef75
commit 6fd14a091c

View File

@ -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.