View | Details | Raw Unified
Collapse All | Expand All

(-) configure.in.old (-11 / +13 lines)
 Lines 160-166    Link Here 
fi
fi
# Check whether static linking has explicitly been disabled
# Check whether static linking has explicitly been disabled
AC_ARG_ENABLE(static,[  --disable-static        Disable static linking (lowers the security of aide)], [aide_static_choice=$enableval], [aide_static_choice=yes])
AC_ARG_ENABLE(static,
	      AC_HELP_STRING([--disable-static],[Disable static linking (lowers the security of aide)]),
	      [aide_static_choice=$enableval], [aide_static_choice=yes])
if test "$aide_static_choice" != "yes"; then
if test "$aide_static_choice" != "yes"; then
	LD_STATIC_FLAG=""
	LD_STATIC_FLAG=""
 Lines 190-197    Link Here 
AC_CHECK_FUNCS(stricmp strnstr strnlen)
AC_CHECK_FUNCS(stricmp strnstr strnlen)
AC_ARG_WITH([mmap],
AC_ARG_WITH([mmap],
	[AC_HELP_STRING([--with-mmap],
	AC_HELP_STRING([--with-mmap],
		[use mmap @<:@default=check@:>@])],
		[use mmap @<:@default=check@:>@]),
	[],
	[],
	[with_mmap=check]
	[with_mmap=check]
)
)
 Lines 283-290    Link Here 
AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h)
AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h)
AC_ARG_WITH([locale],
AC_ARG_WITH([locale],
	[AC_HELP_STRING([--with-locale],
	AC_HELP_STRING([--with-locale],
		[use locale stuff])],
		[use locale stuff]),
	[],
	[],
	[with_locale=no]
	[with_locale=no]
)
)
 Lines 369-378    Link Here 
	[AC_HELP_STRING([--with-posix-acl],
	[AC_HELP_STRING([--with-posix-acl],
		[use POSIX ACLs (no checking)])],
		[use POSIX ACLs (no checking)])],
	[],
	[],
	[with_posix_acl_support=no]
	[with_posix_acl=no]
)
)
AS_IF([test "x$with_posix_acl_support" != xno],
AS_IF([test "x$with_posix_acl" != xno],
	[AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs])
	[AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs])
	AC_DEFINE(WITH_ACL,1,[use ACL])
	AC_DEFINE(WITH_ACL,1,[use ACL])
	ACLLIB="-lacl"
	ACLLIB="-lacl"
 Lines 388-397    Link Here 
	[AC_HELP_STRING([--with-selinux],
	[AC_HELP_STRING([--with-selinux],
		[use SELinux (no checking)])],
		[use SELinux (no checking)])],
	[],
	[],
	[with_selinux_support=no]
	[with_selinux=no]
)
)
AS_IF([test "x$with_selinux_support" != xno],
AS_IF([test "x$with_selinux" != xno],
	[AC_DEFINE(WITH_SELINUX,1,[use SELinux])
	[AC_DEFINE(WITH_SELINUX,1,[use SELinux])
	if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then
	if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then
		SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static)
		SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static)
 Lines 410-419    Link Here 
	[AC_HELP_STRING([--with-xattr],
	[AC_HELP_STRING([--with-xattr],
		[use xattr (no checking)])],
		[use xattr (no checking)])],
	[],
	[],
	[with_xattr_support=no]
	[with_xattr=no]
)
)
	
	
AS_IF([test "x$with_xattr_support" != xno],
AS_IF([test "x$with_xattr" != xno],
	[AC_DEFINE(WITH_XATTR,1,[use xattr])
	[AC_DEFINE(WITH_XATTR,1,[use xattr])
	ATTRLIB=-lattr
	ATTRLIB=-lattr
	compoptionstring="${compoptionstring}WITH_XATTR\\n"
	compoptionstring="${compoptionstring}WITH_XATTR\\n"