]> git.pld-linux.org Git - packages/etherape.git/blob - etherape-resolv.patch
- updated gettext BR
[packages/etherape.git] / etherape-resolv.patch
1 --- etherape-0.9.4/configure.in.orig    2006-01-11 07:47:42.000000000 +0100
2 +++ etherape-0.9.4/configure.in 2006-02-01 12:23:25.000000000 +0100
3 @@ -90,14 +90,25 @@
4  # After some kind of change in libc, it seems it is
5  # required to #include <resolv.h> for the test to succeed.
6  # To go around it I included the test for __res_init
7 -AC_CHECK_FUNC(res_init, , 
8 -  AC_CHECK_LIB(bind, res_init, , 
9 -   AC_CHECK_LIB(resolv, res_init, ,
10 -    AC_CHECK_LIB(c, __res_init, , [AC_MSG_ERROR([No resolver library found])] ))))
11 -
12 -AC_CHECK_FUNC(res_mkquery, , 
13 -  AC_CHECK_LIB(bind, res_mkquery, , 
14 -   AC_CHECK_LIB(resolv, res_mkquery, , [AC_MSG_ERROR([No resolver library found])] )))
15 +AC_CHECK_FUNC(res_init, , [
16 +  AC_CHECK_FUNC(__res_init, , [
17 +    AC_CHECK_LIB(resolv, res_init, , [
18 +      AC_CHECK_LIB(resolv, __res_init, , [
19 +       AC_CHECK_LIB(bind, res_init, , [AC_MSG_ERROR([No resolver library found])])
20 +      ])
21 +    ])
22 +  ])
23 +])
24 +
25 +AC_CHECK_FUNC(res_mkquery, , [
26 +  AC_CHECK_FUNC(__res_mkquery, , [
27 +    AC_CHECK_LIB(resolv, res_mkquery, , [
28 +      AC_CHECK_LIB(resolv, __res_mkquery, , [
29 +       AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR([No resolver library found])])
30 +      ])
31 +    ])
32 +  ])
33 +])
34  else
35  AC_CHECK_FUNC(gethostbyaddr_r, , 
36    AC_CHECK_LIB(bind, gethostbyaddr_r, , 
This page took 0.048229 seconds and 3 git commands to generate.