From c09182f61366f31609224765b36386bab84298b2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 3 Jun 2011 12:11:38 +1000 Subject: [PATCH] - (djm) [configure.ac] enable setproctitle emulation for OS X --- ChangeLog | 2 ++ configure.ac | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5a62dcc5..724bb4f1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ - (dtucker) [monitor.c] Remove the !HAVE_SOCKETPAIR case. We use socketpair unconditionally in other places and the survey data we have does not show any systems that use it. "nuke it" djm@ + - (djm) [configure.ac] enable setproctitle emulation for OS X + - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2011/06/03 00:54:38 [ssh.c] bz#1883 - setproctitle() to identify mux master; patch from Bert.Wesarg diff --git a/configure.ac b/configure.ac index 51dea41c1..8f36338ff 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.475 2011/06/03 01:17:49 tim Exp $ +# $Id: configure.ac,v 1.476 2011/06/03 02:11:38 djm Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) -AC_REVISION($Revision: 1.475 $) +AC_REVISION($Revision: 1.476 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -512,6 +512,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) AC_DEFINE([LASTLOG_WRITE_PUTUTXLINE], [1], [Define if pututxline updates lastlog too]) ) + AC_DEFINE([SPT_TYPE], [SPT_REUSEARGV], + [Define to a Set Process Title type if your system is + supported by bsd-setproctitle.c]) ;; *-*-dragonfly*) SSHDLIBS="$SSHDLIBS -lcrypt"