projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
0fa4629
)
Update to handle newer endian autoconf components.
author
Brian Aker
<brian@tangent.org>
Tue, 10 Jul 2012 00:59:13 +0000
(17:59 -0700)
committer
Brian Aker
<brian@tangent.org>
Tue, 10 Jul 2012 00:59:13 +0000
(17:59 -0700)
configure.ac
patch
|
blob
|
history
m4/bottom.m4
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 13ecc5795615456e6991721395912f26d087c448..97934a57bdee60b9c3dac7f4bd1e0392a1f62be8 100644
(file)
--- 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 a772e05945054718d2d1f8a1db8f2cc927e6277f..6306aee178a873508c98976a5ea32c86dfba1019 100644
(file)
--- 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
])