aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in6
-rw-r--r--NEWS4
-rw-r--r--acconfig.h3
-rw-r--r--configure.in7
4 files changed, 16 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 4c3362be..28df6eb4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -113,8 +113,8 @@ rfc822: rfc822.c
gcc -DTESTMAIN -g rfc822.c -o rfc822
# Stand-alone MIME decoder
-unmime: unmime.c base64.c rfc822.c xmalloc.c error.c
- $(CC) -DSTANDALONE -g -o $@ $^
+unmime: unmime.c base64.c rfc822.c xmalloc.c error.c memmove.c
+ $(CC) -DSTANDALONE -g -o $@ $^
.c.o:
$(CC) $(defines) -c -I$(srcdir) -I. $(CEFLAGS) $(CFLAGS) $<
@@ -202,7 +202,7 @@ headers = $(srcdir)/fetchmail.h $(srcdir)/socket.h $(srcdir)/smtp.h \
$(srcdir)/mx.h $(srcdir)/md5.h $(srcdir)/md5global.h \
$(srcdir)/netrc.h $(srcdir)/tunable.h
extra = $(srcdir)/alloca.c $(srcdir)/getopt.[ch] $(srcdir)/getopt1.c \
- $(srcdir)/strcasecmp.c $(srcdir)/strstr.c
+ $(srcdir)/strcasecmp.c $(srcdir)/strstr.c $(srcdir)/memmove.c
docs = $(srcdir)/COPYING $(srcdir)/FEATURES $(srcdir)/fetchmail-features.html \
$(srcdir)/design-notes.html $(srcdir)/NOTES \
$(srcdir)/INSTALL $(srcdir)/NEWS $(srcdir)/README \
diff --git a/NEWS b/NEWS
index f1b371d2..1f06a4e2 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,10 @@
fetchmail-4.4.2 ():
* Use TOP for POP3 retrieval to avoid marking messages seen. Duh!
* Another fix for command-line --smtphost option.
+* Deal with "Return-Path: <>".
+* Re-enable build on some random Solaris (memmove wasn't in the C library).
+
+There are 279 people on fetchmail-friends and 169 on fetchmail-announce.
fetchmail-4.4.1 (Tue Mar 24 00:01:20 EST 1998):
* We now properly shroud IMAP passwords containing ", \, and SP.
diff --git a/acconfig.h b/acconfig.h
index 29fad8ff..2e6d8630 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -29,6 +29,9 @@
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
+/* Define if you have the memmove function. */
+#undef HAVE_MEMMOVE
+
/* Define if you have GNU's getopt family of functions. */
#undef HAVE_GETOPTLONG
diff --git a/configure.in b/configure.in
index a2d8d0ea..5bdbe34d 100644
--- a/configure.in
+++ b/configure.in
@@ -60,6 +60,10 @@ AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP),
[EXTRASRC="$EXTRASRC \$(srcdir)/strcasecmp.c"
EXTRAOBJ="$EXTRAOBJ strcasecmp.o"])
+AC_CHECK_FUNC(memmove, AC_DEFINE(HAVE_MEMMOVE),
+ [EXTRASRC="$EXTRASRC \$(srcdir)/memmove.c"
+ EXTRAOBJ="$EXTRAOBJ memmove.o"])
+
AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPTLONG),
[EXTRASRC="$EXTRASRC \$(srcdir)/getopt.c \$(srcdir)/getopt1.c"
EXTRAOBJ="$EXTRAOBJ getopt.o getopt1.o"])
@@ -72,7 +76,8 @@ then
EXTRAOBJ="$EXTRAOBJ alloca.o"
fi
-dnl All AC_CHECK_FUNCs must precede the following AC_SUBSTs
+dnl AC_CHECK_FUNC calls that might hack the Makefile must precede
+dnl the following AC_SUBSTs
AC_SUBST(EXTRADEFS)
AC_SUBST(EXTRASRC)