- (djm) Swapped tests for no_libsocket and no_libnsl in configure.in.

Patch from Marek Michalkiewicz <marekm@amelek.gda.pl>
This commit is contained in:
Damien Miller 2001-02-18 12:49:57 +11:00
parent 99e924357e
commit 22d5aa7553
2 changed files with 6 additions and 4 deletions

View File

@ -12,6 +12,8 @@
- (djm) Use ttyname() to determine name of tty returned by openpty()
rather then risking overflow. Patch from Marek Michalkiewicz
<marekm@amelek.gda.pl>
- (djm) Swapped tests for no_libsocket and no_libnsl in configure.in.
Patch from Marek Michalkiewicz <marekm@amelek.gda.pl>
20010217
- (bal) OpenBSD Sync:
@ -4019,4 +4021,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.788 2001/02/18 01:49:35 djm Exp $
$Id: ChangeLog,v 1.789 2001/02/18 01:49:57 djm Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.243 2001/02/16 01:12:41 djm Exp $
# $Id: configure.in,v 1.244 2001/02/18 01:49:57 djm Exp $
AC_INIT(ssh.c)
@ -317,10 +317,10 @@ AC_ARG_WITH(pcre,
)
# Checks for libraries.
if test -z "$no_libsocket" ; then
if test -z "$no_libnsl" ; then
AC_CHECK_LIB(nsl, yp_match, , )
fi
if test -z "$no_libnsl" ; then
if test -z "$no_libsocket" ; then
AC_CHECK_LIB(socket, main, , )
fi