libwinstorecompat: new library to help porting to Windows Store
This library can be linked to code targetting Windows Store.
Functions that are not available anymore for Windows Store are redefined,
using similar functions that are allowed.
'Forbidden' functions can be found either by browsing MSDN, either by
running WACK (Windows Application Certification Kit) on the application.
For now the only symbol redefined is CreateEventW() but others will follow.
Note: this library has no headers, since we don't add new functions but only
redefine existing ones.
For this to work, -lwinstorecompat should appear on the linking cmdline after
object files using it, but before any library defining the same symbols.
In this case: -lkernel32
So: gcc -shared -o foo.dll foo.o -lwinstorecompat -lkernel32
should work.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5542 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-libraries/winstorecompat/configure.ac b/mingw-w64-libraries/winstorecompat/configure.ac
new file mode 100644
index 0000000..046837f
--- /dev/null
+++ b/mingw-w64-libraries/winstorecompat/configure.ac
@@ -0,0 +1,18 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.65])
+AC_INIT([mingw-w64-winstorecompat], [1.0], [mingw-w64-public@lists.sf.net])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_SRCDIR([src/CreateEventW.c])
+
+AM_INIT_AUTOMAKE([foreign subdir-objects])
+AM_MAINTAINER_MODE
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_RANLIB
+AC_CHECK_TOOLS([AR], [ar], [:])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT