From 8e7f095d6951bb05dd8d4c247649e66ff7b09b18 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 6 Aug 2008 23:05:19 +0000 Subject: [PATCH] move arch-specific definitions to arch site files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12229 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/site/arm-linux | 27 +++++++++++++++++++++++++++ include/site/arm-linux-uclibc | 29 +---------------------------- include/site/armeb-linux | 27 +++++++++++++++++++++++++++ include/site/armeb-linux-uclibc | 29 +---------------------------- include/site/avr32-linux | 27 +++++++++++++++++++++++++++ include/site/avr32-linux-uclibc | 29 +---------------------------- include/site/cris-linux | 27 +++++++++++++++++++++++++++ include/site/cris-linux-uclibc | 29 +---------------------------- include/site/i386-linux | 27 +++++++++++++++++++++++++++ include/site/i386-linux-uclibc | 29 +---------------------------- include/site/i686-linux | 27 +++++++++++++++++++++++++++ include/site/i686-linux-uclibc | 29 +---------------------------- include/site/mips-linux | 27 +++++++++++++++++++++++++++ include/site/mips-linux-uclibc | 29 +---------------------------- include/site/mipsel-linux | 27 +++++++++++++++++++++++++++ include/site/mipsel-linux-uclibc | 29 +---------------------------- include/site/powerpc-linux | 27 +++++++++++++++++++++++++++ include/site/powerpc-linux-uclibc | 29 +---------------------------- include/site/x86_64-linux | 27 +++++++++++++++++++++++++++ include/site/x86_64-linux-uclibc | 29 +---------------------------- 20 files changed, 280 insertions(+), 280 deletions(-) create mode 100644 include/site/arm-linux create mode 100644 include/site/armeb-linux create mode 100644 include/site/avr32-linux create mode 100644 include/site/cris-linux create mode 100644 include/site/i386-linux create mode 100644 include/site/i686-linux create mode 100644 include/site/mips-linux create mode 100644 include/site/mipsel-linux create mode 100644 include/site/powerpc-linux create mode 100644 include/site/x86_64-linux diff --git a/include/site/arm-linux b/include/site/arm-linux new file mode 100644 index 000000000..d22ec2085 --- /dev/null +++ b/include/site/arm-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/arm-linux-uclibc b/include/site/arm-linux-uclibc index dc2af512f..f17d96abc 100644 --- a/include/site/arm-linux-uclibc +++ b/include/site/arm-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} -ac_cv_c_bigendian=${ac_cv_c_bigendian=no} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/arm-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/armeb-linux b/include/site/armeb-linux new file mode 100644 index 000000000..c10b520d6 --- /dev/null +++ b/include/site/armeb-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/armeb-linux-uclibc b/include/site/armeb-linux-uclibc index 5acac3ada..dd64a9c53 100644 --- a/include/site/armeb-linux-uclibc +++ b/include/site/armeb-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=no} -ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/armeb-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/avr32-linux b/include/site/avr32-linux new file mode 100644 index 000000000..c10b520d6 --- /dev/null +++ b/include/site/avr32-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/avr32-linux-uclibc b/include/site/avr32-linux-uclibc index 5acac3ada..9fe045fa0 100644 --- a/include/site/avr32-linux-uclibc +++ b/include/site/avr32-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=no} -ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/avr32-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/cris-linux b/include/site/cris-linux new file mode 100644 index 000000000..c10b520d6 --- /dev/null +++ b/include/site/cris-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/cris-linux-uclibc b/include/site/cris-linux-uclibc index 6fc22f668..87346ee6d 100644 --- a/include/site/cris-linux-uclibc +++ b/include/site/cris-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh +. $TOPDIR/include/site/cris-linux . $TOPDIR/include/site/linux-uclibc -ac_cv_c_littleendian=${ac_cv_c_littleendian=no} -ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - diff --git a/include/site/i386-linux b/include/site/i386-linux new file mode 100644 index 000000000..d22ec2085 --- /dev/null +++ b/include/site/i386-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/i386-linux-uclibc b/include/site/i386-linux-uclibc index dc2af512f..5cccb2461 100644 --- a/include/site/i386-linux-uclibc +++ b/include/site/i386-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} -ac_cv_c_bigendian=${ac_cv_c_bigendian=no} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/i386-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/i686-linux b/include/site/i686-linux new file mode 100644 index 000000000..6785786a8 --- /dev/null +++ b/include/site/i686-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/i686-linux-uclibc b/include/site/i686-linux-uclibc index 7d4d008cf..ef073da32 100644 --- a/include/site/i686-linux-uclibc +++ b/include/site/i686-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} -ac_cv_c_bigendian=${ac_cv_c_bigendian=no} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=8 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/i686-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/mips-linux b/include/site/mips-linux new file mode 100644 index 000000000..c10b520d6 --- /dev/null +++ b/include/site/mips-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/mips-linux-uclibc b/include/site/mips-linux-uclibc index 5acac3ada..76a1b2831 100644 --- a/include/site/mips-linux-uclibc +++ b/include/site/mips-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=no} -ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/mips-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/mipsel-linux b/include/site/mipsel-linux new file mode 100644 index 000000000..d22ec2085 --- /dev/null +++ b/include/site/mipsel-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/mipsel-linux-uclibc b/include/site/mipsel-linux-uclibc index dc2af512f..b53d4d484 100644 --- a/include/site/mipsel-linux-uclibc +++ b/include/site/mipsel-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} -ac_cv_c_bigendian=${ac_cv_c_bigendian=no} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/mipsel-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/powerpc-linux b/include/site/powerpc-linux new file mode 100644 index 000000000..c10b520d6 --- /dev/null +++ b/include/site/powerpc-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/powerpc-linux-uclibc b/include/site/powerpc-linux-uclibc index 5acac3ada..bb48ee234 100644 --- a/include/site/powerpc-linux-uclibc +++ b/include/site/powerpc-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=no} -ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=4 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=4 -ac_cv_sizeof_off_t=4 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 -ac_cv_sizeof_ssize_t=4 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=4 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/powerpc-linux . $TOPDIR/include/site/linux-uclibc diff --git a/include/site/x86_64-linux b/include/site/x86_64-linux new file mode 100644 index 000000000..c711355c9 --- /dev/null +++ b/include/site/x86_64-linux @@ -0,0 +1,27 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/x86_64-linux-uclibc b/include/site/x86_64-linux-uclibc index 3d05f0524..cc351dfef 100644 --- a/include/site/x86_64-linux-uclibc +++ b/include/site/x86_64-linux-uclibc @@ -1,32 +1,5 @@ #!/bin/sh -ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} -ac_cv_c_bigendian=${ac_cv_c_bigendian=no} - -ac_cv_sizeof___int64=0 -ac_cv_sizeof_char=1 -ac_cv_sizeof_int=4 -ac_cv_sizeof_int16_t=2 -ac_cv_sizeof_int32_t=4 -ac_cv_sizeof_int64_t=8 -ac_cv_sizeof_long_int=8 -ac_cv_sizeof_long_long=8 -ac_cv_sizeof_long=8 -ac_cv_sizeof_off_t=8 -ac_cv_sizeof_short_int=2 -ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=8 -ac_cv_sizeof_ssize_t=8 -ac_cv_sizeof_u_int16_t=2 -ac_cv_sizeof_u_int32_t=4 -ac_cv_sizeof_u_int64_t=8 -ac_cv_sizeof_uint16_t=2 -ac_cv_sizeof_uint32_t=4 -ac_cv_sizeof_uint64_t=8 -ac_cv_sizeof_unsigned_int=4 -ac_cv_sizeof_unsigned_long=8 -ac_cv_sizeof_unsigned_short=2 -ac_cv_sizeof_void_p=4 - +. $TOPDIR/include/site/x86_64-linux . $TOPDIR/include/site/linux-uclibc