| 1 | dnl -*-autoconf-*- |
| 2 | dnl |
| 3 | dnl Configurator for chkpath |
| 4 | dnl |
| 5 | dnl (c) 1999 Mark Wooding |
| 6 | dnl |
| 7 | |
| 8 | dnl----- Licensing notice --------------------------------------------------- |
| 9 | dnl |
| 10 | dnl This file is part of chkpath. |
| 11 | dnl |
| 12 | dnl chkpath is free software; you can redistribute it and/or modify |
| 13 | dnl it under the terms of the GNU General Public License as published by |
| 14 | dnl the Free Software Foundation; either version 2 of the License, or |
| 15 | dnl (at your option) any later version. |
| 16 | dnl |
| 17 | dnl chkpath is distributed in the hope that it will be useful, |
| 18 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | dnl GNU General Public License for more details. |
| 21 | dnl |
| 22 | dnl You should have received a copy of the GNU General Public License |
| 23 | dnl along with chkpath; if not, write to the Free Software Foundation, |
| 24 | dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | |
| 26 | mdw_AUTO_VERSION |
| 27 | AC_INIT([Checkpath], AUTO_VERSION, [mdw@distorted.org.uk]) |
| 28 | AC_CONFIG_SRCDIR([checkpath.c]) |
| 29 | AC_CONFIG_AUX_DIR([config]) |
| 30 | AM_INIT_AUTOMAKE([foreign]) |
| 31 | |
| 32 | dnl-------------------------------------------------------------------------- |
| 33 | dnl C language environemnt. |
| 34 | |
| 35 | dnl Compiler and tools. |
| 36 | AC_PROG_CC |
| 37 | AX_CFLAGS_WARN_ALL |
| 38 | AM_PROG_LIBTOOL |
| 39 | mdw_LIBTOOL_VERSION_INFO |
| 40 | |
| 41 | dnl Types. |
| 42 | AC_TYPE_UID_T |
| 43 | |
| 44 | dnl Packages. |
| 45 | PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4]) |
| 46 | |
| 47 | dnl-------------------------------------------------------------------------- |
| 48 | dnl Output. |
| 49 | |
| 50 | AC_CONFIG_FILES([Makefile]) |
| 51 | AC_CONFIG_HEADER([config/config.h]) |
| 52 | |
| 53 | AC_OUTPUT |
| 54 | |
| 55 | dnl----- That's all, folks -------------------------------------------------- |