diff options
author | Bo Yang <boyang@samba.org> | 2009-12-10 19:29:24 +0800 |
---|---|---|
committer | Bo Yang <boyang@samba.org> | 2009-12-10 19:29:24 +0800 |
commit | c7e3a2dc319cc6504356be7fa7970917404a69b5 (patch) | |
tree | 07ff09ae53fa2b017f09e0928d79ed0ecef9e301 /source3 | |
parent | b386c3311d8c05ccbd075ab86be2ddace335b73b (diff) | |
download | samba-c7e3a2dc319cc6504356be7fa7970917404a69b5.tar.gz samba-c7e3a2dc319cc6504356be7fa7970917404a69b5.tar.bz2 samba-c7e3a2dc319cc6504356be7fa7970917404a69b5.zip |
s3: check for PAM_RADIO_TYPE.
Signed-off-by: Bo Yang <boyang@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index fc9e09b4af..0bd10068bb 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4501,6 +4501,39 @@ if test x"${try_pam}" != x"no";then fi # try_pam != no ################################################# +# check for PAM_RADIO_TYPE +AC_TRY_COMPILE([ +#if (!defined(LINUX)) + +#define PAM_EXTERN extern +#if defined(HAVE_SECURITY_PAM_APPL_H) +#include <security/pam_appl.h> +#elif defined(HAVE_PAM_PAM_APPL_H) +#include <pam/pam_appl.h> +#endif + +#endif + +#if defined(HAVE_SECURITY_PAM_MODULES_H) +#include <security/pam_modules.h> +#elif defined(HAVE_PAM_PAM_MODULES_H) +#include <pam/pam_modules.h> +#endif + +#if defined(HAVE_SECURITY__PAM_MACROS_H) +#include <security/_pam_macros.h> +#elif defined(HAVE_PAM__PAM_MACROS_H) +#include <pam/_pam_macros.h> +#endif + +#ifdef HAVE_SECURITY_PAM_EXT_H +#include <security/pam_ext.h> +#endif +], +[int i; i = PAM_RADIO_TYPE; ], +AC_DEFINE(HAVE_PAM_RADIO_TYPE, 1, [Define to 1 if PAM_RADIO_TYPE is available]),[]) + +################################################# # check for pam_smbpass support PAM_MODULES="" INSTALL_PAM_MODULES="" |