qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC PATCH 12/21] configure: expose a plugin to the trace-b


From: Alex Bennée
Subject: [Qemu-devel] [RFC PATCH 12/21] configure: expose a plugin to the trace-backends
Date: Fri, 5 Oct 2018 16:49:01 +0100

We also enable gmodule support for use with plugins.

Signed-off-by: Alex Bennée <address@hidden>
---
 configure | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure b/configure
index f3d4b799a5..87d71bbdcd 100755
--- a/configure
+++ b/configure
@@ -3513,6 +3513,9 @@ glib_modules=gthread-2.0
 if test "$modules" = yes; then
     glib_modules="$glib_modules gmodule-export-2.0"
 fi
+if have_backend "plugin"; then
+    glib_modules="$glib_modules gmodule-2.0"
+fi
 
 # This workaround is required due to a bug in pkg-config file for glib as it
 # doesn't define GLIB_STATIC_COMPILATION for pkg-config --static
@@ -6793,6 +6796,9 @@ if have_backend "syslog"; then
     feature_not_found "syslog(trace backend)" "syslog not available"
   fi
 fi
+if have_backend "plugin"; then
+  echo "CONFIG_TRACE_PLUGIN=y" >> $config_host_mak
+fi
 echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_mak
 
 if test "$rdma" = "yes" ; then
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]