[postgis-tickets] r17661 - Fix minor version check issue in protobuf pkg-config section

Paul Ramsey pramsey at cleverelephant.ca
Fri Aug 2 09:32:02 PDT 2019


Author: pramsey
Date: 2019-08-02 09:32:02 -0700 (Fri, 02 Aug 2019)
New Revision: 17661

Modified:
   branches/2.5/configure.ac
Log:
Fix minor version check issue in protobuf pkg-config section


Modified: branches/2.5/configure.ac
===================================================================
--- branches/2.5/configure.ac	2019-08-02 13:51:47 UTC (rev 17660)
+++ branches/2.5/configure.ac	2019-08-02 16:32:02 UTC (rev 17661)
@@ -991,7 +991,7 @@
         	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 "$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])



More information about the postgis-tickets mailing list