]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Change the link order for ntpsntpd
authorHarlan Stenn <stenn@ntp.org>
Sat, 14 Apr 2012 03:49:28 +0000 (23:49 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sat, 14 Apr 2012 03:49:28 +0000 (23:49 -0400)
bk: 4f88f3c8JvsYYDq5PGzkBT2ks5dkVQ

ChangeLog
configure.ac
ntpsnmpd/Makefile.am

index d6c880ad178a2e216c7b3bc54c9f8b841d79179b..b863142d332fcf64b632ff322a38b908a6c3e262 100644 (file)
--- 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 <stenn@ntp.org>
 * [Bug 1122] openssl detection via pkg-config fails when no additional
   -Idir flags are needed.
index fec8e8a721ddb7dbe9a939312952f9152e53e477..a51dbf9a0f1d09da3945898db170fb20cb7526da 100644 (file)
@@ -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.
index 0d9e5271cb98906c63c036f8d1fa3678928bb78f..820b7ab958feb45393aaf0251f0898b018d323cb 100644 (file)
@@ -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)