diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-02-16 18:46:34 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-02-16 18:46:34 +0100 |
commit | d250ccb421c1bcf978b26606b5ae9713d9a1e649 (patch) | |
tree | da8d7e4772dfdfa72f8626ea2ef5cc76d1f82a36 | |
parent | 85c63fc98b44a25330032dd55add65341966412c (diff) |
feh -v: Show compiletime switches
-rw-r--r-- | src/options.c | 18 |
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); } |