From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16698 invoked from network); 16 Mar 2009 04:46:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,URIBL_SBL autolearn=no version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Mar 2009 04:46:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 60399 invoked from network); 16 Mar 2009 04:44:14 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Mar 2009 04:44:14 -0000 Received: (qmail 27760 invoked by alias); 16 Mar 2009 04:43:59 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13939 Received: (qmail 27744 invoked from network); 16 Mar 2009 04:43:58 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Mar 2009 04:43:58 -0000 Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by bifrost.dotsrc.org (Postfix) with ESMTP id 143A180307F8 for ; Mon, 16 Mar 2009 05:43:55 +0100 (CET) Received: from torch.brasslantern.com ([96.249.201.13]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGL007OV14N0UPM@vms173019.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 15 Mar 2009 23:43:40 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n2G4hYVl001338 for ; Sun, 15 Mar 2009 21:43:35 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n2G4hYW8001337 for zsh-users@sunsite.dk; Sun, 15 Mar 2009 21:43:34 -0700 From: Bart Schaefer Message-id: <090315214334.ZM1336@torch.brasslantern.com> Date: Sun, 15 Mar 2009 21:43:34 -0700 In-reply-to: <090315210822.ZM15704@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: jobs -Z example?" (Mar 15, 9:08pm) References: <20090315182446.60806.qmail@smasher.org> <090315124749.ZM5277@torch.brasslantern.com> <20090315204950.89255.qmail@smasher.org> <090315140753.ZM5405@torch.brasslantern.com> <20090315214114.34032.qmail@smasher.org> <090315150857.ZM5564@torch.brasslantern.com> <20090315221317.60584.qmail@smasher.org> <20090316020755.GF24875@dan.emsphone.com> <090315210822.ZM15704@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@sunsite.dk Subject: Re: jobs -Z example? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.92.1/9111/Mon Mar 16 03:12:07 2009 on bifrost X-Virus-Status: Clean On Mar 15, 9:08pm, Bart Schaefer wrote: } } +AC_SEARCH_LIBS(setproctitle, util, AC_DEFINE(HAVE_SETPROCTITLE)) Actually the following is a bit more complete for configure.ac. (Ignore the "4.0" in the directory name, it's the same CVS sandbox I've been using for years and have never bothered to rename.) --- zsh-forge/current/configure.ac 2009-03-08 14:01:12.000000000 -0700 +++ zsh-4.0/configure.ac 2009-03-15 21:26:28.000000000 -0700 @@ -1885,6 +1885,12 @@ AC_DEFINE(USE_GETCWD) fi +dnl CHECK FOR setproctitle() FOR jobs -Z / ARGV0 +AH_TEMPLATE([HAVE_SETPROCTITLE], +[Define to 1 if the system supports `setproctitle' to change process name]) +AC_CHECK_FUNC(setproctitle,AC_DEFINE(HAVE_SETPROCTITLE), +AC_SEARCH_LIBS(setproctitle,util,AC_DEFINE(HAVE_SETPROCTITLE))) + dnl ------------- dnl CHECK FOR NIS dnl -------------