* [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path
@ 2013-04-28 14:27 ` Andreas Färber
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2013-04-28 14:27 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, qemu-stable, agraf, Andreas Färber, brogers
openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 21438d4..643153f 100755
--- a/configure
+++ b/configure
@@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz"
if test "$seccomp" != "no" ; then
if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
+ QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
seccomp="yes"
else
if test "$seccomp" = "yes"; then
--
1.8.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [Qemu-devel] [PATCH for-1.5] configure: Pick up libseccomp include path
@ 2013-04-28 14:27 ` Andreas Färber
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2013-04-28 14:27 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, qemu-stable, agraf, Andreas Färber, brogers
openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 21438d4..643153f 100755
--- a/configure
+++ b/configure
@@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz"
if test "$seccomp" != "no" ; then
if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
+ QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
seccomp="yes"
else
if test "$seccomp" = "yes"; then
--
1.8.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path
2013-04-28 14:27 ` [Qemu-devel] " Andreas Färber
@ 2013-05-01 16:53 ` Michael Tokarev
-1 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2013-05-01 16:53 UTC (permalink / raw)
To: Andreas Färber; +Cc: qemu-trivial, agraf, brogers, qemu-devel, qemu-stable
28.04.2013 18:27, Andreas Färber wrote:
> openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
> so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Andreas Färber <afaerber@suse.de>
Thanks, applied to qemu-trivial tree (372e47e9b5e31c493823d7f512716644fb02d0fd).
/mjt
> configure | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index 21438d4..643153f 100755
> --- a/configure
> +++ b/configure
> @@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz"
> if test "$seccomp" != "no" ; then
> if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
> libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
> + QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
> seccomp="yes"
> else
> if test "$seccomp" = "yes"; then
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path
@ 2013-05-01 16:53 ` Michael Tokarev
0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2013-05-01 16:53 UTC (permalink / raw)
To: Andreas Färber; +Cc: qemu-trivial, agraf, brogers, qemu-devel, qemu-stable
28.04.2013 18:27, Andreas Färber wrote:
> openSUSE 12.3 has seccomp.h in /usr/include/libseccomp-1.0.1,
> so add `pkg-config --cflags libseccomp` output to QEMU_CFLAGS.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Andreas Färber <afaerber@suse.de>
Thanks, applied to qemu-trivial tree (372e47e9b5e31c493823d7f512716644fb02d0fd).
/mjt
> configure | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index 21438d4..643153f 100755
> --- a/configure
> +++ b/configure
> @@ -1505,6 +1505,7 @@ libs_softmmu="$libs_softmmu -lz"
> if test "$seccomp" != "no" ; then
> if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
> libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
> + QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
> seccomp="yes"
> else
> if test "$seccomp" = "yes"; then
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-01 16:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-28 14:27 [Qemu-trivial] [PATCH for-1.5] configure: Pick up libseccomp include path Andreas Färber
2013-04-28 14:27 ` [Qemu-devel] " Andreas Färber
2013-05-01 16:53 ` [Qemu-trivial] " Michael Tokarev
2013-05-01 16:53 ` [Qemu-devel] " Michael Tokarev
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.