summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-04 01:58:38 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-04 01:58:38 +0100
commitbef2733fae665e880da6ea011b1f918e6900bb42 (patch)
tree2f9aa2b9eb5b9e23fd97a317de5aee066abe02ff /configure.ac
parent4c00bf25614779a58ca57dfe8e2c477c926c5c2b (diff)
mount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable via configure switch
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4f77aa8f19..396a414ac7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -410,6 +410,12 @@ else
SYSTEM_SYSV_COMPAT="no"
fi
+AC_ARG_WITH([tty-gid],
+ [AS_HELP_STRING([--tty-gid=GID],
+ [Specify the numeric GID of the 'tty' group])],
+ [AC_DEFINE_UNQUOTED(TTY_GID, [$withval], [GID of the 'tty' group])],
+ [])
+
AM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
AM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
AM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)