From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PULL 4/5] sdl: prefer sdl2 over sdl1
Date: Wed, 14 Jun 2017 09:56:52 +0200 [thread overview]
Message-ID: <20170614075653.26420-5-kraxel@redhat.com> (raw)
In-Reply-To: <20170614075653.26420-1-kraxel@redhat.com>
In case the configure script finds both SDL 1.2 and SDL 2.x installed
it still prefers SDL 1.2. Prefer SDL 2.x instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170606105339.3613-3-kraxel@redhat.com
---
configure | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index bfba156a41..db0798d51d 100755
--- a/configure
+++ b/configure
@@ -2598,12 +2598,12 @@ fi
# sdl-config even without cross prefix, and favour pkg-config over sdl-config.
if test "$sdlabi" = ""; then
- if $pkg_config --exists "sdl"; then
- sdlabi=1.2
- elif $pkg_config --exists "sdl2"; then
+ if $pkg_config --exists "sdl2"; then
sdlabi=2.0
+ elif $pkg_config --exists "sdl"; then
+ sdlabi=1.2
else
- sdlabi=1.2
+ sdlabi=2.0
fi
fi
@@ -2630,7 +2630,7 @@ elif has ${sdl_config}; then
sdlversion=$($sdlconfig --version)
else
if test "$sdl" = "yes" ; then
- feature_not_found "sdl" "Install SDL devel"
+ feature_not_found "sdl" "Install SDL2-devel"
fi
sdl=no
fi
--
2.9.3
next prev parent reply other threads:[~2017-06-14 7:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-14 7:56 [Qemu-devel] [PULL v2 0/5] ui patch queue Gerd Hoffmann
2017-06-14 7:56 ` [Qemu-devel] [PULL 1/5] Improve Cocoa modifier key handling Gerd Hoffmann
2017-06-14 7:56 ` [Qemu-devel] [PULL 2/5] spice: Use proper enum type for kbd led state Gerd Hoffmann
2017-06-14 7:56 ` [Qemu-devel] [PULL 3/5] gtk: prefer gtk3 over gtk2 Gerd Hoffmann
2017-06-14 7:56 ` Gerd Hoffmann [this message]
2017-06-14 7:56 ` [Qemu-devel] [PULL 5/5] spice: don't enter opengl mode in case another UI provides opengl support Gerd Hoffmann
2017-06-14 8:51 ` [Qemu-devel] [PULL v2 0/5] ui patch queue no-reply
2017-06-20 8:06 ` Peter Maydell
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=20170614075653.26420-5-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).