Upgrade build system.
[checkpath] / configure.ac
... / ...
CommitLineData
1dnl -*-autoconf-*-
2dnl
3dnl Configurator for chkpath
4dnl
5dnl (c) 1999 Mark Wooding
6dnl
7
8dnl----- Licensing notice ---------------------------------------------------
9dnl
10dnl This file is part of chkpath.
11dnl
12dnl chkpath 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 chkpath 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 chkpath; if not, write to the Free Software Foundation,
24dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26mdw_AUTO_VERSION
27AC_INIT([Checkpath], AUTO_VERSION, [mdw@distorted.org.uk])
28AC_CONFIG_SRCDIR([checkpath.c])
29AC_CONFIG_AUX_DIR([config])
30AM_INIT_AUTOMAKE([foreign])
31
32dnl--------------------------------------------------------------------------
33dnl C language environemnt.
34
35dnl Compiler and tools.
36AC_PROG_CC
37AX_CFLAGS_WARN_ALL
38AM_PROG_LIBTOOL
39mdw_LIBTOOL_VERSION_INFO
40
41dnl Types.
42AC_TYPE_UID_T
43
44dnl Packages.
45PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4])
46
47dnl--------------------------------------------------------------------------
48dnl Output.
49
50AC_CONFIG_FILES([Makefile])
51AC_CONFIG_HEADER([config/config.h])
52
53AC_OUTPUT
54
55dnl----- That's all, folks --------------------------------------------------