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-win32.mak

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