[mutter] config: Add PACKAGE_NAME macro
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] config: Add PACKAGE_NAME macro
- Date: Thu, 1 Sep 2022 15:38:14 +0000 (UTC)
commit 508d3fe021c7cd659360172a15f73621e2261454
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Nov 29 20:31:01 2021 +0100
config: Add PACKAGE_NAME macro
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
config.h.meson | 3 +++
meson.build | 1 +
2 files changed, 4 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
index a977540d4c..e6ff572f5f 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -4,6 +4,9 @@
/* Version number of package */
#mesondefine VERSION
+/* Name of package */
+#mesondefine PACKAGE_NAME
+
/* Version number of package */
#mesondefine PACKAGE_VERSION
diff --git a/meson.build b/meson.build
index 7af8a6aa74..e383be77c1 100644
--- a/meson.build
+++ b/meson.build
@@ -486,6 +486,7 @@ cc.compiles('void main (void) { __builtin_ffsl (0); __builtin_popcountl (0); }')
cdata = configuration_data()
cdata.set_quoted('GETTEXT_PACKAGE', gettext_package)
cdata.set_quoted('VERSION', meson.project_version())
+cdata.set_quoted('PACKAGE_NAME', meson.project_name())
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
cdata.set('HAVE_EGL', have_egl)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]