Changeset 3726

Show
Ignore:
Timestamp:
2008-10-10 04:46:07 (2 months ago)
Author:
j
Message:

only enable pulse if choosen via --with-pulse, the backend is not fully working

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libsydneyaudio/trunk/configure.ac

    r3723 r3726  
    9090AC_SUBST(ALSA_LIBS) 
    9191 
    92 dnl 
    93 dnl  Detect pulseaudio 
    94 dnl 
    95 PKG_CHECK_MODULES(PULSE, libpulse, HAVE_PULSE=yes, HAVE_PULSE=no) 
     92 
     93dnl 
     94dnl  pulseaudio backend configure option and detect 
     95dnl 
     96AC_ARG_WITH(pulse, 
     97[  --with-pulse            Use Pulseaudio backend], 
     98[ case "$withval" in 
     99  no) 
     100    HAVE_PULSE=no 
     101    ;; 
     102  *) 
     103    PKG_CHECK_MODULES(PULSE, libpulse, HAVE_PULSE=yes, HAVE_PULSE=no) 
     104    ;; 
     105  esac] 
     106
    96107AC_SUBST(PULSE_CFLAGS) 
    97108AC_SUBST(PULSE_LIBS) 
     
    111122dnl 
    112123AC_ARG_WITH(alsa, 
    113 [  --with-alsa   Use ALSA audio backend], 
     124[  --with-alsa             Use ALSA audio backend], 
    114125[ case "$withval" in 
    115126  no) 
     
    127138AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS=yes, HAVE_OSS=no) 
    128139AC_ARG_WITH(oss, 
    129 [  --with-oss   Use OSS audio backend], 
     140[  --with-oss              Use OSS audio backend], 
    130141[ case "$withval" in 
    131142  no)