[sysprof] Revert "build: remove config.h.meson"



commit 7401e434dcb2114d6ade5e000b62a3bd4357ea76
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 22 12:02:07 2022 -0700

    Revert "build: remove config.h.meson"
    
    This reverts commit 5298e67d121d52396939e24cb8768d0255b7ab67.

 config.h.meson | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 meson.build    |  1 +
 2 files changed, 56 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
new file mode 100644
index 00000000..a84a9268
--- /dev/null
+++ b/config.h.meson
@@ -0,0 +1,55 @@
+#mesondefine API_VERSION_S
+
+#mesondefine DEBUGDIR
+
+#mesondefine DEVELOPMENT_BUILD
+
+#mesondefine ENABLE_LIBUNWIND
+
+#mesondefine ENABLE_NLS
+
+#mesondefine GETTEXT_PACKAGE
+
+#mesondefine HAVE_EXECINFO_H
+
+#mesondefine HAVE_PERF_CLOCKID
+
+#mesondefine HAVE_POLKIT
+
+#mesondefine HAVE_POLKIT_AGENT
+
+#mesondefine HAVE_REALLOCARRAY
+
+#mesondefine HAVE_STDATOMIC_H
+
+#mesondefine HAVE_STRLCPY
+
+#mesondefine HAVE_UNW_SET_CACHE_SIZE
+
+#mesondefine LOCALEDIR
+
+#mesondefine PACKAGE
+
+#mesondefine PACKAGE_BUGREPORT
+
+#mesondefine PACKAGE_LIBDIR
+
+#mesondefine PACKAGE_LIBEXECDIR
+
+#mesondefine PACKAGE_LOCALE_DIR
+
+#mesondefine PACKAGE_NAME
+
+#mesondefine PACKAGE_STRING
+
+#mesondefine PACKAGE_TARNAME
+
+#mesondefine PACKAGE_VERSION
+
+#mesondefine SYMBOLIC_VERSION
+
+#mesondefine VERSION
+
+#ifndef SYSPROF_CAPTURE_COMPILATION
+#mesondefine _SYSPROF_EXTERN
+#endif
diff --git a/meson.build b/meson.build
index 2f225f85..a4b6e39f 100644
--- a/meson.build
+++ b/meson.build
@@ -223,6 +223,7 @@ if get_option('examples')
 endif
 
 configure_file(
+          input: 'config.h.meson',
          output: 'config.h',
   configuration: config_h
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]