aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-21 17:51:08 +0000
committerYang Tse <yangsita@gmail.com>2005-12-21 17:51:08 +0000
commitbc4208201cc528bc6fefba815dd1b647576a337b (patch)
treef18e1f8bbce70f7719c20c9d97437dcd9ccdf601
parenta0d69d52a192820ea090f2660e77affa2efeb8f6 (diff)
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args
-rw-r--r--acinclude.m42
-rw-r--r--ares/acinclude.m42
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=','