Commit Graph

22 Commits

Author SHA1 Message Date
Karel Zak 1c0d193441 build-sys: remove with-cryptsetup from tools/config-gen.d/all.conf
Unfortunately libtools is not smart enough to link libblkid
dynamically if we link in-tree static libmount.a for libmount tests.
In this case libtools always uses also libblkid.a, but it's problem
for libcryptsetup which requires versioned symbols from libblkid.so

This is no problem for normal binaries, but for libmount tests only
(where we need static library to by-pass public library API).

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 17:44:10 +02:00
Karel Zak e86e30b89c tools: use libcryptsetup in config-gen.d/all.conf
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-17 12:45:40 +01:00
Evgeny Vereshchagin 02f5fc1407 tools: make it possible to set all the fuzzing flags with config-gen
so that the fuzz targets (along with everything else) can be built
and run with:
```
./tools/config-gen fuzz
make check
```

Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
2020-08-06 12:33:11 +00:00
Karel Zak 63f4e19928 tools: remove changes merged by accident
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-23 11:22:42 +02:00
Karel Zak d35d646f17 po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 12:20:36 +02:00
Karel Zak bb6561f1a7 build-sys: add --enable-werror to devel build scenarios
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-14 12:37:06 +02:00
Karel Zak fadb5ebf9c build-sys: add --with-cryptsetup to config-gen.d/all.conf
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-12-05 14:57:50 +01:00
Karel Zak 4750cb9126 build-sys: add devel-non-asan.conf
This allows to use "./tools/config-gen devel-non-asan" for ./configure.

Signed-off-by: Karel Zak <kzak@redhat.com>
2019-04-24 18:04:24 +02:00
Karel Zak 7bd44e8ade build-sys: enable ASAN on travis-ci
Addresses: Addresses: https://github.com/systemd/systemd/pull/12252
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-04-15 13:05:33 +02:00
Karel Zak 6f2eb03433 build-sys: fix --disable-all-programs --enable-schedutils
* add UL_ENABLE_ALIAS(NAME, MASTERNAME) to initialize $enable_<name>
  according to MASTERNAME. Note that we have to use $build_<mastername>,
  the $enable_<mastername> is just AC_ARG_ENABLE() stuff only. The
  $build_ is evaluated and modified by our UL_...() functions.

* add enable-schedutils.conf to have build-system regression test for
  this use-case

Addresses: https://github.com/karelzak/util-linux/issues/415
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-02-20 14:17:37 +01:00
Karel Zak 1854d6dfc6 build-sys: add non-widechar.conf
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-02-16 13:47:44 +01:00
Karel Zak b56dd06df6 tests: update build tests
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-18 12:46:04 +02:00
Karel Zak fd0e5ae46e build-sys: add non-libsmartcols.conf
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-18 12:44:37 +02:00
Karel Zak f080cc99c8 build-sys: add disable-all.conf to config-gen
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-27 11:37:18 +02:00
Karel Zak 65acdc8734 build-sys: remove deprecated-mount/
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-05 13:19:19 +01:00
Karel Zak 413875b649 build-sys: add --with-smack to config-gen.d
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-11-12 15:48:42 +01:00
Karel Zak 456857a49a build-sys: add config-gen.d stuff for chsh-chfn
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-13 13:49:05 +01:00
Karel Zak 896da7cd34 build-sys: add devel-non-docs compile profile
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-30 12:47:08 +01:00
Karel Zak af2e97b56b build-sys: remove static from config-gen.d/{devel,all}.conf
It's impossible to compile static when gcc/ld is forced to
use GNU_RELRO and BIND_NOW for suid binaries (e.g. mount).

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-11 10:25:55 +02:00
Karel Zak 68f6645a7e tools: cleanup config-gen.d
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26 20:48:22 +02:00
Karel Zak ecdba5ddfc build-sys: add --enable-new-mount
Now we have three versions of the mount(8) utility

 * old mount(8)
   --enable-mount [default]

 * old mount(8) linked with libmount
   This is this is necessary for systems without mtab file.
   --enable-libmount-mount

 - new mount(8)
   This is completely new pure-libmount based mount(8).
   --enable-new-mount

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-11 17:05:08 +01:00
Karel Zak 9221fb85f6 build-sys: add tools/config-gen and basic compilation scenarios
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-04 20:56:06 +01:00