aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wydawca.c')
-rw-r--r--src/wydawca.c14
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
@@ -319,31 +319,45 @@ wydawca_daemon ()
}
logmsg (LOG_NOTICE, _("daemon launched"));
}
check_pidfile ();
wydawca_listener ();
remove_pidfile ();
}
#include "cmdline.h"
+void
+version_hook (FILE *stream)
+{
+ printf ("Compiled with:");
+#ifdef WITH_LIBWRAP
+ printf (" libwrap");
+#endif
+#ifdef WITH_INOTIFY
+ printf (" inotify");
+#endif
+ putchar ('\n');
+}
+
int
main (int argc, char **argv)
{
struct grecs_node *tree;
const char *p;
program_name = argv[0];
+ print_version_hook = version_hook;
mu_register_all_mailer_formats ();
mu_stdstream_setup (MU_STDSTREAM_RESET_NONE);
config_init ();
x_argv = argv;
parse_options (argc, argv);
argv += optind;
argc -= optind;
p = gpgme_check_version ("1.1.0");
if (!p)

Return to:

Send suggestions and report system problems to the System administrator.