[Spice-devel] [PATCH 1/7] spice-ppc: Adds powerppc compilation support

Christophe Fergeau cfergeau at redhat.com
Thu Aug 9 09:02:19 PDT 2012


On Thu, Aug 09, 2012 at 04:52:01PM +0200, Paolo Bonzini wrote:
> Il 07/08/2012 20:39, Erlon Cruz ha scritto:
> > -AC_MSG_CHECKING(for x86 or x86-64 platform)
> > +AC_MSG_CHECKING(for x86,x86-64 or powerpc64 platform)
> >  case $host_cpu in
> >    i386|i486|i586|i686|i786|k6|k7|arm|armv7)
> >  	variant=32
> > @@ -64,13 +64,19 @@ case $host_cpu in
> >    x86_64)
> >  	variant=64
> >  	;;
> > +  powerpc64)
> > +	variant=ppc64
> > +	AC_DEFINE_UNQUOTED([WORDS_BIGENDIAN], 1,
> > +	[Set on powerpc hosts])
> 
> Remove this...
> 
> > +	;;
> >    *)
> >  	AC_MSG_RESULT(no)
> > -	echo Only x86 and x86-64 are supported
> > +	echo Only x86,x86-64 and powerpc64 are supported
> >  	exit 1
> >  esac
> >  AC_MSG_RESULT($variant bit)
> >  AM_CONDITIONAL([X86_64], [test "$variant" = 64])
> > +AM_CONDITIONAL([PPC64], [test "$variant" = ppc64])
> 
> ... and add AC_C_BIGENDIAN here.

It's already present in spice configure.ac

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120809/d25cb742/attachment.pgp>


More information about the Spice-devel mailing list