From 60067ed4ea9c77f700329d233c29224aac08f8eb Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Tue, 21 Oct 2025 20:59:32 +0100 Subject: [PATCH] Define whether --query should be available, based on the same criteria as --remote for now (#101). --- src/include/config-aux.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/include/config-aux.h b/src/include/config-aux.h index f1b894b..80cc089 100644 --- a/src/include/config-aux.h +++ b/src/include/config-aux.h @@ -51,3 +51,11 @@ typedef bool _Bool; #define PV_REMOTE_CONTROL 1 # endif #endif + +/* Whether "--query" should be available. */ +#undef PV_REMOTE_QUERY +#if HAVE_DECL_SA_SIGINFO +# if SIGINFO_PROVIDES_PID +#define PV_REMOTE_QUERY 1 +# endif +#endif