1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

configure: avoid direct usage of AS_TR_* macros

This commit is contained in:
Yang Tse 2011-06-17 21:01:41 +02:00
parent 49a8fe5142
commit 0126b4a959
2 changed files with 4 additions and 4 deletions

View File

@ -2856,7 +2856,7 @@ AC_DEFUN([DO_CURL_OFF_T_CHECK], [
tmp_includes="" tmp_includes=""
tmp_source="" tmp_source=""
tmp_fmt="" tmp_fmt=""
case AS_TR_SH([$1]) in case XC_SH_TR_SH([$1]) in
int64_t) int64_t)
tmp_includes="$curl_includes_inttypes" tmp_includes="$curl_includes_inttypes"
tmp_source="char f@<:@@:>@ = PRId64;" tmp_source="char f@<:@@:>@ = PRId64;"
@ -2914,7 +2914,7 @@ AC_DEFUN([DO_CURL_OFF_T_SUFFIX_CHECK], [
curl_suffix_curl_off_t="unknown" curl_suffix_curl_off_t="unknown"
curl_suffix_curl_off_tu="unknown" curl_suffix_curl_off_tu="unknown"
# #
case AS_TR_SH([$1]) in case XC_SH_TR_SH([$1]) in
long_long | __longlong | __longlong_t) long_long | __longlong | __longlong_t)
tst_suffixes="LL::" tst_suffixes="LL::"
;; ;;
@ -3086,7 +3086,7 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/D$/U/'` curl_format_curl_off_tu=`echo "$curl_format_curl_off_tu" | "$SED" 's/D$/U/'`
else else
x_pull_headers="no" x_pull_headers="no"
case AS_TR_SH([$curl_typeof_curl_off_t]) in case XC_SH_TR_SH([$curl_typeof_curl_off_t]) in
long_long | __longlong | __longlong_t) long_long | __longlong | __longlong_t)
curl_format_curl_off_t="lld" curl_format_curl_off_t="lld"
curl_format_curl_off_tu="llu" curl_format_curl_off_tu="llu"

View File

@ -2617,7 +2617,7 @@ AC_CHECK_FUNCS([fork \
],[ ],[
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
eval "ac_cv_func_$func=yes" eval "ac_cv_func_$func=yes"
AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1], AC_DEFINE_UNQUOTED(XC_SH_TR_CPP([HAVE_$func]), [1],
[Define to 1 if you have the $func function.]) [Define to 1 if you have the $func function.])
],[ ],[
AC_MSG_RESULT([but still no]) AC_MSG_RESULT([but still no])