From: Petr Vorel <pvorel@suse.cz>
To: Marcos Paulo de Souza <mpdesouza@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] configure.ac: Fix redefinition of mount_attr by checking sys/mount.h
Date: Mon, 26 Sep 2022 21:26:33 +0200 [thread overview]
Message-ID: <YzH86TOjFZj3cUwq@pevik> (raw)
In-Reply-To: <20220926165949.23407-1-mpdesouza@suse.com>
Hi Marcos,
> mount_setattr and mount_attr are defined in sys/mount.h.
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
> ---
> Tested on openSUSE Tumbleweed
> configure.ac | 1 +
> 1 file changed, 1 insertion(+)
> diff --git a/configure.ac b/configure.ac
> index 1deeffc0c..0e9895415 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -71,6 +71,7 @@ AC_CHECK_HEADERS_ONCE([ \
> sys/epoll.h \
> sys/fanotify.h \
> sys/inotify.h \
> + sys/mount.h \
Well, we don't add check for this, as sys/mount.h has been here since "ever", so
it'd just make configure little bit slower for no gain.
But you'd have to use somewhere compiler macro #ifdef HAVE_SYS_MOUNT_H, as this
macro is generated by configure script. Adding header to the list does nothing.
You obviously wanted to fix something, could you post the problem you're trying
to solve + steps you did to ML?
BTW I have no problem to build locally on the latest Tumbleweed. Also LTP
package build for Tumbleweed is also fine:
https://build.opensuse.org/package/binaries/benchmark:ltp:devel/ltp/openSUSE_Factory
https://build.opensuse.org/package/binaries/benchmark:ltp:devel/ltp/openSUSE_Tumbleweed
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2022-09-26 19:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 16:59 [LTP] [PATCH] configure.ac: Fix redefinition of mount_attr by checking sys/mount.h Marcos Paulo de Souza via ltp
2022-09-26 19:26 ` Petr Vorel [this message]
2022-09-26 22:17 ` Marcos Paulo de Souza
2022-09-27 7:09 ` Petr Vorel
2022-09-27 13:10 ` Marcos Paulo de Souza
2022-09-27 20:08 ` Petr Vorel
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=YzH86TOjFZj3cUwq@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=mpdesouza@suse.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.