ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/configure.ac
(Generate patch)

Comparing deliantra/server/configure.ac (file contents):
Revision 1.78 by root, Sun Jun 10 02:57:16 2007 UTC vs.
Revision 1.83 by root, Tue Jul 17 21:18:27 2007 UTC

59 "Coro::Event 2.1" \ 59 "Coro::Event 2.1" \
60 "Crossfire 0.99" \ 60 "Crossfire 0.99" \
61 "Digest::MD5 2.0" \ 61 "Digest::MD5 2.0" \
62 "Event 1.08" \ 62 "Event 1.08" \
63 "IO::AIO 2.4" \ 63 "IO::AIO 2.4" \
64 "JSON::XS 1.21" \ 64 "JSON::XS 1.41" \
65 "Net::IRC3 0.5" \
65 "Pod::POM 0.17" \ 66 "Pod::POM 0.17" \
66 "Safe::Hole 0.10" \ 67 "Safe::Hole 0.10" \
67 "Storable 2.0" \ 68 "Storable 2.0" \
68 "Time::HiRes 1.0" \ 69 "Time::HiRes 1.0" \
69 "YAML::Syck 0.71" \ 70 "YAML::Syck 0.71" \
72 module=$1 73 module=$1
73 minvers=$2 74 minvers=$2
74 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 75 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
75 if $PERL -M$module -e0 >/dev/null 2>&1; then 76 if $PERL -M$module -e0 >/dev/null 2>&1; then
76 version=`$PERL -M$module -e "print \\$$module::VERSION"` 77 version=`$PERL -M$module -e "print \\$$module::VERSION"`
77 if $PERL -M$module=$minvers -e0 >/dev/null 2>&1; then 78 if $PERL -M$module -e "VERSION $module $minvers" >/dev/null 2>&1; then
78 AC_MSG_RESULT([ok, version $version]) 79 AC_MSG_RESULT([ok, version $version])
79 else 80 else
80 AC_MSG_ERROR([no, installed version is $version]) 81 AC_MSG_ERROR([no, installed version is $version])
81 fi 82 fi
82 else 83 else
177 int fd; 178 int fd;
178 struct tcp_info tcpi; 179 struct tcp_info tcpi;
179 socklen_t len = sizeof (tcpi); 180 socklen_t len = sizeof (tcpi);
180 getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len); 181 getsockopt (fd, IPPROTO_TCP, TCP_INFO, &tcpi, &len);
181 fd = 0 182 fd = 0
183 + tcpi.tcpi_snd_mss
182 + tcpi.tcpi_rtt 184 + tcpi.tcpi_rtt
183 + tcpi.tcpi_rttvar 185 + tcpi.tcpi_rttvar
184 + tcpi.tcpi_last_ack_recv 186 + tcpi.tcpi_last_ack_recv
185 + tcpi.tcpi_last_data_sent 187 + tcpi.tcpi_last_data_sent
186 + tcpi.tcpi_unacked; 188 + tcpi.tcpi_unacked;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines