[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10923: Extract Haxe version number.
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10923: Extract Haxe version number. We should require 2.0. This patch doesn't do that yet, but gets the version... |
Date: |
Tue, 26 May 2009 14:30:00 +0200 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 10923
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2009-05-26 14:30:00 +0200
message:
Extract Haxe version number. We should require 2.0. This patch doesn't do
that yet, but gets the version...
modified:
macros/haxe.m4
=== modified file 'macros/haxe.m4'
--- a/macros/haxe.m4 2009-02-25 22:33:03 +0000
+++ b/macros/haxe.m4 2009-05-26 12:30:00 +0000
@@ -47,6 +47,17 @@
AC_PATH_PROG(HAXE, haxe, ,[${pathlist}])
fi
+ if test x"$HAXE" != "x"; then
+ HAXE_VERSION=`$HAXE -help | grep ^Haxe | awk '{print $'3'}'`
+ major=`echo $HAXE_VERSION | cut -d '.' -f 1`
+ minor=`echo $HAXE_VERSION | cut -d '.' -f 2`
+ dnl
+ dnl FIXME: we need 2.00 or higher
+ dnl 1.19 was tested as failing to build some testcases
+ dnl preventing 'make check' from completing
+ dnl
+ fi
+
if test x"$HAXE" != "x" -a x"$HAXE_CLASSPATH" = "x"; then
# cross your fingers !
if test -d "`dirname ${HAXE}`/std"; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10923: Extract Haxe version number. We should require 2.0. This patch doesn't do that yet, but gets the version...,
Sandro Santilli <=