Ignore:
Timestamp:
Jan 30, 2014 4:33:27 AM (10 years ago)
Author:
nanang
Message:

Close #1730: Added srtp_deinit()/shutdown() detection for external SRTP in configure script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r4721 r4723  
    549549    ) 
    550550 
     551dnl # For external SRTP, check availability of srtp_deinit() or srtp_shutdown() 
     552if test "x$ac_external_srtp" = "x1"; then 
     553        AC_SUBST(ac_srtp_deinit_present,0) 
     554        AC_SUBST(ac_srtp_shutdown_present,0) 
     555        AC_CHECK_LIB(srtp,srtp_deinit,[ac_srtp_deinit_present=1]) 
     556        if test "x$ac_srtp_deinit_present" != "x1"; then 
     557                AC_CHECK_LIB(srtp,srtp_shutdown,[ac_srtp_shutdown_present=1]) 
     558        fi 
     559fi 
    551560 
    552561dnl # Resample implementation 
Note: See TracChangeset for help on using the changeset viewer.