]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
arch, eject, elvtune: Gracefully disable on non-Linux platforms.
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 25 May 2012 18:16:13 +0000 (20:16 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 May 2012 07:33:09 +0000 (09:33 +0200)
Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
configure.ac

index 76f73a1abcb406073d3e3a9245330e010ad37c61..cd8fa4efd669b543846bff1c78095a48404818e9 100644 (file)
@@ -628,9 +628,9 @@ AC_ARG_ENABLE([most-builds],
   [], enable_most_builds=no
 )
 if test "x$enable_most_builds" = xyes; then
-  enable_arch=yes
+  enable_arch=check
   enable_ddate=yes
-  enable_elvtune=yes
+  enable_elvtune=check
   enable_last=yes
   enable_line=yes
   enable_mesg=yes
@@ -862,7 +862,7 @@ AC_SUBST([ruman1dir])
 
 AC_ARG_ENABLE([eject],
   AS_HELP_STRING([--disable-eject], [do not build eject]),
-  [], enable_eject=yes
+  [], enable_eject=check
 )
 UL_BUILD_INIT([eject])
 UL_REQUIRES_LINUX([eject])