configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
authorAndreas Tobler <a.tobler@schweiz.ch>
Wed, 22 Sep 2004 20:59:16 +0000 (22:59 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 22 Sep 2004 20:59:16 +0000 (22:59 +0200)
commit44bffd9f6f27b197e38424797bc07eefef69c6d7
treee1501afe85b73d4549a17f206fa2d5c8ac3803e3
parent08fb229ea8fa630c482553f284eeeed6c6a44c25
configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.

2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
* configure: Regenerate.
* include/config.h.in: Likewise.
* jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
macro to gtkpeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
architectures.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
Likewise.

From-SVN: r87889
libjava/ChangeLog
libjava/configure
libjava/configure.ac
libjava/include/config.h.in
libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
libjava/jni/gtk-peer/gtkpeer.h