Changeset 437 for trunk/configure.ac


Ignore:
Timestamp:
Jun 6, 2013, 10:12:08 PM (11 years ago)
Author:
katerina
Message:

Fix for ticket #341 (detection of notworking /dev/kmem).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r435 r437  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 3.0.12)
     14AM_INIT_AUTOMAKE(samhain, 3.0.13)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
     
    21832183                        if test -c /dev/kmem; then
    21842184                           AC_MSG_CHECKING([whether /dev/kmem is useable])
    2185                            dd bs=4 if=/dev/kmem of=/dev/null 2>&1 | grep opening >/dev/null
    2186                            if test $? -ne 0; then
     2185                           dd bs=4 count=16 if=/dev/kmem of=/dev/null >/dev/null 2>&1
     2186                           if test $? -eq 0; then
    21872187                              test_kmap_open=yes
    21882188                           fi
Note: See TracChangeset for help on using the changeset viewer.