1 dnl ---------------------------------------------------------------------------
2 dnl Macro: PROTOCOL_BINARY_TEST
3 dnl ---------------------------------------------------------------------------
4 AC_DEFUN([PROTOCOL_BINARY_TEST],
7 CFLAGS="$CFLAGS -I${srcdir}"
10 #include "libmemcached/memcached/protocol_binary.h"
12 protocol_binary_request_set request;
13 if (sizeof(request) != sizeof(request.bytes)) {
16 ]])],, AC_MSG_ERROR([Unsupported struct padding done by compiler.]))
21 dnl ---------------------------------------------------------------------------
22 dnl End Macro: PROTOCOL_BINARY_TEST
23 dnl ---------------------------------------------------------------------------