X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=blobdiff_plain;f=config.w32;h=7a09923d515edbd02d753c7e3e2fc59ad2adb577;hp=5bdf84e5f1caead56ccca2b650860a3db536c33e;hb=d48a944c053084382b2b0a914cb1058cda89d99c;hpb=52bb48e9f47f90805ead0caedac1799ba287b017 diff --git a/config.w32 b/config.w32 index 5bdf84e..7a09923 100644 --- a/config.w32 +++ b/config.w32 @@ -1,10 +1,24 @@ - - -ARG_ENABLE("raphf", "for raphf support", "no"); - -if (PHP_RAPHF == "yes") { - EXTENSION("raphf", "php_raphf.c"); - - AC_DEFINE("HAVE_RAPHF", 1); - PHP_INSTALL_HEADERS("ext/raphf", "php_raphf.h"); -} +ARG_ENABLE("raphf", "for raphf support", "no"); + +if (PHP_RAPHF == "yes") { + var PHP_RAPHF_HEADERS=glob(configure_module_dirname + "/src/*.h"); + var PHP_RAPHF_SRC_ARRAY=glob(configure_module_dirname + "/src/*.c"); + var PHP_RAPHF_SOURCES=""; + for (var i=0; i