From: Jonathan Rajotte Date: Fri, 10 Jul 2015 15:36:45 +0000 (-0400) Subject: Build: Update m4 for bison & flex version check to match autoconf-archive file X-Git-Tag: v1.3.0~41 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=46b43f0547272349c1b69a18f2e036c95236341c Build: Update m4 for bison & flex version check to match autoconf-archive file Officials m4 were merged in [1][2]. [1] https://github.com/peti/autoconf-archive/commit/b2bdd8591b2d6b1eb580ead5f978a30e3ecfc36c [2] https://github.com/peti/autoconf-archive/commit/fd1f2862c1524e73495d67646d26000e2e85e807 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/m4/ax_prog_bison_version.m4 b/m4/ax_prog_bison_version.m4 index 6b955855..5da478c1 100644 --- a/m4/ax_prog_bison_version.m4 +++ b/m4/ax_prog_bison_version.m4 @@ -1,22 +1,27 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_prog_bison_version.html +# =========================================================================== +# # SYNOPSIS # # AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE]) # # DESCRIPTION # -# Makes sure that bison version is greater or equal to the version indicated. -# If true the shell commands in ACTION-IF-TRUE are executed. If not the shell -# commands in commands in ACTION-IF-TRUE are executed. If not the shell -# commands in ACTION-IF-FALSE are run. Note if $BISON is not set (for example -# by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail. +# Makes sure that bison version is greater or equal to the version +# indicated. If true the shell commands in ACTION-IF-TRUE are executed. If +# not the shell commands in commands in ACTION-IF-TRUE are executed. If +# not the shell commands in ACTION-IF-FALSE are run. Note if $BISON is not +# set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro +# will fail. # # Example: # # AC_PATH_PROG([BISON],[bison]) # AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ]) # -# This will check to make sure that the bison you have is at least -# version 3.0.2 or greater. +# This will check to make sure that the bison you have is at least version +# 3.0.2 or greater. # # NOTE: This macro uses the $BISON variable to perform the check. # @@ -29,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 2 AC_DEFUN([AX_PROG_BISON_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff --git a/m4/ax_prog_flex_version.m4 b/m4/ax_prog_flex_version.m4 index f1ad9ef6..da60e00f 100644 --- a/m4/ax_prog_flex_version.m4 +++ b/m4/ax_prog_flex_version.m4 @@ -1,22 +1,27 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_prog_flex_version.html +# =========================================================================== +# # SYNOPSIS # # AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE]) # # DESCRIPTION # -# Makes sure that flex version is greater or equal to the version indicated. -# If true the shell commands in ACTION-IF-TRUE are executed. If not the shell -# commands in commands in ACTION-IF-TRUE are executed. If not the shell -# commands in ACTION-IF-FALSE are run. Note if $FLEX is not set (for example -# by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail. +# Makes sure that flex version is greater or equal to the version +# indicated. If true the shell commands in ACTION-IF-TRUE are executed. If +# not the shell commands in commands in ACTION-IF-TRUE are executed. If +# not the shell commands in ACTION-IF-FALSE are run. Note if $FLEX is not +# set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro +# will fail. # # Example: # # AC_PATH_PROG([FLEX],[flex]) # AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ]) # -# This will check to make sure that the flex you have is at least -# version 2.5.39 or greater. +# This will check to make sure that the flex you have is at least version +# 2.5.39 or greater. # # NOTE: This macro uses the $FLEX variable to perform the check. #