From: Harlan Stenn Date: Sat, 14 Apr 2012 03:49:28 +0000 (-0400) Subject: Change the link order for ntpsntpd X-Git-Tag: NTP_4_2_7P272~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6dac829e9a79f604fb3ea6905880e39d668984;p=thirdparty%2Fntp.git Change the link order for ntpsntpd bk: 4f88f3c8JvsYYDq5PGzkBT2ks5dkVQ --- diff --git a/ChangeLog b/ChangeLog index d6c880ad1..b863142d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +* Change the link order for ntpsntpd. +* Remove extra 'nlist' check from configure.ac. (4.2.7p271) 2012/04/11 Released by Harlan Stenn * [Bug 1122] openssl detection via pkg-config fails when no additional -Idir flags are needed. diff --git a/configure.ac b/configure.ac index fec8e8a72..a51dbf9a0 100644 --- a/configure.ac +++ b/configure.ac @@ -804,7 +804,7 @@ case "$host" in *) AC_CHECK_FUNCS([mlockall]) ;; esac -AC_CHECK_FUNCS([nice nlist plock pututline pututxline readlink recvmsg rtprio]) +AC_CHECK_FUNCS([nice plock pututline pututxline readlink recvmsg rtprio]) case "$host" in *-*-aix[[456]]*) # Just a stub in AIX 4. Idiots. diff --git a/ntpsnmpd/Makefile.am b/ntpsnmpd/Makefile.am index 0d9e5271c..820b7ab95 100644 --- a/ntpsnmpd/Makefile.am +++ b/ntpsnmpd/Makefile.am @@ -9,8 +9,9 @@ ntpsnmpd_SOURCES= netsnmp_daemonize.c ntpsnmpd.c ntpSnmpSubagentObject.c \ ntpsnmpd-opts.c ntpsnmpd-opts.h ntpSnmpSubagentObject.h \ ntp_snmp.h # HMS: we probably want a version.o file here, too. -LDADD = ../ntpq/libntpq.a ../libntp/libntp.a $(LDADD_LIBNTP) $(LIBM) -LDADD += $(PTHREAD_LIBS) $(LDADD_NTP) $(SNMP_LIBS) $(LIBOPTS_LDADD) +LDADD = ../ntpq/libntpq.a ../libntp/libntp.a +LDADD += $(SNMP_LIBS) $(LDADD_LIBNTP) $(LIBM) +LDADD += $(PTHREAD_LIBS) $(LDADD_NTP) $(LIBOPTS_LDADD) AM_CFLAGS = $(SNMP_CFLAGS) $(CFLAGS_NTP)