[libsoup] build: Add preconfigured config.h(.win32.in) for Windows builds



commit 81a46b6217727979ed7b8262d5e148a977ddef18
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Nov 26 20:49:23 2015 +0800

    build: Add preconfigured config.h(.win32.in) for Windows builds
    
    MSVC builds do not use autotools, so we need to provide a pre-configured
    config.h that is usable for Visual Studio builds.
    
    Thanks to Ignacio Casel Quinteiro for initiating this drive with his
    recent work to export symbols and variables, which this work was based
    upon.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758759

 config.h.win32.in |  112 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
new file mode 100644
index 0000000..93e6d14
--- /dev/null
+++ b/config.h.win32.in
@@ -0,0 +1,112 @@
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Apache httpd */
+/* #undef APACHE_HTTPD */
+
+/* The gettext domain name */
+#define GETTEXT_PACKAGE "libsoup"
+
+/* Whether or not apache can be used for tests */
+/* #undef HAVE_APACHE */
+
+/* Apache is 2.2.x */
+/* #undef HAVE_APACHE_2_2 */
+
+/* Apache is 2.4.x */
+/* #undef HAVE_APACHE_2_4 */
+
+/* Whether or not curl can be used for tests */
+#define HAVE_CURL 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+/* #undef HAVE_DLFCN_H */
+
+/* Define to 1 if you have the `gmtime_r' function. */
+/* #undef HAVE_GMTIME_R */
+
+/* Defined if GNOME support is enabled */
+#define HAVE_GNOME 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
+#define HAVE_INTTYPES_H 1
+#endif
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Have php-xmlrpc */
+/* #undef HAVE_PHP_XMLRPC */
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#if !defined (_MSC_VER) || (_MSC_VER >= 1600)
+#define HAVE_STDINT_H 1
+#endif
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#ifndef _MSC_VER
+#define HAVE_STRINGS_H 1
+#endif
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#ifndef _MSC_VER
+#defin HAVE_UNISTD_H 1
+#endif
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Samba's 'winbind' daemon helper 'ntlm_auth' which can be used for NTLM
+   single-sign-on */
+/* #undef NTLM_AUTH */
+
+/* Name of package */
+#define PACKAGE "@PACKAGE@"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "@PACKAGE_NAME@"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "@PACKAGE_NAME@ @PACKAGE_VERSION@"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "@PACKAGE_TARNAME@"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "@PACKAGE_VERSION@"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Whether or not use Samba's 'winbind' daemon helper 'ntlm_auth' for NTLM
+   single-sign-on */
+/* #undef USE_NTLM_AUTH */
+
+/* Version number of package */
+#define VERSION "@PACKAGE_VERSION"
+
+/* defines how to decorate public symbols while building */
+#ifdef _MSC_VER
+#define _SOUP_EXTERN __declspec (dllexport) extern
+#else
+#define _SOUP_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
+#endif


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