From: Simon McVittie Date: Tue, 28 Jun 2022 11:42:09 +0000 (+0100) Subject: meson: Check for LOG_PERROR X-Git-Tag: dbus-1.15.0~32^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17e12ccfb08debec5b88b7c2bfafbe02daf0e569;p=thirdparty%2Fdbus.git meson: Check for LOG_PERROR We use this when writing to the system log. Signed-off-by: Simon McVittie --- diff --git a/meson.build b/meson.build index 5a51b8082..d7aeb61f9 100644 --- a/meson.build +++ b/meson.build @@ -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') )