Re: [Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling

2010-01-12 Thread Paolo Bonzini
On 01/11/2010 08:40 PM, Anthony Liguori wrote: Wouldn't it make more sense to try to use pkg-config always and if it's not available, fall back on sdl-config? That means we don't have a separate code path for cross compiling which means it's less likely to break. I certainly can make that, I

Re: [Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling

2010-01-12 Thread Anthony Liguori
On 01/12/2010 02:46 AM, Paolo Bonzini wrote: On 01/11/2010 08:40 PM, Anthony Liguori wrote: Wouldn't it make more sense to try to use pkg-config always and if it's not available, fall back on sdl-config? That means we don't have a separate code path for cross compiling which means it's less

Re: [Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling

2010-01-11 Thread Anthony Liguori
On 01/07/2010 08:42 AM, Paolo Bonzini wrote: Together with the previous patch this enables using the prefixed pkg-config, thus picking up the correct flags for SDL. Since pkg-config has an awful lot of dependencies, I still use sdl-config when not cross-compiling since some people may only have

[Qemu-devel] [PATCH 2/3] use pkg-config for sdl when cross compiling

2010-01-07 Thread Paolo Bonzini
Together with the previous patch this enables using the prefixed pkg-config, thus picking up the correct flags for SDL. Since pkg-config has an awful lot of dependencies, I still use sdl-config when not cross-compiling since some people may only have the latter. Signed-off-by: Paolo Bonzini