[vlc-commits] configure: fix libnsl test

Fabrizio Ge git at videolan.org
Thu Jan 22 15:39:58 CET 2015


vlc/vlc-2.2 | branch: master | Fabrizio Ge <fabrizio.ge at tiscali.it> | Wed Jan 14 07:42:19 2015 +0200| [58bfd793ea65be776f3d311fe5c8a9d52ca420d7] | committer: Jean-Baptiste Kempf

configure: fix libnsl test

Regression from 67531a989304442223d33da611b071083a4810bc.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 94b412529d1e2ee587930e720740294814666c85)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=58bfd793ea65be776f3d311fe5c8a9d52ca420d7
---

 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index fd4fecc..d7a9849 100644
--- a/configure.ac
+++ b/configure.ac
@@ -606,8 +606,8 @@ AC_SEARCH_LIBS(connect, [socket], [
 ])
 
 AC_SEARCH_LIBS([inet_pton], [nsl], [
- AS_IF([test "$ac_cv_search_getaddrinfo" != "none required"], [
-    SOCKET_LIBS="$ac_cv_search_getaddrinfo $SOCKET_LIBS"
+ AS_IF([test "$ac_cv_search_inet_pton" != "none required"], [
+    SOCKET_LIBS="$ac_cv_search_inet_pton $SOCKET_LIBS"
   ])
 ],, [${SOCKET_LIBS}])
 



More information about the vlc-commits mailing list