]> granicus.if.org Git - apache/commitdiff
In absence of an explicit --with-ssl= path,
authorMartin Kraemer <martin@apache.org>
Wed, 22 Aug 2001 15:27:45 +0000 (15:27 +0000)
committerMartin Kraemer <martin@apache.org>
Wed, 22 Aug 2001 15:27:45 +0000 (15:27 +0000)
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

acinclude.m4

index 92ecdb7dbe5a748c650422875586813181fa7a70..5e7a529481f1a4d216d43f8d1a612397dc669dd4 100644 (file)
@@ -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