~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Robert Ancell
  • Date: 2011-07-16 09:29:56 UTC
  • Revision ID: robert.ancell@canonical.com-20110716092956-jkwpzcimi9tfo71d
Drop most of the configure options, they aren't necessary

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
AC_PATH_PROG(DBUSBINDINGTOOL, dbus-binding-tool)
127
127
AC_SUBST(DBUSBINDINGTOOL)
128
128
 
 
129
GREETER_THEME_DIR=${datarootdir}/lightdm/themes
 
130
AC_SUBST(GREETER_THEME_DIR)
 
131
 
 
132
GREETER_THEME_ENGINE_DIR=${libexecdir}
 
133
AC_SUBST(GREETER_THEME_ENGINE_DIR)
 
134
 
129
135
dnl ###########################################################################
130
136
dnl Configurable values
131
137
dnl ###########################################################################
132
138
 
133
 
DEFAULT_CONFIG_FILE=${sysconfdir}/lightdm/lightdm.conf
134
 
AC_ARG_WITH(config-file,
135
 
            AS_HELP_STRING(--with-config-file=<file>,
136
 
                           Configuration file to load),
137
 
    if test x$withval != x; then
138
 
        DEFAULT_CONFIG_FILE="$withval"
139
 
    fi
140
 
)
141
 
AC_SUBST(DEFAULT_CONFIG_FILE)
142
 
 
143
 
LOG_DIR=${localstatedir}/log/lightdm
144
 
AC_ARG_WITH(log-dir,
145
 
            AS_HELP_STRING(--with-log-dir=<dir>,
146
 
                           Directory to write logs to),
147
 
    if test x$withval != x; then
148
 
        LOG_DIR="$withval"
149
 
    fi
150
 
)
151
 
AC_SUBST(LOG_DIR)
152
 
 
153
 
RUN_DIR=$localstatedir/run/lightdm
154
 
AC_ARG_WITH(xauth-dir,
155
 
            AS_HELP_STRING(--with-run-dir=<dir>,
156
 
                           Directory to put running state in),
157
 
    if test x$withval != x; then
158
 
        RUN_DIR="$withval"
159
 
    fi
160
 
)
161
 
AC_SUBST(RUN_DIR)
162
 
 
163
 
CACHE_DIR=${localstatedir}/cache/lightdm
164
 
AC_ARG_WITH(cache-dir,
165
 
            AS_HELP_STRING(--with-cache-dir=<dir>,
166
 
                           Directory to cache information in),
167
 
    if test x$withval != x; then
168
 
        CACHE_DIR="$withval"
169
 
    fi
170
 
)
171
 
AC_SUBST(CACHE_DIR)
172
 
 
173
 
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
174
 
AC_ARG_WITH(dbus-sys,
175
 
            AS_HELP_STRING(--with-dbus-sys=<dir>,
176
 
                           Where D-BUS system.d directory is),
177
 
    if test x$withval != x ; then
178
 
        DBUS_SYS_DIR="$withval"
179
 
    fi
180
 
)
181
 
AC_SUBST(DBUS_SYS_DIR)
182
 
 
183
 
XSERVER_BINARY=/usr/bin/X
184
 
AC_ARG_WITH(xserver-binary,
185
 
            AS_HELP_STRING(--with-xserver-binary=<binary>,
186
 
                           X server binary name),
187
 
    if test x$withval != x; then
188
 
        XSERVER_BINARY="$withval"
189
 
    fi
190
 
)
191
 
AC_SUBST(XSERVER_BINARY)
192
 
AC_DEFINE_UNQUOTED(XSERVER_BINARY, "$XSERVER_BINARY", X server binary name)
193
 
 
194
 
XSESSIONS_DIR=/usr/share/xsessions
195
 
AC_ARG_WITH(xsession-dir,
196
 
            AS_HELP_STRING(--with-xsession-dir=<dir>,
197
 
                           X session directory),
198
 
    if test x$withval != x; then
199
 
        XSESSIONS_DIR="$withval"
200
 
    fi
201
 
)
202
 
AC_SUBST(XSESSIONS_DIR)
203
 
AC_DEFINE_UNQUOTED(XSESSIONS_DIR, "$XSESSIONS_DIR", X session directory)
204
 
 
205
139
DEFAULT_XSESSION=gnome
206
140
AC_ARG_WITH(default-xsession,
207
141
            AS_HELP_STRING(--with-default-xsession=<name>,
213
147
AC_SUBST(DEFAULT_XSESSION)
214
148
AC_DEFINE_UNQUOTED(DEFAULT_XSESSION, "$DEFAULT_XSESSION", Default X session)
215
149
 
216
 
DEFAULT_PAM_SERVICE=lightdm
217
 
AC_ARG_WITH(default-pam-service,
218
 
            AS_HELP_STRING(--with-default-pam-service=<name>,
219
 
                           Default PAM service to use),
220
 
    if test x$withval != x; then
221
 
        DEFAULT_PAM_SERVICE="$withval"
222
 
    fi
223
 
)
224
 
AC_SUBST(DEFAULT_PAM_SERVICE)
225
 
AC_DEFINE_UNQUOTED(DEFAULT_PAM_SERVICE, "$DEFAULT_PAM_SERVICE", Default PAM service to use)
226
 
 
227
 
DEFAULT_PAM_AUTOLOGIN_SERVICE=lightdm-autologin
228
 
AC_ARG_WITH(default-pam-autologin-service,
229
 
            AS_HELP_STRING(--with-default-pam-autologin-service=<name>,
230
 
                           Default PAM service to use for automatic logins),
231
 
    if test x$withval != x; then
232
 
        DEFAULT_PAM_AUTOLOGIN_SERVICE="$withval"
233
 
    fi
234
 
)
235
 
AC_SUBST(DEFAULT_PAM_AUTOLOGIN_SERVICE)
236
 
AC_DEFINE_UNQUOTED(DEFAULT_PAM_AUTOLOGIN_SERVICE, "$DEFAULT_PAM_AUTOLOGIN_SERVICE", Default PAM service to use for automatic logins)
237
 
 
238
 
GREETER_THEME_DIR=${datarootdir}/lightdm/themes
239
 
AC_ARG_WITH(greeter-theme-dir,
240
 
            AS_HELP_STRING(--with-greeter-theme-dir=<dir>,
241
 
                           Directory containing greeter themes),
242
 
    if test x$withval != x; then
243
 
        GREETER_THEME_DIR="$withval"
244
 
    fi
245
 
)
246
 
AC_SUBST(GREETER_THEME_DIR)
247
 
 
248
150
DEFAULT_GREETER_THEME=example-gtk-gnome
249
151
AC_ARG_WITH(theme,
250
152
            AS_HELP_STRING(--with-theme=<theme>,
312
214
                    ===========================
313
215
 
314
216
        prefix:                   $prefix
315
 
        Config file:              $DEFAULT_CONFIG_FILE
316
 
        Log directory:            $LOG_DIR        
317
 
        D-Bus system directory:   $DBUS_SYS_DIR
318
 
        X server binary:          $XSERVER_BINARY
319
 
        Run dir:                  $RUN_DIR
320
 
        Cache dir:                $CACHE_DIR
321
 
        X session dir:            $XSESSIONS_DIR
322
217
        Default X session:        $DEFAULT_XSESSION
323
 
        PAM service:              $DEFAULT_PAM_SERVICE
324
 
        PAM service (autologins): $DEFAULT_PAM_AUTOLOGIN_SERVICE
325
 
        Greeter theme directory:  $GREETER_THEME_DIR
326
218
        Default greeter theme:    $DEFAULT_GREETER_THEME
327
219
 
328
220
        Greeters: