aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-27 05:40:02 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-27 05:40:02 +0000
commit230a8e37b2a8c2b98041e84391d7cac43d8165cc (patch)
tree5c4313418d9d6381e270360b43a22a2962c6cebc /configure.in
parent2e13a585301585b62b6386e42b1f575453e05713 (diff)
downloadfetchmail-230a8e37b2a8c2b98041e84391d7cac43d8165cc.tar.gz
fetchmail-230a8e37b2a8c2b98041e84391d7cac43d8165cc.tar.bz2
fetchmail-230a8e37b2a8c2b98041e84391d7cac43d8165cc.zip
Enable fetchmail to build on benighted systems with no memmove.
svn path=/trunk/; revision=1732
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
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)