* [Buildroot] [PATCH 1/1] libmaxminddb: improve --disable-tests patch
@ 2017-04-02 14:20 Fabrice Fontaine
2017-04-02 21:47 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2017-04-02 14:20 UTC (permalink / raw)
To: buildroot
Following review of libmaxminddb patch by Thomas Petazzoni, here is an
enhanced version of the --disable-tests patch which has been sent
upstream.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0001-Add-disable-tests-to-configure.patch | 26 +++++++++-------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch b/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
index 1ae5acc..8ff64e9 100644
--- a/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
+++ b/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
@@ -1,13 +1,13 @@
-From b12ca226c111730e2ef5d8a3d929dbd943fbe763 Mon Sep 17 00:00:00 2001
+From 8287848f747bd37298a2d32b8fd06cc59eb28028 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Thu, 9 Feb 2017 21:40:43 +0100
Subject: [PATCH] Add --disable-tests to configure
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
- Makefile.am | 6 +++++-
- configure.ac | 10 ++++++++++
- 2 files changed, 15 insertions(+), 1 deletion(-)
+ Makefile.am | 6 +++++-
+ configure.ac | 6 ++++++
+ 2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 1804945..cebcd31 100644
@@ -28,22 +28,18 @@ index 1804945..cebcd31 100644
EXTRA_DIST = doc t Changes.md LICENSE NOTICE README.md projects/VS12 projects/VS12-tests
dist-hook:
diff --git a/configure.ac b/configure.ac
-index 7916212..fc53ffd 100644
+index 7916212..2a22fab 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -119,6 +119,16 @@ AC_ARG_ENABLE(
+@@ -119,6 +119,12 @@ AC_ARG_ENABLE(
esac],[debug=false])
AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
-+AC_ARG_ENABLE(
-+ [tests],
-+ [ --enable-tests Compilation of tests code],
-+ [case "${enableval}" in
-+ yes) tests=true ;;
-+ no) tests=false ;;
-+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
-+ esac],[tests=false])
-+AM_CONDITIONAL([TESTS], [test x$tests = xtrue])
++AC_ARG_ENABLE([tests],
++ AS_HELP_STRING([--enable-tests], [Compilation of tests code]),
++ [enable_tests=${enableval}],
++ [enable_tests=yes])
++AM_CONDITIONAL([TESTS], [test "${enable_tests}" = "yes"])
+
AC_CONFIG_FILES([Makefile
src/Makefile
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] libmaxminddb: improve --disable-tests patch
2017-04-02 14:20 [Buildroot] [PATCH 1/1] libmaxminddb: improve --disable-tests patch Fabrice Fontaine
@ 2017-04-02 21:47 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-02 21:47 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 2 Apr 2017 16:20:57 +0200, Fabrice Fontaine wrote:
> Following review of libmaxminddb patch by Thomas Petazzoni, here is an
> enhanced version of the --disable-tests patch which has been sent
> upstream.
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0001-Add-disable-tests-to-configure.patch | 26 +++++++++-------------
> 1 file changed, 11 insertions(+), 15 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-02 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02 14:20 [Buildroot] [PATCH 1/1] libmaxminddb: improve --disable-tests patch Fabrice Fontaine
2017-04-02 21:47 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.