[postgis-tickets] r17245 - Configure: libpcre is optional

Raul raul at rmr.ninja
Mon Feb 11 10:04:20 PST 2019


Author: algunenano
Date: 2019-02-11 10:04:19 -0800 (Mon, 11 Feb 2019)
New Revision: 17245

Modified:
   trunk/configure.ac
Log:
Configure: libpcre is optional

Build shouldn't stop if libpcre isn't present

References #4324


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2019-02-11 17:54:28 UTC (rev 17244)
+++ trunk/configure.ac	2019-02-11 18:04:19 UTC (rev 17245)
@@ -1179,7 +1179,11 @@
                 PCRE_LDFLAGS="$PCRE_LIBS"
                 ADDRESS_STANDARDIZER="address_standardizer"
                 HAVE_PCRE=yes
-            ], [AC_MSG_ERROR([libpcre could not be found])])
+            ],
+            [
+                ADDRESS_STANDARDIZER=""
+                HAVE_PCRE=no
+            ])
     fi
 
     AC_SUBST([PCRE_CPPFLAGS])



More information about the postgis-tickets mailing list