summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-06-08 15:57:36 +0200
committerYang Tse <yangsita@gmail.com>2011-06-08 15:57:36 +0200
commite8d73c9c2d6094874755e457012c1773ecccca20 (patch)
treef93e75f4ec7b0b444ba1597bee3d1aa3fb3b9709 /acinclude.m4
parent8a3c0fe56ce233454690450cde4e8c67080e457e (diff)
downloadcurl-e8d73c9c2d6094874755e457012c1773ecccca20.tar.gz
configure: fix recvfrom 5th arg type qualifier detection (followup)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2fd22bf36..33bebd569 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1731,7 +1731,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
shift
#
recvfrom_ptrt_arg2=$[2]
- recvfrom_qual_type_arg5=$[5]
+ recvfrom_qual_ptrt_arg5=$[5]
recvfrom_ptrt_arg6=$[6]
#
AC_DEFINE_UNQUOTED(RECVFROM_TYPE_ARG1, $[1],
@@ -1753,14 +1753,14 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
;;
esac
#
- case "$recvfrom_qual_type_arg5" in
+ case "$recvfrom_qual_ptrt_arg5" in
const*)
recvfrom_qual_arg5=const
- recvfrom_ptrt_arg5=`echo $recvfrom_qual_type_arg5 | sed 's/^const //'`
+ recvfrom_ptrt_arg5=`echo $recvfrom_qual_ptrt_arg5 | sed 's/^const //'`
;;
*)
recvfrom_qual_arg5=
- recvfrom_ptrt_arg5=$recvfrom_qual_type_arg5
+ recvfrom_ptrt_arg5=$recvfrom_qual_ptrt_arg5
;;
esac
#