diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-12-18 18:15:30 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-12-18 18:15:30 +0000 |
commit | 6e3dda29a47bcd0c1ee24e25f069b4fb2e3de1f2 (patch) | |
tree | f9ba08b270a2a99e28af69ad0df6248dbc850499 /lib-src | |
parent | 5aab7a72081b6816c0f5f785ade5ccf58c0c565a (diff) | |
download | emacs-6e3dda29a47bcd0c1ee24e25f069b4fb2e3de1f2.tar.gz |
(LIBMAIL): New macro. Conditionally includes -lmail.
(movemail): Use LIBMAIL, to link against -lmail.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index eab225ce48f..24eec646375 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -200,6 +200,10 @@ HESIODLIB= 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 @@ b2m: ${srcdir}/b2m.c ../src/config.h $(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 |