ivory/ivory
aszlig 773a341cc2
sys: Use includes from php-config --include-dir
If PHP headers are already available, it feels kinda redundant to clone
the PHP sources and rebuild them again just to generate bindings. So if
php-config is available in $PATH, we don't clone + compile anymore but
use the include directory printed via "php-config --include-dir".

Unfortunately CLang doesn't yet support asm goto, so we now include
php_config.h very early and undef HAVE_ASM_GOTO thereafter. The #ifndef
wrapper in php_config.h will prevent a second inclusion, so we don't get
HAVE_ASM_GOTO defined again.

Signed-off-by: aszlig <aszlig@nix.build>
2019-09-02 02:31:35 +02:00
..
macro return type casting for arrays 2019-04-06 15:57:07 +02:00
src return type casting for arrays 2019-04-06 15:57:07 +02:00
sys sys: Use includes from php-config --include-dir 2019-09-02 02:31:35 +02:00
tests more zval cast tests 2019-04-05 21:27:35 +02:00
Cargo.toml more casting 2019-04-04 19:08:01 +02:00