gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10506: add --with-swfmill option to


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10506: add --with-swfmill option to configure
Date: Sun, 04 Jan 2009 18:32:20 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10506
author: Ralf Thalau <address@hidden>
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sun 2009-01-04 18:32:20 +0100
message:
  add --with-swfmill option to configure
added:
  macros/swfmill.m4
modified:
  configure.ac
=== modified file 'configure.ac'
--- a/configure.ac      2008-12-27 09:53:28 +0000
+++ b/configure.ac      2009-01-04 17:32:20 +0000
@@ -1608,8 +1608,8 @@
 dnl See if we can use the swfmill, mtasc, swfc and haxe based testsuites 
 dnl
 if test x$cross_compiling = xno; then
-  AC_PATH_PROG(SWFMILL, swfmill)
   AC_PATH_PROG(SWFC, swfc)
+  AC_PATH_SWFMILL
   AC_PATH_MTASC
   AC_PATH_HAXE
 fi

=== added file 'macros/swfmill.m4'
--- a/macros/swfmill.m4 1970-01-01 00:00:00 +0000
+++ b/macros/swfmill.m4 2009-01-04 17:32:20 +0000
@@ -0,0 +1,48 @@
+dnl
+dnl    Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+dnl
+dnl  This program is free software; you can redistribute it and/or modify
+dnl  it under the terms of the GNU General Public License as published by
+dnl  the Free Software Foundation; either version 3 of the License, or
+dnl  (at your option) any later version.
+dnl
+dnl  This program is distributed in the hope that it will be useful,
+dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl  GNU General Public License for more details.
+dnl  You should have received a copy of the GNU General Public License
+dnl  along with this program; if not, write to the Free Software
+dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+dnl
+
+
+#
+# Use:
+#      AC_PATH_SWFMILL
+#
+# Provides:
+#      SWFMILL   - Path to swfmill executable
+#
+
+AC_DEFUN([AC_PATH_SWFMILL], [
+  SWFMILL=""
+
+  AC_ARG_WITH(swfmill, AC_HELP_STRING([--with-swfmill=<path>], [Path to the 
swfmill executable]), [
+    case "${withval}" in
+      yes|no) ;;
+      *) SWFMILL=${withval} ;;
+    esac
+  ], SWFMILL="")
+
+  if test x"$SWFMILL" = "x"; then
+    AC_PATH_PROG(SWFMILL, swfmill, ,[${pathlist}])
+  fi
+
+  AC_SUBST(HAXE)
+])
+
+# Local Variables:
+# c-basic-offset: 2
+# tab-width: 2
+# indent-tabs-mode: nil
+# End:


reply via email to

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