X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=8390c2691a462e69e8e22b3ec3d916e9312e63e7;hb=d79621b25ba6784135b1a3aa51e9561fcf72fe7f;hp=e16d70d83a1b0dddf56d81eb457a007e9fd0f08e;hpb=902cade8ec9e7eb5d29f6f6d61cac0470c300aec;p=free-sw%2Fxcb%2Flibxcb diff --git a/configure.ac b/configure.ac index e16d70d..8390c26 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,15 @@ XCB_EXTENSION(XTest, "yes") XCB_EXTENSION(Xv, "yes") 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]) +fi + +if test "x$LAUNCHD" = xyes ; then + AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available]) +fi AC_CONFIG_FILES([ Makefile