comparison mcabber/mcabber/main.c @ 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 38103f4213c0
children e4378fbab5d7
comparison
equal deleted inserted replaced
1763:5b497046df40 1764:6e856c5858c3
172 puts("Installation data directory: " DATA_DIR "\n"); 172 puts("Installation data directory: " DATA_DIR "\n");
173 #ifdef HAVE_UNICODE 173 #ifdef HAVE_UNICODE
174 puts("Compiled with unicode support."); 174 puts("Compiled with unicode support.");
175 #endif 175 #endif
176 #ifdef MODULES_ENABLE 176 #ifdef MODULES_ENABLE
177 puts ("Compiled with modules support."); 177 printf("Compiled with modules support. (API %s:%d-%d)\n",
178 MCABBER_BRANCH, MCABBER_API_MIN, MCABBER_API_VERSION);
178 # ifdef PKGLIB_DIR 179 # ifdef PKGLIB_DIR
179 puts ("Modules directory: " PKGLIB_DIR); 180 puts("Modules directory: " PKGLIB_DIR);
180 # endif 181 # endif
181 #endif 182 #endif
182 #ifdef HAVE_GPGME 183 #ifdef HAVE_GPGME
183 puts("Compiled with GPG support."); 184 puts("Compiled with GPG support.");
184 #endif 185 #endif