From: Dave Hart Date: Thu, 14 Apr 2011 20:32:10 +0000 (+0000) Subject: Merge psp-os1:/home/hart/ntp-dev-libevent-upstream X-Git-Tag: NTP_4_2_7P152~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bdc1e012be143e45514ddfd1ebdeabcdf1f5b1a;p=thirdparty%2Fntp.git Merge psp-os1:/home/hart/ntp-dev-libevent-upstream into shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-libevent-20110414 bk: 4da759cawRWgeX8CkW0nEUQAv2S3Lg --- 1bdc1e012be143e45514ddfd1ebdeabcdf1f5b1a diff --cc sntp/libevent/configure.in index cd8711e50,7b147591e..786ff64b4 --- a/sntp/libevent/configure.in +++ b/sntp/libevent/configure.in @@@ -5,13 -5,11 +5,11 @@@ AC_INIT(event.c AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE(libevent,2.0.10-stable-dev) - m4_ifdef( - [AM_SILENT_RULES], - [AM_SILENT_RULES([no])] - ) - AM_CONFIG_HEADER(config.h) - AC_DEFINE(NUMERIC_VERSION, 0x02000a01, [Numeric representation of the version]) + AM_INIT_AUTOMAKE(libevent,2.1.0-alpha-dev) + dnl AM_SILENT_RULES req. automake 1.11. [no] defaults V=1 -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([no])]) ++m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AM_CONFIG_HEADER(config.h evconfig-private.h:evconfig-private.h.in) + AC_DEFINE(NUMERIC_VERSION, 0x02010001, [Numeric representation of the version]) dnl Initialize prefix. if test "$prefix" = "NONE"; then @@@ -721,6 -717,9 +724,9 @@@ if test "$GCC" = yes && test "$enable_f ]] )], [ - dnl We have to do this invocation manually so that we can - dnl get the output of conftest.err to make sure it doesn't - dnl mention gc-sections. ++ dnl We have to do this invocation manually so that we can ++ dnl get the output of conftest.err to make sure it doesn't ++ dnl mention gc-sections. if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then libevent_cv_gc_sections_runs=no else diff --cc sntp/libevent/http.c index 3b0084848,3909aa8c5..336f5afbb --- a/sntp/libevent/http.c +++ b/sntp/libevent/http.c @@@ -55,10 -56,10 +56,13 @@@ #ifdef _EVENT_HAVE_NETINET_IN_H #include +# ifdef _XOPEN_SOURCE_EXTENDED +# include +# endif #endif + #ifdef _EVENT_HAVE_ARPA_INET_H + #include + #endif #ifdef _EVENT_HAVE_NETDB_H #include #endif