From: Ruediger Meier <sweet_f_a@gmx.de>
To: J William Piggott <elseifthen@gmx.com>
Cc: "util-linux" <util-linux@vger.kernel.org>
Subject: Re: Configure fails on single builds
Date: Tue, 9 Feb 2016 18:19:29 +0100 [thread overview]
Message-ID: <201602091819.29558.sweet_f_a@gmx.de> (raw)
In-Reply-To: <56BA1630.7090106@gmx.com>
On Tuesday 09 February 2016, J William Piggott wrote:
> commit 15167589fb40be9479e1afe261bea0bf23b33a83 causing single
> builds (other than chrt) to fail:
>
> ./configure --disable-all-programs --enable-hwclock
>
> conditional \"HAVE_SCHED_SETATTR\" was never defined.
> Usually this means the macro was only invoked conditionally.
I have fixed it for me like this, quick and dirty:
diff --git a/configure.ac b/configure.ac
index 4559573..cc9eb55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1774,9 +1774,7 @@ UL_BUILD_INIT([chrt], [check])
UL_REQUIRES_BUILD([chrt], [schedutils])
AM_CONDITIONAL([BUILD_CHRT], [test "x$build_chrt" = xyes])
-AS_IF([test "x$build_chrt" = xyes], [
- UL_CHECK_SYSCALL([sched_setattr])
-])
+UL_CHECK_SYSCALL([sched_setattr])
AC_ARG_ENABLE([wall],
cu,
Rudi
next prev parent reply other threads:[~2016-02-09 17:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 16:39 Configure fails on single builds J William Piggott
2016-02-09 17:19 ` Ruediger Meier [this message]
2016-02-10 11:30 ` 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=201602091819.29558.sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=elseifthen@gmx.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