blob: 53566140ebb3cc1df47bcd1b738e118f0823da20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
util-linux build system
=======================
- all util-linux specific autoconf macros use UL_ prefix
- utils in Makedile.am files are enabled/disabled according to BUILD_<NAME>
conditions (AM_CONDITIONAL), for example:
if BUILD_HWCLOCK
...
endif
- "if BUILD_<NAME>" blocks are never nested within another "if BUILD_<NAME>",
all dependencies have to be resolved in configure.ac (see UL_REQUIRES_BUILD())
- all BUILD_<NAME> in configure.am are always based on build_<name> variables,
for example:
AM_CONDITIONAL([BUILD_HWCLOCK], test "x$build_hwclock" = xyes)
the $build_<name> should be available in whole configure script
- AC_ARG_ENABLE() status is always stored in $enable_<name> variable, possible
setting:
"check" - util/feature is optional, if any subcomponent (function, lib,
...) is missing a warning is printed and the util/feature is
disabled
"yes" - util/feature is required, if any subcomponent (function, lib,
...) is missing an error is printed and ./configure aborted
"no" - the util/feature is unwanted
|