-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
27 lines (21 loc) · 889 Bytes
/
configure.ac
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([pam-ssh-auth-info], [1.8.20230906], [Eero+pam-ssh-auth-info@Häkkinen.fi], [], [https://github.Eero.Häkkinen.fi/pam-ssh-auth-info/])
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([line_tokens_match.h])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
# Checks for programs.
AC_PROG_CC
AM_PROG_AR
LT_INIT([disable-static])
# Checks for libraries.
AC_CHECK_LIB([pam], [pam_get_item], [], [AC_MSG_ERROR([cannot find -lpam])])
# Checks for header files.
AC_CHECK_HEADERS([security/pam_appl.h security/pam_ext.h security/pam_modules.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CHECK_FUNCS([pam_syslog vsyslog])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT