diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-05-29 10:34:21 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-05-29 12:32:46 +0200 |
commit | 08e543ea6f4b9ba5f4d80b79b74fdd0b570687e7 (patch) | |
tree | bd3829e6e3c29cc41778d0e929963e20d5dba45c | |
parent | 088b59fc0e95da79c91f67943085a0b4a6be8112 (diff) | |
download | network-manager-applet-08e543ea6f4b9ba5f4d80b79b74fdd0b570687e7.tar.gz |
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.
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
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 |