From 280774466dc9f57b4b46c618345f7938290dbb2c Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 25 Apr 2008 19:00:23 -0700 Subject: Apple: Added some OSX version protection, so this will still compile on Tiger and below. --- configure.ac | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f33fd13..b476c1c 100644 --- a/configure.ac +++ b/configure.ac @@ -109,18 +109,15 @@ if test "x$LAUNCHD" = "xyes" ; then AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available]) case $host_os in - darwin*) - # For now, this is how we find X11.app on OS-X... - # A future version of launchd should let us do this cleaner - #XSERVER=\'\`'$(libexecdir)/x11-exec'\`\' - AM_CONDITIONAL(APPLE, true) + darwin9*|darwin1*) + AM_CONDITIONAL(APPLE_LEOPARD, true) ;; *) - AM_CONDITIONAL(APPLE, false) + AM_CONDITIONAL(APPLE_LEOPARD, false) ;; esac else - AM_CONDITIONAL(APPLE,false) + AM_CONDITIONAL(APPLE_LEOPARD,false) launchagentsdir="" launchdaemonsdir="" fi -- cgit v1.2.3