$NetBSD: patch-ab,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $ --- configure.orig Tue Sep 15 01:19:16 1998 +++ configure Sun Jan 31 12:45:05 1999 @@ -9,9 +9,9 @@ # Defaults: ac_help= -ac_default_prefix=/usr/local +ac_default_prefix=${PREFIX} # Any additions from configure.in: -ac_default_prefix=/usr +ac_default_prefix=${PREFIX} # Initialize some variables set by options. # The variables have the same names as the options, with @@ -1363,7 +1363,7 @@ done for ac_hdr in sys/ioctl.h linux/soundcard.h machine/soundcard.h \ - sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \ + soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \ audio.h dmedia/audio.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` @@ -1826,6 +1826,13 @@ $CP console/audio/sparc/* console echo "$ac_t""sparc" 1>&6 + ;; + *netbsd*) cat >> confdefs.h <<\EOF +#define HAVE_NETBSD 1 +EOF + + $CP console/audio/linux/* console + echo "$ac_t""linux" 1>&6 ;; esac