Explorar o código

add bc, required for new linux kernels

Waldemar Brodkorb %!s(int64=11) %!d(string=hai) anos
pai
achega
20fa537797
Modificáronse 2 ficheiros con 7 adicións e 0 borrados
  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