summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-28 08:31:17 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 22:17:50 +0200
commitfc97ab822fb6090789b62d2cec16615e1ab78e1b (patch)
tree313f81590557f056eec4d384551c60949c5945df /configure.ac
parent298b57aa1f9eccced5ac5113aa8def1c4053eae3 (diff)
downloadsssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.tar.gz
sssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.tar.xz
sssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.zip
UTIL: Create new wraper header file sss_endian.h
Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 95780d9aa..a4b132f51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,9 @@ AC_CHECK_HEADERS([security/pam_appl.h security/pam_misc.h security/pam_modules.h
[AC_MSG_ERROR([PAM development libraries not installed])]
)
+#Check for endian headers
+AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h])
+
#Set the NSS library install path
AC_ARG_ENABLE([nsslibdir], [AS_HELP_STRING([--enable-nsslibdir],
[Where to install nss libraries ($libdir)])],