Changeset 321 for trunk/configure.ac


Ignore:
Timestamp:
Mar 17, 2011, 10:07:44 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #240: The samhain_kmem kernel module should be loaded earlier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r310 r321  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 2.8.2)
     14AM_INIT_AUTOMAKE(samhain, 2.8.3)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
     
    19741974
    19751975sh_insmod_cmd=": # no kernel module"
     1976sh_insmod_pre=": # no kernel module"
    19761977sh_lkm=""
    19771978lkm_inc=""
     
    21512152
    21522153                           sh_lkm="${sh_lkm} samhain_kmem.ko"
    2153                            echo "${sh_insmod_cmd}" | grep 'no kernel module' >/dev/null
    2154                            if [ $? -eq 0 ]; then
    2155                               sh_insmod_cmd="modprobe ${install_name}_kmem"
    2156                            else
    2157                               sh_insmod_cmd="modprobe ${install_name}_kmem; ${sh_insmod_cmd}"
    2158                            fi
     2154                           sh_insmod_pre="modprobe ${install_name}_kmem"
     2155
    21592156                        fi
    21602157                else
     
    21682165AC_SUBST(sh_lkm)
    21692166AC_SUBST(sh_insmod_cmd)
     2167AC_SUBST(sh_insmod_pre)
    21702168
    21712169AC_SUBST(systemmap)
Note: See TracChangeset for help on using the changeset viewer.