aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 5e59b153a..f270888fb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -298,6 +298,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'`