summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-09-13 16:45:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-09-13 16:45:11 +0000
commitf820d0ac236f6953e7bd5d115775a8751837ef4f (patch)
tree46099eb18548525e22c20ddd8b82ace532d898c8 /syslogd.c
parentdb8c41e2d5ba00d0c67dd6a3faa9816eaa377b32 (diff)
downloadrsyslog-f820d0ac236f6953e7bd5d115775a8751837ef4f.tar.gz
rsyslog-f820d0ac236f6953e7bd5d115775a8751837ef4f.tar.xz
rsyslog-f820d0ac236f6953e7bd5d115775a8751837ef4f.zip
fixed probem with my regex merge; added compile time option output to -v
option display
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c10
1 files changed, 10 insertions, 0 deletions
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: