summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-16 18:46:34 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-16 18:46:34 +0100
commitd250ccb421c1bcf978b26606b5ae9713d9a1e649 (patch)
treeda8d7e4772dfdfa72f8626ea2ef5cc76d1f82a36 /src
parent85c63fc98b44a25330032dd55add65341966412c (diff)
feh -v: Show compiletime switches
Diffstat (limited to 'src')
-rw-r--r--src/options.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index caa9aa4..bbef6ef 100644
--- a/src/options.c
+++ b/src/options.c
@@ -849,7 +849,23 @@ static void check_options(void)
static void show_version(void)
{
- printf(PACKAGE " version " VERSION "\n");
+ puts(PACKAGE " version " VERSION);
+ puts("Compile-time switches: "
+
+#ifdef HAVE_LIBCURL
+ "curl "
+#endif
+
+#ifdef DEBUG
+ "debug "
+#endif
+
+#ifdef HAVE_LIBXINERAMA
+ "xinerama "
+#endif
+
+ );
+
exit(0);
}