mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args
This commit is contained in:
parent
a0d69d52a1
commit
bc4208201c
@ -299,7 +299,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
|||||||
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
||||||
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
||||||
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
||||||
undefine([HAVE_GETNAMEINFO])dnl
|
#undef HAVE_GETNAMEINFO
|
||||||
ac_cv_func_getnameinfo="no"
|
ac_cv_func_getnameinfo="no"
|
||||||
else
|
else
|
||||||
gni_prev_IFS=$IFS; IFS=','
|
gni_prev_IFS=$IFS; IFS=','
|
||||||
|
@ -278,7 +278,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
|||||||
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
||||||
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
|
||||||
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
AC_MSG_WARN([Undefining HAVE_GETNAMEINFO])
|
||||||
undefine([HAVE_GETNAMEINFO])dnl
|
#undef HAVE_GETNAMEINFO
|
||||||
ac_cv_func_getnameinfo="no"
|
ac_cv_func_getnameinfo="no"
|
||||||
else
|
else
|
||||||
gni_prev_IFS=$IFS; IFS=','
|
gni_prev_IFS=$IFS; IFS=','
|
||||||
|
Loading…
Reference in New Issue
Block a user