Browse Source

add bc, required for new linux kernels

Waldemar Brodkorb 10 years ago
parent
commit
20fa537797
2 changed files with 7 additions and 0 deletions
  1. 1 0
      README
  2. 6 0
      scripts/scan-tools.sh

+ 1 - 0
README

@@ -22,6 +22,7 @@ Before you can start you need to install some tools:
 - ncurses5 headers
 - zlib headers
 - perl
+- bc
 
 There is a check for the required versions of these tools in advance, though.
 (to re-issue the checks, use "make prereq").

+ 6 - 0
scripts/scan-tools.sh

@@ -237,6 +237,12 @@ if ! which pkg-config >/dev/null 2>&1; then
 	out=1
 fi
 
+if ! which bc >/dev/null 2>&1; then
+	echo  "You need bc to continue."
+	echo
+	out=1
+fi
+
 cd $topdir
 rm -rf tmp