56
56
AC_SUBST(DBUS_SYS_DIR)
58
58
dnl ###########################################################################
59
dnl Configurable values
60
dnl ###########################################################################
62
AC_ARG_WITH(config-file,
63
AS_HELP_STRING([--config-file=<file>],
64
[Configuration file to load]))
65
if test x$withval != x; then
66
CONFIG_FILE="$withval"
68
CONFIG_FILE=$(sysconfdir)/lightdm.conf
72
AC_ARG_WITH(xserver-binary,
73
AS_HELP_STRING([--xserver-binary=<binary>],
74
[X server binary name]))
75
if test x$withval != x; then
76
XSERVER_BINARY="$withval"
78
XSERVER_BINARY=${prefix}/bin/X
80
AC_SUBST(XSERVER_BINARY)
82
AC_ARG_WITH(xsession-dir,
83
AS_HELP_STRING([--xsession-dir=<dir>],
84
[X session directory]))
85
if test x$withval != x; then
86
XSESSION_DIR="$withval"
88
XSESSION_DIR=${prefix}/share/xsessions
90
AC_SUBST(XSESSION_DIR)
92
AC_ARG_WITH(default-session,
93
AS_HELP_STRING([--default-session=<name>],
94
[Default session to launch]))
95
if test x$withval != x; then
96
DEFAULT_SESSION="$withval"
100
AC_SUBST(DEFAULT_SESSION)
102
AC_ARG_WITH(greeter-user,
103
AS_HELP_STRING([--greeter-user=<username>],
104
[User to run greeter as]))
105
if test x$withval != x; then
106
GREETER_USER="$withval"
110
AC_SUBST(GREETER_USER)
112
AC_ARG_WITH(greeter-binary,
113
AS_HELP_STRING([--greeter-binary=<binary>],
114
[Greeter to execute]))
115
if test x$withval != x; then
116
GREETER_BINARY="$withval"
118
GREETER_BINARY=${prefix}/bin/ldmgreeter
120
AC_SUBST(GREETER_BINARY)
122
dnl ###########################################################################
60
124
dnl ###########################################################################
148
dnl ###########################################################################
150
dnl ###########################################################################
153
Light Display Manager $VERSION
154
===========================
157
Config file: ${CONFIG_FILE}
158
XServer binary: ${XSERVER_BINARY}
159
XSessions dir: ${XSESSION_DIR}
160
Default session: ${DEFAULT_SESSION}
161
Greeter user: ${GREETER_USER}
162
Greeter binary: ${GREETER_BINARY}