initial checkin; mostly complete
[distorted-backup] / configure.ac
CommitLineData
99248ed2
MW
1dnl -*-autoconf-*-
2dnl
3dnl Configure script for distorted.org.uk backup software
4dnl
5dnl (c) 2011 Mark Wooding
6dnl
7
8dnl----- Licensing notice ---------------------------------------------------
9dnl
10dnl This program is free software; you can redistribute it and/or modify
11dnl it under the terms of the GNU General Public License as published by
12dnl the Free Software Foundation; either version 2 of the License, or
13dnl (at your option) any later version.
14dnl
15dnl This program is distributed in the hope that it will be useful,
16dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
17dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18dnl GNU General Public License for more details.
19dnl
20dnl You should have received a copy of the GNU General Public License
21dnl along with this program; if not, write to the Free Software Foundation,
22dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24dnl--------------------------------------------------------------------------
25dnl Initialization.
26
27mdw_AUTO_VERSION
28AC_INIT([distorted-backup], AUTO_VERSION, [mdw@distorted.org.uk])
29AC_CONFIG_SRCDIR([bkpadmin.in])
30AC_CONFIG_AUX_DIR([config])
31AM_INIT_AUTOMAKE([foreign])
32mdw_SILENT_RULES
33
34AC_PROG_CC
35
36dnl--------------------------------------------------------------------------
37dnl C programming environment.
38
39PKG_CHECK_MODULES([mLib], [mLib >= 2.1.0])
40PKG_CHECK_MODULES([nettle], [nettle >= 2.4])
41
42dnl--------------------------------------------------------------------------
43dnl Perl programming environment.
44
45AC_ARG_VAR([PERL], [Path to your favourite Perl binary.])
46AC_PATH_PROGS([PERL], [perl perl5], [false])
47AX_PROG_PERL_VERSION([5.10],,
48 [AC_MSG_ERROR([Failed to find suitable Perl.])])
49
50dnl--------------------------------------------------------------------------
51dnl Output.
52
53AC_CONFIG_FILES(
54 [Makefile])
55AC_OUTPUT
56
57dnl----- That's all, folks --------------------------------------------------