Skip to content

Commit a210cc4

Browse files
author
Julio Montes
committed
versions: Specifies a version of autoconf-archive
version 2017.03.21 of autoconf-archive is required because this version contains a macro (AX_VALGRIND_DFLT) to enable or disable valgrind tests Signed-off-by: Julio Montes <julio.montes@intel.com>
1 parent 4561b00 commit a210cc4

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ installed on your system:
198198
- json-glib
199199
- libmnl
200200
- uuid
201-
- autoconf-archive
201+
- autoconf-archive - version 2017.03.21 or above
202202

203203
Configure Stage
204204
~~~~~~~~~~~~~~~

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ AC_LANG(C)
3232

3333
LT_INIT
3434

35+
source $srcdir/versions.txt
36+
3537
# Check for macros
3638
AC_DEFUN_ONCE([MACRO_CHECK],
3739
[
38-
ifdef([$1], true, [AC_FATAL([Please install autoconf-archive],)])
40+
ifdef([$1], true, [AC_FATAL([Please install autoconf-archive version ${autoconf_archive_version}],)])
3941
])
4042

4143
MACRO_CHECK([AX_VALGRIND_DFLT])
@@ -154,8 +156,6 @@ AS_IF([test x"$run_crio_tests" = x"yes"],
154156
AM_CONDITIONAL([CRIO_TESTS], [test x"$run_crio_tests" = x"yes"])
155157

156158
# Checks for libraries.
157-
source $srcdir/versions.txt
158-
159159
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= "$glib_version"], have_required_glib=yes, have_required_glib=no)
160160
AS_IF([test "$have_required_glib" != "yes"], AC_MSG_ERROR([ERROR: need glib ${glib_version}+ for the `G_FILE_MONITOR_WATCH_MOVES' flag]))
161161

versions.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ qemu_lite_version=741f430a960b5b67745670e8270db91aeb083c5f
1414
mpfr_version=3.1.4
1515
gmp_version=6.1.0
1616
mpc_version=1.0.3
17+
autoconf_archive_version=2017.03.21

0 commit comments

Comments
 (0)