configure: Add --disable-w
Some systems implement utmp as a stub so it doesn't make sense to have a non-functioning w. This change mitigates #193 and !126 References: procps-ng/procps!129 procps-ng/procps!126 procps-ng/procps#193
This commit is contained in:
committed by
Craig Small
parent
c082779769
commit
71764980c3
@@ -243,6 +243,12 @@ AC_ARG_ENABLE([kill],
|
||||
[], [enable_kill=yes]
|
||||
)
|
||||
AM_CONDITIONAL(BUILD_KILL, test "x$enable_kill" = xyes)
|
||||
AC_ARG_ENABLE([w],
|
||||
AS_HELP_STRING([--disable-w], [do not build w]),
|
||||
[], [enable_w=yes]
|
||||
)
|
||||
AM_CONDITIONAL(BUILD_W, test "x$enable_w" = xyes)
|
||||
|
||||
AM_CONDITIONAL(LINUX, test "x$host_os" = xlinux-gnu)
|
||||
AM_CONDITIONAL(CYGWIN, test "x$host_os" = xcygwin)
|
||||
|
||||
|
Reference in New Issue
Block a user