mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args
This commit is contained in:
parent
c23a1be139
commit
a0d69d52a1
@ -298,6 +298,9 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
||||
])
|
||||
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
||||
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
||||
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
||||
undefine([HAVE_GETNAMEINFO])dnl
|
||||
ac_cv_func_getnameinfo="no"
|
||||
else
|
||||
gni_prev_IFS=$IFS; IFS=','
|
||||
set dummy `echo "$curl_cv_func_getnameinfo_args" | sed 's/\*/\*/g'`
|
||||
|
@ -277,6 +277,9 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
||||
])
|
||||
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
||||
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
||||
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
||||
undefine([HAVE_GETNAMEINFO])dnl
|
||||
ac_cv_func_getnameinfo="no"
|
||||
else
|
||||
gni_prev_IFS=$IFS; IFS=','
|
||||
set dummy `echo "$curl_cv_func_getnameinfo_args" | sed 's/\*/\*/g'`
|
||||
|
Loading…
Reference in New Issue
Block a user