Lines Matching +full:native +full:- +full:endian
1 # -*- Autoconf -*-
5 AC_INIT([OpenBSM], [1.2-alpha5], [trustedbsd-audit@TrustedBSD.org],[openbsm])
13 # --with-native-includes forces the use of the system bsm headers.
14 AC_ARG_WITH([native-includes],
15 [AS_HELP_STRING([--with-native-includes],
16 [Use the system native include files instead of those included with openbsm.])],
18 AC_DEFINE(USE_NATIVE_INCLUDES,, Define to use native include files)
123 # depend on them or it will generate link-time or run-time errors. Test for
142 # We rely on the BSD be32toh() and be32enc()-style endian macros to perform
143 # byte order conversions. Availability of these varies considerably -- in
155 # First, decide which system endian.h to use.
157 AC_CHECK_HEADERS([endian.h], [
163 AC_CHECK_HEADERS([sys/endian.h], [
169 AC_CHECK_HEADERS([machine/endian.h], [
176 AC_DEFINE(USE_ENDIAN_H,, Define if endian.h should be included)
178 AC_DEFINE(USE_SYS_ENDIAN_H,, Define if sys/endian.h should be included)
180 AC_DEFINE(USE_MACHINE_ENDIAN_H,, Define if machine/endian.h should be included)
182 AC_MSG_ERROR([no endian.h])
190 #include <endian.h>
193 #include <sys/endian.h>
196 #include <machine/endian.h>
201 AC_DEFINE(USE_COMPAT_ENDIAN_H,, Define if compat/endian.h is required)
202 AC_MSG_RESULT([using compat/endian.h])
207 #include <endian.h>
210 #include <sys/endian.h>
213 #include <machine/endian.h>
216 #include "compat/endian.h"