From f02f75d1f1ae52aa8d69b21a54537c36e743c7f0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 10 Oct 2020 13:32:23 +0300 Subject: [PATCH] Just give up with setproctitle on Illumos Their ps tools go out of their way to only show how it was launched :/ --- configure | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 60381cf2..72b133c1 100755 --- a/configure +++ b/configure @@ -968,8 +968,17 @@ EOF rm -f _setproctitle.c _setproctitle fi if [ "$SETPROCTITLE" = no ]; then - echo "COMPAT_SRCS+= compat/setproctitle.c" >>$CONFIG_MK - echo "#include \"compat/setproctitle.h\"" >>$CONFIG_H + case "$OS" in + solaris*|sunos*) + echo "$OS has no support for setting process title" + echo "#define setproctitle(...)" >>$CONFIG_H + ;; + *) + echo "COMPAT_SRCS+= compat/setproctitle.c" >>$CONFIG_MK + echo "#include \"compat/setproctitle.h\"" \ + >>$CONFIG_H + ;; + esac fi if [ -z "$STRLCPY" ]; then