From: Andreas Färber Date: Sun, 28 Apr 2013 14:27:26 +0000 (+0200) Subject: configure: Pick up libseccomp include path X-Git-Tag: v1.4.2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d10d2510b903a8ed8be584199828e95d1c267e14;p=thirdparty%2Fqemu.git configure: Pick up libseccomp include path 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 Signed-off-by: Michael Tokarev (cherry picked from commit 372e47e9b5e31c493823d7f512716644fb02d0fd) Signed-off-by: Michael Roth --- diff --git a/configure b/configure index e7468a98b75..d7a39cc9fd9 100755 --- a/configure +++ b/configure @@ -1435,6 +1435,7 @@ fi 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