From 08e543ea6f4b9ba5f4d80b79b74fdd0b570687e7 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 29 May 2018 10:34:21 +0200 Subject: 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 5477377d..e3296d99 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,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 Define _GNU_SOURCE for various things like strcasestr() AC_USE_SYSTEM_EXTENSIONS -- cgit v1.2.1