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: Dossy Shiobara
Subject: [Gnash-commit] gnash ChangeLog configure.ac
Date: Sat, 26 Apr 2008 12:17:43 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Dossy Shiobara <dossy>  08/04/26 12:17:42

Modified files:
        .              : ChangeLog configure.ac 

Log message:
        Use AC_PATH_TOOL instead of AC_PATH_PROG, which should
        automatically look for cross-compiling tools.  Fixed the
        NSPR_CFLAGS check and guarded the WINDRES checks, too.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6405&r2=1.6406
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.520&r2=1.521

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6405
retrieving revision 1.6406
diff -u -b -r1.6405 -r1.6406
--- ChangeLog   26 Apr 2008 11:17:42 -0000      1.6405
+++ ChangeLog   26 Apr 2008 12:17:39 -0000      1.6406
@@ -1,3 +1,10 @@
+2008-04-26  Dossy Shiobara <address@hidden>
+
+       * configure.ac: Use AC_PATH_TOOL instead of
+         AC_PATH_PROG, which should automatically look for
+         cross-compiling tools.  Fixed the NSPR_CFLAGS check
+         and guarded the WINDRES checks, too.
+
 2008-04-26 Sandro Santilli <address@hidden>
 
        * configure.ac: AC_DEFINE_UNQUOTED saved the day

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.520
retrieving revision 1.521
diff -u -b -r1.520 -r1.521
--- configure.ac        26 Apr 2008 11:17:43 -0000      1.520
+++ configure.ac        26 Apr 2008 12:17:42 -0000      1.521
@@ -1417,8 +1417,7 @@
 
 GNASH_PKG_FIND(nspr, [nspr.h], [Netscape Portable Runtime (NSPR)], PR_Init)
 
-AC_PATH_PROG(WINDRES, ${host_cpu}-${host_os}-windres windres, [], 
[${pathlist}])
-
+AC_PATH_TOOL(WINDRES, [windres])
 AC_SUBST(WINDRES)
 
 GNASH_PKG_FIND(z, [zlib.h], [zlib compression library], compress)
@@ -1529,10 +1528,10 @@
 fi
 
 if test x$windows = xyes -a x$nsapi = xyes; then
-  if test x$NSPR_CFLAGS = x -a x$NSPR_LIBS = x; then
+  if test "x$NSPR_CFLAGS" = x -a "x$NSPR_LIBS" = x; then
     AC_MSG_ERROR(["On Win32, NPAPI plugin requires NSPR."])
   fi
-  if test x$WINDRES = x; then
+  if test "x$WINDRES" = x; then
     AC_MSG_ERROR(["On Win32, NPAPI plugin requires windres."])
   fi
 fi




reply via email to

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