Release 1.2.4.1.
[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])
30mdw_SILENT_RULES
31AM_INIT_AUTOMAKE([foreign])
32
33dnl--------------------------------------------------------------------------
34dnl C language environemnt.
35
36dnl Compiler and tools.
37AC_PROG_CC
38AX_CFLAGS_WARN_ALL
39AM_PROG_LIBTOOL
40mdw_LIBTOOL_VERSION_INFO
41AC_SUBST([AM_CFLAGS])
42
43dnl Types.
44AC_TYPE_UID_T
45
46dnl Packages.
47PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4])
48AM_CFLAGS="$AM_CFLAGS $mLib_CFLAGS"
49
50dnl--------------------------------------------------------------------------
51dnl Output.
52
53AC_CONFIG_FILES([Makefile])
54AC_CONFIG_HEADER([config/config.h])
55
56AC_OUTPUT
57
58dnl----- That's all, folks --------------------------------------------------