]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
configure: disable qemu-keymap for linux-user qemu
authorLaurent Vivier <laurent@vivier.eu>
Thu, 19 Oct 2017 19:16:06 +0000 (21:16 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 23 Oct 2017 06:10:18 +0000 (08:10 +0200)
We don't need qemu-keymap when we build only linux-user qemu.

When we compile in static mode, the libxkbcommon is detected
by configure if the shared one is available, but cannot
be linked if the static version is not available.

As we don't need it for qemu-linux-user, and we generally need
a static link to use it in a chroot, disable qemu-keymap in
this case.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 20171019191606.14129-1-laurent@vivier.eu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
configure

index 6f21aaf9897ba175a6a0f8e64eea8d11e5da282f..03547cea6a780d080f81f9a79106d78384e48cbf 100755 (executable)
--- a/configure
+++ b/configure
@@ -5136,9 +5136,9 @@ if test "$softmmu" = yes ; then
     fi
     mpath=no
   fi
-fi
-if test "$xkbcommon" = "yes"; then
-  tools="qemu-keymap\$(EXESUF) $tools"
+  if test "$xkbcommon" = "yes"; then
+    tools="qemu-keymap\$(EXESUF) $tools"
+  fi
 fi
 
 # Probe for guest agent support/options