Commit 8d18ffb8 authored by Pekka Pessi's avatar Pekka Pessi

UNDO: Use HAVE_SOFIA_* for sofia features.

darcs-hash:20050908152849-65a35-483f1222579fcc53b60994a03174dc9c1209083f.gz
parent f73a25ab
......@@ -46,10 +46,15 @@ SAC_SU
### internal modules
### ----------------
AC_DEFINE([HAVE_SOFIA_SIP], 1, [Define as 1 always])
AC_DEFINE([HAVE_SOFIA_STUN], 1, [Define as 1 if we use STUN library])
AC_DEFINE([HAVE_SOFIA_SRESOLV], 1, [Define as 1 if we use DNS library])
AC_DEFINE([HAVE_SOFIA_SMIME], 0, [Define as 1 if we use S/MIME library])
dnl compile STUN only if OPENSSL is available
if test x${HAVE_OPENSSL} != x1 ; then
AC_MSG_WARN([** STUN support disabled as OpenSSL headers and/or libraries were not found **])
fi
AC_DEFINE_UNQUOTED([HAVE_SOFIA_STUN], $HAVE_OPENSSL, [Define as 1 if we use STUN library])
AC_DEFINE([HAVE_SRTP], 0, [Define as 1 if we use SRTP])
AC_DEFINE([HAVE_UPNP], 0, [Define as 1 if we use UPnP])
......
......@@ -47,15 +47,12 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#if HAVE_OPENSSL
/* avoid krb5-related build failures */
#define OPENSSL_NO_KRB5
#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#endif
#ifdef WIN32
#ifndef uint16_t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment