On Fri, Sep 11, 2009 at 03:54:12PM -0700, Mike Markley wrote:
> On Wed, Sep 09, 2009 at 11:08:20PM +0200, Kurt Roeckx <k...@roeckx.be> wrote:
> > > My concern is how cross-platform that is. I work very closely with
> > > upstream and we're discussing now the best way to accomplish this. The
> > > code doesn't even call res_mkquery() unless --enable-arlib is set in
> > > configure (which it isn't in the Debian build), so we're thinking that
> > > changing the check to something like AC_SEARCH_LIBS(dn_expand, resolv)
> > > would be more appropriate. Thoughts there?
> > 
> > AC_SEARCH_LIBS is always going to fail:
> > objdump -T /usr/lib/libresolv.so |grep dn_expand
> > 0000000000005400 g    DF .text  0000000000000025  GLIBC_2.2.5 __dn_expand
> > 
> > You need to #include <resolv.h> to get the right name of the
> > symbol.
> 
> Cool, thanks for the options. I do wonder if just adding a check for
> __res_mkquery in addition to the res_mkquery check would be a simpler
> solution. I'll start adapting the suggestions you sent, but would either
> of you be able to test that? (or do either of you think it's insane? :)

Sure, I'll test it.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to