]> git.pld-linux.org Git - packages/mtr.git/blob - mtr-resolv.patch
33fc8f1474e7a3dcbad6bef4f689efd7aa88572c
[packages/mtr.git] / mtr-resolv.patch
1 --- mtr-0.71/configure.ac.orig  2006-03-24 07:37:17.000000000 +0100
2 +++ mtr-0.71/configure.ac       2006-03-25 16:00:03.264992250 +0100
3 @@ -85,10 +85,11 @@
4  AC_CHECK_FUNCS(seteuid)
5  #  AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
6  
7 -AC_CHECK_FUNC(res_mkquery, , 
8 -  AC_CHECK_LIB(bind, res_mkquery, , 
9 -   AC_CHECK_LIB(resolv, res_mkquery, ,
10 -     AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
11 +AC_CHECK_FUNC(res_mkquery, ,[
12 + AC_CHECK_FUNC(__res_mkquery, ,[
13 +  AC_CHECK_LIB(resolv, res_mkquery, ,[
14 +   AC_CHECK_LIB(resolv, __res_mkquery, ,[
15 +     AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR(No resolver library found)])])])])])
16  # This next line would override the just detected-or-not -lresolv. 
17  # This apparently hurts BSD. And it's bad practise. So it should go. 
18  # However, it probably didn't get added for nothing..... Holler if
This page took 0.062818 seconds and 2 git commands to generate.