Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: jobs -Z example?
- X-seq: zsh-users 13939
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: jobs -Z example?
- Date: Sun, 15 Mar 2009 21:43:34 -0700
- In-reply-to: <090315210822.ZM15704@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090315182446.60806.qmail@xxxxxxxxxxx> <090315124749.ZM5277@xxxxxxxxxxxxxxxxxxxxxx> <20090315204950.89255.qmail@xxxxxxxxxxx> <090315140753.ZM5405@xxxxxxxxxxxxxxxxxxxxxx> <20090315214114.34032.qmail@xxxxxxxxxxx> <090315150857.ZM5564@xxxxxxxxxxxxxxxxxxxxxx> <20090315221317.60584.qmail@xxxxxxxxxxx> <20090316020755.GF24875@xxxxxxxxxxxxxxxx> <090315210822.ZM15704@xxxxxxxxxxxxxxxxxxxxxx>
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 -------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author