[cogl/cogl-latest-win: 13/21] config.h.win32.in: Update to conform to configure.ac




commit d1a2fe8bbf1b2a3c2dfeba062e7c9b86043cb67a
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Oct 15 09:53:24 2021 +0800

    config.h.win32.in: Update to conform to configure.ac
    
    Some entries were added or changed in the generated config.h.in
    template, so update config.h.win32.in to conform better to it.
    
    Also, since we are shifting to a NMake-based build for Visual Studio,
    just let NMake pass the compiler define flags for the optional features
    that we might enable during the build.

 config.h.win32.in | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index b40357cf..3354f90a 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -28,6 +28,9 @@
    language is requested. */
 #define ENABLE_NLS 1
 
+/* Whether to enable building unit tests */
+/* #undef ENABLE_UNIT_TESTS */
+
 /* The prefix for our gettext translation domains. */
 #define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
 
@@ -101,7 +104,7 @@
 /* #undef HAVE_ATEXIT */
 
 /* Whether we have cairo or not */
-#define HAVE_CAIRO 1
+/* #undef HAVE_CAIRO */
 
 /* Define to 1 if you have the <CE4100/libgdl.h> header file. */
 /*#undef HAVE_CE4100_LIBGDL_H*/
@@ -126,6 +129,9 @@
 /* Have GLES 2.0 for rendering */
 /*#undef HAVE_COGL_GLES2*/
 
+/* Have WebGL for rendering */
+/* #undef HAVE_COGL_WEBGL */
+
 /* Define if the GNU dcgettext() function is already present or preinstalled.
    */
 #define HAVE_DCGETTEXT 1
@@ -166,6 +172,9 @@
 /* Define to 1 if you have the <float.h> header file. */
 #define HAVE_FLOAT_H 1
 
+/* Has the __FLOAT_WORD_ORDER macro */
+/* #undef HAVE_FLOAT_WORD_ORDER */
+
 /* Define to 1 if you have the <fstab.h> header file. */
 /* #undef HAVE_FSTAB_H */
 
@@ -303,6 +312,11 @@
 /* Define to 1 if you have the `setmntent' function. */
 /* #undef HAVE_SETMNTENT */
 
+/* Define to 1 if you have the `sincos' function. */
+#if !defined (_MSC_VER) || (_MSC_VER >= 1915)
+# define HAVE_SINCOS 1
+#endif
+
 /* Define to 1 if you have the `splice' function. */
 /* #undef HAVE_SPLICE */
 
@@ -508,8 +522,8 @@
    */
 #define LT_OBJDIR ".libs"
 
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-/* #undef NO_MINUS_C_MINUS_O */
+/* global 'sys_errlist' not found */
+/* #undef NO_SYS_ERRLIST */
 
 /* Define to the address where bug reports for this package should be sent. */
 #define PACKAGE_BUGREPORT ""
@@ -574,7 +588,7 @@
 #define STDC_HEADERS 1
 
 /* Use GdkPixbuf for loading image data */
-#define USE_GDKPIXBUF 1
+/* #undef USE_GDKPIXBUF */
 
 /* Use internal image decoding for loading image data */
 /*#undef USE_INTERNAL*/
@@ -603,6 +617,8 @@
 # undef __EXTENSIONS__
 #endif
 
+/* Cogl is being compiled with emscripten */
+/* #undef USING_EMSCRIPTEN */
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]