auto-configure large-file support

svn: r15931
This commit is contained in:
Matthew Flatt 2009-09-09 12:40:20 +00:00
parent 34b48487f2
commit 02239ff6d9
2 changed files with 12 additions and 0 deletions

6
src/configure vendored
View File

@ -7060,6 +7060,12 @@ if test "${enable_memtrace}" = "yes" ; then
GC2OPTIONS="$GC2OPTIONS -DNEWGC_MEMORY_TRACE"
fi
LFS_CFLAGS=`getconf LFS_CFLAGS 2> /dev/null`
if test "${LFS_CFLAGS}" != "" ; then
echo "Large-file support: ${LFS_FLAGS}"
PREFLAGS="${PREFLAGS} ${LFS_CFLAGS}"
fi
###### Get data sizes, stack direction, and endianness #######
{ echo "$as_me:$LINENO: checking for char" >&5

View File

@ -893,6 +893,12 @@ if test "${enable_memtrace}" = "yes" ; then
GC2OPTIONS="$GC2OPTIONS -DNEWGC_MEMORY_TRACE"
fi
LFS_CFLAGS=`getconf LFS_CFLAGS 2> /dev/null`
if test "${LFS_CFLAGS}" != "" ; then
echo "Large-file support: ${LFS_FLAGS}"
PREFLAGS="${PREFLAGS} ${LFS_CFLAGS}"
fi
###### Get data sizes, stack direction, and endianness #######
AC_CHECK_SIZEOF(char)