Use libtasn1 v2.4.
[gnutls.git] / libextra / configure.ac
blob27a7add7aa015da927f37135e362706ccfe59845
1 dnl Process this file with autoconf to produce a configure script.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 # 2009, 2010 Free Software Foundation, Inc.
5 # Author: Nikos Mavrogiannopoulos, Simon Josefsson
7 # This file is part of GNUTLS-EXTRA.
9 # GNUTLS-EXTRA is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as
11 # published by the Free Software Foundation; either version 3 of the
12 # License, or (at your option) any later version.
14 # GNUTLS-EXTRA is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with GNUTLS-EXTRA; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
24 AC_PREREQ(2.61)
25 AC_INIT([libgnutls-extra], [2.9.10], [bug-gnutls@gnu.org])
26 AC_CONFIG_AUX_DIR([build-aux])
27 AC_CONFIG_MACRO_DIR([m4])
29 AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
30 AM_CONFIG_HEADER(config.h)
32 AC_PROG_CC
33 xgl_EARLY
35 AC_LIBTOOL_WIN32_DLL
36 AC_PROG_LIBTOOL
38 LIBGNUTLS_HOOKS
39 LIBGNUTLS_EXTRA_HOOKS
41 xgl_INIT
43 LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LZO_LIBS $LIBGNUTLS_LIBS"
44 LIBGNUTLS_EXTRA_CFLAGS="-I${includedir}"
45 AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
46 AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
48 # Finish things from ../configure.ac.
49 AC_SUBST([WERROR_CFLAGS])
50 AC_SUBST([WSTACK_CFLAGS])
51 AC_SUBST([WARN_CFLAGS])
53 AC_DEFINE([GNUTLS_COMPAT_H], 1, [Make sure we don't use old features in code.])
55 AC_CONFIG_FILES([
56   Makefile
57   gnutls-extra.pc
58   gl/Makefile
59   includes/Makefile
61 AC_OUTPUT