[NetworkManager-openvpn/lr/ci: 4/5] build: find is required by libtool
- From: Francesco Giudici <fgiudici src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-openvpn/lr/ci: 4/5] build: find is required by libtool
- Date: Thu, 7 Jun 2018 10:40:16 +0000 (UTC)
commit fd5de34e3e2ccced1509c8c0a411333186c2cb54
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue May 29 10:34:21 2018 +0200
build: find is required by libtool
It's not necessarily present among the packages in a minimal
installation (such as Fedora's docker image). Worse even, libtool just
ends up not linking to some .la libraries.
Don't assume it's there.
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index e99af75..78ef792 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,11 @@ if test x$has_file = xno ; then
AC_MSG_ERROR(["file" utility not found.])
fi
+AC_CHECK_PROG([has_find], find, yes, no)
+if test x$has_find = xno ; then
+ AC_MSG_ERROR(["find" utility not found.])
+fi
+
AC_CONFIG_MACRO_DIR([m4])
dnl Prefer gcc-* variants; the ones libtool would choose don't work with LTO
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]