Ignore:
Timestamp:
Jan 3, 2014 3:44:05 AM (10 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-darwinos.mak

    r2601 r4701  
    7979endif 
    8080 
     81# 
     82# Resample 
     83# 
     84AC_PJMEDIA_RESAMPLE=libresample 
     85 
     86ifeq ($(AC_PJMEDIA_RESAMPLE),none) 
     87# No resample support 
     88export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_NONE 
     89endif 
     90 
     91ifeq ($(AC_PJMEDIA_RESAMPLE),libresample) 
     92export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBRESAMPLE 
     93endif 
     94 
     95ifeq ($(AC_PJMEDIA_RESAMPLE),libsamplerate) 
     96export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBSAMPLERATE 
     97endif 
     98 
     99ifeq ($(AC_PJMEDIA_RESAMPLE),speex) 
     100export CFLAGS += -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_SPEEX 
     101endif 
     102 
     103# 
     104# SRTP 
     105# 
     106#ifeq (@ac_external_srtp@,1) 
     107ifeq (0,1) 
     108# External SRTP 
     109export CFLAGS += -DPJMEDIA_EXTERNAL_SRTP=1 
     110else 
     111# Our SRTP in third_party 
     112export CFLAGS += -I$(THIRD_PARTY)/build/srtp \ 
     113         -I$(THIRD_PARTY)/srtp/crypto/include \ 
     114         -I$(THIRD_PARTY)/srtp/include 
     115 
     116endif 
    81117 
    82118# 
Note: See TracChangeset for help on using the changeset viewer.