summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-01-23 14:35:20 -0300
committerLennart Poettering <lennart@poettering.net>2015-01-23 19:09:37 +0100
commit66b0e0e0e3652227fe107ab9d09fa14fd4bc4dfa (patch)
treeb3051c79cf14f973b40ed895d8058e4027b3100d /configure.ac
parent36a03ca2a8952ca1acb29fbe796210c27ff71aff (diff)
build-sys: lookup for sulogin, it might not be in /sbin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6bd095cf33..12e4ab2175 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,6 +98,8 @@ AC_PATH_PROG([KMOD], [kmod], [/usr/bin/kmod], [$PATH:/usr/sbin:/sbin])
AC_PATH_PROG([KEXEC], [kexec], [/usr/sbin/kexec], [$PATH:/usr/sbin:/sbin])
+AC_PATH_PROG([SULOGIN], [sulogin], [/usr/sbin/sulogin], [$PATH:/usr/sbin:/sbin])
+
AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])])
M4_DEFINES=