1
by robert.ancell at gmail
Compiles and does something |
1 |
dnl Process this file with autoconf to produce a configure script. |
2 |
||
1689
by Robert Ancell
Releasing 1.7.3 |
3 |
AC_INIT(lightdm, 1.7.3) |
210
by robert.ancell at gmail
Add introspection.m4 into build |
4 |
AC_CONFIG_MACRO_DIR(m4) |
175
by robert.ancell at gmail
Make ConsoleKit optional |
5 |
AC_CONFIG_HEADER(config.h) |
1555
by Robert Ancell
Use xzip for tarballs, don't distribute AUTHORS, ChangeLog, README |
6 |
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign]) |
1562
by Robert Ancell
Stop using gnome-autogen.sh |
7 |
AM_SILENT_RULES(yes) |
60
by robert.ancell at gmail
Make libldmgreeter library |
8 |
LT_INIT
|
9 |
AM_PROG_CC_C_O
|
|
284
by robert.ancell at canonical
Add libldmgreeter-qt (David Edmundson) |
10 |
AC_PROG_CXX
|
197
by robert.ancell at gmail
Make AM_SILENT_RULES optional, use AC_PROG_LIBTOOL |
11 |
AC_PROG_LIBTOOL
|
1
by robert.ancell at gmail
Compiles and does something |
12 |
AM_MAINTAINER_MODE
|
13 |
||
324
by Robert Ancell
Require gobject-introspection 0.9.5 |
14 |
GOBJECT_INTROSPECTION_CHECK(0.9.5) |
63
by robert.ancell at gmail
Build introspection |
15 |
|
1
by robert.ancell at gmail
Compiles and does something |
16 |
dnl ########################################################################### |
17 |
dnl Dependencies |
|
18 |
dnl ########################################################################### |
|
19 |
||
175
by robert.ancell at gmail
Make ConsoleKit optional |
20 |
AC_CHECK_HEADERS(security/pam_appl.h, [], AC_MSG_ERROR(PAM not found)) |
97
by robert.ancell at gmail
Check for PAM in build system |
21 |
|
1517
by Robert Ancell
Handle clearenv() not being defined |
22 |
AC_CHECK_FUNCS(setresgid setresuid clearenv) |
1506.1.1
by Matthew Fischer
fixes 999713: setresuid/setresgid don't work on some platforms |
23 |
|
1
by robert.ancell at gmail
Compiles and does something |
24 |
PKG_CHECK_MODULES(LIGHTDM, [ |
1340
by Martin Pitt
Do not call deprecated g_thread_init(), already covered by g_type_init(). Bump glib requirement to >= 2.24 for this. |
25 |
glib-2.0 >= 2.24 |
354
by robert.ancell at canonical
Use GDBus instead of dbus-glib |
26 |
gio-2.0 >= 2.26 |
105
by robert.ancell at gmail
Use GDesktopAppInfo for session .desktop files |
27 |
gio-unix-2.0 |
123
by robert.ancell at gmail
Support XDM-AUTHENTICATION-1 |
28 |
xdmcp
|
946
by Robert Ancell
Keep a connection open the the X server. Start a new X server on exit |
29 |
xcb
|
1
by robert.ancell at gmail
Compiles and does something |
30 |
])
|
31 |
||
524
by Robert Ancell
Write a basic xserver that handles connects |
32 |
PKG_CHECK_MODULES(GLIB, [ |
33 |
glib-2.0 |
|
532
by Robert Ancell
Make the test greeter connect to the X server |
34 |
])
|
35 |
||
692
by Robert Ancell
Make login switch to existing session if already logged in. Make D-Bus interface switch to existing sessions correctly. |
36 |
PKG_CHECK_MODULES(GIO, [ |
37 |
gio-2.0 |
|
38 |
])
|
|
39 |
||
734
by Robert Ancell
Use gio-unix for test-xserver |
40 |
PKG_CHECK_MODULES(GIO_UNIX, [ |
41 |
gio-unix-2.0 |
|
42 |
])
|
|
43 |
||
645
by Robert Ancell
Fix linking error with -z,defs |
44 |
PKG_CHECK_MODULES(GOBJECT, [ |
45 |
gobject-2.0 |
|
46 |
])
|
|
47 |
||
532
by Robert Ancell
Make the test greeter connect to the X server |
48 |
PKG_CHECK_MODULES(XCB, [ |
49 |
xcb
|
|
503
by Robert Ancell
Start working on tests |
50 |
])
|
51 |
||
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
52 |
AC_ARG_ENABLE(liblightdm-gobject, |
1251
by Robert Ancell
Allow greeters to be disabled in configure flags |
53 |
AS_HELP_STRING([--enable-liblightdm-gobject],[Enable LightDM client gobject libraries [[default=auto]]]), |
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
54 |
[enable_liblightdm_gobject=$enableval], |
1251
by Robert Ancell
Allow greeters to be disabled in configure flags |
55 |
[enable_liblightdm_gobject="auto"]) |
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
56 |
compile_liblightdm_gobject=no |
57 |
if test x"$enable_liblightdm_gobject" = "xauto"; then |
|
58 |
PKG_CHECK_MODULES(LIBLIGHTDM_GOBJECT, [ |
|
59 |
glib-2.0 |
|
354
by robert.ancell at canonical
Use GDBus instead of dbus-glib |
60 |
gio-2.0 >= 2.26 |
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
61 |
gio-unix-2.0 |
62 |
gobject-2.0 |
|
63 |
libxklavier
|
|
64 |
x11
|
|
65 |
], compile_liblightdm_gobject=yes, compile_liblightdm_gobject=no) |
|
66 |
elif test x"$enable_liblightdm_gobject" = "xyes"; then |
|
67 |
PKG_CHECK_MODULES(LIBLIGHTDM_GOBJECT, [ |
|
68 |
glib-2.0 |
|
354
by robert.ancell at canonical
Use GDBus instead of dbus-glib |
69 |
gio-2.0 >= 2.26 |
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
70 |
gio-unix-2.0 |
71 |
gobject-2.0 |
|
72 |
libxklavier
|
|
73 |
x11
|
|
74 |
])
|
|
75 |
compile_liblightdm_gobject=yes |
|
76 |
fi
|
|
77 |
AM_CONDITIONAL(COMPILE_LIBLIGHTDM_GOBJECT, test x"$compile_liblightdm_gobject" != "xno") |
|
60
by robert.ancell at gmail
Make libldmgreeter library |
78 |
|
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
79 |
AC_ARG_ENABLE(liblightdm-qt, |
1586.2.1
by Michael Terry
initial build support for Qt5 |
80 |
AS_HELP_STRING([--enable-liblightdm-qt],[Enable LightDM client Qt4 libraries [[default=auto]]]), |
81 |
[enable_liblightdm_qt4=$enableval], |
|
82 |
[enable_liblightdm_qt4="auto"]) |
|
83 |
compile_liblightdm_qt4=no |
|
84 |
if test x"$enable_liblightdm_qt4" != "xno"; then |
|
85 |
PKG_CHECK_MODULES(LIBLIGHTDM_QT4, [ |
|
314
by robert.ancell at canonical
Add --enable-qt configure option |
86 |
QtCore
|
364
by Robert Ancell
Add a QT greeter |
87 |
QtDBus
|
1237
by Robert Ancell
Link liblightdm-qt against QtGui |
88 |
QtGui
|
1586.2.1
by Michael Terry
initial build support for Qt5 |
89 |
],
|
90 |
[compile_liblightdm_qt4=yes |
|
91 |
AC_CHECK_TOOLS(MOC4, [moc-qt4 moc]) |
|
92 |
if test x"$(readlink $(which $MOC4))" = xqtchooser; then |
|
93 |
MOC4="$MOC4 --qt=qt4" |
|
94 |
fi
|
|
95 |
],
|
|
96 |
[if test "x$enable_liblightdm_qt4" != xauto; then |
|
97 |
AC_MSG_FAILURE( |
|
98 |
[--enable-liblightdm-qt was given, but test for Qt4 failed]) |
|
99 |
fi
|
|
100 |
])
|
|
101 |
fi
|
|
102 |
AM_CONDITIONAL(COMPILE_LIBLIGHTDM_QT4, test x"$compile_liblightdm_qt4" != "xno") |
|
103 |
||
104 |
AC_ARG_ENABLE(liblightdm-qt5, |
|
105 |
AS_HELP_STRING([--enable-liblightdm-qt5],[Enable LightDM client Qt5 libraries [[default=auto]]]), |
|
106 |
[enable_liblightdm_qt5=$enableval], |
|
107 |
[enable_liblightdm_qt5="auto"]) |
|
108 |
compile_liblightdm_qt5=no |
|
109 |
if test x"$enable_liblightdm_qt5" != "xno"; then |
|
110 |
PKG_CHECK_MODULES(LIBLIGHTDM_QT5, [ |
|
111 |
Qt5Core
|
|
112 |
Qt5DBus
|
|
113 |
Qt5Gui
|
|
114 |
],
|
|
115 |
[compile_liblightdm_qt5=yes |
|
116 |
AC_CHECK_TOOLS(MOC5, [moc]) |
|
117 |
if test x"$(readlink $(which $MOC5))" = xqtchooser; then |
|
118 |
MOC5="$MOC5 --qt=qt5" |
|
119 |
fi
|
|
120 |
],
|
|
121 |
[if test "x$enable_liblightdm_qt5" != xauto; then |
|
122 |
AC_MSG_FAILURE( |
|
123 |
[--enable-liblightdm-qt5 was given, but test for Qt5 failed]) |
|
124 |
fi
|
|
125 |
])
|
|
126 |
fi
|
|
127 |
AM_CONDITIONAL(COMPILE_LIBLIGHTDM_QT5, test x"$compile_liblightdm_qt5" != "xno") |
|
284
by robert.ancell at canonical
Add libldmgreeter-qt (David Edmundson) |
128 |
|
1266
by BobMauchin
Add a --disable-tests option |
129 |
AC_MSG_CHECKING(whether to build tests) |
130 |
AC_ARG_ENABLE(tests, |
|
131 |
AS_HELP_STRING([--disable-tests], [Disable tests building]), |
|
132 |
[], [enable_tests="yes"]) |
|
133 |
AM_CONDITIONAL(COMPILE_TESTS, test x"$enable_tests" != "xno") |
|
134 |
||
140
by robert.ancell at gmail
Make persistent connection to remote server with proper authorization |
135 |
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) |
2
by robert.ancell at gmail
Got authentication API working |
136 |
|
1
by robert.ancell at gmail
Compiles and does something |
137 |
dnl ########################################################################### |
37
by robert.ancell at gmail
Make options configurable |
138 |
dnl Configurable values |
139 |
dnl ########################################################################### |
|
140 |
||
895
by Robert Ancell
Use the 'default' session by default |
141 |
USER_SESSION=default |
843
by Robert Ancell
Make generic hint fields for greeters |
142 |
AC_ARG_WITH(user-session, |
143 |
AS_HELP_STRING(--with-user-session=<name>, |
|
144 |
Session to use for user accounts), |
|
54
by robert.ancell at gmail
Fix compile time flags |
145 |
if test x$withval != x; then |
843
by Robert Ancell
Make generic hint fields for greeters |
146 |
USER_SESSION="$withval" |
54
by robert.ancell at gmail
Fix compile time flags |
147 |
fi
|
148 |
)
|
|
843
by Robert Ancell
Make generic hint fields for greeters |
149 |
AC_SUBST(USER_SESSION) |
150 |
AC_DEFINE_UNQUOTED(USER_SESSION, "$USER_SESSION", User session) |
|
37
by robert.ancell at gmail
Make options configurable |
151 |
|
1231
by Robert Ancell
Remove --greeter-session option |
152 |
GREETER_SESSION=default |
895
by Robert Ancell
Use the 'default' session by default |
153 |
AC_ARG_WITH(greeter-session, |
809
by Robert Ancell
Refactored Display and Greeter classes |
154 |
AS_HELP_STRING(--with-greeter-session=<session>, |
155 |
Greeter session), |
|
57
by robert.ancell at gmail
Make a .theme format |
156 |
if test x$withval != x; then |
809
by Robert Ancell
Refactored Display and Greeter classes |
157 |
GREETER_SESSION="$withval" |
57
by robert.ancell at gmail
Make a .theme format |
158 |
fi
|
159 |
)
|
|
809
by Robert Ancell
Refactored Display and Greeter classes |
160 |
AC_SUBST(GREETER_SESSION) |
161 |
AC_DEFINE_UNQUOTED(GREETER_SESSION, "$GREETER_SESSION", Greeter session) |
|
37
by robert.ancell at gmail
Make options configurable |
162 |
|
987
by Robert Ancell
Add a --with-greeter-user configure option |
163 |
GREETER_USER=lightdm |
164 |
AC_ARG_WITH(greeter-user, |
|
165 |
AS_HELP_STRING(--with-greeter-user=<username>, |
|
166 |
User to run greeter as), |
|
167 |
if test x$withval != x; then |
|
168 |
GREETER_USER="$withval" |
|
169 |
fi
|
|
170 |
)
|
|
171 |
AC_SUBST(GREETER_USER) |
|
172 |
AC_DEFINE_UNQUOTED(GREETER_USER, "$GREETER_USER", User to run greeter as) |
|
173 |
||
37
by robert.ancell at gmail
Make options configurable |
174 |
dnl ########################################################################### |
1
by robert.ancell at gmail
Compiles and does something |
175 |
dnl Documentation |
176 |
dnl ########################################################################### |
|
177 |
||
61
by robert.ancell at gmail
Add some Gtk Doc stuff, can't get it working well though |
178 |
GTK_DOC_CHECK
|
1494
by Robert Ancell
Add some stub documentation |
179 |
YELP_HELP_INIT
|
1
by robert.ancell at gmail
Compiles and does something |
180 |
|
181 |
dnl ########################################################################### |
|
182 |
dnl Internationalization |
|
183 |
dnl ########################################################################### |
|
184 |
||
175
by robert.ancell at gmail
Make ConsoleKit optional |
185 |
IT_PROG_INTLTOOL(0.35.0) |
986
by Robert Ancell
Fix up translation build system |
186 |
AC_SUBST(GETTEXT_PACKAGE, lightdm) |
175
by robert.ancell at gmail
Make ConsoleKit optional |
187 |
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", Gettext package) |
1
by robert.ancell at gmail
Compiles and does something |
188 |
|
189 |
dnl ########################################################################### |
|
190 |
dnl Files to generate |
|
191 |
dnl ########################################################################### |
|
192 |
||
649
by Robert Ancell
Get guest account regression test working |
193 |
AC_CONFIG_FILES([ |
1
by robert.ancell at gmail
Compiles and does something |
194 |
Makefile
|
5
by robert.ancell at gmail
Install D-Bus service, use system bus |
195 |
data/Makefile |
61
by robert.ancell at gmail
Add some Gtk Doc stuff, can't get it working well though |
196 |
doc/Makefile |
1494
by Robert Ancell
Add some stub documentation |
197 |
help/Makefile |
855
by Robert Ancell
Both libraries are now version 1 and have API and ABI guarantees |
198 |
liblightdm-gobject/liblightdm-gobject-1.pc |
297
by robert.ancell at canonical
Renamed libldmgreeter to liblightdm |
199 |
liblightdm-gobject/Makefile |
200 |
liblightdm-qt/Makefile |
|
1639.2.11
by Iain Lane
Merge trunk |
201 |
liblightdm-qt/liblightdm-qt-3.pc |
202 |
liblightdm-qt/liblightdm-qt5-3.pc |
|
1
by robert.ancell at gmail
Compiles and does something |
203 |
po/Makefile.in |
204 |
src/Makefile |
|
503
by Robert Ancell
Start working on tests |
205 |
tests/Makefile |
557
by Robert Ancell
Move test harness into src dir |
206 |
tests/src/Makefile |
1024
by Didier Roche
lightdm-set-defaults enables tweaking the default session and chosen |
207 |
utils/Makefile |
1005.1.1
by Robert Ancell
Remove obsolete chmod |
208 |
])
|
649
by Robert Ancell
Get guest account regression test working |
209 |
AC_OUTPUT
|
37
by robert.ancell at gmail
Make options configurable |
210 |
|
211 |
dnl ########################################################################### |
|
212 |
dnl Summary |
|
213 |
dnl ########################################################################### |
|
214 |
||
215 |
echo " |
|
216 |
Light Display Manager $VERSION
|
|
217 |
===========================
|
|
218 |
||
175
by robert.ancell at gmail
Make ConsoleKit optional |
219 |
prefix: $prefix
|
809
by Robert Ancell
Refactored Display and Greeter classes |
220 |
Greeter session: $GREETER_SESSION
|
987
by Robert Ancell
Add a --with-greeter-user configure option |
221 |
Greeter user: $GREETER_USER
|
843
by Robert Ancell
Make generic hint fields for greeters |
222 |
User session: $USER_SESSION
|
321
by robert.ancell at canonical
Add --enable-liblightdm-gobject configure option |
223 |
liblightdm-gobject: $compile_liblightdm_gobject
|
290
by robert.ancell at canonical
State if building with introspection |
224 |
GObject introspection: $found_introspection
|
1586.2.1
by Michael Terry
initial build support for Qt5 |
225 |
liblightdm-qt: $compile_liblightdm_qt4
|
226 |
liblightdm-qt5: $compile_liblightdm_qt5
|
|
1266
by BobMauchin
Add a --disable-tests option |
227 |
Enable tests: $enable_tests
|
37
by robert.ancell at gmail
Make options configurable |
228 |
"
|