]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
autoconf: check for res_nquery explicitly 823/head
authorNoah Watkins <noahwatkins@gmail.com>
Sat, 21 Sep 2013 16:29:47 +0000 (09:29 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Tue, 5 Nov 2013 16:24:11 +0000 (08:24 -0800)
commit1cc8558b6071ecc9ed18301014e888b26046942f
treeaa2a09494fe6a1f6b7090f729b147e3b48c088e5
parent74873fd110a6a30173439cc0e713d29dcf829337
autoconf: check for res_nquery explicitly

Creates a test that checks explicitly for res_nquery, which can be a
macro in resolv.h. Defines RESOLV_LIBS that contains any libraries that
need to be linked against.

Notes from later fix:

Based on the 2013-09-30 version of wip-port.  On FreeBSD, one must
include netinet/in.h to get the definitions for stuff in resolv.h.
Also, resolv.h's functions are part of libc instead of libresolv.

Signed-off-by: Alan Somers <asomers@gmail.com>
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
configure.ac
src/rgw/Makefile.am