-
Notifications
You must be signed in to change notification settings - Fork 1
/
0001-Allow-older-check-package-version.patch
40 lines (32 loc) · 1.45 KB
/
0001-Allow-older-check-package-version.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 3ec58ed5e9c758f201701faff31ddc7d2379ba7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
<frederic.pierret@qubes-os.org>
Date: Sun, 19 Jan 2020 11:30:37 +0100
Subject: [PATCH] Allow older check package version
---
configure.ac | 2 +-
meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 349508a0..0efac8d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,7 +134,7 @@ dnl check - Unit testing.
dnl ---------------------------------------------------------------------
AC_ARG_ENABLE([check], AS_HELP_STRING([--disable-check], [Build with checks using check library (default: enabled)]))
-AS_IF([test "x${enable_check}" != "xno"], [ PKG_CHECK_MODULES([check],[check >= 0.11.0], [HAVE_CHECK=1]) ])
+AS_IF([test "x${enable_check}" != "xno"], [ PKG_CHECK_MODULES([check],[check >= 0.10.0], [HAVE_CHECK=1]) ])
AM_CONDITIONAL([USE_CHECK], [test "x${enable_check}" != "xno" && test "$HAVE_CHECK" -eq 1])
diff --git a/meson.build b/meson.build
index e5eebb30..a8f4046a 100644
--- a/meson.build
+++ b/meson.build
@@ -65,7 +65,7 @@ deps += [
dependency('libstartup-notification-1.0'),
]
-check = dependency('check', version: '>= 0.11.0', required: get_option('check'))
+check = dependency('check', version: '>= 0.10.0', required: get_option('check'))
header_conf = configuration_data()
header_conf.set_quoted('PACKAGE_NAME', meson.project_name())
--
2.21.1