xref: /php-src/ext/com_dotnet/config.w32 (revision 03cbb3ee)
1// vim:ft=javascript
2
3ARG_ENABLE("com-dotnet", "COM and .Net support", "yes,shared");
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, "Define to 1 if the PHP extension 'com_dotnet' is available.");
12	CHECK_HEADER_ADD_INCLUDE('mscoree.h', 'CFLAGS_COM_DOTNET');
13}
14