bk: 501ee254GBCCh6nCTO53ubWBSIM2Pw
+* [Bug 2242] configure fails to detect getifaddrs function on Solaris.
* [Bug 2249] Bad operator for 'test' in 'make check' of libevent.
* [Bug 2252] palisade: formats nanosecs to a 6-char field.
(4.2.7p293) 2012/08/04 Released by Harlan Stenn <stenn@ntp.org>
)
case $want_getifaddrs in
- no)
- ;;
glibc)
AC_MSG_WARN([--enable-getifaddrs=glibc is no longer required])
- AC_CHECK_FUNCS([getifaddrs])
+esac
+case $want_getifaddrs in
+ no)
;;
*)
+ SAVED_LIBS="$LIBS"
+ LIBS="$LDADD_LIBNTP $LIBS"
AC_CHECK_FUNCS([getifaddrs])
+ LIBS="$SAVED_LIBS"
+ AS_UNSET([SAVED_LIBS])
;;
esac