aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-15 16:43:39 +0000
committerYang Tse <yangsita@gmail.com>2008-07-15 16:43:39 +0000
commit21ee1c2d0166de54443c26e26cdf7fc3617296c0 (patch)
tree93f659750b4abefd88d717b730cab6bf86e25ad6 /ares/configure.ac
parenta00febe1a0b1fd458bb9d6582cf231bb7370ccc8 (diff)
Allow --enable-largefile and --disable-largefile configurations.
Configure process no longer needs nor checks size of curl_off_t. Library will now be built with _REENTRANT symbol defined.
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac12
1 files changed, 3 insertions, 9 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 5b069cf67..80eecda20 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -75,6 +75,9 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
+dnl check for how to do large files
+AC_SYS_LARGEFILE
+
case $host_os in
solaris*)
AC_DEFINE(ETC_INET, 1, [if a /etc/inet dir is being used])
@@ -111,15 +114,6 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
CPPFLAGS="$CPPFLAGS -DCURLDEBUG -I$srcdir/../include"
CFLAGS="$CFLAGS -g"
- dnl check for how to do large files, needed to get the curl_off_t check
- dnl done right
- AC_SYS_LARGEFILE
-
- AC_CHECK_SIZEOF(curl_off_t, ,[
-#include <stdio.h>
-#include "$srcdir/../include/curl/curl.h"
- ])
-
dnl set compiler "debug" options to become more picky, and remove
dnl optimize options from CFLAGS
CURL_CC_DEBUG_OPTS