1#
2# configure.in
3#
4# This file is part of the ckpass project.
5#
6# Copyright (C) 2009  Heath N. Caldwell <hncaldwell@gmail.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20#
21
22AC_PREREQ(2.59)
23
24AC_INIT([ckpass], [0.2], [hncaldwell@gmail.com])
25
26AM_INIT_AUTOMAKE([1.12 foreign no-define])
27
28AC_PROG_CC
29
30AC_CHECK_LIB([c], [main], [], AC_MSG_ERROR(requires libc))
31AC_CHECK_LIB([ncurses], [main], [], AC_MSG_ERROR(requires libncurses))
32AC_CHECK_LIB([form], [main], [], AC_MSG_ERROR(requires libform))
33AC_CHECK_LIB([kpass], [main], [], AC_MSG_ERROR(requires libkpass))
34
35AC_CONFIG_FILES([Makefile])
36AC_OUTPUT
37
38