Index: gcc/configure.ac =================================================================== --- gcc/configure.ac (revision 166189) +++ gcc/configure.ac (working copy) @@ -304,6 +304,8 @@ AC_USE_SYSTEM_EXTENSIONS AC_PROG_CPP AC_C_INLINE +AC_SYS_LARGEFILE + # sizeof(char) is 1 by definition. AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(short) Index: libcpp/configure.ac =================================================================== --- libcpp/configure.ac (revision 166218) +++ libcpp/configure.ac (working copy) @@ -14,6 +14,8 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_RANLIB +AC_SYS_LARGEFILE + # See if we are building gcc with C++. # Do this early so setting lang to C++ affects following tests AC_ARG_ENABLE(build-with-cxx,