diff options
author | Karel Zak <kzak@redhat.com> | 2011-01-31 14:18:46 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-01-31 14:18:46 +0100 |
commit | a2b3d0409589d9b3084c0bcaa32a7af07cee715c (patch) | |
tree | 935d6f2db4398548ff718213dab005c210bf5f00 /TODO | |
parent | 68d30ea1bff878879533c2c5c2c7fa8a9f2b2657 (diff) | |
download | util-linux-old-a2b3d0409589d9b3084c0bcaa32a7af07cee715c.tar.gz |
build-sys: enable lsblk and libmount for Linux only
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -1,3 +1,36 @@ +build-sys +-------- + + - we use something like + + AC_ARG_ENABLE(...., enable_foo=check) + build_foo=yes + if test "x$enable_foo" = xcheck; then + if test "x$linux_os" = xno; then + build_foo=no + fi + fi + AM_CONDITIONAL(BUILD_LIBMOUNT, test "x$build_foo" = xyes) + + for Linux-only utils in configure.ac. It would be nice to set all defaults + for all $enable_ variables at begin of the configure script according to + $linux_os. Something like: + + if test "x$linux_os" = xno + enable_mount=no + enable_libmount=no + enable_lsblk=no + fi + + then we can remove all "if test "x$enable_foo" = xcheck;" stuff from the rest + of the configure script. + + - it would be nice to remove all "if BUILD_LIB{MOUNT,BLKID,UUID}" from the + Makefiles (e.g. misc-utils/Makefile.am) and use BUILD_<utilname> only + + The configure.ac has to care about dependence between utils and librares and + enable BUILD_<utilname>. + fsprobe ------- |