Commit 04ffaa8c authored by Martin Kraemer's avatar Martin Kraemer
Browse files

In absence of an explicit --with-ssl= path,

use the PATH order before trying hard-coded /usr/local paths


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90489 13f79535-47bb-0310-9956-ffa450edef68
parent cf50ce86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ if test "x$ap_ssltk_base" = "x"; then
      #
      ap_ssltk_try=""
      # The IFS=... trick eliminates the colons from $PATH, without using an external program
      for p in /usr/local/openssl/bin /usr/local/ssl/bin `IFS=":$IFS"; echo $PATH`; do
      for p in `IFS=":$IFS"; echo $PATH` /usr/local/openssl/bin /usr/local/ssl/bin; do
        if test -f "$p/openssl"; then
          ap_ssltk_try="$ap_ssltk_try $p"
        fi