Commit d250ccb4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

feh -v: Show compiletime switches

parent 85c63fc9
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -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);
}