]> git.pld-linux.org Git - packages/gftp.git/blob - gftp-no_libnsl.patch
- updated to 2.0.11 (bugfixes)
[packages/gftp.git] / gftp-no_libnsl.patch
1 --- gftp-2.0.9/configure.in~    Sat Nov 24 05:58:59 2001
2 +++ gftp-2.0.9/configure.in     Sat Nov 24 05:58:59 2001
3 @@ -57,7 +57,9 @@
4  if test "x$enable_textport" = "x1" ; then
5    AC_CHECK_LIB(socket, socket, EXTRA_LIBS="-lsocket")
6    
7 -  AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
8 +  AC_CHECK_FUNC(gethostbyname, [],
9 +    AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
10 +  )
11  
12    AC_CHECK_FUNC(gethostbyname, [],
13      AC_CHECK_LIB(nsl, gethostbyname, EXTRA_LIBS="$EXTRA_LIBS -lnsl")
This page took 0.126018 seconds and 3 git commands to generate.