Changeset 230:0450c876b946 in mediastreamer2


Ignore:
Timestamp:
Jan 12, 2009 5:26:48 PM (4 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

fix compilation problems when not having ssl.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@233 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

Location:
linphone/oRTP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • linphone/oRTP/configure.ac

    r225 r230  
    234234fi 
    235235 
     236AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h) 
     237 
    236238AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"]) 
    237239AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"]) 
  • linphone/oRTP/src/stun.c

    r227 r230  
    6868 */ 
    6969 
     70#ifdef HAVE_CONFIG_H 
     71#include "ortp-config.h" 
     72#endif 
     73 
    7074#ifndef _WIN32_WCE 
    7175#include <errno.h> 
     
    100104 
    101105 
    102 //#define NOSSL 
    103 /* 
    104   #if defined(__sparc__) || defined(WIN32) 
    105   #define NOSSL 
    106   #endif 
    107   #define NOSSL 
    108 */ 
     106#if !defined(HAVE_OPENSSL_HMAC_H) || !defined(HAVE_OPENSSL_MD5_H) 
     107#define NOSSL 1 
     108#endif 
    109109 
    110110#include "ortp/stun_udp.h" 
Note: See TracChangeset for help on using the changeset viewer.