Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-05 Thread Stefan Hajnoczi
On Sun, Sep 02, 2012 at 03:09:44PM +0200, Yann E. MORIN wrote: > Hello All! > > Currently, configure checks for cURL and SDL with either pkg-config (the > default), or with {curl,sdl}-config (as a fallback). > > But pkg-config and {curl,sdl}-config do not have the same set of options: > - to ch

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Yann E. MORIN
Peter, All, On Monday 03 September 2012 18:38:48 Peter Maydell wrote: > On 3 September 2012 17:28, Yann E. MORIN wrote: > > On Monday 03 September 2012 17:44:51 Peter Maydell wrote: > >> Personally I think it might indeed be a good idea to just say > >> "statically linked softmmu isn't supported"

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Peter Maydell
On 3 September 2012 17:28, Yann E. MORIN wrote: > On Monday 03 September 2012 17:44:51 Peter Maydell wrote: >> Personally I think it might indeed be a good idea to just say >> "statically linked softmmu isn't supported" and forbid it, unless >> somebody has a good use case for it... > > I personna

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Yann E. MORIN
Hello All, On Monday 03 September 2012 17:44:51 Peter Maydell wrote: > On 3 September 2012 16:41, Andreas Färber wrote: > > The only use case for QEMU's --static compilation I know is linux-user, > > and that doesn't need cURL or SDL AFAIK. Shouldn't we rather sanitize > > our configure-time chec

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Peter Maydell
On 3 September 2012 16:41, Andreas Färber wrote: > The only use case for QEMU's --static compilation I know is linux-user, > and that doesn't need cURL or SDL AFAIK. Shouldn't we rather sanitize > our configure-time checks to only look for the actually needed stuff > than making sure that unnecess

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Andreas Färber
Hello, Am 02.09.2012 15:09, schrieb Yann E. MORIN: > Currently, configure checks for cURL and SDL with either pkg-config (the > default), or with {curl,sdl}-config (as a fallback). > > But pkg-config and {curl,sdl}-config do not have the same set of options: > - to check for shared libs, both u

Re: [Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-03 Thread Stefan Hajnoczi
On Sun, Sep 2, 2012 at 2:09 PM, Yann E. MORIN wrote: > Hello All! > > Currently, configure checks for cURL and SDL with either pkg-config (the > default), or with {curl,sdl}-config (as a fallback). > > But pkg-config and {curl,sdl}-config do not have the same set of options: > - to check for sha

[Qemu-devel] [PATCH 0/2 v3] Fix static linking for cURL and SDL

2012-09-02 Thread Yann E. MORIN
Hello All! Currently, configure checks for cURL and SDL with either pkg-config (the default), or with {curl,sdl}-config (as a fallback). But pkg-config and {curl,sdl}-config do not have the same set of options: - to check for shared libs, both use the option: --libs - to check for static libs