Release 1.0.2.
[udpkey] / configure.ac
CommitLineData
247f344a
MW
1dnl -*-autoconf-*-
2dnl
3dnl Auto-configuration script for udpkey
4dnl
5dnl (c) 2012 Mark Wooding
6dnl
7
8dnl----- Licensing notice ---------------------------------------------------
9dnl
10dnl This file is part of udpkey.
11dnl
12dnl The udpkey program is free software; you can redistribute it and/or modify
13dnl it under the terms of the GNU General Public License as published by
14dnl the Free Software Foundation; either version 2 of the License, or
15dnl (at your option) any later version.
16dnl
17dnl The udpkey program is distributed in the hope that it will be useful,
18dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
19dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20dnl GNU General Public License for more details.
21dnl
22dnl You should have received a copy of the GNU General Public License
23dnl along with udpkey; if not, write to the Free Software Foundation,
24dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26dnl--------------------------------------------------------------------------
27dnl Initialization.
28
29mdw_AUTO_VERSION
30AC_INIT([udpkey], AUTO_VERSION, [mdw@distorted.org.uk])
31AC_CONFIG_SRCDIR([udpkey.c])
32AC_CONFIG_AUX_DIR([config])
33AM_INIT_AUTOMAKE([foreign])
34mdw_SILENT_RULES
35
36dnl--------------------------------------------------------------------------
37dnl C programming environment.
38
39AC_PROG_CC
40AM_PROG_CC_C_O
41AX_CFLAGS_WARN_ALL
42AC_SUBST([AM_CFLAGS])
43
92469bdf 44PKG_CHECK_MODULES([mLib], [mLib >= 2.2.1])
a5f873be 45PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.4])
247f344a
MW
46AM_CFLAGS="$AM_CFLAGS $mLib_CFLAGS $catacomb_CFLAGS"
47
48dnl--------------------------------------------------------------------------
49dnl Output.
50
51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
53
54dnl----- That's all, folks --------------------------------------------------