Fix macro for verifying proper struct padding in protocol_binary.m4
authorTrond Norbye <trond.norbye@sun.com>
Tue, 5 Aug 2008 10:47:39 +0000 (12:47 +0200)
committerTrond Norbye <trond.norbye@sun.com>
Tue, 5 Aug 2008 10:47:39 +0000 (12:47 +0200)
config/protocol_binary.m4
configure.ac

index 96ce0c0a397c7bb9198346f3e8d47a6943545576..7d3a1590dc55fc645396557ef1b4a998e6982774 100644 (file)
@@ -10,9 +10,7 @@ AC_RUN_IFELSE([
          return 1;
       }
    ])
-],[ 
-  ;
-], AC_MSG_ERROR([Unsupported struct padding done by compiler.])) 
+],, AC_MSG_ERROR([Unsupported struct padding done by compiler.])) 
 
 dnl ---------------------------------------------------------------------------
 dnl End Macro: PROTOCOL_BINARY_TEST
index 3376f4503c0c73df8eb921810ef6cec560e09f2f..a168929ae455519106d31e730a7a4a6e5e0ee9e9 100644 (file)
@@ -53,7 +53,7 @@ sinclude(config/debug.m4)
 sinclude(config/dtrace.m4)
 sinclude(config/byteorder.m4)
 sinclude(config/64bit.m4)
-#sinclude(config/protocol_binary.m4)
+sinclude(config/protocol_binary.m4)
 
 # We only support GCC and Sun's forte at the moment
 if test "$GCC" = "yes"