• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:include +full:- +full:cat

1 dnl AC_NEED_BYTEORDER_H ( HEADER-TO-GENERATE )
2 dnl Copyright 2001-2002 by Dan Fandrich <dan@coneharvesters.com>
10 dnl this is not possible (e.g. on a big-endian machine) they are defined
14 dnl AC_HAVE_SYMBOL ( IDENTIFIER, HEADER-FILE, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND )
19 #include <$2>
40 test ! -d "$ac_dir" && mkdir "$ac_dir"
45 if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then
50 cat > "$1" << EOF
62 dnl Look for NetBSD-style extended byte swapping macros
65 cat >> "$1" << EOF
67 #include <machine/endian.h>
75 [cat >> "$1" << EOF
77 #include <arpa/inet.h>
82 [cat >> "$1" << EOF
84 #include <netinet/in.h>
93 [cat >> "$1" << EOF
101 [cat >> "$1" << EOF
103 #include <byteswap.h>
114 [cat >> "$1" << EOF
118 echo '#include <machine/endian.h>'>> "$1"
120 cat >> "$1" << EOF
130 [cat >> "$1" << EOF
132 #include <sys/types.h>
150 [cat >> "$1" << EOF
152 #include <machine/byte_order.h>
160 cat >> "$1" << EOF
161 /* No other byte swapping functions are available on this big-endian system */
178 cat >> "$1" << EOF
203 cat >> "$1" << EOF
206 /* le (little-endian), NN is 16 or 32 (number of bits) and a, */
211 /* So, to convert a 32-bit integer stored in a buffer in little-endian */
233 cat >> "$1" << EOF
234 /* Define our own extended byte swapping macros for big-endian machines */
253 cat >> "$1" << EOF
280 cat >> "$1" << EOF
281 /* Define the C99 standard length-specific integer types */
282 #include <_stdint.h>
287 i[3456]86-*)
288 cat >> "$1" << EOF
315 cat >> "$1" << EOF
322 /* Non-optimized but portable macros */
352 cat >> "$1" << EOF