diff options
author | Lukas Larsson <[email protected]> | 2016-08-12 11:26:48 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-08-12 11:26:48 +0200 |
commit | daa0f831aee9dedf8cdf29fd5f97f98f55e072e3 (patch) | |
tree | 6365e6511bf76044129a7947887200e72e828cbc /configure.in | |
parent | 634998007ebd494cc64db244b748ed52bdff6a0a (diff) | |
parent | 0e00f80fb74f8f449eacf237e84a698a5555e7bd (diff) | |
download | otp-daa0f831aee9dedf8cdf29fd5f97f98f55e072e3.tar.gz otp-daa0f831aee9dedf8cdf29fd5f97f98f55e072e3.tar.bz2 otp-daa0f831aee9dedf8cdf29fd5f97f98f55e072e3.zip |
Merge branch 'binarin/even-more-absolute-paths/PR-1103/OTP-13800' into maint
* binarin/even-more-absolute-paths/PR-1103/OTP-13800:
Use perl discovered by configure
Don't make assumptions about build tools paths
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 8a7f372a50..ea98dc9836 100644 --- a/configure.in +++ b/configure.in @@ -129,6 +129,13 @@ AC_PROG_CC AC_PROG_CXX AC_CHECK_TOOL(LD, [ld]) +_search_path=/bin:/usr/bin:/usr/local/bin:$PATH + +AC_PATH_PROG(ENV, [env], false, $_search_path) +if test "$ac_cv_path_ENV" = false; then + AC_MSG_ERROR([No 'env' command found]) +fi + # # We need GNU make, complain if we can't find it # |