]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-gethostbyname_is_in_libc_aka_no_libnsl.patch
- patch for lookup for gethostbyname() is in libc fist and if no after this
[packages/stunnel.git] / stunnel-gethostbyname_is_in_libc_aka_no_libnsl.patch
1 diff -Nru stunnel-3.8/configure.in stunnel-3.8.new/configure.in
2 --- stunnel-3.8/configure.in    Mon Aug 21 19:47:21 2000
3 +++ stunnel-3.8.new/configure.in        Mon Aug 21 19:49:04 2000
4 @@ -74,7 +74,8 @@
5  AC_DEFINE_UNQUOTED(HOST, "$host")
6  
7  dnl Checks for standard libraries.
8 -AC_CHECK_LIB(nsl, gethostbyname)
9 +AC_CHECK_FUNC(gethostbyname, ,
10 +       AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl",) ) 
11  AC_CHECK_LIB(socket, socket)
12  AC_CHECK_LIB(pthread, pthread_create)
13  AC_CHECK_LIB(c_r, pthread_create)
This page took 0.056351 seconds and 4 git commands to generate.