mirror of
https://github.com/curl/curl.git
synced 2026-07-26 00:07:17 +03:00
Substitution of the literal '-' is only done if it's the first or last character.
This commit is contained in:
parent
03288943af
commit
551a041283
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,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 's/[\-|\.|\/]/_/g'`
|
||||
u_hdr=`echo "$f_hdr" | sed 's/[-|\.|\/]/_/g'`
|
||||
eval prev_check_res=\$ac_cv_header_$u_hdr
|
||||
case "$prev_check_res" in
|
||||
yes | no)
|
||||
|
|
|
|||
|
|
@ -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 's/[\-|\.|\/]/_/g'`
|
||||
u_hdr=`echo "$f_hdr" | sed 's/[-|\.|\/]/_/g'`
|
||||
eval prev_check_res=\$ac_cv_header_$u_hdr
|
||||
case "$prev_check_res" in
|
||||
yes | no)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue