X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e602dae828e1f522c3142d15d6449f89dda33340..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 324c24a5fa..278aa06a63 100644 --- a/build/bakefiles/wxpresets/presets/wx_unix.bkl +++ b/build/bakefiles/wxpresets/presets/wx_unix.bkl @@ -8,34 +8,20 @@ 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). --> - - - - - - - auto - - - @@ -50,8 +36,9 @@ 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/')