>
>  you talk about compile-time dependency, and Johannes talks about run-time
>> dependency.
>> something like this:
>> https://github.com/php/php-src/blob/master/ext/pdo_mysql/pdo_mysql.c#L225
>>
>>
One more question about this: after I added ZEND_MOD_REQUIRED, "make test"
command began to throw out warnings:

PHP Warning:  Cannot load module 'dom_varimport' because required module
'dom' is not loaded in Unknown on line 0

It executes the following command line (in run-tests.php which is generated
by phpize, line 265):

/usr/bin/php  -n -c '/root/dom_varimport/tmp-php.ini'  ...  -d
"extension_dir=/root/dom_varimport/modules/" -d
"extension=dom_varimport.so" /root/dom_varimport/run-test-info.php

Maybe PECL test framework does not support extension dependencies (I am
worrying about extension_dir redeclaration: if it redeclares extension_dir,
how does it plan to access "standard" extensions like DOM etc.)?

Reply via email to