Trying to add launchd detection to tell Xtrans
to enable launchd support; fix me later.
This commit is contained in:
parent
96416bd595
commit
835de9ceae
@ -96,6 +96,9 @@ AC_HEADER_STDC
|
|||||||
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
|
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
|
||||||
|
|
||||||
AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
|
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.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
@ -1753,7 +1756,7 @@ if test "x$XDARWIN" = xyes; then
|
|||||||
AC_SUBST([DARWIN_LIBS])
|
AC_SUBST([DARWIN_LIBS])
|
||||||
AC_CHECK_LIB([Xplugin],[xp_init],[:])
|
AC_CHECK_LIB([Xplugin],[xp_init],[:])
|
||||||
AC_SUBST([APPLE_APPLICATIONS_DIR])
|
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
|
PLIST_VERSION_STRING=$PACKAGE_VERSION
|
||||||
AC_SUBST([PLIST_VERSION_STRING])
|
AC_SUBST([PLIST_VERSION_STRING])
|
||||||
PLIST_VENDOR_WEB=$VENDOR_WEB
|
PLIST_VENDOR_WEB=$VENDOR_WEB
|
||||||
|
@ -142,6 +142,9 @@
|
|||||||
/* Define to 1 if you have version 2.2 (or newer) of the drm library */
|
/* Define to 1 if you have version 2.2 (or newer) of the drm library */
|
||||||
#undef HAVE_LIBDRM_2_2
|
#undef HAVE_LIBDRM_2_2
|
||||||
|
|
||||||
|
/* Define to 1 if launchd is available. */
|
||||||
|
#undef HAVE_LAUNCHD
|
||||||
|
|
||||||
/* Define to 1 if you have the `m' library (-lm). */
|
/* Define to 1 if you have the `m' library (-lm). */
|
||||||
#undef HAVE_LIBM
|
#undef HAVE_LIBM
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user