2006-04-12 Mikael Hallendal <micke@imendio.com>
* autogen.sh:
* configure.ac:
* configure.in:
- Bumped the autoconf and automake requirements.
- Added support to compile with --with-ssl=gnutls|openssl|no. The
default is to build against gnutls and you must explicitely tell that
you don't want SSL support or configure will fail if you don't have
GnuTLS (or building with --with-ssl=openssl).
* loudmouth/Makefile.am:
* loudmouth/lm-ssl-openssl.c:
- Added an OpenSSL backend. Currently doesn't verify certificates.
NULL=
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir) \
$(LOUDMOUTH_CFLAGS) \
-DLM_COMPILATION \
-DRUNTIME_ENDIAN \
$(NULL)
lib_LTLIBRARIES = libloudmouth-1.la
if USE_GNUTLS
ssl_sources = \
lm-ssl-gnutls.c
endif
if USE_OPENSSL
ssl_sources = \
lm-ssl-openssl.c
endif
libloudmouth_1_la_SOURCES = \
lm-connection.c \
lm-debug.c \
lm-debug.h \
lm-error.c \
lm-message.c \
lm-message-handler.c \
lm-message-node.c \
lm-parser.c \
lm-parser.h \
lm-internals.h \
lm-sha.c \
lm-sha.h \
lm-ssl-generic.c \
lm-ssl-base.c \
lm-ssl-base.h \
lm-ssl-internals.h \
$(ssl_sources) \
lm-utils.c \
lm-proxy.c \
$(NULL)
libloudmouthinclude_HEADERS = \
lm-connection.h \
lm-error.h \
lm-message.h \
lm-message-handler.h \
lm-message-node.h \
lm-utils.h \
lm-proxy.h \
lm-ssl.h \
loudmouth.h \
$(NULL)
libloudmouth_1_la_LIBADD = \
$(LOUDMOUTH_LIBS)
libloudmouthincludedir = $(includedir)/loudmouth-1.0/loudmouth
# an explicit dependency here so alm generated files get built
$(OBJECTS): $(built_sources)