diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-07 12:59:45 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-07 12:59:45 +0000 |
commit | 03288943af26325db05b90903e5a2cd366eed2d1 (patch) | |
tree | f61711186dc6d4b221900e1555e2b4039f670ed7 /ares | |
parent | 725f734bae7d94031d5a0d28e258aa1104bc3e20 (diff) |
Using backslashes and slashes in the strings of the sed 'y' command shall be avoided since its interpretation is not the same across platforms.
Now we use the sed 's' command with a bracket expression.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index 97fc10b72..02930ad25 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -7,7 +7,7 @@ dnl Check for headers if check not already done. AC_DEFUN([CURL_CHECK_HEADERS_ONCE], [ for f_hdr in $1 do - u_hdr=`echo "$f_hdr" | sed 'y/.\/-/___/'` + u_hdr=`echo "$f_hdr" | sed 's/[\-|\.|\/]/_/g'` eval prev_check_res=\$ac_cv_header_$u_hdr case "$prev_check_res" in yes | no) |