6 [http://git.profusion.mobi/cgit.cgi/lucas/libkmod/])
8 AC_CONFIG_SRCDIR([libkmod/libkmod.c])
9 AC_CONFIG_AUX_DIR([build-aux])
10 AM_INIT_AUTOMAKE([check-news foreign 1.11 -Wall -Wno-portability silent-rules tar-pax dist-bzip2 subdir-objects])
12 AC_USE_SYSTEM_EXTENSIONS
14 AC_CONFIG_MACRO_DIR([m4])
15 AM_SILENT_RULES([yes])
16 LT_INIT([disable-static pic-only])
17 AC_PREFIX_DEFAULT([/usr])
23 AC_PROG_GCC_TRADITIONAL
25 AC_ARG_ENABLE([logging],
26 AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),
27 [], enable_logging=yes)
28 AS_IF([test "x$enable_logging" = "xyes"], [
29 AC_DEFINE(ENABLE_LOGGING, [1], [System logging.])
32 AC_ARG_ENABLE([debug],
33 AS_HELP_STRING([--enable-debug], [enable debug messages @<:@default=disabled@:>@]),
34 [], [enable_debug=no])
35 AS_IF([test "x$enable_debug" = "xyes"], [
36 AC_DEFINE(ENABLE_DEBUG, [1], [Debug messages.])
39 AC_CONFIG_HEADERS(config.h)
51 sysconfdir: ${sysconfdir}
53 includedir: ${includedir}
59 logging: ${enable_logging}
60 debug: ${enable_debug}