aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-07 20:55:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-07 20:55:08 +0000
commitd67d0b8f82a55d52c799aeb088a65927bc9aecf7 (patch)
treea960eba701993b37b33ac03d4915188e522a8f64 /configure.in
parent192bcbb0ddce0d8737923c7bb41c5b836a357458 (diff)
downloadfetchmail-d67d0b8f82a55d52c799aeb088a65927bc9aecf7.tar.gz
fetchmail-d67d0b8f82a55d52c799aeb088a65927bc9aecf7.tar.bz2
fetchmail-d67d0b8f82a55d52c799aeb088a65927bc9aecf7.zip
Interactive UNIX System V/386 Release 3.2 port.
svn path=/trunk/; revision=1245
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4118e93b..df1b5f02 100644
--- a/configure.in
+++ b/configure.in
@@ -7,7 +7,7 @@ dnl
AC_INIT(fetchmail.h) dnl A distinctive file to look for in srcdir.
AC_CONFIG_HEADER(config.h)
-# We want these before the checks, so the checks can modify their values.
+dnl We want these before the checks, so the checks can modify their values.
test -z "$CFLAGS" && CFLAGS=-O AC_SUBST(CFLAGS)
test -z "$LDFLAGS" && LDFLAGS=-s AC_SUBST(LDFLAGS)
@@ -35,7 +35,11 @@ AC_CHECK_LIB(nsl,inet_addr)
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(inet,socket)
AC_CHECK_LIB(opie,opiegenerator)
-AC_CHECK_LIB(cposix, strchr) dnl Interactive UNIX System V/386 Release 3.2
+
+dnl Port hack for Interactive UNIX System V/386 Release 3.2
+AC_CHECK_LIB(cposix, strchr,
+ [DEFS="$DEFS -D_SYSV3"
+ LIBS="$LIBS -lcposix"])
AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR),
[EXTRASRC="$EXTRASRC \$(srcdir)/strstr.c"