Ignore:
Timestamp:
Jan 3, 2014 3:44:05 AM (11 years ago)
Author:
nanang
Message:

Close #1720:

  • Added configure flags --with-external-srtp and --disable-resample.
  • Added macro setting PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT to allow application to handle libsrtp init & deinit by itself.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/build/os-auto.mak.in

    r4635 r4701  
    130130 
    131131# 
     132# SRTP 
     133# 
     134ifeq (@ac_external_srtp@,1) 
     135# External SRTP 
     136export CFLAGS += -DPJMEDIA_EXTERNAL_SRTP=1 
     137else 
     138# Our SRTP in third_party 
     139export CFLAGS += -I$(THIRD_PARTY)/build/srtp \ 
     140         -I$(THIRD_PARTY)/srtp/crypto/include \ 
     141         -I$(THIRD_PARTY)/srtp/include 
     142 
     143endif 
     144 
     145# 
     146# Resample 
     147# 
     148AC_PJMEDIA_RESAMPLE=@ac_pjmedia_resample@ 
     149 
     150ifeq ($(AC_PJMEDIA_RESAMPLE),none) 
     151# No resample support 
     152export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_NONE 
     153endif 
     154 
     155ifeq ($(AC_PJMEDIA_RESAMPLE),libresample) 
     156export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBRESAMPLE 
     157endif 
     158 
     159ifeq ($(AC_PJMEDIA_RESAMPLE),libsamplerate) 
     160export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBSAMPLERATE 
     161endif 
     162 
     163ifeq ($(AC_PJMEDIA_RESAMPLE),speex) 
     164export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_SPEEX 
     165endif 
     166 
     167# 
    132168# PortAudio 
    133169# 
Note: See TracChangeset for help on using the changeset viewer.