Tomi Ollila <tomi.ollila@iki.fi> writes:
> %.tar.xz:
> - wget -nv -O $@ ${TEST_DATABASE_MIRROR}/$(notdir $@);
> + @exec 1>&2 ;: consistently write everything to stderr... ;\
> + if hash wget 2>/dev/null ;\
> + then set -x; wget -nv -O $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
> + elif hash curl 2>/dev/null ;\
> + then set -x; curl -s -o $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
> + else echo Cannot fetch databases, no wget nor curl available; exit 1 ;\
> + fi
Is this maybe a job for configure?
d