configure.ac (nss-pam-ldapd-0.9.11) | : | configure.ac (nss-pam-ldapd-0.9.12) | ||
---|---|---|---|---|
# configure.ac - process this file with autoconf to produce configure | # configure.ac - process this file with autoconf to produce configure | |||
# | # | |||
# Copyright (C) 2006 Luke Howard | # Copyright (C) 2006 Luke Howard | |||
# Copyright (C) 2006 West Consulting | # Copyright (C) 2006 West Consulting | |||
# Copyright (C) 2006-2019 Arthur de Jong | # Copyright (C) 2006-2021 Arthur de Jong | |||
# | # | |||
# This library is free software; you can redistribute it and/or | # This library is free software; you can redistribute it and/or | |||
# modify it under the terms of the GNU Lesser General Public | # modify it under the terms of the GNU Lesser General Public | |||
# License as published by the Free Software Foundation; either | # License as published by the Free Software Foundation; either | |||
# version 2.1 of the License, or (at your option) any later version. | # version 2.1 of the License, or (at your option) any later version. | |||
# | # | |||
# This library is distributed in the hope that it will be useful, | # This library is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
# Lesser General Public License for more details. | # Lesser General Public License for more details. | |||
# | # | |||
# You should have received a copy of the GNU Lesser General Public | # You should have received a copy of the GNU Lesser General Public | |||
# License along with this library; if not, write to the Free Software | # License along with this library; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |||
# 02110-1301 USA | # 02110-1301 USA | |||
AC_PREREQ(2.61) | AC_PREREQ(2.61) | |||
AC_COPYRIGHT( | AC_COPYRIGHT( | |||
[Copyright (C) 2006 Luke Howard | [Copyright (C) 2006 Luke Howard | |||
Copyright (C) 2006 West Consulting | Copyright (C) 2006 West Consulting | |||
Copyright (C) 2006-2019 Arthur de Jong | Copyright (C) 2006-2021 Arthur de Jong | |||
This configure script is derived from configure.ac which is free software; | This configure script is derived from configure.ac which is free software; | |||
you can redistribute it and/or modify it under the terms of the GNU Lesser | you can redistribute it and/or modify it under the terms of the GNU Lesser | |||
General Public License as published by the Free Software Foundation; either | General Public License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. See the | version 2.1 of the License, or (at your option) any later version. See the | |||
configure.ac file for more details.]) | configure.ac file for more details.]) | |||
# initialize and set version and bugreport address | # initialize and set version and bugreport address | |||
AC_INIT([nss-pam-ldapd], | AC_INIT([nss-pam-ldapd], | |||
[0.9.11], | [0.9.12], | |||
[nss-pam-ldapd-users@lists.arthurdejong.org],, | [nss-pam-ldapd-users@lists.arthurdejong.org],, | |||
[https://arthurdejong.org/nss-pam-ldapd/]) | [https://arthurdejong.org/nss-pam-ldapd/]) | |||
RELEASE_MONTH="Oct 2018" | RELEASE_MONTH="Nov 2021" | |||
AC_SUBST(RELEASE_MONTH) | AC_SUBST(RELEASE_MONTH) | |||
AC_CONFIG_SRCDIR([nslcd.h]) | AC_CONFIG_SRCDIR([nslcd.h]) | |||
AC_CONFIG_MACRO_DIR([m4]) | AC_CONFIG_MACRO_DIR([m4]) | |||
# some initialisation | # some initialisation | |||
AC_CANONICAL_TARGET | AC_CANONICAL_TARGET | |||
AC_PREFIX_DEFAULT() | AC_PREFIX_DEFAULT() | |||
AC_CONFIG_LIBOBJ_DIR([compat]) | AC_CONFIG_LIBOBJ_DIR([compat]) | |||
# display notice and initialize automake | # display notice and initialize automake | |||
skipping to change at line 354 | skipping to change at line 354 | |||
AC_MSG_RESULT($PAM_LDAP_SONAME) | AC_MSG_RESULT($PAM_LDAP_SONAME) | |||
AC_SUBST(PAM_LDAP_SONAME) | AC_SUBST(PAM_LDAP_SONAME) | |||
# check which modules should be build | # check which modules should be build | |||
AC_ARG_WITH(nss-maps, | AC_ARG_WITH(nss-maps, | |||
AS_HELP_STRING([--with-nss-maps=MAP LIST], | AS_HELP_STRING([--with-nss-maps=MAP LIST], | |||
[comma separated list of NSS maps to build @<:@all@:> @]),, | [comma separated list of NSS maps to build @<:@all@:> @]),, | |||
[ with_nss_maps="all" ]) | [ with_nss_maps="all" ]) | |||
# checks for availability of header files | # checks for availability of header files | |||
AC_CHECK_HEADERS([ctype.h strings.h pthread.h pthread_np.h fcntl.h limits.h]) | AC_CHECK_HEADERS([ctype.h strings.h pthread.h pthread_np.h fcntl.h limits.h asse rt.h]) | |||
AC_CHECK_HEADERS([nss.h nss_common.h grp.h shadow.h aliases.h netdb.h rpc/rpcent .h]) | AC_CHECK_HEADERS([nss.h nss_common.h grp.h shadow.h aliases.h netdb.h rpc/rpcent .h]) | |||
AC_CHECK_HEADERS([netinet/ether.h arpa/inet.h netinet/in.h]) | AC_CHECK_HEADERS([netinet/ether.h arpa/inet.h netinet/in.h]) | |||
AC_CHECK_HEADERS([nsswitch.h nss_dbdefs.h]) | AC_CHECK_HEADERS([nsswitch.h nss_dbdefs.h]) | |||
AC_CHECK_HEADERS([sys/socket.h sys/un.h sys/ucred.h ucred.h sys/param.h sys/time .h]) | AC_CHECK_HEADERS([sys/socket.h sys/un.h sys/ucred.h ucred.h sys/param.h sys/time .h]) | |||
AC_CHECK_HEADERS([getopt.h syslog.h stddef.h]) | AC_CHECK_HEADERS([getopt.h syslog.h stddef.h]) | |||
# other general checks | # other general checks | |||
AC_C_INLINE | AC_C_INLINE | |||
AC_C_CONST | AC_C_CONST | |||
# checks for availability of common functions | # checks for availability of common functions | |||
AC_CHECK_FUNCS([sigaction snprintf]) | AC_CHECK_FUNCS([sigaction snprintf]) | |||
AC_SEARCH_LIBS(socket, socket) | AC_SEARCH_LIBS(socket, socket) | |||
AC_CHECK_FUNCS([strcasecmp strncasecmp strchr strcspn strspn strtol strtoul strt oull strndup]) | AC_CHECK_FUNCS([strcasecmp strncasecmp strchr strcspn strspn strtol strtoul strt oull strndup]) | |||
AC_CHECK_FUNCS([malloc realloc atexit]) | AC_CHECK_FUNCS([malloc realloc atexit]) | |||
AC_FUNC_FORK | AC_FUNC_FORK | |||
AC_CHECK_FUNCS(__assert_fail) | AC_CHECK_FUNCS([__assert_fail __assert __assert_c99]) | |||
AC_SEARCH_LIBS(clock_gettime, rt) | AC_SEARCH_LIBS(clock_gettime, rt) | |||
AC_CHECK_FUNCS([setusershell getusershell endusershell getgrouplist]) | AC_CHECK_FUNCS([setusershell getusershell endusershell getgrouplist]) | |||
AC_CHECK_DECLS([setusershell, getusershell, endusershell]) | AC_CHECK_DECLS([setusershell, getusershell, endusershell]) | |||
# checks for types | # checks for types | |||
AC_TYPE_MODE_T | AC_TYPE_MODE_T | |||
AC_TYPE_SIZE_T | AC_TYPE_SIZE_T | |||
AC_TYPE_UID_T | AC_TYPE_UID_T | |||
AC_TYPE_PID_T | AC_TYPE_PID_T | |||
AC_TYPE_INT32_T | AC_TYPE_INT32_T | |||
End of changes. 6 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added |