From: Wouter Wijngaards Date: Tue, 10 Jan 2012 14:51:41 +0000 (+0000) Subject: Add AC-FORK test to main configure.ac that makes ldns-testns forked more work. X-Git-Tag: release-1.6.12~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd81bd249598eec1f524b84fb71188549b26e8d;p=thirdparty%2Fldns.git Add AC-FORK test to main configure.ac that makes ldns-testns forked more work. Add LIB=libldns.la so that dependencies work in Makefile, LIB was empty. --- diff --git a/Makefile.in b/Makefile.in index 1c25ddf6..0cb0b75a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -62,6 +62,7 @@ LIBLOBJS = $(LIBOBJS:.o=.lo) LDNS_LOBJS = buffer.lo dname.lo dnssec.lo dnssec_sign.lo dnssec_verify.lo dnssec_zone.lo error.lo higher.lo host2str.lo host2wire.lo keys.lo net.lo packet.lo parse.lo rbtree.lo rdata.lo resolver.lo rr.lo rr_functions.lo sha1.lo sha2.lo str2host.lo tsig.lo update.lo util.lo wire2host.lo zone.lo LDNS_LOBJS_EX = ^linktest\.c$$ LDNS_ALL_LOBJS = $(LDNS_LOBJS) $(LIBLOBJS) +LIB = libldns.la LDNS_HEADERS = buffer.h dname.h dnssec.h dnssec_sign.h dnssec_verify.h dnssec_zone.h error.h higher.h host2str.h host2wire.h keys.h ldns.h packet.h parse.h rbtree.h rdata.h resolver.h rr.h rr_functions.h sha1.h sha2.h str2host.h tsig.h update.h wire2host.h zone.h LDNS_HEADERS_EX = ^config\.h|common\.h|util\.h|net\.h$$ diff --git a/configure.ac b/configure.ac index 2c8e8284..98861d93 100644 --- a/configure.ac +++ b/configure.ac @@ -493,6 +493,7 @@ AC_REPLACE_FUNCS(inet_ntop) AC_REPLACE_FUNCS(snprintf) AC_REPLACE_FUNCS(strlcpy) AC_REPLACE_FUNCS(memmove) +AC_FUNC_FORK AC_CHECK_FUNCS([endprotoent endservent sleep random fcntl strtoul bzero memset]) ACX_CHECK_GETADDRINFO_WITH_INCLUDES