Skip to content
Snippets Groups Projects
Commit bc420820 authored by Yang Tse's avatar Yang Tse
Browse files

Undefine HAVE_GETNAMEINFO if unable to find

proper types to use for getnameinfo args
parent a0d69d52
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,7 @@ 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
#undef HAVE_GETNAMEINFO
ac_cv_func_getnameinfo="no"
else
gni_prev_IFS=$IFS; IFS=','
......
......@@ -278,7 +278,7 @@ 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
#undef HAVE_GETNAMEINFO
ac_cv_func_getnameinfo="no"
else
gni_prev_IFS=$IFS; IFS=','
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment