Changeset 5416


Ignore:
Timestamp:
Aug 11, 2016 3:10:37 AM (8 years ago)
Author:
riza
Message:

Re #1943: Improve the clarity of configure log message.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5414 r5416  
    79557955                        # Check if SRTP should be compiled with OpenSSL 
    79567956                        # 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 : 
     7957                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_gcm in -lcrypto" >&5 
     7958$as_echo_n "checking for EVP_aes_128_gcm in -lcrypto... " >&6; } 
     7959if ${ac_cv_lib_crypto_EVP_aes_128_gcm+:} false; then : 
    79607960  $as_echo_n "(cached) " >&6 
    79617961else 
    79627962  ac_check_lib_save_LIBS=$LIBS 
    7963 LIBS="-lssl  $LIBS" 
     7963LIBS="-lcrypto  $LIBS" 
    79647964cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    79657965/* end confdefs.h.  */ 
     
    79817981_ACEOF 
    79827982if 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 
     7983  ac_cv_lib_crypto_EVP_aes_128_gcm=yes 
     7984else 
     7985  ac_cv_lib_crypto_EVP_aes_128_gcm=no 
    79867986fi 
    79877987rm -f core conftest.err conftest.$ac_objext \ 
     
    79897989LIBS=$ac_check_lib_save_LIBS 
    79907990fi 
    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 : 
     7991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_gcm" >&5 
     7992$as_echo "$ac_cv_lib_crypto_EVP_aes_128_gcm" >&6; } 
     7993if test "x$ac_cv_lib_crypto_EVP_aes_128_gcm" = xyes; then : 
    79947994  ac_ssl_has_aes_gcm=1 
    79957995fi 
    79967996 
    79977997                        if test "x$ac_ssl_has_aes_gcm" = "x1"; then 
    7998                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL has AES GCM support, SRTP will use OpenSSl version" >&5 
    7999 $as_echo "OpenSSL has AES GCM support, SRTP will use OpenSSl version" >&6; } 
     7998                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL has AES GCM support, SRTP will use OpenSSL" >&5 
     7999$as_echo "OpenSSL has AES GCM support, SRTP will use OpenSSL" >&6; } 
    80008000                        else 
    80018001                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos" >&5 
  • pjproject/trunk/aconfigure.ac

    r5414 r5416  
    16071607                        AC_CHECK_LIB(crypto,EVP_aes_128_gcm,[ac_ssl_has_aes_gcm=1]) 
    16081608                        if test "x$ac_ssl_has_aes_gcm" = "x1"; then 
    1609                                 AC_MSG_RESULT([OpenSSL has AES GCM support, SRTP will use OpenSSl version]) 
     1609                                AC_MSG_RESULT([OpenSSL has AES GCM support, SRTP will use OpenSSL]) 
    16101610                        else 
    16111611                                AC_MSG_RESULT([OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos]) 
Note: See TracChangeset for help on using the changeset viewer.