summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 7b699c5ae0440a6296d6725a54d6142ec52391ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_INIT(pam_rps,0.2)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_CC
if test x$GCC = xyes ; then
	CFLAGS="$CFLAGS -Wall -Wextra"
fi
LT_INIT(disable-static)
AM_MAINTAINER_MODE
AC_CHECK_HEADERS(security/pam_modules.h security/pam_appl.h)
if test x$ac_cv_header_security_pam_modules_h != xyes ; then
	AC_ERROR(security/pam_modules.h not found)
fi
if test x$ac_cv_header_security_pam_appl_h != xyes ; then
	AC_ERROR(security/pam_appl.h not found)
fi
AC_CHECK_FUNC(pam_get_item,,AC_CHECK_LIB(pam,pam_get_item))
AC_CONFIG_HEADER(src/config.h)
AC_OUTPUT(Makefile src/Makefile src/pam_rps.8)