Frank Liu <[EMAIL PROTECTED]> writes:
> /boot/kernel.h is generated by /etc/rc.d/rc.sysinit at
> the boot time if it isn't already there (or CPU changed):
> check that file for the detailed logic on when/how to
> generate this file.
>
> So /boot/kernel.h may show you have a redhat system, but
> doesn't mean you have a redhat kernel. I have systems running
> the kernels that I downlaoded from kernel.org but
> still have /boot/kernel.h file that was generated by
> rc.sysinit.
>
> maybe I should
> #include <linux/version.h>
>
> and then test
> #ifdef __rh_kernel_version_h__
yup, like i said in my answer and the examples of emu10k1
--
MandrakeSoft Inc http://www.chmouel.org
San-Francisco, CA USA --Chmouel
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list