summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2010-07-12 16:52:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-08-09 21:37:17 -0700
commit2cce273a4ac89662e9f00a6a8317c84b0c8c391d (patch)
treee651ea5a9363afc0012bbe754ec5554b33c08466
parent2b82daa88538022cfb49d8ceab22650e8062cacc (diff)
downloadxorg-lib-libX11-2cce273a4ac89662e9f00a6a8317c84b0c8c391d.tar.gz
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> (cherry picked from commit a151346a2b7810e988f1de4b1e00b37672dc587a)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index abf914a4..99ded2b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,7 +288,7 @@ AM_CONDITIONAL(OS2, test x$os2 = xtrue)
AC_ARG_WITH(launchd, AS_HELP_STRING([--with-launchd], [Build with support for Apple's launchd (default: auto)]), [LAUNCHD=$withval], [LAUNCHD=auto])
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
if test "x$LAUNCHD" = xyes ; then