]> granicus.if.org Git - postgis/commitdiff
Configure: libpcre is optional
authorRaúl Marín Rodríguez <rmrodriguez@carto.com>
Mon, 11 Feb 2019 18:04:19 +0000 (18:04 +0000)
committerRaúl Marín Rodríguez <rmrodriguez@carto.com>
Mon, 11 Feb 2019 18:04:19 +0000 (18:04 +0000)
Build shouldn't stop if libpcre isn't present

References #4324

git-svn-id: http://svn.osgeo.org/postgis/trunk@17245 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 0455f95bd4d4f8e3c5f8dd78637f2ec4bda8764f..107248d66c7aae0cad0a42b9b9897e8c892ca8e9 100644 (file)
@@ -1179,7 +1179,11 @@ if test "x$with_address_standardizer" != "xno"; then
                 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])