m4/as-linux.m4: don't use backported pcmcia_loop_tuple()
[comedi.git] / scripts / check_kernel
1 #!/bin/bash
2
3
4
5 if [ $(grep -c "$(uname -r)" ${LINUXDIR}/include/linux/version.h) != 0 ]
6 then
7         echo <<EOF
8  *****
9  *****    WARNING!!!
10  *****
11  *****    The kernel that is currently running is a different
12  *****    version than the source in ${LINUXDIR}.  The current
13  *****    compile will create a module that is *incompatible*
14  *****    with the running kernel.  (This may be exactly what
15  *****    you want, however.)
16  *****
17 EOF
18 fi
19