hholzgra                Tue Feb  8 07:12:33 2005 EDT

  Modified files:              
    /phpdoc     configure.in 
  Log:
  added option to specify location of PECL source dir (to be used later)
  
  
http://cvs.php.net/diff.php/phpdoc/configure.in?r1=1.211&r2=1.212&ty=u
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.211 phpdoc/configure.in:1.212
--- phpdoc/configure.in:1.211   Wed Jan 19 17:22:37 2005
+++ phpdoc/configure.in Tue Feb  8 07:12:31 2005
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.211 2005/01/19 22:22:37 nlopess Exp $
+dnl $Id: configure.in,v 1.212 2005/02/08 12:12:31 hholzgra Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -431,6 +431,28 @@
 
 dnl }}}
 
+dnl {{{ check for PECL sources
+
+AC_MSG_CHECKING(for PECL source path)
+AC_ARG_WITH(pear,
+[  --with-pear-source=[DIR]  look at the specified pear directory],
+[
+  if test -d "$withval" ; then
+    PECL_SOURCE=$withval
+  else
+    PECL_SOURCE=$srcdir/../pear
+  fi
+],[
+  PECL_SOURCE=$srcdir/../pear
+])
+if test ! -d $PECL_SOURCE/PECL; then
+       PECL_SOURCE=no
+fi
+AC_MSG_RESULT($PECL_SOURCE)
+AC_SUBST(PECL_SOURCE)
+
+dnl }}}
+
 dnl {{{ check for additional extension sources
 
 AC_MSG_CHECKING(for additional PHP extensions)

Reply via email to