--- sntp/m4/ntp_libevent.m4.orig +++ sntp/m4/ntp_libevent.m4 @@ -108,9 +108,9 @@ done case "$LIBISC_PTHREADS_NOTHREADS" in pthreads) - LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_pthreads" + LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_pthreads-2.1" esac - LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_core" + LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_core-2.1" else ntp_use_local_libevent=yes # HMS: do we only need to do this if LIBISC_PTHREADS_NOTHREADS