summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2004-10-21 23:50:28 (GMT)
committerEdin Kadribasic <edink@php.net>2004-10-21 23:50:28 (GMT)
commit7f7ce4755363c1910076880a19175526f0d44c70 (patch)
tree2666951e674f974c5dbf5b99d8bdb0c189a56d01 /configure.in
parent4b947b0525750993dbd54ac006daff128f96804b (diff)
downloadphp-7f7ce4755363c1910076880a19175526f0d44c70.tar.gz
MFB: Linux LFS support, fixes 27792
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ba541bc..7e08d95 100644
--- a/configure.in
+++ b/configure.in
@@ -220,6 +220,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