X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=configure.in;h=655de55b8b74b2fe33a2008a6d641f10b68e5f40;hb=822aef930c65c18fc8b75d9d7429d54191c1f6e1;hp=d8422e59b77f6f2721203de16e1b8ccd62cf97ab;hpb=4c9b623853fd998e6dc37af69945731ad0006a6d;p=privoxy.git diff --git a/configure.in b/configure.in index d8422e59..655de55b 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id: configure.in,v 1.61 2002/04/10 18:14:45 morcego Exp $ +dnl $Id: configure.in,v 1.63 2002/04/11 11:00:21 oes Exp $ dnl dnl Written by and Copyright (C) 2001, 2002 the SourceForge dnl Privoxy team. http://www.privoxy.org/ @@ -28,6 +28,12 @@ dnl or write to the Free Software Foundation, Inc., 59 dnl Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl dnl $Log: configure.in,v $ +dnl Revision 1.63 2002/04/11 11:00:21 oes +dnl Applied Moritz' fix for socklen_t on Solaris +dnl +dnl Revision 1.62 2002/04/11 10:09:20 oes +dnl Version 2.9.14 +dnl dnl Revision 1.61 2002/04/10 18:14:45 morcego dnl - (privoxy-rh.spec only) Relisting template files on the %%files section dnl - (configure.in, privoxy-rh.spec) Bumped package release to 5 @@ -341,7 +347,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.61 $) +AC_REVISION($Revision: 1.63 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -388,7 +394,7 @@ dnl ================================================================= VERSION_MAJOR=2 VERSION_MINOR=9 VERSION_POINT=14 -VERSION_RPM_PACKAGE=1 +VERSION_RPM_PACKAGE=2 CODE_STATUS="beta" dnl CODE_STATUS can be "alpha", "beta", or "stable", and will be @@ -803,6 +809,10 @@ AC_CHECK_FUNC(localtime_r, [ dnl ================================================================= dnl Solaris specific dnl FIXME: Not tested on Solaris yet... +dnl ISFIXED: Have tested it on Solaris, but there are other ways to +dnl make these checks generic, e.g.: +dnl AC_CHECK_FUNC(getsockopt, , AC_CHECK_LIB(socket, getsockopt)) +dnl (Moritz Barsnick ) dnl ================================================================= @@ -825,6 +835,17 @@ esac AC_SUBST(SOCKET_LIB) +dnl ================================================================= +dnl Solaris problem, and others perhaps (socklen_t is undefined) +dnl ================================================================= + +AC_MSG_CHECKING([for socklen_t]) +AC_EGREP_HEADER(socklen_t, sys/socket.h, AC_MSG_RESULT([yes]), + AC_MSG_RESULT([no]) + AC_DEFINE(socklen_t,int, + [ Define to 'int' if doesn't have it. ])) + + dnl ================================================================= dnl OS/2 specific dnl =================================================================