1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
diff -ur alsa-utils-1.0.17.orig/configure.in alsa-utils-1.0.17/configure.in
--- alsa-utils-1.0.17.orig/configure.in 2008-07-30 21:44:32.000000000 -0400
+++ alsa-utils-1.0.17/configure.in 2008-07-30 21:45:45.000000000 -0400
@@ -102,6 +102,18 @@
TESTSOUND="$dir/test.wav")
AC_SUBST(TESTSOUND)
+AC_ARG_ENABLE([sequencer],
+ [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] )
+
+if test "x$enable_sequencer" != "xno"; then
+ AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no])
+fi
+if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then
+ AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support])
+fi
+
+AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"])
+
AM_CONFIG_HEADER(include/aconfig.h)
dnl Checks for typedefs, structures, and compiler characteristics.
Only in alsa-utils-1.0.17: configure.in.orig
diff -ur alsa-utils-1.0.17.orig/Makefile.am alsa-utils-1.0.17/Makefile.am
--- alsa-utils-1.0.17.orig/Makefile.am 2008-07-30 21:44:32.000000000 -0400
+++ alsa-utils-1.0.17/Makefile.am 2008-07-30 21:47:04.000000000 -0400
@@ -4,7 +4,12 @@
else
ALSAMIXER_DIR=
endif
-SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po
+
+if BUILD_SEQ
+SEQ_DIR=seq
+endif
+
+SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po
EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure gitcompile depcomp
AUTOMAKE_OPTIONS=foreign
ACLOCAL_AMFLAGS = -I m4
|