From bc4208201cc528bc6fefba815dd1b647576a337b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 21 Dec 2005 17:51:08 +0000 Subject: Undefine HAVE_GETNAMEINFO if unable to find proper types to use for getnameinfo args --- acinclude.m4 | 2 +- ares/acinclude.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index f270888fb..d0fab3db6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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=',' diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index ac8f83808..f18379abb 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -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=',' -- cgit v1.2.3