summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-01 17:07:12 +0000
committerYang Tse <yangsita@gmail.com>2006-07-01 17:07:12 +0000
commita1c6d5861a2eba863e08a27a9e3bb9e5ea077c6c (patch)
treee1632fe7e950f68cd4d3e45c31b8173e27e860d1 /acinclude.m4
parent589c4596d871599a956ba3693e6f1fd5598c7437 (diff)
downloadcurl-a1c6d5861a2eba863e08a27a9e3bb9e5ea077c6c.tar.gz
Get some debug info
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m433
1 files changed, 24 insertions, 9 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 20b17709b..11f5e798f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -378,16 +378,31 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
[Define to the type of arg 7 for getnameinfo.])
#
AC_MSG_WARN([Debug output - START])
- AC_MSG_WARN(A1 $1)
- AC_MSG_WARN(A2 $[1])
- AC_MSG_WARN(A2 ${1})
gni_qual_type_arg1=$[1]
- AC_MSG_WARN(B1 $gni_qual_type_arg1)
- AC_MSG_WARN(B2 $[gni_qual_type_arg1])
- AC_MSG_WARN(B3 ${gni_qual_type_arg1})
+ AC_MSG_WARN(D1 $gni_qual_type_arg1)
#
case "$gni_qual_type_arg1" in
const*)
+ AC_MSG_WARN(D2 $gni_qual_type_arg1)
+ gni_e1=`echo $gni_qual_type_arg1`
+ gni_e2=`echo $gni_qual_type_arg1 | sed 's/\*/\*/g'`
+ gni_e3=`echo $gni_qual_type_arg1 | sed 's/\*/\\*/g'`
+ AC_MSG_WARN(E1 $gni_e1)
+ AC_MSG_WARN(E1 $gni_e2)
+ AC_MSG_WARN(E1 $gni_e3)
+ gni_f1=`echo "$gni_qual_type_arg1"`
+ gni_f2=`echo "$gni_qual_type_arg1" | sed 's/\*/\*/g'`
+ gni_f3=`echo "$gni_qual_type_arg1" | sed 's/\*/\\*/g'`
+ AC_MSG_WARN(F1 $gni_f1)
+ AC_MSG_WARN(F1 $gni_f2)
+ AC_MSG_WARN(F1 $gni_f3)
+ gni_g1=`echo "${gni_qual_type_arg1}"`
+ gni_g2=`echo "${gni_qual_type_arg1}" | sed 's/\*/\*/g'`
+ gni_g3=`echo "${gni_qual_type_arg1}" | sed 's/\*/\\*/g'`
+ AC_MSG_WARN(G1 $gni_g1)
+ AC_MSG_WARN(G1 $gni_g2)
+ AC_MSG_WARN(G1 $gni_g3)
+ #
gni_qual_arg1=const
gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/^const //' | sed 's/\*/\*/g'`
;;
@@ -396,9 +411,9 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/\*/\*/g'`
;;
esac
- AC_MSG_WARN(C1 $gni_type_arg1)
- AC_MSG_WARN(C2 $[gni_type_arg1])
- AC_MSG_WARN(C3 ${gni_type_arg1})
+ AC_MSG_WARN(Z1 $gni_type_arg1)
+ AC_MSG_WARN(Z2 $[gni_type_arg1])
+ AC_MSG_WARN(Z3 ${gni_type_arg1})
AC_MSG_WARN([Debug output - END])
#
AC_DEFINE_UNQUOTED(GETNAMEINFO_QUAL_ARG1, $gni_qual_arg1,