XDARWIN: Add launchd support

This adds a bit of glue to configure.ac to support launchd detection;
on OS X (or other platforms which choose to implement launchd), this allows
the system to automagically start the Xserver as necessary to serve clients.
This commit is contained in:
Ben Byer 2007-09-05 20:33:43 -07:00
commit bf1641b94c
2 changed files with 19 additions and 0 deletions

View file

@ -1075,6 +1075,10 @@ XSERVER_SYS_LIBS="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
AC_SUBST([XSERVER_LIBS])
AC_SUBST([XSERVER_SYS_LIBS])
if test "x$HAVE_LAUNCHD" = xyes; then
XSERVER_CFLAGS="$XSERVER_CFLAGS -DHAVE_LAUNCHD"
fi
# The Xorg binary needs to export symbols so that they can be used from modules
# Some platforms require extra flags to do this. gcc should set these flags
# when -rdynamic is passed to it, other compilers/linkers may need to be added