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 | e7be0133885d4be9c8e614e07a2767734af6e25e (patch) | |
tree | d3bc8df598cafe1c85f1364c8fdfc75c814c81a7 /acinclude.m4 | |
parent | d4b831bd3e5f7d65bf282cb82dbfa80fef4ccda7 (diff) | |
download | c-ares-e7be0133885d4be9c8e614e07a2767734af6e25e.tar.gz c-ares-e7be0133885d4be9c8e614e07a2767734af6e25e.tar.bz2 c-ares-e7be0133885d4be9c8e614e07a2767734af6e25e.zip |
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 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 97fc10b..02930ad 100644 --- a/acinclude.m4 +++ b/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) |