summaryrefslogtreecommitdiff
blob: e95f38ceb5366a431b7ca99515cd19b28cdd0769 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- exscalibar-1.0.4/configure	2005-11-14 14:49:26.000000000 +0100
+++ exscalibar-1.0.4-patch/configure	2006-02-13 20:30:01.545152000 +0100
@@ -18,7 +18,7 @@
 echo "BUILD_ROOT = " $PWD >> ./global.pro
 
 pkg-config --atleast-version 0.90.0 jack
-if (( $? && ! "0$HAVE_JACK" )) ; then
+if (( ( $? && ! "0$HAVE_JACK" ) || "0$DISABLE_JACK" )) ; then
 	echo "Jack not detected."
 	echo "If installed, please set \$HAVE_JACK to 1 and rerun."
 	echo CONFIG -= jack >> global.pro
@@ -30,7 +30,7 @@
 fi
 
 pkg-config --atleast-version 1.0.0 sndfile
-if (( $? && ! "0$HAVE_SNDFILE" )) ; then
+if (( ( $? && ! "0$HAVE_SNDFILE" ) || "0$DISABLE_SNDFILE" )) ; then
 	echo "sndfile not detected."
 	echo "If installed, please set \$HAVE_SNDFILE to 1 and rerun."
 	echo CONFIG -= sndfile >> global.pro
@@ -42,7 +42,7 @@
 fi
 
 pkg-config --atleast-version 0.9 alsa
-if (( $? && ! "0$HAVE_ALSA" )) ; then
+if (( ( $? && ! "0$HAVE_ALSA" ) || "0$DISABLE_ALSA" )) ; then
 	echo "Alsa not detected."
 	echo "If installed, please set \$HAVE_ALSA to 1 and rerun."
 	echo CONFIG -= alsa >> global.pro
@@ -54,7 +54,7 @@
 fi
 
 pkg-config --atleast-version 1.0.0 vorbisfile
-if (( $? && ! "0$HAVE_VORBSIFILE" )) ; then
+if (( ( $? && ! "0$HAVE_VORBSIFILE" ) || "0$DISABLE_VORBISFILE" )) ; then
 	echo "libvorbisfile not detected."
 	echo "If installed, please set \$HAVE_VORBISFILE to 1 and rerun."
 	echo CONFIG -= vorbisfile >> global.pro
@@ -66,7 +66,7 @@
 fi
 
 pkg-config --atleast-version 0.15 mad
-if (( $? && ! "0$HAVE_MAD" )) ; then
+if (( ( $? && ! "0$HAVE_MAD" ) || "0$DISABLE_MAD" )) ; then
 	echo "libmad not detected."
 	echo "If installed, please set \$HAVE_MAD to 1 and rerun."
 	echo CONFIG -= mad >> global.pro
@@ -78,7 +78,7 @@
 fi
 
 pkg-config --atleast-version 3.0.0 fftw3f
-if (( $? && ! "0$HAVE_FFTW3" )) ; then
+if (( ( $? && ! "0$HAVE_FFTW3" ) || "0$DISABLE_FFTW3" )) ; then
 	echo "FFTW not detected."
 	echo "If installed, please set \$HAVE_FFTW3 to 1 and rerun."
 	echo CONFIG -= fftw >> global.pro