diff options
author | Edin Kadribasic <edink@php.net> | 2004-10-21 23:47:59 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2004-10-21 23:47:59 +0000 |
commit | 9a27a0100761f5acc123574b1459d8d36273bee6 (patch) | |
tree | 60703da9375587f9302c9399be002e2a3247e7bc | |
parent | 045499b31f2626c755ed89d4b47e51354cd0fd87 (diff) | |
download | php-git-9a27a0100761f5acc123574b1459d8d36273bee6.tar.gz |
Enable LFS (large file support) for Linux. Support for other operating
systems can be added later. FreeBSD does not seem to require any
special compile flags to enable LFS.
Fixes #27792.
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b282d7e6e0..f60068ba64 100644 --- a/configure.in +++ b/configure.in @@ -196,6 +196,13 @@ case $host_alias in LIBS="$LIBS -lbe -lroot";; *mips*) CPPFLAGS="$CPPFLAGS -D_XPG_IV";; +*linux*) + AC_MSG_CHECKING([for Linux LFS_CFLAGS]) + LFS_LINUX_CFLAGS=`getconf LFS_CFLAGS` + if test "x$LFS_LINUX_CFLAGS" != "x"; then + CFLAGS="$CFLAGS $LFS_LINUX_CFLAGS" + fi + AC_MSG_RESULT([$LFS_LINUX_CFLAGS]) esac |