[postgis-tickets] r17662 - Fix minor version check issue in protobuf configuration

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


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

Modified:
   branches/2.4/configure.ac
Log:
Fix minor version check issue in protobuf configuration


Modified: branches/2.4/configure.ac
===================================================================
--- branches/2.4/configure.ac	2019-08-02 16:32:02 UTC (rev 17661)
+++ branches/2.4/configure.ac	2019-08-02 16:32:44 UTC (rev 17662)
@@ -976,7 +976,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
@@ -988,7 +988,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