summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-11-27 00:47:31 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-11-27 00:47:31 -0800
commited6dc88f5cbaaad08a282c44ae333a938f6f4216 (patch)
tree8dfaa089e89b48b59d572adb59c0a779537c53d8 /configure.ac
parent9f761b5a8512a8ad8b1475a3684e1a23d953916f (diff)
OSX: Create privleged_startx on Tiger
Launchd in Tiger doesn't support OnDemand loading, so this is a KeepAlive idle daemon on Tiger.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 2d09cad..86bd1f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,18 +102,17 @@ AC_ARG_WITH(launchdaemons-dir, AS_HELP_STRING([--with-launchdaemons-dir=PATH],
if test "x$LAUNCHD" = "xauto"; then
unset LAUNCHD
- case $host_os in
- darwin8*)
- LAUNCHD=no
- ;;
- *)
- AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
- ;;
- esac
+ AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
fi
+TIGER_LAUNCHD=no
if test "x$LAUNCHD" = "xyes" ; then
AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available])
+ case $host_os in
+ darwin8*)
+ TIGER_LAUNCHD=yes
+ ;;
+ esac
else
launchagentsdir=""
launchdaemonsdir=""
@@ -121,6 +120,7 @@ fi
AC_SUBST([launchagentsdir])
AC_SUBST([launchdaemonsdir])
AM_CONDITIONAL(LAUNCHD, [test "x$LAUNCHD" = "xyes"])
+AM_CONDITIONAL(TIGER_LAUNCHD, [test "x$TIGER_LAUNCHD" = "xyes"])
# Checks for pkg-config packages
PKG_CHECK_MODULES(XINIT, x11)