From c960136851d6141ec08e782cb8fba418e91267b5 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 12 Dec 2016 20:51:17 +0000 Subject: Need to preserve --with-pcre value if not a path ref git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1773870 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 659f6e61dc..19ce9e7374 100644 --- a/configure.in +++ b/configure.in @@ -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) -- cgit v1.2.1