Changeset 499 for trunk/configure.ac


Ignore:
Timestamp:
Dec 20, 2015, 10:12:16 PM (9 years ago)
Author:
katerina
Message:

Fix for ticket #396 (options --enable-selinux, --enable-posix-acl).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r491 r499  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 4.1.1)
     14AM_INIT_AUTOMAKE(samhain, 4.1.2)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
     
    519519dnl *****************************************
    520520
    521 sh_CHECK_XATTR
    522 sh_CHECK_POSIX_ACL
     521AC_ARG_ENABLE([selinux],
     522        [AS_HELP_STRING([--enable-selinux], [support checking selinux attributes])],
     523        [],
     524        [enable_selinux=check])
     525if test "x$enable_selinux" != xno; then
     526   sh_CHECK_XATTR
     527fi
     528
     529AC_ARG_ENABLE([posix-acl],
     530        [AS_HELP_STRING([--enable-posix-acl], [support checking posix acls])],
     531        [],
     532        [enable_posix_acl=check])
     533if test "x$enable_posix_acl" != xno; then
     534   sh_CHECK_POSIX_ACL
     535fi
    523536
    524537dnl *****************************************
Note: See TracChangeset for help on using the changeset viewer.