summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-07-12 16:55:03 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2010-07-12 16:55:03 -0700
commitd15d988eaf63d4f840d09ba12caade6bea5f7618 (patch)
treee008ae0c1c29eb483083a588095058415d0ef1f9 /configure.ac
parent908273df8c0a7a13ff20e4ed4b7b470521f12ce2 (diff)
launchd: Explicitly search /sbin
Previously, launchd wasn't found if /sbin wasn't in the user's PATH. https://bugs.freedesktop.org/show_bug.cgi?id=29028 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8930b39..c4f4c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,7 @@ AC_ARG_WITH(launchd-id-prefix, AS_HELP_STRING([--with-launchd-id-prefix=PATH],
if test "x$LAUNCHD" = "xauto"; then
unset LAUNCHD
- AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
+ AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no], [$PATH$PATH_SEPARATOR/sbin])
fi
TIGER_LAUNCHD=no