# HG changeset patch # User Roy Marples # Date 1602325943 -10800 # Node ID 5cf306bf405822dcc22d70ee65f536a158d55f8b # Parent 1dd90b630d035a4f5c60b4590bd77374b29dab65 Just give up with setproctitle on Illumos Their ps tools go out of their way to only show how it was launched :/ diff -r 1dd90b630d03 -r 5cf306bf4058 configure --- a/configure Fri Oct 09 20:38:48 2020 +0100 +++ b/configure Sat Oct 10 13:32:23 2020 +0300 @@ -968,8 +968,17 @@ 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