Convert dtrace from bool to feature option type

Now dtrace can be enabled by default in distros that use
-Dauto_features=enabled or for developers who already have dtrace
installed, while it's still disabled for developers who do not have
dtrace installed. See #3354
This commit is contained in:
Michael Catanzaro
2024-05-15 15:09:46 -05:00
parent 04de380f74
commit ed020a688a
3 changed files with 35 additions and 19 deletions

View File

@@ -186,7 +186,7 @@ fedora-x86_64:
--localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
-Dinstalled_tests=true
-Ddocumentation=true
-Dintrospection=enabled
@@ -241,7 +241,7 @@ debian-stable-x86_64:
--localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
_build
- meson compile -C _build
- .gitlab-ci/run-tests.sh
@@ -343,7 +343,7 @@ installed-tests:
--prefix=/usr --libdir=/usr/lib64
-Dinstalled_tests=true
-Ddefault_library=both
-Ddtrace=false
-Ddtrace=disabled
_build
- meson compile -C _build
- sudo meson install -C _build
@@ -384,7 +384,7 @@ G_DISABLE_ASSERT:
- meson setup ${MESON_COMMON_OPTIONS}
--werror
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
-Dinstalled_tests=true
-Dglib_assert=false
-Dintrospection=enabled
@@ -422,7 +422,7 @@ valgrind:
- meson setup ${MESON_COMMON_OPTIONS}
--werror
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
-Dinstalled_tests=true
-Dintrospection=enabled
_build
@@ -767,7 +767,7 @@ scan-build:
--libdir=lib
-Dglib_debug=enabled
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
-Dinstalled_tests=true
-Dintrospection=enabled
_scan_build
@@ -797,7 +797,7 @@ scan-build:
--localstatedir=/var
--libdir=lib
-Dsystemtap=true
-Ddtrace=true
-Ddtrace=enabled
-Dinstalled_tests=true
-Dintrospection=enabled
_coverity_build