From 4c2423a98542de4ab80ff75cb5987aa59f788ee1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 15 Oct 1996 14:48:34 +0000 Subject: Simplify the autoconfig process a lot. svn path=/trunk/; revision=337 --- configure.in | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b52f6bbe..d9a0aa55 100644 --- a/configure.in +++ b/configure.in @@ -23,7 +23,7 @@ AC_HEADER_STDC AC_TYPE_SIZE_T AC_TYPE_PID_T AC_TYPE_SIGNAL -AC_CHECK_HEADERS(unistd.h termios.h termio.h sgtty.h memory.h) +AC_CHECK_HEADERS(unistd.h termios.h termio.h sgtty.h stdarg.h) AC_C_CONST dnl getopt needs this. @@ -34,10 +34,6 @@ AC_SUBST(LIBOBJS) AC_CHECK_LIB(socket,socket) AC_CHECK_LIB(nsl,inet_addr) -AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), - [EXTRASRC="$EXTRASRC \$(srcdir)/strdup.c" - EXTRAOBJ="$EXTRAOBJ strdup.o"]) - AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP), [EXTRASRC="$EXTRASRC \$(srcdir)/strcasecmp.c" EXTRAOBJ="$EXTRAOBJ strcasecmp.o"]) @@ -65,7 +61,7 @@ dnl All AC_CHECK_FUNCs must precede the following AC_SUBSTs AC_SUBST(EXTRASRC) AC_SUBST(EXTRAOBJ) -AC_CHECK_FUNCS(dup2 strerror tcsetattr stty setsid rresvport) +AC_CHECK_FUNCS(tcsetattr stty setsid rresvport) dnl AC_FUNC_SETVBUF_REVERSED @@ -119,12 +115,6 @@ AC_TRY_LINK([#include [AC_DEFINE(SYS_SIGLIST_DECLARED) AC_MSG_RESULT(yes)], AC_MSG_RESULT(no)) -# The presence of the following is not meant to imply -# that fetchmail necessarily works on those systems. -dnl AC_DYNIX_SEQ -dnl AC_XENIX_DIR -dnl AC_IRIX_SUN - AC_OUTPUT(Makefile, [ # Makefile uses this timestamp file to know when to remake Makefile, # build.sh, and glob/Makefile. -- cgit v1.2.3