Show
Ignore:
Timestamp:
02/21/08 11:08:28 (10 months ago)
Author:
jpgrayson
Message:

- Partial patch for NetBSD support
-- Add configure-time test for libossaudio library.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/branches/v19-devel/configure.in

    r1336 r1350  
    9090AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no) 
    9191AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm) 
     92AC_CHECK_LIB(ossaudio, _oss_ioctl, have_libossaudio=yes, have_libossaudio=no) 
    9293 
    9394dnl Determine the host description for the subsequent test. 
     
    314315        if [[ $with_oss != "no" ]] ; then 
    315316           OTHER_OBJS="$OTHER_OBJS src/hostapi/oss/pa_unix_oss.o" 
     317           if [[ $have_libossaudio = "yes" ]] ; then 
     318                   DLL_LIBS="$DLL_LIBS -lossaudio" 
     319                   LIBS="$LIBS -lossaudio" 
     320           fi       
    316321           AC_DEFINE(PA_USE_OSS) 
    317322        fi