From 9d172a45a64bbdbdbb31cdc50ae426e9dcf5e470 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Mon, 4 Oct 2010 17:16:15 +0000 Subject: add check for returnlen member of struct nss_XbyY_args git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1237 ef36b2f9-881f-0410-afb5-c4e39611909c --- configure.ac | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f6c65b7..4954d55 100644 --- a/configure.ac +++ b/configure.ac @@ -362,6 +362,24 @@ then #include "irs-nss.h" #endif]) + # check if struct nss_XbyY_args has a returnlen attribute + AC_CHECK_MEMBER([struct nss_XbyY_args.returnlen],,,[[ + #ifdef HAVE_NSS_H + #include + #endif + #ifdef HAVE_NSS_COMMON_H + #include + #endif + #ifdef HAVE_NSS_DBDEFS_H + #include + #endif + #ifdef HAVE_NSSWITCH_H + #include + #endif + #ifdef HAVE_IRS_NSS_H + #include "irs-nss.h" + #endif]]) + # check which NSS flavour to build AC_MSG_CHECKING([which NSS flavour to build]) AC_ARG_WITH(nss-flavour, -- cgit v1.2.3