Fix up the configuration rules and update Libc5 piece for Syslogd. (copied code from logread.c)
This commit is contained in:
parent
ee28362597
commit
087bc82bb0
@ -8,9 +8,14 @@ comment 'System Logging Utilities'
|
||||
|
||||
bool 'klogd' CONFIG_KLOGD
|
||||
bool 'logger' CONFIG_LOGGER
|
||||
bool 'logread' CONFIG_LOGREAD
|
||||
bool 'syslogd' CONFIG_SYSLOGD
|
||||
|
||||
if [ "$CONFIG_SYSLOGD" = "y" ] ; then
|
||||
bool ' Remote Log support ' CONFIG_FEATURE_REMOTE_LOG
|
||||
bool ' Circular Buffer support ' CONFIG_FEATURE_IPC_SYSLOG
|
||||
if [ "$CONFIG_FEATURE_IPC_SYSLOG" = "y" ] ; then
|
||||
bool ' logread ' CONFIG_LOGREAD
|
||||
fi
|
||||
fi
|
||||
|
||||
endmenu
|
||||
|
||||
|
@ -81,6 +81,12 @@ static int local_logging = FALSE;
|
||||
/* circular buffer variables/structures */
|
||||
#ifdef CONFIG_FEATURE_IPC_SYSLOG
|
||||
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
#error Sorry. Looks like you are using libc5.
|
||||
#error libc5 shm support isnt good enough.
|
||||
#error Please disable CONFIG_FEATURE_IPC_SYSLOG
|
||||
#endif
|
||||
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
Loading…
Reference in New Issue
Block a user