summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-12 07:20:44 +0000
committerYang Tse <yangsita@gmail.com>2008-08-12 07:20:44 +0000
commit2eba5f33b9fbf59fa1a16f804c7a4acf0e24afdb (patch)
tree80d7b178092068d6f77ea97a3ffcb4d053f5616d /acinclude.m4
parent60a3773c50671079709f7711180358cb97476344 (diff)
downloadcurl-2eba5f33b9fbf59fa1a16f804c7a4acf0e24afdb.tar.gz
Fix CURL_CHECK_DEF_INTXX_C suffix definition detection
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e287d4415..433a4e22e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -152,15 +152,15 @@ AC_DEFUN([CURL_CHECK_DEF_INTXX_C], [
AC_LANG_SOURCE(
ifelse($2,,,[$2])[[
#ifdef $1
-CURL_DEF_TOKEN $1(77)
+CURL_DEF_TOKEN $1(_)
#endif
]])
],[
tmp_suf=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
"$GREP" CURL_DEF_TOKEN 2>/dev/null | \
"$SED" 's/.*CURL_DEF_TOKEN[[ ]]//' 2>/dev/null | \
- "$SED" 's/.*$1//' 2>/dev/null | \
- "$SED" 's/[[^$curl_cv_Letters]]//g' 2>/dev/null`
+ "$SED" 's/.*'$1'//' 2>/dev/null | \
+ "$SED" 's/[[^'$curl_cv_alnum']]//g' 2>/dev/null`
if test -z "$tmp_suf"; then
tmp_suf=""
fi