gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash configure.ac ChangeLog plugin/mozilla-sdk...


From: Rob Savoye
Subject: [Gnash-commit] gnash configure.ac ChangeLog plugin/mozilla-sdk...
Date: Thu, 23 Nov 2006 00:07:09 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    06/11/23 00:07:09

Modified files:
        .              : configure.ac ChangeLog 
        plugin/mozilla-sdk/include: prcpucfg.h 

Log message:
                * configure.ac: Check for powerpc Darwin, and set __powerpc64__ 
so
                the Mozilla headers still work to do a gtk build. Fixes #18353.
                * plugin/mozilla-sdk/include/prcpucfg.h: Include config.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.193&r2=1.194
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1717&r2=1.1718
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prcpucfg.h?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -b -r1.193 -r1.194
--- configure.ac        21 Nov 2006 14:05:22 -0000      1.193
+++ configure.ac        23 Nov 2006 00:07:09 -0000      1.194
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.193 2006/11/21 14:05:22 strk Exp $
+dnl $Id: configure.ac,v 1.194 2006/11/23 00:07:09 rsavoye Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -26,8 +26,15 @@
 
 AC_CANONICAL_TARGET
 
+case "${host}" in
+  powerpc-apple-darwin*)
+    AC_DEFINE([__powerpc64__], [], [this is a 64 bit powerpc]) ;;
+  openbsd*)
+    openbsd_os=openbsd ;;
+esac
+
 dnl openbsd without version number
-openbsd_os=`echo $target_os | cut -c 1-7`
+dnl openbsd_os=`echo $target_os | cut -c 1-7`
 
 AM_CONDITIONAL(PLUGIN_LINK_UNDEFINED, test x$openbsd_os = xopenbsd)
 
@@ -294,6 +301,7 @@
 PKG_PROG_PKG_CONFIG
 dnl LIBS+="-L/usr/lib64"
 AC_PATH_TOOL([AUTOTRACE], [autotrace])
+AC_HEADER_DIRENT
 
 dnl
 dnl !! This has been moved here to make --enable-plugin work
@@ -774,8 +782,9 @@
 plugin/Makefile
 plugin/klash/Makefile
 )
+dnl cygnal/Makefile
 dnl extensions/Makefile
-dnl extensions/template/Makefile
+dnl extensions/dejagnu/Makefile
 
 echo ""
 echo "Configurable options are:"

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1717
retrieving revision 1.1718
diff -u -b -r1.1717 -r1.1718
--- ChangeLog   22 Nov 2006 18:09:30 -0000      1.1717
+++ ChangeLog   23 Nov 2006 00:07:09 -0000      1.1718
@@ -1,3 +1,9 @@
+2006-11-22  Rob Savoye  <address@hidden>
+
+       * configure.ac: Check for powerpc Darwin, and set __powerpc64__ so
+       the Mozilla headers still work to do a gtk build. Fixes #18353.
+       * plugin/mozilla-sdk/include/prcpucfg.h: Include config.h.
+
 2006-11-22 Sandro Santilli <address@hidden>
 
        * testsuite/actionscript.all/Makefile.am:

Index: plugin/mozilla-sdk/include/prcpucfg.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prcpucfg.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- plugin/mozilla-sdk/include/prcpucfg.h       17 Oct 2006 20:52:58 -0000      
1.7
+++ plugin/mozilla-sdk/include/prcpucfg.h       23 Nov 2006 00:07:09 -0000      
1.8
@@ -23,6 +23,10 @@
 #ifndef nspr_cpucfg___
 #define nspr_cpucfg___
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #ifndef XP_UNIX
 #define XP_UNIX
 #endif
@@ -33,7 +37,7 @@
 
 #define PR_AF_INET6 10  /* same as AF_INET6 */
 
-#ifdef __powerpc64__
+#if defined(__powerpc64__)
 
 #undef  IS_LITTLE_ENDIAN
 #define IS_BIG_ENDIAN    1




reply via email to

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