Ignore:
Timestamp:
Mar 12, 2008 10:44:24 PM (16 years ago)
Author:
bennylp
Message:

Ticket #511: Add --disable-oss option to disable OSS in configure script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r1783 r1863  
    380380        ;; 
    381381  *) 
     382        dnl # Check if ALSA is available 
    382383        ac_pjmedia_snd=pa_unix 
    383384        AC_CHECK_HEADER(alsa/version.h, 
     
    387388                        [AC_SUBST(ac_pa_use_alsa,0)]) 
    388389        AC_MSG_RESULT([Checking sound device backend... unix]) 
     390 
     391        dnl # Check if OSS is disabled 
     392        AC_SUBST(ac_pa_use_oss,1) 
     393        AC_ARG_ENABLE(oss, 
     394                      AC_HELP_STRING([--disable-oss], 
     395                                     [Disable OSS audio (default: not disabled)]) 
     396                      , 
     397                      [ 
     398                        if test "$enable_oss" = "no"; then 
     399                         [ac_pa_use_oss=0] 
     400                         AC_MSG_RESULT([Checking if OSS audio is disabled... yes]) 
     401                        fi 
     402                      ]) 
    389403        ;; 
    390404 esac 
Note: See TracChangeset for help on using the changeset viewer.