summaryrefslogtreecommitdiff
path: root/audio/alsa-plugins/files/patch-configure
blob: 619bbad8c4b430f6475d4d6549aedd4dc3a33352 (plain) (blame)
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
--- configure.orig	2016-03-31 13:14:07 UTC
+++ configure
@@ -12402,21 +12402,22 @@ else
 $as_echo "yes" >&6; }
 	HAVE_SPEEXDSP="yes"
 fi
- if test "$HAVE_SPEEXDSP" = "yes"; then
-  HAVE_SPEEXDSP_TRUE=
-  HAVE_SPEEXDSP_FALSE='#'
-else
-  HAVE_SPEEXDSP_TRUE='#'
-  HAVE_SPEEXDSP_FALSE=
-fi
 
 
-
 # Check whether --with-speex was given.
 if test "${with_speex+set}" = set; then :
   withval=$with_speex; PPH=$withval
 else
   PPH="lib"
+fi
+
+
+ if test "$HAVE_SPEEXDSP" = "yes" -a "$PPH" != "no"; then
+  HAVE_SPEEXDSP_TRUE=
+  HAVE_SPEEXDSP_FALSE='#'
+else
+  HAVE_SPEEXDSP_TRUE='#'
+  HAVE_SPEEXDSP_FALSE=
 fi