edink Thu Oct 21 19:47:59 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src configure.in
Log:
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.
http://cvs.php.net/diff.php/php-src/configure.in?r1=1.396.2.129&r2=1.396.2.130&ty=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.129 php-src/configure.in:1.396.2.130
--- php-src/configure.in:1.396.2.129 Sat Sep 25 21:17:42 2004
+++ php-src/configure.in Thu Oct 21 19:47:59 2004
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.129 2004/09/26 01:17:42 wez Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.130 2004/10/21 23:47:59 edink Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -196,6 +196,13 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php