# HG changeset patch # User Mikael Berthe # Date 1268503728 -3600 # Node ID 6e856c5858c34c1df4bcc2118908357c86ddadfa # Parent 5b497046df4010b4c85c3a98e4cfe717bfa4e449 Display module API version with mcabber -V diff -r 5b497046df40 -r 6e856c5858c3 mcabber/mcabber/main.c --- 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