cvs: pecl(NON_BLOCKING_IO) /memcache config9.m4
| From: | Mikael Johansson | Date: | Tue, 04 Sep 2007 16:55:53 +0000 |
| Subject: | cvs: pecl(NON_BLOCKING_IO) /memcache config9.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-8506@lists.php.net to get a copy of this message | ||
mikl Tue Sep 4 16:55:53 2007 UTC
Modified files: (Branch: NON_BLOCKING_IO)
/pecl/memcache config9.m4
Log:
Use $phpincludedir instead of manually looking for includes
http://cvs.php.net/viewvc.cgi/pecl/memcache/config9.m4?r1=1.3.2.3&r2=1.3.2.4&diff_format=u
Index: pecl/memcache/config9.m4
diff -u pecl/memcache/config9.m4:1.3.2.3 pecl/memcache/config9.m4:1.3.2.4
--- pecl/memcache/config9.m4:1.3.2.3 Thu Aug 30 18:04:55 2007
+++ pecl/memcache/config9.m4 Tue Sep 4 16:55:53 2007
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config9.m4,v 1.3.2.3 2007/08/30 18:04:55 mikl Exp $
+dnl $Id: config9.m4,v 1.3.2.4 2007/09/04 16:55:53 mikl Exp $
dnl
PHP_ARG_ENABLE(memcache, whether to enable memcache support,
@@ -66,16 +66,12 @@
AC_MSG_CHECKING([for session includes])
session_inc_path=""
- if test -f $abs_srcdir/include/php/ext/session/php_session.h; then
- session_inc_path=$abs_srcdir/include/php
- elif test -f $abs_srcdir/ext/session/php_session.h; then
- session_inc_path=$abs_srcdir
- else
- for i in php4 php5 php6 php; do
- if test -f $prefix/include/$i/ext/session/php_session.h; then
- session_inc_path=$prefix/include/$i
- fi
- done
+ if test -f "$abs_srcdir/include/php/ext/session/php_session.h"; then
+ session_inc_path="$abs_srcdir/include/php"
+ elif test -f "$abs_srcdir/ext/session/php_session.h"; then
+ session_inc_path="$abs_srcdir"
+ elif test -f "$phpincludedir/ext/session/php_session.h"; then
+ session_inc_path="$phpincludedir"
fi
if test "$session_inc_path" = ""; then