print "/* Generated automatically from cf.data.pre"
print " * DO NOT EDIT"
print "*/"
+ print "#include \"config.h\""
print "static struct { const char *name; const char *enable; int defined;} defines[] = {"
define["DELAY_POOLS"]="--enable-delay-pools"
define["FOLLOW_X_FORWARDED_FOR"]="--enable-follow-x-forwarded-for"
for f in `cd ${dir} && ls -1 *.h 2>/dev/null`; do
echo -n "Testing ${dir}/${f} ..."
- if [ "${f}" = "cf_gen_defines.h" -o "${f}" = "cf_parser.h" ]; then
- echo " IGNORED!"
- continue
- fi
hdr=`echo "${f}" | sed s/.h//`
- if [ ! -e ./testHeaderDeps_${hdr}.o -o ${dir}/${f} -nt ./testHeaderDeps_${hdr}.o ]
- then
+ if [ ! -e ./testHeaderDeps_${hdr}.o -o ${dir}/${f} -nt ./testHeaderDeps_${hdr}.o ]; then
( echo "/* This file is AUTOMATICALLY GENERATED. DO NOT ALTER IT */"
echo "#include \"${dir}/${f}\" "
echo "int main( int argc, char* argv[] ) { return 0; } "