$NetBSD: patch-ah,v 1.1 1999/10/13 11:31:32 fredb Exp $ --- configure.orig Sat Sep 11 00:03:52 1999 +++ configure Tue Oct 12 06:32:50 1999 @@ -569,6 +569,41 @@ # Owen Taylor 97-11-3 +for ac_prog in gmake make +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:875: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_GMAKE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$GMAKE"; then + ac_cv_prog_GMAKE="$GMAKE" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_GMAKE="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +GMAKE="$ac_cv_prog_GMAKE" +if test -n "$GMAKE"; then + echo "$ac_t""$GMAKE" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +test -n "$GMAKE" && break +done +test -n "$GMAKE" || GMAKE="make" + PACKAGE=maketool @@ -3791,6 +3826,7 @@ s%@CC@%$CC%g s%@SET_MAKE@%$SET_MAKE%g s%@RANLIB@%$RANLIB%g +s%@GMAKE@%$GMAKE%g s%@CPP@%$CPP%g s%@ALLOCA@%$ALLOCA%g s%@USE_NLS@%$USE_NLS%g