done
done
done
- ]) # AC_CACHE_CHECK
+ ]) # AC-CACHE-CHECK
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
AC_MSG_WARN([Cannot find proper types to use for getnameinfo args])
AC_MSG_WARN([HAVE_GETNAMEINFO will not be defined])
ac_cv_func_getnameinfo="yes"
fi
fi
-]) # AC_DEFUN
+])
dnl TYPE_SOCKADDR_STORAGE
#else
return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */
#endif
- ]]) # AC_LANG_PROGRAM
+ ]]) # AC-LANG-PROGRAM
],[
# Exit code == 0. Program worked.
ac_cv_working_ni_withscopeid="yes"
ac_cv_working_ni_withscopeid="yes"
],[
ac_cv_working_ni_withscopeid="no"
- ]) # AC_COMPILE_IFELSE
- ]) # AC_RUN_IFELSE
- ]) # AC_CACHE_CHECK
+ ]) # AC-COMPILE-IFELSE
+ ]) # AC-RUN-IFELSE
+ ]) # AC-CACHE-CHECK
case "$ac_cv_working_ni_withscopeid" in
yes)
AC_DEFINE(HAVE_NI_WITHSCOPEID, 1,
[Define to 1 if NI_WITHSCOPEID exists and works.])
;;
esac
-]) # AC_DEFUN
+])
dnl CURL_CHECK_FUNC_RECV
done
done
done
- ]) # AC_CACHE_CHECK
+ ]) # AC-CACHE-CHECK
if test "$curl_cv_func_recv_args" = "unknown"; then
AC_MSG_ERROR([Cannot find proper types to use for recv args])
else
else
AC_MSG_ERROR([Unable to link function recv])
fi
-]) # AC_DEFUN
+])
dnl CURL_CHECK_FUNC_SEND
done
done
done
- ]) # AC_CACHE_CHECK
+ ]) # AC-CACHE-CHECK
if test "$curl_cv_func_send_args" = "unknown"; then
AC_MSG_ERROR([Cannot find proper types to use for send args])
else
else
AC_MSG_ERROR([Unable to link function send])
fi
-]) # AC_DEFUN
+])
dnl CURL_CHECK_FUNC_RECVFROM
done
done
done
- ]) # AC_CACHE_CHECK
+ ]) # AC-CACHE-CHECK
+ # Nearly last minute change for this release starts here
+ AC_DEFINE_UNQUOTED(HAVE_RECVFROM, 1,
+ [Define to 1 if you have the recvfrom function.])
+ ac_cv_func_recvfrom="yes"
+ # Nearly last minute change for this release ends here
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
- AC_MSG_ERROR([Cannot find proper types to use for recvfrom args])
+ AC_MSG_WARN([Cannot find proper types to use for recvfrom args])
else
recvfrom_prev_IFS=$IFS; IFS=','
set dummy `echo "$curl_cv_func_recvfrom_args" | sed 's/\*/\*/g'`
ac_cv_func_recvfrom="yes"
fi
else
- AC_MSG_ERROR([Unable to link function recvfrom])
+ AC_MSG_WARN([Unable to link function recvfrom])
+ AC_MSG_WARN([Your system will be vulnerable to some forms of DNS cache poisoning])
fi
-]) # AC_DEFUN
+])
dnl CURL_CHECK_MSG_NOSIGNAL
[Define to 1 if you have the MSG_NOSIGNAL flag.])
;;
esac
-]) # AC_DEFUN
+])
dnl CURL_CHECK_STRUCT_TIMEVAL
[Define to 1 if you have the timeval struct.])
;;
esac
-]) # AC_DEFUN
+])
dnl TYPE_SIG_ATOMIC_T
fi
;;
esac
-]) # AC_DEFUN
+])
dnl CURL_CHECK_NONBLOCKING_SOCKET
#include <arpa/inet.h>
#endif
#endif
- ]) dnl AC_CHECK_TYPE
-]) dnl AC_DEFUN
+ ])
+])
dnl CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC
])
dnl Definition of HAVE_CLOCK_GETTIME_MONOTONIC is intentionally postponed
dnl until library linking and run-time checks for clock_gettime succeed.
-]) dnl AC_DEFUN
+])
dnl CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC
#
fi
#
-]) dnl AC_DEFUN
+])
dnl **********************************************************************
done
CFLAGS=$NEWFLAGS
-]) dnl end of AC_DEFUN()
+])
dnl This macro determines if the specified struct exists in the specified file