summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-07 14:03:17 +0000
committerYang Tse <yangsita@gmail.com>2006-07-07 14:03:17 +0000
commit551a041283fbc2417f5ed782edd4213296d8b23d (patch)
tree88c053d221dabe49ac1456aa174ef94acbe1c24b /acinclude.m4
parent03288943af26325db05b90903e5a2cd366eed2d1 (diff)
downloadcurl-551a041283fbc2417f5ed782edd4213296d8b23d.tar.gz
Substitution of the literal '-' is only done if it's the first or last character.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1948e7b1b..18f78adbe 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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)