diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-tools.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 17e8c0395..42a4e0a1d 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -46,6 +46,12 @@ case $os in Linux) ;; FreeBSD) + if ! which gmake >/dev/null 2>&1; then + echo You must install GNU make to continue. + echo + out=1 + fi + clang=1 ;; MirBSD) ;; @@ -199,9 +205,11 @@ if ! which perl >/dev/null 2>&1; then fi if ! which g++ >/dev/null 2>&1; then - echo "You need a C++ compiler to continue." - echo - out=1 + if ! which clang++ >/dev/null 2>&1; then + echo "You need a C++ compiler to continue." + echo + out=1 + fi fi # always required, but can be provided by host |