CVS diff for configure.ac between 1.12 and 1.11:

Revision 1.11 Revision 1.12
Line 10 Line 10
# Checks for programs. 
AC_PROG_CC 
AM_PROG_LEX 
# Checks for programs. 
AC_PROG_CC 
AM_PROG_LEX 
# Check for Pth library
AC_CHECK_PTH(1.3.0, subdir:pth, --disable-shared --disable-tests)
AC_CONFIG_SUBDIRS(pth) 
 
 
# Checks for header files. 
AC_HEADER_DIRENT 
 
# Checks for header files. 
AC_HEADER_DIRENT 
Line 35 Line 31
AC_CHECK_FUNCS([bzero dup2 getcwd inet_ntoa memset munmap socket strchr strdup strrchr]) 
 
# Check for TCP_CORK 
AC_CHECK_FUNCS([bzero dup2 getcwd inet_ntoa memset munmap socket strchr strdup strrchr]) 
 
# Check for TCP_CORK 
AC_MSG_CHECKING(availability of TCP_CORK)
AC_EGREP_CPP(SUCCESS,
            [
               #include <netinet/tcp.h>
               #ifdef TCP_CORK
               SUCCESS
               #endif
            ],[
               AC_MSG_RESULT(present)
               AC_DEFINE([HAVE_TCPCORK], [], [TCP_CORK option is available])

               AC_MSG_CHECKING(whether to use TCP_CORK)
               AC_ARG_ENABLE(tcpcork,
                   AC_HELP_STRING([--disable-tcpcork],
                                  [disable use of TCP_CORK buffering on Linux]),
                       [
                        if test "$enableval" = "no"; then
                            AC_MSG_RESULT(no)
                        else
                            AC_MSG_RESULT(yes)
                            AC_DEFINE([USE_TCPCORK], [], 
                                      [Use TCP_CORK buffering on Linux])
                        fi
                       ],
                       [
                        AC_MSG_RESULT(yes)
                        AC_DEFINE([USE_TCPCORK], [],
                                  [Use TCP_CORK buffering on Linux])
                       ])
            ],[
               AC_MSG_RESULT(not present)
            ]) 
#AC_MSG_CHECKING(availability of TCP_CORK)
#AC_EGREP_CPP(SUCCESS,
#            [
#               #include <netinet/tcp.h>
#               #ifdef TCP_CORK
#               SUCCESS
#               #endif
#            ],[
#               AC_MSG_RESULT(present)
#               AC_DEFINE([HAVE_TCPCORK], [], [TCP_CORK option is available])
#
#               AC_MSG_CHECKING(whether to use TCP_CORK)
#               AC_ARG_ENABLE(tcpcork,
#                   AC_HELP_STRING([--disable-tcpcork],
#                                  [disable use of TCP_CORK buffering on Linux]),
#                       [
#                        if test "$enableval" = "no"; then
#                            AC_MSG_RESULT(no)
#                        else
#                            AC_MSG_RESULT(yes)
#                            AC_DEFINE([USE_TCPCORK], [], 
#                                      [Use TCP_CORK buffering on Linux])
#                        fi
#                       ],
#                       [
#                        AC_MSG_RESULT(yes)
#                        AC_DEFINE([USE_TCPCORK], [],
#                                  [Use TCP_CORK buffering on Linux])
#                       ])
#            ],[
#               AC_MSG_RESULT(not present)
#            ]) 
             
## Use sendfile() support? 
#AC_MSG_CHECKING(whether to use sendfile) 
             
## Use sendfile() support? 
#AC_MSG_CHECKING(whether to use sendfile) 
Line 142 Line 138
        ]) 
 
 
        ]) 
 
 
# Limit response concurrency?
AC_MSG_CHECKING(whether to limit response concurrency)
AC_ARG_ENABLE(response-concurrency,
  AC_HELP_STRING([--enable-response-concurrency=CONC],
                 [limit to CONC simultaneous responses]),
[
  if test "$enableval" = "no"; then
    AC_MSG_RESULT(unlimited)
  else
    if test "$enableval" = "yes"; then
      AC_MSG_RESULT(unlimited)
    else
      AC_MSG_RESULT(limit to $enableval)
      AC_DEFINE_UNQUOTED([RESPONSE_CONCURRENCY],
                         $enableval,
                         [Maximum number of concurrent responses])
    fi
# Enable epoll-based pth code (highly experimental)
AC_MSG_CHECKING(whether to build Pth on top of epoll (very experimental))
AC_ARG_WITH(epoll,
  AC_HELP_STRING([--with-epoll],
                 [build Pth on top of epoll (very experimental)]),
[
  if test "$withval" = "yes"; then
    AC_MSG_RESULT(yes)
    EPOLL_FLAG="--enable-epoll"
  else
    AC_MSG_RESULT(no)
    EPOLL_FLAG=""
  fi
],
[
  AC_MSG_RESULT(no)
  EPOLL_FLAG="" 
  fi
],
[
  AC_MSG_RESULT(unlimited)
 
]) 
 
# Enable dmalloc? 
]) 
 
# Enable dmalloc? 
Line 199 Line 191
    AC_MSG_RESULT(no) 
]) 
 
    AC_MSG_RESULT(no) 
]) 
 
 
# Check for Pth library
AC_CHECK_PTH(1.3.0, subdir:pth $EPOLL_FLAG, --disable-shared --disable-tests)
AC_CONFIG_SUBDIRS(pth) 
 
AC_CONFIG_FILES([Makefile]) 
AC_OUTPUT 
 
AC_CONFIG_FILES([Makefile]) 
AC_OUTPUT 


Legend
Lines deleted from 1.12  
Lines Modified
  Lines added in revision 1.11