Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
sssd.11069
0001-build-detect-endianness-at-configure-time....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-build-detect-endianness-at-configure-time.patch of Package sssd.11069
From 6346d3da4c5432813bcd57bd80d1d54bbad33545 Mon Sep 17 00:00:00 2001 From: HouzuoGuo <guohouzuo@gmail.com> Date: Thu, 30 Mar 2017 11:31:44 +0200 Subject: [PATCH 1/7] [PATCH] build: detect endianness at configure time WORDS_BIGENDIAN, HAVE_BIG_ENDIAN and HAVE_LITTLE_ENDIAN are needed by Samba. See Samba's byteorder.h header for an example. Signed-off-by: David Disseldorp <ddiss@samba.org> --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index ad63587ff..129c732e3 100644 --- a/configure.ac +++ b/configure.ac @@ -428,6 +428,13 @@ SSS_ENABLE_INTGCHECK_REQS AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm]) +AC_C_BIGENDIAN +if test x$WORDS_BIGENDIAN != x; then + AC_DEFINE(HAVE_BIG_ENDIAN, 1, [whether platform is big endian]) +else + AC_DEFINE(HAVE_LITTLE_ENDIAN, 1, [whether platform is little endian]) +fi + # Check if we should install polkit rules ENABLE_POLKIT_RULES_PATH AM_CONDITIONAL([HAVE_POLKIT_RULES_D], [test x$HAVE_POLKIT_RULES_D != x]) -- 2.15.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor