$NetBSD: patch-ag,v 1.1 2001/03/20 09:57:37 wiz Exp $

--- src/plugins/sun/Makefile.am.orig	Mon Mar 19 19:34:19 2001
+++ src/plugins/sun/Makefile.am
@@ -0,0 +1,27 @@
+## Process this file with automake to produce Makefile.in
+
+AUTOMAKE_OPTIONS = foreign
+
+if HAVE_SUN_AUDIO
+
+sunltlibs = libsun.la
+sunldflags = -export-dynamic -avoid-version
+sunsources = ao_sun.c
+
+else
+
+sunltlibs =
+sunldflags =
+sunsources =
+
+endif
+
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include
+
+libdir = $(plugindir)
+lib_LTLIBRARIES = $(sunltlibs)
+
+libsun_la_LDFLAGS = $(sunldflags)
+libsun_la_SOURCES = $(sunsources)
+
+EXTRA_DIST = ao_sun.c
