dnl -*-autoconf-*- dnl dnl Configuration script for distorted.org.uk key management dnl dnl (c) 2011 Mark Wooding dnl dnl----- Licensing notice --------------------------------------------------- dnl dnl This file is part of the distorted.org.uk key management suite. dnl dnl distorted-keys is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl distorted-keys is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with distorted-keys; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl-------------------------------------------------------------------------- dnl Initialization. mdw_AUTO_VERSION AC_INIT([distorted-keys], AUTO_VERSION, [mdw@distorted.org.uk]) AC_CONFIG_SRCDIR([shamir.in]) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([foreign]) mdw_SILENT_RULES dnl-------------------------------------------------------------------------- dnl Other random configuration. AC_ARG_WITH([user], AS_HELP_STRING([--with-user], [which user should own the archive]), [user=$withval], [user=keys]) AC_SUBST([user]) AC_ARG_WITH([userv-conf-dir], AS_HELP_STRING([--with-userv-conf-dir], [where to install userv configuration]), [uservconfdir=$withval], [uservconfdir='${sysconfdir}/userv/default.d']) AC_SUBST([uservconfdir]) dnl-------------------------------------------------------------------------- dnl Python programming environment. AC_PATH_PROG([PYTHON], [python]) AX_PROG_PYTHON_VERSION([2.5],, [AC_MSG_ERROR([Failed to find suitable Python.])]) dnl-------------------------------------------------------------------------- dnl Output. AC_CONFIG_FILES( [Makefile]) AC_OUTPUT dnl----- That's all, folks --------------------------------------------------