summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>2015-05-13 14:43:04 +0100
committerLennart Poettering <lennart@poettering.net>2015-05-13 15:48:28 +0200
commitf00929ad622c978f8ad83590a15a765b4beecac9 (patch)
treee5f05492f4065582e1e3fa1d079452d8aa0bd470 /configure.ac
parent7ba2711d3fd283c389db2a1e7b9598ba9f0dac0c (diff)
Default to /usr/bin/u?mount, configurable, rather than hard-coded /bin/u?mount.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 600e20383a..70e594d3ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,9 @@ AC_PATH_PROG([KEXEC], [kexec], [/usr/sbin/kexec], [$PATH:/usr/sbin:/sbin])
AC_PATH_PROG([SULOGIN], [sulogin], [/usr/sbin/sulogin], [$PATH:/usr/sbin:/sbin])
+AC_PATH_PROG([MOUNT_PATH], [mount], [/usr/bin/mount], [$PATH:/usr/sbin:/sbin])
+AC_PATH_PROG([UMOUNT_PATH], [umount], [/usr/bin/umount], [$PATH:/usr/sbin:/sbin])
+
AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])])
M4_DEFINES=