diff options
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 17 |
1 files changed, 7 insertions, 10 deletions
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 <curl/system.h> +]) +CPPFLAGS=$o +soname_bump=no AC_CHECK_TYPE(long long, [AC_DEFINE(HAVE_LONGLONG, 1, |