Package: mtr
Version: 0.69-2
Severity: important

res_mkquery in libresolve is #defined to __res_mkquery.  The 
AC_CHECK_LIB(resolv, res_mkquery, , AC_MSG_ERROR(No resolver library
found))
in configure.in thus obviously fails, as the resulting test program
doesn't include the header file resolve.h.

A solution would be to change the corresponding section in
configure.in to:

AC_CHECK_FUNC(res_mkquery, ,
  AC_CHECK_LIB(bind, res_mkquery, ,
   AC_CHECK_LIB(resolv, res_mkquery, ,
     AC_CHECK_LIB(resolv, __res_mkquery, ,AC_MSG_ERROR(No resolver library 
found)))))

although the _real_ solution would be to check for linking of a
program that includes the header file (which is something autoconf
can't so out of the box, afaics).




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to