Undefine HAVE_GETNAMEINFO if unable to find

proper types to use for getnameinfo args
pull/1/head
Yang Tse 19 years ago
parent 7a9f1ef2b8
commit 2e342c682c
  1. 2
      acinclude.m4

@ -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…
Cancel
Save