mirror of
https://github.com/GNOME/libxml2.git
synced 2025-01-18 14:33:59 +08:00
build: Remove unused variables
This commit is contained in:
parent
e9d941f942
commit
de47847293
@ -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()
|
||||
|
@ -31,9 +31,6 @@
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* System configuration directory (/etc) */
|
||||
#cmakedefine XML_SYSCONFDIR "@XML_SYSCONFDIR@"
|
||||
|
||||
|
@ -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])
|
||||
|
@ -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'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user