diff --git a/CMakeLists.txt b/CMakeLists.txt index 4545b27a..a9b84851 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,13 +106,6 @@ math(EXPR LIBXML_VERSION_NUMBER " set(MODULE_EXTENSION "${CMAKE_SHARED_LIBRARY_SUFFIX}") -set(PACKAGE "libxml2") -set(PACKAGE_NAME "libxml2") -set(PACKAGE_STRING "libxml2 ${VERSION}") -set(PACKAGE_TARNAME "libxml2") -set(PACKAGE_URL "https://gitlab.gnome.org/GNOME/libxml2") -set(PACKAGE_VERSION ${VERSION}) - if(LIBXML2_WITH_ICONV) find_package(Iconv REQUIRED) endif() diff --git a/config.h.cmake.in b/config.h.cmake.in index 2dba79ce..a2f7d9b6 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -31,9 +31,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_STDINT_H 1 -/* Version number of package */ -#cmakedefine VERSION "@VERSION@" - /* System configuration directory (/etc) */ #cmakedefine XML_SYSCONFDIR "@XML_SYSCONFDIR@" diff --git a/configure.ac b/configure.ac index fc36df78..7c47778d 100644 --- a/configure.ac +++ b/configure.ac @@ -40,8 +40,6 @@ AC_SUBST(LIBXML_VERSION_INFO) AC_SUBST(LIBXML_VERSION_NUMBER) AC_SUBST(LIBXML_VERSION_EXTRA) -VERSION=${LIBXML_VERSION} - AM_INIT_AUTOMAKE([1.16.3 foreign no-dist-gzip dist-xz]) AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes]) diff --git a/meson.build b/meson.build index 6053bc53..f2ecd11c 100644 --- a/meson.build +++ b/meson.build @@ -225,12 +225,6 @@ endforeach ## config.h config_h = configuration_data() -config_h.set_quoted('PACKAGE_NAME', meson.project_name()) -config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) -config_h.set_quoted('PACKAGE_BIN_DIR', dir_bin) -config_h.set_quoted('PACKAGE_LIB_DIR', dir_lib) -config_h.set_quoted('PACKAGE_DATA_DIR', dir_data) -config_h.set_quoted('LOCALEDIR', dir_locale) config_h.set_quoted('XML_SYSCONFDIR', get_option('prefix') / get_option('sysconfdir'))