From 3243d5d55f4124980caf911214b935d52d448ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 17 Oct 2003 22:56:56 +0000 Subject: Several fixes to the autotools scripts. (Daniel Richard G.) --- Makefile.am | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 746d9ef..f038032 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,12 +26,19 @@ AM_YFLAGS = -d install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(libdir) + rm -f $(DESTDIR)$(sbindir)/sendmail + rm -f $(DESTDIR)$(libdir)/sendmail + rm -f $(DESTDIR)$(bindir)/mailq + rm -f $(DESTDIR)$(bindir)/newaliases $(LN_S) $(bindir)/esmtp $(DESTDIR)$(sbindir)/sendmail $(LN_S) $(bindir)/esmtp $(DESTDIR)$(libdir)/sendmail $(LN_S) $(bindir)/esmtp $(DESTDIR)$(bindir)/mailq $(LN_S) $(bindir)/esmtp $(DESTDIR)$(bindir)/newaliases install-data-hook: + rm -f $(DESTDIR)$(man1dir)/sendmail.1 + rm -f $(DESTDIR)$(man1dir)/mailq.1 + rm -f $(DESTDIR)$(man1dir)/newaliases.1 $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/sendmail.1 $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/mailq.1 $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/newaliases.1 diff --git a/configure.ac b/configure.ac index 21ae6a0..a7e4cc4 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ dnl Check for libESMTP AC_CHECK_LIB( esmtp, smtp_start_session, - LIBS="$LIBS -lesmtp", + , AC_MSG_ERROR([*** libESMTP library not found.])) adl_FUNC_GETOPT_LONG -- cgit v1.2.3