From: Martin Kraemer Date: Mon, 20 Aug 2001 12:53:05 +0000 (+0000) Subject: Extend 'openssl' search to the directories from PATH X-Git-Tag: 2.0.25~257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e76f3b0f7c823741bada9343dd779f0e7d6305e;p=apache 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 --- diff --git a/acinclude.m4 b/acinclude.m4 index 311494061b..99292115bd 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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