Undefine HAVE_GETNAMEINFO if unable to find

proper types to use for getnameinfo args
darwin-pinnedpubkey
Yang Tse 2005-12-21 17:51:08 +00:00
parent a0d69d52a1
commit bc4208201c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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