From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Sat, 30 Jan 2016 05:34:48 +0100 Message-ID: <87h9hvznvb.fsf@gnus.org> References: <87si1gx6wz.fsf@gnus.org> <87egczg4e2.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454128548 4586 80.91.229.3 (30 Jan 2016 04:35:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2016 04:35:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alex Dunn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 30 05:35:39 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aPNG5-00045y-1k for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 05:35:37 +0100 Original-Received: from localhost ([::1]:37551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPNG1-0002Sy-70 for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 23:35:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPNFx-0002SG-TI for emacs-devel@gnu.org; Fri, 29 Jan 2016 23:35:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPNFu-0007R6-MN for emacs-devel@gnu.org; Fri, 29 Jan 2016 23:35:29 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:33751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPNFu-0007Py-FE for emacs-devel@gnu.org; Fri, 29 Jan 2016 23:35:26 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aPNFP-0000vm-QM; Sat, 30 Jan 2016 05:34:56 +0100 In-Reply-To: (Alex Dunn's message of "Fri, 29 Jan 2016 20:11:01 -0800") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aPNFP-0000vm-QM MailScanner-NULL-Check: 1454733298.159@Rr1EmJpdvRZTuNbdxbL7kA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199022 Archived-At: Alex Dunn writes: > Thanks for the quick reply! It gets further now, but runs into a > linking error (library not found for -lanl): > https://gist.github.com/dunn/8df8eb0e12fa2f870e29#file-03-make-L441 Hm... Even after all these years, I still have no idea how auto...make? tools? Work. I cargo culted and ended up with this: GETADDRINFO_A_LIBS="-lanl" AC_CHECK_LIB(anl, getaddrinfo_a, HAVE_GETADDRINFO_A=yes, HAVE_GETADDRINFO_A=no, [$GETADDRINFO_A_LIBS]) AC_SUBST(GETADDRINFO_A_LIBS) OLD_LIBS=$LIBS LIBS="-lanl $LIBS" AC_CHECK_FUNCS(getaddrinfo_a) LIBS=$OLD_LIBS Which doesn't do the right thing, apparently. Can somebody who knows what this language is fix the magical incantation? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no