[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linrad] Re: Build trouble



> 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@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL