1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Avoid shell globbing

This commit is contained in:
Yang Tse 2006-07-01 12:53:24 +00:00
parent 5305c9f1e8
commit 7a6d7fca42

View File

@ -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,