$NetBSD: patch-ab,v 1.4 2004/09/30 10:53:20 agc Exp $

--- configure.in.orig	2003-08-13 06:59:34.000000000 +0100
+++ configure.in	2004-09-30 08:36:53.000000000 +0100
@@ -131,6 +131,8 @@
     powerpc-apple-darwin*) $2=ppc-darwin-egcs ;;
     mips-sgi-irix*) $2=mips-irix-gcc ;;
     i*86-*-netbsd*) $2=x86-netbsd-gcc ;;
+    ppc-*-netbsd*) $2=ppc-netbsd-gcc ;;
+    sparc-*-netbsd*) $2=sparc-netbsd-gcc ;;
     *) $2=unknown-unix ;;
 esac])
 
@@ -1079,8 +1081,10 @@
 # in and of itself) and configure tries to create the *.dylan files before
 # we build our buildroot tree causing things to flame out horribly.
 AC_OUTPUT(Defaults gwydion-dylan.spec mindy/comp/Makefile mindy/interp/Makefile mindy/compat/Makefile mindy/etc/Makefile mindy/etc/generate-depends mindy/interp/make-init.pl tools/shared-misc/gen-makefile tools/shared-misc/mk-build-tree tools/shared-misc/line-count tools/shared-misc/make-dylan-app tools/shared-misc/make-dylan-lib tools/shared-misc/update-libdirs tools/unix-misc/mk-rcs-links doc/Makefile doc/dylan.7 doc/gwydion.7 doc/d2c.1 doc/dybug.1 doc/mindy.1 doc/mindycomp.1 doc/mindyexec.1 doc/melange.1 doc/parsergen.1 doc/make-dylan-app.1 doc/gobject-tool.1 doc/platforms.descr.4,
-	 [${INSTALL} -m uog+rx $buildroot/tools/shared-misc/mk-build-tree ./
-	  ${INSTALL} -m uog+rx $buildroot/tools/shared-misc/gen-makefile ./
+	 [cp $buildroot/tools/shared-misc/mk-build-tree ./
+	  cp $buildroot/tools/shared-misc/gen-makefile ./
+	  chmod uog+rx ./mk-build-tree
+	  chmod uog+rx ./gen-makefile
 	  (PATH=$buildroot:$PATH; export PATH; perl mk-build-tree -p$srcdir/d2c/compiler/platforms.descr)
 	  touch $buildroot/force.timestamp
 	  ], [
