[CRIU] [PATCH 0/2] make: Add compile time testing for system headers

Cyrill Gorcunov gorcunov at openvz.org
Fri May 3 11:29:42 EDT 2013


Hi guys, what do you think about using own 'make' facility for
testing of system headers definitions and such?

We do generate include/config.h where all the features should lay
and we can #include it in the places we need.

Vasily, does it fix the problem in Ubuntu 13.04?

Cyrill Gorcunov (2):
  make: Add scripts/utilities.mak
  make: Introduce compile time include/config.h generation

 Makefile                  |  7 +++++--
 Makefile.config           | 15 +++++++++++++++
 scripts/feature-tests.mak | 21 +++++++++++++++++++++
 scripts/utilities.mak     | 15 +++++++++++++++
 sk-tcp.c                  |  3 +++
 5 files changed, 59 insertions(+), 2 deletions(-)
 create mode 100644 Makefile.config
 create mode 100644 scripts/feature-tests.mak
 create mode 100644 scripts/utilities.mak

-- 
1.8.1.4


More information about the CRIU mailing list