chiark / gitweb /
build-sys: configurable debug shell tty path
[elogind.git] / configure.ac
index f1bf7582fd8367a7ca89cf2bbcc515a745798a4c..d6e5a090bd1a8e5061e4e4cabbff791431fbfd71 100644 (file)
@@ -754,6 +754,15 @@ AS_IF([test "x$enable_keymap" = "xyes"], [
 ])
 AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"])
 
+# ------------------------------------------------------------------------------
+debugshell=/dev/tty9
+AC_ARG_WITH([debugshelltty],
+        [AS_HELP_STRING([--with-debugshelltty=PATH],
+                [Specify the tty device for debug shell])],
+        [debugshell="$withval"],
+        [])
+AC_SUBST(debugshell)
+
 # ------------------------------------------------------------------------------
 have_manpages=no
 AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]))