check-header-compile.in revision 6ecb8d1f9ab820b5110e9ec5291524499a1f8193
# Check that each .h file has all the includes it needs.
# Probably requires gnu find (for -printf '%P\n').
# This script hereby placed into the public domain.
set -e
cd "$mydir"
srcdir="@srcdir@"
CXX="@CXX@"
INCLUDES="@GNOME_VFS_CFLAGS@ @POPPLER_GLIB_CFLAGS@ @INKSCAPE_CFLAGS@"
OBJEXT="@OBJEXT@"
config_h_dir=..
}
if [ $# = 0 ]; then
\! -name test-helpers.h \
\! -name PylogFormatter.h \
\! -name TRPIFormatter.h \
do
check_compile "$i"
done
else
for i in "$@"; do
check_compile "$i"
done
fi