]> git.sesse.net Git - vlc/commitdiff
Configure: provide a switch to build for a "Windows Store App" target
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 21 Jan 2013 22:28:52 +0000 (23:28 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 22 Jan 2013 08:25:49 +0000 (09:25 +0100)
"Windows Store App" are what we used to call Metro Apps, or Modern UI
apps.
They are apps without HWMD and without Console

configure.ac

index 968c2e96099cb7766b5a4dade4bcc8c6c599456a..40dcc710a78f872e301543cab96819e229da2184 100644 (file)
@@ -461,6 +461,16 @@ dnl Check for fnative-struct or mms-bitfields support for mingw32
     fi
 ])
 
+AC_ARG_ENABLE(winstore_app,
+     AS_HELP_STRING([--enable-winstore-app],
+                    [Build targetted for Windows Store apps (default disabled)]))
+
+AS_IF([test "${SYS}" = "mingw32"], [
+    AS_IF([test "${enable_winstore_app}" == "yes"], [
+       AC_DEFINE(WINAPI_FAMILY_APP, 1, [Define if you want to build for Windows Store apps])])
+    ])
+
+
 dnl
 dnl Buggy glibc prevention. Purposedly not cached.
 dnl See sourceware.org bugs 5058 and 5443.