- if test "x$tsm_avail" = "xyes" ; then
- session_terminal_avail=yes
- elif test "x$enable_session_terminal" = "xyes" ; then
- AC_ERROR([TSM cannot be built for kmscon terminal session])
- fi
-fi
-
-# session compositor
-session_compositor_avail=no
-if test ! "x$enable_session_compositor" = "xno" ; then
- if test "x$have_wayland" = "xyes" ; then
- session_compositor_avail=yes
- elif test "x$enable_session_compositor" = "xyes" ; then
- AC_ERROR([wayland libraries not found for kmscon compositor session])
- fi
-fi
-
-# kmscon
-kmscon_avail=no
-if test ! "x$enable_kmscon" = "xno" ; then
- if test "x$eloop_avail" = "xno" ; then
- kmscon_avail=no
- elif test "x$tsm_avail" = "xno" ; then
- kmscon_avail=no
- elif test "x$uterm_avail" = "xno" ; then
- kmscon_avail=no
- else
- kmscon_avail=yes
- fi
-
- if test "x$enable_kmscon" = "xyes" ; then
- if test "x$kmscon_avail" = "xno" ; then
- AC_ERROR([eloop, TSM or uterm cannot be built for kmscon])
- fi
- fi
-fi
-
-# wlterm
-wlterm_avail=no
-if test ! "x$enable_wlterm" = "xno" ; then
- if test "x$tsm_avail" = "xno" ; then
- wlterm_avail=no
- elif test "x$eloop_avail" = "xno" ; then
- wlterm_avail=no
- else
- wlterm_avail=yes
- fi
-
- if test "x$enable_wlterm" = "xyes" ; then
- if test "x$wlterm_avail" = "xno" ; then
- AC_ERROR([eloop or TSM cannot be built for wlterm])
- fi
- fi
-
- if test "x$have_wayland" = "xyes" ; then
- wlterm_avail=yes
- elif test "x$enable_wlterm" = "xyes" ; then
- AC_ERROR([wayland libraries not found for wlterm])
- fi