mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
cmake: Update config.h.cmake.in
This should enable TLS and destructors.
This commit is contained in:
parent
5cffba8381
commit
e2ce828c9b
@ -91,7 +91,6 @@ math(EXPR LIBXML_VERSION_NUMBER "
|
||||
set(MODULE_EXTENSION "${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
|
||||
set(PACKAGE "libxml2")
|
||||
set(PACKAGE_BUGREPORT "xml@gnome.org")
|
||||
set(PACKAGE_NAME "libxml2")
|
||||
set(PACKAGE_STRING "libxml2 ${VERSION}")
|
||||
set(PACKAGE_TARNAME "libxml2")
|
||||
@ -157,7 +156,6 @@ if (NOT MSVC)
|
||||
check_include_files(sys/timeb.h HAVE_SYS_TIMEB_H)
|
||||
check_include_files(sys/time.h HAVE_SYS_TIME_H)
|
||||
check_include_files(unistd.h HAVE_UNISTD_H)
|
||||
set(LT_OBJDIR ".libs/")
|
||||
check_c_source_compiles("
|
||||
#include <stddef.h>
|
||||
#include <sys/socket.h>
|
||||
@ -708,7 +706,6 @@ set(CPACK_DEBIAN_RUNTIME_PACKAGE_RECOMMENDS "${PACKAGE_TARNAME}-utils")
|
||||
set(CPACK_DEBIAN_RUNTIME_PACKAGE_SECTION "libs")
|
||||
set(CPACK_NSIS_PACKAGE_NAME ${PACKAGE_STRING})
|
||||
set(CPACK_NSIS_URL_INFO_ABOUT ${PACKAGE_URL})
|
||||
set(CPACK_PACKAGE_CONTACT ${PACKAGE_BUGREPORT})
|
||||
set(CPACK_PACKAGE_DISPLAY_NAME ${PACKAGE_STRING})
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "${PACKAGE_TARNAME}-${PACKAGE_VERSION}")
|
||||
set(CPACK_PACKAGE_NAME ${PACKAGE_TARNAME})
|
||||
|
@ -1,12 +1,12 @@
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define if __attribute__((destructor)) is accepted */
|
||||
/* A form that will not confuse apibuild.py */
|
||||
#cmakedefine ATTRIBUTE_DESTRUCTOR @ATTRIBUTE_DESTRUCTOR@
|
||||
|
||||
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
||||
#cmakedefine HAVE_ARPA_INET_H 1
|
||||
|
||||
/* Define if __attribute__((destructor)) is accepted */
|
||||
#cmakedefine HAVE_ATTRIBUTE_DESTRUCTOR 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
/* Define to 1 if you have the <poll.h> header file. */
|
||||
#cmakedefine HAVE_POLL_H 1
|
||||
|
||||
/* Define if <pthread.h> is there */
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#cmakedefine HAVE_PTHREAD_H 1
|
||||
|
||||
/* Have shl_load based dso */
|
||||
@ -93,30 +93,6 @@
|
||||
/* Define to 1 if you have the <zlib.h> header file. */
|
||||
#cmakedefine HAVE_ZLIB_H 1
|
||||
|
||||
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@"
|
||||
|
||||
/* 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_STRING@"
|
||||
|
||||
/* 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 "@PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
/* Support for IPv6 */
|
||||
#cmakedefine SUPPORT_IP6 1
|
||||
|
||||
@ -126,6 +102,9 @@
|
||||
/* Determine what socket length (socklen_t) data type is */
|
||||
#cmakedefine XML_SOCKLEN_T @XML_SOCKLEN_T@
|
||||
|
||||
/* TLS specifier */
|
||||
#cmakedefine XML_THREAD_LOCAL @XML_THREAD_LOCAL@
|
||||
|
||||
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
#define below would cause a syntax error. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user