From f820d0ac236f6953e7bd5d115775a8751837ef4f Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 13 Sep 2005 16:45:11 +0000 Subject: fixed probem with my regex merge; added compile time option output to -v option display --- syslogd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 9ba767f3..4cdefd03 100644 --- a/syslogd.c +++ b/syslogd.c @@ -2325,6 +2325,16 @@ int main(argc, argv) break; case 'v': printf("rsyslogd %s.%s\n", VERSION, PATCHLEVEL); + printf("compiled with:\n"); +#ifdef FEATURE_REGEXP + printf("\tFEATURE_REGEXP\n"); +#endif +#ifdef WITH_DB + printf("\tFEATURE_DB\n"); +#endif +#ifndef NOLARGEFILE + printf("\tFEATURE_LARGEFILE\n"); +#endif exit(0); case '?': default: -- cgit