diff for ORBit V0_2 on IRIX 6.3




Tell me if I should send these somewhere else (ORBit compiles with
this, but I haven't run it yet...).

Index: ORBit/configure.in
===================================================================
RCS file: /cvs/gnome/ORBit/configure.in,v
retrieving revision 1.25
diff -u -r1.25 configure.in
--- configure.in	1998/08/05 20:16:51	1.25
+++ configure.in	1998/08/06 14:56:26
@@ -90,7 +90,7 @@
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h unistd.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h)
+AC_CHECK_HEADERS(fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h)
 AC_CHECK_HEADERS(stddef.h wchar.h wcstr.h wctype.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
Index: ORBit/src/ORBitutil/machine_endian.awk
===================================================================
RCS file: /cvs/gnome/ORBit/src/ORBitutil/machine_endian.awk,v
retrieving revision 1.2
diff -u -r1.2 machine_endian.awk
--- machine_endian.awk	1998/07/27 17:09:23	1.2
+++ machine_endian.awk	1998/08/06 14:56:27
@@ -7,11 +7,13 @@
 /^\#define[ \t]/ { def[$2] = $3; }
 
 END {
-  if (def["HAVE_MACHINE_ENDIAN_H"] || def["HAVE_ENDIAN_H"] || def["HAVE_SYS_MACHINE_H"]) {
+  if (def["HAVE_MACHINE_ENDIAN_H"] || def["HAVE_ENDIAN_H"] || def["HAVE_SYS_MACHINE_H"] || def["HAVE_SYS_ENDIAN_H"]) {
     if (def["HAVE_MACHINE_ENDIAN_H"])
       print "#include <machine/endian.h>";
     if (def["HAVE_SYS_MACHINE_H"])
       print "#include <sys/machine.h>";
+    if (def["HAVE_SYS_ENDIAN_H"])
+      print "#include <sys/endian.h>";
     else
       print "#include <endian.h>";
     print "#if BYTE_ORDER == LITTLE_ENDIAN";



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