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