diff -u build-tools/auto-conf-lib/gnu-patch-test build-tools/auto-conf-lib/gnu-patch-test
--- build-tools/auto-conf-lib/gnu-patch-test	2005-03-16 10:11:34.700992000 +0100
+++ build-tools/auto-conf-lib/gnu-patch-test	2005-03-16 10:54:28.011230400 +0100
@@ -116,7 +116,7 @@
 
 
 FAIL=""
-if [ -x "`which "$PATCHPROG"  2>/dev/null`" ] ; then
+if [ -x "$PATCHPROG" -o -x "`which "$PATCHPROG"  2>/dev/null`" ] ; then
     
     testresults "$ORIG_A" "$PATCHED_A" "$EXPECTED_A" "$ORIG_PRISTINE_A" "$PATCH_A"
     testresults "$ORIG_B" "$PATCHED_B" "$EXPECTED_B" "$ORIG_PRISTINE_B" "$PATCH_B"
