summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac
index a2a5b12..41fabbc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,30 +181,6 @@ esac
181 181
182# check for large file support 182# check for large file support
183AC_SYS_LARGEFILE 183AC_SYS_LARGEFILE
184LFS_CFLAGS=''
185if test "$enable_largefile" != no; then
186 if test "$ac_cv_sys_file_offset_bits" != 'no'; then
187 LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
188 else
189 AC_MSG_CHECKING(for native large file support)
190 AC_RUN_IFELSE([AC_LANG_SOURCE([#include <unistd.h>
191 int main (int argc, char **argv)
192 {
193 exit(!(sizeof(off_t) == 8));
194 }])],
195 [ac_cv_sys_file_offset_bits=64; AC_DEFINE(_FILE_OFFSET_BITS,64)
196 AC_MSG_RESULT(yes)],
197 [AC_MSG_RESULT(no)])
198 fi
199 if test "$ac_cv_sys_large_files" != 'no'; then
200 LFS_CFLAGS="$LFS_CFLAGS -D_LARGE_FILES=1"
201 fi
202 AC_FUNC_FSEEKO
203 if test "$ac_cv_sys_largefile_source" != 'no'; then
204 LFS_CFLAGS="$LFS_CFLAGS -D_LARGEFILE_SOURCE=1"
205 fi
206fi
207AC_SUBST(LFS_CFLAGS)
208 184
209m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) 185m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
210 186