From 6040387911de68313b5db7010f71c5f42e8a2a2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Mar=C3=ADn=20Rodr=C3=ADguez?= Date: Mon, 11 Feb 2019 18:04:19 +0000 Subject: [PATCH] Configure: libpcre is optional 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0455f95bd..107248d66 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- 2.40.0