[Makefile] Amend checks for horrible msys environment.

automake-1.8 requires $(EXEEXT) for TESTS and feeds lt-check-*.c to
check-cairoint.h. Workaround both misfeatures.
This commit is contained in:
Chris Wilson 2008-09-16 01:09:45 +01:00
parent 7880ddd101
commit 87094e8c78
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ TESTS_SH = \
TESTS += $(TESTS_SH)
if CROSS_COMPILING
else
TESTS += check-link
TESTS += check-link$(EXEEXT)
endif
EXTRA_DIST += $(TESTS_SH) check-has-hidden-symbols.c

View file

@ -7,7 +7,7 @@ stat=0
echo 'Checking source files for missing or misplaced #include "cairoint.h"'
find "$srcdir" \( -name '*.c' -or -name '*.cpp' \) -and ! -name 'check-*.c' |
find "$srcdir" \( -name '*.c' -or -name '*.cpp' \) -and ! \( -name 'check-*.c' -or -name 'lt-check-*.c' \) |
while read x; do
grep '\<include\>' "$x" /dev/null | head -n 1
done |