* Makefile (sc_prefer_ac_check_funcs_once): Don't run git grep
if .git directory is not present (e.g. in stable snapshot tarballs).
(cherry picked from commit
7ffc813d8166df4406a58ef0a0bd872dd65f60dc)
+2010-04-24 Ian Beckwith <ianb@erislabs.net>
+
+ make check: avoid an error when no .git dir present.
+ * Makefile (sc_prefer_ac_check_funcs_once): Don't run git grep
+ if .git directory is not present (e.g. in stable snapshot tarballs).
+
2010-04-24 Bruno Haible <bruno@clisp.org>
vasnprintf: Correct errno value in case of out-of-memory.
check: sc_prefer_ac_check_funcs_once
sc_prefer_ac_check_funcs_once:
+ [ -d .git ] && \
git grep -w -l AC_CHECK_FUNCS modules && \
{ echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/ 1>&2; \
exit 1; } || :