]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh-no_libnsl.patch
- added ac_fix patch
[packages/openssh.git] / openssh-no_libnsl.patch
index b46d0641dae479f3cf69e53be175b721905dad5f..e45344c0b8069b23b634cfc43b8c8b047e415cad 100644 (file)
@@ -1,22 +1,22 @@
-diff -Nru openssh-2.1.1p4/configure.in openssh-2.1.1p4.new/configure.in
---- openssh-2.1.1p4/configure.in       Wed Aug 23 00:34:43 2000
-+++ openssh-2.1.1p4.new/configure.in   Wed Aug 23 00:37:23 2000
-@@ -103,6 +103,8 @@
-       AC_DEFINE(DONT_TRY_OTHER_AF)
-       AC_DEFINE(PAM_TTY_KLUDGE)
+diff -urN openssh-3.0p1.orig/configure.ac openssh-3.0p1/configure.ac
+--- openssh-3.0p1.orig/configure.ac    Sat Nov  3 20:09:33 2001
++++ openssh-3.0p1/configure.ac Wed Nov  7 16:22:54 2001
+@@ -123,6 +123,8 @@
+       AC_DEFINE(LOCKED_PASSWD_PREFIX, "!!")
+       AC_DEFINE(SPT_TYPE,SPT_REUSEARGV)
        inet6_default_4in6=yes
 +      no_libnsl=1
 +      no_libsocket=1
-       ;;
- *-*-netbsd*)
-       need_dash_r=1
-@@ -208,9 +210,6 @@
- AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
- AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
+       case `uname -r` in
+       1.*|2.0.*)
+               AC_DEFINE(BROKEN_CMSG_TYPE)
+--- openssh-3.2.3p1/configure.ac.orig  Sat May 25 13:02:18 2002
++++ openssh-3.2.3p1/configure.ac       Sat May 25 13:14:58 2002
+@@ -360,7 +359,6 @@
+       util.h utime.h utmp.h utmpx.h)
  
--if test -z "$no_libsocket" ; then
--      AC_CHECK_LIB(nsl, yp_match, , )
--fi
- if test -z "$no_libnsl" ; then
-       AC_CHECK_LIB(socket, main, , )
- fi
+ # Checks for libraries.
+-AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
+ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
+ dnl SCO OS3 needs this for libwrap
This page took 0.031413 seconds and 4 git commands to generate.