From: Edin Kadribasic Date: Thu, 21 Oct 2004 23:47:59 +0000 (+0000) Subject: Enable LFS (large file support) for Linux. Support for other operating X-Git-Tag: php-4.3.10RC1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a27a0100761f5acc123574b1459d8d36273bee6;p=php 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. --- 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