packages/net/mtr/patches/520-libresolv_fix.patch
swalker f4fdbc1615 [packages] mtr: update to 0.82, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 22:11:46 +00:00

18 lines
796 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -72,10 +72,10 @@ AC_CHECK_FUNC(gethostbyname, ,
AC_CHECK_FUNCS(seteuid)
# AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
-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)))))
+#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)))))
# This next line would override the just detected-or-not -lresolv.
# This apparently hurts BSD. And it's bad practise. So it should go.
# However, it probably didn't get added for nothing..... Holler if