[NetworkManager-libreswan/lr/ci: 4/5] build: find is required by libtool
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-libreswan/lr/ci: 4/5] build: find is required by libtool
- Date: Wed, 6 Jun 2018 18:26:28 +0000 (UTC)
commit 046160dd921482832bc49bb36acbb38b60cc1bb3
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 13531e2..ac49376 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,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
+
dnl
dnl Required headers
dnl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]