--- embedaddon/php/sapi/fpm/config.m4 2013/07/22 01:32:13 1.1.1.3 +++ embedaddon/php/sapi/fpm/config.m4 2013/10/14 08:17:38 1.1.1.3.2.1 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.1.1.3 2013/07/22 01:32:13 misho Exp $ +dnl $Id: config.m4,v 1.1.1.3.2.1 2013/10/14 08:17:38 misho Exp $ dnl PHP_ARG_ENABLE(fpm,, @@ -317,7 +317,7 @@ AC_DEFUN([AC_FPM_LQ], AC_MSG_CHECKING([for TCP_INFO]) - AC_TRY_COMPILE([ #include ], [struct tcp_info ti; int x = TCP_INFO;], [ + AC_TRY_COMPILE([ #include ], [struct tcp_info ti; ti.tcpi_sacked = 0; int x = TCP_INFO;], [ have_lq=tcp_info AC_MSG_RESULT([yes]) ], [ @@ -338,7 +338,7 @@ AC_DEFUN([AC_FPM_LQ], AC_MSG_RESULT([no]) ]) - if test "$have_lq" = "tcp_info"; then + if test "$have_lq" = "so_listenq"; then AC_DEFINE([HAVE_LQ_SO_LISTENQ], 1, [do we have SO_LISTENQxxx?]) fi fi