From: Ruediger Meier <sweet_f_a@gmx.de>
To: Andreas Henriksson <andreas@fatal.se>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] build: uuidd requires linux now, uses signalfd
Date: Sun, 13 Mar 2016 21:45:44 +0100 [thread overview]
Message-ID: <201603132145.44967.sweet_f_a@gmx.de> (raw)
In-Reply-To: <1457891767-16753-1-git-send-email-andreas@fatal.se>
On Sunday 13 March 2016, Andreas Henriksson wrote:
> Specify that uuidd can only be built on Linux now since
Did you managed to build ipcs and ipcrm and do they work
correctly? Which system have you tried?
> commit 25d66b4e3232d7b "uuidd: use signalfd() and setup_timer()"
>
> Signed-off-by: Andreas Henriksson <andreas@fatal.se>
> ---
> configure.ac | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure.ac b/configure.ac
> index 8d808b7..e5ee3fb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1079,6 +1079,7 @@ AC_ARG_ENABLE([uuidd],
> [], [UL_DEFAULT_ENABLE([uuidd], [check])]
> )
> UL_BUILD_INIT([uuidd])
> +UL_REQUIRES_LINUX([uuidd])
> UL_REQUIRES_BUILD([uuidd], [libuuid])
> AS_IF([test "x$build_uuidd" = xyes], [
> AC_DEFINE([HAVE_UUIDD], [1], [Define to 1 if you want to use uuid
> daemon.])
I have an alternative patch and would push it until tomorrow:
-----------
build-sys: improve uuidd and script build conditions
diff --git a/configure.ac b/configure.ac
index 5e89e3b..fafe762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -244,6 +244,7 @@ AC_CHECK_HEADERS([ \
sys/param.h \
sys/prctl.h \
sys/resource.h \
+ sys/signalfd.h \
sys/socket.h \
sys/sockio.h \
sys/stat.h \
@@ -289,6 +290,7 @@
have_security_pam_appl_h=$ac_cv_header_security_pam_appl_h
have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h
have_security_openpam_h=$ac_cv_header_security_openpam_h
have_shadow_h=$ac_cv_header_shadow_h
+have_sys_signalfd_h=$ac_cv_header_sys_signalfd_h
have_utmp_h=$ac_cv_header_utmp_h
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@@ -1079,6 +1081,8 @@ AC_ARG_ENABLE([uuidd],
)
UL_BUILD_INIT([uuidd])
UL_REQUIRES_BUILD([uuidd], [libuuid])
+UL_REQUIRES_HAVE([uuidd], [timer], [timer_create function])
+UL_REQUIRES_HAVE([uuidd], [sys_signalfd_h], [sys/signalfd.h header])
AS_IF([test "x$build_uuidd" = xyes], [
AC_DEFINE([HAVE_UUIDD], [1], [Define to 1 if you want to use uuid
daemon.])
])
@@ -1494,7 +1498,7 @@ UL_REQUIRES_LINUX([setarch])
AM_CONDITIONAL([BUILD_SETARCH], [test "x$build_setarch" = xyes])
UL_BUILD_INIT([script], [check])
-UL_REQUIRES_LINUX([script])
+UL_REQUIRES_HAVE([script], [sys_signalfd_h], [sys/signalfd.h header])
AM_CONDITIONAL([BUILD_SCRIPT], [test "x$build_script" = xyes])
UL_BUILD_INIT([scriptreplay], [yes])
-----------
next prev parent reply other threads:[~2016-03-13 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-13 17:56 [PATCH] build: uuidd requires linux now, uses signalfd Andreas Henriksson
2016-03-13 20:45 ` Ruediger Meier [this message]
2016-03-14 6:42 ` Andreas Henriksson
2016-03-14 11:38 ` Ruediger Meier
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=201603132145.44967.sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=andreas@fatal.se \
--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