2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

[#3729] Add LOG4CPLUS_INITIALIZER_H check

This commit is contained in:
Andrei Pavel 2025-02-10 09:56:40 +02:00
parent 763d68308d
commit 9ea92b8d56
No known key found for this signature in database
GPG Key ID: D4E804481939CB21
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#include <log4cplus/initializer.h>
int main() {
log4cplus::Initializer initializer;
return 0;
}

View File

@ -289,6 +289,14 @@ conf_data.set('HAVE_GENERIC_TLS_METHOD', result.returncode() == 0)
result = cpp.run(fs.read('compiler-checks/have-sa-len.cc'), name: 'HAVE_SA_LEN') result = cpp.run(fs.read('compiler-checks/have-sa-len.cc'), name: 'HAVE_SA_LEN')
conf_data.set('HAVE_SA_LEN', result.returncode() == 0) conf_data.set('HAVE_SA_LEN', result.returncode() == 0)
result = cpp.run(
fs.read('compiler-checks/log4cplus-initializer.cc'),
name: 'LOG4CPLUS_INITIALIZER_H',
dependencies: [log4cplus],
)
conf_data.set('LOG4CPLUS_INITIALIZER_H', result.returncode() == 0)
if mysql.found() if mysql.found()
result = cpp.run( result = cpp.run(
fs.read('compiler-checks/mysql-my-bool.cc'), fs.read('compiler-checks/mysql-my-bool.cc'),