aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3f6a2e8b4..469eef367 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -382,17 +382,17 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
case "$gni_qual_type_arg1" in
const*)
gni_qual_arg1=const
- gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/^const //'`
+ gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/^const //' | sed 's/\*/\*/g'`
;;
*)
gni_qual_arg1=
- gni_type_arg1=$gni_qual_type_arg1
+ gni_type_arg1=`echo $gni_qual_type_arg1 | sed 's/\*/\*/g'`
;;
esac
#
- AC_DEFINE_UNQUOTED(GETNAMEINFO_QUAL_ARG1, "$gni_qual_arg1",
+ AC_DEFINE_UNQUOTED(GETNAMEINFO_QUAL_ARG1, $gni_qual_arg1,
[Define to the type qualifier of arg 1 for getnameinfo.])
- AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG1, "$gni_type_arg1",
+ AC_DEFINE_UNQUOTED(GETNAMEINFO_TYPE_ARG1, $gni_type_arg1,
[Define to the type of arg 1 for getnameinfo.])
#
AC_DEFINE_UNQUOTED(HAVE_GETNAMEINFO, 1,