summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan T. DeKok <aland@freeradius.org>2015-01-16 10:47:43 -0500
committerAlan T. DeKok <aland@freeradius.org>2015-01-16 10:47:43 -0500
commitf6e2fb9a2dd04e23e7ca16350e6c3a8ccbd52d33 (patch)
tree5a681419d0890f02993e1de8d620be3773c92101 /configure.ac
parent0c3af1fb2a1ae1befb7a8e366406ded63cb9fa59 (diff)
downloadlibpam-radius-auth-f6e2fb9a2dd04e23e7ca16350e6c3a8ccbd52d33.tar.gz
libpam-radius-auth-f6e2fb9a2dd04e23e7ca16350e6c3a8ccbd52d33.zip
Updates for Solaris. Fixes #872
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f01f2d9..e9e2092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -179,7 +179,13 @@ AC_CHECK_HEADERS( \
)
AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
-AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h)
+AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, [], [],
+ [
+ #ifdef HAVE_SECURITY_PAM_APPL_H
+ # include <security/pam_appl.h>
+ #endif
+ ]
+)
if test x"$ac_cv_header_security_pam_modules_h" != x"yes" -a x"$ac_cv_header_pam_modules_appl_h" != x"yes"; then
AC_MSG_ERROR([pam_modules.h not found])
fi