Changeset 5414 for pjproject/trunk/aconfigure
- Timestamp:
- Aug 8, 2016 11:19:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5412 r5414 7954 7954 7955 7955 # Check if SRTP should be compiled with OpenSSL 7956 # support, to enable cryptos such as AES GCM AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) 7956 # support, to enable cryptos such as AES GCM 7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_gcm in -lssl" >&5 7958 $as_echo_n "checking for EVP_aes_128_gcm in -lssl... " >&6; } 7959 if ${ac_cv_lib_ssl_EVP_aes_128_gcm+:} false; then : 7960 $as_echo_n "(cached) " >&6 7961 else 7962 ac_check_lib_save_LIBS=$LIBS 7963 LIBS="-lssl $LIBS" 7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7965 /* end confdefs.h. */ 7966 7967 /* Override any GCC internal prototype to avoid an error. 7968 Use char because int might match the return type of a GCC 7969 builtin and then its argument prototype would still apply. */ 7970 #ifdef __cplusplus 7971 extern "C" 7972 #endif 7973 char EVP_aes_128_gcm (); 7974 int 7975 main () 7976 { 7977 return EVP_aes_128_gcm (); 7978 ; 7979 return 0; 7980 } 7981 _ACEOF 7982 if ac_fn_c_try_link "$LINENO"; then : 7983 ac_cv_lib_ssl_EVP_aes_128_gcm=yes 7984 else 7985 ac_cv_lib_ssl_EVP_aes_128_gcm=no 7986 fi 7987 rm -f core conftest.err conftest.$ac_objext \ 7988 conftest$ac_exeext conftest.$ac_ext 7989 LIBS=$ac_check_lib_save_LIBS 7990 fi 7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_EVP_aes_128_gcm" >&5 7992 $as_echo "$ac_cv_lib_ssl_EVP_aes_128_gcm" >&6; } 7993 if test "x$ac_cv_lib_ssl_EVP_aes_128_gcm" = xyes; then : 7994 ac_ssl_has_aes_gcm=1 7995 fi 7996 7957 7997 if test "x$ac_ssl_has_aes_gcm" = "x1"; then 7958 7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL has AES GCM support, SRTP will use OpenSSl version" >&5
Note: See TracChangeset
for help on using the changeset viewer.