You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2016/12/12 20:51:17 UTC

svn commit: r1773870 - /httpd/httpd/trunk/configure.in

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)