4 exec_prefix
=@exec_prefix@
9 cross_compiling
=@cross_compiling@
14 Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
15 [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags] [--rezflags]
18 wx-config returns configuration information about the installed
19 version of wxWindows. It may be used to query its version and
20 installation directories and also retrieve the C and C++ compilers
21 and linker which were used for its building and the corresponding
30 if test "${cross_compiling}" != "yes" \
31 -a @includedir@
!= /usr
/include \
32 -a @includedir@
!= /usr
/include
/c
++ ;
34 includes
=-I@includedir@
36 includes
="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes"
37 echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@
40 if test $# -eq 0; then
44 while test $# -gt 0; do
46 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
53 if test $exec_prefix_set = no
; then
68 echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
74 echo `cppflags` @CODE_GEN_FLAGS@
77 echo `cppflags` @CODE_GEN_FLAGS@ @CODE_GEN_FLAGS_CXX@
80 echo @LIBWXMACRESWXCONFIG@
83 if test "${cross_compiling}" != "yes" \
84 -a @libdir@
!= /usr
/lib
;
88 echo $libs @WXCONFIG_LIBS@ @EXTRA_LIBS@
91 echo @WXCONFIG_LIBS_GL@