]> git.pld-linux.org Git - packages/openssh.git/blob - openssh-no_libnsl.patch
- do not use libnsl on linux (also not check for libsocket).
[packages/openssh.git] / openssh-no_libnsl.patch
1 diff -Nru openssh-2.1.1p4/configure.in openssh-2.1.1p4.new/configure.in
2 --- openssh-2.1.1p4/configure.in        Wed Aug 23 00:34:43 2000
3 +++ openssh-2.1.1p4.new/configure.in    Wed Aug 23 00:37:23 2000
4 @@ -103,6 +103,8 @@
5         AC_DEFINE(DONT_TRY_OTHER_AF)
6         AC_DEFINE(PAM_TTY_KLUDGE)
7         inet6_default_4in6=yes
8 +       no_libnsl=1
9 +       no_libsocket=1
10         ;;
11  *-*-netbsd*)
12         need_dash_r=1
13 @@ -208,9 +210,6 @@
14  AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
15  AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
16  
17 -if test -z "$no_libsocket" ; then
18 -       AC_CHECK_LIB(nsl, yp_match, , )
19 -fi
20  if test -z "$no_libnsl" ; then
21         AC_CHECK_LIB(socket, main, , )
22  fi
This page took 0.028818 seconds and 4 git commands to generate.