Changeset 102 for trunk/configure.ac


Ignore:
Timestamp:
Apr 26, 2007, 9:59:55 PM (18 years ago)
Author:
rainer
Message:

Flush before fork (fix for ticket #60), and fix for kcheck on 2.6.21 (ticket #63).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r101 r102  
    18511851        if test "x${withval}" != "xno"; then
    18521852                AC_DEFINE(SH_USE_KERN)
     1853
     1854                kernel_numeric=`uname -r | sed 's%-%.%g' | sed 's%_%.%g' | awk -F. '{ print $1*65536+$2*256+$3 }'`
     1855                AC_DEFINE_UNQUOTED(SH_KERNEL_NUMBER, ${kernel_numeric}, [Kernel number])
     1856
    18531857                kernelversion=`uname -r`
    18541858                AC_DEFINE_UNQUOTED(SH_KERNEL_VERSION, _("${kernelversion}"), [Define the kernel version])
Note: See TracChangeset for help on using the changeset viewer.