[libsoup] build: Remove unused variables
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] build: Remove unused variables
- Date: Fri, 30 Oct 2020 20:02:44 +0000 (UTC)
commit 7bf7a5b73ec2c42ff898b9bb7a65874987685d85
Author: Patrick Griffis <pgriffis igalia com>
Date: Fri Oct 30 15:01:34 2020 -0500
build: Remove unused variables
libsoup/meson.build | 5 -----
meson.build | 4 ----
2 files changed, 9 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 6b37f4c8..6dcc4af7 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -145,11 +145,6 @@ endif
install_headers(soup_installed_headers, subdir : includedir)
-version_cdata = configuration_data()
-version_cdata.set('SOUP_MAJOR_VERSION', soup_version_major)
-version_cdata.set('SOUP_MINOR_VERSION', soup_version_minor)
-version_cdata.set('SOUP_MICRO_VERSION', soup_version_micro)
-
soup_version_h = configure_file(
input : 'soup-version.h.in',
output : 'soup-version.h',
diff --git a/meson.build b/meson.build
index 7cde64dc..1650cf6b 100644
--- a/meson.build
+++ b/meson.build
@@ -7,10 +7,6 @@ project('libsoup', 'c',
gnome = import('gnome')
soup_version = meson.project_version()
-version_arr = soup_version.split('.')
-soup_version_major = version_arr[0]
-soup_version_minor = version_arr[1]
-soup_version_micro = version_arr[2]
# Before making a release, the libversion string should be modified.
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]