summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac17
2 files changed, 7 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am
index c778487..78ae154 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,10 +27,6 @@ bin_SCRIPTS = startx
xinit_CFLAGS = $(XINIT_CFLAGS) -DXINITDIR=\"$(XINITDIR)\" -DBINDIR=\"$(bindir)\"
xinit_LDADD = $(XINIT_LIBS)
-if APPLE_LEOPARD
-xinit_LDFLAGS = -framework CoreServices
-endif
-
xinit_SOURCES = \
xinit.c
diff --git a/configure.ac b/configure.ac
index 42c3b60..6f6bf6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,22 +102,19 @@ AC_ARG_WITH(launchdaemons-dir, AS_HELP_STRING([--with-launchdaemons-dir=PATH],
if test "x$LAUNCHD" = "xauto"; then
unset LAUNCHD
- AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
-fi
-
-if test "x$LAUNCHD" = "xyes" ; then
- AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available])
-
case $host_os in
- darwin9*|darwin1*)
- AM_CONDITIONAL(APPLE_LEOPARD, true)
+ darwin8*)
+ LAUNCHD=no
;;
*)
- AM_CONDITIONAL(APPLE_LEOPARD, false)
+ AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
;;
esac
+fi
+
+if test "x$LAUNCHD" = "xyes" ; then
+ AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available])
else
- AM_CONDITIONAL(APPLE_LEOPARD,false)
launchagentsdir=""
launchdaemonsdir=""
fi