Standardizing project structure

This commit is contained in:
Andre Nathan 2013-12-06 14:43:19 -02:00
parent adc97bb5d0
commit 80529bcf79
11 changed files with 582 additions and 21 deletions

View file

@ -1,5 +0,0 @@
require 'mkmf'
if find_library('lxc', 'lxc_container_new') and have_header('lxc/lxc.h')
$CFLAGS += " -Wall #{ENV['CFLAGS']}"
create_makefile('lxc')
end

7
ext/lxc/extconf.rb Normal file
View file

@ -0,0 +1,7 @@
require 'mkmf'
abort 'missing liblxc' unless find_library('lxc', 'lxc_container_new')
abort 'missing lxc/lxccontainer.h' unless have_header('lxc/lxccontainer.h')
$CFLAGS += " -Wall #{ENV['CFLAGS']}"
create_makefile('lxc')