From eb13ebcbf7cdab27d102edf6af4aa5762cff7295 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 24 Jun 2008 20:25:42 +0200 Subject: [PATCH] version: print compilation options Signed-off-by: Julien Danjou --- common/version.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/version.c b/common/version.c index 38f3f527..e145f1a5 100644 --- a/common/version.c +++ b/common/version.c @@ -47,6 +47,18 @@ eprint_version(const char *const executable) __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); #endif printf(" (%s@%s)\n", AWESOME_COMPILE_BY, AWESOME_COMPILE_HOSTNAME); + printf("* Image drawing engine: "); +#ifdef WITH_IMLIB2 + printf("Imlib2\n"); +#else + printf("GdkPixBuf\n"); +#endif + printf("* DBus support: "); +#ifdef WITH_DBUS + printf("enabled\n"); +#else + printf("disabled\n"); +#endif exit(EXIT_SUCCESS); }