Call for testing: OpenSSH-6.0

Damien Miller djm at mindrot.org
Tue Mar 13 14:42:17 EST 2012


On Fri, 9 Mar 2012, Dag-Erling Sm?rgrav wrote:

> Damien Miller <djm at mindrot.org> writes:
> > According to the manpages it does. Could you please try this?
> 
> If I apply the patch and run autoreconf, config.h.in no longer contains
> an entry for HAVE_OPENPTY, so although the configure script finds
> openpty() in libutil, it still tries to build bsd-compat/openpty.c.

okay, try this one please:

Index: configure.ac
===================================================================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.487
diff -u -p -r1.487 configure.ac
--- configure.ac	23 Feb 2012 23:40:43 -0000	1.487
+++ configure.ac	13 Mar 2012 03:41:46 -0000
@@ -1127,7 +1127,12 @@ dnl    Checks for libutil functions
 AC_CHECK_HEADERS([libutil.h])
 AC_SEARCH_LIBS([login], [util bsd], [AC_DEFINE([HAVE_LOGIN], [1],
 	[Define if your libraries define login()])])
-AC_CHECK_FUNCS([fmt_scaled logout updwtmp logwtmp])
+AC_SEARCH_LIBS([logout], [util])
+AC_SEARCH_LIBS([updwtmp], [util])
+AC_SEARCH_LIBS([logwtmp], [util])
+AC_SEARCH_LIBS([fmt_scaled], [util])
+AC_SEARCH_LIBS([openpty], [util])
+AC_CHECK_FUNCS([fmt_scaled logout updwtmp logwtmp openpty])
 
 AC_FUNC_STRFTIME
 
@@ -1507,7 +1512,6 @@ AC_CHECK_FUNCS([ \
 	nsleep \
 	ogetaddrinfo \
 	openlog_r \
-	openpty \
 	poll \
 	prctl \
 	pstat \


More information about the openssh-unix-dev mailing list