* [Bug 1412] m4/os_cflags.m4 caches results that depend on $CC.
* [Bug 1413] test OpenSSL headers regarding -Wno-strict-prototypes.
* [Bug 1414] Enable "make distcheck" success with BSD make.
+* [Bug 1415] Fix Mac OS X link problem.
* [Bug 1418] building ntpd/ntpdc/ntpq statically with ssl fails.
* Build infrastructure updates to enable beta releases of ntp-stable.
AC_SEARCH_LIBS([setsockopt], [socket xnet])
AC_SEARCH_LIBS([res_init], [resolv], , , [-lsocket -lnsl])
+case "$host" in
+ *-*-darwin*)
+ AC_CHECK_LIB([resolv],[res_9_init])
+ ;;
+esac
AC_CHECK_FUNCS(res_init __res_init)
AC_HEADER_STDC
ntpsnmpd-opts.c ntpsnmpd-opts.h
noinst_HEADERS= ntpSnmpSubagentObject.h
# HMS: we probably want a version.o file here, too.
-LDADD= ../ntpq/libntpq.a ../libntp/libntp.a @SNMP_LIBS@ \
+LDADD= ../ntpq/libntpq.a ../libntp/libntp.a @LCRYPTO@ @SNMP_LIBS@ \
$(LIBOPTS_LDADD)
AM_CPPFLAGS= -I$(top_srcdir)/ntpq -I$(top_srcdir)/include \
-I$(top_srcdir)/lib/isc/include \