From: Harlan Stenn Date: Wed, 5 Feb 2014 07:02:58 +0000 (+0000) Subject: [Bug 2551] --disable-local-libevent breaks the build X-Git-Tag: NTP_4_2_7P418~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d225c050142081e0b386509520cb32cfeba034;p=thirdparty%2Fntp.git [Bug 2551] --disable-local-libevent breaks the build bk: 52f1e222m95E1vl7Q_gYPz3u4mYGaQ --- diff --git a/ChangeLog b/ChangeLog index 522b66cef..a5d6f4437 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2551] --disable-local-libevent breaks the build. (4.2.7p417) 2014/02/02 Released by Harlan Stenn * Bug 2539: doc and code tweaks for NMEA driver * Add check for enable stats to ntpd/complete.conf.in diff --git a/sntp/m4/ntp_libevent.m4 b/sntp/m4/ntp_libevent.m4 index 953f2ef92..168f398e3 100644 --- a/sntp/m4/ntp_libevent.m4 +++ b/sntp/m4/ntp_libevent.m4 @@ -49,12 +49,10 @@ AC_SUBST([LDADD_LIBEVENT]) case "$ntp_use_local_libevent" in yes) ;; - no) - ;; *) # If we have (a good enough) pkg-config, see if it can find libevent case "$PKG_CONFIG" in /*) - AC_MSG_CHECKING([if libevent 2.0.9 or later is installed]) + AC_MSG_CHECKING([if libevent $ntp_libevent_min_version or later is installed]) if $PKG_CONFIG --atleast-version=$ntp_libevent_min_version libevent then ntp_use_local_libevent=no