chiark / gitweb /
Split underlying machinery into a separate package.
[distorted-keys] / configure.ac
CommitLineData
53263601
MW
1dnl -*-autoconf-*-
2dnl
3dnl Configuration script for distorted.org.uk key management
4dnl
5dnl (c) 2011 Mark Wooding
6dnl
7
8dnl----- Licensing notice ---------------------------------------------------
9dnl
599c8f75
MW
10dnl This file is part of the distorted.org.uk key management suite.
11dnl
12dnl distorted-keys is free software; you can redistribute it and/or modify
53263601
MW
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
599c8f75 17dnl distorted-keys is distributed in the hope that it will be useful,
53263601
MW
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
599c8f75 23dnl along with distorted-keys; if not, write to the Free Software Foundation,
53263601
MW
24dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26dnl--------------------------------------------------------------------------
27dnl Initialization.
28
29mdw_AUTO_VERSION
30AC_INIT([distorted-keys], AUTO_VERSION, [mdw@distorted.org.uk])
31AC_CONFIG_SRCDIR([shamir.in])
32AC_CONFIG_AUX_DIR([config])
33AM_INIT_AUTOMAKE([foreign])
34mdw_SILENT_RULES
35
36dnl--------------------------------------------------------------------------
c122b713
MW
37dnl Other random configuration.
38
39AC_ARG_WITH([user],
40 AS_HELP_STRING([--with-user], [which user should own the archive]),
41 [user=$withval],
42 [user=keys])
43AC_SUBST([user])
44
45dnl--------------------------------------------------------------------------
53263601
MW
46dnl Python programming environment.
47
48AC_PATH_PROG([PYTHON], [python])
49AX_PROG_PYTHON_VERSION([2.5],,
50 [AC_MSG_ERROR([Failed to find suitable Python.])])
51
52dnl--------------------------------------------------------------------------
53dnl Output.
54
55AC_CONFIG_FILES(
56 [Makefile])
57AC_OUTPUT
58
59dnl----- That's all, folks --------------------------------------------------