X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config.w32;h=939cc1bb08107f2495a6276832a7450911413c78;hb=0327777cffae9b7b40671c475f85e733e331c916;hp=e33ea76210842ed5f6793f7076321d721c43336e;hpb=2dae10fd73cd2038c04d2001af346d0ffe646d41;p=m6w6%2Fext-raphf diff --git a/config.w32 b/config.w32 index e33ea76..939cc1b 100644 --- a/config.w32 +++ b/config.w32 @@ -1,7 +1,15 @@ - - -ARG_ENABLE("raphf", "for raphf support", "no"); - -if (PHP_RAPHF == "yes") { - EXTENSION("raphf", "php_raphf.c"); -} +ARG_ENABLE("raphf", "for raphf support", "no"); + +if (PHP_RAPHF == "yes") { + var PHP_RAPHF_HEADERS=glob("src/*.h"), PHP_RAPHF_SOURCES=glob("src/*.c"); + + EXTENSION("raphf", PHP_RAPHF_SOURCES); + PHP_INSTALL_HEADERS("ext/raphf", "php_propro.h"); + for (var i=0; i