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
/* 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>