]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
buil-sys: disable in UL_BUILD_INIT() on --disable-all-programs
authorKarel Zak <kzak@redhat.com>
Mon, 2 Jun 2014 09:34:21 +0000 (11:34 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jun 2014 09:34:21 +0000 (11:34 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
m4/ul.m4

index f77345a79422e8e08bdb3bcd47a03a360f87fb7a..8bfa9d9c0bb21a0f4716d81a004aaeb597372c4d 100644 (file)
--- a/m4/ul.m4
+++ b/m4/ul.m4
@@ -344,6 +344,9 @@ fi],
 [if test "x$ul_default_estate" != x; then
   enable_[]suffix=$ul_default_estate
   build_[]suffix=yes
+  if test "x$ul_default_estate" = xno; then
+    build_[]suffix=no
+  fi
 else[]
   ifelse(
       [$2], [check],[