Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Scott Wood
On Fri, 8 Apr 2011 15:06:57 -0500 Anthony Liguori wrote: > On 04/08/2011 01:56 PM, Stefan Hajnoczi wrote: > > On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: > >> diff --git a/configure b/configure > >> index ae97e11..c5b85fe 100755 > >> --- a/configure > >> +++ b/configure > >> @@ -1

Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Anthony Liguori
On 04/08/2011 01:56 PM, Stefan Hajnoczi wrote: On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: diff --git a/configure b/configure index ae97e11..c5b85fe 100755 --- a/configure +++ b/configure @@ -1233,7 +1233,8 @@ else fi sdl=no fi -if test -n "$cross_prefix"&& test "`base

Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: > diff --git a/configure b/configure > index ae97e11..c5b85fe 100755 > --- a/configure > +++ b/configure > @@ -1233,7 +1233,8 @@ else >fi >sdl=no > fi > -if test -n "$cross_prefix" && test "`basename $sdlconfig`" = sdl-config; the

[Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Scott Wood
basename prints a missing-argument error when sdlconfig is empty and we're cross-compiling. Signed-off-by: Scott Wood --- configure |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure b/configure index ae97e11..c5b85fe 100755 --- a/configure +++ b/configure @@ -1