diff options
| author | Roy Marples <roy@marples.name> | 2019-10-14 21:49:31 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-10-14 21:49:31 +0100 |
| commit | f12658df3e0e0f89169d0615037012169dc63e58 (patch) | |
| tree | a6d49ce6ca83b969686594e98fed2d9499cd0e21 /configure | |
| parent | 8419bbd5b6e3709854d2cff977729f28ed84bf4a (diff) | |
| download | dhcpcd-f12658df3e0e0f89169d0615037012169dc63e58.tar.xz | |
compat: Add setproctitle from LXC
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -818,8 +818,9 @@ EOF echo "$SETPROCTITLE" rm -f _setproctitle.c _setproctitle fi -if [ "$SETPROCTITLE" = yes ]; then - echo "#define HAVE_SETPROCTITLE" >>$CONFIG_H +if [ "$SETPROCTITLE" = no ]; then + echo "COMPAT_SRCS+= compat/setproctitle.c" >>$CONFIG_MK + echo "#include \"compat/setproctitle.h\"" >>$CONFIG_H fi if [ -z "$STRLCPY" ]; then |
