diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-07 00:29:08 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-07 00:29:08 +0000 |
commit | 14240e9e109fe6af19438c6531d573f85dbb0b1e (patch) | |
tree | 61c5713bff289fbdc27e019b71427723bfb78dbc /configure.ac | |
parent | a3045b4e4944a36f467f363607d6c6a50727fca2 (diff) |
Initial support of curlbuild.h and curlrules.h which allows
to have a curl_off_t data type no longer gated to off_t.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index f810ccce3..2c150038e 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ This configure script may be copied, distributed and modified under the terms of the curl license; see COPYING for more details]) AC_CONFIG_SRCDIR([lib/urldata.h]) -AM_CONFIG_HEADER(lib/config.h src/config.h) +AM_CONFIG_HEADER(lib/config.h src/config.h include/curl/curlbuild.h) AM_MAINTAINER_MODE dnl SED is mandatory for configure process and libtool. @@ -132,6 +132,9 @@ AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS]) dnl Checks for programs. AC_PROG_CC +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 @@ -1993,10 +1996,6 @@ AC_HEADER_TIME CURL_CHECK_STRUCT_TIMEVAL CURL_VERIFY_RUNTIMELIBS -AC_CHECK_SIZEOF(curl_off_t, ,[ -#include <stdio.h> -#include "$srcdir/include/curl/curl.h" -]) AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(time_t) |