- if test @includedir@ != /usr/include ; then
- if test @includedir@ != /usr/include/c++ ; then
- includes=-I@includedir@
- fi
+ if test "@includedir@" != "/usr/include" \
+ -a "@includedir@" != "/usr/include/c++" \
+ -a \( "${cross_compiling}" != "yes" \
+ -o "@includedir@" != "/usr/${target}/include" \) ;
+ then
+ includes=-I@includedir@
+ fi
+
+ includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes"
+
+ if test $static_flag = yes ; then
+ echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@
+ else
+ echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @TOOLCHAIN_DLL_DEFS@ @WXCONFIG_INCLUDE@