summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-28 15:10:24 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-17 14:56:07 +0200
commit0c3301f0b1b516942be735291ee798914f3d9a09 (patch)
tree29c1046b38a754f740fd74d67999636cf9cce002 /configure
parent329752517c387d782b6496ca8217364c61777834 (diff)
configure: make pulseaudio and alsa configurable options
Allows disabling pulseaudio and alsa support at configure time making builds more deterministic. Change-Id: I4f1719cf831458b1d5ad3ebc01f6782b897d392c Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Kalle Viironen <kalle.viironen@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 67a5a4b537..55d68efc9c 100755
--- a/configure
+++ b/configure
@@ -1805,6 +1805,20 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ pulseaudio)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_PULSEAUDIO="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+ alsa)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_ALSA="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
gtkstyle)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_QGTKSTYLE="$VAL"
@@ -2369,6 +2383,12 @@ Third Party Libraries:
-no-glib ........... Do not compile Glib support.
+ -glib .............. Compile Glib support.
+ -no-pulseaudio ..... Do not compile PulseAudio support.
+ + -pulseaudio ........ Compile PulseAudio support.
+
+ -no-alsa ........... Do not compile ALSA support.
+ + -alsa .............. Compile ALSA support.
+
Additional options:
-make <part> ....... Add part to the list of parts to be built at make time.