Commit c2b1baa3 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: alsa is enabled by default.

parent 36b84104
...@@ -3122,8 +3122,8 @@ dnl ...@@ -3122,8 +3122,8 @@ dnl
dnl ALSA module dnl ALSA module
dnl dnl
AC_ARG_ENABLE(alsa, AC_ARG_ENABLE(alsa,
[ --enable-alsa ALSA sound support for Linux (default disabled)], [ --enable-alsa ALSA sound support for Linux (default enabled)],
[if test "${enable_alsa}" = "yes" [if test "${enable_alsa}" != "no"
then then
AC_CHECK_HEADER(alsa/asoundlib.h, AC_CHECK_LIB(asound, main, have_alsa="true", have_alsa="false"),have_alsa="false") AC_CHECK_HEADER(alsa/asoundlib.h, AC_CHECK_LIB(asound, main, have_alsa="true", have_alsa="false"),have_alsa="false")
if test "${have_alsa}" = "true" if test "${have_alsa}" = "true"
...@@ -3136,8 +3136,10 @@ AC_ARG_ENABLE(alsa, ...@@ -3136,8 +3136,10 @@ AC_ARG_ENABLE(alsa,
VLC_ADD_PLUGINS([alsa]) VLC_ADD_PLUGINS([alsa])
VLC_ADD_LDFLAGS([alsa],[-lasound -lm -ldl]) VLC_ADD_LDFLAGS([alsa],[-lasound -lm -ldl])
else else
if test "${enable_alsa}" = "yes"; then
AC_MSG_ERROR([Could not find ALSA development headers]) AC_MSG_ERROR([Could not find ALSA development headers])
fi fi
fi
fi]) fi])
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment