summaryrefslogtreecommitdiff
path: root/ext/session/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-02 06:05:16 +0000
committerSascha Schumann <sas@php.net>2002-10-02 06:05:16 +0000
commite1dd35bddb25e4f88567c543d96418fe985afbd4 (patch)
tree7aaa42aa046d67965d04be36610dc44c26eaaf44 /ext/session/config.m4
parentd4c7e8bbaf83905b8e83295c5546d0bf328182a5 (diff)
downloadphp-git-e1dd35bddb25e4f88567c543d96418fe985afbd4.tar.gz
The pread/pwrite macros check for a bug in the Linux glibc now.
The bug causes the kernel not to return -1/EAGAIN. The new test case has been borrowed from the Linux Test Project. This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be defined even if the more complex checks failed (ac_cv_func_NAME=no was set albeit with no difference).
Diffstat (limited to 'ext/session/config.m4')
-rw-r--r--ext/session/config.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/session/config.m4 b/ext/session/config.m4
index 8bb43b676b..4e5a4ddd2c 100644
--- a/ext/session/config.m4
+++ b/ext/session/config.m4
@@ -9,7 +9,6 @@ PHP_ARG_WITH(mm,for mm support,
[ --with-mm[=DIR] Include mm support for session storage], no, no)
if test "$PHP_SESSION" != "no"; then
- AC_CHECK_FUNCS(pread pwrite)
PHP_PWRITE_TEST
PHP_PREAD_TEST
PHP_NEW_EXTENSION(session, session.c mod_files.c mod_mm.c mod_user.c, $ext_shared)