From a2b3d0409589d9b3084c0bcaa32a7af07cee715c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 31 Jan 2011 14:18:46 +0100 Subject: build-sys: enable lsblk and libmount for Linux only Signed-off-by: Karel Zak --- TODO | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'TODO') 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_ only + + The configure.ac has to care about dependence between utils and librares and + enable BUILD_. + fsprobe ------- -- cgit v1.2.3