summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 4fb829d532ac096df315841211aac6c632c3b793 (plain)
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
AC_PREREQ([2.69])
AC_INIT([cifs-idmap-sss-plugin], [0.1], [benjaminfranzke@googlemail.com])
AC_CONFIG_SRCDIR([cifs_idmap_sss.c])

AM_INIT_AUTOMAKE
LT_INIT

AC_CONFIG_MACRO_DIR([m4])

PKG_CHECK_MODULES([SSS_IDMAP], [sss_idmap sss_nss_idmap])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([limits.h stdlib.h string.h syslog.h cifsidmap.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([strdup strerror])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT