4 exec_prefix
=@exec_prefix@
13 Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
14 [--libs] [--cppflags] [--cflags] [--cxxflags]
17 wx-config returns configuration information about the installed
18 version of wxWindows. It may be used to query its version and
19 installation directories and also retrieve the C and C++ compilers
20 and linker which were used for its building and the corresponding
29 if test @includedir@
!= /usr
/include
; then
30 if test @includedir@
!= /usr
/include
/c
++ ; then
31 includes
=-I@includedir@
34 includes
="$includes -I@libdir@/wx/include -D__USE_WXCONFIG__"
35 echo $includes @WXDEBUG_DEFINE@ @TOOLKIT_DEF@ @WXCONFIG_INCLUDE@
38 if test $# -eq 0; then
42 while test $# -gt 0; do
44 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
51 if test $exec_prefix_set = no
; then
66 echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
72 echo `cppflags` @CODE_GEN_FLAGS@
75 echo `cppflags` @CODE_GEN_FLAGS@ @CODE_GEN_FLAGS_CXX@
78 if test @libdir@
!= /usr
/lib
; then
81 echo $libs -l@WX_LIBRARY@ @EXTRA_LIBS@