lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1237 - nss-pam-ldapd-solaris

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1237 - nss-pam-ldapd-solaris



Author: arthur
Date: Mon Oct  4 19:16:15 2010
New Revision: 1237
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1237

Log:
add check for returnlen member of struct nss_XbyY_args

Modified:
   nss-pam-ldapd-solaris/configure.ac

Modified: nss-pam-ldapd-solaris/configure.ac
==============================================================================
--- nss-pam-ldapd-solaris/configure.ac  Sun Oct  3 23:57:11 2010        (r1236)
+++ nss-pam-ldapd-solaris/configure.ac  Mon Oct  4 19:16:15 2010        (r1237)
@@ -362,6 +362,24 @@
       #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 <nss.h>
+      #endif
+      #ifdef HAVE_NSS_COMMON_H
+      #include <nss_common.h>
+      #endif
+      #ifdef HAVE_NSS_DBDEFS_H
+      #include <nss_dbdefs.h>
+      #endif
+      #ifdef HAVE_NSSWITCH_H
+      #include <nsswitch.h>
+      #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,
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits