2
===================================================================
6
PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
10
- if test "$PHP_MEMCACHE_SESSION" != "no"; then
11
- AC_MSG_CHECKING([for session includes])
12
- if test -f $abs_srcdir/include/php/ext/session/php_session.h; then
13
- session_inc_path=$abs_srcdir/include/php
14
- elif test -f $abs_srcdir/ext/session/php_session.h; then
15
- session_inc_path=$abs_srcdir
16
- elif test -f $prefix/include/php/ext/session/php_session.h; then
17
- session_inc_path=$prefix/include/php
22
- if test "$session_inc_path" = ""; then
23
- AC_MSG_ERROR([Cannot find php_session.h])
25
- AC_MSG_RESULT([$session_inc_path])
29
AC_MSG_CHECKING([for memcache session support])
30
if test "$PHP_MEMCACHE_SESSION" != "no"; then
31
AC_MSG_RESULT([enabled])
32
AC_DEFINE(HAVE_MEMCACHE_SESSION,1,[Whether memcache session handler is enabled])
33
AC_DEFINE(HAVE_MEMCACHE,1,[Whether you want memcache support])
34
- PHP_NEW_EXTENSION(memcache, memcache.c memcache_session.c, $ext_shared,,-I$session_inc_path)
35
+ PHP_NEW_EXTENSION(memcache, memcache.c memcache_session.c, $ext_shared,,)
36
ifdef([PHP_ADD_EXTENSION_DEP],
38
PHP_ADD_EXTENSION_DEP(memcache, session)