( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
test -z "$NO_CURL" && test_set_prereq LIBCURL
test -z "$NO_GITWEB" && test_set_prereq GITWEB
-test -z "$NO_ICONV" && test_set_prereq ICONV
test -z "$NO_PERL" && test_set_prereq PERL
test -z "$NO_PTHREADS" && test_set_prereq PTHREADS
test -z "$NO_PYTHON" && test_set_prereq PYTHON
test -n "$GIT_VALGRIND_ENABLED" && test_set_prereq VALGRIND
test -n "$PERL_PATH" && test_set_prereq PERL_TEST_HELPERS
+test_lazy_prereq ICONV '
+ # We require Git to be built with iconv support, and we require the
+ # iconv binary to exist.
+ #
+ # NEEDSWORK: We might eventually want to split this up into two
+ # prerequisites: one for NO_ICONV, and one for the iconv(1) binary, as
+ # some tests only depend on either of these.
+ test -z "$NO_ICONV" &&
+ iconv -f utf8 -t utf8 </dev/null
+'
+
if test -z "$GIT_TEST_CHECK_CACHE_TREE"
then
GIT_TEST_CHECK_CACHE_TREE=true