summaryrefslogtreecommitdiff
blob: 01f2fda363f1d9b5d5ef75455d5056f6d68a97f9 (plain)
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
AM_CONDITIONAL should be always called unconditionally, or automake
conditionals make ./configure step fail.

Move AM_CONDITIONAL for include_ALSA in global scope.

See Gentoo Bug #115379.

Index: plugins/audiooutput/alsa/configure.in.in
===================================================================
--- plugins/audiooutput/alsa/configure.in.in	(revision 488109)
+++ plugins/audiooutput/alsa/configure.in.in	(revision 488116)
@@ -55,7 +55,6 @@
   fi
 
   AC_SUBST(LIBASOUND)
-  AM_CONDITIONAL(include_ALSA, [test "x$have_alsa_0_9" = xyes || test "x$have_alsa_1" = xyes])
 ])
 
 AC_ARG_WITH(alsa,
@@ -72,4 +71,6 @@
   fi
 fi
 
+AM_CONDITIONAL(include_ALSA, [test "x$have_alsa_0_9" = xyes || test "x$have_alsa_1" = xyes])
+
 dnl --------- ALSA CHECK END ---------------