Fix build with older version of libprotobuf-c
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Nov 2015 13:54:54 +0000 (14:54 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 30 Nov 2015 21:54:27 +0000 (22:54 +0100)
configure.ac

index 2dfa9d8..ec34074 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)"])