]> git.pld-linux.org Git - packages/etherape.git/blobdiff - etherape-resolv.patch
- updated to 0.9.4; some patchs fixed
[packages/etherape.git] / etherape-resolv.patch
index 157648757803aa3e5bd321787515d8d523632595..bfc6bf5c7595d25501a10fab3b859c9c3d38d82c 100644 (file)
@@ -1,36 +1,36 @@
---- etherape-0.9.0/configure.in.orig   2003-03-01 23:05:30.000000000 +0100
-+++ etherape-0.9.0/configure.in        2004-07-14 21:21:22.064405638 +0200
-@@ -45,14 +45,25 @@
+--- etherape-0.9.4/configure.in.orig   2006-01-11 07:47:42.000000000 +0100
++++ etherape-0.9.4/configure.in        2006-02-01 12:23:25.000000000 +0100
+@@ -90,14 +90,25 @@
+ # After some kind of change in libc, it seems it is
  # required to #include <resolv.h> for the test to succeed.
  # To go around it I included the test for __res_init
 -AC_CHECK_FUNC(res_init, , 
 -  AC_CHECK_LIB(bind, res_init, , 
 -   AC_CHECK_LIB(resolv, res_init, ,
--    AC_CHECK_LIB(c, __res_init, , AC_MSG_ERROR(No resolver library found)))))
+-    AC_CHECK_LIB(c, __res_init, , [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_MSG_ERROR(No resolver library found))))
+-   AC_CHECK_LIB(resolv, res_mkquery, , [AC_MSG_ERROR([No resolver library found])] )))
 +AC_CHECK_FUNC(res_init, , [
 +  AC_CHECK_FUNC(__res_init, , [
 +    AC_CHECK_LIB(resolv, res_init, , [
 +      AC_CHECK_LIB(resolv, __res_init, , [
-+      AC_CHECK_LIB(bind, res_init, , [AC_MSG_ERROR([No resolver library found])])
++       AC_CHECK_LIB(bind, res_init, , [AC_MSG_ERROR([No resolver library found])])
 +      ])
 +    ])
 +  ])
 +])
-+                         
++
 +AC_CHECK_FUNC(res_mkquery, , [
 +  AC_CHECK_FUNC(__res_mkquery, , [
 +    AC_CHECK_LIB(resolv, res_mkquery, , [
 +      AC_CHECK_LIB(resolv, __res_mkquery, , [
-+      AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR([No resolver library found])])
++       AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR([No resolver library found])])
 +      ])
 +    ])
 +  ])
 +])
- # Check for the pcap library.
- AC_ARG_ENABLE(static-pcap,
+ else
+ AC_CHECK_FUNC(gethostbyaddr_r, , 
+   AC_CHECK_LIB(bind, gethostbyaddr_r, , 
This page took 0.053681 seconds and 4 git commands to generate.