1*fcfd9267Selricdnl Id 2f59d82ffSelricdnl 3f59d82ffSelricdnl Figure out what flags we need for 64-bit file access, and also set 4f59d82ffSelricdnl them on the command line. 5f59d82ffSelricdnl 6f59d82ffSelricAC_DEFUN([rk_SYS_LARGEFILE],[ 7f59d82ffSelricAC_REQUIRE([AC_SYS_LARGEFILE])dnl 8f59d82ffSelricdnl need to set this on the command line, since it might otherwise break 9f59d82ffSelricdnl with generated code, such as lex 10f59d82ffSelricif test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then 11f59d82ffSelric CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files" 12f59d82ffSelricfi 13f59d82ffSelricif test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then 14f59d82ffSelric CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" 15f59d82ffSelricfi 16f59d82ffSelric]) 17