AC_ARG_ENABLE(gdm-transition, AS_HELP_STRING([--enable-gdm-transition],[enable smooth transition to gdm]),enable_gdm_transition=$enableval,enable_gdm_transition=no)
-if test x$enable_gdm_transition = xyes; then
- AC_DEFINE(PLY_ENABLE_DEPRECATED_GDM_TRANSITION, 1, [Enable deprecated smooth transition to GDM])
-fi
-
AC_ARG_ENABLE(upstart-monitoring, AS_HELP_STRING([--enable-upstart-monitoring],[listen for messages on the Upstart D-Bus interface]),enable_upstart_monitoring=$enableval,enable_upstart_monitoring=no)
if test x$enable_upstart_monitoring = xyes; then
PKG_CHECK_MODULES(DBUS, [dbus-1])
dump_details_and_quit_splash (state);
}
-#ifdef PLY_ENABLE_DEPRECATED_GDM_TRANSITION
-static void
-tell_gdm_to_transition (void)
-{
- int fd;
-
- fd = creat ("/var/spool/gdm/force-display-on-active-vt", 0644);
- close (fd);
-}
-#endif
-
static void
quit_program (state_t *state)
{
pid_file = NULL;
}
-#ifdef PLY_ENABLE_DEPRECATED_GDM_TRANSITION
- if (state->should_retain_splash &&
- state->mode == PLY_BOOT_SPLASH_MODE_BOOT_UP)
- tell_gdm_to_transition ();
-
-#endif
-
if (state->deactivate_trigger != NULL) {
ply_trigger_pull (state->deactivate_trigger, NULL);
state->deactivate_trigger = NULL;