Commit 0fa51bbe authored by Martin Kraemer's avatar Martin Kraemer
Browse files

Extend 'openssl' search to the directories from PATH


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90397 13f79535-47bb-0310-9956-ffa450edef68
parent 0a84cae6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -398,7 +398,8 @@ if test "x$ap_ssltk_base" = "x"; then
      # shotgun approach: find all occurrences of the openssl program
      #
      ap_ssltk_try=""
      for p in /usr/local/openssl/bin /usr/local/ssl/bin $path; do
      # 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
        if test -f "$p/openssl"; then
          ap_ssltk_try="$ap_ssltk_try $p"
        fi