aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-05-03 22:39:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-05-03 22:39:49 +0000
commit80ee5d3bd82343dc7064e6754032690d8b6887b2 (patch)
tree4fe8a4accf934525927f601947031246e81f6574 /ares
parentdd06c60ada039faafd937a136e3dc7ff9c41159a (diff)
moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac13
1 files changed, 9 insertions, 4 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 798ca1862..ea38b8923 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -47,6 +47,15 @@ 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
@@ -121,10 +130,6 @@ AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME
-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)