From a0d69d52a192820ea090f2660e77affa2efeb8f6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 21 Dec 2005 17:20:22 +0000 Subject: Undefine HAVE_GETNAMEINFO if unable to find proper types to use for getnameinfo args --- ares/acinclude.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ares') diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index bf1c7de42..ac8f83808 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -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'` -- cgit v1.2.1