diff options
Diffstat (limited to 'src/wydawca.c')
-rw-r--r-- | src/wydawca.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wydawca.c b/src/wydawca.c index 69fb898..521d796 100644 --- a/src/wydawca.c +++ b/src/wydawca.c @@ -330,2 +330,15 @@ wydawca_daemon () +void +version_hook (FILE *stream) +{ + printf ("Compiled with:"); +#ifdef WITH_LIBWRAP + printf (" libwrap"); +#endif +#ifdef WITH_INOTIFY + printf (" inotify"); +#endif + putchar ('\n'); +} + int @@ -337,2 +350,3 @@ main (int argc, char **argv) program_name = argv[0]; + print_version_hook = version_hook; mu_register_all_mailer_formats (); |