mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-13 01:10:36 +01:00
Trying to add launchd detection to tell Xtrans
to enable launchd support; fix me later.
This commit is contained in:
parent
2450788d32
commit
ed6d0b75e6
2 changed files with 7 additions and 1 deletions
|
|
@ -71,6 +71,9 @@ AC_HEADER_STDC
|
|||
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
|
||||
|
||||
AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
|
||||
if test "x$HAVE_LAUNCHD" = xyes; then
|
||||
AC_DEFINE(HAS_LAUNCHD, 1, [launchd support available])
|
||||
fi
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
|
|
@ -1656,7 +1659,7 @@ if test "x$XDARWIN" = xyes; then
|
|||
AC_SUBST([DARWIN_LIBS])
|
||||
AC_CHECK_LIB([Xplugin],[xp_init],[:])
|
||||
AC_SUBST([APPLE_APPLICATIONS_DIR])
|
||||
CFLAGS="${CFLAGS} -D__DARWIN__ -DDARWIN_WITH_QUARTZ -DROOTLESS_WORKAROUND"
|
||||
CFLAGS="${CFLAGS} -DHAVE_LAUNCHD -D__DARWIN__ -DDARWIN_WITH_QUARTZ -DROOTLESS_WORKAROUND"
|
||||
PLIST_VERSION_STRING=$PACKAGE_VERSION
|
||||
AC_SUBST([PLIST_VERSION_STRING])
|
||||
PLIST_VENDOR_WEB=$VENDOR_WEB
|
||||
|
|
|
|||
|
|
@ -127,6 +127,9 @@
|
|||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if launchd is available. */
|
||||
#undef HAVE_LAUNCHD
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#undef HAVE_LIBM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue