File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ function buildSDL() {
235235 CXXFLAGS="${CXXFLAGS} -fno-rtti -std=c++14"
236236
237237 dnl preconfigured values for SDL build
238+ AC_DEFINE_UNQUOTED ( [ _SDL_VERSION] , [ "`sdl2-config --version` "] , [ SDL library version] )
238239 AC_DEFINE ( _SDL , 1 , [ Defined when building SDL version] )
239240 AC_DEFINE ( _UnixOS , 1 , [ Building under Unix like systems.] )
240241 AC_DEFINE ( IMPL_DEV_READ , 1 , [ Implement dev_read()] )
@@ -416,6 +417,7 @@ function buildFLTK() {
416417 defaultConditionals
417418
418419 dnl preconfigured values for FLTK build
420+ AC_DEFINE_UNQUOTED ( [ _FLTK_VERSION] , [ "`fltk-config --version` "] , [ FLTK library version] )
419421 AC_DEFINE ( _UnixOS , 1 , [ Building under Unix like systems.] )
420422 AC_DEFINE ( _FLTK , 1 , [ Defined for FLTK build.] )
421423 AC_DEFINE ( IMPL_DEV_READ , 1 , [ Implement dev_read()] )
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ extern "C" {
7272
7373// SB's constants
7474#if defined(_SDL )
75- #define SB_STR_VER VERSION " SDL " SB_VERSYS SB_BIT_SZ BUILD_DATE
75+ #define SB_STR_VER VERSION " SDL " _SDL_VERSION SB_VERSYS SB_BIT_SZ BUILD_DATE
7676#elif defined (_ANDROID )
7777 #define SB_STR_VER VERSION " Android " BUILD_DATE
7878#elif defined (_FLTK )
79- #define SB_STR_VER VERSION " FLTK " BUILD_DATE
79+ #define SB_STR_VER VERSION " FLTK " _FLTK_VERSION SB_VERSYS SB_BIT_SZ BUILD_DATE
8080#elif defined (_EMCC )
8181 #define SB_STR_VER VERSION " Emscripten " BUILD_DATE
8282#else
You can’t perform that action at this time.
0 commit comments