Lines 160-166
Link Here
|
160 |
fi |
160 |
fi |
161 |
|
161 |
|
162 |
# Check whether static linking has explicitly been disabled |
162 |
# Check whether static linking has explicitly been disabled |
163 |
AC_ARG_ENABLE(static,[ --disable-static Disable static linking (lowers the security of aide)], [aide_static_choice=$enableval], [aide_static_choice=yes]) |
163 |
AC_ARG_ENABLE(static, |
|
|
164 |
AC_HELP_STRING([--disable-static],[Disable static linking (lowers the security of aide)]), |
165 |
[aide_static_choice=$enableval], [aide_static_choice=yes]) |
164 |
|
166 |
|
165 |
if test "$aide_static_choice" != "yes"; then |
167 |
if test "$aide_static_choice" != "yes"; then |
166 |
LD_STATIC_FLAG="" |
168 |
LD_STATIC_FLAG="" |
Lines 190-197
Link Here
|
190 |
AC_CHECK_FUNCS(stricmp strnstr strnlen) |
192 |
AC_CHECK_FUNCS(stricmp strnstr strnlen) |
191 |
|
193 |
|
192 |
AC_ARG_WITH([mmap], |
194 |
AC_ARG_WITH([mmap], |
193 |
[AC_HELP_STRING([--with-mmap], |
195 |
AC_HELP_STRING([--with-mmap], |
194 |
[use mmap @<:@default=check@:>@])], |
196 |
[use mmap @<:@default=check@:>@]), |
195 |
[], |
197 |
[], |
196 |
[with_mmap=check] |
198 |
[with_mmap=check] |
197 |
) |
199 |
) |
Lines 283-290
Link Here
|
283 |
AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h) |
285 |
AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h) |
284 |
|
286 |
|
285 |
AC_ARG_WITH([locale], |
287 |
AC_ARG_WITH([locale], |
286 |
[AC_HELP_STRING([--with-locale], |
288 |
AC_HELP_STRING([--with-locale], |
287 |
[use locale stuff])], |
289 |
[use locale stuff]), |
288 |
[], |
290 |
[], |
289 |
[with_locale=no] |
291 |
[with_locale=no] |
290 |
) |
292 |
) |
Lines 369-378
Link Here
|
369 |
[AC_HELP_STRING([--with-posix-acl], |
371 |
[AC_HELP_STRING([--with-posix-acl], |
370 |
[use POSIX ACLs (no checking)])], |
372 |
[use POSIX ACLs (no checking)])], |
371 |
[], |
373 |
[], |
372 |
[with_posix_acl_support=no] |
374 |
[with_posix_acl=no] |
373 |
) |
375 |
) |
374 |
|
376 |
|
375 |
AS_IF([test "x$with_posix_acl_support" != xno], |
377 |
AS_IF([test "x$with_posix_acl" != xno], |
376 |
[AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs]) |
378 |
[AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs]) |
377 |
AC_DEFINE(WITH_ACL,1,[use ACL]) |
379 |
AC_DEFINE(WITH_ACL,1,[use ACL]) |
378 |
ACLLIB="-lacl" |
380 |
ACLLIB="-lacl" |
Lines 388-397
Link Here
|
388 |
[AC_HELP_STRING([--with-selinux], |
390 |
[AC_HELP_STRING([--with-selinux], |
389 |
[use SELinux (no checking)])], |
391 |
[use SELinux (no checking)])], |
390 |
[], |
392 |
[], |
391 |
[with_selinux_support=no] |
393 |
[with_selinux=no] |
392 |
) |
394 |
) |
393 |
|
395 |
|
394 |
AS_IF([test "x$with_selinux_support" != xno], |
396 |
AS_IF([test "x$with_selinux" != xno], |
395 |
[AC_DEFINE(WITH_SELINUX,1,[use SELinux]) |
397 |
[AC_DEFINE(WITH_SELINUX,1,[use SELinux]) |
396 |
if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then |
398 |
if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then |
397 |
SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static) |
399 |
SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static) |
Lines 410-419
Link Here
|
410 |
[AC_HELP_STRING([--with-xattr], |
412 |
[AC_HELP_STRING([--with-xattr], |
411 |
[use xattr (no checking)])], |
413 |
[use xattr (no checking)])], |
412 |
[], |
414 |
[], |
413 |
[with_xattr_support=no] |
415 |
[with_xattr=no] |
414 |
) |
416 |
) |
415 |
|
417 |
|
416 |
AS_IF([test "x$with_xattr_support" != xno], |
418 |
AS_IF([test "x$with_xattr" != xno], |
417 |
[AC_DEFINE(WITH_XATTR,1,[use xattr]) |
419 |
[AC_DEFINE(WITH_XATTR,1,[use xattr]) |
418 |
ATTRLIB=-lattr |
420 |
ATTRLIB=-lattr |
419 |
compoptionstring="${compoptionstring}WITH_XATTR\\n" |
421 |
compoptionstring="${compoptionstring}WITH_XATTR\\n" |