Changeset 5537 for pjproject/trunk/aconfigure
- Timestamp:
- Jan 23, 2017 3:34:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5517 r5537 756 756 oldincludedir 757 757 includedir 758 runstatedir759 758 localstatedir 760 759 sharedstatedir … … 879 878 sharedstatedir='${prefix}/com' 880 879 localstatedir='${prefix}/var' 881 runstatedir='${localstatedir}/run'882 880 includedir='${prefix}/include' 883 881 oldincludedir='/usr/include' … … 1132 1130 silent=yes ;; 1133 1131 1134 -runstatedir | --runstatedir | --runstatedi | --runstated \1135 | --runstate | --runstat | --runsta | --runst | --runs \1136 | --run | --ru | --r)1137 ac_prev=runstatedir ;;1138 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \1139 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \1140 | --run=* | --ru=* | --r=*)1141 runstatedir=$ac_optarg ;;1142 1143 1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1144 1133 ac_prev=sbindir ;; … … 1278 1267 datadir sysconfdir sharedstatedir localstatedir includedir \ 1279 1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1280 libdir localedir mandir runstatedir1269 libdir localedir mandir 1281 1270 do 1282 1271 eval ac_val=\$$ac_var … … 1431 1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1432 1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1433 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]1434 1422 --libdir=DIR object code libraries [EPREFIX/lib] 1435 1423 --includedir=DIR C header files [PREFIX/include] … … 7866 7854 fi 7867 7855 7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ library_initin -lssl" >&57869 $as_echo_n "checking for SSL_ library_initin -lssl... " >&6; }7870 if ${ac_cv_lib_ssl_SSL_ library_init+:} false; then :7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 7857 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } 7858 if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : 7871 7859 $as_echo_n "(cached) " >&6 7872 7860 else … … 7882 7870 extern "C" 7883 7871 #endif 7884 char SSL_ library_init();7872 char SSL_CTX_new (); 7885 7873 int 7886 7874 main () 7887 7875 { 7888 return SSL_ library_init();7876 return SSL_CTX_new (); 7889 7877 ; 7890 7878 return 0; … … 7892 7880 _ACEOF 7893 7881 if ac_fn_c_try_link "$LINENO"; then : 7894 ac_cv_lib_ssl_SSL_ library_init=yes7895 else 7896 ac_cv_lib_ssl_SSL_ library_init=no7882 ac_cv_lib_ssl_SSL_CTX_new=yes 7883 else 7884 ac_cv_lib_ssl_SSL_CTX_new=no 7897 7885 fi 7898 7886 rm -f core conftest.err conftest.$ac_objext \ … … 7900 7888 LIBS=$ac_check_lib_save_LIBS 7901 7889 fi 7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ library_init" >&57903 $as_echo "$ac_cv_lib_ssl_SSL_ library_init" >&6; }7904 if test "x$ac_cv_lib_ssl_SSL_ library_init" = xyes; then :7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5 7891 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } 7892 if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : 7905 7893 libssl_present=1 && LIBS="-lssl $LIBS" 7906 7894 fi … … 7911 7899 7912 7900 # Check if SRTP should be compiled with OpenSSL 7913 # support, to enable cryptos such as AES GCM 7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_gcm in -lcrypto" >&5 7915 $as_echo_n "checking for EVP_aes_128_gcm in -lcrypto... " >&6; } 7916 if ${ac_cv_lib_crypto_EVP_aes_128_gcm+:} false; then : 7917 $as_echo_n "(cached) " >&6 7918 else 7919 ac_check_lib_save_LIBS=$LIBS 7920 LIBS="-lcrypto $LIBS" 7921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7901 # support, to enable cryptos such as AES GCM. 7902 7903 # EVP_CIPHER_CTX is now opaque in OpenSSL 1.1.0, libsrtp 1.5.4 uses it as a transparent type. 7904 # AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) 7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7922 7906 /* end confdefs.h. */ 7923 7924 /* Override any GCC internal prototype to avoid an error. 7925 Use char because int might match the return type of a GCC 7926 builtin and then its argument prototype would still apply. */ 7927 #ifdef __cplusplus 7928 extern "C" 7929 #endif 7930 char EVP_aes_128_gcm (); 7907 #include <openssl/evp.h> 7931 7908 int 7932 7909 main () 7933 7910 { 7934 return EVP_aes_128_gcm();7911 EVP_CIPHER_CTX ctx;EVP_aes_128_gcm(); 7935 7912 ; 7936 7913 return 0; 7937 7914 } 7938 7915 _ACEOF 7939 if ac_fn_c_try_link "$LINENO"; then : 7940 ac_cv_lib_crypto_EVP_aes_128_gcm=yes 7941 else 7942 ac_cv_lib_crypto_EVP_aes_128_gcm=no 7943 fi 7944 rm -f core conftest.err conftest.$ac_objext \ 7945 conftest$ac_exeext conftest.$ac_ext 7946 LIBS=$ac_check_lib_save_LIBS 7947 fi 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_gcm" >&5 7949 $as_echo "$ac_cv_lib_crypto_EVP_aes_128_gcm" >&6; } 7950 if test "x$ac_cv_lib_crypto_EVP_aes_128_gcm" = xyes; then : 7916 if ac_fn_c_try_compile "$LINENO"; then : 7951 7917 ac_ssl_has_aes_gcm=1 7952 7918 fi 7953 7919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7954 7920 if test "x$ac_ssl_has_aes_gcm" = "x1"; then 7955 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL has AES GCM support, SRTP will use OpenSSL" >&5
Note: See TracChangeset
for help on using the changeset viewer.