4 [libabc-devel@example.com],
6 [http://www.example.com/libs/libabc/])
7 AC_CONFIG_SRCDIR([libabc/libabc.c])
8 AC_CONFIG_AUX_DIR([build-aux])
9 AM_INIT_AUTOMAKE([check-news foreign 1.11 -Wall -Wno-portability silent-rules tar-pax dist-bzip2 subdir-objects])
11 AC_USE_SYSTEM_EXTENSIONS
13 AC_CONFIG_MACRO_DIR([m4])
14 AM_SILENT_RULES([yes])
15 LT_INIT([disable-static pic-only])
16 AC_PREFIX_DEFAULT([/usr])
18 AC_ARG_ENABLE([logging],
19 AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),
20 [], enable_logging=yes)
21 AS_IF([test "x$enable_logging" = "xyes"], [
22 AC_DEFINE(ENABLE_LOGGING, [1], [System logging.])
25 AC_ARG_ENABLE([debug],
26 AS_HELP_STRING([--enable-debug], [enable debug messages @<:@default=disabled@:>@]),
27 [], [enable_debug=no])
28 AS_IF([test "x$enable_debug" = "xyes"], [
29 AC_DEFINE(ENABLE_DEBUG, [1], [Debug messages.])
32 AC_CONFIG_HEADERS(config.h)
44 sysconfdir: ${sysconfdir}
46 includedir: ${includedir}
52 logging: ${enable_logging}
53 debug: ${enable_debug}