config: Add PACKAGE_NAME macro
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
This commit is contained in:
parent
f4be29eec7
commit
508d3fe021
@ -4,6 +4,9 @@
|
|||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#mesondefine VERSION
|
#mesondefine VERSION
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#mesondefine PACKAGE_NAME
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#mesondefine PACKAGE_VERSION
|
#mesondefine PACKAGE_VERSION
|
||||||
|
|
||||||
|
@ -486,6 +486,7 @@ cc.compiles('void main (void) { __builtin_ffsl (0); __builtin_popcountl (0); }')
|
|||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
cdata.set_quoted('GETTEXT_PACKAGE', gettext_package)
|
cdata.set_quoted('GETTEXT_PACKAGE', gettext_package)
|
||||||
cdata.set_quoted('VERSION', meson.project_version())
|
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_quoted('PACKAGE_VERSION', meson.project_version())
|
||||||
|
|
||||||
cdata.set('HAVE_EGL', have_egl)
|
cdata.set('HAVE_EGL', have_egl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user