Enable largefile support by default.
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 6 Aug 2010 19:44:16 +0000 (15:44 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 6 Aug 2010 19:46:45 +0000 (15:46 -0400)
Now that we only expose 64-bit offset values in Camel's public API,
this should be safe to enable by default.

configure.ac

index 4560f77..44d6db8 100644 (file)
@@ -1282,9 +1282,9 @@ dnl ******************************
 AC_ARG_ENABLE([largefile],
        AS_HELP_STRING([--enable-largefile],
        [enable support for large files [[default=no]]]),
-       [],[enable_largefile="no"])
+       [],[enable_largefile="yes"])
 
-if test "x$enable_largefile" != "xno"; then
+if test "x$enable_largefile" != "xyes"; then
        AC_SYS_LARGEFILE
        AC_CACHE_CHECK([for _LARGEFILE64_SOURCE value needed for large files], [ac_cv_largefile64_source],
        [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(