+usage()
+{
+ cat <<EOF
+Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
+ [--libs] [--gl-libs] [--cppflags] [--cflags] [--cxxflags] [--rezflags]
+ [--cc] [--cxx] [--ld]
+
+wx-config returns configuration information about the installed
+version of wxWindows. It may be used to query its version and
+installation directories and also retrieve the C and C++ compilers
+and linker which were used for its building and the corresponding
+flags.
+EOF
+
+ exit $1
+}
+
+cppflags()
+{
+ if test "${cross_compiling}" != "yes" \
+ -a @includedir@ != /usr/include \
+ -a @includedir@ != /usr/include/c++ ;
+ then
+ includes=-I@includedir@
+ fi
+ includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes"
+ echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@
+}