> kernver.c is a stupid fix to a trivial problem. I am sure there
> is a proper way to do it, but I have not been able to figure
> out how to determine the version number for the kernel to
> have it available at compile time.

Would something like this in a bash script help?

if test X"`uname -sr | cut -d. -f-2`" = X"Linux 2.4"; then
 ...

(copied from NoCat, FWIW)

73 de G3RSE

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <linrad@antennspecialisten.se>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to