cvs: pear /CodeGen_PECL/PECL Extension.php

From: Date: Sun, 12 Nov 2006 07:27:05 +0000
Subject: cvs: pear /CodeGen_PECL/PECL Extension.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-43051@lists.php.net to get a copy of this message
hholzgra Sun Nov 12 07:27:05 2006 UTC Modified files: /pear/CodeGen_PECL/PECL Extension.php Log: http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Extension.php?r1=1.66&r2=1.67&diff_format=u Index: pear/CodeGen_PECL/PECL/Extension.php diff -u pear/CodeGen_PECL/PECL/Extension.php:1.66 pear/CodeGen_PECL/PECL/Extension.php:1.67 --- pear/CodeGen_PECL/PECL/Extension.php:1.66 Sun Nov 12 07:24:00 2006 +++ pear/CodeGen_PECL/PECL/Extension.php Sun Nov 12 07:27:05 2006 @@ -15,7 +15,7 @@ * @author Hartmut Holzgraefe <hartmut@php.net> * @copyright 2005, 2006 Hartmut Holzgraefe * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Extension.php,v 1.66 2006/11/12 07:24:00 hholzgra Exp $ + * @version CVS: $Id: Extension.php,v 1.67 2006/11/12 07:27:05 hholzgra Exp $ * @link http://pear.php.net/package/CodeGen_PECL */ @@ -1749,6 +1749,13 @@ echo " PHP_SUBST({$upname}_SHARED_LIBADD) AC_DEFINE(HAVE_$upname, 1, [ ]) +"; + + foreach ($this->defines as $define) { + echo " AC_DEFINE([$define[name]], [$define[value]], [$define[comment]])\n"; + } + + echo " PHP_NEW_EXTENSION({$this->name}, ".join(" ", array_keys($this->packageFiles['code']))." , \$ext_shared) ";

« previous php.pear.cvs (#43051) next »