>Trouble is that we then accumulate yet another Debian-only patch... Oh well.
Why wouldn't it be acceptable to upstream? > So something like > > # test functionality of the compiler > javac_works='not present' > if test -n "$JAVAC"; then > javac_works='not functional' > #rm -rf /tmp/A.java /tmp/A.class > tempdir=`mktemp -d` > echo "public class A { }" > ${tempdir}/A.java > if test -e ${tempdir}/A.java; then > if "${JAVAC}" ${tempdir}/A.java >/dev/null; then > if test -e ${tempdir}/A.class; then > javac_works=yes > fi > fi > fi > #rm -rf /tmp/A.java /tmp/A.class > rm -rf ${tempdir} > fi > > should do, right? Yes, that looks good. Thanks for working on this! Thijs
pgpkzFFoRqBj3.pgp
Description: PGP signature