build-sys: add --enable-w-from build option
Some distributions apparently want to have w command to print FROM field by default. Reported-by: Jaromir Capik <jcapik@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
c8b820d04f
commit
6d42a58200
@ -156,6 +156,14 @@ if test "x$enable_oomem" = xyes; then
|
||||
AC_DEFINE(OOMEM_ENABLE, 1, [add out-of-memory fields to the library and top])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([w-from],
|
||||
AS_HELP_STRING([--enable-w-from], [enable w from field by default]),
|
||||
[], enable_w_from=no
|
||||
)
|
||||
if test "x$enable_w_from" = xyes; then
|
||||
AC_DEFINE(W_SHOWFROM, 1, [enable w from field by default])
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
proc/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user