From: Brian Aker Date: Tue, 10 Jul 2012 00:59:13 +0000 (-0700) Subject: Update to handle newer endian autoconf components. X-Git-Tag: 1.0.10~5^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=82f13dcb410d2f13b9b1f7b4d97925bd5bdcd5ef;p=awesomized%2Flibmemcached Update to handle newer endian autoconf components. --- diff --git a/configure.ac b/configure.ac index 13ecc579..97934a57 100644 --- a/configure.ac +++ b/configure.ac @@ -293,8 +293,6 @@ if test $ac_cv_c_endian = little; then fi ]) -AC_C_ENDIAN - AX_CHECK_SOCK_CLOEXEC([AC_DEFINE([HAVE_SOCK_CLOEXEC], [1], [Check for SOCK_CLOEXEC.])], [AC_DEFINE([HAVE_SOCK_CLOEXEC], [0], [Check for SOCK_CLOEXEC.])]) diff --git a/m4/bottom.m4 b/m4/bottom.m4 index a772e059..6306aee1 100644 --- a/m4/bottom.m4 +++ b/m4/bottom.m4 @@ -30,6 +30,12 @@ typedef unsigned long int ulong; #define RPACKAGE "memcached" #define RVERSION "1.4.13" + +#ifdef WORDS_BIGENDIAN +# define ENDIAN_BIG 1 +#else +# define ENDIAN_LITTLE 1 +#endif ])