add some git ignore files
[A2k.git] / configure.sh
blob8006587a124cf4cc59636e4c44f9ce20a3657832
1 #!/bin/sh
3 for i in "sed" "rm" "cp" "mkdir" "gcc" "nasm" "ld" "mformat" "mcopy" "qemu"
4 do
5 echo -n "Checking $i: "
6 if ! which $i 2> /dev/null; then
7 echo "...Not Ok"
8 exit 1
9 fi
11 done
13 if [ ! -f ~/.mtoolsrc ]; then
14 echo "creating a mtools configuration files : ~/.mtoolsrc"
15 cat <<EOF > ~/.mtoolsrc
16 # # file floppy image
17 drive a: file="/tmp/floppy.image"
18 EOF
19 else
20 echo "You already have a mtools configuration files : ~/.mtoolsrc"
21 echo "Please move this files and run this script again."
22 exit 1
26 echo "Done with the configuration!"
27 echo "run make or BUILD=elf make"