summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2844c3d)
raw | patch | inline | side by side (parent: 2844c3d)
author | pjrm <pjrm@users.sourceforge.net> | |
Sat, 5 Jul 2008 11:26:28 +0000 (11:26 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Sat, 5 Jul 2008 11:26:28 +0000 (11:26 +0000) |
Ignore dom/* headers for the moment.
Updates to list of .h files that shouldn't be tested.
Updates to list of .h files that shouldn't be tested.
src/check-header-compile.in | patch | blob | history |
index 6d0e10789977ce888c6b2b69057f12cc0dbfae5c..ca9eb6a621c3f5c56a2d0c59d2b7c9713b493645 100755 (executable)
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"