X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e606c822972f940a8829d7c618a41b825474fa7b..56bcdffdc3bd8a3021979b47728c1b04d04f5cf7:/build/bakefiles/wxpresets/presets/wx_unix.bkl diff --git a/build/bakefiles/wxpresets/presets/wx_unix.bkl b/build/bakefiles/wxpresets/presets/wx_unix.bkl index 6cc4a5e0eb..278aa06a63 100644 --- a/build/bakefiles/wxpresets/presets/wx_unix.bkl +++ b/build/bakefiles/wxpresets/presets/wx_unix.bkl @@ -8,12 +8,14 @@ See wx.bkl for platform-independent notes. Format-specific notes: * autoconf: - Beware that you have to use AM_OPTIONS_WXCONFIG and - AM_PATH_WXCONFIG in your configure.in to get at least the + Beware that you have to use WX_CONFIG_OPTIONS and + WX_CONFIG_CHECK in your configure.in to get at least the WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS option values defined. + To detect the WX_* option values typically you also want to use - the AM_WXPRESETS_OPTIONS and AM_WXPRESETS_CHECKS macros - (see wxpresets.m4 for more info). + the WX_STANDARD_OPTIONS, WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS, + WX_CONFIG_CHECK and finally WX_DETECT_STANDARD_OPTION_VALUES macros + (see wxwin.m4 for more info). --> @@ -48,7 +50,7 @@ Format-specific notes: thus we can now add WX_LIBS to the linker line --> $(WX_LIBS) - + Unknown wxWidgets library given in the wx-lib tag @@ -65,7 +67,6 @@ Format-specific notes: of the WX_* options in wx.bkl --> - @@ -76,10 +77,10 @@ Format-specific notes: - $(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 1) + $(DOLLAR)(shell $(WX_CONFIG) --query-toolkit) - $(DOLLAR)(shell if test -z `$(WX_CONFIG) --selected-config | cut -d '-' -f 5`; then echo 1; else echo 0; fi) + $(DOLLAR)(shell if test -z `$(WX_CONFIG) --query-linkage`; then echo 1; else echo 0; fi) - $(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 2 | sed 's/unicode/1/;s/ansi/0/') + $(DOLLAR)(shell $(WX_CONFIG) --query-chartype | sed 's/unicode/1/;s/ansi/0/') - - $(DOLLAR)(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 3 | sed 's/debug/1/;s/release/0/') - - - - $(DOLLAR)(shell $(WX_CONFIG) --selected-config | sed -e 's/.*-\([0-9]*\)\.\([0-9]*\)$$/\1\2/') + $(DOLLAR)(shell $(WX_CONFIG) --query-version | sed -e 's/\([0-9]*\)\.\([0-9]*\)/\1\2/')