Code

Fix build with older version of libprotobuf-c
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 13:54:54 +0000 (14:54 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 13:54:54 +0000 (14:54 +0100)
configure.ac

index 99afe43cd8ee5a8f8ada685def0d886204e6bb24..68943472889752f42c6ca9837d95c1586151815a 100644 (file)
@@ -70,7 +70,7 @@ then
 fi
 if test "x$have_protoc_c" = "xyes"
 then
-       AC_CHECK_LIB([protobuf-c], [protobuf_c_version],
+       AC_CHECK_LIB([protobuf-c], [protobuf_c_message_pack],
                     [have_protoc_c="yes"],
                     [have_protoc_c="no (libprotobuf-c not found)"])