From 5e03484d1d24ae93f7cad5fe575edd9ce8e0195b Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 28 May 2010 07:00:42 +0000 Subject: OS X: make location of launchd service configurable Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7c1ef206f1e..9c1c32a01b0 100644 --- a/configure.ac +++ b/configure.ac @@ -135,6 +135,12 @@ AC_ARG_WITH(initdir, [initdir='/etc/init.d']) AC_SUBST(initdir) +AC_ARG_WITH(launchddir, + [ --with-launchddir=DIR launchd services in DIR @<:@/Library/LaunchDaemons@:>@], + [launchddir=$withval], + [launchddir='/Library/LaunchDaemons']) +AC_SUBST(launchddir) + # LEX needs a check AC_PROG_LEX if test "x${LEX}" != "xflex" -a "x${FLEX}" != "xlex"; then -- cgit