]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
configure libevent check intersperses output with answer.
authorHarlan Stenn <stenn@ntp.org>
Sat, 15 Jul 2023 07:45:44 +0000 (00:45 -0700)
committerHarlan Stenn <stenn@ntp.org>
Sat, 15 Jul 2023 07:45:44 +0000 (00:45 -0700)
bk: 64b24ea8Z-315I7Kv1BYsHDBpuQyCg

ChangeLog
sntp/m4/ntp_libevent.m4

index fb1df82ce75c880a5ed2a78bb35263a617a19656..244e0c6ee1600d6e47221000269f5e0dea64fe80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
              list is empty. <hart@ntp.org>
 * [Bug 3835] NTP_HARD_*FLAGS not used by libevent tearoff.
 * [Bug 3831] pollskewlist zeroed on runtime configuration. <hart@ntp.org>
+* [Bug 3830] configure libevent check intersperses output with answer. <stenn@>
 * [Bug 3828] BK should ignore a git repo in the same directory.
              <burnicki@ntp.org>
 * [Bug 3827] Fix build in case CLOCK_HOPF6021 or CLOCK_WHARTON_400A
index 8e7d65b5c29ef5fada1dc77f0d26b84314af62b2..451eac58fb0609ef60c22bad8cbaf10b5a1d99e4 100644 (file)
@@ -74,7 +74,6 @@ case "$ntp_use_local_libevent" in
  *) # If we have (a good enough) pkg-config, see if it can find libevent
     case "$PKG_CONFIG" in
      /*)
-       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
@@ -83,6 +82,7 @@ case "$ntp_use_local_libevent" in
             *.*) ;;
             *) ntp_libevent_version='(unknown)' ;;
            esac
+           AC_MSG_CHECKING([if libevent $ntp_libevent_min_version or later is installed])
            AC_MSG_RESULT([yes, version $ntp_libevent_version])
            CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
            CPPFLAGS_LIBEVENT=`$PKG_CONFIG --cflags-only-I libevent`
@@ -116,6 +116,7 @@ case "$ntp_use_local_libevent" in
            # HMS: do we only need to do this if LIBISC_PTHREADS_NOTHREADS
            # is "pthreads"?
            CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
+           AC_MSG_CHECKING([if libevent $ntp_libevent_min_version or later is installed])
            AC_MSG_RESULT([no])
        fi
        ;;