1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 # test for existing /usr/include/asm
5 if [ ! -d "/usr/include/asm" ]; then
6 echo "ERROR: directory \"/usr/include/asm\" not found."
7 echo "on some systems this is name asm-generic."
8 echo "try to create a link to the asm directory with"
9 echo "\"ln -s /usr/include/asm-generic /usr/include/asm\""
13 # test if all files from the files.needed file are available
14 for LINE
in `cat files.needed`; do
16 FILE
=`echo ${LINE} | awk -F ";" '{print $1}'`
17 LIB
=`echo ${LINE} | awk -F ";" '{print $2}'`
19 #echo -n "looking for development files of \"${LIB}\"..."
20 FOUND
=`find /usr/include /usr/lib -name "${FILE}" | wc -l`
21 if [ ${FOUND} -lt 1 ]; then
23 echo "Please install the development header files for the library \"${LIB}\"."