diff options
author | Reinhard Tartler <siretart@tauware.de> | 2009-04-13 09:36:22 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2009-04-13 09:36:22 +0200 |
commit | b591c86a418e8d5a0d1c1afd319d9acdad6fd4e3 (patch) | |
tree | dbd40985e2ad6fd3bee55c4613f55ed29ecda7ce /configure.ac | |
parent | a84d45498bd861c9225080232948a99c2e317bb8 (diff) |
Import upstream version 0.11~rc3~r2502
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index a6e8c812..e171d4ad 100644 --- a/configure.ac +++ b/configure.ac @@ -241,14 +241,20 @@ AC_CHECK_DECLS([XATTR_NOFOLLOW],,, [[#include <sys/xattr.h>]]) ## Check for large file support active. AC_SYS_LARGEFILE has already worked ## out how to enable it if necessary, we just use this to report to the user -AC_CACHE_CHECK([if we have large file support enabled], [box_cv_have_large_file_support], - [AC_TRY_RUN([AC_LANG_PROGRAM([[$ac_includes_default]], [[ +AC_CACHE_CHECK([if we have large file support enabled], + [box_cv_have_large_file_support], + [AC_TRY_RUN([ + $ac_includes_default + int main() + { return sizeof(off_t)==4; - ]])], + } + ], [box_cv_have_large_file_support=yes], [box_cv_have_large_file_support=no], [box_cv_have_large_file_support=no # safe for cross-compile] - )]) + ) + ]) if test "x$box_cv_have_large_file_support" = "xyes"; then AC_DEFINE([HAVE_LARGE_FILE_SUPPORT], [1], |