|
@@ -3388,6 +3388,18 @@ AC_CHECK_TYPE(long long,
|
|
|
)
|
|
|
|
|
|
|
|
|
+if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
|
|
|
+ AC_ARG_WITH(n64-deprecated,dnl
|
|
|
+AS_HELP_STRING([--with-n64-deprecated],[confirm you realize support for systems without 64 bit data types is going away]),
|
|
|
+ if test X"$withval" != Xno; then
|
|
|
+ OPT_N64_AWARE=$withval
|
|
|
+ fi
|
|
|
+)
|
|
|
+ if test -z "$OPT_N64_AWARE"; then
|
|
|
+ AC_MSG_ERROR([support for systems without 64 bit curl_off_t is deprecated, use --with-n64-deprecated until then])
|
|
|
+ fi
|
|
|
+fi
|
|
|
+
|
|
|
# check for ssize_t
|
|
|
AC_CHECK_TYPE(ssize_t, ,
|
|
|
AC_DEFINE(ssize_t, int, [the signed version of size_t]))
|