Skip to content

Commit 645ef42

Browse files
ralfbrownTurboGit
authored andcommitted
add OSMGpsMap to compile options display
Investigation of #18739 pointed out that, while the map view is an optional feature (depending on the presence of OSMGpsMap), there is no mention of its status in the Compile Options output when darktable is started with --version. This commit addresses that oversight.
1 parent 0277e8f commit 645ef42

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/common/darktable.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ char *version = g_strdup_printf(
788788
#ifdef HAVE_OPENCL
789789
" OpenCL -> ENABLED\n"
790790
#else
791-
" OpenCL -> DISABLED\n"
791+
" OpenCL -> DISABLED - GPU acceleration is NOT available\n"
792792
#endif
793793

794794
#ifdef USE_LUA
@@ -806,9 +806,15 @@ char *version = g_strdup_printf(
806806
#ifdef HAVE_GPHOTO2
807807
" gPhoto2 -> ENABLED\n"
808808
#else
809-
" gPhoto2 -> DISABLED\n"
809+
" gPhoto2 -> DISABLED - tethering is NOT available\n"
810810
#endif
811811

812+
#ifdef HAVE_MAP
813+
" OSMGpsMap -> ENABLED - map view is available\n"
814+
#else
815+
" OSMGpsMap -> DISABLED - map view is NOT available\n"
816+
#endif
817+
812818
#ifdef HAVE_GMIC
813819
" GMIC -> ENABLED - Compressed LUTs are supported\n"
814820
#else

0 commit comments

Comments
 (0)