implement ConfigureOp#check_cfg - not tested yet
This commit is contained in:
1 parent
aba11155a4
commit
ab4ca71ac7
3 files changed
+125
No files matched your search
@@ -42,6 +42,12 @@ module Rscons
|
||||
@script.check_d_compiler = args
|
||||
end
|
||||
|
||||
# Check for a package or configure program output.
|
||||
def check_cfg(*args)
|
||||
@script.check_cfgs ||= []
|
||||
@script.check_cfgs << args
|
||||
end
|
||||
|
||||
# Check for a C header.
|
||||
def check_c_header(*args)
|
||||
@script.check_c_headers ||= []
|
||||
@@ -89,6 +95,10 @@ module Rscons
|
||||
# D compilers to check for.
|
||||
attr_accessor :check_d_compiler
|
||||
|
||||
# @return [Array<Array>]
|
||||
# Configs to check for.
|
||||
attr_accessor :check_cfgs
|
||||
|
||||
# @return [Array<Array>]
|
||||
# C headers to check for.
|
||||
attr_accessor :check_c_headers
|
||||
|
||||
Reference in new issue
Block a user