From 80d9e35598d5e6029dc4c90bf3da885682936d2a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 12 Aug 2017 15:54:06 +0200 Subject: system.h: remove all CURL_SIZEOF_* defines ... as they're not used externally and internally we check for the sizes already in configure etc. Closes #1767 --- configure.ac | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 605abc3fd..a4633b69f 100755 --- a/configure.ac +++ b/configure.ac @@ -183,9 +183,6 @@ AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS]) dnl Checks for programs. -dnl Our curl_off_t internal and external configure settings -CURL_CONFIGURE_CURL_OFF_T - dnl This defines _ALL_SOURCE for AIX CURL_CHECK_AIX_ALL_SOURCE @@ -3163,14 +3160,14 @@ CURL_CONFIGURE_LONG AC_CHECK_SIZEOF(time_t) AC_CHECK_SIZEOF(off_t) -soname_bump=no -if test x"$curl_cv_native_windows" != "xyes" && - test $ac_cv_sizeof_off_t -ne $curl_sizeof_curl_off_t; then - AC_MSG_WARN([This libcurl built is probably not ABI compatible with previous]) - AC_MSG_WARN([builds! You MUST read lib/README.curl_off_t to figure it out.]) - soname_bump=yes -fi +o=$CPPFLAGS +CPPFLAGS="$CPPFLAGS -I$srcdir/include" +AC_CHECK_SIZEOF(curl_off_t, unused , [ +#include +]) +CPPFLAGS=$o +soname_bump=no AC_CHECK_TYPE(long long, [AC_DEFINE(HAVE_LONGLONG, 1, -- cgit v1.2.3