From: Jeremy Huddleston Date: Mon, 12 Jul 2010 23:53:53 +0000 (-0700) Subject: AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no], [$PATH$PATH_SEPARATOR/sbin]) X-Git-Tag: 1.7~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74057c7eb6836353960ce3849703ce20e45089bc;p=platform%2Fupstream%2Flibxcb.git AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no], [$PATH$PATH_SEPARATOR/sbin]) 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 --- diff --git a/configure.ac b/configure.ac index 0851ec2..71be9d6 100644 --- a/configure.ac +++ b/configure.ac @@ -155,7 +155,7 @@ XCB_EXTENSION(XvMC, "yes") 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