$OpenBSD: patch-ext_Makefile_am,v 1.2 2009/11/29 09:17:38 ajacoutot Exp $
--- ext/Makefile.am.orig	Mon Nov 23 18:22:40 2009
+++ ext/Makefile.am	Mon Nov 23 18:23:16 2009
@@ -76,6 +76,12 @@ else
 LIBPNG_DIR =
 endif
 
+if USE_LIBSNDIO
+LIBSNDIO_DIR = libsndio
+else
+LIBSNDIO_DIR =
+endif
+
 # if USE_MIKMOD
 # MIKMOD_DIR = mikmod
 # else
@@ -140,6 +146,7 @@ SUBDIRS = \
 	$(LIBDV_DIR) \
 	$(LIBMNG_DIR) \
 	$(LIBPNG_DIR) \
+	$(LIBSNDIO_DIR) \
 	$(MIKMOD_DIR) \
 	$(PULSE_DIR) \
 	$(SHOUT2_DIR) \
@@ -162,6 +169,7 @@ DIST_SUBDIRS = \
 	ladspa \
 	libcaca \
 	libpng \
+	libsndio \
 	pulse \
 	raw1394 \
 	shout2 \
