Changeset 90 for trunk/configure.ac
- Timestamp:
- Feb 11, 2007, 11:02:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r89 r90 13 13 dnl start 14 14 dnl 15 AM_INIT_AUTOMAKE(samhain, 2.3. 2)15 AM_INIT_AUTOMAKE(samhain, 2.3.3) 16 16 AC_CANONICAL_HOST 17 17 … … 1744 1744 # -- NEW -- 1745 1745 kernel_version=`uname -r | sed s,2.6.*,LINUX26,` 1746 kernel_numeric=`uname -r | sed 's%-%.%' | sed 's%_%.%' | awk -F. '{ print $1*100000+$2*1000+$3 }'` 1747 AC_DEFINE_UNQUOTED(SH_KERNEL_NUMERIC, ${kernel_numeric}, [Kernel number]) 1748 1746 1749 if test x"$kernel_version" = xLINUX26 1747 1750 then 1751 1748 1752 sh_modlist_lock=`egrep ['[bd] modlist_lock$'] ${khidemap} | awk '{print $1}'` 1749 1753 if test x"$sh_modlist_lock" = x; then 1750 AC_MSG_ERROR([--enable-khide: symbol modlist_lock not found in ${khidemap}]) 1754 echo "--enable-khide: symbol modlist_lock not found in ${khidemap}" 1755 else 1756 sh_modlist_lock="0x${sh_modlist_lock}" 1757 AC_DEFINE_UNQUOTED(SH_MODLIST_LOCK, ${sh_modlist_lock}, [The address of the modules list spinlock]) 1751 1758 fi 1752 sh_modlist_lock="0x${sh_modlist_lock}" 1753 AC_DEFINE_UNQUOTED(SH_MODLIST_LOCK, ${sh_modlist_lock}, [The address of the modules list spinlock]) 1759 1760 sh_modlist_mutex=`egrep ['[bd] module_mutex$'] ${khidemap} | awk '{print $1}'` 1761 if test x"$sh_modlist_mutex" = x; then 1762 echo "--enable-khide: symbol module_mutex not found in ${khidemap}" 1763 else 1764 sh_modlist_mutex="0x${sh_modlist_mutex}" 1765 AC_DEFINE_UNQUOTED(SH_MODLIST_MUTEX, ${sh_modlist_mutex}, [The address of the modules list mutex]) 1766 fi 1754 1767 1755 1768 sh_list_modules=`egrep 'd modules$' ${khidemap} | awk '{print $1}'`
Note:
See TracChangeset
for help on using the changeset viewer.