X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=6f888a2789d4227668dc6cebf14fc7e20bda60ab;hp=be05211d06bda57a88d506663b7bf4b335892025;hb=0dd25fb9f005d8ab7ac4bc10a609d00569f8c56a;hpb=75616a1332aff00d27db713cda3bd93c508a5b59 diff --git a/configure.ac b/configure.ac index be05211d0..6f888a278 100644 --- a/configure.ac +++ b/configure.ac @@ -1043,6 +1043,15 @@ if test "x$enable_multi_seat_x" != "xno"; then fi AM_CONDITIONAL(ENABLE_MULTI_SEAT_X, [test "$have_multi_seat_x" = "yes"]) +# ------------------------------------------------------------------------------ +have_terminal=no +AC_ARG_ENABLE(terminal, AS_HELP_STRING([--enable-terminal], [enable terminal support])) +if test "x$enable_terminal" = "xyes"; then + AC_DEFINE(ENABLE_TERMINAL, 1, [Define if terminal support is to be enabled]) + have_terminal=yes +fi +AM_CONDITIONAL(ENABLE_TERMINAL, [test "x$have_terminal" = "xyes"]) + # ------------------------------------------------------------------------------ have_kdbus=no AC_ARG_ENABLE(kdbus, AS_HELP_STRING([--enable-kdbus], [do connect to kdbus by default])) @@ -1348,6 +1357,7 @@ AC_MSG_RESULT([ gudev: ${enable_gudev} gintrospection: ${enable_introspection} multi-seat-x: ${have_multi_seat_x} + terminal: ${have_terminal} kdbus: ${have_kdbus} Python: ${have_python} Python Headers: ${have_python_devel}