changeset 1764:6e856c5858c3

Display module API version with mcabber -V
author Mikael Berthe <mikael@lilotux.net>
date Sat, 13 Mar 2010 19:08:48 +0100
parents 5b497046df40
children 0852b90babf8
files mcabber/mcabber/main.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/main.c	Sat Mar 13 19:51:54 2010 +0200
+++ b/mcabber/mcabber/main.c	Sat Mar 13 19:08:48 2010 +0100
@@ -174,9 +174,10 @@
   puts("Compiled with unicode support.");
 #endif
 #ifdef MODULES_ENABLE
-  puts ("Compiled with modules support.");
+  printf("Compiled with modules support. (API %s:%d-%d)\n",
+         MCABBER_BRANCH, MCABBER_API_MIN, MCABBER_API_VERSION);
 # ifdef PKGLIB_DIR
-  puts ("Modules directory: " PKGLIB_DIR);
+  puts("Modules directory: " PKGLIB_DIR);
 # endif
 #endif
 #ifdef HAVE_GPGME