mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 19:22:33 +00:00
Probe for a C compiler in the configure script
Probably a good sanity check to have up front to ensure that you've got a C compiler locally! Closes #820
This commit is contained in:
parent
85b58e3f1a
commit
e144a669d5
1
configure
vendored
1
configure
vendored
|
@ -342,6 +342,7 @@ step_msg "looking for build programs"
|
||||||
|
|
||||||
probe_need CFG_CURLORWGET curl wget
|
probe_need CFG_CURLORWGET curl wget
|
||||||
probe_need CFG_PYTHON python
|
probe_need CFG_PYTHON python
|
||||||
|
probe_need CFG_CC cc gcc clang
|
||||||
|
|
||||||
if [ ! -z "${CFG_LOCAL_RUST_ROOT}" ]; then
|
if [ ! -z "${CFG_LOCAL_RUST_ROOT}" ]; then
|
||||||
CFG_RUSTDOC="${CFG_LOCAL_RUST_ROOT}/bin/rustdoc"
|
CFG_RUSTDOC="${CFG_LOCAL_RUST_ROOT}/bin/rustdoc"
|
||||||
|
|
Loading…
Reference in a new issue