Currently we at MacPorts are patching the tests to run glibtoolize
instead of libtoolize.
It looks like the test suite supports variables for most of the
programs used. In t/ax/test-defs.in, there are assignments like this:
YACC=${AM_TESTSUITE_YACC-${YACC-'@YACC@'}}
and then in t/ax/am-test-lib.sh it is checked when a test sets required=
to include the program, as in:
yacc)
test x"$YACC" = x"false" && skip_all_ "yacc not found or disabled"
export YACC
;;
And then the test.sh scripts use $YACC.
It seems like something like this could/should be done for libtool and
strip also. Kamila, wdyt? --thanks, karl.