gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog configure.ac libbase/tu_types.h


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog configure.ac libbase/tu_types.h
Date: Tue, 17 Oct 2006 22:57:58 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  06/10/17 22:57:58

Modified files:
        .              : ChangeLog configure.ac 
        libbase        : tu_types.h 

Log message:
        Check for endian.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1276&r2=1.1277
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.167&r2=1.168
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_types.h?cvsroot=gnash&r1=1.28&r2=1.29

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1276
retrieving revision 1.1277
diff -u -b -r1.1276 -r1.1277
--- ChangeLog   17 Oct 2006 22:27:25 -0000      1.1276
+++ ChangeLog   17 Oct 2006 22:57:58 -0000      1.1277
@@ -1,3 +1,7 @@
+2006-10-18 Markus Gothe <address@hidden>
+
+       * configure.ac, libbase/tu_types.h: Check for endian.h.
+
 2006-10-17 Tomas Groth Christensen <address@hidden>
 
        * backend/sound_handler_sdl.cpp: Removed call to GCC specific STL 

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -b -r1.167 -r1.168
--- configure.ac        17 Oct 2006 17:40:22 -0000      1.167
+++ configure.ac        17 Oct 2006 22:57:58 -0000      1.168
@@ -33,7 +33,7 @@
 dnl also makes it possible to release a modified version which carries
 dnl forward this exception.
 
-dnl $Id: configure.ac,v 1.167 2006/10/17 17:40:22 nihilus Exp $
+dnl $Id: configure.ac,v 1.168 2006/10/17 22:57:58 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, 0.7.1-cvs)
@@ -455,6 +455,9 @@
 AC_CHECK_FUNCS(strlcat, AC_DEFINE(HAVE_STRLCAT_PROTO, [1],[Define if you have 
the strlcat prototype]))
 dnl Look for Win32 networking stuff
 AC_CHECK_HEADERS(winsock.h)
+AC_CHECK_HEADERS(sys/endian.h)
+AC_CHECK_HEADERS(machine/endian.h)
+AC_CHECK_HEADERS(endian.h)
 AC_CHECK_FUNCS(socket)
 AC_CHECK_FUNCS(CreateFileMappingA)
 

Index: libbase/tu_types.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_types.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- libbase/tu_types.h  17 Oct 2006 21:06:21 -0000      1.28
+++ libbase/tu_types.h  17 Oct 2006 22:57:58 -0000      1.29
@@ -34,6 +34,9 @@
 // forward this exception.
 // 
 //
+
+/* $Id: tu_types.h,v 1.29 2006/10/17 22:57:58 nihilus Exp $ */
+
 #ifndef TU_TYPES_H
 #define TU_TYPES_H
 
@@ -74,10 +77,12 @@
 #endif
 
 #ifndef BYTE_ORDER
-#if defined(linux) || defined(__linux) || defined(__linux__)
+#ifdef HAVE_ENDIAN_H
        #include <endian.h>
-#else
+#elif HAVE_SYS_ENDIAN_H
        #include <sys/endian.h>
+#elif HAVE_MACHINE_ENDIAN_H
+       #include <machine/endian.h>
 #endif
 #  ifndef BYTE_ORDER
 #    error BYTE_ORDER not defined by endian.h. :(




reply via email to

[Prev in Thread] Current Thread [Next in Thread]