Upgrade build system.
[checkpath] / configure.ac
CommitLineData
9c42854d 1dnl -*-autoconf-*-
efa7a97b 2dnl
3dnl Configurator for chkpath
4dnl
5dnl (c) 1999 Mark Wooding
6dnl
7
9c42854d 8dnl----- Licensing notice ---------------------------------------------------
efa7a97b 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.
263d6e0d 16dnl
efa7a97b 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.
263d6e0d 21dnl
efa7a97b 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
9c42854d
MW
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.
efa7a97b 36AC_PROG_CC
9c42854d 37AX_CFLAGS_WARN_ALL
d7b5ee0c 38AM_PROG_LIBTOOL
9c42854d
MW
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
efa7a97b 54
9c42854d 55dnl----- That's all, folks --------------------------------------------------