diff options
| author | Graydon Hoare <[email protected]> | 2011-03-19 18:31:59 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-19 18:34:40 -0700 |
| commit | 50c78313f216c96000c63a99c8ee787a8ae595ae (patch) | |
| tree | 5a092ab5d7b5e956e76025455930afc157ea90b6 | |
| parent | Probe for python, git, makeinfo and texi2pdf, but not sed. (diff) | |
| download | rust-50c78313f216c96000c63a99c8ee787a8ae595ae.tar.xz rust-50c78313f216c96000c63a99c8ee787a8ae595ae.zip | |
Separate scan for commands used during configure.
| -rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,6 +12,14 @@ err() { exit 1 } + +need_cmd() { + if which $1 >/dev/null 2>&1 + then msg "found $1" + else err "need $1" + fi +} + make_dir() { if [ ! -d $1 ] then @@ -63,6 +71,9 @@ probe_need() { fi } +msg "looking for configure programs" +need_cmd mkdir +need_cmd printf msg "recreating config.mk" echo '' >config.mk |