rscons/build_tests/configure/check_c_header_success_set_define.rb
Josh Holtrop ef7e9259cb Add shortcut method for creating environments - close #149
Add env() method to create environments.
Process all environments created at build script top level before
executing any autoconf-enabled tasks, or if no tasks are specified by
the user.
2022-02-12 21:59:52 -05:00

8 lines
145 B
Ruby

configure do
check_c_header "string.h", set_define: "HAVE_STRING_H"
end
env(echo: :command) do |env|
env.Object("simple.o", "simple.c")
end