asterisk-11x: Update 010-asterisk-configure-undef-res-ninit.patch
Lately configure is recreated from configure.ac. The current patch changes configure. So we patch it, then it gets recreated and our change is gone. So patch configure.ac instead. Without this change the build fails due to an undefined reference to res_nsearch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
96bdf92c0a
commit
20607024ee
|
@ -1,10 +1,10 @@
|
||||||
--- a/configure
|
--- a/configure.ac
|
||||||
+++ b/configure
|
+++ b/configure.ac
|
||||||
@@ -16606,7 +16606,6 @@ if ac_fn_c_try_link "$LINENO"; then :
|
@@ -1110,7 +1110,6 @@ AC_LINK_IFELSE(
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
#include <resolv.h>],
|
||||||
$as_echo "yes" >&6; }
|
[int foo = res_ninit(NULL);])],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
-$as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h
|
- AC_DEFINE([HAVE_RES_NINIT], 1, [Define to 1 if your system has the re-entrant resolver functions.])
|
||||||
|
AC_SEARCH_LIBS(res_9_ndestroy, resolv)
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_ndestroy" >&5
|
AC_MSG_CHECKING(for res_ndestroy)
|
||||||
$as_echo_n "checking for library containing res_9_ndestroy... " >&6; }
|
AC_LINK_IFELSE(
|
||||||
|
|
Loading…
Reference in New Issue