diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-27 00:25:02 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-27 00:25:02 +0000 |
commit | f9894f4ebcbe863c5075d411585dbca75311d427 (patch) | |
tree | da63587eac2ac3037f6bb7ea848c80845d334a39 /acinclude.m4 | |
parent | 74d3b80d707a1018cd08fe53685e4744131f378b (diff) | |
download | curl-f9894f4ebcbe863c5075d411585dbca75311d427.tar.gz |
Don't abort configuration if recvfrom() is not available.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 71c3ca579..59ef35d28 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1733,8 +1733,13 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [ done done ]) # 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'` @@ -1801,7 +1806,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [ ac_cv_func_recvfrom="yes" fi else - AC_MSG_ERROR([Unable to link function recvfrom]) + AC_MSG_WARN([Unable to link function recvfrom]) fi ]) |