diff --git a/docs/README.md b/docs/README.md index e9e7f693..9098b5bf 100644 --- a/docs/README.md +++ b/docs/README.md @@ -131,12 +131,13 @@ Rule for building CMake. Invokes bootstrap script and make install. ## configure_make
-configure_make(name, additional_inputs, additional_tools, alwayslink, autogen, autogen_command, - autogen_env_vars, autogen_options, autoreconf, autoreconf_env_vars, autoreconf_options, - binaries, configure_command, configure_env_vars, configure_in_place, configure_options, - data, defines, deps, headers_only, install_prefix, interface_libraries, lib_name, - lib_source, linkopts, make_commands, out_bin_dir, out_include_dir, out_lib_dir, - postfix_script, shared_libraries, static_libraries, tools_deps) +configure_make(name, additional_inputs, additional_tools, alwayslink, autoconf, autoconf_env_vars, + autoconf_options, autogen, autogen_command, autogen_env_vars, autogen_options, + autoreconf, autoreconf_env_vars, autoreconf_options, binaries, configure_command, + configure_env_vars, configure_in_place, configure_options, data, defines, deps, + headers_only, install_prefix, interface_libraries, lib_name, lib_source, linkopts, + make_commands, out_bin_dir, out_include_dir, out_lib_dir, postfix_script, + shared_libraries, static_libraries, tools_deps)Rule for building external libraries with configure-make pattern. Some 'configure' script is invoked with --prefix=install (by default), and other parameters for compilation and linking, taken from Bazel C/C++ toolchain and passed dependencies. After configuration, GNU Make is called. @@ -150,6 +151,9 @@ Rule for building external libraries with configure-make pattern. Some 'configur | additional_inputs | Optional additional inputs to be declared as needed for the shell script action.Not used by the shell script part in cc_external_rule_impl. | List of labels | optional | [] | | additional_tools | Optional additional tools needed for the building. Not used by the shell script part in cc_external_rule_impl. | List of labels | optional | [] | | alwayslink | Optional. if true, link all the object files from the static library, even if they are not used. | Boolean | optional | False | +| autoconf | Set to True if 'autoconf' should be invoked before 'configure', currently requires 'configure_in_place' to be True. | Boolean | optional | False | +| autoconf_env_vars | Environment variables to be set for 'autoconf' invocation. | Dictionary: String -> String | optional | {} | +| autoconf_options | Any options to be put in the 'autoconf.sh' command line. | List of strings | optional | [] | | autogen | Set to True if 'autogen.sh' should be invoked before 'configure', currently requires 'configure_in_place' to be True. | Boolean | optional | False | | autogen_command | The name of the autogen script file, default: autogen.sh. Many projects use autogen.sh however the Autotools FAQ recommends bootstrap so we provide this option to support that. | String | optional | "autogen.sh" | | autogen_env_vars | Environment variables to be set for 'autogen' invocation. | Dictionary: String -> String | optional | {} | @@ -359,8 +363,7 @@ InputFiles(headers, deps_linking_info, declared_inputs) -Provider to keep different kinds of input files, directories, -and C/C++ compilation and linking info from dependencies +Provider to keep different kinds of input files, directories, and C/C++ compilation and linking info from dependencies **FIELDS**