Commit Graph

21 Commits

Author SHA1 Message Date
Karel Zak 2bd0b84f18 build-sys: add UL_REQUIRES_COMPILE macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-06-03 13:37:15 +02:00
Karel Zak cce05a2a81 build-sys: fix comments in ul.m4
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-06-03 10:20:03 +02:00
Karel Zak f776d76e49 build-sys: use $PKG_CONFIG
Reported-by: Helmut Grohne <helmut@subdivi.de>
References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811546
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-02-16 10:27:56 +01:00
Karel Zak a7f160f9e1 build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL
Unused, unnecessary, wrong.

Reported-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-02-10 16:59:41 +01:00
Kir Kolyshkin a8afc8c666 build-sys: allow autoconf < 2.64 to be used
Since commit 50d096a macro m4_ifblank is used, but as it is only
available in autoconf-2.64, on CentOS 6 system we end up with:

> $ ./autogen.sh
> configure:25396: error: possibly undefined macro: m4_ifblank
>       If this token and others are legitimate, please use
> m4_pattern_allow.
>       See the Autoconf documentation.
> [root@kir-ovz2 util-linux]# autoconf --version
> autoconf (GNU Autoconf) 2.63

So, the obvious thing to do would be to raise AC_PREREQ to 2.64
in configure.ac. But, given the facts that
 - autoconf 2.64 is not available for RHEL/CentOS 6,
 - the only need is one small macro,
it's better to just add the missing macro.

While at it, add the m4_ifnblank, too.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2015-09-02 18:41:52 -07:00
Benno Schulenberg bdef457d34 build-sys: improve the informative message when not building some util
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-14 15:49:32 +02:00
Karel Zak ee312c654b docs: fix "behaviour" vs. "behavior"
Sometimes we use "behaviour" and "behavior" in the same text, let's
use "behavior" only everywhere.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1011068
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-06 09:49:35 +02:00
Karel Zak 56ce2d586d buil-sys: disable in UL_BUILD_INIT() on --disable-all-programs
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-02 11:34:21 +02:00
Karel Zak 1ad36b5264 build_sys: fix default estate usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 17:22:28 +02:00
Karel Zak b248c9d416 build-sys: fix UL_BUILD_INIT()
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 14:58:14 +02:00
Karel Zak 50d096acfd build-sys: add UL_DEFAULT_ENABLE() and $ul_default_estate
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 11:33:48 +02:00
Karel Zak 62b2c02421 build-sys: add UL_EXCLUDE_ARCH()
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-21 12:57:13 +02:00
Karel Zak 3d9fdac5ea build-sys: add --disable-minix
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-21 12:13:12 +02:00
Karel Zak ad869f9ec5 build-sys: improbe UL_CONFLICT_BUILD macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-12 12:59:22 +02:00
Karel Zak e1b8ba200b build-sys: fix UL_REQUIRES_HAVE
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-18 10:19:35 +02:00
Karel Zak 9162682210 build-sys: support list of variables for UL_REQUIRES_HAVE macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-24 19:22:53 +01:00
Karel Zak a9e48470be build-sys: add UL_CONFLICTS_BUILD m4 macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26 20:48:22 +02:00
Karel Zak 9ecd720f2c build-sys: fix UL_INIT_BUILD macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-04 14:08:30 +01:00
Karel Zak 61a074f712 build-sys: add UL_BUILD_INIT macro
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:51 +01:00
Karel Zak b17e82065e build-sys: add UL_REQUIRES_* macros
UL_REQUIRES_{LINUX,BUILD,HAVE} macros check for dependence between
--enable-* state and OS type, another build (e.g. libblkid), function
or library.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:49 +01:00
Karel Zak 132ea94136 build-sys: rename and move macros
- use m4/ul.m4 for util-linux macros
 - use UL_ prefix for all util-linux macros

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-03 12:32:49 +01:00