summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2011-01-31 14:18:46 +0100
committerKarel Zak <kzak@redhat.com>2011-01-31 14:18:46 +0100
commita2b3d0409589d9b3084c0bcaa32a7af07cee715c (patch)
tree935d6f2db4398548ff718213dab005c210bf5f00 /TODO
parent68d30ea1bff878879533c2c5c2c7fa8a9f2b2657 (diff)
downloadutil-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--TODO33
1 files changed, 33 insertions, 0 deletions
diff --git a/TODO b/TODO
index af3750aa..dea40527 100644
--- a/TODO
+++ b/TODO
@@ -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
-------