$NetBSD: patch-aa,v 1.2 2004/10/30 03:30:08 xtraeme Exp $

--- configure.orig	2004-10-30 05:27:20.000000000 +0200
+++ configure	2004-10-30 05:28:26.000000000 +0200
@@ -20725,7 +20725,7 @@
 # Set things up for different OS's
 # We define the name of the OS so the code can act accordingly
 # We also need to add the right LDFLAGS
-case $host_os in
+case $build_os in
 solaris2.[6-7])
 
 for ac_header in kstat.h
@@ -21190,7 +21190,7 @@
 _ACEOF
 
 	;;
-netbsdelf2*)
+netbsdelf2*|netbsdelf*)
 
 cat >>confdefs.h <<\_ACEOF
 #define ALLBSD
