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>
bb10
Paul Eggleton 2012-02-28 15:10:24 +00:00 committed by The Qt Project
parent 329752517c
commit 0c3301f0b1
1 changed files with 20 additions and 0 deletions

20
configure vendored
View File

@ -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.