From b68bf5c238ef32ed93eb8935c5b0288da5b3ad67 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 23 Dec 2012 02:21:53 +0200 Subject: frontend: fix pulseaudio, detect it in configure script --- configure | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index f55e9b6..eb859bf 100755 --- a/configure +++ b/configure @@ -36,7 +36,7 @@ platform_list="generic pandora maemo caanoo libretro" platform="generic" builtin_gpu_list="peops unai neon" builtin_gpu="" -sound_driver_list="oss alsa sdl pulseaudio libretro" +sound_driver_list="oss alsa pulseaudio sdl libretro" sound_drivers="" plugins="plugins/spunull/spunull.so \ plugins/dfxvideo/gpu_peops.so plugins/gpu_unai/gpu_unai.so" @@ -308,6 +308,15 @@ EOF compile_binary "$@" } +check_pulseaudio() +{ + cat > $TMPC < + void main() { pa_threaded_mainloop_new(); } +EOF + compile_binary "$@" +} + check_sdl() { cat > $TMPC <"; then + MAIN_LDLIBS="-lpulse $MAIN_LDLIBS" + check_pulseaudio || fail "pulseaudio support is missing" + fi fi if [ "$need_sdl" = "yes" ]; then -- cgit v1.2.3