summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-10-17 22:56:56 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-10-17 22:56:56 +0000
commit3243d5d55f4124980caf911214b935d52d448ca3 (patch)
tree617b3a28a5433ae5c8b092a15e8db0823a81e23f
parentaa961687f2c4862bc6430b386015373b4eae2043 (diff)
Several fixes to the autotools scripts. (Daniel Richard G.)
-rw-r--r--Makefile.am7
-rw-r--r--configure.ac2
2 files changed, 8 insertions, 1 deletions
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