4 exec_prefix
=@exec_prefix@
9 cross_compiling
=@cross_compiling@
15 Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
16 [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags] [--rezflags]
19 wx-config returns configuration information about the installed
20 version of wxWindows. It may be used to query its version and
21 installation directories and also retrieve the C and C++ compilers
22 and linker which were used for its building and the corresponding
31 if test "@includedir@" != "/usr/include" \
32 -a "@includedir@" != "/usr/include/c++" \
33 -a \
( "${cross_compiling}" != "yes" \
34 -o "@includedir@" != "/usr/${target}/include" \
) ;
36 includes
=-I@includedir@
38 includes
="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes"
39 echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@
42 if test $# -eq 0; then
46 while test $# -gt 0; do
48 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
55 if test $exec_prefix_set = no
; then
70 echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
76 echo `cppflags` @CODE_GEN_FLAGS@
79 echo `cppflags` @CODE_GEN_FLAGS@ @CODE_GEN_FLAGS_CXX@
82 echo @LIBWXMACRESWXCONFIG@
85 if test "@libdir@" != "/usr/lib" \
86 -a \
( "${cross_compiling}" != "yes" \
87 -o "@libdir@" != "/usr/${target}/lib" \
) ;
91 echo $libs @WXCONFIG_LIBS@ @EXTRA_LIBS@
94 echo @WXCONFIG_LIBS_GL@