/ # qlist -Iv sys-cluster/galera
|
sys-cluster/galera-26.4.4
|
/ # qlist -Iv dev-cpp/asio
|
dev-cpp/asio-1.10.8
|
/ # tar xzf /var/cache/distfiles/galera-26.4.4.tar.gz
|
/ # cd galera-26.4.4/
|
/galera-26.4.4 # grep -r "1.10.8"
|
SConstruct:#if ASIO_VERSION < 101008
|
SConstruct: context.Message('Checking ASIO version (>= 1.10.8 and < 1.11.0) ... ')
|
asio/asio/version.hpp:#define ASIO_VERSION 101008 // 1.10.8
|
|
/galera-26.4.4 # less SConstruct
|
...
|
def CheckSystemASIOVersion(context):
|
system_asio_test_source_file = """
|
#include <asio.hpp>
|
|
#define XSTR(x) STR(x)
|
#define STR(x) #x
|
#pragma message "Asio version:" XSTR(ASIO_VERSION)
|
#if ASIO_VERSION < 101008
|
#error Included asio version is too old
|
#elif ASIO_VERSION >= 101100
|
#error Included asio version is too new
|
#endif
|