Skip to content

Commit acfafc2

Browse files
committed
Remove unused PHP_SYS_LFS m4 macro
This was once named as AC_SYS_LFS and today it is not used in current PHP code base anymore.
1 parent 44b874a commit acfafc2

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

acinclude.m4

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,52 +1505,6 @@ main() {
15051505
fi
15061506
])
15071507

1508-
dnl
1509-
dnl PHP_SYS_LFS
1510-
dnl
1511-
dnl The problem is that the default compilation flags in Solaris 2.6 won't
1512-
dnl let programs access large files; you need to tell the compiler that
1513-
dnl you actually want your programs to work on large files. For more
1514-
dnl details about this brain damage please see:
1515-
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
1516-
dnl
1517-
dnl Written by Paul Eggert <eggert@twinsun.com>.
1518-
dnl
1519-
AC_DEFUN([PHP_SYS_LFS],
1520-
[dnl
1521-
# If available, prefer support for large files unless the user specified
1522-
# one of the CPPFLAGS, LDFLAGS, or LIBS variables.
1523-
AC_MSG_CHECKING([whether large file support needs explicit enabling])
1524-
ac_getconfs=''
1525-
ac_result=yes
1526-
ac_set=''
1527-
ac_shellvars='CPPFLAGS LDFLAGS LIBS'
1528-
for ac_shellvar in $ac_shellvars; do
1529-
case $ac_shellvar in
1530-
CPPFLAGS[)] ac_lfsvar=LFS_CFLAGS ;;
1531-
*[)] ac_lfsvar=LFS_$ac_shellvar ;;
1532-
esac
1533-
eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
1534-
(getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
1535-
ac_getconf=`getconf $ac_lfsvar`
1536-
ac_getconfs=$ac_getconfs$ac_getconf
1537-
eval ac_test_$ac_shellvar=\$ac_getconf
1538-
done
1539-
case "$ac_result$ac_getconfs" in
1540-
yes[)] ac_result=no ;;
1541-
esac
1542-
case "$ac_result$ac_set" in
1543-
yes?*[)] ac_result="yes, but $ac_set is already set, so use its settings"
1544-
esac
1545-
AC_MSG_RESULT([$ac_result])
1546-
case $ac_result in
1547-
yes[)]
1548-
for ac_shellvar in $ac_shellvars; do
1549-
eval $ac_shellvar=\$ac_test_$ac_shellvar
1550-
done ;;
1551-
esac
1552-
])
1553-
15541508
dnl
15551509
dnl PHP_SOCKADDR_CHECKS
15561510
dnl

0 commit comments

Comments
 (0)