xref: /PHP-8.1/ext/com_dotnet/config.w32 (revision 8d3f8ca1)
1// vim:ft=javascript
2
3ARG_ENABLE("com-dotnet", "COM and .Net support", "yes");
4
5if (PHP_COM_DOTNET == "yes") {
6	CHECK_LIB('oleaut32.lib', 'com_dotnet');
7	EXTENSION("com_dotnet", "com_com.c com_dotnet.c com_extension.c \
8		com_handlers.c com_iterator.c com_misc.c com_olechar.c \
9		com_typeinfo.c com_variant.c com_wrapper.c com_saproxy.c com_persist.c",
10		null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
11	AC_DEFINE('HAVE_COM_DOTNET', 1, 'Have COM_DOTNET support');
12	CHECK_HEADER_ADD_INCLUDE('mscoree.h', 'CFLAGS_COM_DOTNET');
13}
14