]> granicus.if.org Git - postgis/commitdiff
Fix minor version check issue in protobuf pkg-config section
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 2 Aug 2019 16:32:02 +0000 (16:32 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 2 Aug 2019 16:32:02 +0000 (16:32 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17661 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 05ab984924c21ed11a93f22d81fcbfd35a0a61d0..2ed70695411d3796b892487fcc3866f4ebd1ffc5 100644 (file)
@@ -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])