~ubuntu-branches/ubuntu/trusty/php-memcache/trusty

« back to all changes in this revision

Viewing changes to debian/patches/fix_paths_m4.patch

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Habouzit
  • Date: 2007-04-10 21:35:03 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070410213503-egpfyfd8ew7tx4yy
Tags: 2.1.2-2
Dropping php4 support (Closes: #418304).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: config9.m4
 
2
===================================================================
 
3
--- config9.m4.orig
 
4
+++ config9.m4
 
5
@@ -62,32 +62,12 @@
 
6
     PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
 
7
   fi
 
8
  
 
9
-
 
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
 
18
-    else
 
19
-      session_inc_path=""
 
20
-    fi
 
21
-
 
22
-    if test "$session_inc_path" = ""; then
 
23
-      AC_MSG_ERROR([Cannot find php_session.h])
 
24
-    else
 
25
-      AC_MSG_RESULT([$session_inc_path])
 
26
-    fi
 
27
-  fi
 
28
-
 
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],
 
37
     [
 
38
       PHP_ADD_EXTENSION_DEP(memcache, session)