aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-16 21:12:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-16 21:12:29 +0000
commit03f13c24a8a9ec87db38b4f319d46dd88e64a508 (patch)
treee9c831443663c18480d55dd59c7b59f46a1d17d2 /configure.in
parent1a1c64589dab9b9ed221a155db0ecc77476ae3da (diff)
downloadfetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.gz
fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.bz2
fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.zip
Philippe de Muyter's Motorola fixes.
svn path=/trunk/; revision=781
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ae45d083..e98a70e3 100644
--- a/configure.in
+++ b/configure.in
@@ -40,6 +40,10 @@ AC_CHECK_LIB(nsl,inet_addr)
# library. So don't add -lresolv to the link list unless it's necessary
AC_CHECK_FUNC(res_search,, AC_CHECK_LIB(resolv,res_search))
+AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR),
+ [EXTRASRC="$EXTRASRC \$(srcdir)/strstr.c"
+ EXTRAOBJ="$EXTRAOBJ strstr.o"])
+
AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP),
[EXTRASRC="$EXTRASRC \$(srcdir)/strcasecmp.c"
EXTRAOBJ="$EXTRAOBJ strcasecmp.o"])