From 14e7096982b27fddd3c098dc09444b44bbed9cef Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 16 Mar 2009 05:20:36 +0000 Subject: users/13937, users/13939: configure.ac, Src/jobs.c: check for and if available use setproctitle() for "jobs -Z". --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 296172224..fb145ef3e 100644 --- a/configure.ac +++ b/configure.ac @@ -1885,6 +1885,12 @@ if test x$zsh_cv_use_getcwd = xyes; then 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 ------------- -- cgit 1.4.1