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
parent
329752517c
commit
0c3301f0b1
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue