]> git.pld-linux.org Git - packages/etherape.git/blame - etherape-resolv.patch
- updated to 0.9.4; some patchs fixed
[packages/etherape.git] / etherape-resolv.patch
CommitLineData
b41e62b9 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
46942db8
JB
5 # required to #include <resolv.h> for the test to succeed.
6 # To go around it I included the test for __res_init
46942db8
JB
7-AC_CHECK_FUNC(res_init, ,
8- AC_CHECK_LIB(bind, res_init, ,
9- AC_CHECK_LIB(resolv, res_init, ,
b41e62b9 10- AC_CHECK_LIB(c, __res_init, , [AC_MSG_ERROR([No resolver library found])] ))))
46942db8
JB
11-
12-AC_CHECK_FUNC(res_mkquery, ,
13- AC_CHECK_LIB(bind, res_mkquery, ,
b41e62b9 14- AC_CHECK_LIB(resolv, res_mkquery, , [AC_MSG_ERROR([No resolver library found])] )))
46942db8
JB
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, , [
b41e62b9 19+ AC_CHECK_LIB(bind, res_init, , [AC_MSG_ERROR([No resolver library found])])
46942db8
JB
20+ ])
21+ ])
22+ ])
23+])
b41e62b9 24+
46942db8
JB
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, , [
b41e62b9 29+ AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR([No resolver library found])])
46942db8
JB
30+ ])
31+ ])
32+ ])
33+])
b41e62b9 34 else
35 AC_CHECK_FUNC(gethostbyaddr_r, ,
36 AC_CHECK_LIB(bind, gethostbyaddr_r, ,
This page took 0.1191 seconds and 4 git commands to generate.