1dnl configure.ac for checkpassword-pam  -*- autoconf -*-
2AC_REVISION($Id: configure.ac,v 1.8 2004/08/17 21:29:27 tyranny Exp $)
3
4define(previous_version, 0.98)
5define(current_version, 0.99)
6
7AC_PREREQ(2.53)
8
9AC_INIT(checkpassword-pam, current_version(), checkpasswd-pam-users@lists.sourceforge.net)
10AM_INIT_AUTOMAKE(checkpassword-pam, current_version())
11AM_MAINTAINER_MODE
12
13AM_CONFIG_HEADER(config.h)
14AC_CONFIG_SRCDIR(checkpassword-pam.c)
15
16AC_PROG_MAKE_SET
17AC_PROG_CC
18
19AC_C_CONST
20
21# check that PAM libraries exist, together with libdl
22AC_CHECK_LIB(dl, dlopen)
23AC_CHECK_LIB(pam, pam_start)
24
25
26AC_SUBST(PREVIOUS_VERSION, previous_version())
27
28AC_CONFIG_FILES([Makefile checkpassword-pam.spec])
29AC_OUTPUT
30