File: configure.ac

package info (click to toggle)
dynalogin 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid, stretch
  • size: 1,864 kB
  • ctags: 439
  • sloc: sh: 11,691; ansic: 2,552; php: 276; makefile: 103; sql: 13
file content (43 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43


AC_INIT(dynalogin,1.0.0)
AC_CONFIG_SRCDIR(libdynalogin/dynalogin.c)

AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE

AC_CANONICAL_HOST
AM_CONFIG_HEADER(config.h)

AC_LIBTOOL_WIN32_DLL

AC_PROG_CC

AC_PROG_INSTALL

AC_PROG_LIBTOOL

PKG_CHECK_MODULES([DEPS_LIBDYNALOGIN], [liboath >= 1.10.2 apr-1 >= 1.4.2 gnutls >= 2.12])
PKG_CHECK_MODULES([DEPS_DYNALOGIND], [apr-1 >= 1.4.2 gnutls >= 2.12])
PKG_CHECK_MODULES([DEPS_LIBDYNALOGINCLIENT], [gnutls >= 2.12])

AC_CHECK_HEADERS([security/pam_appl.h], [],
  [AC_MSG_ERROR([[PAM header files not found, install libpam-dev.]])])
AC_CHECK_HEADERS([security/pam_modules.h security/_pam_macros.h], [], [],
  [#include <security/pam_appl.h>])

AC_CHECK_LIB(pam, pam_get_item)

AC_OUTPUT(
	Makefile
	libdynalogin/Makefile
	libdynalogin/datasources/Makefile
	libdynalogin/datasources/example/Makefile
	libdynalogin/datasources/fs/Makefile
	libdynalogin/datasources/odbc/Makefile
	dynalogind/Makefile
	libdynaloginclient/Makefile
	pam_dynalogin/Makefile
	)