Mercurial > emacs
changeset 16722:7b3bcbb9a8f5
(LIBMAIL): New macro. Conditionally includes -lmail.
(movemail): Use LIBMAIL, to link against -lmail.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 18 Dec 1996 18:15:30 +0000 |
parents | 66dd9b7649cc |
children | 55eedd7e16fb |
files | lib-src/Makefile.in |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/Makefile.in Wed Dec 18 18:12:37 1996 +0000 +++ b/lib-src/Makefile.in Wed Dec 18 18:15:30 1996 +0000 @@ -200,6 +200,10 @@ MOVE_LIBS=$(KRBLIB) $(DESLIB) $(COM_ERRLIB) $(HESIODLIB) +#ifdef HAVE_LIBMAIL +LIBMAIL=-lmail +#endif + LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD_LIBSRC /* We need to #define emacs to get the right versions of some files. @@ -365,7 +369,7 @@ $(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c $(LOADLIBES) -o b2m movemail: movemail.o pop.o - $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(LOADLIBES) $(MOVE_LIBS) -o movemail + $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(LOADLIBES) $(LIBMAIL) $(MOVE_LIBS) -o movemail movemail.o: ${srcdir}/movemail.c ../src/config.h $(CC) -c ${CPP_CFLAGS} -Demacs ${MOVE_FLAGS} ${srcdir}/movemail.c