Changeset 134:bd1928f24016 in mediastreamer2


Ignore:
Timestamp:
Nov 1, 2008 1:06:57 PM (5 years ago)
Author:
aymeric <aymeric@…>
Branch:
default
Message:

detect speex_resample availability

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@137 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/mediastreamer2/configure.ac

    r94 r134  
    315315) 
    316316PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6, build_speex=yes) 
     317build_resample=false 
    317318PKG_CHECK_MODULES(SPEEXDSP, speexdsp >= 1.2beta3, 
    318     [SPEEX_LIBS="$SPEEX_LIBS $SPEEXDSP_LIBS"], [ 
    319         AC_MSG_NOTICE([No speexdsp library found.]) 
     319    [SPEEX_LIBS="$SPEEX_LIBS $SPEEXDSP_LIBS" 
     320    build_resample=yes] , 
     321    [AC_MSG_NOTICE([No speexdsp library found.]) 
    320322] 
    321323) 
     
    323325AC_SUBST(SPEEX_LIBS) 
    324326AM_CONDITIONAL(BUILD_SPEEX, test x$build_speex = xyes ) 
     327AM_CONDITIONAL(BUILD_RESAMPLE, test x$build_resample = xyes ) 
    325328 
    326329dnl check for gsm 
     
    341344fi 
    342345AM_CONDITIONAL(BUILD_GSM, test x$build_gsm = xyes ) 
    343  
    344 build_resample=false 
    345 AC_CHECK_LIB(resample,resample_open,[LIBS="$LIBS -lresample"; build_resample=yes]) 
    346 AM_CONDITIONAL(BUILD_RESAMPLE, test x$build_resample = xyes ) 
    347346 
    348347MS_CHECK_VIDEO 
Note: See TracChangeset for help on using the changeset viewer.