1
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
2
# Free Software Foundation, Inc.
1
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2
# 2009, 2010 Free Software Foundation, Inc.
4
4
# Author: Nikos Mavrogiannopoulos, Simon Josefsson
6
# This file is part of GNUTLS.
6
# This file is part of GnuTLS.
8
# The GNUTLS library is free software; you can redistribute it and/or
8
# The GnuTLS is free software; you can redistribute it and/or
9
9
# modify it under the terms of the GNU Lesser General Public License
10
10
# as published by the Free Software Foundation; either version 2.1 of
11
11
# the License, or (at your option) any later version.
13
# The GNUTLS library is distributed in the hope that it will be
13
# The GnuTLS is distributed in the hope that it will be
14
14
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15
15
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
16
# Lesser General Public License for more details.
18
18
# You should have received a copy of the GNU Lesser General Public
19
# License along with the GNUTLS library; if not, write to the Free
19
# License along with GnuTLS; if not, write to the Free
20
20
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
21
# MA 02110-1301, USA
26
26
# Interfaces changed/added/removed: CURRENT++ REVISION=0
27
27
# Interfaces added: AGE++
28
28
# Interfaces removed: AGE=0
29
AC_SUBST(LT_CURRENT, 40)
30
AC_SUBST(LT_REVISION, 12)
29
AC_SUBST(LT_CURRENT, 42)
30
AC_SUBST(LT_REVISION, 14)
33
33
# Used when creating the Windows libgnutls-XX.def files.
34
34
DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
63
63
AC_MSG_CHECKING([whether to use the included minitasn1])
64
64
AC_MSG_RESULT($included_libtasn1)
65
65
AM_CONDITIONAL(ENABLE_MINITASN1, test "$included_libtasn1" = "yes")
66
if test "$included_libtasn1" = "no"; then
67
GNUTLS_REQUIRES_PRIVATE="Requires.private: libtasn1"
68
71
AS_HELP_STRING([--with-lzo], [use experimental LZO compression]),
215
218
AM_CONDITIONAL(ENABLE_OPENPGP, test "$ac_enable_openpgp" = "yes")
220
AC_MSG_CHECKING([whether to disable SessionTicket extension support])
221
AC_ARG_ENABLE(session-ticket,
222
AS_HELP_STRING([--disable-session-ticket],
223
[disable the SessionTicket extension support]),
224
ac_session_ticket=no)
225
if test x$ac_session_ticket != xno; then
227
AC_DEFINE([ENABLE_SESSION_TICKET], 1, [enable SessionTicket extension])
232
AM_CONDITIONAL(ENABLE_SESSION_TICKET, test "$ac_enable_session_ticket" != "no")
235
AC_MSG_CHECKING([whether to add cryptodev support])
236
AC_ARG_ENABLE(cryptodev,
237
AS_HELP_STRING([--enable-cryptodev], [enable cryptodev support]),
238
enable_cryptodev=yes,enable_cryptodev=no)
239
AC_MSG_RESULT($enable_cryptodev)
241
if test "$enable_cryptodev" = "yes"; then
242
AC_DEFINE([ENABLE_CRYPTODEV], 1, [Enable cryptodev support])
217
245
# For storing integers in pointers without warnings
218
246
# http://developer.gnome.org/doc/API/2.0/glib/glib-Type-Conversion-Macros.html#desc
219
247
AC_CHECK_SIZEOF(void *)