]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
meson: Check for LOG_PERROR
authorSimon McVittie <smcv@collabora.com>
Tue, 28 Jun 2022 11:42:09 +0000 (12:42 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
We use this when writing to the system log.

Signed-off-by: Simon McVittie <smcv@collabora.com>
meson.build

index 5a51b80828b7ba5a35ae8f95ed009909e4e3df9b..d7aeb61f9b3531c0df31cb2c8c4a339568fa7765 100644 (file)
@@ -630,6 +630,9 @@ config.set10(
 )
 
 config.set10('HAVE_DECL_ENVIRON', cc.has_header_symbol('unistd.h', 'environ'))
+config.set10('HAVE_DECL_LOG_PERROR',
+    cc.has_header_symbol('syslog.h', 'LOG_PERROR')
+)
 config.set10('HAVE_DECL_MSG_NOSIGNAL',
     cc.has_header_symbol('sys/socket.h', 'MSG_NOSIGNAL')
 )