Discussion:
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2294-g49ad824
Sandro Santilli
2017-01-30 16:41:11 UTC
Permalink
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
via 49ad8249663616938ad34edf35825d93a31740ff (commit)
from 37044f9ef5888401b2cfc83df8ae0ceeef6bd37c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=49ad8249663616938ad34edf35825d93a31740ff


commit 49ad8249663616938ad34edf35825d93a31740ff
Author: Nutchanon Wetchasit <***@gmail.com>
Date: Mon Jan 30 17:40:32 2017 +0100

Remove leading zeroes from MING_VERSION_CODE comparison in configure script

See bug #50174 <https://savannah.gnu.org/bugs/?50174>

diff --git a/configure.ac b/configure.ac
index 5aed1f4..ffd5dee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
dnl
-dnl Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014
-dnl Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015,
+dnl 2017 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
@@ -2319,30 +2319,30 @@ if test x$cross_compiling = xno; then
fi

if test x"$MING_VERSION_CODE" = x; then
- MING_VERSION_CODE=00000000
+ MING_VERSION_CODE=0
fi

AM_CONDITIONAL(ENABLE_MING,
- [ test x"$MAKESWF" != x -a $MING_VERSION_CODE -gt 00040000 ])
+ [ test x"$MAKESWF" != x -a $MING_VERSION_CODE -gt 40000 ])

AM_CONDITIONAL(MING_VERSION_0_4,
- [ test $MING_VERSION_CODE -ge 00040000 ])
+ [ test $MING_VERSION_CODE -ge 40000 ])
AM_CONDITIONAL(MAKESWF_SUPPORTS_PREBUILT_CLIPS,
- [ test $MING_VERSION_CODE -ge 00040002 ])
+ [ test $MING_VERSION_CODE -ge 40002 ])
AM_CONDITIONAL(MING_SUPPORTS_INIT_ACTIONS,
- [ test $MING_VERSION_CODE -ge 00040004 ])
+ [ test $MING_VERSION_CODE -ge 40004 ])
AM_CONDITIONAL(MING_SUPPORTS_REPLACE_TAG,
- [ test $MING_VERSION_CODE -ge 00040005 ])
+ [ test $MING_VERSION_CODE -ge 40005 ])
AM_CONDITIONAL(MING_SUPPORTS_SWFBUTTON_ADD_CHARACTER,
- [ test $MING_VERSION_CODE -ge 00040005 ])
+ [ test $MING_VERSION_CODE -ge 40005 ])
AM_CONDITIONAL(MING_SUPPORTS_STREAMING_SOUND,
- [ test $MING_VERSION_CODE -ge 00040006 ])
+ [ test $MING_VERSION_CODE -ge 40006 ])
AM_CONDITIONAL(MING_SUPPORTS_SWFBUTTON_SET_DEPTH,
- [ test $MING_VERSION_CODE -ge 00040006 ])
+ [ test $MING_VERSION_CODE -ge 40006 ])
AM_CONDITIONAL(MING_VERSION_0_4_3,
- [ test $MING_VERSION_CODE -ge 00040300 ])
+ [ test $MING_VERSION_CODE -ge 40300 ])
AM_CONDITIONAL(MING_VERSION_0_4_4,
- [ test $MING_VERSION_CODE -ge 00040400 ])
+ [ test $MING_VERSION_CODE -ge 40400 ])

if test x$cross_compiling = xno; then
AC_ARG_WITH([swfdec_testsuite],
@@ -3892,7 +3892,7 @@ if test x"$testsuite" = x"yes"; then
RPM_ALTERNATIVE([ming-utils])
fi

- if test x"$MAKESWF" != x && test $MING_VERSION_CODE -lt 00040006; then
+ if test x"$MAKESWF" != x && test $MING_VERSION_CODE -lt 40006; then
echo " WARNING: You have an older version of Ming installed and will not" >&4
echo " be able to run all of the tests in Gnash testsuite." >&4
echo " Install the latest version from http://www.libming.org" >&4

-----------------------------------------------------------------------

Summary of changes:
configure.ac | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)


hooks/post-receive
--
Gnash
Loading...