$NetBSD: patch-ac,v 1.3 2003/09/23 14:44:44 salo Exp $

--- configure.orig	1994-11-06 04:44:17.000000000 +0100
+++ configure	2003-09-23 16:11:15.000000000 +0200
@@ -610,7 +610,7 @@
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
-set dummy ${MAKE-make}; ac_make=$2
+set dummy `basename ${MAKE-make}`; ac_make=$2
 if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&4
 else
