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:
parent
763d68308d
commit
9ea92b8d56
6
compiler-checks/log4cplus-initializer.cc
Normal file
6
compiler-checks/log4cplus-initializer.cc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <log4cplus/initializer.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
log4cplus::Initializer initializer;
|
||||||
|
return 0;
|
||||||
|
}
|
@ -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'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user