diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-21 17:51:08 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-21 17:51:08 +0000 |
commit | bc4208201cc528bc6fefba815dd1b647576a337b (patch) | |
tree | f18e1f8bbce70f7719c20c9d97437dcd9ccdf601 | |
parent | a0d69d52a192820ea090f2660e77affa2efeb8f6 (diff) |
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | 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=',' |