httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1773741 - /httpd/httpd/trunk/configure.in
Date Mon, 12 Dec 2016 06:45:11 GMT
Author: wrowe
Date: Mon Dec 12 06:45:11 2016
New Revision: 1773741

URL: http://svn.apache.org/viewvc?rev=1773741&view=rev
Log:
Fixes to --with-pcre. Refuse to consider --without-pcre, that is
nonsequitor.


Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1773741&r1=1773740&r2=1773741&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Mon Dec 12 06:45:11 2016
@@ -222,10 +222,16 @@ fi
 
 AC_ARG_WITH(pcre,
 APACHE_HELP_STRING(--with-pcre=PATH,Use external PCRE library))
+echo PCRE PATH was $with_pcre
+
+if test "$with_pcre" = "" || test "$with_pcre" = "yes"; then
+  with_pcre = "$PATH"
+else
+  with_pcre = "$with_pcre/bin:$with_pcre"
+fi
 
 AC_CHECK_TARGET_TOOLS(PCRE_CONFIG, [pcre2-config pcre-config],
-                      [`which $with_pcre 2>/dev/null`],
-                      [$with_pcre/bin:$with_pcre])
+                      [`which $with_pcre 2>/dev/null`], $with_pcre)
 
 if test "x$PCRE_CONFIG" != "x"; then
   if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else



Mime
View raw message