AC_PREREQ(2.59)
-AC_INIT(l7vsd)
+AC_INIT(l7vsd, 3.1.1, ultramonkey-l7-develop@lists.sourceforge.jp)
PACKAGENAME=l7vsd
VERSION=3.1.1
-AM_INIT_AUTOMAKE($PACKAGENAME, $VERSION, no-define )
+AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
-lboost_system-mt \
-lboost_serialization-mt \
-lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp \
+ -lpthread \
@external_agent_libs@
l7vsadm_CPPFLAGS = \
libl7vsadm_parameter.a \
-llog4cxx \
-lrt \
+ -lpthread \
-lboost_thread-mt \
-lboost_system-mt \
-lboost_serialization-mt \
}
if (!server_connected_flag && server_connect_time_out != 0) {
boost::xtime now_time;
+#if BOOST_VERSION >= 105000
+ boost::xtime_get(&now_time, boost::TIME_UTC_);
+#else
boost::xtime_get(&now_time, boost::TIME_UTC);
+#endif
if ((now_time.sec - client_connected_time.sec) > server_connect_time_out) { // timeout detect.
boost::system::error_code error_code;
client_socket.close(error_code);
this,
boost::asio::placeholders::error));
} else {
- boost::xtime_get(&client_connected_time, boost::TIME_UTC);
+#if BOOST_VERSION >= 105000
+ boost::xtime_get(&start_handshake_time, boost::TIME_UTC_);
+#else
+ boost::xtime_get(&start_handshake_time, boost::TIME_UTC);
+#endif
upthread_status = UPTHREAD_ACTIVE;
}
up_thread_next_call_function = up_thread_function_array[func_tag];