# HG changeset patch # User Richard M. Stallman # Date 850932930 0 # Node ID 7b3bcbb9a8f5d137c8a48e410a11d9f25c4f7d11 # Parent 66dd9b7649cc001ff0fe81bcbbedb62e96500c3f (LIBMAIL): New macro. Conditionally includes -lmail. (movemail): Use LIBMAIL, to link against -lmail. diff -r 66dd9b7649cc -r 7b3bcbb9a8f5 lib-src/Makefile.in --- 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