From: Paul Ramsey Date: Fri, 2 Aug 2019 16:32:02 +0000 (+0000) Subject: Fix minor version check issue in protobuf pkg-config section X-Git-Tag: 2.5.3~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da0dfeb5ff68a05527ec040758510a4dbb25a20f;p=postgis Fix minor version check issue in protobuf pkg-config section git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17661 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/configure.ac b/configure.ac index 05ab98492..2ed706954 100644 --- a/configure.ac +++ b/configure.ac @@ -991,7 +991,7 @@ if test "$CHECK_PROTOBUF" != "no"; then HAVE_PROTOBUF=no else dnl Ensure libprotobuf-c is of minimum required version - PKG_CHECK_MODULES([PROTOBUFC], [libprotobuf-c >= 1.1.0], [ + PKG_CHECK_MODULES([PROTOBUFC], [libprotobuf-c], [ HAVE_PROTOBUF=yes; PROTOBUF_CPPFLAGS=$PROTOBUFC_CFLAGS; PROTOBUF_LDFLAGS=$PROTOBUFC_LIBS @@ -1003,7 +1003,7 @@ if test "$CHECK_PROTOBUF" != "no"; then if test "$HAVE_PROTOBUF" = "yes"; then AC_PATH_PROG(PROTOCC, protoc-c) if test "x$PROTOCC" = "x"; then - AC_MSG_WARN([Protobuf compiler missing, disabling protobuf support.]) + AC_MSG_WARN([Protobuf compiler not in path, disabling protobuf support.]) HAVE_PROTOBUF=no else AC_DEFINE([HAVE_LIBPROTOBUF], [1], [Define to 1 if libprotobuf-c is present])