pidof: reimplemented from scratch (replacing sysvinit pidof)
As the sysvinit becomes obsolete, some of the bundled tools need to find a new home. The procps-ng project seems to be the most suitable project for adopting the pidof tool. This commit introduces a redesigned version of pidof that satisfies the LSB requirements. In corner cases the behaviour might differ from the former one as the new version doesn't use any stat(2) calls.
This commit is contained in:
@ -168,6 +168,12 @@ else
|
||||
fi
|
||||
|
||||
# AC_ARG_ENABLEs
|
||||
AC_ARG_ENABLE([pidof],
|
||||
AS_HELP_STRING([--disable-pidof], [do not build pidof]),
|
||||
[], [enable_pidof=yes]
|
||||
)
|
||||
AM_CONDITIONAL(BUILD_PIDOF, test "x$enable_pidof" = xyes)
|
||||
|
||||
AC_ARG_ENABLE([kill],
|
||||
AS_HELP_STRING([--disable-kill], [do not build kill]),
|
||||
[], [enable_kill=yes]
|
||||
|
Reference in New Issue
Block a user