httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1773870 - /httpd/httpd/trunk/configure.in
Date Mon, 12 Dec 2016 20:51:17 GMT
Author: wrowe
Date: Mon Dec 12 20:51:17 2016
New Revision: 1773870

URL: http://svn.apache.org/viewvc?rev=1773870&view=rev
Log:
Need to preserve --with-pcre value if not a path ref

Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1773870&r1=1773869&r2=1773870&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Mon Dec 12 20:51:17 2016
@@ -224,9 +224,10 @@ AC_ARG_WITH(pcre,
 APACHE_HELP_STRING(--with-pcre=PATH,Use external PCRE library))
 if test "x$with_pcre" = "x" || test "$with_pcre" = "yes"; then
   with_pcre="$PATH"
-else
+else if which $with_pcre 2>/dev/null; then :; else
   with_pcre="$with_pcre/bin:$with_pcre"
 fi
+fi
 
 AC_CHECK_TARGET_TOOLS(PCRE_CONFIG, [pcre2-config pcre-config],
                       [`which $with_pcre 2>/dev/null`], $with_pcre)



Mime
View raw message