From 7e76f3b0f7c823741bada9343dd779f0e7d6305e Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Mon, 20 Aug 2001 12:53:05 +0000 Subject: [PATCH] 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 --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.50.1