fi; \
exit $$fail
-# complain about nonportable 64-bit printf format strings (%lld, %llu etc.)
-check-nonportable-int64-print-format:
+# complain about nonportable printf format strings (%lld, %llu, %zu etc.)
+check-nonportable-print-format:
@fail=0 ; \
- loc=`find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]'`; \
+ loc=`find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'`; \
if test "x$$loc" != "x"; then \
echo "Please fix the following print format strings:" ; \
- find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]'; \
+ find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'; \
fail=1; \
fi; \
exit $$fail