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:02:49 +0200
commit1658c567191c35beaddffafdb079abe33248037b (patch)
tree0f0090ea32f08db684f655fe6526557d31a7b98e /configure.ac
parent46c5deedec570bb5f99702a933ba99d76f9f09cb (diff)
downloadsssd-1658c567191c35beaddffafdb079abe33248037b.tar.gz
sssd-1658c567191c35beaddffafdb079abe33248037b.tar.xz
sssd-1658c567191c35beaddffafdb079abe33248037b.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 b9b72e3d7..e23e7c078 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)])],