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 99afe43..6894347 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)"])