summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5e0b3fe0c0..1418f634d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2461,8 +2461,19 @@ EFL_LIB_START_OPTIONAL([Ecore_Audio], [test "${want_audio}" = "yes"])
2461 2461
2462### Additional options to configure 2462### Additional options to configure
2463 2463
2464# ALSA support is still not there, thus no option for it yet. 2464# ALSA support is not well tested, disable by default
2465want_alsa="no" 2465AC_ARG_ENABLE([alsa],
2466 [AC_HELP_STRING([--enable-alsa],
2467 [enable alsa sound support. @<:@default=enabled@:>@])],
2468 [
2469 if test "x${enableval}" = "xyes" ; then
2470 want_alsa="yes"
2471 else
2472 want_alsa="no"
2473 fi
2474 ],
2475 [want_alsa="no"])
2476
2466 2477
2467# sndfile is mandatory otherwise it won't read from/write to files. 2478# sndfile is mandatory otherwise it won't read from/write to files.
2468# TODO: if confirmed sndfile is mandatory, remove this variable 2479# TODO: if confirmed sndfile is mandatory, remove this variable
@@ -2520,6 +2531,7 @@ EFL_ADD_FEATURE([ECORE_AUDIO], [sndfile])
2520### Checks for library functions 2531### Checks for library functions
2521 2532
2522EFL_LIB_END_OPTIONAL([Ecore_Audio]) 2533EFL_LIB_END_OPTIONAL([Ecore_Audio])
2534AM_CONDITIONAL([HAVE_ECORE_AUDIO_ALSA], [test "x${want_alsa}" = "xyes"])
2523AM_CONDITIONAL([HAVE_ECORE_AUDIO_PULSE], [test "x${want_pulseaudio}" = "xyes"]) 2535AM_CONDITIONAL([HAVE_ECORE_AUDIO_PULSE], [test "x${want_pulseaudio}" = "xyes"])
2524AM_CONDITIONAL([HAVE_ECORE_AUDIO_SNDFILE], [test "x${want_sndfile}" = "xyes"]) 2536AM_CONDITIONAL([HAVE_ECORE_AUDIO_SNDFILE], [test "x${want_sndfile}" = "xyes"])
2525 2537