gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog configure.ac


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog configure.ac
Date: Thu, 19 Apr 2007 14:39:13 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     07/04/19 14:39:13

Modified files:
        .              : ChangeLog configure.ac 

Log message:
        Some platforms apparently define SIZET_FMT as
        signed long; add a test for it. Also, use gnashpkgtool.m4 to
        look for dejagnu.h as it is not guaranteed to be in the default
        compiler search path, especially on non-GNU platforms

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2930&r2=1.2931
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.291&r2=1.292

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2930
retrieving revision 1.2931
diff -u -b -r1.2930 -r1.2931
--- ChangeLog   19 Apr 2007 14:25:40 -0000      1.2930
+++ ChangeLog   19 Apr 2007 14:39:12 -0000      1.2931
@@ -1,3 +1,10 @@
+2007-04-19 Bastiaan Jacques <address@hidden>
+
+       * configure.ac: Some platforms apparently define SIZET_FMT as
+       signed long; add a test for it. Also, use gnashpkgtool.m4 to
+       look for dejagnu.h as it is not guaranteed to be in the default
+       compiler search path, especially on non-GNU platforms.
+
 2007-04-19 Martin Guy <address@hidden>
 
        * testsuite/actionscript.all/Date.as: Change case-[in]dependent

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -b -r1.291 -r1.292
--- configure.ac        18 Apr 2007 13:47:24 -0000      1.291
+++ configure.ac        19 Apr 2007 14:39:13 -0000      1.292
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.291 2007/04/18 13:47:24 martinwguy Exp $
+dnl $Id: configure.ac,v 1.292 2007/04/19 14:39:13 bjacques Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -77,6 +77,11 @@
   printf("%lu", num); ],
   AC_DEFINE(SIZET_FMT, ["%lu"], [size_t printf modifier is lu])
 )
+AC_TRY_COMPILE([#include <stdio.h>], [
+  size_t num = 0;
+  printf("%ld", num); ],
+  AC_DEFINE(SIZET_FMT, ["%ld"], [size_t printf modifier is ld])
+)
 
 CFLAGS="$save_CFLAGS";
 
@@ -403,7 +408,6 @@
 dnl AC_PATH_XTRA
 GNASH_PATH_X11
 
-AC_CHECK_HEADERS(dejagnu.h)
 AC_CHECK_HEADERS(malloc.h)
 AC_CHECK_HEADERS(getopt.h)
 AC_CHECK_HEADERS(libgen.h)
@@ -567,6 +571,7 @@
 dnl AC_CHECK_LIB(c, mremap)
 GNASH_PKG_FIND(z, [zlib.h], [zlib compression library], compress)
 GNASH_PKG_FIND(jpeg, [jpeglib.h], [jpeg images], jpeg_mem_init)
+GNASH_PKG_INCLUDES([dejagnu], [dejagnu.h])
 
 dnl if we're not building the extensions, then the _FLAGS and _LIBS settings
 dnl found in these tests are blank. This way they can be used in




reply via email to

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