mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-01-06 16:40:14 +01:00
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>
This commit is contained in:
parent
89cc2e02e7
commit
a151346a2b
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue