public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: [PATCH] fix non-linux build (was: [ANNOUNCE] util-linux v2.23-rc2)
Date: Thu, 11 Apr 2013 00:43:27 +0200	[thread overview]
Message-ID: <20130410224327.GK17173@type.leflore.lan> (raw)
In-Reply-To: <20130410222248.GF26442@x2.net.home>

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Make enabling fdformat depend on being a linux build.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

diff --git a/configure.ac b/configure.ac
index dd5d3e1..d9d6cb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -968,7 +968,7 @@ AM_CONDITIONAL(BUILD_BFS, test "x$build_bfs" = xyes)
 
 AC_ARG_ENABLE([fdformat],
   AS_HELP_STRING([--disable-fdformat], [do not build fdformat]),
-  [], enable_fdformat=yes
+  [], enable_fdformat=check
 )
 UL_BUILD_INIT([fdformat])
 UL_REQUIRES_LINUX([fdformat])

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 394 bytes --]

diff --git a/configure.ac b/configure.ac
index dd5d3e1..d9d6cb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -968,7 +968,7 @@ AM_CONDITIONAL(BUILD_BFS, test "x$build_bfs" = xyes)
 
 AC_ARG_ENABLE([fdformat],
   AS_HELP_STRING([--disable-fdformat], [do not build fdformat]),
-  [], enable_fdformat=yes
+  [], enable_fdformat=check
 )
 UL_BUILD_INIT([fdformat])
 UL_REQUIRES_LINUX([fdformat])

  reply	other threads:[~2013-04-10 22:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 22:22 [ANNOUNCE] util-linux v2.23-rc2 Karel Zak
2013-04-10 22:43 ` Samuel Thibault [this message]
2013-04-25  7:47   ` [PATCH] fix non-linux build (was: [ANNOUNCE] util-linux v2.23-rc2) Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130410224327.GK17173@type.leflore.lan \
    --to=samuel.thibault@ens-lyon.org \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox