summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-07-05 11:26:28 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-07-05 11:26:28 +0000
commitdcf2284032430cb8422668c5bfff9cbfd44788ec (patch)
tree36fd0f0dd8e2fe8597e1f9fa68ac5a92af0d2c4c /src
parentfix a long-standing bug with Undo after Fit canvas to selection/drawing. (diff)
downloadinkscape-dcf2284032430cb8422668c5bfff9cbfd44788ec.tar.gz
inkscape-dcf2284032430cb8422668c5bfff9cbfd44788ec.zip
check-header-compile.in: Update list of needed CPPFLAGS.
Ignore dom/* headers for the moment. Updates to list of .h files that shouldn't be tested. (bzr r6166)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/check-header-compile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/check-header-compile.in b/src/check-header-compile.in
index 6d0e10789..ca9eb6a62 100755
--- a/src/check-header-compile.in
+++ b/src/check-header-compile.in
@@ -10,25 +10,32 @@ mydir=`dirname "$0"`
cd "$mydir"
srcdir="@srcdir@"
CXX="@CXX@"
-INKSCAPE_CFLAGS="@INKSCAPE_CFLAGS@"
+INCLUDES="@GNOME_VFS_CFLAGS@ @POPPLER_GLIB_CFLAGS@ @INKSCAPE_CFLAGS@"
OBJEXT="@OBJEXT@"
config_h_dir=..
check_compile () {
(echo "#include <config.h>"; echo "#include <$1>"; echo "int header_tst_dummy;") > header-tst.cpp
- $CXX -c -I. -I"$srcdir" -I$config_h_dir $INKSCAPE_CFLAGS header-tst.cpp
+ $CXX -c -I. -I"$srcdir" -I$config_h_dir $INCLUDES header-tst.cpp
}
if [ $# = 0 ]; then
for i in `find "$srcdir" \
-name bonobo -prune \
+ -o -name dom -prune \
-o -name ecma -prune \
-o -name render -prune \
-o -name xpath -prune \
-o -path '*/extension/script/js' -prune \
-o -name '*.h' \
- \! -name gnome.h \! -name win32.h \! -name nr-type-gnome.h \! -name nr-type-w32.h \! -name Livarot.h \! -name radial.h \
+ \! -name gnome.h \! -name nr-type-gnome.h \! -name Livarot.h \! -name radial.h \
\! -name '*-test.h' \
+ \! -name test-helpers.h \
+ \! -name PylogFormatter.h \
+ \! -name TRPIFormatter.h \
+ \! -name win32.h \
+ \! -name '*-w32.h' \
+ \! -name '*-win32.h' \
-printf '%P\n'`
do
check_compile "$i"