fi
me=$(basename $0)
-path=${0%%/$me}
-current=$(pwd) # current path
+current=$(pwd)/${0%%/$me} # current path
-#gccxmloutput="$current/$gccxmloutput"
+gccxmloutput="$current/$gccxmloutput"
cd @top_srcdir@/include # go to wx include folder
done
# filter the configure flags to pass to gccxml
-flags="@CXXFLAGS@"
+wx_top_builddir="@wx_top_builddir@"
+top_srcdir="@top_srcdir@"
+flags="@CPPFLAGS@ @CXXFLAGS@"
# NOTE: it's important to define __WXDEBUG__ because some functions of wx
# are declared (and thus parsed by gcc) only if that symbol is defined.
exit
fi
-# FIX for IFACECHECK
-# ==================
-
-# these fixes are needed to avoid false warnings/errors by ifacecheck
-
-if [[ "@TOOLKIT@" == "GTK" ]]; then
- sed -i -e 's/default="wxBITMAP_TYPE_XPM"/default="wxBITMAP_DEFAULT_TYPE"/g' $gccxmloutput
-fi
-
# cleanup
rm $allheaders