diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-02-06 12:29:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-02-06 12:29:25 -0500 |
commit | ca18e25525267736e7e919987c50569f27d70d36 (patch) | |
tree | 0234a364c86ef4e1a8f256e7c5ddf01e0759c785 /miscutils/Config.src | |
parent | fbea22056014a05a0c6619eb458d4955869b5e93 (diff) | |
download | busybox-w32-ca18e25525267736e7e919987c50569f27d70d36.tar.gz busybox-w32-ca18e25525267736e7e919987c50569f27d70d36.tar.bz2 busybox-w32-ca18e25525267736e7e919987c50569f27d70d36.zip |
runlevel/wall: depend on utmp feature
These utils use funcs from utmp.h (like setutent), but utmp.h is only
included when FEATURE_UTMP is enabled. Otherwise we get build failures
due to missing defines/prototypes. So depend on this option.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'miscutils/Config.src')
-rw-r--r-- | miscutils/Config.src | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/Config.src b/miscutils/Config.src index da52e14c6..b5866bbd7 100644 --- a/miscutils/Config.src +++ b/miscutils/Config.src | |||
@@ -583,6 +583,7 @@ config RFKILL | |||
583 | config RUNLEVEL | 583 | config RUNLEVEL |
584 | bool "runlevel" | 584 | bool "runlevel" |
585 | default y | 585 | default y |
586 | depends on FEATURE_UTMP | ||
586 | help | 587 | help |
587 | find the current and previous system runlevel. | 588 | find the current and previous system runlevel. |
588 | 589 | ||
@@ -658,6 +659,7 @@ config VOLNAME | |||
658 | config WALL | 659 | config WALL |
659 | bool "wall" | 660 | bool "wall" |
660 | default y | 661 | default y |
662 | depends on FEATURE_UTMP | ||
661 | help | 663 | help |
662 | Write a message to all users that are logged in. | 664 | Write a message to all users that are logged in. |
663 | 665 | ||