Merge lp:~mfisch/lightdm/lp921169 into lp:lightdm
- lp921169
- Merge into trunk
Proposed by
Matt Fischer
Status: | Merged |
---|---|
Merge reported by: | Robert Ancell |
Merged at revision: | not available |
Proposed branch: | lp:~mfisch/lightdm/lp921169 |
Merge into: | lp:lightdm |
Diff against target: |
104727 lines (+102140/-0) (has conflicts) 505 files modified
AUTHORS (+1/-0) COPYING (+674/-0) ChangeLog (+1/-0) INSTALL (+365/-0) Makefile.am (+32/-0) Makefile.in (+839/-0) NEWS (+507/-0) README (+1/-0) TODO (+17/-0) aclocal.m4 (+1446/-0) autogen.sh (+21/-0) compile (+310/-0) config.guess (+1517/-0) config.h.in (+80/-0) config.sub (+1760/-0) configure (+20916/-0) configure.ac (+199/-0) data/Makefile.am (+21/-0) data/Makefile.in (+775/-0) data/guest-session.apparmor (+70/-0) data/init/Makefile.am (+5/-0) data/init/Makefile.in (+488/-0) data/init/lightdm.conf (+12/-0) data/keys.conf (+3/-0) data/lightdm.1 (+61/-0) data/lightdm.conf (+113/-0) data/org.freedesktop.DisplayManager.conf (+21/-0) data/users.conf (+14/-0) debian/changelog (+1027/-0) debian/compat (+1/-0) debian/control (+109/-0) debian/copyright (+76/-0) debian/gir1.2-lightdm-1.install (+1/-0) debian/guest-account (+143/-0) debian/liblightdm-gobject-1-0.install (+1/-0) debian/liblightdm-gobject-1-0.symbols (+70/-0) debian/liblightdm-gobject-1-dev.install (+5/-0) debian/liblightdm-gobject-1-doc.install (+1/-0) debian/liblightdm-qt-2-0.install (+1/-0) debian/liblightdm-qt-2-dev.install (+3/-0) debian/lightdm-greeter-session (+36/-0) debian/lightdm-session (+81/-0) debian/lightdm.config (+71/-0) debian/lightdm.dirs (+3/-0) debian/lightdm.init (+112/-0) debian/lightdm.install (+14/-0) debian/lightdm.lightdm-autologin.pam (+11/-0) debian/lightdm.pam (+14/-0) debian/lightdm.postinst (+84/-0) debian/lightdm.postrm (+38/-0) debian/lightdm.preinst (+13/-0) debian/lightdm.prerm (+58/-0) debian/lightdm.templates (+24/-0) debian/lightdm.upstart (+54/-0) debian/patches/01_transition_gnome_ubuntu_desktop.patch (+30/-0) debian/patches/02_disable_tests.patch (+13/-0) debian/patches/03_launch_dbus.patch (+18/-0) debian/patches/04_language_options.patch (+15/-0) debian/patches/series (+4/-0) debian/po/POTFILES.in (+1/-0) debian/po/ca.po (+99/-0) debian/po/cs.po (+96/-0) debian/po/da.po (+112/-0) debian/po/de.po (+111/-0) debian/po/el.po (+113/-0) debian/po/es.po (+97/-0) debian/po/eu.po (+101/-0) debian/po/fi.po (+38/-0) debian/po/fr.po (+106/-0) debian/po/gl.po (+85/-0) debian/po/it.po (+102/-0) debian/po/ja.po (+102/-0) debian/po/ko.po (+77/-0) debian/po/ml.po (+80/-0) debian/po/nl.po (+102/-0) debian/po/pl.po (+80/-0) debian/po/pothead.in (+30/-0) debian/po/pt.po (+64/-0) debian/po/pt_BR.po (+103/-0) debian/po/ro.po (+112/-0) debian/po/ru.po (+102/-0) debian/po/sk.po (+82/-0) debian/po/sv.po (+103/-0) debian/po/ta.po (+77/-0) debian/po/templates.pot (+50/-0) debian/po/tr.po (+93/-0) debian/po/vi.po (+89/-0) debian/po/zh_CN.po (+92/-0) debian/rules (+33/-0) debian/source/format (+1/-0) debian/source_lightdm.py (+13/-0) debian/watch (+3/-0) depcomp (+688/-0) doc/Makefile.am (+24/-0) doc/Makefile.in (+720/-0) doc/html/core.html (+56/-0) doc/html/index.html (+49/-0) doc/html/index.sgml (+100/-0) doc/html/lightdm-gobject-1-Greeter-Interface.html (+688/-0) doc/html/lightdm-gobject-1-Keyboard-Layout.html (+179/-0) doc/html/lightdm-gobject-1-Languages.html (+191/-0) doc/html/lightdm-gobject-1-Power-Management.html (+221/-0) doc/html/lightdm-gobject-1-Sessions.html (+144/-0) doc/html/lightdm-gobject-1-System-Information.html (+69/-0) doc/html/lightdm-gobject-1-User-Accounts.html (+407/-0) doc/html/lightdm-gobject-1.devhelp2 (+89/-0) doc/html/style.css (+266/-0) doc/lightdm-gobject-1-docs.sgml (+26/-0) doc/lightdm-gobject-1-sections.txt (+156/-0) doc/lightdm-gobject-1.types (+5/-0) doc/tmpl/greeter.sgml (+304/-0) doc/tmpl/language.sgml (+77/-0) doc/tmpl/layout.sgml (+75/-0) doc/tmpl/power.sgml (+94/-0) doc/tmpl/session.sgml (+58/-0) doc/tmpl/system.sgml (+31/-0) doc/tmpl/user.sgml (+191/-0) gtk-doc.make (+280/-0) install-sh (+527/-0) liblightdm-gobject/Makefile.am (+68/-0) liblightdm-gobject/Makefile.in (+870/-0) liblightdm-gobject/greeter.c (+1260/-0) liblightdm-gobject/language.c (+408/-0) liblightdm-gobject/layout.c (+336/-0) liblightdm-gobject/liblightdm-gobject-1.pc.in (+11/-0) liblightdm-gobject/liblightdm-gobject-1.vapi (+101/-0) liblightdm-gobject/lightdm.h (+23/-0) liblightdm-gobject/lightdm/greeter.h (+119/-0) liblightdm-gobject/lightdm/language.h (+60/-0) liblightdm-gobject/lightdm/layout.h (+60/-0) liblightdm-gobject/lightdm/power.h (+35/-0) liblightdm-gobject/lightdm/session.h (+56/-0) liblightdm-gobject/lightdm/system.h (+23/-0) liblightdm-gobject/lightdm/user.h (+112/-0) liblightdm-gobject/power.c (+203/-0) liblightdm-gobject/session.c (+299/-0) liblightdm-gobject/system.c (+34/-0) liblightdm-gobject/user.c (+1643/-0) liblightdm-qt/Makefile.am (+48/-0) liblightdm-qt/Makefile.in (+761/-0) liblightdm-qt/QLightDM/Greeter (+1/-0) liblightdm-qt/QLightDM/Power (+1/-0) liblightdm-qt/QLightDM/SessionsModel (+1/-0) liblightdm-qt/QLightDM/UsersModel (+1/-0) liblightdm-qt/QLightDM/greeter.h (+84/-0) liblightdm-qt/QLightDM/power.h (+50/-0) liblightdm-qt/QLightDM/sessionsmodel.h (+45/-0) liblightdm-qt/QLightDM/usersmodel.h (+52/-0) liblightdm-qt/greeter.cpp (+231/-0) liblightdm-qt/liblightdm-qt-2.pc.in (+11/-0) liblightdm-qt/power.cpp (+114/-0) liblightdm-qt/sessionsmodel.cpp (+123/-0) liblightdm-qt/usersmodel.cpp (+241/-0) lightdm.doap (+21/-0) ltmain.sh (+9661/-0) m4/gtk-doc.m4 (+67/-0) m4/intltool.m4 (+235/-0) m4/introspection.m4 (+94/-0) m4/libtool.m4 (+8001/-0) m4/ltoptions.m4 (+384/-0) m4/ltsugar.m4 (+123/-0) m4/ltversion.m4 (+23/-0) m4/lt~obsolete.m4 (+98/-0) missing (+331/-0) po/LINGUAS (+74/-0) po/Makefile.in.in (+222/-0) po/POTFILES.in (+6/-0) po/ar.po (+109/-0) po/ast.po (+101/-0) po/be.po (+100/-0) po/bg.po (+106/-0) po/bn.po (+101/-0) po/bo.po (+100/-0) po/br.po (+100/-0) po/bs.po (+103/-0) po/ca.po (+113/-0) po/ca@valencia.po (+101/-0) po/cs.po (+108/-0) po/da.po (+110/-0) po/de.po (+113/-0) po/el.po (+104/-0) po/en_AU.po (+111/-0) po/en_CA.po (+100/-0) po/en_GB.po (+111/-0) po/eo.po (+109/-0) po/es.po (+111/-0) po/et.po (+102/-0) po/eu.po (+111/-0) po/fi.po (+101/-0) po/fo.po (+100/-0) po/fr.po (+109/-0) po/fy.po (+100/-0) po/gd.po (+100/-0) po/gl.po (+111/-0) po/he.po (+109/-0) po/hi.po (+100/-0) po/hr.po (+112/-0) po/hu.po (+112/-0) po/ia.po (+101/-0) po/id.po (+113/-0) po/it.po (+109/-0) po/ja.po (+100/-0) po/kk.po (+110/-0) po/km.po (+100/-0) po/ko.po (+100/-0) po/ku.po (+101/-0) po/lb.po (+104/-0) po/lt.po (+103/-0) po/lv.po (+100/-0) po/mhr.po (+100/-0) po/ml.po (+100/-0) po/ms.po (+109/-0) po/nb.po (+102/-0) po/nl.po (+113/-0) po/nn.po (+100/-0) po/oc.po (+100/-0) po/pl.po (+110/-0) po/pt.po (+111/-0) po/pt_BR.po (+113/-0) po/ro.po (+111/-0) po/ru.po (+111/-0) po/sd.po (+100/-0) po/shn.po (+100/-0) po/si.po (+100/-0) po/sk.po (+110/-0) po/sl.po (+103/-0) po/sq.po (+104/-0) po/sr.po (+113/-0) po/sv.po (+109/-0) po/ta.po (+102/-0) po/te.po (+100/-0) po/th.po (+101/-0) po/tr.po (+112/-0) po/ug.po (+100/-0) po/uk.po (+109/-0) po/uz.po (+100/-0) po/vi.po (+100/-0) po/wae.po (+100/-0) po/zh_CN.po (+109/-0) po/zh_HK.po (+100/-0) po/zh_TW.po (+100/-0) src/Makefile.am (+110/-0) src/Makefile.in (+1279/-0) src/accounts.c (+452/-0) src/accounts.h (+67/-0) src/configuration.c (+118/-0) src/configuration.h (+61/-0) src/console-kit.c (+260/-0) src/console-kit.h (+29/-0) src/display-manager.c (+201/-0) src/display-manager.h (+55/-0) src/display-manager.xml (+17/-0) src/display-server.c (+121/-0) src/display-server.h (+59/-0) src/display.c (+1054/-0) src/display.h (+89/-0) src/dmrc.c (+120/-0) src/dmrc.h (+25/-0) src/greeter.c (+734/-0) src/greeter.h (+55/-0) src/guest-account.c (+127/-0) src/guest-account.h (+27/-0) src/ldm-marshal.c (+366/-0) src/ldm-marshal.h (+68/-0) src/ldm-marshal.list (+7/-0) src/lightdm-guest-session-wrapper.c (+37/-0) src/lightdm.c (+1203/-0) src/pam-session.c (+472/-0) src/pam-session.h (+88/-0) src/plymouth.c (+99/-0) src/plymouth.h (+31/-0) src/privileges.c (+33/-0) src/privileges.h (+21/-0) src/process.c (+389/-0) src/process.h (+75/-0) src/seat-xdmcp-session.c (+104/-0) src/seat-xdmcp-session.h (+42/-0) src/seat-xlocal.c (+188/-0) src/seat-xlocal.h (+40/-0) src/seat-xremote.c (+96/-0) src/seat-xremote.h (+37/-0) src/seat-xvnc.c (+144/-0) src/seat-xvnc.h (+42/-0) src/seat.c (+704/-0) src/seat.h (+94/-0) src/session.c (+502/-0) src/session.h (+81/-0) src/vnc-server.c (+178/-0) src/vnc-server.h (+49/-0) src/vt.c (+152/-0) src/vt.h (+29/-0) src/xauthority.c (+387/-0) src/xauthority.h (+90/-0) src/xdmcp-protocol.c (+595/-0) src/xdmcp-protocol.h (+149/-0) src/xdmcp-server.c (+709/-0) src/xdmcp-server.h (+61/-0) src/xdmcp-session-private.h (+39/-0) src/xdmcp-session.c (+102/-0) src/xdmcp-session.h (+56/-0) src/xserver-local.c (+559/-0) src/xserver-local.h (+70/-0) src/xserver-remote.c (+43/-0) src/xserver-remote.h (+38/-0) src/xserver-xvnc.c (+329/-0) src/xserver-xvnc.h (+56/-0) src/xserver.c (+168/-0) src/xserver.h (+64/-0) src/xsession.c (+197/-0) src/xsession.h (+42/-0) tests/Makefile.am (+177/-0) tests/Makefile.in (+869/-0) tests/data/session.conf (+9/-0) tests/data/system.conf (+9/-0) tests/data/xgreeters/test-gobject-greeter.desktop (+4/-0) tests/data/xgreeters/test-python-greeter.desktop (+4/-0) tests/data/xgreeters/test-qt-greeter.desktop (+4/-0) tests/data/xsessions/alternative.desktop (+4/-0) tests/data/xsessions/default.desktop (+4/-0) tests/scripts/autologin-guest-fail-setup-script.conf (+35/-0) tests/scripts/autologin-guest-logout.conf (+56/-0) tests/scripts/autologin-guest.conf (+35/-0) tests/scripts/autologin-invalid-session.conf (+35/-0) tests/scripts/autologin-invalid-user.conf (+34/-0) tests/scripts/autologin-logout.conf (+53/-0) tests/scripts/autologin-previous-session.conf (+30/-0) tests/scripts/autologin-session-crash.conf (+50/-0) tests/scripts/autologin-xserver-crash.conf (+47/-0) tests/scripts/autologin.conf (+30/-0) tests/scripts/greeter-fail-start.conf (+28/-0) tests/scripts/greeter-not-installed.conf (+26/-0) tests/scripts/greeter-xserver-crash.conf (+49/-0) tests/scripts/headless.conf (+15/-0) tests/scripts/home-dir-on-authenticate.conf (+30/-0) tests/scripts/keyboard-layout.conf (+38/-0) tests/scripts/language-no-accounts-service.conf (+36/-0) tests/scripts/language.conf (+33/-0) tests/scripts/lock-seat.conf (+63/-0) tests/scripts/lock-session.conf (+64/-0) tests/scripts/login-guest-disabled.conf (+36/-0) tests/scripts/login-guest-fail-setup-script.conf (+55/-0) tests/scripts/login-guest-logout.conf (+66/-0) tests/scripts/login-guest-no-setup-script.conf (+34/-0) tests/scripts/login-guest.conf (+44/-0) tests/scripts/login-invalid-session.conf (+54/-0) tests/scripts/login-invalid-user.conf (+35/-0) tests/scripts/login-logout.conf (+62/-0) tests/scripts/login-manual-previous-session.conf (+42/-0) tests/scripts/login-manual.conf (+44/-0) tests/scripts/login-no-password.conf (+40/-0) tests/scripts/login-pick-session.conf (+42/-0) tests/scripts/login-previous-session.conf (+40/-0) tests/scripts/login-session-crash.conf (+62/-0) tests/scripts/login-wrong-password.conf (+36/-0) tests/scripts/login-xserver-crash.conf (+59/-0) tests/scripts/login.conf (+42/-0) tests/scripts/no-accounts-service.conf (+33/-0) tests/scripts/no-config.conf (+30/-0) tests/scripts/no-console-kit.conf (+33/-0) tests/scripts/no-keyboard-layout.conf (+33/-0) tests/scripts/no-language.conf (+33/-0) tests/scripts/plymouth-active-vt.conf (+42/-0) tests/scripts/plymouth-inactive-vt.conf (+37/-0) tests/scripts/plymouth-no-seat.conf (+24/-0) tests/scripts/script-hook-fail-display-setup.conf (+27/-0) tests/scripts/script-hook-fail-greeter-setup.conf (+27/-0) tests/scripts/script-hook-fail-session-setup.conf (+36/-0) tests/scripts/script-hooks.conf (+65/-0) tests/scripts/switch-to-greeter.conf (+62/-0) tests/scripts/switch-to-guest.conf (+58/-0) tests/scripts/switch-to-user-existing-session.conf (+38/-0) tests/scripts/switch-to-user-logout.conf (+69/-0) tests/scripts/switch-to-user-no-password.conf (+49/-0) tests/scripts/switch-to-user.conf (+56/-0) tests/scripts/switch-to-users.conf (+67/-0) tests/scripts/user-renamed-invalid.conf (+34/-0) tests/scripts/user-renamed.conf (+30/-0) tests/scripts/vnc-login.conf (+58/-0) tests/scripts/xdmcp-login.conf (+53/-0) tests/scripts/xserver-fail-start.conf (+17/-0) tests/src/Makefile.am (+156/-0) tests/src/Makefile.in (+1387/-0) tests/src/X.c (+445/-0) tests/src/Xvnc.c (+293/-0) tests/src/dbus-env.c (+80/-0) tests/src/guest-account.c (+110/-0) tests/src/initctl.c (+17/-0) tests/src/libsystem.c (+581/-0) tests/src/lightdm-session (+2/-0) tests/src/plymouth.c (+63/-0) tests/src/status.c (+101/-0) tests/src/status.h (+20/-0) tests/src/test-gobject-greeter.c (+230/-0) tests/src/test-qt-greeter.cpp (+144/-0) tests/src/test-qt-greeter.h (+14/-0) tests/src/test-runner.c (+1280/-0) tests/src/test-script-hook.c (+37/-0) tests/src/test-session.c (+112/-0) tests/src/vnc-client.c (+105/-0) tests/src/x-authority.c (+229/-0) tests/src/x-authority.h (+71/-0) tests/src/x-common.c (+160/-0) tests/src/x-common.h (+48/-0) tests/src/x-server.c (+959/-0) tests/src/x-server.h (+115/-0) tests/src/xdmcp-client.c (+456/-0) tests/src/xdmcp-client.h (+81/-0) tests/test-autologin (+2/-0) tests/test-autologin-guest (+2/-0) tests/test-autologin-guest-fail-setup-script (+2/-0) tests/test-autologin-guest-logout (+2/-0) tests/test-autologin-invalid-session (+2/-0) tests/test-autologin-invalid-user (+2/-0) tests/test-autologin-logout (+2/-0) tests/test-autologin-previous-session (+2/-0) tests/test-autologin-session-crash (+2/-0) tests/test-autologin-xserver-crash (+2/-0) tests/test-default-keyboard-layout (+2/-0) tests/test-greeter-fail-start (+2/-0) tests/test-greeter-not-installed (+2/-0) tests/test-greeter-xserver-crash (+2/-0) tests/test-headless (+2/-0) tests/test-home-dir-on-authenticate (+2/-0) tests/test-keyboard-layout (+2/-0) tests/test-keyboard-variants (+2/-0) tests/test-language (+2/-0) tests/test-language-no-accounts-service (+2/-0) tests/test-lock-seat (+2/-0) tests/test-lock-session (+2/-0) tests/test-login-gobject (+2/-0) tests/test-login-gobject-guest (+2/-0) tests/test-login-gobject-guest-disabled (+2/-0) tests/test-login-gobject-guest-fail-setup-script (+2/-0) tests/test-login-gobject-guest-logout (+2/-0) tests/test-login-gobject-guest-no-setup-script (+2/-0) tests/test-login-gobject-invalid-session (+2/-0) tests/test-login-gobject-invalid-user (+2/-0) tests/test-login-gobject-logout (+2/-0) tests/test-login-gobject-manual (+2/-0) tests/test-login-gobject-manual-previous-session (+2/-0) tests/test-login-gobject-no-password (+2/-0) tests/test-login-gobject-pick-session (+2/-0) tests/test-login-gobject-previous-session (+2/-0) tests/test-login-gobject-wrong-password (+2/-0) tests/test-login-python (+2/-0) tests/test-login-python-guest (+2/-0) tests/test-login-python-guest-disabled (+2/-0) tests/test-login-python-guest-fail-setup-script (+2/-0) tests/test-login-python-guest-logout (+2/-0) tests/test-login-python-guest-no-setup-script (+2/-0) tests/test-login-python-invalid-session (+2/-0) tests/test-login-python-invalid-user (+2/-0) tests/test-login-python-logout (+2/-0) tests/test-login-python-manual (+2/-0) tests/test-login-python-manual-previous-session (+2/-0) tests/test-login-python-no-password (+2/-0) tests/test-login-python-pick-session (+2/-0) tests/test-login-python-previous-session (+2/-0) tests/test-login-python-wrong-password (+2/-0) tests/test-login-qt (+2/-0) tests/test-login-qt-guest (+2/-0) tests/test-login-qt-guest-disabled (+2/-0) tests/test-login-qt-guest-fail-setup-script (+2/-0) tests/test-login-qt-guest-logout (+2/-0) tests/test-login-qt-guest-no-setup-script (+2/-0) tests/test-login-qt-invalid-session (+2/-0) tests/test-login-qt-invalid-user (+2/-0) tests/test-login-qt-logout (+2/-0) tests/test-login-qt-manual (+2/-0) tests/test-login-qt-manual-previous-session (+2/-0) tests/test-login-qt-no-password (+2/-0) tests/test-login-qt-pick-session (+2/-0) tests/test-login-qt-previous-session (+2/-0) tests/test-login-qt-wrong-password (+2/-0) tests/test-login-session-crash (+2/-0) tests/test-login-xserver-crash (+2/-0) tests/test-no-accounts-service (+2/-0) tests/test-no-config (+2/-0) tests/test-no-console-kit (+2/-0) tests/test-no-keyboard-layout (+2/-0) tests/test-no-language (+2/-0) tests/test-plymouth-active-vt (+2/-0) tests/test-plymouth-inactive-vt (+2/-0) tests/test-plymouth-no-seat (+2/-0) tests/test-script-hook-fail-display-setup (+2/-0) tests/test-script-hook-fail-greeter-setup (+2/-0) tests/test-script-hook-fail-session-setup (+2/-0) tests/test-script-hooks (+2/-0) tests/test-switch-to-greeter (+2/-0) tests/test-switch-to-guest (+2/-0) tests/test-switch-to-user (+2/-0) tests/test-switch-to-user-existing-session (+2/-0) tests/test-switch-to-user-logout (+2/-0) tests/test-switch-to-user-no-password (+2/-0) tests/test-switch-to-users (+2/-0) tests/test-user-renamed (+2/-0) tests/test-user-renamed-invalid (+2/-0) tests/test-vnc-login (+2/-0) tests/test-xdmcp-login (+2/-0) tests/test-xserver-fail-start (+2/-0) utils/Makefile.am (+30/-0) utils/Makefile.in (+777/-0) utils/dm-tool.c (+529/-0) utils/gdmflexiserver (+17/-0) utils/lightdm-set-defaults.c (+185/-0) Conflict adding file AUTHORS. Moved existing file to AUTHORS.moved. Conflict adding file COPYING. Moved existing file to COPYING.moved. Conflict adding file ChangeLog. Moved existing file to ChangeLog.moved. Conflict adding file Makefile.am. Moved existing file to Makefile.am.moved. Conflict adding file NEWS. Moved existing file to NEWS.moved. Conflict adding file README. Moved existing file to README.moved. Conflict adding file autogen.sh. Moved existing file to autogen.sh.moved. Conflict adding file configure.ac. Moved existing file to configure.ac.moved. Conflict adding file data. Moved existing file to data.moved. Conflict adding file doc. Moved existing file to doc.moved. Conflict adding file liblightdm-gobject. Moved existing file to liblightdm-gobject.moved. Conflict adding file liblightdm-qt. Moved existing file to liblightdm-qt.moved. Conflict adding file lightdm.doap. Moved existing file to lightdm.doap.moved. Conflict adding file m4. Moved existing file to m4.moved. Conflict adding file po. Moved existing file to po.moved. Conflict adding file src. Moved existing file to src.moved. Conflict adding file tests. Moved existing file to tests.moved. Conflict adding file utils. Moved existing file to utils.moved. |
To merge this branch: | bzr merge lp:~mfisch/lightdm/lp921169 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
Review via email: mp+95504@code.launchpad.net |
Commit message
Description of the change
fixes 921169
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'AUTHORS' |
2 | --- AUTHORS 1970-01-01 00:00:00 +0000 |
3 | +++ AUTHORS 2012-03-02 04:18:19 +0000 |
4 | @@ -0,0 +1,1 @@ |
5 | +See bzr+ssh://bazaar.launchpad.net/+branch/lightdm for the commit history |
6 | |
7 | === renamed file 'AUTHORS' => 'AUTHORS.moved' |
8 | === added file 'COPYING' |
9 | --- COPYING 1970-01-01 00:00:00 +0000 |
10 | +++ COPYING 2012-03-02 04:18:19 +0000 |
11 | @@ -0,0 +1,674 @@ |
12 | + GNU GENERAL PUBLIC LICENSE |
13 | + Version 3, 29 June 2007 |
14 | + |
15 | + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
16 | + Everyone is permitted to copy and distribute verbatim copies |
17 | + of this license document, but changing it is not allowed. |
18 | + |
19 | + Preamble |
20 | + |
21 | + The GNU General Public License is a free, copyleft license for |
22 | +software and other kinds of works. |
23 | + |
24 | + The licenses for most software and other practical works are designed |
25 | +to take away your freedom to share and change the works. By contrast, |
26 | +the GNU General Public License is intended to guarantee your freedom to |
27 | +share and change all versions of a program--to make sure it remains free |
28 | +software for all its users. We, the Free Software Foundation, use the |
29 | +GNU General Public License for most of our software; it applies also to |
30 | +any other work released this way by its authors. You can apply it to |
31 | +your programs, too. |
32 | + |
33 | + When we speak of free software, we are referring to freedom, not |
34 | +price. Our General Public Licenses are designed to make sure that you |
35 | +have the freedom to distribute copies of free software (and charge for |
36 | +them if you wish), that you receive source code or can get it if you |
37 | +want it, that you can change the software or use pieces of it in new |
38 | +free programs, and that you know you can do these things. |
39 | + |
40 | + To protect your rights, we need to prevent others from denying you |
41 | +these rights or asking you to surrender the rights. Therefore, you have |
42 | +certain responsibilities if you distribute copies of the software, or if |
43 | +you modify it: responsibilities to respect the freedom of others. |
44 | + |
45 | + For example, if you distribute copies of such a program, whether |
46 | +gratis or for a fee, you must pass on to the recipients the same |
47 | +freedoms that you received. You must make sure that they, too, receive |
48 | +or can get the source code. And you must show them these terms so they |
49 | +know their rights. |
50 | + |
51 | + Developers that use the GNU GPL protect your rights with two steps: |
52 | +(1) assert copyright on the software, and (2) offer you this License |
53 | +giving you legal permission to copy, distribute and/or modify it. |
54 | + |
55 | + For the developers' and authors' protection, the GPL clearly explains |
56 | +that there is no warranty for this free software. For both users' and |
57 | +authors' sake, the GPL requires that modified versions be marked as |
58 | +changed, so that their problems will not be attributed erroneously to |
59 | +authors of previous versions. |
60 | + |
61 | + Some devices are designed to deny users access to install or run |
62 | +modified versions of the software inside them, although the manufacturer |
63 | +can do so. This is fundamentally incompatible with the aim of |
64 | +protecting users' freedom to change the software. The systematic |
65 | +pattern of such abuse occurs in the area of products for individuals to |
66 | +use, which is precisely where it is most unacceptable. Therefore, we |
67 | +have designed this version of the GPL to prohibit the practice for those |
68 | +products. If such problems arise substantially in other domains, we |
69 | +stand ready to extend this provision to those domains in future versions |
70 | +of the GPL, as needed to protect the freedom of users. |
71 | + |
72 | + Finally, every program is threatened constantly by software patents. |
73 | +States should not allow patents to restrict development and use of |
74 | +software on general-purpose computers, but in those that do, we wish to |
75 | +avoid the special danger that patents applied to a free program could |
76 | +make it effectively proprietary. To prevent this, the GPL assures that |
77 | +patents cannot be used to render the program non-free. |
78 | + |
79 | + The precise terms and conditions for copying, distribution and |
80 | +modification follow. |
81 | + |
82 | + TERMS AND CONDITIONS |
83 | + |
84 | + 0. Definitions. |
85 | + |
86 | + "This License" refers to version 3 of the GNU General Public License. |
87 | + |
88 | + "Copyright" also means copyright-like laws that apply to other kinds of |
89 | +works, such as semiconductor masks. |
90 | + |
91 | + "The Program" refers to any copyrightable work licensed under this |
92 | +License. Each licensee is addressed as "you". "Licensees" and |
93 | +"recipients" may be individuals or organizations. |
94 | + |
95 | + To "modify" a work means to copy from or adapt all or part of the work |
96 | +in a fashion requiring copyright permission, other than the making of an |
97 | +exact copy. The resulting work is called a "modified version" of the |
98 | +earlier work or a work "based on" the earlier work. |
99 | + |
100 | + A "covered work" means either the unmodified Program or a work based |
101 | +on the Program. |
102 | + |
103 | + To "propagate" a work means to do anything with it that, without |
104 | +permission, would make you directly or secondarily liable for |
105 | +infringement under applicable copyright law, except executing it on a |
106 | +computer or modifying a private copy. Propagation includes copying, |
107 | +distribution (with or without modification), making available to the |
108 | +public, and in some countries other activities as well. |
109 | + |
110 | + To "convey" a work means any kind of propagation that enables other |
111 | +parties to make or receive copies. Mere interaction with a user through |
112 | +a computer network, with no transfer of a copy, is not conveying. |
113 | + |
114 | + An interactive user interface displays "Appropriate Legal Notices" |
115 | +to the extent that it includes a convenient and prominently visible |
116 | +feature that (1) displays an appropriate copyright notice, and (2) |
117 | +tells the user that there is no warranty for the work (except to the |
118 | +extent that warranties are provided), that licensees may convey the |
119 | +work under this License, and how to view a copy of this License. If |
120 | +the interface presents a list of user commands or options, such as a |
121 | +menu, a prominent item in the list meets this criterion. |
122 | + |
123 | + 1. Source Code. |
124 | + |
125 | + The "source code" for a work means the preferred form of the work |
126 | +for making modifications to it. "Object code" means any non-source |
127 | +form of a work. |
128 | + |
129 | + A "Standard Interface" means an interface that either is an official |
130 | +standard defined by a recognized standards body, or, in the case of |
131 | +interfaces specified for a particular programming language, one that |
132 | +is widely used among developers working in that language. |
133 | + |
134 | + The "System Libraries" of an executable work include anything, other |
135 | +than the work as a whole, that (a) is included in the normal form of |
136 | +packaging a Major Component, but which is not part of that Major |
137 | +Component, and (b) serves only to enable use of the work with that |
138 | +Major Component, or to implement a Standard Interface for which an |
139 | +implementation is available to the public in source code form. A |
140 | +"Major Component", in this context, means a major essential component |
141 | +(kernel, window system, and so on) of the specific operating system |
142 | +(if any) on which the executable work runs, or a compiler used to |
143 | +produce the work, or an object code interpreter used to run it. |
144 | + |
145 | + The "Corresponding Source" for a work in object code form means all |
146 | +the source code needed to generate, install, and (for an executable |
147 | +work) run the object code and to modify the work, including scripts to |
148 | +control those activities. However, it does not include the work's |
149 | +System Libraries, or general-purpose tools or generally available free |
150 | +programs which are used unmodified in performing those activities but |
151 | +which are not part of the work. For example, Corresponding Source |
152 | +includes interface definition files associated with source files for |
153 | +the work, and the source code for shared libraries and dynamically |
154 | +linked subprograms that the work is specifically designed to require, |
155 | +such as by intimate data communication or control flow between those |
156 | +subprograms and other parts of the work. |
157 | + |
158 | + The Corresponding Source need not include anything that users |
159 | +can regenerate automatically from other parts of the Corresponding |
160 | +Source. |
161 | + |
162 | + The Corresponding Source for a work in source code form is that |
163 | +same work. |
164 | + |
165 | + 2. Basic Permissions. |
166 | + |
167 | + All rights granted under this License are granted for the term of |
168 | +copyright on the Program, and are irrevocable provided the stated |
169 | +conditions are met. This License explicitly affirms your unlimited |
170 | +permission to run the unmodified Program. The output from running a |
171 | +covered work is covered by this License only if the output, given its |
172 | +content, constitutes a covered work. This License acknowledges your |
173 | +rights of fair use or other equivalent, as provided by copyright law. |
174 | + |
175 | + You may make, run and propagate covered works that you do not |
176 | +convey, without conditions so long as your license otherwise remains |
177 | +in force. You may convey covered works to others for the sole purpose |
178 | +of having them make modifications exclusively for you, or provide you |
179 | +with facilities for running those works, provided that you comply with |
180 | +the terms of this License in conveying all material for which you do |
181 | +not control copyright. Those thus making or running the covered works |
182 | +for you must do so exclusively on your behalf, under your direction |
183 | +and control, on terms that prohibit them from making any copies of |
184 | +your copyrighted material outside their relationship with you. |
185 | + |
186 | + Conveying under any other circumstances is permitted solely under |
187 | +the conditions stated below. Sublicensing is not allowed; section 10 |
188 | +makes it unnecessary. |
189 | + |
190 | + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. |
191 | + |
192 | + No covered work shall be deemed part of an effective technological |
193 | +measure under any applicable law fulfilling obligations under article |
194 | +11 of the WIPO copyright treaty adopted on 20 December 1996, or |
195 | +similar laws prohibiting or restricting circumvention of such |
196 | +measures. |
197 | + |
198 | + When you convey a covered work, you waive any legal power to forbid |
199 | +circumvention of technological measures to the extent such circumvention |
200 | +is effected by exercising rights under this License with respect to |
201 | +the covered work, and you disclaim any intention to limit operation or |
202 | +modification of the work as a means of enforcing, against the work's |
203 | +users, your or third parties' legal rights to forbid circumvention of |
204 | +technological measures. |
205 | + |
206 | + 4. Conveying Verbatim Copies. |
207 | + |
208 | + You may convey verbatim copies of the Program's source code as you |
209 | +receive it, in any medium, provided that you conspicuously and |
210 | +appropriately publish on each copy an appropriate copyright notice; |
211 | +keep intact all notices stating that this License and any |
212 | +non-permissive terms added in accord with section 7 apply to the code; |
213 | +keep intact all notices of the absence of any warranty; and give all |
214 | +recipients a copy of this License along with the Program. |
215 | + |
216 | + You may charge any price or no price for each copy that you convey, |
217 | +and you may offer support or warranty protection for a fee. |
218 | + |
219 | + 5. Conveying Modified Source Versions. |
220 | + |
221 | + You may convey a work based on the Program, or the modifications to |
222 | +produce it from the Program, in the form of source code under the |
223 | +terms of section 4, provided that you also meet all of these conditions: |
224 | + |
225 | + a) The work must carry prominent notices stating that you modified |
226 | + it, and giving a relevant date. |
227 | + |
228 | + b) The work must carry prominent notices stating that it is |
229 | + released under this License and any conditions added under section |
230 | + 7. This requirement modifies the requirement in section 4 to |
231 | + "keep intact all notices". |
232 | + |
233 | + c) You must license the entire work, as a whole, under this |
234 | + License to anyone who comes into possession of a copy. This |
235 | + License will therefore apply, along with any applicable section 7 |
236 | + additional terms, to the whole of the work, and all its parts, |
237 | + regardless of how they are packaged. This License gives no |
238 | + permission to license the work in any other way, but it does not |
239 | + invalidate such permission if you have separately received it. |
240 | + |
241 | + d) If the work has interactive user interfaces, each must display |
242 | + Appropriate Legal Notices; however, if the Program has interactive |
243 | + interfaces that do not display Appropriate Legal Notices, your |
244 | + work need not make them do so. |
245 | + |
246 | + A compilation of a covered work with other separate and independent |
247 | +works, which are not by their nature extensions of the covered work, |
248 | +and which are not combined with it such as to form a larger program, |
249 | +in or on a volume of a storage or distribution medium, is called an |
250 | +"aggregate" if the compilation and its resulting copyright are not |
251 | +used to limit the access or legal rights of the compilation's users |
252 | +beyond what the individual works permit. Inclusion of a covered work |
253 | +in an aggregate does not cause this License to apply to the other |
254 | +parts of the aggregate. |
255 | + |
256 | + 6. Conveying Non-Source Forms. |
257 | + |
258 | + You may convey a covered work in object code form under the terms |
259 | +of sections 4 and 5, provided that you also convey the |
260 | +machine-readable Corresponding Source under the terms of this License, |
261 | +in one of these ways: |
262 | + |
263 | + a) Convey the object code in, or embodied in, a physical product |
264 | + (including a physical distribution medium), accompanied by the |
265 | + Corresponding Source fixed on a durable physical medium |
266 | + customarily used for software interchange. |
267 | + |
268 | + b) Convey the object code in, or embodied in, a physical product |
269 | + (including a physical distribution medium), accompanied by a |
270 | + written offer, valid for at least three years and valid for as |
271 | + long as you offer spare parts or customer support for that product |
272 | + model, to give anyone who possesses the object code either (1) a |
273 | + copy of the Corresponding Source for all the software in the |
274 | + product that is covered by this License, on a durable physical |
275 | + medium customarily used for software interchange, for a price no |
276 | + more than your reasonable cost of physically performing this |
277 | + conveying of source, or (2) access to copy the |
278 | + Corresponding Source from a network server at no charge. |
279 | + |
280 | + c) Convey individual copies of the object code with a copy of the |
281 | + written offer to provide the Corresponding Source. This |
282 | + alternative is allowed only occasionally and noncommercially, and |
283 | + only if you received the object code with such an offer, in accord |
284 | + with subsection 6b. |
285 | + |
286 | + d) Convey the object code by offering access from a designated |
287 | + place (gratis or for a charge), and offer equivalent access to the |
288 | + Corresponding Source in the same way through the same place at no |
289 | + further charge. You need not require recipients to copy the |
290 | + Corresponding Source along with the object code. If the place to |
291 | + copy the object code is a network server, the Corresponding Source |
292 | + may be on a different server (operated by you or a third party) |
293 | + that supports equivalent copying facilities, provided you maintain |
294 | + clear directions next to the object code saying where to find the |
295 | + Corresponding Source. Regardless of what server hosts the |
296 | + Corresponding Source, you remain obligated to ensure that it is |
297 | + available for as long as needed to satisfy these requirements. |
298 | + |
299 | + e) Convey the object code using peer-to-peer transmission, provided |
300 | + you inform other peers where the object code and Corresponding |
301 | + Source of the work are being offered to the general public at no |
302 | + charge under subsection 6d. |
303 | + |
304 | + A separable portion of the object code, whose source code is excluded |
305 | +from the Corresponding Source as a System Library, need not be |
306 | +included in conveying the object code work. |
307 | + |
308 | + A "User Product" is either (1) a "consumer product", which means any |
309 | +tangible personal property which is normally used for personal, family, |
310 | +or household purposes, or (2) anything designed or sold for incorporation |
311 | +into a dwelling. In determining whether a product is a consumer product, |
312 | +doubtful cases shall be resolved in favor of coverage. For a particular |
313 | +product received by a particular user, "normally used" refers to a |
314 | +typical or common use of that class of product, regardless of the status |
315 | +of the particular user or of the way in which the particular user |
316 | +actually uses, or expects or is expected to use, the product. A product |
317 | +is a consumer product regardless of whether the product has substantial |
318 | +commercial, industrial or non-consumer uses, unless such uses represent |
319 | +the only significant mode of use of the product. |
320 | + |
321 | + "Installation Information" for a User Product means any methods, |
322 | +procedures, authorization keys, or other information required to install |
323 | +and execute modified versions of a covered work in that User Product from |
324 | +a modified version of its Corresponding Source. The information must |
325 | +suffice to ensure that the continued functioning of the modified object |
326 | +code is in no case prevented or interfered with solely because |
327 | +modification has been made. |
328 | + |
329 | + If you convey an object code work under this section in, or with, or |
330 | +specifically for use in, a User Product, and the conveying occurs as |
331 | +part of a transaction in which the right of possession and use of the |
332 | +User Product is transferred to the recipient in perpetuity or for a |
333 | +fixed term (regardless of how the transaction is characterized), the |
334 | +Corresponding Source conveyed under this section must be accompanied |
335 | +by the Installation Information. But this requirement does not apply |
336 | +if neither you nor any third party retains the ability to install |
337 | +modified object code on the User Product (for example, the work has |
338 | +been installed in ROM). |
339 | + |
340 | + The requirement to provide Installation Information does not include a |
341 | +requirement to continue to provide support service, warranty, or updates |
342 | +for a work that has been modified or installed by the recipient, or for |
343 | +the User Product in which it has been modified or installed. Access to a |
344 | +network may be denied when the modification itself materially and |
345 | +adversely affects the operation of the network or violates the rules and |
346 | +protocols for communication across the network. |
347 | + |
348 | + Corresponding Source conveyed, and Installation Information provided, |
349 | +in accord with this section must be in a format that is publicly |
350 | +documented (and with an implementation available to the public in |
351 | +source code form), and must require no special password or key for |
352 | +unpacking, reading or copying. |
353 | + |
354 | + 7. Additional Terms. |
355 | + |
356 | + "Additional permissions" are terms that supplement the terms of this |
357 | +License by making exceptions from one or more of its conditions. |
358 | +Additional permissions that are applicable to the entire Program shall |
359 | +be treated as though they were included in this License, to the extent |
360 | +that they are valid under applicable law. If additional permissions |
361 | +apply only to part of the Program, that part may be used separately |
362 | +under those permissions, but the entire Program remains governed by |
363 | +this License without regard to the additional permissions. |
364 | + |
365 | + When you convey a copy of a covered work, you may at your option |
366 | +remove any additional permissions from that copy, or from any part of |
367 | +it. (Additional permissions may be written to require their own |
368 | +removal in certain cases when you modify the work.) You may place |
369 | +additional permissions on material, added by you to a covered work, |
370 | +for which you have or can give appropriate copyright permission. |
371 | + |
372 | + Notwithstanding any other provision of this License, for material you |
373 | +add to a covered work, you may (if authorized by the copyright holders of |
374 | +that material) supplement the terms of this License with terms: |
375 | + |
376 | + a) Disclaiming warranty or limiting liability differently from the |
377 | + terms of sections 15 and 16 of this License; or |
378 | + |
379 | + b) Requiring preservation of specified reasonable legal notices or |
380 | + author attributions in that material or in the Appropriate Legal |
381 | + Notices displayed by works containing it; or |
382 | + |
383 | + c) Prohibiting misrepresentation of the origin of that material, or |
384 | + requiring that modified versions of such material be marked in |
385 | + reasonable ways as different from the original version; or |
386 | + |
387 | + d) Limiting the use for publicity purposes of names of licensors or |
388 | + authors of the material; or |
389 | + |
390 | + e) Declining to grant rights under trademark law for use of some |
391 | + trade names, trademarks, or service marks; or |
392 | + |
393 | + f) Requiring indemnification of licensors and authors of that |
394 | + material by anyone who conveys the material (or modified versions of |
395 | + it) with contractual assumptions of liability to the recipient, for |
396 | + any liability that these contractual assumptions directly impose on |
397 | + those licensors and authors. |
398 | + |
399 | + All other non-permissive additional terms are considered "further |
400 | +restrictions" within the meaning of section 10. If the Program as you |
401 | +received it, or any part of it, contains a notice stating that it is |
402 | +governed by this License along with a term that is a further |
403 | +restriction, you may remove that term. If a license document contains |
404 | +a further restriction but permits relicensing or conveying under this |
405 | +License, you may add to a covered work material governed by the terms |
406 | +of that license document, provided that the further restriction does |
407 | +not survive such relicensing or conveying. |
408 | + |
409 | + If you add terms to a covered work in accord with this section, you |
410 | +must place, in the relevant source files, a statement of the |
411 | +additional terms that apply to those files, or a notice indicating |
412 | +where to find the applicable terms. |
413 | + |
414 | + Additional terms, permissive or non-permissive, may be stated in the |
415 | +form of a separately written license, or stated as exceptions; |
416 | +the above requirements apply either way. |
417 | + |
418 | + 8. Termination. |
419 | + |
420 | + You may not propagate or modify a covered work except as expressly |
421 | +provided under this License. Any attempt otherwise to propagate or |
422 | +modify it is void, and will automatically terminate your rights under |
423 | +this License (including any patent licenses granted under the third |
424 | +paragraph of section 11). |
425 | + |
426 | + However, if you cease all violation of this License, then your |
427 | +license from a particular copyright holder is reinstated (a) |
428 | +provisionally, unless and until the copyright holder explicitly and |
429 | +finally terminates your license, and (b) permanently, if the copyright |
430 | +holder fails to notify you of the violation by some reasonable means |
431 | +prior to 60 days after the cessation. |
432 | + |
433 | + Moreover, your license from a particular copyright holder is |
434 | +reinstated permanently if the copyright holder notifies you of the |
435 | +violation by some reasonable means, this is the first time you have |
436 | +received notice of violation of this License (for any work) from that |
437 | +copyright holder, and you cure the violation prior to 30 days after |
438 | +your receipt of the notice. |
439 | + |
440 | + Termination of your rights under this section does not terminate the |
441 | +licenses of parties who have received copies or rights from you under |
442 | +this License. If your rights have been terminated and not permanently |
443 | +reinstated, you do not qualify to receive new licenses for the same |
444 | +material under section 10. |
445 | + |
446 | + 9. Acceptance Not Required for Having Copies. |
447 | + |
448 | + You are not required to accept this License in order to receive or |
449 | +run a copy of the Program. Ancillary propagation of a covered work |
450 | +occurring solely as a consequence of using peer-to-peer transmission |
451 | +to receive a copy likewise does not require acceptance. However, |
452 | +nothing other than this License grants you permission to propagate or |
453 | +modify any covered work. These actions infringe copyright if you do |
454 | +not accept this License. Therefore, by modifying or propagating a |
455 | +covered work, you indicate your acceptance of this License to do so. |
456 | + |
457 | + 10. Automatic Licensing of Downstream Recipients. |
458 | + |
459 | + Each time you convey a covered work, the recipient automatically |
460 | +receives a license from the original licensors, to run, modify and |
461 | +propagate that work, subject to this License. You are not responsible |
462 | +for enforcing compliance by third parties with this License. |
463 | + |
464 | + An "entity transaction" is a transaction transferring control of an |
465 | +organization, or substantially all assets of one, or subdividing an |
466 | +organization, or merging organizations. If propagation of a covered |
467 | +work results from an entity transaction, each party to that |
468 | +transaction who receives a copy of the work also receives whatever |
469 | +licenses to the work the party's predecessor in interest had or could |
470 | +give under the previous paragraph, plus a right to possession of the |
471 | +Corresponding Source of the work from the predecessor in interest, if |
472 | +the predecessor has it or can get it with reasonable efforts. |
473 | + |
474 | + You may not impose any further restrictions on the exercise of the |
475 | +rights granted or affirmed under this License. For example, you may |
476 | +not impose a license fee, royalty, or other charge for exercise of |
477 | +rights granted under this License, and you may not initiate litigation |
478 | +(including a cross-claim or counterclaim in a lawsuit) alleging that |
479 | +any patent claim is infringed by making, using, selling, offering for |
480 | +sale, or importing the Program or any portion of it. |
481 | + |
482 | + 11. Patents. |
483 | + |
484 | + A "contributor" is a copyright holder who authorizes use under this |
485 | +License of the Program or a work on which the Program is based. The |
486 | +work thus licensed is called the contributor's "contributor version". |
487 | + |
488 | + A contributor's "essential patent claims" are all patent claims |
489 | +owned or controlled by the contributor, whether already acquired or |
490 | +hereafter acquired, that would be infringed by some manner, permitted |
491 | +by this License, of making, using, or selling its contributor version, |
492 | +but do not include claims that would be infringed only as a |
493 | +consequence of further modification of the contributor version. For |
494 | +purposes of this definition, "control" includes the right to grant |
495 | +patent sublicenses in a manner consistent with the requirements of |
496 | +this License. |
497 | + |
498 | + Each contributor grants you a non-exclusive, worldwide, royalty-free |
499 | +patent license under the contributor's essential patent claims, to |
500 | +make, use, sell, offer for sale, import and otherwise run, modify and |
501 | +propagate the contents of its contributor version. |
502 | + |
503 | + In the following three paragraphs, a "patent license" is any express |
504 | +agreement or commitment, however denominated, not to enforce a patent |
505 | +(such as an express permission to practice a patent or covenant not to |
506 | +sue for patent infringement). To "grant" such a patent license to a |
507 | +party means to make such an agreement or commitment not to enforce a |
508 | +patent against the party. |
509 | + |
510 | + If you convey a covered work, knowingly relying on a patent license, |
511 | +and the Corresponding Source of the work is not available for anyone |
512 | +to copy, free of charge and under the terms of this License, through a |
513 | +publicly available network server or other readily accessible means, |
514 | +then you must either (1) cause the Corresponding Source to be so |
515 | +available, or (2) arrange to deprive yourself of the benefit of the |
516 | +patent license for this particular work, or (3) arrange, in a manner |
517 | +consistent with the requirements of this License, to extend the patent |
518 | +license to downstream recipients. "Knowingly relying" means you have |
519 | +actual knowledge that, but for the patent license, your conveying the |
520 | +covered work in a country, or your recipient's use of the covered work |
521 | +in a country, would infringe one or more identifiable patents in that |
522 | +country that you have reason to believe are valid. |
523 | + |
524 | + If, pursuant to or in connection with a single transaction or |
525 | +arrangement, you convey, or propagate by procuring conveyance of, a |
526 | +covered work, and grant a patent license to some of the parties |
527 | +receiving the covered work authorizing them to use, propagate, modify |
528 | +or convey a specific copy of the covered work, then the patent license |
529 | +you grant is automatically extended to all recipients of the covered |
530 | +work and works based on it. |
531 | + |
532 | + A patent license is "discriminatory" if it does not include within |
533 | +the scope of its coverage, prohibits the exercise of, or is |
534 | +conditioned on the non-exercise of one or more of the rights that are |
535 | +specifically granted under this License. You may not convey a covered |
536 | +work if you are a party to an arrangement with a third party that is |
537 | +in the business of distributing software, under which you make payment |
538 | +to the third party based on the extent of your activity of conveying |
539 | +the work, and under which the third party grants, to any of the |
540 | +parties who would receive the covered work from you, a discriminatory |
541 | +patent license (a) in connection with copies of the covered work |
542 | +conveyed by you (or copies made from those copies), or (b) primarily |
543 | +for and in connection with specific products or compilations that |
544 | +contain the covered work, unless you entered into that arrangement, |
545 | +or that patent license was granted, prior to 28 March 2007. |
546 | + |
547 | + Nothing in this License shall be construed as excluding or limiting |
548 | +any implied license or other defenses to infringement that may |
549 | +otherwise be available to you under applicable patent law. |
550 | + |
551 | + 12. No Surrender of Others' Freedom. |
552 | + |
553 | + If conditions are imposed on you (whether by court order, agreement or |
554 | +otherwise) that contradict the conditions of this License, they do not |
555 | +excuse you from the conditions of this License. If you cannot convey a |
556 | +covered work so as to satisfy simultaneously your obligations under this |
557 | +License and any other pertinent obligations, then as a consequence you may |
558 | +not convey it at all. For example, if you agree to terms that obligate you |
559 | +to collect a royalty for further conveying from those to whom you convey |
560 | +the Program, the only way you could satisfy both those terms and this |
561 | +License would be to refrain entirely from conveying the Program. |
562 | + |
563 | + 13. Use with the GNU Affero General Public License. |
564 | + |
565 | + Notwithstanding any other provision of this License, you have |
566 | +permission to link or combine any covered work with a work licensed |
567 | +under version 3 of the GNU Affero General Public License into a single |
568 | +combined work, and to convey the resulting work. The terms of this |
569 | +License will continue to apply to the part which is the covered work, |
570 | +but the special requirements of the GNU Affero General Public License, |
571 | +section 13, concerning interaction through a network will apply to the |
572 | +combination as such. |
573 | + |
574 | + 14. Revised Versions of this License. |
575 | + |
576 | + The Free Software Foundation may publish revised and/or new versions of |
577 | +the GNU General Public License from time to time. Such new versions will |
578 | +be similar in spirit to the present version, but may differ in detail to |
579 | +address new problems or concerns. |
580 | + |
581 | + Each version is given a distinguishing version number. If the |
582 | +Program specifies that a certain numbered version of the GNU General |
583 | +Public License "or any later version" applies to it, you have the |
584 | +option of following the terms and conditions either of that numbered |
585 | +version or of any later version published by the Free Software |
586 | +Foundation. If the Program does not specify a version number of the |
587 | +GNU General Public License, you may choose any version ever published |
588 | +by the Free Software Foundation. |
589 | + |
590 | + If the Program specifies that a proxy can decide which future |
591 | +versions of the GNU General Public License can be used, that proxy's |
592 | +public statement of acceptance of a version permanently authorizes you |
593 | +to choose that version for the Program. |
594 | + |
595 | + Later license versions may give you additional or different |
596 | +permissions. However, no additional obligations are imposed on any |
597 | +author or copyright holder as a result of your choosing to follow a |
598 | +later version. |
599 | + |
600 | + 15. Disclaimer of Warranty. |
601 | + |
602 | + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY |
603 | +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT |
604 | +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY |
605 | +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, |
606 | +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
607 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM |
608 | +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF |
609 | +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
610 | + |
611 | + 16. Limitation of Liability. |
612 | + |
613 | + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
614 | +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS |
615 | +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY |
616 | +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE |
617 | +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF |
618 | +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD |
619 | +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), |
620 | +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
621 | +SUCH DAMAGES. |
622 | + |
623 | + 17. Interpretation of Sections 15 and 16. |
624 | + |
625 | + If the disclaimer of warranty and limitation of liability provided |
626 | +above cannot be given local legal effect according to their terms, |
627 | +reviewing courts shall apply local law that most closely approximates |
628 | +an absolute waiver of all civil liability in connection with the |
629 | +Program, unless a warranty or assumption of liability accompanies a |
630 | +copy of the Program in return for a fee. |
631 | + |
632 | + END OF TERMS AND CONDITIONS |
633 | + |
634 | + How to Apply These Terms to Your New Programs |
635 | + |
636 | + If you develop a new program, and you want it to be of the greatest |
637 | +possible use to the public, the best way to achieve this is to make it |
638 | +free software which everyone can redistribute and change under these terms. |
639 | + |
640 | + To do so, attach the following notices to the program. It is safest |
641 | +to attach them to the start of each source file to most effectively |
642 | +state the exclusion of warranty; and each file should have at least |
643 | +the "copyright" line and a pointer to where the full notice is found. |
644 | + |
645 | + <one line to give the program's name and a brief idea of what it does.> |
646 | + Copyright (C) <year> <name of author> |
647 | + |
648 | + This program is free software: you can redistribute it and/or modify |
649 | + it under the terms of the GNU General Public License as published by |
650 | + the Free Software Foundation, either version 3 of the License, or |
651 | + (at your option) any later version. |
652 | + |
653 | + This program is distributed in the hope that it will be useful, |
654 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
655 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
656 | + GNU General Public License for more details. |
657 | + |
658 | + You should have received a copy of the GNU General Public License |
659 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
660 | + |
661 | +Also add information on how to contact you by electronic and paper mail. |
662 | + |
663 | + If the program does terminal interaction, make it output a short |
664 | +notice like this when it starts in an interactive mode: |
665 | + |
666 | + <program> Copyright (C) <year> <name of author> |
667 | + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
668 | + This is free software, and you are welcome to redistribute it |
669 | + under certain conditions; type `show c' for details. |
670 | + |
671 | +The hypothetical commands `show w' and `show c' should show the appropriate |
672 | +parts of the General Public License. Of course, your program's commands |
673 | +might be different; for a GUI interface, you would use an "about box". |
674 | + |
675 | + You should also get your employer (if you work as a programmer) or school, |
676 | +if any, to sign a "copyright disclaimer" for the program, if necessary. |
677 | +For more information on this, and how to apply and follow the GNU GPL, see |
678 | +<http://www.gnu.org/licenses/>. |
679 | + |
680 | + The GNU General Public License does not permit incorporating your program |
681 | +into proprietary programs. If your program is a subroutine library, you |
682 | +may consider it more useful to permit linking proprietary applications with |
683 | +the library. If this is what you want to do, use the GNU Lesser General |
684 | +Public License instead of this License. But first, please read |
685 | +<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
686 | |
687 | === renamed file 'COPYING' => 'COPYING.moved' |
688 | === added file 'ChangeLog' |
689 | --- ChangeLog 1970-01-01 00:00:00 +0000 |
690 | +++ ChangeLog 2012-03-02 04:18:19 +0000 |
691 | @@ -0,0 +1,1 @@ |
692 | +See bzr+ssh://bazaar.launchpad.net/+branch/lightdm for the revision history |
693 | |
694 | === renamed file 'ChangeLog' => 'ChangeLog.moved' |
695 | === added file 'INSTALL' |
696 | --- INSTALL 1970-01-01 00:00:00 +0000 |
697 | +++ INSTALL 2012-03-02 04:18:19 +0000 |
698 | @@ -0,0 +1,365 @@ |
699 | +Installation Instructions |
700 | +************************* |
701 | + |
702 | +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
703 | +2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
704 | + |
705 | + Copying and distribution of this file, with or without modification, |
706 | +are permitted in any medium without royalty provided the copyright |
707 | +notice and this notice are preserved. This file is offered as-is, |
708 | +without warranty of any kind. |
709 | + |
710 | +Basic Installation |
711 | +================== |
712 | + |
713 | + Briefly, the shell commands `./configure; make; make install' should |
714 | +configure, build, and install this package. The following |
715 | +more-detailed instructions are generic; see the `README' file for |
716 | +instructions specific to this package. Some packages provide this |
717 | +`INSTALL' file but do not implement all of the features documented |
718 | +below. The lack of an optional feature in a given package is not |
719 | +necessarily a bug. More recommendations for GNU packages can be found |
720 | +in *note Makefile Conventions: (standards)Makefile Conventions. |
721 | + |
722 | + The `configure' shell script attempts to guess correct values for |
723 | +various system-dependent variables used during compilation. It uses |
724 | +those values to create a `Makefile' in each directory of the package. |
725 | +It may also create one or more `.h' files containing system-dependent |
726 | +definitions. Finally, it creates a shell script `config.status' that |
727 | +you can run in the future to recreate the current configuration, and a |
728 | +file `config.log' containing compiler output (useful mainly for |
729 | +debugging `configure'). |
730 | + |
731 | + It can also use an optional file (typically called `config.cache' |
732 | +and enabled with `--cache-file=config.cache' or simply `-C') that saves |
733 | +the results of its tests to speed up reconfiguring. Caching is |
734 | +disabled by default to prevent problems with accidental use of stale |
735 | +cache files. |
736 | + |
737 | + If you need to do unusual things to compile the package, please try |
738 | +to figure out how `configure' could check whether to do them, and mail |
739 | +diffs or instructions to the address given in the `README' so they can |
740 | +be considered for the next release. If you are using the cache, and at |
741 | +some point `config.cache' contains results you don't want to keep, you |
742 | +may remove or edit it. |
743 | + |
744 | + The file `configure.ac' (or `configure.in') is used to create |
745 | +`configure' by a program called `autoconf'. You need `configure.ac' if |
746 | +you want to change it or regenerate `configure' using a newer version |
747 | +of `autoconf'. |
748 | + |
749 | + The simplest way to compile this package is: |
750 | + |
751 | + 1. `cd' to the directory containing the package's source code and type |
752 | + `./configure' to configure the package for your system. |
753 | + |
754 | + Running `configure' might take a while. While running, it prints |
755 | + some messages telling which features it is checking for. |
756 | + |
757 | + 2. Type `make' to compile the package. |
758 | + |
759 | + 3. Optionally, type `make check' to run any self-tests that come with |
760 | + the package, generally using the just-built uninstalled binaries. |
761 | + |
762 | + 4. Type `make install' to install the programs and any data files and |
763 | + documentation. When installing into a prefix owned by root, it is |
764 | + recommended that the package be configured and built as a regular |
765 | + user, and only the `make install' phase executed with root |
766 | + privileges. |
767 | + |
768 | + 5. Optionally, type `make installcheck' to repeat any self-tests, but |
769 | + this time using the binaries in their final installed location. |
770 | + This target does not install anything. Running this target as a |
771 | + regular user, particularly if the prior `make install' required |
772 | + root privileges, verifies that the installation completed |
773 | + correctly. |
774 | + |
775 | + 6. You can remove the program binaries and object files from the |
776 | + source code directory by typing `make clean'. To also remove the |
777 | + files that `configure' created (so you can compile the package for |
778 | + a different kind of computer), type `make distclean'. There is |
779 | + also a `make maintainer-clean' target, but that is intended mainly |
780 | + for the package's developers. If you use it, you may have to get |
781 | + all sorts of other programs in order to regenerate files that came |
782 | + with the distribution. |
783 | + |
784 | + 7. Often, you can also type `make uninstall' to remove the installed |
785 | + files again. In practice, not all packages have tested that |
786 | + uninstallation works correctly, even though it is required by the |
787 | + GNU Coding Standards. |
788 | + |
789 | + 8. Some packages, particularly those that use Automake, provide `make |
790 | + distcheck', which can by used by developers to test that all other |
791 | + targets like `make install' and `make uninstall' work correctly. |
792 | + This target is generally not run by end users. |
793 | + |
794 | +Compilers and Options |
795 | +===================== |
796 | + |
797 | + Some systems require unusual options for compilation or linking that |
798 | +the `configure' script does not know about. Run `./configure --help' |
799 | +for details on some of the pertinent environment variables. |
800 | + |
801 | + You can give `configure' initial values for configuration parameters |
802 | +by setting variables in the command line or in the environment. Here |
803 | +is an example: |
804 | + |
805 | + ./configure CC=c99 CFLAGS=-g LIBS=-lposix |
806 | + |
807 | + *Note Defining Variables::, for more details. |
808 | + |
809 | +Compiling For Multiple Architectures |
810 | +==================================== |
811 | + |
812 | + You can compile the package for more than one kind of computer at the |
813 | +same time, by placing the object files for each architecture in their |
814 | +own directory. To do this, you can use GNU `make'. `cd' to the |
815 | +directory where you want the object files and executables to go and run |
816 | +the `configure' script. `configure' automatically checks for the |
817 | +source code in the directory that `configure' is in and in `..'. This |
818 | +is known as a "VPATH" build. |
819 | + |
820 | + With a non-GNU `make', it is safer to compile the package for one |
821 | +architecture at a time in the source code directory. After you have |
822 | +installed the package for one architecture, use `make distclean' before |
823 | +reconfiguring for another architecture. |
824 | + |
825 | + On MacOS X 10.5 and later systems, you can create libraries and |
826 | +executables that work on multiple system types--known as "fat" or |
827 | +"universal" binaries--by specifying multiple `-arch' options to the |
828 | +compiler but only a single `-arch' option to the preprocessor. Like |
829 | +this: |
830 | + |
831 | + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
832 | + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
833 | + CPP="gcc -E" CXXCPP="g++ -E" |
834 | + |
835 | + This is not guaranteed to produce working output in all cases, you |
836 | +may have to build one architecture at a time and combine the results |
837 | +using the `lipo' tool if you have problems. |
838 | + |
839 | +Installation Names |
840 | +================== |
841 | + |
842 | + By default, `make install' installs the package's commands under |
843 | +`/usr/local/bin', include files under `/usr/local/include', etc. You |
844 | +can specify an installation prefix other than `/usr/local' by giving |
845 | +`configure' the option `--prefix=PREFIX', where PREFIX must be an |
846 | +absolute file name. |
847 | + |
848 | + You can specify separate installation prefixes for |
849 | +architecture-specific files and architecture-independent files. If you |
850 | +pass the option `--exec-prefix=PREFIX' to `configure', the package uses |
851 | +PREFIX as the prefix for installing programs and libraries. |
852 | +Documentation and other data files still use the regular prefix. |
853 | + |
854 | + In addition, if you use an unusual directory layout you can give |
855 | +options like `--bindir=DIR' to specify different values for particular |
856 | +kinds of files. Run `configure --help' for a list of the directories |
857 | +you can set and what kinds of files go in them. In general, the |
858 | +default for these options is expressed in terms of `${prefix}', so that |
859 | +specifying just `--prefix' will affect all of the other directory |
860 | +specifications that were not explicitly provided. |
861 | + |
862 | + The most portable way to affect installation locations is to pass the |
863 | +correct locations to `configure'; however, many packages provide one or |
864 | +both of the following shortcuts of passing variable assignments to the |
865 | +`make install' command line to change installation locations without |
866 | +having to reconfigure or recompile. |
867 | + |
868 | + The first method involves providing an override variable for each |
869 | +affected directory. For example, `make install |
870 | +prefix=/alternate/directory' will choose an alternate location for all |
871 | +directory configuration variables that were expressed in terms of |
872 | +`${prefix}'. Any directories that were specified during `configure', |
873 | +but not in terms of `${prefix}', must each be overridden at install |
874 | +time for the entire installation to be relocated. The approach of |
875 | +makefile variable overrides for each directory variable is required by |
876 | +the GNU Coding Standards, and ideally causes no recompilation. |
877 | +However, some platforms have known limitations with the semantics of |
878 | +shared libraries that end up requiring recompilation when using this |
879 | +method, particularly noticeable in packages that use GNU Libtool. |
880 | + |
881 | + The second method involves providing the `DESTDIR' variable. For |
882 | +example, `make install DESTDIR=/alternate/directory' will prepend |
883 | +`/alternate/directory' before all installation names. The approach of |
884 | +`DESTDIR' overrides is not required by the GNU Coding Standards, and |
885 | +does not work on platforms that have drive letters. On the other hand, |
886 | +it does better at avoiding recompilation issues, and works well even |
887 | +when some directory options were not specified in terms of `${prefix}' |
888 | +at `configure' time. |
889 | + |
890 | +Optional Features |
891 | +================= |
892 | + |
893 | + If the package supports it, you can cause programs to be installed |
894 | +with an extra prefix or suffix on their names by giving `configure' the |
895 | +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
896 | + |
897 | + Some packages pay attention to `--enable-FEATURE' options to |
898 | +`configure', where FEATURE indicates an optional part of the package. |
899 | +They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
900 | +is something like `gnu-as' or `x' (for the X Window System). The |
901 | +`README' should mention any `--enable-' and `--with-' options that the |
902 | +package recognizes. |
903 | + |
904 | + For packages that use the X Window System, `configure' can usually |
905 | +find the X include and library files automatically, but if it doesn't, |
906 | +you can use the `configure' options `--x-includes=DIR' and |
907 | +`--x-libraries=DIR' to specify their locations. |
908 | + |
909 | + Some packages offer the ability to configure how verbose the |
910 | +execution of `make' will be. For these packages, running `./configure |
911 | +--enable-silent-rules' sets the default to minimal output, which can be |
912 | +overridden with `make V=1'; while running `./configure |
913 | +--disable-silent-rules' sets the default to verbose, which can be |
914 | +overridden with `make V=0'. |
915 | + |
916 | +Particular systems |
917 | +================== |
918 | + |
919 | + On HP-UX, the default C compiler is not ANSI C compatible. If GNU |
920 | +CC is not installed, it is recommended to use the following options in |
921 | +order to use an ANSI C compiler: |
922 | + |
923 | + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
924 | + |
925 | +and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
926 | + |
927 | + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
928 | +parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
929 | +a workaround. If GNU CC is not installed, it is therefore recommended |
930 | +to try |
931 | + |
932 | + ./configure CC="cc" |
933 | + |
934 | +and if that doesn't work, try |
935 | + |
936 | + ./configure CC="cc -nodtk" |
937 | + |
938 | + On Solaris, don't put `/usr/ucb' early in your `PATH'. This |
939 | +directory contains several dysfunctional programs; working variants of |
940 | +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' |
941 | +in your `PATH', put it _after_ `/usr/bin'. |
942 | + |
943 | + On Haiku, software installed for all users goes in `/boot/common', |
944 | +not `/usr/local'. It is recommended to use the following options: |
945 | + |
946 | + ./configure --prefix=/boot/common |
947 | + |
948 | +Specifying the System Type |
949 | +========================== |
950 | + |
951 | + There may be some features `configure' cannot figure out |
952 | +automatically, but needs to determine by the type of machine the package |
953 | +will run on. Usually, assuming the package is built to be run on the |
954 | +_same_ architectures, `configure' can figure that out, but if it prints |
955 | +a message saying it cannot guess the machine type, give it the |
956 | +`--build=TYPE' option. TYPE can either be a short name for the system |
957 | +type, such as `sun4', or a canonical name which has the form: |
958 | + |
959 | + CPU-COMPANY-SYSTEM |
960 | + |
961 | +where SYSTEM can have one of these forms: |
962 | + |
963 | + OS |
964 | + KERNEL-OS |
965 | + |
966 | + See the file `config.sub' for the possible values of each field. If |
967 | +`config.sub' isn't included in this package, then this package doesn't |
968 | +need to know the machine type. |
969 | + |
970 | + If you are _building_ compiler tools for cross-compiling, you should |
971 | +use the option `--target=TYPE' to select the type of system they will |
972 | +produce code for. |
973 | + |
974 | + If you want to _use_ a cross compiler, that generates code for a |
975 | +platform different from the build platform, you should specify the |
976 | +"host" platform (i.e., that on which the generated programs will |
977 | +eventually be run) with `--host=TYPE'. |
978 | + |
979 | +Sharing Defaults |
980 | +================ |
981 | + |
982 | + If you want to set default values for `configure' scripts to share, |
983 | +you can create a site shell script called `config.site' that gives |
984 | +default values for variables like `CC', `cache_file', and `prefix'. |
985 | +`configure' looks for `PREFIX/share/config.site' if it exists, then |
986 | +`PREFIX/etc/config.site' if it exists. Or, you can set the |
987 | +`CONFIG_SITE' environment variable to the location of the site script. |
988 | +A warning: not all `configure' scripts look for a site script. |
989 | + |
990 | +Defining Variables |
991 | +================== |
992 | + |
993 | + Variables not defined in a site shell script can be set in the |
994 | +environment passed to `configure'. However, some packages may run |
995 | +configure again during the build, and the customized values of these |
996 | +variables may be lost. In order to avoid this problem, you should set |
997 | +them in the `configure' command line, using `VAR=value'. For example: |
998 | + |
999 | + ./configure CC=/usr/local2/bin/gcc |
1000 | + |
1001 | +causes the specified `gcc' to be used as the C compiler (unless it is |
1002 | +overridden in the site shell script). |
1003 | + |
1004 | +Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
1005 | +an Autoconf bug. Until the bug is fixed you can use this workaround: |
1006 | + |
1007 | + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash |
1008 | + |
1009 | +`configure' Invocation |
1010 | +====================== |
1011 | + |
1012 | + `configure' recognizes the following options to control how it |
1013 | +operates. |
1014 | + |
1015 | +`--help' |
1016 | +`-h' |
1017 | + Print a summary of all of the options to `configure', and exit. |
1018 | + |
1019 | +`--help=short' |
1020 | +`--help=recursive' |
1021 | + Print a summary of the options unique to this package's |
1022 | + `configure', and exit. The `short' variant lists options used |
1023 | + only in the top level, while the `recursive' variant lists options |
1024 | + also present in any nested packages. |
1025 | + |
1026 | +`--version' |
1027 | +`-V' |
1028 | + Print the version of Autoconf used to generate the `configure' |
1029 | + script, and exit. |
1030 | + |
1031 | +`--cache-file=FILE' |
1032 | + Enable the cache: use and save the results of the tests in FILE, |
1033 | + traditionally `config.cache'. FILE defaults to `/dev/null' to |
1034 | + disable caching. |
1035 | + |
1036 | +`--config-cache' |
1037 | +`-C' |
1038 | + Alias for `--cache-file=config.cache'. |
1039 | + |
1040 | +`--quiet' |
1041 | +`--silent' |
1042 | +`-q' |
1043 | + Do not print messages saying which checks are being made. To |
1044 | + suppress all normal output, redirect it to `/dev/null' (any error |
1045 | + messages will still be shown). |
1046 | + |
1047 | +`--srcdir=DIR' |
1048 | + Look for the package's source code in directory DIR. Usually |
1049 | + `configure' can determine that directory automatically. |
1050 | + |
1051 | +`--prefix=DIR' |
1052 | + Use DIR as the installation prefix. *note Installation Names:: |
1053 | + for more details, including other options available for fine-tuning |
1054 | + the installation locations. |
1055 | + |
1056 | +`--no-create' |
1057 | +`-n' |
1058 | + Run the configure checks, but stop before creating any output |
1059 | + files. |
1060 | + |
1061 | +`configure' also accepts some other, not widely useful, options. Run |
1062 | +`configure --help' for more details. |
1063 | + |
1064 | |
1065 | === added file 'Makefile.am' |
1066 | --- Makefile.am 1970-01-01 00:00:00 +0000 |
1067 | +++ Makefile.am 2012-03-02 04:18:19 +0000 |
1068 | @@ -0,0 +1,32 @@ |
1069 | +SUBDIRS = |
1070 | +if COMPILE_LIBLIGHTDM_GOBJECT |
1071 | +SUBDIRS += liblightdm-gobject |
1072 | +endif |
1073 | +if COMPILE_LIBLIGHTDM_QT |
1074 | +SUBDIRS += liblightdm-qt |
1075 | +endif |
1076 | +if COMPILE_TESTS |
1077 | +SUBDIRS += tests |
1078 | +endif |
1079 | +SUBDIRS += data po src doc utils |
1080 | + |
1081 | +DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc |
1082 | + |
1083 | +EXTRA_DIST = \ |
1084 | + autogen.sh \ |
1085 | + lightdm.doap |
1086 | + |
1087 | +DISTCLEANFILES = \ |
1088 | + Makefile.in \ |
1089 | + aclocal.m4 \ |
1090 | + configure \ |
1091 | + config.h.in \ |
1092 | + config.h \ |
1093 | + depcomp \ |
1094 | + gtk-doc.make \ |
1095 | + install-sh \ |
1096 | + missing \ |
1097 | + mkinstalldirs \ |
1098 | + omf.make \ |
1099 | + xmldocs.make \ |
1100 | + po/Makefile.in.in |
1101 | |
1102 | === renamed file 'Makefile.am' => 'Makefile.am.moved' |
1103 | === added file 'Makefile.in' |
1104 | --- Makefile.in 1970-01-01 00:00:00 +0000 |
1105 | +++ Makefile.in 2012-03-02 04:18:19 +0000 |
1106 | @@ -0,0 +1,839 @@ |
1107 | +# Makefile.in generated by automake 1.11.3 from Makefile.am. |
1108 | +# @configure_input@ |
1109 | + |
1110 | +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
1111 | +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
1112 | +# Foundation, Inc. |
1113 | +# This Makefile.in is free software; the Free Software Foundation |
1114 | +# gives unlimited permission to copy and/or distribute it, |
1115 | +# with or without modifications, as long as this notice is preserved. |
1116 | + |
1117 | +# This program is distributed in the hope that it will be useful, |
1118 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
1119 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
1120 | +# PARTICULAR PURPOSE. |
1121 | + |
1122 | +@SET_MAKE@ |
1123 | +VPATH = @srcdir@ |
1124 | +pkgdatadir = $(datadir)/@PACKAGE@ |
1125 | +pkgincludedir = $(includedir)/@PACKAGE@ |
1126 | +pkglibdir = $(libdir)/@PACKAGE@ |
1127 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
1128 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
1129 | +install_sh_DATA = $(install_sh) -c -m 644 |
1130 | +install_sh_PROGRAM = $(install_sh) -c |
1131 | +install_sh_SCRIPT = $(install_sh) -c |
1132 | +INSTALL_HEADER = $(INSTALL_DATA) |
1133 | +transform = $(program_transform_name) |
1134 | +NORMAL_INSTALL = : |
1135 | +PRE_INSTALL = : |
1136 | +POST_INSTALL = : |
1137 | +NORMAL_UNINSTALL = : |
1138 | +PRE_UNINSTALL = : |
1139 | +POST_UNINSTALL = : |
1140 | +build_triplet = @build@ |
1141 | +host_triplet = @host@ |
1142 | +@COMPILE_LIBLIGHTDM_GOBJECT_TRUE@am__append_1 = liblightdm-gobject |
1143 | +@COMPILE_LIBLIGHTDM_QT_TRUE@am__append_2 = liblightdm-qt |
1144 | +@COMPILE_TESTS_TRUE@am__append_3 = tests |
1145 | +subdir = . |
1146 | +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
1147 | + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
1148 | + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
1149 | + TODO compile config.guess config.sub depcomp install-sh \ |
1150 | + ltmain.sh missing |
1151 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
1152 | +am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \ |
1153 | + $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/introspection.m4 \ |
1154 | + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1155 | + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ |
1156 | + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac |
1157 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
1158 | + $(ACLOCAL_M4) |
1159 | +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
1160 | + configure.lineno config.status.lineno |
1161 | +mkinstalldirs = $(install_sh) -d |
1162 | +CONFIG_HEADER = config.h |
1163 | +CONFIG_CLEAN_FILES = |
1164 | +CONFIG_CLEAN_VPATH_FILES = |
1165 | +AM_V_GEN = $(am__v_GEN_@AM_V@) |
1166 | +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
1167 | +am__v_GEN_0 = @echo " GEN " $@; |
1168 | +AM_V_at = $(am__v_at_@AM_V@) |
1169 | +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
1170 | +am__v_at_0 = @ |
1171 | +SOURCES = |
1172 | +DIST_SOURCES = |
1173 | +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
1174 | + html-recursive info-recursive install-data-recursive \ |
1175 | + install-dvi-recursive install-exec-recursive \ |
1176 | + install-html-recursive install-info-recursive \ |
1177 | + install-pdf-recursive install-ps-recursive install-recursive \ |
1178 | + installcheck-recursive installdirs-recursive pdf-recursive \ |
1179 | + ps-recursive uninstall-recursive |
1180 | +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
1181 | + distclean-recursive maintainer-clean-recursive |
1182 | +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
1183 | + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
1184 | + distdir dist dist-all distcheck |
1185 | +ETAGS = etags |
1186 | +CTAGS = ctags |
1187 | +DIST_SUBDIRS = liblightdm-gobject liblightdm-qt tests data po src doc \ |
1188 | + utils |
1189 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1190 | +distdir = $(PACKAGE)-$(VERSION) |
1191 | +top_distdir = $(distdir) |
1192 | +am__remove_distdir = \ |
1193 | + if test -d "$(distdir)"; then \ |
1194 | + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
1195 | + && rm -rf "$(distdir)" \ |
1196 | + || { sleep 5 && rm -rf "$(distdir)"; }; \ |
1197 | + else :; fi |
1198 | +am__relativize = \ |
1199 | + dir0=`pwd`; \ |
1200 | + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
1201 | + sed_rest='s,^[^/]*/*,,'; \ |
1202 | + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
1203 | + sed_butlast='s,/*[^/]*$$,,'; \ |
1204 | + while test -n "$$dir1"; do \ |
1205 | + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
1206 | + if test "$$first" != "."; then \ |
1207 | + if test "$$first" = ".."; then \ |
1208 | + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
1209 | + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
1210 | + else \ |
1211 | + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
1212 | + if test "$$first2" = "$$first"; then \ |
1213 | + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
1214 | + else \ |
1215 | + dir2="../$$dir2"; \ |
1216 | + fi; \ |
1217 | + dir0="$$dir0"/"$$first"; \ |
1218 | + fi; \ |
1219 | + fi; \ |
1220 | + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
1221 | + done; \ |
1222 | + reldir="$$dir2" |
1223 | +DIST_ARCHIVES = $(distdir).tar.gz |
1224 | +GZIP_ENV = --best |
1225 | +distuninstallcheck_listfiles = find . -type f -print |
1226 | +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
1227 | + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
1228 | +distcleancheck_listfiles = find . -type f -print |
1229 | +ACLOCAL = @ACLOCAL@ |
1230 | +ALL_LINGUAS = @ALL_LINGUAS@ |
1231 | +AMTAR = @AMTAR@ |
1232 | +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
1233 | +AR = @AR@ |
1234 | +AUTOCONF = @AUTOCONF@ |
1235 | +AUTOHEADER = @AUTOHEADER@ |
1236 | +AUTOMAKE = @AUTOMAKE@ |
1237 | +AWK = @AWK@ |
1238 | +CC = @CC@ |
1239 | +CCDEPMODE = @CCDEPMODE@ |
1240 | +CFLAGS = @CFLAGS@ |
1241 | +CPP = @CPP@ |
1242 | +CPPFLAGS = @CPPFLAGS@ |
1243 | +CXX = @CXX@ |
1244 | +CXXCPP = @CXXCPP@ |
1245 | +CXXDEPMODE = @CXXDEPMODE@ |
1246 | +CXXFLAGS = @CXXFLAGS@ |
1247 | +CYGPATH_W = @CYGPATH_W@ |
1248 | +DATADIRNAME = @DATADIRNAME@ |
1249 | +DEFS = @DEFS@ |
1250 | +DEPDIR = @DEPDIR@ |
1251 | +DLLTOOL = @DLLTOOL@ |
1252 | +DSYMUTIL = @DSYMUTIL@ |
1253 | +DUMPBIN = @DUMPBIN@ |
1254 | +ECHO_C = @ECHO_C@ |
1255 | +ECHO_N = @ECHO_N@ |
1256 | +ECHO_T = @ECHO_T@ |
1257 | +EGREP = @EGREP@ |
1258 | +EXEEXT = @EXEEXT@ |
1259 | +FGREP = @FGREP@ |
1260 | +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
1261 | +GIO_CFLAGS = @GIO_CFLAGS@ |
1262 | +GIO_LIBS = @GIO_LIBS@ |
1263 | +GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@ |
1264 | +GIO_UNIX_LIBS = @GIO_UNIX_LIBS@ |
1265 | +GLIB_CFLAGS = @GLIB_CFLAGS@ |
1266 | +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ |
1267 | +GLIB_LIBS = @GLIB_LIBS@ |
1268 | +GMSGFMT = @GMSGFMT@ |
1269 | +GOBJECT_CFLAGS = @GOBJECT_CFLAGS@ |
1270 | +GOBJECT_LIBS = @GOBJECT_LIBS@ |
1271 | +GREETER_SESSION = @GREETER_SESSION@ |
1272 | +GREETER_USER = @GREETER_USER@ |
1273 | +GREP = @GREP@ |
1274 | +GTKDOC_CHECK = @GTKDOC_CHECK@ |
1275 | +GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ |
1276 | +GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ |
1277 | +GTKDOC_MKPDF = @GTKDOC_MKPDF@ |
1278 | +GTKDOC_REBASE = @GTKDOC_REBASE@ |
1279 | +HTML_DIR = @HTML_DIR@ |
1280 | +INSTALL = @INSTALL@ |
1281 | +INSTALL_DATA = @INSTALL_DATA@ |
1282 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
1283 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
1284 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
1285 | +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ |
1286 | +INTLTOOL_MERGE = @INTLTOOL_MERGE@ |
1287 | +INTLTOOL_PERL = @INTLTOOL_PERL@ |
1288 | +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ |
1289 | +INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ |
1290 | +INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ |
1291 | +INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ |
1292 | +INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ |
1293 | +INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ |
1294 | +INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ |
1295 | +INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ |
1296 | +INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ |
1297 | +INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ |
1298 | +INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ |
1299 | +INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ |
1300 | +INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ |
1301 | +LD = @LD@ |
1302 | +LDFLAGS = @LDFLAGS@ |
1303 | +LIBLIGHTDM_GOBJECT_CFLAGS = @LIBLIGHTDM_GOBJECT_CFLAGS@ |
1304 | +LIBLIGHTDM_GOBJECT_LIBS = @LIBLIGHTDM_GOBJECT_LIBS@ |
1305 | +LIBLIGHTDM_QT_CFLAGS = @LIBLIGHTDM_QT_CFLAGS@ |
1306 | +LIBLIGHTDM_QT_LIBS = @LIBLIGHTDM_QT_LIBS@ |
1307 | +LIBOBJS = @LIBOBJS@ |
1308 | +LIBS = @LIBS@ |
1309 | +LIBTOOL = @LIBTOOL@ |
1310 | +LIGHTDM_CFLAGS = @LIGHTDM_CFLAGS@ |
1311 | +LIGHTDM_LIBS = @LIGHTDM_LIBS@ |
1312 | +LIPO = @LIPO@ |
1313 | +LN_S = @LN_S@ |
1314 | +LTLIBOBJS = @LTLIBOBJS@ |
1315 | +MAINT = @MAINT@ |
1316 | +MAKEINFO = @MAKEINFO@ |
1317 | +MANIFEST_TOOL = @MANIFEST_TOOL@ |
1318 | +MKDIR_P = @MKDIR_P@ |
1319 | +MOC = @MOC@ |
1320 | +MSGFMT = @MSGFMT@ |
1321 | +MSGMERGE = @MSGMERGE@ |
1322 | +NM = @NM@ |
1323 | +NMEDIT = @NMEDIT@ |
1324 | +OBJDUMP = @OBJDUMP@ |
1325 | +OBJEXT = @OBJEXT@ |
1326 | +OTOOL = @OTOOL@ |
1327 | +OTOOL64 = @OTOOL64@ |
1328 | +PACKAGE = @PACKAGE@ |
1329 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
1330 | +PACKAGE_NAME = @PACKAGE_NAME@ |
1331 | +PACKAGE_STRING = @PACKAGE_STRING@ |
1332 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1333 | +PACKAGE_URL = @PACKAGE_URL@ |
1334 | +PACKAGE_VERSION = @PACKAGE_VERSION@ |
1335 | +PATH_SEPARATOR = @PATH_SEPARATOR@ |
1336 | +PKG_CONFIG = @PKG_CONFIG@ |
1337 | +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
1338 | +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
1339 | +RANLIB = @RANLIB@ |
1340 | +SED = @SED@ |
1341 | +SET_MAKE = @SET_MAKE@ |
1342 | +SHELL = @SHELL@ |
1343 | +STRIP = @STRIP@ |
1344 | +USER_SESSION = @USER_SESSION@ |
1345 | +USE_NLS = @USE_NLS@ |
1346 | +VERSION = @VERSION@ |
1347 | +WARN_CFLAGS = @WARN_CFLAGS@ |
1348 | +XCB_CFLAGS = @XCB_CFLAGS@ |
1349 | +XCB_LIBS = @XCB_LIBS@ |
1350 | +XGETTEXT = @XGETTEXT@ |
1351 | +abs_builddir = @abs_builddir@ |
1352 | +abs_srcdir = @abs_srcdir@ |
1353 | +abs_top_builddir = @abs_top_builddir@ |
1354 | +abs_top_srcdir = @abs_top_srcdir@ |
1355 | +ac_ct_AR = @ac_ct_AR@ |
1356 | +ac_ct_CC = @ac_ct_CC@ |
1357 | +ac_ct_CXX = @ac_ct_CXX@ |
1358 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
1359 | +ac_ct_MOC = @ac_ct_MOC@ |
1360 | +am__include = @am__include@ |
1361 | +am__leading_dot = @am__leading_dot@ |
1362 | +am__quote = @am__quote@ |
1363 | +am__tar = @am__tar@ |
1364 | +am__untar = @am__untar@ |
1365 | +bindir = @bindir@ |
1366 | +build = @build@ |
1367 | +build_alias = @build_alias@ |
1368 | +build_cpu = @build_cpu@ |
1369 | +build_os = @build_os@ |
1370 | +build_vendor = @build_vendor@ |
1371 | +builddir = @builddir@ |
1372 | +datadir = @datadir@ |
1373 | +datarootdir = @datarootdir@ |
1374 | +docdir = @docdir@ |
1375 | +dvidir = @dvidir@ |
1376 | +exec_prefix = @exec_prefix@ |
1377 | +host = @host@ |
1378 | +host_alias = @host_alias@ |
1379 | +host_cpu = @host_cpu@ |
1380 | +host_os = @host_os@ |
1381 | +host_vendor = @host_vendor@ |
1382 | +htmldir = @htmldir@ |
1383 | +includedir = @includedir@ |
1384 | +infodir = @infodir@ |
1385 | +install_sh = @install_sh@ |
1386 | +intltool__v_merge_options_ = @intltool__v_merge_options_@ |
1387 | +intltool__v_merge_options_0 = @intltool__v_merge_options_0@ |
1388 | +libdir = @libdir@ |
1389 | +libexecdir = @libexecdir@ |
1390 | +localedir = @localedir@ |
1391 | +localstatedir = @localstatedir@ |
1392 | +mandir = @mandir@ |
1393 | +mkdir_p = @mkdir_p@ |
1394 | +oldincludedir = @oldincludedir@ |
1395 | +pdfdir = @pdfdir@ |
1396 | +prefix = @prefix@ |
1397 | +program_transform_name = @program_transform_name@ |
1398 | +psdir = @psdir@ |
1399 | +sbindir = @sbindir@ |
1400 | +sharedstatedir = @sharedstatedir@ |
1401 | +srcdir = @srcdir@ |
1402 | +sysconfdir = @sysconfdir@ |
1403 | +target_alias = @target_alias@ |
1404 | +top_build_prefix = @top_build_prefix@ |
1405 | +top_builddir = @top_builddir@ |
1406 | +top_srcdir = @top_srcdir@ |
1407 | +SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) data po src \ |
1408 | + doc utils |
1409 | +DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc |
1410 | +EXTRA_DIST = \ |
1411 | + autogen.sh \ |
1412 | + lightdm.doap |
1413 | + |
1414 | +DISTCLEANFILES = \ |
1415 | + Makefile.in \ |
1416 | + aclocal.m4 \ |
1417 | + configure \ |
1418 | + config.h.in \ |
1419 | + config.h \ |
1420 | + depcomp \ |
1421 | + gtk-doc.make \ |
1422 | + install-sh \ |
1423 | + missing \ |
1424 | + mkinstalldirs \ |
1425 | + omf.make \ |
1426 | + xmldocs.make \ |
1427 | + po/Makefile.in.in |
1428 | + |
1429 | +all: config.h |
1430 | + $(MAKE) $(AM_MAKEFLAGS) all-recursive |
1431 | + |
1432 | +.SUFFIXES: |
1433 | +am--refresh: Makefile |
1434 | + @: |
1435 | +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
1436 | + @for dep in $?; do \ |
1437 | + case '$(am__configure_deps)' in \ |
1438 | + *$$dep*) \ |
1439 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
1440 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
1441 | + && exit 0; \ |
1442 | + exit 1;; \ |
1443 | + esac; \ |
1444 | + done; \ |
1445 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
1446 | + $(am__cd) $(top_srcdir) && \ |
1447 | + $(AUTOMAKE) --gnu Makefile |
1448 | +.PRECIOUS: Makefile |
1449 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
1450 | + @case '$?' in \ |
1451 | + *config.status*) \ |
1452 | + echo ' $(SHELL) ./config.status'; \ |
1453 | + $(SHELL) ./config.status;; \ |
1454 | + *) \ |
1455 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
1456 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
1457 | + esac; |
1458 | + |
1459 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1460 | + $(SHELL) ./config.status --recheck |
1461 | + |
1462 | +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
1463 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
1464 | +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
1465 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
1466 | +$(am__aclocal_m4_deps): |
1467 | + |
1468 | +config.h: stamp-h1 |
1469 | + @if test ! -f $@; then rm -f stamp-h1; else :; fi |
1470 | + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi |
1471 | + |
1472 | +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
1473 | + @rm -f stamp-h1 |
1474 | + cd $(top_builddir) && $(SHELL) ./config.status config.h |
1475 | +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
1476 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
1477 | + rm -f stamp-h1 |
1478 | + touch $@ |
1479 | + |
1480 | +distclean-hdr: |
1481 | + -rm -f config.h stamp-h1 |
1482 | + |
1483 | +mostlyclean-libtool: |
1484 | + -rm -f *.lo |
1485 | + |
1486 | +clean-libtool: |
1487 | + -rm -rf .libs _libs |
1488 | + |
1489 | +distclean-libtool: |
1490 | + -rm -f libtool config.lt |
1491 | + |
1492 | +# This directory's subdirectories are mostly independent; you can cd |
1493 | +# into them and run `make' without going through this Makefile. |
1494 | +# To change the values of `make' variables: instead of editing Makefiles, |
1495 | +# (1) if the variable is set in `config.status', edit `config.status' |
1496 | +# (which will cause the Makefiles to be regenerated when you run `make'); |
1497 | +# (2) otherwise, pass the desired values on the `make' command line. |
1498 | +$(RECURSIVE_TARGETS): |
1499 | + @fail= failcom='exit 1'; \ |
1500 | + for f in x $$MAKEFLAGS; do \ |
1501 | + case $$f in \ |
1502 | + *=* | --[!k]*);; \ |
1503 | + *k*) failcom='fail=yes';; \ |
1504 | + esac; \ |
1505 | + done; \ |
1506 | + dot_seen=no; \ |
1507 | + target=`echo $@ | sed s/-recursive//`; \ |
1508 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
1509 | + echo "Making $$target in $$subdir"; \ |
1510 | + if test "$$subdir" = "."; then \ |
1511 | + dot_seen=yes; \ |
1512 | + local_target="$$target-am"; \ |
1513 | + else \ |
1514 | + local_target="$$target"; \ |
1515 | + fi; \ |
1516 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
1517 | + || eval $$failcom; \ |
1518 | + done; \ |
1519 | + if test "$$dot_seen" = "no"; then \ |
1520 | + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
1521 | + fi; test -z "$$fail" |
1522 | + |
1523 | +$(RECURSIVE_CLEAN_TARGETS): |
1524 | + @fail= failcom='exit 1'; \ |
1525 | + for f in x $$MAKEFLAGS; do \ |
1526 | + case $$f in \ |
1527 | + *=* | --[!k]*);; \ |
1528 | + *k*) failcom='fail=yes';; \ |
1529 | + esac; \ |
1530 | + done; \ |
1531 | + dot_seen=no; \ |
1532 | + case "$@" in \ |
1533 | + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
1534 | + *) list='$(SUBDIRS)' ;; \ |
1535 | + esac; \ |
1536 | + rev=''; for subdir in $$list; do \ |
1537 | + if test "$$subdir" = "."; then :; else \ |
1538 | + rev="$$subdir $$rev"; \ |
1539 | + fi; \ |
1540 | + done; \ |
1541 | + rev="$$rev ."; \ |
1542 | + target=`echo $@ | sed s/-recursive//`; \ |
1543 | + for subdir in $$rev; do \ |
1544 | + echo "Making $$target in $$subdir"; \ |
1545 | + if test "$$subdir" = "."; then \ |
1546 | + local_target="$$target-am"; \ |
1547 | + else \ |
1548 | + local_target="$$target"; \ |
1549 | + fi; \ |
1550 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
1551 | + || eval $$failcom; \ |
1552 | + done && test -z "$$fail" |
1553 | +tags-recursive: |
1554 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
1555 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
1556 | + done |
1557 | +ctags-recursive: |
1558 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
1559 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
1560 | + done |
1561 | + |
1562 | +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
1563 | + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
1564 | + unique=`for i in $$list; do \ |
1565 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1566 | + done | \ |
1567 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1568 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1569 | + mkid -fID $$unique |
1570 | +tags: TAGS |
1571 | + |
1572 | +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
1573 | + $(TAGS_FILES) $(LISP) |
1574 | + set x; \ |
1575 | + here=`pwd`; \ |
1576 | + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
1577 | + include_option=--etags-include; \ |
1578 | + empty_fix=.; \ |
1579 | + else \ |
1580 | + include_option=--include; \ |
1581 | + empty_fix=; \ |
1582 | + fi; \ |
1583 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
1584 | + if test "$$subdir" = .; then :; else \ |
1585 | + test ! -f $$subdir/TAGS || \ |
1586 | + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
1587 | + fi; \ |
1588 | + done; \ |
1589 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
1590 | + unique=`for i in $$list; do \ |
1591 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1592 | + done | \ |
1593 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1594 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1595 | + shift; \ |
1596 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
1597 | + test -n "$$unique" || unique=$$empty_fix; \ |
1598 | + if test $$# -gt 0; then \ |
1599 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1600 | + "$$@" $$unique; \ |
1601 | + else \ |
1602 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1603 | + $$unique; \ |
1604 | + fi; \ |
1605 | + fi |
1606 | +ctags: CTAGS |
1607 | +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
1608 | + $(TAGS_FILES) $(LISP) |
1609 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
1610 | + unique=`for i in $$list; do \ |
1611 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1612 | + done | \ |
1613 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
1614 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
1615 | + test -z "$(CTAGS_ARGS)$$unique" \ |
1616 | + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
1617 | + $$unique |
1618 | + |
1619 | +GTAGS: |
1620 | + here=`$(am__cd) $(top_builddir) && pwd` \ |
1621 | + && $(am__cd) $(top_srcdir) \ |
1622 | + && gtags -i $(GTAGS_ARGS) "$$here" |
1623 | + |
1624 | +distclean-tags: |
1625 | + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1626 | + |
1627 | +distdir: $(DISTFILES) |
1628 | + $(am__remove_distdir) |
1629 | + test -d "$(distdir)" || mkdir "$(distdir)" |
1630 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1631 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1632 | + list='$(DISTFILES)'; \ |
1633 | + dist_files=`for file in $$list; do echo $$file; done | \ |
1634 | + sed -e "s|^$$srcdirstrip/||;t" \ |
1635 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
1636 | + case $$dist_files in \ |
1637 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ |
1638 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
1639 | + sort -u` ;; \ |
1640 | + esac; \ |
1641 | + for file in $$dist_files; do \ |
1642 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
1643 | + if test -d $$d/$$file; then \ |
1644 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
1645 | + if test -d "$(distdir)/$$file"; then \ |
1646 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1647 | + fi; \ |
1648 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
1649 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
1650 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1651 | + fi; \ |
1652 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
1653 | + else \ |
1654 | + test -f "$(distdir)/$$file" \ |
1655 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
1656 | + || exit 1; \ |
1657 | + fi; \ |
1658 | + done |
1659 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
1660 | + if test "$$subdir" = .; then :; else \ |
1661 | + test -d "$(distdir)/$$subdir" \ |
1662 | + || $(MKDIR_P) "$(distdir)/$$subdir" \ |
1663 | + || exit 1; \ |
1664 | + fi; \ |
1665 | + done |
1666 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
1667 | + if test "$$subdir" = .; then :; else \ |
1668 | + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
1669 | + $(am__relativize); \ |
1670 | + new_distdir=$$reldir; \ |
1671 | + dir1=$$subdir; dir2="$(top_distdir)"; \ |
1672 | + $(am__relativize); \ |
1673 | + new_top_distdir=$$reldir; \ |
1674 | + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
1675 | + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
1676 | + ($(am__cd) $$subdir && \ |
1677 | + $(MAKE) $(AM_MAKEFLAGS) \ |
1678 | + top_distdir="$$new_top_distdir" \ |
1679 | + distdir="$$new_distdir" \ |
1680 | + am__remove_distdir=: \ |
1681 | + am__skip_length_check=: \ |
1682 | + am__skip_mode_fix=: \ |
1683 | + distdir) \ |
1684 | + || exit 1; \ |
1685 | + fi; \ |
1686 | + done |
1687 | + -test -n "$(am__skip_mode_fix)" \ |
1688 | + || find "$(distdir)" -type d ! -perm -755 \ |
1689 | + -exec chmod u+rwx,go+rx {} \; -o \ |
1690 | + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
1691 | + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
1692 | + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
1693 | + || chmod -R a+r "$(distdir)" |
1694 | +dist-gzip: distdir |
1695 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1696 | + $(am__remove_distdir) |
1697 | + |
1698 | +dist-bzip2: distdir |
1699 | + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
1700 | + $(am__remove_distdir) |
1701 | + |
1702 | +dist-lzip: distdir |
1703 | + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
1704 | + $(am__remove_distdir) |
1705 | + |
1706 | +dist-lzma: distdir |
1707 | + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
1708 | + $(am__remove_distdir) |
1709 | + |
1710 | +dist-xz: distdir |
1711 | + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
1712 | + $(am__remove_distdir) |
1713 | + |
1714 | +dist-tarZ: distdir |
1715 | + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
1716 | + $(am__remove_distdir) |
1717 | + |
1718 | +dist-shar: distdir |
1719 | + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
1720 | + $(am__remove_distdir) |
1721 | + |
1722 | +dist-zip: distdir |
1723 | + -rm -f $(distdir).zip |
1724 | + zip -rq $(distdir).zip $(distdir) |
1725 | + $(am__remove_distdir) |
1726 | + |
1727 | +dist dist-all: distdir |
1728 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1729 | + $(am__remove_distdir) |
1730 | + |
1731 | +# This target untars the dist file and tries a VPATH configuration. Then |
1732 | +# it guarantees that the distribution is self-contained by making another |
1733 | +# tarfile. |
1734 | +distcheck: dist |
1735 | + case '$(DIST_ARCHIVES)' in \ |
1736 | + *.tar.gz*) \ |
1737 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
1738 | + *.tar.bz2*) \ |
1739 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
1740 | + *.tar.lzma*) \ |
1741 | + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
1742 | + *.tar.lz*) \ |
1743 | + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
1744 | + *.tar.xz*) \ |
1745 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
1746 | + *.tar.Z*) \ |
1747 | + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
1748 | + *.shar.gz*) \ |
1749 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
1750 | + *.zip*) \ |
1751 | + unzip $(distdir).zip ;;\ |
1752 | + esac |
1753 | + chmod -R a-w $(distdir); chmod a+w $(distdir) |
1754 | + mkdir $(distdir)/_build |
1755 | + mkdir $(distdir)/_inst |
1756 | + chmod a-w $(distdir) |
1757 | + test -d $(distdir)/_build || exit 0; \ |
1758 | + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
1759 | + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
1760 | + && am__cwd=`pwd` \ |
1761 | + && $(am__cd) $(distdir)/_build \ |
1762 | + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
1763 | + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
1764 | + $(DISTCHECK_CONFIGURE_FLAGS) \ |
1765 | + && $(MAKE) $(AM_MAKEFLAGS) \ |
1766 | + && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
1767 | + && $(MAKE) $(AM_MAKEFLAGS) check \ |
1768 | + && $(MAKE) $(AM_MAKEFLAGS) install \ |
1769 | + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
1770 | + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
1771 | + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
1772 | + distuninstallcheck \ |
1773 | + && chmod -R a-w "$$dc_install_base" \ |
1774 | + && ({ \ |
1775 | + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
1776 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
1777 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
1778 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
1779 | + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
1780 | + } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
1781 | + && rm -rf "$$dc_destdir" \ |
1782 | + && $(MAKE) $(AM_MAKEFLAGS) dist \ |
1783 | + && rm -rf $(DIST_ARCHIVES) \ |
1784 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
1785 | + && cd "$$am__cwd" \ |
1786 | + || exit 1 |
1787 | + $(am__remove_distdir) |
1788 | + @(echo "$(distdir) archives ready for distribution: "; \ |
1789 | + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
1790 | + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
1791 | +distuninstallcheck: |
1792 | + @test -n '$(distuninstallcheck_dir)' || { \ |
1793 | + echo 'ERROR: trying to run $@ with an empty' \ |
1794 | + '$$(distuninstallcheck_dir)' >&2; \ |
1795 | + exit 1; \ |
1796 | + }; \ |
1797 | + $(am__cd) '$(distuninstallcheck_dir)' || { \ |
1798 | + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
1799 | + exit 1; \ |
1800 | + }; \ |
1801 | + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
1802 | + || { echo "ERROR: files left after uninstall:" ; \ |
1803 | + if test -n "$(DESTDIR)"; then \ |
1804 | + echo " (check DESTDIR support)"; \ |
1805 | + fi ; \ |
1806 | + $(distuninstallcheck_listfiles) ; \ |
1807 | + exit 1; } >&2 |
1808 | +distcleancheck: distclean |
1809 | + @if test '$(srcdir)' = . ; then \ |
1810 | + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
1811 | + exit 1 ; \ |
1812 | + fi |
1813 | + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
1814 | + || { echo "ERROR: files left in build directory after distclean:" ; \ |
1815 | + $(distcleancheck_listfiles) ; \ |
1816 | + exit 1; } >&2 |
1817 | +check-am: all-am |
1818 | +check: check-recursive |
1819 | +all-am: Makefile config.h |
1820 | +installdirs: installdirs-recursive |
1821 | +installdirs-am: |
1822 | +install: install-recursive |
1823 | +install-exec: install-exec-recursive |
1824 | +install-data: install-data-recursive |
1825 | +uninstall: uninstall-recursive |
1826 | + |
1827 | +install-am: all-am |
1828 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
1829 | + |
1830 | +installcheck: installcheck-recursive |
1831 | +install-strip: |
1832 | + if test -z '$(STRIP)'; then \ |
1833 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1834 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1835 | + install; \ |
1836 | + else \ |
1837 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1838 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1839 | + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
1840 | + fi |
1841 | +mostlyclean-generic: |
1842 | + |
1843 | +clean-generic: |
1844 | + |
1845 | +distclean-generic: |
1846 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
1847 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
1848 | + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
1849 | + |
1850 | +maintainer-clean-generic: |
1851 | + @echo "This command is intended for maintainers to use" |
1852 | + @echo "it deletes files that may require special tools to rebuild." |
1853 | +clean: clean-recursive |
1854 | + |
1855 | +clean-am: clean-generic clean-libtool mostlyclean-am |
1856 | + |
1857 | +distclean: distclean-recursive |
1858 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1859 | + -rm -f Makefile |
1860 | +distclean-am: clean-am distclean-generic distclean-hdr \ |
1861 | + distclean-libtool distclean-tags |
1862 | + |
1863 | +dvi: dvi-recursive |
1864 | + |
1865 | +dvi-am: |
1866 | + |
1867 | +html: html-recursive |
1868 | + |
1869 | +html-am: |
1870 | + |
1871 | +info: info-recursive |
1872 | + |
1873 | +info-am: |
1874 | + |
1875 | +install-data-am: |
1876 | + |
1877 | +install-dvi: install-dvi-recursive |
1878 | + |
1879 | +install-dvi-am: |
1880 | + |
1881 | +install-exec-am: |
1882 | + |
1883 | +install-html: install-html-recursive |
1884 | + |
1885 | +install-html-am: |
1886 | + |
1887 | +install-info: install-info-recursive |
1888 | + |
1889 | +install-info-am: |
1890 | + |
1891 | +install-man: |
1892 | + |
1893 | +install-pdf: install-pdf-recursive |
1894 | + |
1895 | +install-pdf-am: |
1896 | + |
1897 | +install-ps: install-ps-recursive |
1898 | + |
1899 | +install-ps-am: |
1900 | + |
1901 | +installcheck-am: |
1902 | + |
1903 | +maintainer-clean: maintainer-clean-recursive |
1904 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1905 | + -rm -rf $(top_srcdir)/autom4te.cache |
1906 | + -rm -f Makefile |
1907 | +maintainer-clean-am: distclean-am maintainer-clean-generic |
1908 | + |
1909 | +mostlyclean: mostlyclean-recursive |
1910 | + |
1911 | +mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
1912 | + |
1913 | +pdf: pdf-recursive |
1914 | + |
1915 | +pdf-am: |
1916 | + |
1917 | +ps: ps-recursive |
1918 | + |
1919 | +ps-am: |
1920 | + |
1921 | +uninstall-am: |
1922 | + |
1923 | +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
1924 | + ctags-recursive install-am install-strip tags-recursive |
1925 | + |
1926 | +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
1927 | + all all-am am--refresh check check-am clean clean-generic \ |
1928 | + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ |
1929 | + dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ |
1930 | + dist-zip distcheck distclean distclean-generic distclean-hdr \ |
1931 | + distclean-libtool distclean-tags distcleancheck distdir \ |
1932 | + distuninstallcheck dvi dvi-am html html-am info info-am \ |
1933 | + install install-am install-data install-data-am install-dvi \ |
1934 | + install-dvi-am install-exec install-exec-am install-html \ |
1935 | + install-html-am install-info install-info-am install-man \ |
1936 | + install-pdf install-pdf-am install-ps install-ps-am \ |
1937 | + install-strip installcheck installcheck-am installdirs \ |
1938 | + installdirs-am maintainer-clean maintainer-clean-generic \ |
1939 | + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ |
1940 | + ps ps-am tags tags-recursive uninstall uninstall-am |
1941 | + |
1942 | + |
1943 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. |
1944 | +# Otherwise a system limit (for SysV at least) may be exceeded. |
1945 | +.NOEXPORT: |
1946 | |
1947 | === added file 'NEWS' |
1948 | --- NEWS 1970-01-01 00:00:00 +0000 |
1949 | +++ NEWS 2012-03-02 04:18:19 +0000 |
1950 | @@ -0,0 +1,507 @@ |
1951 | +Overview of changes in lightdm 1.1.3 |
1952 | + |
1953 | + * Actually return the system default keyboard layout, not just 'us' |
1954 | + * Add keyboard layout variants to list of keyboard layouts |
1955 | + * Check accountsservice as well as .dmrc for users' layouts |
1956 | + * Add lightdm_user_get_layouts() to query the configured list of layouts |
1957 | + on a per-user basis |
1958 | + * Add Lock D-Bus method that locks the seat and provides a hint to the |
1959 | + greeter to be in lock mode. |
1960 | + * Automatically lock sessions when switching away from them |
1961 | + * Add a has-messages property to liblightdm |
1962 | + * Add regression tests for PAM modules changing usernames |
1963 | + * Don't use g_key_file_unref, it requires glib 2.32 |
1964 | + |
1965 | +Overview of changes in lightdm 1.1.2 |
1966 | + |
1967 | + * Add regression tests for getting the user language and layout |
1968 | + * Stop accidentally distributing libsystem |
1969 | + * Fix introspection bindings not containing any methods |
1970 | + * lightdm-set-defaults can now set the autologin user |
1971 | + * Add Python greeter regression tests (representative of all introspection |
1972 | + based greeters) |
1973 | + * Wait for the VT to become active when switching to avoid a suspected |
1974 | + race condition somewhere between LightDM, X, ConsoleKit and the kernel. |
1975 | + * Stop lightdm_greeter_start_session_sync() blocking on success. |
1976 | + |
1977 | +Overview of changes in lightdm 1.1.1 |
1978 | + |
1979 | + * Add a --disable-tests option |
1980 | + * Add note to AUTHORS file where to find author list |
1981 | + * Update build system to find moc/uic |
1982 | + * Fix non-distributed tests/src/lightdm-session |
1983 | + * Fix X sessions with arguments in Exec not working |
1984 | + * Use previous session for automatic login or if greeter does not request |
1985 | + one. |
1986 | + * Set default resolution of VNC to 1024x768, add settings for width, height, |
1987 | + depth into lightdm.conf. |
1988 | + * AppArmor profile: Fix broken gnome-keyring and dbus/gwibber, and quiesce |
1989 | + annoying kernel audit messages for privileges that we definitively do not |
1990 | + want to grant. |
1991 | + * Set LOGNAME environment variable |
1992 | + * Don't set USERNAME environment variable - this is not specified in POSIX, |
1993 | + please report if this causes any major problems. |
1994 | + * Drop privileges when reading ~/.dmrc |
1995 | + * Move the GTK+ and Qt greeters into their own projects |
1996 | + * Fix crash when quitting with newer GLib |
1997 | + * Fix crash calling lightdm_get_layout |
1998 | + * Support for reading users' backgrounds from Accounts Service |
1999 | + * Fix --debug working with new glib |
2000 | + * Support PAM requesting a change of password |
2001 | + * Update build system to work with automake 1.11.2 |
2002 | + * Run tests inside their own system D-Bus, simulating ConsoleKit and |
2003 | + AccountsService |
2004 | + * Add regression test for users that have their home directory created after |
2005 | + authentication. |
2006 | + * Move lightdm-guest-session from libexec to pkglibexec directory |
2007 | + |
2008 | +Overview of changes in lightdm 1.1.0 |
2009 | + |
2010 | + * Remove GetSeatForCookie and GetSessionForCookie D-Bus methods |
2011 | + * Switching to a user without a password bypasses the greeter |
2012 | + * Use LD_PRELOAD to intercept system calls for testing |
2013 | + * Removed the --passwd-file option as not required for testing anymore |
2014 | + * Rename test-xserver to X and remove --xserver-command option |
2015 | + * Make a test session wrapper and remove --session-wrapper option |
2016 | + * Remove unused --user-session, --greeter-session, --minimum-vt, |
2017 | + --minimum-display-number options |
2018 | + * Use 'default' as the default greeter (make a symlink) |
2019 | + * GTK greeter now initializes i18n |
2020 | + * GTK greeter now remembers last user |
2021 | + * Start authentication for automtically selected user in GTK greeter |
2022 | + * Don't resize GTK greeter on each click |
2023 | + * Start authentication when scrolling through GTK greeter entries |
2024 | + * Link liblightdm-qt against QtGui |
2025 | + * Fix liblightdm-qt crashing when face images are installed |
2026 | + * Set correct permissions on session log files |
2027 | + * Introduce a lightdm-guest-session-wrapper session command which MAC |
2028 | + systems like AppArmor and SELinux can use for attaching a restrictive |
2029 | + policy to guest sessions. |
2030 | + * Provide an AppArmor profile for guest session lockdown. |
2031 | + * Fix daemon from blocking if Accounts Service does not exist |
2032 | + * Fix greeter log file not being written |
2033 | + * Don't set LANG environment variable if using Accounts Service. |
2034 | + * Fix gdmflexiserver not working due to it not being in PATH |
2035 | + * Don't authenticate the greeter user |
2036 | + * Allow greeters to be disabled in configure flags |
2037 | + * Fix over allocation of read buffer in greeter protocol |
2038 | + * Make sure objects are cleaned up on exit |
2039 | + * Fix minor memory leaks |
2040 | + * Fix reference counting issue in ConsoleKit code |
2041 | + * Fix --enable-gtk-greeter=yes not working |
2042 | + |
2043 | +Overview of changes in lightdm 1.0.0 |
2044 | + |
2045 | + * Explicitly grab keyboard focus in GTK greeter |
2046 | + * Fix removed power and a11y menu items in GTK greeter |
2047 | + * Put system binary directory into path when running in test mode |
2048 | + * Call pam_getenvlist after pam_setcred |
2049 | + |
2050 | +Overview of changes in lightdm 0.9.8 |
2051 | + |
2052 | + * GetSeatForCookie and GetSessionForCookie are now deprecated. They |
2053 | + remain for now but use the XDG_SEAT_PATH and XDG_SESSION_PATH |
2054 | + environment variables instead. |
2055 | + * Change log filenames to be unique across different display types. |
2056 | + * Fix up script hooks, add regression tests for them |
2057 | + * Complete removal of X code from the core of LightDM, so it can better |
2058 | + support various display types |
2059 | + * Add ability to set the language of a user from the greeter |
2060 | + * Set LANG variable based on the user language |
2061 | + * Add language selector into GTK greeter (disabled by default) |
2062 | + * Allow TCP/IP connections if xserver-allow-tcp is true |
2063 | + * Allow lightdm --version to be run as non-root |
2064 | + * Automatically respond to PAM messages without prompts |
2065 | + * Create 'AddLocalXSeat' D-Bus method, and require root to use 'AddSeat' |
2066 | + * Fix multi-seat configuration picking the same display number |
2067 | + * Use correct D-Bus and power interface in liblightdm-qt |
2068 | + * Run pam_setcred inside the session process so pam_group works |
2069 | + * Make sure one session is always selected in the GTK greeter |
2070 | + |
2071 | +Overview of changes in lightdm 0.9.7 |
2072 | + |
2073 | + * Set PAM_TTY to the display name, not the tty device |
2074 | + |
2075 | +Overview of changes in lightdm 0.9.6 |
2076 | + |
2077 | + * Only unlock displays if switched to from greeter |
2078 | + * Make log file not system readable |
2079 | + * Write ~/.Xauthority inside the session process so it cannot be hijacked |
2080 | + * Set PAM_TTY and PAM_XDISPLAY when opening PAM session |
2081 | + * Add VNC server support |
2082 | + * Do not write ~/.dmrc and ~/.Xauthority as root. [CVE-2011-3349] |
2083 | + |
2084 | +Overview of changes in lightdm 0.9.5 |
2085 | + |
2086 | + * Use accounts service in the daemon if it is available |
2087 | + * Correctly load seat type in multi seat configuration |
2088 | + * Add display-setup, session-setup and session-cleanup scripting hooks |
2089 | + * Fix cancel button in GTK greeter |
2090 | + * Fix line through GTK greeter menu items |
2091 | + * Exit daemon if a seat fails which has exit-on-failure set to true |
2092 | + * Add HasGuestAccount property to seat D-Bus interface |
2093 | + * Fix XDMCP authorization |
2094 | + * Update man file |
2095 | + |
2096 | +Overview of changes in lightdm 0.9.4 |
2097 | + |
2098 | + * lightdm-set-defaults enables tweaking the default session and chosen |
2099 | + greeter for lightdm. This is useful for derivatives waiting to not ship |
2100 | + the whole configuration file of lightdm |
2101 | + * Fix crash in GTK+ greeter when a user is added |
2102 | + * Move xsessions-directory and xgreeters-directory from [SeatDefaults] to |
2103 | + [LightDM]. This is a configuration break, but making it on the assumption |
2104 | + that these settings are not likely to have been overridden. |
2105 | + * Fix fallback from org.freedesktop.Accounts to passwd format |
2106 | + * Fix duplicate user entries being shown when using passwd file |
2107 | + * Add AddSeat D-Bus method for adding dynamic seats |
2108 | + * Added a dm-tool program that allows user switching and adding seats |
2109 | + * Allow remote X servers, e.g. launched using dm-tool add-nested-seat |
2110 | + * Fix bug where sessions were started when the greeter quit and the user |
2111 | + hadn't been authorized. |
2112 | + * Fix bug where sessions used the seat bus name |
2113 | + * Don't allow autologin-username to be set to empty |
2114 | + * Fix bug where PAM session was not opened before writing to home directory |
2115 | + * Fix crash when failing to write X authority |
2116 | + |
2117 | +Overview of changes in lightdm 0.9.3 |
2118 | + |
2119 | + * Unlock ConsoleKit sessions when switching to them |
2120 | + * Add a gdmflexiserver binary that provides backwards compatibility with |
2121 | + existing sessions |
2122 | + * Set XDG_SEAT_PATH and XDG_SESSION_PATH environment variables for sessions. |
2123 | + * Always set XAUTHORITY environment variable so sudo keeps accessing the |
2124 | + correct X authority. |
2125 | + * Connect up lightdm_user_get_logged_in in liblightdm-gobject |
2126 | + * Ignore sessions that fail TryExec or are hidden |
2127 | + * Add missing home_directory User property missing in Vala bindings |
2128 | + |
2129 | +Overview of changes in lightdm 0.9.2 |
2130 | + |
2131 | + * Fix annotation and Vala bindings for getting the UserList singleton |
2132 | + * Fix GTK+ greeter error label not being shown |
2133 | + * Don't set SIGQUIT to ignore in child processes |
2134 | + * Reworked the PAM code as ecryptfs users weren't able to log in. They |
2135 | + can now but not sure what changed to fix that!? |
2136 | + |
2137 | +Overview of changes in lightdm 0.9.1 |
2138 | + |
2139 | + * Fix up translation build system |
2140 | + * Add a --with-greeter-user configure option |
2141 | + * Fix greeter-user configuration not being used |
2142 | + * Abort greeter if attempted to be run as root and greeter-user set |
2143 | + * Fix setting session in GTK+ greeter |
2144 | + |
2145 | +Overview of changes in lightdm 0.9.0 |
2146 | + |
2147 | + * Fix invalid XAUTHORITY variable being set for second X server. |
2148 | + * Fix bug where switching users created X servers without VTs |
2149 | + * Release a VT when the X server on it stops |
2150 | + * Greeters are now just standard X sessions that are stored in |
2151 | + /usr/share/xgreeters. |
2152 | + * Binaries now installed in /usr/sbin |
2153 | + * Drop most of the configure options, they aren't necessary |
2154 | + * Config changes: |
2155 | + - Major reorginisation of configuration to make it easier to configure and |
2156 | + understand. Users should set [SeatDefaults] section with settings for |
2157 | + all seats, and can override each setting in a per seat configuration. |
2158 | + - Default seats are now specified using a [Seat:<name>] section. If no seats |
2159 | + are specified then one is started. This can be overridden by setting |
2160 | + start-default-seat=false in [LightDM]. |
2161 | + - Support setting autologin user to guest account |
2162 | + - Split the user accounts configuration into /etc/lightdm/users.conf so the |
2163 | + main config can be private. |
2164 | + - The default user session is now "default". Distributions should put a |
2165 | + symlink to their chosen default or set one in lightdm.conf. |
2166 | + - XDMCP keys now stored in keys.conf |
2167 | + * liblightdm API changes: |
2168 | + - Both libraries are now version 1 and have API and ABI guarantees. |
2169 | + - Face images are now local paths not URIs |
2170 | + - liblightdm-gobject now uses lightdm_ prefix instead of ldm_ |
2171 | + - Non-greeter functions are now moved out of the Greeter class |
2172 | + - connect_to_server() is now called connect_sync and blocks until |
2173 | + completion. |
2174 | + - start_session() is now called start_session_sync and blocks until |
2175 | + completion. The quit signal is removed, and the greeter should quit if |
2176 | + this method returns TRUE. |
2177 | + - login() is now called authenticate() |
2178 | + - Greeters now have hints instead of configuration (greeters should load their |
2179 | + own configuration from /etc/lightdm if they need it). |
2180 | + - liblightdm-gobject uses AccountsService if it is available |
2181 | + - Added regression tests for liblightdm-qt |
2182 | + * D-Bus API changes: |
2183 | + - Expose Seats and Sessions on org.freedesktop.DisplayManager |
2184 | + - Add a CanSwitch property |
2185 | + - Rename ShowGreeter() to SwitchToGreeter() |
2186 | + * Greeter changes: |
2187 | + - Drop "example" from the name of the GTK+ and Qt greeters and make them |
2188 | + official default greeters. |
2189 | + - Use GTK3 for GTK+ greeter. |
2190 | + - Removed the Vala and Python GTK+ greeters, they weren't being well |
2191 | + maintained. |
2192 | + |
2193 | +Overview of changes in lightdm 0.4.4 |
2194 | + |
2195 | + * Fix failure to accept XDMCP connections due to invalid assert. |
2196 | + * Allow minimum-display-number to be set in lightdm.conf and on the command |
2197 | + line. |
2198 | + * Session X authority now written to ~/.Xauthority by default. It can be |
2199 | + configured to run from the system location by setting |
2200 | + user-authority-in-system-dir=true in lightdm.conf. |
2201 | + * When using system authority the authority can be updated by the user. |
2202 | + * Written X authority files now checks hostname and display number. |
2203 | + * Enironment is no longer passed through to X servers and sessions, this is |
2204 | + no longer required now PAM works correctly. |
2205 | + * liblightdm API changes: |
2206 | + - Drop ldm_greeter_get_is_first() - it was added for testing and doesn't |
2207 | + work well. |
2208 | + * Fix more errors where authentication messages from previous sessions could |
2209 | + be confused with new sessions. |
2210 | + * Added XDMCP regression tests. |
2211 | + |
2212 | +Overview of changes in lightdm 0.4.3 |
2213 | + |
2214 | + * Don't replace Plymouth if it isn't running on a valid VT |
2215 | + * Allow a null username to log in with - the system will prompt for a |
2216 | + username. |
2217 | + * liblightdm API changes: |
2218 | + - Rename ldm_greeter_provide_secret to ldm_greeter_respond - responses |
2219 | + may not be secrets. |
2220 | + - show-prompt signal now has a PromptType field |
2221 | + - show-message signal now has a MessageType field and takes over |
2222 | + behaviour of show-error signal |
2223 | + * Fix error where an authentication failure from a previous session could |
2224 | + be interpreted as a failure in the current session. |
2225 | + * Simplify Vala bindings and add missing methods |
2226 | + |
2227 | +Overview of changes in lightdm 0.4.2 |
2228 | + |
2229 | + * Fix errors communicating with PAM |
2230 | + * Fix interaction with Plytmouth. |
2231 | + * Removes the vt option in lightdm.conf, this is no longer required |
2232 | + and the active is used for the first display if Plymouth is |
2233 | + detected. A new option minimum-vt is added to select the first |
2234 | + VT to be used for other displays. |
2235 | + * On login switch to an existing session if already logged in with that |
2236 | + username. |
2237 | + * Correctly connect up D-Bus interface for user switching |
2238 | + |
2239 | +Overview of changes in lightdm 0.4.1 |
2240 | + |
2241 | + * Fix linking issue with -z,defs |
2242 | + * Added guest account support |
2243 | + * Restart X server if it crashes during a session |
2244 | + * Don't set language environment variables, use the daemon values |
2245 | + (system default) and leave it to ~/.profile for users to set these |
2246 | + * Change greeter library API, starting a session no longer has a language |
2247 | + option |
2248 | + * Fix greeter crash when user accounts change |
2249 | + |
2250 | +Overview of changes in lightdm 0.4.0 |
2251 | + |
2252 | + * Fix crash when child processes quit |
2253 | + * Fix crash when catching signals |
2254 | + * Fix crash when session quits after X server |
2255 | + * Add internal checking for NULL object access |
2256 | + * Correctly handle signals from external programs (Thanks to Jason Conti) |
2257 | + * liblightdm API changes: |
2258 | + - ldm_greeter_start_authentication becomes ldm_greeter_login |
2259 | + - The existing ldm_greeter_login is now ldm_greeter_start_session |
2260 | + and the username parameter is not required. |
2261 | + - Drop ldm_greeter_get_default_layout (X controls the layout) |
2262 | + * Configuration changes: |
2263 | + - Use /etc/lightdm/lightdm.conf instead of /etc/lightdm.conf |
2264 | + - The "displays" item is now called "seats". LightDM will fallback to |
2265 | + "displays" if "seats" is not defined, but this is deprecated and will |
2266 | + be removed by version 1.0. |
2267 | + - Make X server configuration a separate section and now has new options |
2268 | + * Automatic login users now use PAM session lightdm-autologin |
2269 | + * Use org.freedesktop.DisplayManager instead of |
2270 | + org.lightdm.LightDisplayManager for D-Bus name |
2271 | + * Add regression tests |
2272 | + * Allow many more options to be set from the command line |
2273 | + |
2274 | +Overview of changes in lightdm 0.3.7 |
2275 | + |
2276 | + * Fix autologin broken in 0.3.3 |
2277 | + |
2278 | +Overview of changes in lightdm 0.3.6 |
2279 | + |
2280 | + * Disable Plymouth when starting |
2281 | + * Allow display vt setting to be set to "active" to start on active VT |
2282 | + * Fix login in Qt example greeter |
2283 | + * Fix typo for High Contrast menu item (GTK example greeter) |
2284 | + |
2285 | +Overview of changes in lightdm 0.3.5 |
2286 | + |
2287 | + * Set working directory when logging in |
2288 | + * Massive improvements to Qt greeter |
2289 | + * Fix XDMCP authentication/authorization errors |
2290 | + * Have the daemon open a connection to a local X server |
2291 | + * Tidy up some debugging messages |
2292 | + |
2293 | +Overview of changes in lightdm 0.3.4 |
2294 | + |
2295 | + * Updates to liblightdm-qt |
2296 | + * Fix --with-cache-dir not working |
2297 | + * Set greeterdir in .pc files to point to where greeter engines should be |
2298 | + installed |
2299 | + |
2300 | +Overview of changes in lightdm 0.3.3 |
2301 | + |
2302 | + * Don't run in test-mode if Xephyr cannot be found |
2303 | + * Fix daemon using 100% CPU after greeter quits |
2304 | + * Fix crash when users don't have GECOS data |
2305 | + * Greeters can now detect user add/remove events |
2306 | + * Fix ConsoleKit support broken with switch to GDBus |
2307 | + * Correctly clean up X processes on exit |
2308 | + * Wait for greeter to quit before running user session (fixes problem with |
2309 | + Compiz) |
2310 | + |
2311 | +Overview of changes in lightdm 0.3.2 |
2312 | + |
2313 | + * Distribute GTK greeter .ui file |
2314 | + |
2315 | +Overview of changes in lightdm 0.3.1 |
2316 | + |
2317 | + * Add greeter login_with_defaults method |
2318 | + * Add example to the name of all the greeters |
2319 | + * Set the configuration for the default display to use VT 7 |
2320 | + * Fix the vt setting for displays, it was incorrectly named tty |
2321 | + * Fix crash when load-users is false in UserManager |
2322 | + * Fix up name of .vapi file so it can be used directly from valac |
2323 | + * Tidy up Qt library and greeter |
2324 | + * Move menubar in greeters to top of screen |
2325 | + * Fix console kit get_can_*() methods |
2326 | + * Use GtkBuilder for example GTK greeter |
2327 | + |
2328 | +Overview of changes in lightdm 0.3.0 |
2329 | + |
2330 | + * Correctly pass environment variables through to the session |
2331 | + * Allow starting virtual terminal to be configured |
2332 | + * Replace D-Bus greeter communication with a private pipe |
2333 | + * Use GDBus instead of dbus-glib |
2334 | + * Use the engine process name instead of a hardcoded value in theme files |
2335 | + * Rename ldm_greeter_connect to ldm_greeter_connect_to_server so it doesn't |
2336 | + clash with GObject method name |
2337 | + * Rename ldm-gtk-greeter to lightdm-gtk-greeter |
2338 | + * Rename gnome theme to example-gtk-gnome |
2339 | + * Add more annotations to liblightdm-gobject |
2340 | + * Add an example PyGObject, Vala and QT greeter |
2341 | + * Generate metadata for QT libraries |
2342 | + * Move Webkit greeter into separate module |
2343 | + |
2344 | +Overview of changes in lightdm 0.2.3 |
2345 | + |
2346 | + * Set correct linking library names in pkg-config files |
2347 | + * Handle session executables that take arguments |
2348 | + |
2349 | +Overview of changes in lightdm 0.2.2 |
2350 | + |
2351 | + * Make default themedir work when --prefix is not passed to configure |
2352 | + * Look for face images in ~/.face and ~/.face.icon |
2353 | + * Put .vapi file in unversioned vala directory |
2354 | + * Fix compiling without QT |
2355 | + * Choose the VT to open the display on |
2356 | + * Set correct group memberships for sessions (Yves-Alexis Perez) |
2357 | + * Set permissions on xauthority file so it can only be read by the owning |
2358 | + user (Yves-Alexis Perez) |
2359 | + * Set correct permissions on ~/.dmrc (Yves-Alexis Perez) |
2360 | + * Add --enable-liblightdm-gobject, --enable-liblightdm-qt configure option |
2361 | + * Set environment variables from PAM (Yves-Alexis Perez) |
2362 | + |
2363 | +Overview of changes in lightdm 0.2.1 |
2364 | + |
2365 | + * Use "lightdm" as default PAM service and make it configurable |
2366 | + * Rename libldmgreeter to libldmgreeter-gobject |
2367 | + * Add libldmgreeter-qt (David Edmundson) |
2368 | + * Fix gobject-introspection build |
2369 | + * Renamed libldmgreeter to liblightdm |
2370 | + * Install a .vapi file |
2371 | + |
2372 | +Overview of changes in lightdm 0.2.0 |
2373 | + |
2374 | + * Make default user configuration per-display |
2375 | + * Only automatically login the first time |
2376 | + * Fix WebKit theme loading and automatic login |
2377 | + * Do cross fade for sessions that support it |
2378 | + (set X-LightDM-Supports-Transitions=true in their xsession file) |
2379 | + * Load user settings from ~/.dmrc |
2380 | + * Add configuration for default language/layout |
2381 | + * Change language/layout/session when user selected in GTK+ greeter |
2382 | + * Set default keyboard layout on first login |
2383 | + * Don't run all sessions throught /etc/X11/XSession - make the session |
2384 | + wrapper optional and configurable. |
2385 | + * Make pkgconfig file require libxklavier |
2386 | + * Only compile greeters if have dependencies |
2387 | + * Include ck-connector code to reduce library dependencies |
2388 | + * Add introspection.m4 to the source tree |
2389 | + * Support using no greeter user in lightdm.conf |
2390 | + * Flush writes to main log file |
2391 | + * Allow non-privilidged user to write greeter log file in /var |
2392 | + * Fix bugs stopping running greeter as priviledged user (i.e. root) |
2393 | + * Don't default to running greeters with the GDM user - it may not exist! |
2394 | + |
2395 | +Overview of changes in lightdm 0.1.2 |
2396 | + |
2397 | + * Write PID file |
2398 | + * Make user switcher API work |
2399 | + * Add a AddDisplay D-Bus method to start new displays |
2400 | + * Feed signals to GLib main loop via a pipe |
2401 | + * Add an upstart script |
2402 | + * Make theme files more similar to existing themes |
2403 | + * Change dbus namespace from org.freedesktop.LightDisplayManager to |
2404 | + org.lightdm.LightDisplayManager |
2405 | + * Write debug log to /var/log/lightdm/lightdm.log instead of stdout. Use |
2406 | + --debug for the previous behaviour |
2407 | + * Add exec_prefix into libldmgreeter.pc |
2408 | + * Change versioned include and pkgconfig files from 1 to 0 |
2409 | + * Add themedir variable into pkgconfig file |
2410 | + * Connect language list in GTK greeter to login language |
2411 | + |
2412 | +Overview of changes in lightdm 0.1.1 |
2413 | + |
2414 | + * Change licence of libldmgreeter from GPL to LGPL |
2415 | + * Write X server and session output to log files |
2416 | + * Set PATH, DESKTOP_SESSION, GDMSESSION and USERNAME environment variables |
2417 | + * Run sessions through Xsession |
2418 | + * Close all X servers on exit |
2419 | + * Send SIGHUP to X server when returning to greeter (makes all clients quit) |
2420 | + * Change authorization after a session ends so previous session does not get |
2421 | + access |
2422 | + * Make shutdown buttons work in GTK+ greeter |
2423 | + * Make user manager configurable |
2424 | + * Make GTK+ greeter show username entry if no user list |
2425 | + * Hide C and POSIX languages in greeter |
2426 | + * Load language and layout from .dmrc file |
2427 | + |
2428 | +Overview of changes in lightdm 0.1.0 |
2429 | + |
2430 | + * Make --test-mode which runs as the current user |
2431 | + * Support displays acting as XDMCP terminals |
2432 | + * Support MIT-MAGIC-COOKIE-1 and XDM-AUTHORIZATION-1 authorization |
2433 | + * Support XDMCP over IPv6 |
2434 | + |
2435 | +Overview of changes in lightdm 0.0.4 |
2436 | + |
2437 | + * Support XDMCP logins |
2438 | + * Support multi-head |
2439 | + * Clean up resources on exit |
2440 | + * Create gettext instance in WebKit greeter |
2441 | + |
2442 | +Overview of changes in lightdm 0.0.3 |
2443 | + |
2444 | + * Wait for signal from X server before starting session |
2445 | + * Add language API |
2446 | + * Add keyboard layout API |
2447 | + * Add gettext support to the WebKit greeter |
2448 | + |
2449 | +Overview of changes in lightdm 0.0.2 |
2450 | + |
2451 | + * Fix installation of D-Bus service file |
2452 | + * Allow DISPLAY env variable to be passed to X server so can run Xephyr |
2453 | + * Handle no automatic login in webkit theme |
2454 | + |
2455 | +Overview of changes in lightdm 0.0.1 |
2456 | + |
2457 | + * Initial release |
2458 | |
2459 | === renamed file 'NEWS' => 'NEWS.moved' |
2460 | === added file 'README' |
2461 | --- README 1970-01-01 00:00:00 +0000 |
2462 | +++ README 2012-03-02 04:18:19 +0000 |
2463 | @@ -0,0 +1,1 @@ |
2464 | +https://launchpad.net/lightdm |
2465 | |
2466 | === renamed file 'README' => 'README.moved' |
2467 | === added file 'TODO' |
2468 | --- TODO 1970-01-01 00:00:00 +0000 |
2469 | +++ TODO 2012-03-02 04:18:19 +0000 |
2470 | @@ -0,0 +1,17 @@ |
2471 | +LightDM crashes when quitting after have XDMCP connection in PAMSession? |
2472 | +Stop being able to log into users on other seats |
2473 | +Add VNC support |
2474 | +Test XDMCP client seat |
2475 | +Per seat guest enable |
2476 | +Close FDs on starting session (but keep greeter pipe open) |
2477 | +Merge tests .script and .config |
2478 | +Rename XAuthorization to XAuthority? And merge in authentication? |
2479 | +Failsafe X and exponential backoff? |
2480 | +GET ALL HINTS WORKING |
2481 | +Always load dmrc from cache |
2482 | +Make liblightdm-qt use AccountsService |
2483 | +Fix XDM-AUTHENTICATION-KEY decode, add regression test |
2484 | + |
2485 | +*** |
2486 | +Fix guest accounts being created but the session doesn't start |
2487 | +Add tests to check guest accounts are being created and destroyed |
2488 | |
2489 | === added file 'aclocal.m4' |
2490 | --- aclocal.m4 1970-01-01 00:00:00 +0000 |
2491 | +++ aclocal.m4 2012-03-02 04:18:19 +0000 |
2492 | @@ -0,0 +1,1446 @@ |
2493 | +# generated automatically by aclocal 1.11.3 -*- Autoconf -*- |
2494 | + |
2495 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
2496 | +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, |
2497 | +# Inc. |
2498 | +# This file is free software; the Free Software Foundation |
2499 | +# gives unlimited permission to copy and/or distribute it, |
2500 | +# with or without modifications, as long as this notice is preserved. |
2501 | + |
2502 | +# This program is distributed in the hope that it will be useful, |
2503 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
2504 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
2505 | +# PARTICULAR PURPOSE. |
2506 | + |
2507 | +m4_ifndef([AC_AUTOCONF_VERSION], |
2508 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
2509 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
2510 | +[m4_warning([this file was generated for autoconf 2.68. |
2511 | +You have another version of autoconf. It may work, but is not guaranteed to. |
2512 | +If you have problems, you may need to regenerate the build system entirely. |
2513 | +To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
2514 | + |
2515 | +dnl GNOME_COMPILE_WARNINGS |
2516 | +dnl Turn on many useful compiler warnings |
2517 | +dnl For now, only works on GCC |
2518 | +AC_DEFUN([GNOME_COMPILE_WARNINGS],[ |
2519 | + dnl ****************************** |
2520 | + dnl More compiler warnings |
2521 | + dnl ****************************** |
2522 | + |
2523 | + AC_ARG_ENABLE(compile-warnings, |
2524 | + AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], |
2525 | + [Turn on compiler warnings]),, |
2526 | + [enable_compile_warnings="m4_default([$1],[yes])"]) |
2527 | + |
2528 | + warnCFLAGS= |
2529 | + if test "x$GCC" != xyes; then |
2530 | + enable_compile_warnings=no |
2531 | + fi |
2532 | + |
2533 | + warning_flags= |
2534 | + realsave_CFLAGS="$CFLAGS" |
2535 | + |
2536 | + case "$enable_compile_warnings" in |
2537 | + no) |
2538 | + warning_flags= |
2539 | + ;; |
2540 | + minimum) |
2541 | + warning_flags="-Wall" |
2542 | + ;; |
2543 | + yes) |
2544 | + warning_flags="-Wall -Wmissing-prototypes" |
2545 | + ;; |
2546 | + maximum|error) |
2547 | + warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith" |
2548 | + CFLAGS="$warning_flags $CFLAGS" |
2549 | + for option in -Wno-sign-compare; do |
2550 | + SAVE_CFLAGS="$CFLAGS" |
2551 | + CFLAGS="$CFLAGS $option" |
2552 | + AC_MSG_CHECKING([whether gcc understands $option]) |
2553 | + AC_TRY_COMPILE([], [], |
2554 | + has_option=yes, |
2555 | + has_option=no,) |
2556 | + CFLAGS="$SAVE_CFLAGS" |
2557 | + AC_MSG_RESULT($has_option) |
2558 | + if test $has_option = yes; then |
2559 | + warning_flags="$warning_flags $option" |
2560 | + fi |
2561 | + unset has_option |
2562 | + unset SAVE_CFLAGS |
2563 | + done |
2564 | + unset option |
2565 | + if test "$enable_compile_warnings" = "error" ; then |
2566 | + warning_flags="$warning_flags -Werror" |
2567 | + fi |
2568 | + ;; |
2569 | + *) |
2570 | + AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) |
2571 | + ;; |
2572 | + esac |
2573 | + CFLAGS="$realsave_CFLAGS" |
2574 | + AC_MSG_CHECKING(what warning flags to pass to the C compiler) |
2575 | + AC_MSG_RESULT($warning_flags) |
2576 | + |
2577 | + AC_ARG_ENABLE(iso-c, |
2578 | + AC_HELP_STRING([--enable-iso-c], |
2579 | + [Try to warn if code is not ISO C ]),, |
2580 | + [enable_iso_c=no]) |
2581 | + |
2582 | + AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) |
2583 | + complCFLAGS= |
2584 | + if test "x$enable_iso_c" != "xno"; then |
2585 | + if test "x$GCC" = "xyes"; then |
2586 | + case " $CFLAGS " in |
2587 | + *[\ \ ]-ansi[\ \ ]*) ;; |
2588 | + *) complCFLAGS="$complCFLAGS -ansi" ;; |
2589 | + esac |
2590 | + case " $CFLAGS " in |
2591 | + *[\ \ ]-pedantic[\ \ ]*) ;; |
2592 | + *) complCFLAGS="$complCFLAGS -pedantic" ;; |
2593 | + esac |
2594 | + fi |
2595 | + fi |
2596 | + AC_MSG_RESULT($complCFLAGS) |
2597 | + |
2598 | + WARN_CFLAGS="$warning_flags $complCFLAGS" |
2599 | + AC_SUBST(WARN_CFLAGS) |
2600 | +]) |
2601 | + |
2602 | +dnl For C++, do basically the same thing. |
2603 | + |
2604 | +AC_DEFUN([GNOME_CXX_WARNINGS],[ |
2605 | + AC_ARG_ENABLE(cxx-warnings, |
2606 | + AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@] |
2607 | + [Turn on compiler warnings.]),, |
2608 | + [enable_cxx_warnings="m4_default([$1],[minimum])"]) |
2609 | + |
2610 | + AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) |
2611 | + warnCXXFLAGS= |
2612 | + if test "x$GXX" != xyes; then |
2613 | + enable_cxx_warnings=no |
2614 | + fi |
2615 | + if test "x$enable_cxx_warnings" != "xno"; then |
2616 | + if test "x$GXX" = "xyes"; then |
2617 | + case " $CXXFLAGS " in |
2618 | + *[\ \ ]-Wall[\ \ ]*) ;; |
2619 | + *) warnCXXFLAGS="-Wall -Wno-unused" ;; |
2620 | + esac |
2621 | + |
2622 | + ## -W is not all that useful. And it cannot be controlled |
2623 | + ## with individual -Wno-xxx flags, unlike -Wall |
2624 | + if test "x$enable_cxx_warnings" = "xyes"; then |
2625 | + warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" |
2626 | + fi |
2627 | + fi |
2628 | + fi |
2629 | + AC_MSG_RESULT($warnCXXFLAGS) |
2630 | + |
2631 | + AC_ARG_ENABLE(iso-cxx, |
2632 | + AC_HELP_STRING([--enable-iso-cxx], |
2633 | + [Try to warn if code is not ISO C++ ]),, |
2634 | + [enable_iso_cxx=no]) |
2635 | + |
2636 | + AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) |
2637 | + complCXXFLAGS= |
2638 | + if test "x$enable_iso_cxx" != "xno"; then |
2639 | + if test "x$GXX" = "xyes"; then |
2640 | + case " $CXXFLAGS " in |
2641 | + *[\ \ ]-ansi[\ \ ]*) ;; |
2642 | + *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; |
2643 | + esac |
2644 | + |
2645 | + case " $CXXFLAGS " in |
2646 | + *[\ \ ]-pedantic[\ \ ]*) ;; |
2647 | + *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; |
2648 | + esac |
2649 | + fi |
2650 | + fi |
2651 | + AC_MSG_RESULT($complCXXFLAGS) |
2652 | + |
2653 | + WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" |
2654 | + AC_SUBST(WARN_CXXFLAGS) |
2655 | +]) |
2656 | + |
2657 | +# nls.m4 serial 5 (gettext-0.18) |
2658 | +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, |
2659 | +dnl Inc. |
2660 | +dnl This file is free software; the Free Software Foundation |
2661 | +dnl gives unlimited permission to copy and/or distribute it, |
2662 | +dnl with or without modifications, as long as this notice is preserved. |
2663 | +dnl |
2664 | +dnl This file can can be used in projects which are not available under |
2665 | +dnl the GNU General Public License or the GNU Library General Public |
2666 | +dnl License but which still want to provide support for the GNU gettext |
2667 | +dnl functionality. |
2668 | +dnl Please note that the actual code of the GNU gettext library is covered |
2669 | +dnl by the GNU Library General Public License, and the rest of the GNU |
2670 | +dnl gettext package package is covered by the GNU General Public License. |
2671 | +dnl They are *not* in the public domain. |
2672 | + |
2673 | +dnl Authors: |
2674 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
2675 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
2676 | + |
2677 | +AC_PREREQ([2.50]) |
2678 | + |
2679 | +AC_DEFUN([AM_NLS], |
2680 | +[ |
2681 | + AC_MSG_CHECKING([whether NLS is requested]) |
2682 | + dnl Default is enabled NLS |
2683 | + AC_ARG_ENABLE([nls], |
2684 | + [ --disable-nls do not use Native Language Support], |
2685 | + USE_NLS=$enableval, USE_NLS=yes) |
2686 | + AC_MSG_RESULT([$USE_NLS]) |
2687 | + AC_SUBST([USE_NLS]) |
2688 | +]) |
2689 | + |
2690 | +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
2691 | +# serial 1 (pkg-config-0.24) |
2692 | +# |
2693 | +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
2694 | +# |
2695 | +# This program is free software; you can redistribute it and/or modify |
2696 | +# it under the terms of the GNU General Public License as published by |
2697 | +# the Free Software Foundation; either version 2 of the License, or |
2698 | +# (at your option) any later version. |
2699 | +# |
2700 | +# This program is distributed in the hope that it will be useful, but |
2701 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
2702 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
2703 | +# General Public License for more details. |
2704 | +# |
2705 | +# You should have received a copy of the GNU General Public License |
2706 | +# along with this program; if not, write to the Free Software |
2707 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
2708 | +# |
2709 | +# As a special exception to the GNU General Public License, if you |
2710 | +# distribute this file as part of a program that contains a |
2711 | +# configuration script generated by Autoconf, you may include it under |
2712 | +# the same distribution terms that you use for the rest of that program. |
2713 | + |
2714 | +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
2715 | +# ---------------------------------- |
2716 | +AC_DEFUN([PKG_PROG_PKG_CONFIG], |
2717 | +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
2718 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
2719 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
2720 | +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
2721 | +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
2722 | +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
2723 | + |
2724 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
2725 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
2726 | +fi |
2727 | +if test -n "$PKG_CONFIG"; then |
2728 | + _pkg_min_version=m4_default([$1], [0.9.0]) |
2729 | + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
2730 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
2731 | + AC_MSG_RESULT([yes]) |
2732 | + else |
2733 | + AC_MSG_RESULT([no]) |
2734 | + PKG_CONFIG="" |
2735 | + fi |
2736 | +fi[]dnl |
2737 | +])# PKG_PROG_PKG_CONFIG |
2738 | + |
2739 | +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
2740 | +# |
2741 | +# Check to see whether a particular set of modules exists. Similar |
2742 | +# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
2743 | +# |
2744 | +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
2745 | +# only at the first occurence in configure.ac, so if the first place |
2746 | +# it's called might be skipped (such as if it is within an "if", you |
2747 | +# have to call PKG_CHECK_EXISTS manually |
2748 | +# -------------------------------------------------------------- |
2749 | +AC_DEFUN([PKG_CHECK_EXISTS], |
2750 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
2751 | +if test -n "$PKG_CONFIG" && \ |
2752 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
2753 | + m4_default([$2], [:]) |
2754 | +m4_ifvaln([$3], [else |
2755 | + $3])dnl |
2756 | +fi]) |
2757 | + |
2758 | +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
2759 | +# --------------------------------------------- |
2760 | +m4_define([_PKG_CONFIG], |
2761 | +[if test -n "$$1"; then |
2762 | + pkg_cv_[]$1="$$1" |
2763 | + elif test -n "$PKG_CONFIG"; then |
2764 | + PKG_CHECK_EXISTS([$3], |
2765 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
2766 | + test "x$?" != "x0" && pkg_failed=yes ], |
2767 | + [pkg_failed=yes]) |
2768 | + else |
2769 | + pkg_failed=untried |
2770 | +fi[]dnl |
2771 | +])# _PKG_CONFIG |
2772 | + |
2773 | +# _PKG_SHORT_ERRORS_SUPPORTED |
2774 | +# ----------------------------- |
2775 | +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
2776 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
2777 | +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2778 | + _pkg_short_errors_supported=yes |
2779 | +else |
2780 | + _pkg_short_errors_supported=no |
2781 | +fi[]dnl |
2782 | +])# _PKG_SHORT_ERRORS_SUPPORTED |
2783 | + |
2784 | + |
2785 | +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
2786 | +# [ACTION-IF-NOT-FOUND]) |
2787 | +# |
2788 | +# |
2789 | +# Note that if there is a possibility the first call to |
2790 | +# PKG_CHECK_MODULES might not happen, you should be sure to include an |
2791 | +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
2792 | +# |
2793 | +# |
2794 | +# -------------------------------------------------------------- |
2795 | +AC_DEFUN([PKG_CHECK_MODULES], |
2796 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
2797 | +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
2798 | +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
2799 | + |
2800 | +pkg_failed=no |
2801 | +AC_MSG_CHECKING([for $1]) |
2802 | + |
2803 | +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
2804 | +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
2805 | + |
2806 | +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
2807 | +and $1[]_LIBS to avoid the need to call pkg-config. |
2808 | +See the pkg-config man page for more details.]) |
2809 | + |
2810 | +if test $pkg_failed = yes; then |
2811 | + AC_MSG_RESULT([no]) |
2812 | + _PKG_SHORT_ERRORS_SUPPORTED |
2813 | + if test $_pkg_short_errors_supported = yes; then |
2814 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
2815 | + else |
2816 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
2817 | + fi |
2818 | + # Put the nasty error message in config.log where it belongs |
2819 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
2820 | + |
2821 | + m4_default([$4], [AC_MSG_ERROR( |
2822 | +[Package requirements ($2) were not met: |
2823 | + |
2824 | +$$1_PKG_ERRORS |
2825 | + |
2826 | +Consider adjusting the PKG_CONFIG_PATH environment variable if you |
2827 | +installed software in a non-standard prefix. |
2828 | + |
2829 | +_PKG_TEXT])[]dnl |
2830 | + ]) |
2831 | +elif test $pkg_failed = untried; then |
2832 | + AC_MSG_RESULT([no]) |
2833 | + m4_default([$4], [AC_MSG_FAILURE( |
2834 | +[The pkg-config script could not be found or is too old. Make sure it |
2835 | +is in your PATH or set the PKG_CONFIG environment variable to the full |
2836 | +path to pkg-config. |
2837 | + |
2838 | +_PKG_TEXT |
2839 | + |
2840 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
2841 | + ]) |
2842 | +else |
2843 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
2844 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
2845 | + AC_MSG_RESULT([yes]) |
2846 | + $3 |
2847 | +fi[]dnl |
2848 | +])# PKG_CHECK_MODULES |
2849 | + |
2850 | +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software |
2851 | +# Foundation, Inc. |
2852 | +# |
2853 | +# This file is free software; the Free Software Foundation |
2854 | +# gives unlimited permission to copy and/or distribute it, |
2855 | +# with or without modifications, as long as this notice is preserved. |
2856 | + |
2857 | +# serial 1 |
2858 | + |
2859 | +# AM_AUTOMAKE_VERSION(VERSION) |
2860 | +# ---------------------------- |
2861 | +# Automake X.Y traces this macro to ensure aclocal.m4 has been |
2862 | +# generated from the m4 files accompanying Automake X.Y. |
2863 | +# (This private macro should not be called outside this file.) |
2864 | +AC_DEFUN([AM_AUTOMAKE_VERSION], |
2865 | +[am__api_version='1.11' |
2866 | +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
2867 | +dnl require some minimum version. Point them to the right macro. |
2868 | +m4_if([$1], [1.11.3], [], |
2869 | + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
2870 | +]) |
2871 | + |
2872 | +# _AM_AUTOCONF_VERSION(VERSION) |
2873 | +# ----------------------------- |
2874 | +# aclocal traces this macro to find the Autoconf version. |
2875 | +# This is a private macro too. Using m4_define simplifies |
2876 | +# the logic in aclocal, which can simply ignore this definition. |
2877 | +m4_define([_AM_AUTOCONF_VERSION], []) |
2878 | + |
2879 | +# AM_SET_CURRENT_AUTOMAKE_VERSION |
2880 | +# ------------------------------- |
2881 | +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
2882 | +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
2883 | +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
2884 | +[AM_AUTOMAKE_VERSION([1.11.3])dnl |
2885 | +m4_ifndef([AC_AUTOCONF_VERSION], |
2886 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
2887 | +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
2888 | + |
2889 | +# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
2890 | + |
2891 | +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
2892 | +# |
2893 | +# This file is free software; the Free Software Foundation |
2894 | +# gives unlimited permission to copy and/or distribute it, |
2895 | +# with or without modifications, as long as this notice is preserved. |
2896 | + |
2897 | +# serial 1 |
2898 | + |
2899 | +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
2900 | +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
2901 | +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
2902 | +# |
2903 | +# Of course, Automake must honor this variable whenever it calls a |
2904 | +# tool from the auxiliary directory. The problem is that $srcdir (and |
2905 | +# therefore $ac_aux_dir as well) can be either absolute or relative, |
2906 | +# depending on how configure is run. This is pretty annoying, since |
2907 | +# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
2908 | +# source directory, any form will work fine, but in subdirectories a |
2909 | +# relative path needs to be adjusted first. |
2910 | +# |
2911 | +# $ac_aux_dir/missing |
2912 | +# fails when called from a subdirectory if $ac_aux_dir is relative |
2913 | +# $top_srcdir/$ac_aux_dir/missing |
2914 | +# fails if $ac_aux_dir is absolute, |
2915 | +# fails when called from a subdirectory in a VPATH build with |
2916 | +# a relative $ac_aux_dir |
2917 | +# |
2918 | +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
2919 | +# are both prefixed by $srcdir. In an in-source build this is usually |
2920 | +# harmless because $srcdir is `.', but things will broke when you |
2921 | +# start a VPATH build or use an absolute $srcdir. |
2922 | +# |
2923 | +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
2924 | +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
2925 | +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
2926 | +# and then we would define $MISSING as |
2927 | +# MISSING="\${SHELL} $am_aux_dir/missing" |
2928 | +# This will work as long as MISSING is not called from configure, because |
2929 | +# unfortunately $(top_srcdir) has no meaning in configure. |
2930 | +# However there are other variables, like CC, which are often used in |
2931 | +# configure, and could therefore not use this "fixed" $ac_aux_dir. |
2932 | +# |
2933 | +# Another solution, used here, is to always expand $ac_aux_dir to an |
2934 | +# absolute PATH. The drawback is that using absolute paths prevent a |
2935 | +# configured tree to be moved without reconfiguration. |
2936 | + |
2937 | +AC_DEFUN([AM_AUX_DIR_EXPAND], |
2938 | +[dnl Rely on autoconf to set up CDPATH properly. |
2939 | +AC_PREREQ([2.50])dnl |
2940 | +# expand $ac_aux_dir to an absolute path |
2941 | +am_aux_dir=`cd $ac_aux_dir && pwd` |
2942 | +]) |
2943 | + |
2944 | +# AM_CONDITIONAL -*- Autoconf -*- |
2945 | + |
2946 | +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |
2947 | +# Free Software Foundation, Inc. |
2948 | +# |
2949 | +# This file is free software; the Free Software Foundation |
2950 | +# gives unlimited permission to copy and/or distribute it, |
2951 | +# with or without modifications, as long as this notice is preserved. |
2952 | + |
2953 | +# serial 9 |
2954 | + |
2955 | +# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
2956 | +# ------------------------------------- |
2957 | +# Define a conditional. |
2958 | +AC_DEFUN([AM_CONDITIONAL], |
2959 | +[AC_PREREQ(2.52)dnl |
2960 | + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
2961 | + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
2962 | +AC_SUBST([$1_TRUE])dnl |
2963 | +AC_SUBST([$1_FALSE])dnl |
2964 | +_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
2965 | +_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
2966 | +m4_define([_AM_COND_VALUE_$1], [$2])dnl |
2967 | +if $2; then |
2968 | + $1_TRUE= |
2969 | + $1_FALSE='#' |
2970 | +else |
2971 | + $1_TRUE='#' |
2972 | + $1_FALSE= |
2973 | +fi |
2974 | +AC_CONFIG_COMMANDS_PRE( |
2975 | +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
2976 | + AC_MSG_ERROR([[conditional "$1" was never defined. |
2977 | +Usually this means the macro was only invoked conditionally.]]) |
2978 | +fi])]) |
2979 | + |
2980 | +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, |
2981 | +# 2010, 2011 Free Software Foundation, Inc. |
2982 | +# |
2983 | +# This file is free software; the Free Software Foundation |
2984 | +# gives unlimited permission to copy and/or distribute it, |
2985 | +# with or without modifications, as long as this notice is preserved. |
2986 | + |
2987 | +# serial 12 |
2988 | + |
2989 | +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
2990 | +# written in clear, in which case automake, when reading aclocal.m4, |
2991 | +# will think it sees a *use*, and therefore will trigger all it's |
2992 | +# C support machinery. Also note that it means that autoscan, seeing |
2993 | +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
2994 | + |
2995 | + |
2996 | +# _AM_DEPENDENCIES(NAME) |
2997 | +# ---------------------- |
2998 | +# See how the compiler implements dependency checking. |
2999 | +# NAME is "CC", "CXX", "GCJ", or "OBJC". |
3000 | +# We try a few techniques and use that to set a single cache variable. |
3001 | +# |
3002 | +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
3003 | +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
3004 | +# dependency, and given that the user is not expected to run this macro, |
3005 | +# just rely on AC_PROG_CC. |
3006 | +AC_DEFUN([_AM_DEPENDENCIES], |
3007 | +[AC_REQUIRE([AM_SET_DEPDIR])dnl |
3008 | +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
3009 | +AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
3010 | +AC_REQUIRE([AM_DEP_TRACK])dnl |
3011 | + |
3012 | +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
3013 | + [$1], CXX, [depcc="$CXX" am_compiler_list=], |
3014 | + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
3015 | + [$1], UPC, [depcc="$UPC" am_compiler_list=], |
3016 | + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
3017 | + [depcc="$$1" am_compiler_list=]) |
3018 | + |
3019 | +AC_CACHE_CHECK([dependency style of $depcc], |
3020 | + [am_cv_$1_dependencies_compiler_type], |
3021 | +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3022 | + # We make a subdir and do the tests there. Otherwise we can end up |
3023 | + # making bogus files that we don't know about and never remove. For |
3024 | + # instance it was reported that on HP-UX the gcc test will end up |
3025 | + # making a dummy file named `D' -- because `-MD' means `put the output |
3026 | + # in D'. |
3027 | + rm -rf conftest.dir |
3028 | + mkdir conftest.dir |
3029 | + # Copy depcomp to subdir because otherwise we won't find it if we're |
3030 | + # using a relative directory. |
3031 | + cp "$am_depcomp" conftest.dir |
3032 | + cd conftest.dir |
3033 | + # We will build objects and dependencies in a subdirectory because |
3034 | + # it helps to detect inapplicable dependency modes. For instance |
3035 | + # both Tru64's cc and ICC support -MD to output dependencies as a |
3036 | + # side effect of compilation, but ICC will put the dependencies in |
3037 | + # the current directory while Tru64 will put them in the object |
3038 | + # directory. |
3039 | + mkdir sub |
3040 | + |
3041 | + am_cv_$1_dependencies_compiler_type=none |
3042 | + if test "$am_compiler_list" = ""; then |
3043 | + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
3044 | + fi |
3045 | + am__universal=false |
3046 | + m4_case([$1], [CC], |
3047 | + [case " $depcc " in #( |
3048 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
3049 | + esac], |
3050 | + [CXX], |
3051 | + [case " $depcc " in #( |
3052 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
3053 | + esac]) |
3054 | + |
3055 | + for depmode in $am_compiler_list; do |
3056 | + # Setup a source with many dependencies, because some compilers |
3057 | + # like to wrap large dependency lists on column 80 (with \), and |
3058 | + # we should not choose a depcomp mode which is confused by this. |
3059 | + # |
3060 | + # We need to recreate these files for each test, as the compiler may |
3061 | + # overwrite some of them when testing with obscure command lines. |
3062 | + # This happens at least with the AIX C compiler. |
3063 | + : > sub/conftest.c |
3064 | + for i in 1 2 3 4 5 6; do |
3065 | + echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3066 | + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3067 | + # Solaris 8's {/usr,}/bin/sh. |
3068 | + touch sub/conftst$i.h |
3069 | + done |
3070 | + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3071 | + |
3072 | + # We check with `-c' and `-o' for the sake of the "dashmstdout" |
3073 | + # mode. It turns out that the SunPro C++ compiler does not properly |
3074 | + # handle `-M -o', and we need to detect this. Also, some Intel |
3075 | + # versions had trouble with output in subdirs |
3076 | + am__obj=sub/conftest.${OBJEXT-o} |
3077 | + am__minus_obj="-o $am__obj" |
3078 | + case $depmode in |
3079 | + gcc) |
3080 | + # This depmode causes a compiler race in universal mode. |
3081 | + test "$am__universal" = false || continue |
3082 | + ;; |
3083 | + nosideeffect) |
3084 | + # after this tag, mechanisms are not by side-effect, so they'll |
3085 | + # only be used when explicitly requested |
3086 | + if test "x$enable_dependency_tracking" = xyes; then |
3087 | + continue |
3088 | + else |
3089 | + break |
3090 | + fi |
3091 | + ;; |
3092 | + msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3093 | + # This compiler won't grok `-c -o', but also, the minuso test has |
3094 | + # not run yet. These depmodes are late enough in the game, and |
3095 | + # so weak that their functioning should not be impacted. |
3096 | + am__obj=conftest.${OBJEXT-o} |
3097 | + am__minus_obj= |
3098 | + ;; |
3099 | + none) break ;; |
3100 | + esac |
3101 | + if depmode=$depmode \ |
3102 | + source=sub/conftest.c object=$am__obj \ |
3103 | + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3104 | + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
3105 | + >/dev/null 2>conftest.err && |
3106 | + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3107 | + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3108 | + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
3109 | + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3110 | + # icc doesn't choke on unknown options, it will just issue warnings |
3111 | + # or remarks (even with -Werror). So we grep stderr for any message |
3112 | + # that says an option was ignored or not supported. |
3113 | + # When given -MP, icc 7.0 and 7.1 complain thusly: |
3114 | + # icc: Command line warning: ignoring option '-M'; no argument required |
3115 | + # The diagnosis changed in icc 8.0: |
3116 | + # icc: Command line remark: option '-MP' not supported |
3117 | + if (grep 'ignoring option' conftest.err || |
3118 | + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3119 | + am_cv_$1_dependencies_compiler_type=$depmode |
3120 | + break |
3121 | + fi |
3122 | + fi |
3123 | + done |
3124 | + |
3125 | + cd .. |
3126 | + rm -rf conftest.dir |
3127 | +else |
3128 | + am_cv_$1_dependencies_compiler_type=none |
3129 | +fi |
3130 | +]) |
3131 | +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
3132 | +AM_CONDITIONAL([am__fastdep$1], [ |
3133 | + test "x$enable_dependency_tracking" != xno \ |
3134 | + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
3135 | +]) |
3136 | + |
3137 | + |
3138 | +# AM_SET_DEPDIR |
3139 | +# ------------- |
3140 | +# Choose a directory name for dependency files. |
3141 | +# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
3142 | +AC_DEFUN([AM_SET_DEPDIR], |
3143 | +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
3144 | +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
3145 | +]) |
3146 | + |
3147 | + |
3148 | +# AM_DEP_TRACK |
3149 | +# ------------ |
3150 | +AC_DEFUN([AM_DEP_TRACK], |
3151 | +[AC_ARG_ENABLE(dependency-tracking, |
3152 | +[ --disable-dependency-tracking speeds up one-time build |
3153 | + --enable-dependency-tracking do not reject slow dependency extractors]) |
3154 | +if test "x$enable_dependency_tracking" != xno; then |
3155 | + am_depcomp="$ac_aux_dir/depcomp" |
3156 | + AMDEPBACKSLASH='\' |
3157 | + am__nodep='_no' |
3158 | +fi |
3159 | +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
3160 | +AC_SUBST([AMDEPBACKSLASH])dnl |
3161 | +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
3162 | +AC_SUBST([am__nodep])dnl |
3163 | +_AM_SUBST_NOTMAKE([am__nodep])dnl |
3164 | +]) |
3165 | + |
3166 | +# Generate code to set up dependency tracking. -*- Autoconf -*- |
3167 | + |
3168 | +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
3169 | +# Free Software Foundation, Inc. |
3170 | +# |
3171 | +# This file is free software; the Free Software Foundation |
3172 | +# gives unlimited permission to copy and/or distribute it, |
3173 | +# with or without modifications, as long as this notice is preserved. |
3174 | + |
3175 | +#serial 5 |
3176 | + |
3177 | +# _AM_OUTPUT_DEPENDENCY_COMMANDS |
3178 | +# ------------------------------ |
3179 | +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
3180 | +[{ |
3181 | + # Autoconf 2.62 quotes --file arguments for eval, but not when files |
3182 | + # are listed without --file. Let's play safe and only enable the eval |
3183 | + # if we detect the quoting. |
3184 | + case $CONFIG_FILES in |
3185 | + *\'*) eval set x "$CONFIG_FILES" ;; |
3186 | + *) set x $CONFIG_FILES ;; |
3187 | + esac |
3188 | + shift |
3189 | + for mf |
3190 | + do |
3191 | + # Strip MF so we end up with the name of the file. |
3192 | + mf=`echo "$mf" | sed -e 's/:.*$//'` |
3193 | + # Check whether this is an Automake generated Makefile or not. |
3194 | + # We used to match only the files named `Makefile.in', but |
3195 | + # some people rename them; so instead we look at the file content. |
3196 | + # Grep'ing the first line is not enough: some people post-process |
3197 | + # each Makefile.in and add a new line on top of each file to say so. |
3198 | + # Grep'ing the whole file is not good either: AIX grep has a line |
3199 | + # limit of 2048, but all sed's we know have understand at least 4000. |
3200 | + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
3201 | + dirpart=`AS_DIRNAME("$mf")` |
3202 | + else |
3203 | + continue |
3204 | + fi |
3205 | + # Extract the definition of DEPDIR, am__include, and am__quote |
3206 | + # from the Makefile without running `make'. |
3207 | + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
3208 | + test -z "$DEPDIR" && continue |
3209 | + am__include=`sed -n 's/^am__include = //p' < "$mf"` |
3210 | + test -z "am__include" && continue |
3211 | + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
3212 | + # When using ansi2knr, U may be empty or an underscore; expand it |
3213 | + U=`sed -n 's/^U = //p' < "$mf"` |
3214 | + # Find all dependency output files, they are included files with |
3215 | + # $(DEPDIR) in their names. We invoke sed twice because it is the |
3216 | + # simplest approach to changing $(DEPDIR) to its actual value in the |
3217 | + # expansion. |
3218 | + for file in `sed -n " |
3219 | + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
3220 | + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
3221 | + # Make sure the directory exists. |
3222 | + test -f "$dirpart/$file" && continue |
3223 | + fdir=`AS_DIRNAME(["$file"])` |
3224 | + AS_MKDIR_P([$dirpart/$fdir]) |
3225 | + # echo "creating $dirpart/$file" |
3226 | + echo '# dummy' > "$dirpart/$file" |
3227 | + done |
3228 | + done |
3229 | +} |
3230 | +])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
3231 | + |
3232 | + |
3233 | +# AM_OUTPUT_DEPENDENCY_COMMANDS |
3234 | +# ----------------------------- |
3235 | +# This macro should only be invoked once -- use via AC_REQUIRE. |
3236 | +# |
3237 | +# This code is only required when automatic dependency tracking |
3238 | +# is enabled. FIXME. This creates each `.P' file that we will |
3239 | +# need in order to bootstrap the dependency handling code. |
3240 | +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
3241 | +[AC_CONFIG_COMMANDS([depfiles], |
3242 | + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
3243 | + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
3244 | +]) |
3245 | + |
3246 | +# Do all the work for Automake. -*- Autoconf -*- |
3247 | + |
3248 | +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3249 | +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
3250 | +# |
3251 | +# This file is free software; the Free Software Foundation |
3252 | +# gives unlimited permission to copy and/or distribute it, |
3253 | +# with or without modifications, as long as this notice is preserved. |
3254 | + |
3255 | +# serial 16 |
3256 | + |
3257 | +# This macro actually does too much. Some checks are only needed if |
3258 | +# your package does certain things. But this isn't really a big deal. |
3259 | + |
3260 | +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
3261 | +# AM_INIT_AUTOMAKE([OPTIONS]) |
3262 | +# ----------------------------------------------- |
3263 | +# The call with PACKAGE and VERSION arguments is the old style |
3264 | +# call (pre autoconf-2.50), which is being phased out. PACKAGE |
3265 | +# and VERSION should now be passed to AC_INIT and removed from |
3266 | +# the call to AM_INIT_AUTOMAKE. |
3267 | +# We support both call styles for the transition. After |
3268 | +# the next Automake release, Autoconf can make the AC_INIT |
3269 | +# arguments mandatory, and then we can depend on a new Autoconf |
3270 | +# release and drop the old call support. |
3271 | +AC_DEFUN([AM_INIT_AUTOMAKE], |
3272 | +[AC_PREREQ([2.62])dnl |
3273 | +dnl Autoconf wants to disallow AM_ names. We explicitly allow |
3274 | +dnl the ones we care about. |
3275 | +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
3276 | +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
3277 | +AC_REQUIRE([AC_PROG_INSTALL])dnl |
3278 | +if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3279 | + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3280 | + # is not polluted with repeated "-I." |
3281 | + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
3282 | + # test to see if srcdir already configured |
3283 | + if test -f $srcdir/config.status; then |
3284 | + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
3285 | + fi |
3286 | +fi |
3287 | + |
3288 | +# test whether we have cygpath |
3289 | +if test -z "$CYGPATH_W"; then |
3290 | + if (cygpath --version) >/dev/null 2>/dev/null; then |
3291 | + CYGPATH_W='cygpath -w' |
3292 | + else |
3293 | + CYGPATH_W=echo |
3294 | + fi |
3295 | +fi |
3296 | +AC_SUBST([CYGPATH_W]) |
3297 | + |
3298 | +# Define the identity of the package. |
3299 | +dnl Distinguish between old-style and new-style calls. |
3300 | +m4_ifval([$2], |
3301 | +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
3302 | + AC_SUBST([PACKAGE], [$1])dnl |
3303 | + AC_SUBST([VERSION], [$2])], |
3304 | +[_AM_SET_OPTIONS([$1])dnl |
3305 | +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
3306 | +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
3307 | + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
3308 | + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
3309 | + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
3310 | + |
3311 | +_AM_IF_OPTION([no-define],, |
3312 | +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
3313 | + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
3314 | + |
3315 | +# Some tools Automake needs. |
3316 | +AC_REQUIRE([AM_SANITY_CHECK])dnl |
3317 | +AC_REQUIRE([AC_ARG_PROGRAM])dnl |
3318 | +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
3319 | +AM_MISSING_PROG(AUTOCONF, autoconf) |
3320 | +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
3321 | +AM_MISSING_PROG(AUTOHEADER, autoheader) |
3322 | +AM_MISSING_PROG(MAKEINFO, makeinfo) |
3323 | +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
3324 | +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
3325 | +AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
3326 | +# We need awk for the "check" target. The system "awk" is bad on |
3327 | +# some platforms. |
3328 | +AC_REQUIRE([AC_PROG_AWK])dnl |
3329 | +AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
3330 | +AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
3331 | +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
3332 | + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
3333 | + [_AM_PROG_TAR([v7])])]) |
3334 | +_AM_IF_OPTION([no-dependencies],, |
3335 | +[AC_PROVIDE_IFELSE([AC_PROG_CC], |
3336 | + [_AM_DEPENDENCIES(CC)], |
3337 | + [define([AC_PROG_CC], |
3338 | + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
3339 | +AC_PROVIDE_IFELSE([AC_PROG_CXX], |
3340 | + [_AM_DEPENDENCIES(CXX)], |
3341 | + [define([AC_PROG_CXX], |
3342 | + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
3343 | +AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
3344 | + [_AM_DEPENDENCIES(OBJC)], |
3345 | + [define([AC_PROG_OBJC], |
3346 | + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
3347 | +]) |
3348 | +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
3349 | +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
3350 | +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
3351 | +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
3352 | +AC_CONFIG_COMMANDS_PRE(dnl |
3353 | +[m4_provide_if([_AM_COMPILER_EXEEXT], |
3354 | + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
3355 | +]) |
3356 | + |
3357 | +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
3358 | +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
3359 | +dnl mangled by Autoconf and run in a shell conditional statement. |
3360 | +m4_define([_AC_COMPILER_EXEEXT], |
3361 | +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
3362 | + |
3363 | + |
3364 | +# When config.status generates a header, we must update the stamp-h file. |
3365 | +# This file resides in the same directory as the config header |
3366 | +# that is generated. The stamp files are numbered to have different names. |
3367 | + |
3368 | +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
3369 | +# loop where config.status creates the headers, so we can generate |
3370 | +# our stamp files there. |
3371 | +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
3372 | +[# Compute $1's index in $config_headers. |
3373 | +_am_arg=$1 |
3374 | +_am_stamp_count=1 |
3375 | +for _am_header in $config_headers :; do |
3376 | + case $_am_header in |
3377 | + $_am_arg | $_am_arg:* ) |
3378 | + break ;; |
3379 | + * ) |
3380 | + _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
3381 | + esac |
3382 | +done |
3383 | +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
3384 | + |
3385 | +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, |
3386 | +# Inc. |
3387 | +# |
3388 | +# This file is free software; the Free Software Foundation |
3389 | +# gives unlimited permission to copy and/or distribute it, |
3390 | +# with or without modifications, as long as this notice is preserved. |
3391 | + |
3392 | +# serial 1 |
3393 | + |
3394 | +# AM_PROG_INSTALL_SH |
3395 | +# ------------------ |
3396 | +# Define $install_sh. |
3397 | +AC_DEFUN([AM_PROG_INSTALL_SH], |
3398 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
3399 | +if test x"${install_sh}" != xset; then |
3400 | + case $am_aux_dir in |
3401 | + *\ * | *\ *) |
3402 | + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
3403 | + *) |
3404 | + install_sh="\${SHELL} $am_aux_dir/install-sh" |
3405 | + esac |
3406 | +fi |
3407 | +AC_SUBST(install_sh)]) |
3408 | + |
3409 | +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
3410 | +# |
3411 | +# This file is free software; the Free Software Foundation |
3412 | +# gives unlimited permission to copy and/or distribute it, |
3413 | +# with or without modifications, as long as this notice is preserved. |
3414 | + |
3415 | +# serial 2 |
3416 | + |
3417 | +# Check whether the underlying file-system supports filenames |
3418 | +# with a leading dot. For instance MS-DOS doesn't. |
3419 | +AC_DEFUN([AM_SET_LEADING_DOT], |
3420 | +[rm -rf .tst 2>/dev/null |
3421 | +mkdir .tst 2>/dev/null |
3422 | +if test -d .tst; then |
3423 | + am__leading_dot=. |
3424 | +else |
3425 | + am__leading_dot=_ |
3426 | +fi |
3427 | +rmdir .tst 2>/dev/null |
3428 | +AC_SUBST([am__leading_dot])]) |
3429 | + |
3430 | +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
3431 | +# From Jim Meyering |
3432 | + |
3433 | +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, |
3434 | +# 2011 Free Software Foundation, Inc. |
3435 | +# |
3436 | +# This file is free software; the Free Software Foundation |
3437 | +# gives unlimited permission to copy and/or distribute it, |
3438 | +# with or without modifications, as long as this notice is preserved. |
3439 | + |
3440 | +# serial 5 |
3441 | + |
3442 | +# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
3443 | +# ---------------------------------- |
3444 | +# Control maintainer-specific portions of Makefiles. |
3445 | +# Default is to disable them, unless `enable' is passed literally. |
3446 | +# For symmetry, `disable' may be passed as well. Anyway, the user |
3447 | +# can override the default with the --enable/--disable switch. |
3448 | +AC_DEFUN([AM_MAINTAINER_MODE], |
3449 | +[m4_case(m4_default([$1], [disable]), |
3450 | + [enable], [m4_define([am_maintainer_other], [disable])], |
3451 | + [disable], [m4_define([am_maintainer_other], [enable])], |
3452 | + [m4_define([am_maintainer_other], [enable]) |
3453 | + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
3454 | +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
3455 | + dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
3456 | + AC_ARG_ENABLE([maintainer-mode], |
3457 | +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful |
3458 | + (and sometimes confusing) to the casual installer], |
3459 | + [USE_MAINTAINER_MODE=$enableval], |
3460 | + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
3461 | + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
3462 | + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
3463 | + MAINT=$MAINTAINER_MODE_TRUE |
3464 | + AC_SUBST([MAINT])dnl |
3465 | +] |
3466 | +) |
3467 | + |
3468 | +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
3469 | + |
3470 | +# Check to see how 'make' treats includes. -*- Autoconf -*- |
3471 | + |
3472 | +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. |
3473 | +# |
3474 | +# This file is free software; the Free Software Foundation |
3475 | +# gives unlimited permission to copy and/or distribute it, |
3476 | +# with or without modifications, as long as this notice is preserved. |
3477 | + |
3478 | +# serial 4 |
3479 | + |
3480 | +# AM_MAKE_INCLUDE() |
3481 | +# ----------------- |
3482 | +# Check to see how make treats includes. |
3483 | +AC_DEFUN([AM_MAKE_INCLUDE], |
3484 | +[am_make=${MAKE-make} |
3485 | +cat > confinc << 'END' |
3486 | +am__doit: |
3487 | + @echo this is the am__doit target |
3488 | +.PHONY: am__doit |
3489 | +END |
3490 | +# If we don't find an include directive, just comment out the code. |
3491 | +AC_MSG_CHECKING([for style of include used by $am_make]) |
3492 | +am__include="#" |
3493 | +am__quote= |
3494 | +_am_result=none |
3495 | +# First try GNU make style include. |
3496 | +echo "include confinc" > confmf |
3497 | +# Ignore all kinds of additional output from `make'. |
3498 | +case `$am_make -s -f confmf 2> /dev/null` in #( |
3499 | +*the\ am__doit\ target*) |
3500 | + am__include=include |
3501 | + am__quote= |
3502 | + _am_result=GNU |
3503 | + ;; |
3504 | +esac |
3505 | +# Now try BSD make style include. |
3506 | +if test "$am__include" = "#"; then |
3507 | + echo '.include "confinc"' > confmf |
3508 | + case `$am_make -s -f confmf 2> /dev/null` in #( |
3509 | + *the\ am__doit\ target*) |
3510 | + am__include=.include |
3511 | + am__quote="\"" |
3512 | + _am_result=BSD |
3513 | + ;; |
3514 | + esac |
3515 | +fi |
3516 | +AC_SUBST([am__include]) |
3517 | +AC_SUBST([am__quote]) |
3518 | +AC_MSG_RESULT([$_am_result]) |
3519 | +rm -f confinc confmf |
3520 | +]) |
3521 | + |
3522 | +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
3523 | +# Free Software Foundation, Inc. |
3524 | +# |
3525 | +# This file is free software; the Free Software Foundation |
3526 | +# gives unlimited permission to copy and/or distribute it, |
3527 | +# with or without modifications, as long as this notice is preserved. |
3528 | + |
3529 | +# serial 6 |
3530 | + |
3531 | +# AM_PROG_CC_C_O |
3532 | +# -------------- |
3533 | +# Like AC_PROG_CC_C_O, but changed for automake. |
3534 | +AC_DEFUN([AM_PROG_CC_C_O], |
3535 | +[AC_REQUIRE([AC_PROG_CC_C_O])dnl |
3536 | +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
3537 | +AC_REQUIRE_AUX_FILE([compile])dnl |
3538 | +# FIXME: we rely on the cache variable name because |
3539 | +# there is no other way. |
3540 | +set dummy $CC |
3541 | +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
3542 | +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
3543 | +if test "$am_t" != yes; then |
3544 | + # Losing compiler, so override with the script. |
3545 | + # FIXME: It is wrong to rewrite CC. |
3546 | + # But if we don't then we get into trouble of one sort or another. |
3547 | + # A longer-term fix would be to have automake use am__CC in this case, |
3548 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3549 | + CC="$am_aux_dir/compile $CC" |
3550 | +fi |
3551 | +dnl Make sure AC_PROG_CC is never called again, or it will override our |
3552 | +dnl setting of CC. |
3553 | +m4_define([AC_PROG_CC], |
3554 | + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
3555 | +]) |
3556 | + |
3557 | +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
3558 | + |
3559 | +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
3560 | +# Free Software Foundation, Inc. |
3561 | +# |
3562 | +# This file is free software; the Free Software Foundation |
3563 | +# gives unlimited permission to copy and/or distribute it, |
3564 | +# with or without modifications, as long as this notice is preserved. |
3565 | + |
3566 | +# serial 6 |
3567 | + |
3568 | +# AM_MISSING_PROG(NAME, PROGRAM) |
3569 | +# ------------------------------ |
3570 | +AC_DEFUN([AM_MISSING_PROG], |
3571 | +[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
3572 | +$1=${$1-"${am_missing_run}$2"} |
3573 | +AC_SUBST($1)]) |
3574 | + |
3575 | + |
3576 | +# AM_MISSING_HAS_RUN |
3577 | +# ------------------ |
3578 | +# Define MISSING if not defined so far and test if it supports --run. |
3579 | +# If it does, set am_missing_run to use it, otherwise, to nothing. |
3580 | +AC_DEFUN([AM_MISSING_HAS_RUN], |
3581 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
3582 | +AC_REQUIRE_AUX_FILE([missing])dnl |
3583 | +if test x"${MISSING+set}" != xset; then |
3584 | + case $am_aux_dir in |
3585 | + *\ * | *\ *) |
3586 | + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
3587 | + *) |
3588 | + MISSING="\${SHELL} $am_aux_dir/missing" ;; |
3589 | + esac |
3590 | +fi |
3591 | +# Use eval to expand $SHELL |
3592 | +if eval "$MISSING --run true"; then |
3593 | + am_missing_run="$MISSING --run " |
3594 | +else |
3595 | + am_missing_run= |
3596 | + AC_MSG_WARN([`missing' script is too old or missing]) |
3597 | +fi |
3598 | +]) |
3599 | + |
3600 | +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, |
3601 | +# Inc. |
3602 | +# |
3603 | +# This file is free software; the Free Software Foundation |
3604 | +# gives unlimited permission to copy and/or distribute it, |
3605 | +# with or without modifications, as long as this notice is preserved. |
3606 | + |
3607 | +# serial 1 |
3608 | + |
3609 | +# AM_PROG_MKDIR_P |
3610 | +# --------------- |
3611 | +# Check for `mkdir -p'. |
3612 | +AC_DEFUN([AM_PROG_MKDIR_P], |
3613 | +[AC_PREREQ([2.60])dnl |
3614 | +AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
3615 | +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
3616 | +dnl while keeping a definition of mkdir_p for backward compatibility. |
3617 | +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
3618 | +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
3619 | +dnl Makefile.ins that do not define MKDIR_P, so we do our own |
3620 | +dnl adjustment using top_builddir (which is defined more often than |
3621 | +dnl MKDIR_P). |
3622 | +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
3623 | +case $mkdir_p in |
3624 | + [[\\/$]]* | ?:[[\\/]]*) ;; |
3625 | + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3626 | +esac |
3627 | +]) |
3628 | + |
3629 | +# Helper functions for option handling. -*- Autoconf -*- |
3630 | + |
3631 | +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software |
3632 | +# Foundation, Inc. |
3633 | +# |
3634 | +# This file is free software; the Free Software Foundation |
3635 | +# gives unlimited permission to copy and/or distribute it, |
3636 | +# with or without modifications, as long as this notice is preserved. |
3637 | + |
3638 | +# serial 5 |
3639 | + |
3640 | +# _AM_MANGLE_OPTION(NAME) |
3641 | +# ----------------------- |
3642 | +AC_DEFUN([_AM_MANGLE_OPTION], |
3643 | +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
3644 | + |
3645 | +# _AM_SET_OPTION(NAME) |
3646 | +# -------------------- |
3647 | +# Set option NAME. Presently that only means defining a flag for this option. |
3648 | +AC_DEFUN([_AM_SET_OPTION], |
3649 | +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
3650 | + |
3651 | +# _AM_SET_OPTIONS(OPTIONS) |
3652 | +# ------------------------ |
3653 | +# OPTIONS is a space-separated list of Automake options. |
3654 | +AC_DEFUN([_AM_SET_OPTIONS], |
3655 | +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
3656 | + |
3657 | +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
3658 | +# ------------------------------------------- |
3659 | +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
3660 | +AC_DEFUN([_AM_IF_OPTION], |
3661 | +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
3662 | + |
3663 | +# Check to make sure that the build environment is sane. -*- Autoconf -*- |
3664 | + |
3665 | +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |
3666 | +# Free Software Foundation, Inc. |
3667 | +# |
3668 | +# This file is free software; the Free Software Foundation |
3669 | +# gives unlimited permission to copy and/or distribute it, |
3670 | +# with or without modifications, as long as this notice is preserved. |
3671 | + |
3672 | +# serial 5 |
3673 | + |
3674 | +# AM_SANITY_CHECK |
3675 | +# --------------- |
3676 | +AC_DEFUN([AM_SANITY_CHECK], |
3677 | +[AC_MSG_CHECKING([whether build environment is sane]) |
3678 | +# Just in case |
3679 | +sleep 1 |
3680 | +echo timestamp > conftest.file |
3681 | +# Reject unsafe characters in $srcdir or the absolute working directory |
3682 | +# name. Accept space and tab only in the latter. |
3683 | +am_lf=' |
3684 | +' |
3685 | +case `pwd` in |
3686 | + *[[\\\"\#\$\&\'\`$am_lf]]*) |
3687 | + AC_MSG_ERROR([unsafe absolute working directory name]);; |
3688 | +esac |
3689 | +case $srcdir in |
3690 | + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
3691 | + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
3692 | +esac |
3693 | + |
3694 | +# Do `set' in a subshell so we don't clobber the current shell's |
3695 | +# arguments. Must try -L first in case configure is actually a |
3696 | +# symlink; some systems play weird games with the mod time of symlinks |
3697 | +# (eg FreeBSD returns the mod time of the symlink's containing |
3698 | +# directory). |
3699 | +if ( |
3700 | + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
3701 | + if test "$[*]" = "X"; then |
3702 | + # -L didn't work. |
3703 | + set X `ls -t "$srcdir/configure" conftest.file` |
3704 | + fi |
3705 | + rm -f conftest.file |
3706 | + if test "$[*]" != "X $srcdir/configure conftest.file" \ |
3707 | + && test "$[*]" != "X conftest.file $srcdir/configure"; then |
3708 | + |
3709 | + # If neither matched, then we have a broken ls. This can happen |
3710 | + # if, for instance, CONFIG_SHELL is bash and it inherits a |
3711 | + # broken ls alias from the environment. This has actually |
3712 | + # happened. Such a system could not be considered "sane". |
3713 | + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
3714 | +alias in your environment]) |
3715 | + fi |
3716 | + |
3717 | + test "$[2]" = conftest.file |
3718 | + ) |
3719 | +then |
3720 | + # Ok. |
3721 | + : |
3722 | +else |
3723 | + AC_MSG_ERROR([newly created file is older than distributed files! |
3724 | +Check your system clock]) |
3725 | +fi |
3726 | +AC_MSG_RESULT(yes)]) |
3727 | + |
3728 | +# Copyright (C) 2009, 2011 Free Software Foundation, Inc. |
3729 | +# |
3730 | +# This file is free software; the Free Software Foundation |
3731 | +# gives unlimited permission to copy and/or distribute it, |
3732 | +# with or without modifications, as long as this notice is preserved. |
3733 | + |
3734 | +# serial 2 |
3735 | + |
3736 | +# AM_SILENT_RULES([DEFAULT]) |
3737 | +# -------------------------- |
3738 | +# Enable less verbose build rules; with the default set to DEFAULT |
3739 | +# (`yes' being less verbose, `no' or empty being verbose). |
3740 | +AC_DEFUN([AM_SILENT_RULES], |
3741 | +[AC_ARG_ENABLE([silent-rules], |
3742 | +[ --enable-silent-rules less verbose build output (undo: `make V=1') |
3743 | + --disable-silent-rules verbose build output (undo: `make V=0')]) |
3744 | +case $enable_silent_rules in |
3745 | +yes) AM_DEFAULT_VERBOSITY=0;; |
3746 | +no) AM_DEFAULT_VERBOSITY=1;; |
3747 | +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
3748 | +esac |
3749 | +dnl |
3750 | +dnl A few `make' implementations (e.g., NonStop OS and NextStep) |
3751 | +dnl do not support nested variable expansions. |
3752 | +dnl See automake bug#9928 and bug#10237. |
3753 | +am_make=${MAKE-make} |
3754 | +AC_CACHE_CHECK([whether $am_make supports nested variables], |
3755 | + [am_cv_make_support_nested_variables], |
3756 | + [if AS_ECHO([['TRUE=$(BAR$(V)) |
3757 | +BAR0=false |
3758 | +BAR1=true |
3759 | +V=1 |
3760 | +am__doit: |
3761 | + @$(TRUE) |
3762 | +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
3763 | + am_cv_make_support_nested_variables=yes |
3764 | +else |
3765 | + am_cv_make_support_nested_variables=no |
3766 | +fi]) |
3767 | +if test $am_cv_make_support_nested_variables = yes; then |
3768 | + dnl Using `$V' instead of `$(V)' breaks IRIX make. |
3769 | + AM_V='$(V)' |
3770 | + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
3771 | +else |
3772 | + AM_V=$AM_DEFAULT_VERBOSITY |
3773 | + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
3774 | +fi |
3775 | +AC_SUBST([AM_V])dnl |
3776 | +AM_SUBST_NOTMAKE([AM_V])dnl |
3777 | +AC_SUBST([AM_DEFAULT_V])dnl |
3778 | +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
3779 | +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
3780 | +AM_BACKSLASH='\' |
3781 | +AC_SUBST([AM_BACKSLASH])dnl |
3782 | +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
3783 | +]) |
3784 | + |
3785 | +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
3786 | +# |
3787 | +# This file is free software; the Free Software Foundation |
3788 | +# gives unlimited permission to copy and/or distribute it, |
3789 | +# with or without modifications, as long as this notice is preserved. |
3790 | + |
3791 | +# serial 1 |
3792 | + |
3793 | +# AM_PROG_INSTALL_STRIP |
3794 | +# --------------------- |
3795 | +# One issue with vendor `install' (even GNU) is that you can't |
3796 | +# specify the program used to strip binaries. This is especially |
3797 | +# annoying in cross-compiling environments, where the build's strip |
3798 | +# is unlikely to handle the host's binaries. |
3799 | +# Fortunately install-sh will honor a STRIPPROG variable, so we |
3800 | +# always use install-sh in `make install-strip', and initialize |
3801 | +# STRIPPROG with the value of the STRIP variable (set by the user). |
3802 | +AC_DEFUN([AM_PROG_INSTALL_STRIP], |
3803 | +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
3804 | +# Installed binaries are usually stripped using `strip' when the user |
3805 | +# run `make install-strip'. However `strip' might not be the right |
3806 | +# tool to use in cross-compilation environments, therefore Automake |
3807 | +# will honor the `STRIP' environment variable to overrule this program. |
3808 | +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
3809 | +if test "$cross_compiling" != no; then |
3810 | + AC_CHECK_TOOL([STRIP], [strip], :) |
3811 | +fi |
3812 | +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3813 | +AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
3814 | + |
3815 | +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. |
3816 | +# |
3817 | +# This file is free software; the Free Software Foundation |
3818 | +# gives unlimited permission to copy and/or distribute it, |
3819 | +# with or without modifications, as long as this notice is preserved. |
3820 | + |
3821 | +# serial 3 |
3822 | + |
3823 | +# _AM_SUBST_NOTMAKE(VARIABLE) |
3824 | +# --------------------------- |
3825 | +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
3826 | +# This macro is traced by Automake. |
3827 | +AC_DEFUN([_AM_SUBST_NOTMAKE]) |
3828 | + |
3829 | +# AM_SUBST_NOTMAKE(VARIABLE) |
3830 | +# -------------------------- |
3831 | +# Public sister of _AM_SUBST_NOTMAKE. |
3832 | +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
3833 | + |
3834 | +# Check how to create a tarball. -*- Autoconf -*- |
3835 | + |
3836 | +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. |
3837 | +# |
3838 | +# This file is free software; the Free Software Foundation |
3839 | +# gives unlimited permission to copy and/or distribute it, |
3840 | +# with or without modifications, as long as this notice is preserved. |
3841 | + |
3842 | +# serial 2 |
3843 | + |
3844 | +# _AM_PROG_TAR(FORMAT) |
3845 | +# -------------------- |
3846 | +# Check how to create a tarball in format FORMAT. |
3847 | +# FORMAT should be one of `v7', `ustar', or `pax'. |
3848 | +# |
3849 | +# Substitute a variable $(am__tar) that is a command |
3850 | +# writing to stdout a FORMAT-tarball containing the directory |
3851 | +# $tardir. |
3852 | +# tardir=directory && $(am__tar) > result.tar |
3853 | +# |
3854 | +# Substitute a variable $(am__untar) that extract such |
3855 | +# a tarball read from stdin. |
3856 | +# $(am__untar) < result.tar |
3857 | +AC_DEFUN([_AM_PROG_TAR], |
3858 | +[# Always define AMTAR for backward compatibility. Yes, it's still used |
3859 | +# in the wild :-( We should find a proper way to deprecate it ... |
3860 | +AC_SUBST([AMTAR], ['$${TAR-tar}']) |
3861 | +m4_if([$1], [v7], |
3862 | + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
3863 | + [m4_case([$1], [ustar],, [pax],, |
3864 | + [m4_fatal([Unknown tar format])]) |
3865 | +AC_MSG_CHECKING([how to create a $1 tar archive]) |
3866 | +# Loop over all known methods to create a tar archive until one works. |
3867 | +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
3868 | +_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
3869 | +# Do not fold the above two line into one, because Tru64 sh and |
3870 | +# Solaris sh will not grok spaces in the rhs of `-'. |
3871 | +for _am_tool in $_am_tools |
3872 | +do |
3873 | + case $_am_tool in |
3874 | + gnutar) |
3875 | + for _am_tar in tar gnutar gtar; |
3876 | + do |
3877 | + AM_RUN_LOG([$_am_tar --version]) && break |
3878 | + done |
3879 | + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
3880 | + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
3881 | + am__untar="$_am_tar -xf -" |
3882 | + ;; |
3883 | + plaintar) |
3884 | + # Must skip GNU tar: if it does not support --format= it doesn't create |
3885 | + # ustar tarball either. |
3886 | + (tar --version) >/dev/null 2>&1 && continue |
3887 | + am__tar='tar chf - "$$tardir"' |
3888 | + am__tar_='tar chf - "$tardir"' |
3889 | + am__untar='tar xf -' |
3890 | + ;; |
3891 | + pax) |
3892 | + am__tar='pax -L -x $1 -w "$$tardir"' |
3893 | + am__tar_='pax -L -x $1 -w "$tardir"' |
3894 | + am__untar='pax -r' |
3895 | + ;; |
3896 | + cpio) |
3897 | + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
3898 | + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
3899 | + am__untar='cpio -i -H $1 -d' |
3900 | + ;; |
3901 | + none) |
3902 | + am__tar=false |
3903 | + am__tar_=false |
3904 | + am__untar=false |
3905 | + ;; |
3906 | + esac |
3907 | + |
3908 | + # If the value was cached, stop now. We just wanted to have am__tar |
3909 | + # and am__untar set. |
3910 | + test -n "${am_cv_prog_tar_$1}" && break |
3911 | + |
3912 | + # tar/untar a dummy directory, and stop if the command works |
3913 | + rm -rf conftest.dir |
3914 | + mkdir conftest.dir |
3915 | + echo GrepMe > conftest.dir/file |
3916 | + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
3917 | + rm -rf conftest.dir |
3918 | + if test -s conftest.tar; then |
3919 | + AM_RUN_LOG([$am__untar <conftest.tar]) |
3920 | + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
3921 | + fi |
3922 | +done |
3923 | +rm -rf conftest.dir |
3924 | + |
3925 | +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
3926 | +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
3927 | +AC_SUBST([am__tar]) |
3928 | +AC_SUBST([am__untar]) |
3929 | +]) # _AM_PROG_TAR |
3930 | + |
3931 | +m4_include([m4/gtk-doc.m4]) |
3932 | +m4_include([m4/intltool.m4]) |
3933 | +m4_include([m4/introspection.m4]) |
3934 | +m4_include([m4/libtool.m4]) |
3935 | +m4_include([m4/ltoptions.m4]) |
3936 | +m4_include([m4/ltsugar.m4]) |
3937 | +m4_include([m4/ltversion.m4]) |
3938 | +m4_include([m4/lt~obsolete.m4]) |
3939 | |
3940 | === added file 'autogen.sh' |
3941 | --- autogen.sh 1970-01-01 00:00:00 +0000 |
3942 | +++ autogen.sh 2012-03-02 04:18:19 +0000 |
3943 | @@ -0,0 +1,21 @@ |
3944 | +#!/bin/sh |
3945 | +# Run this to generate all the initial makefiles, etc. |
3946 | + |
3947 | +srcdir=`dirname $0` |
3948 | +test -z "$srcdir" && srcdir=. |
3949 | + |
3950 | +PKG_NAME="lightdm" |
3951 | +REQUIRED_AUTOMAKE_VERSION=1.7 |
3952 | + |
3953 | +(test -f $srcdir/configure.ac \ |
3954 | + && test -d $srcdir/src) || { |
3955 | + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" |
3956 | + echo " top-level lightdm directory" |
3957 | + exit 1 |
3958 | +} |
3959 | + |
3960 | +which gnome-autogen.sh || { |
3961 | + echo "You need to install gnome-common from the GNOME CVS" |
3962 | + exit 1 |
3963 | +} |
3964 | +USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh |
3965 | |
3966 | === renamed file 'autogen.sh' => 'autogen.sh.moved' |
3967 | === added file 'compile' |
3968 | --- compile 1970-01-01 00:00:00 +0000 |
3969 | +++ compile 2012-03-02 04:18:19 +0000 |
3970 | @@ -0,0 +1,310 @@ |
3971 | +#! /bin/sh |
3972 | +# Wrapper for compilers which do not understand '-c -o'. |
3973 | + |
3974 | +scriptversion=2012-01-04.17; # UTC |
3975 | + |
3976 | +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free |
3977 | +# Software Foundation, Inc. |
3978 | +# Written by Tom Tromey <tromey@cygnus.com>. |
3979 | +# |
3980 | +# This program is free software; you can redistribute it and/or modify |
3981 | +# it under the terms of the GNU General Public License as published by |
3982 | +# the Free Software Foundation; either version 2, or (at your option) |
3983 | +# any later version. |
3984 | +# |
3985 | +# This program is distributed in the hope that it will be useful, |
3986 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
3987 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3988 | +# GNU General Public License for more details. |
3989 | +# |
3990 | +# You should have received a copy of the GNU General Public License |
3991 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
3992 | + |
3993 | +# As a special exception to the GNU General Public License, if you |
3994 | +# distribute this file as part of a program that contains a |
3995 | +# configuration script generated by Autoconf, you may include it under |
3996 | +# the same distribution terms that you use for the rest of that program. |
3997 | + |
3998 | +# This file is maintained in Automake, please report |
3999 | +# bugs to <bug-automake@gnu.org> or send patches to |
4000 | +# <automake-patches@gnu.org>. |
4001 | + |
4002 | +nl=' |
4003 | +' |
4004 | + |
4005 | +# We need space, tab and new line, in precisely that order. Quoting is |
4006 | +# there to prevent tools from complaining about whitespace usage. |
4007 | +IFS=" "" $nl" |
4008 | + |
4009 | +file_conv= |
4010 | + |
4011 | +# func_file_conv build_file lazy |
4012 | +# Convert a $build file to $host form and store it in $file |
4013 | +# Currently only supports Windows hosts. If the determined conversion |
4014 | +# type is listed in (the comma separated) LAZY, no conversion will |
4015 | +# take place. |
4016 | +func_file_conv () |
4017 | +{ |
4018 | + file=$1 |
4019 | + case $file in |
4020 | + / | /[!/]*) # absolute file, and not a UNC file |
4021 | + if test -z "$file_conv"; then |
4022 | + # lazily determine how to convert abs files |
4023 | + case `uname -s` in |
4024 | + MINGW*) |
4025 | + file_conv=mingw |
4026 | + ;; |
4027 | + CYGWIN*) |
4028 | + file_conv=cygwin |
4029 | + ;; |
4030 | + *) |
4031 | + file_conv=wine |
4032 | + ;; |
4033 | + esac |
4034 | + fi |
4035 | + case $file_conv/,$2, in |
4036 | + *,$file_conv,*) |
4037 | + ;; |
4038 | + mingw/*) |
4039 | + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
4040 | + ;; |
4041 | + cygwin/*) |
4042 | + file=`cygpath -m "$file" || echo "$file"` |
4043 | + ;; |
4044 | + wine/*) |
4045 | + file=`winepath -w "$file" || echo "$file"` |
4046 | + ;; |
4047 | + esac |
4048 | + ;; |
4049 | + esac |
4050 | +} |
4051 | + |
4052 | +# func_cl_wrapper cl arg... |
4053 | +# Adjust compile command to suit cl |
4054 | +func_cl_wrapper () |
4055 | +{ |
4056 | + # Assume a capable shell |
4057 | + lib_path= |
4058 | + shared=: |
4059 | + linker_opts= |
4060 | + for arg |
4061 | + do |
4062 | + if test -n "$eat"; then |
4063 | + eat= |
4064 | + else |
4065 | + case $1 in |
4066 | + -o) |
4067 | + # configure might choose to run compile as 'compile cc -o foo foo.c'. |
4068 | + eat=1 |
4069 | + case $2 in |
4070 | + *.o | *.[oO][bB][jJ]) |
4071 | + func_file_conv "$2" |
4072 | + set x "$@" -Fo"$file" |
4073 | + shift |
4074 | + ;; |
4075 | + *) |
4076 | + func_file_conv "$2" |
4077 | + set x "$@" -Fe"$file" |
4078 | + shift |
4079 | + ;; |
4080 | + esac |
4081 | + ;; |
4082 | + -I*) |
4083 | + func_file_conv "${1#-I}" mingw |
4084 | + set x "$@" -I"$file" |
4085 | + shift |
4086 | + ;; |
4087 | + -l*) |
4088 | + lib=${1#-l} |
4089 | + found=no |
4090 | + save_IFS=$IFS |
4091 | + IFS=';' |
4092 | + for dir in $lib_path $LIB |
4093 | + do |
4094 | + IFS=$save_IFS |
4095 | + if $shared && test -f "$dir/$lib.dll.lib"; then |
4096 | + found=yes |
4097 | + set x "$@" "$dir/$lib.dll.lib" |
4098 | + break |
4099 | + fi |
4100 | + if test -f "$dir/$lib.lib"; then |
4101 | + found=yes |
4102 | + set x "$@" "$dir/$lib.lib" |
4103 | + break |
4104 | + fi |
4105 | + done |
4106 | + IFS=$save_IFS |
4107 | + |
4108 | + test "$found" != yes && set x "$@" "$lib.lib" |
4109 | + shift |
4110 | + ;; |
4111 | + -L*) |
4112 | + func_file_conv "${1#-L}" |
4113 | + if test -z "$lib_path"; then |
4114 | + lib_path=$file |
4115 | + else |
4116 | + lib_path="$lib_path;$file" |
4117 | + fi |
4118 | + linker_opts="$linker_opts -LIBPATH:$file" |
4119 | + ;; |
4120 | + -static) |
4121 | + shared=false |
4122 | + ;; |
4123 | + -Wl,*) |
4124 | + arg=${1#-Wl,} |
4125 | + save_ifs="$IFS"; IFS=',' |
4126 | + for flag in $arg; do |
4127 | + IFS="$save_ifs" |
4128 | + linker_opts="$linker_opts $flag" |
4129 | + done |
4130 | + IFS="$save_ifs" |
4131 | + ;; |
4132 | + -Xlinker) |
4133 | + eat=1 |
4134 | + linker_opts="$linker_opts $2" |
4135 | + ;; |
4136 | + -*) |
4137 | + set x "$@" "$1" |
4138 | + shift |
4139 | + ;; |
4140 | + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) |
4141 | + func_file_conv "$1" |
4142 | + set x "$@" -Tp"$file" |
4143 | + shift |
4144 | + ;; |
4145 | + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) |
4146 | + func_file_conv "$1" mingw |
4147 | + set x "$@" "$file" |
4148 | + shift |
4149 | + ;; |
4150 | + *) |
4151 | + set x "$@" "$1" |
4152 | + shift |
4153 | + ;; |
4154 | + esac |
4155 | + fi |
4156 | + shift |
4157 | + done |
4158 | + if test -n "$linker_opts"; then |
4159 | + linker_opts="-link$linker_opts" |
4160 | + fi |
4161 | + exec "$@" $linker_opts |
4162 | + exit 1 |
4163 | +} |
4164 | + |
4165 | +eat= |
4166 | + |
4167 | +case $1 in |
4168 | + '') |
4169 | + echo "$0: No command. Try '$0 --help' for more information." 1>&2 |
4170 | + exit 1; |
4171 | + ;; |
4172 | + -h | --h*) |
4173 | + cat <<\EOF |
4174 | +Usage: compile [--help] [--version] PROGRAM [ARGS] |
4175 | + |
4176 | +Wrapper for compilers which do not understand '-c -o'. |
4177 | +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining |
4178 | +arguments, and rename the output as expected. |
4179 | + |
4180 | +If you are trying to build a whole package this is not the |
4181 | +right script to run: please start by reading the file 'INSTALL'. |
4182 | + |
4183 | +Report bugs to <bug-automake@gnu.org>. |
4184 | +EOF |
4185 | + exit $? |
4186 | + ;; |
4187 | + -v | --v*) |
4188 | + echo "compile $scriptversion" |
4189 | + exit $? |
4190 | + ;; |
4191 | + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) |
4192 | + func_cl_wrapper "$@" # Doesn't return... |
4193 | + ;; |
4194 | +esac |
4195 | + |
4196 | +ofile= |
4197 | +cfile= |
4198 | + |
4199 | +for arg |
4200 | +do |
4201 | + if test -n "$eat"; then |
4202 | + eat= |
4203 | + else |
4204 | + case $1 in |
4205 | + -o) |
4206 | + # configure might choose to run compile as 'compile cc -o foo foo.c'. |
4207 | + # So we strip '-o arg' only if arg is an object. |
4208 | + eat=1 |
4209 | + case $2 in |
4210 | + *.o | *.obj) |
4211 | + ofile=$2 |
4212 | + ;; |
4213 | + *) |
4214 | + set x "$@" -o "$2" |
4215 | + shift |
4216 | + ;; |
4217 | + esac |
4218 | + ;; |
4219 | + *.c) |
4220 | + cfile=$1 |
4221 | + set x "$@" "$1" |
4222 | + shift |
4223 | + ;; |
4224 | + *) |
4225 | + set x "$@" "$1" |
4226 | + shift |
4227 | + ;; |
4228 | + esac |
4229 | + fi |
4230 | + shift |
4231 | +done |
4232 | + |
4233 | +if test -z "$ofile" || test -z "$cfile"; then |
4234 | + # If no '-o' option was seen then we might have been invoked from a |
4235 | + # pattern rule where we don't need one. That is ok -- this is a |
4236 | + # normal compilation that the losing compiler can handle. If no |
4237 | + # '.c' file was seen then we are probably linking. That is also |
4238 | + # ok. |
4239 | + exec "$@" |
4240 | +fi |
4241 | + |
4242 | +# Name of file we expect compiler to create. |
4243 | +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` |
4244 | + |
4245 | +# Create the lock directory. |
4246 | +# Note: use '[/\\:.-]' here to ensure that we don't use the same name |
4247 | +# that we are using for the .o file. Also, base the name on the expected |
4248 | +# object file name, since that is what matters with a parallel build. |
4249 | +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d |
4250 | +while true; do |
4251 | + if mkdir "$lockdir" >/dev/null 2>&1; then |
4252 | + break |
4253 | + fi |
4254 | + sleep 1 |
4255 | +done |
4256 | +# FIXME: race condition here if user kills between mkdir and trap. |
4257 | +trap "rmdir '$lockdir'; exit 1" 1 2 15 |
4258 | + |
4259 | +# Run the compile. |
4260 | +"$@" |
4261 | +ret=$? |
4262 | + |
4263 | +if test -f "$cofile"; then |
4264 | + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" |
4265 | +elif test -f "${cofile}bj"; then |
4266 | + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" |
4267 | +fi |
4268 | + |
4269 | +rmdir "$lockdir" |
4270 | +exit $ret |
4271 | + |
4272 | +# Local Variables: |
4273 | +# mode: shell-script |
4274 | +# sh-indentation: 2 |
4275 | +# eval: (add-hook 'write-file-hooks 'time-stamp) |
4276 | +# time-stamp-start: "scriptversion=" |
4277 | +# time-stamp-format: "%:y-%02m-%02d.%02H" |
4278 | +# time-stamp-time-zone: "UTC" |
4279 | +# time-stamp-end: "; # UTC" |
4280 | +# End: |
4281 | |
4282 | === added file 'config.guess' |
4283 | --- config.guess 1970-01-01 00:00:00 +0000 |
4284 | +++ config.guess 2012-03-02 04:18:19 +0000 |
4285 | @@ -0,0 +1,1517 @@ |
4286 | +#! /bin/sh |
4287 | +# Attempt to guess a canonical system name. |
4288 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4289 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
4290 | +# 2011 Free Software Foundation, Inc. |
4291 | + |
4292 | +timestamp='2011-05-11' |
4293 | + |
4294 | +# This file is free software; you can redistribute it and/or modify it |
4295 | +# under the terms of the GNU General Public License as published by |
4296 | +# the Free Software Foundation; either version 2 of the License, or |
4297 | +# (at your option) any later version. |
4298 | +# |
4299 | +# This program is distributed in the hope that it will be useful, but |
4300 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
4301 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
4302 | +# General Public License for more details. |
4303 | +# |
4304 | +# You should have received a copy of the GNU General Public License |
4305 | +# along with this program; if not, write to the Free Software |
4306 | +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
4307 | +# 02110-1301, USA. |
4308 | +# |
4309 | +# As a special exception to the GNU General Public License, if you |
4310 | +# distribute this file as part of a program that contains a |
4311 | +# configuration script generated by Autoconf, you may include it under |
4312 | +# the same distribution terms that you use for the rest of that program. |
4313 | + |
4314 | + |
4315 | +# Originally written by Per Bothner. Please send patches (context |
4316 | +# diff format) to <config-patches@gnu.org> and include a ChangeLog |
4317 | +# entry. |
4318 | +# |
4319 | +# This script attempts to guess a canonical system name similar to |
4320 | +# config.sub. If it succeeds, it prints the system name on stdout, and |
4321 | +# exits with 0. Otherwise, it exits with 1. |
4322 | +# |
4323 | +# You can get the latest version of this script from: |
4324 | +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
4325 | + |
4326 | +me=`echo "$0" | sed -e 's,.*/,,'` |
4327 | + |
4328 | +usage="\ |
4329 | +Usage: $0 [OPTION] |
4330 | + |
4331 | +Output the configuration name of the system \`$me' is run on. |
4332 | + |
4333 | +Operation modes: |
4334 | + -h, --help print this help, then exit |
4335 | + -t, --time-stamp print date of last modification, then exit |
4336 | + -v, --version print version number, then exit |
4337 | + |
4338 | +Report bugs and patches to <config-patches@gnu.org>." |
4339 | + |
4340 | +version="\ |
4341 | +GNU config.guess ($timestamp) |
4342 | + |
4343 | +Originally written by Per Bothner. |
4344 | +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
4345 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free |
4346 | +Software Foundation, Inc. |
4347 | + |
4348 | +This is free software; see the source for copying conditions. There is NO |
4349 | +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
4350 | + |
4351 | +help=" |
4352 | +Try \`$me --help' for more information." |
4353 | + |
4354 | +# Parse command line |
4355 | +while test $# -gt 0 ; do |
4356 | + case $1 in |
4357 | + --time-stamp | --time* | -t ) |
4358 | + echo "$timestamp" ; exit ;; |
4359 | + --version | -v ) |
4360 | + echo "$version" ; exit ;; |
4361 | + --help | --h* | -h ) |
4362 | + echo "$usage"; exit ;; |
4363 | + -- ) # Stop option processing |
4364 | + shift; break ;; |
4365 | + - ) # Use stdin as input. |
4366 | + break ;; |
4367 | + -* ) |
4368 | + echo "$me: invalid option $1$help" >&2 |
4369 | + exit 1 ;; |
4370 | + * ) |
4371 | + break ;; |
4372 | + esac |
4373 | +done |
4374 | + |
4375 | +if test $# != 0; then |
4376 | + echo "$me: too many arguments$help" >&2 |
4377 | + exit 1 |
4378 | +fi |
4379 | + |
4380 | +trap 'exit 1' 1 2 15 |
4381 | + |
4382 | +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a |
4383 | +# compiler to aid in system detection is discouraged as it requires |
4384 | +# temporary files to be created and, as you can see below, it is a |
4385 | +# headache to deal with in a portable fashion. |
4386 | + |
4387 | +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still |
4388 | +# use `HOST_CC' if defined, but it is deprecated. |
4389 | + |
4390 | +# Portable tmp directory creation inspired by the Autoconf team. |
4391 | + |
4392 | +set_cc_for_build=' |
4393 | +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; |
4394 | +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; |
4395 | +: ${TMPDIR=/tmp} ; |
4396 | + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || |
4397 | + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || |
4398 | + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || |
4399 | + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; |
4400 | +dummy=$tmp/dummy ; |
4401 | +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
4402 | +case $CC_FOR_BUILD,$HOST_CC,$CC in |
4403 | + ,,) echo "int x;" > $dummy.c ; |
4404 | + for c in cc gcc c89 c99 ; do |
4405 | + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then |
4406 | + CC_FOR_BUILD="$c"; break ; |
4407 | + fi ; |
4408 | + done ; |
4409 | + if test x"$CC_FOR_BUILD" = x ; then |
4410 | + CC_FOR_BUILD=no_compiler_found ; |
4411 | + fi |
4412 | + ;; |
4413 | + ,,*) CC_FOR_BUILD=$CC ;; |
4414 | + ,*,*) CC_FOR_BUILD=$HOST_CC ;; |
4415 | +esac ; set_cc_for_build= ;' |
4416 | + |
4417 | +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
4418 | +# (ghazi@noc.rutgers.edu 1994-08-24) |
4419 | +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then |
4420 | + PATH=$PATH:/.attbin ; export PATH |
4421 | +fi |
4422 | + |
4423 | +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown |
4424 | +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
4425 | +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
4426 | +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
4427 | + |
4428 | +# Note: order is significant - the case branches are not exclusive. |
4429 | + |
4430 | +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
4431 | + *:NetBSD:*:*) |
4432 | + # NetBSD (nbsd) targets should (where applicable) match one or |
4433 | + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, |
4434 | + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
4435 | + # switched to ELF, *-*-netbsd* would select the old |
4436 | + # object file format. This provides both forward |
4437 | + # compatibility and a consistent mechanism for selecting the |
4438 | + # object file format. |
4439 | + # |
4440 | + # Note: NetBSD doesn't particularly care about the vendor |
4441 | + # portion of the name. We always set it to "unknown". |
4442 | + sysctl="sysctl -n hw.machine_arch" |
4443 | + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ |
4444 | + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` |
4445 | + case "${UNAME_MACHINE_ARCH}" in |
4446 | + armeb) machine=armeb-unknown ;; |
4447 | + arm*) machine=arm-unknown ;; |
4448 | + sh3el) machine=shl-unknown ;; |
4449 | + sh3eb) machine=sh-unknown ;; |
4450 | + sh5el) machine=sh5le-unknown ;; |
4451 | + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
4452 | + esac |
4453 | + # The Operating System including object format, if it has switched |
4454 | + # to ELF recently, or will in the future. |
4455 | + case "${UNAME_MACHINE_ARCH}" in |
4456 | + arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
4457 | + eval $set_cc_for_build |
4458 | + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
4459 | + | grep -q __ELF__ |
4460 | + then |
4461 | + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
4462 | + # Return netbsd for either. FIX? |
4463 | + os=netbsd |
4464 | + else |
4465 | + os=netbsdelf |
4466 | + fi |
4467 | + ;; |
4468 | + *) |
4469 | + os=netbsd |
4470 | + ;; |
4471 | + esac |
4472 | + # The OS release |
4473 | + # Debian GNU/NetBSD machines have a different userland, and |
4474 | + # thus, need a distinct triplet. However, they do not need |
4475 | + # kernel version information, so it can be replaced with a |
4476 | + # suitable tag, in the style of linux-gnu. |
4477 | + case "${UNAME_VERSION}" in |
4478 | + Debian*) |
4479 | + release='-gnu' |
4480 | + ;; |
4481 | + *) |
4482 | + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |
4483 | + ;; |
4484 | + esac |
4485 | + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
4486 | + # contains redundant information, the shorter form: |
4487 | + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
4488 | + echo "${machine}-${os}${release}" |
4489 | + exit ;; |
4490 | + *:OpenBSD:*:*) |
4491 | + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
4492 | + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
4493 | + exit ;; |
4494 | + *:ekkoBSD:*:*) |
4495 | + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
4496 | + exit ;; |
4497 | + *:SolidBSD:*:*) |
4498 | + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} |
4499 | + exit ;; |
4500 | + macppc:MirBSD:*:*) |
4501 | + echo powerpc-unknown-mirbsd${UNAME_RELEASE} |
4502 | + exit ;; |
4503 | + *:MirBSD:*:*) |
4504 | + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
4505 | + exit ;; |
4506 | + alpha:OSF1:*:*) |
4507 | + case $UNAME_RELEASE in |
4508 | + *4.0) |
4509 | + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
4510 | + ;; |
4511 | + *5.*) |
4512 | + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
4513 | + ;; |
4514 | + esac |
4515 | + # According to Compaq, /usr/sbin/psrinfo has been available on |
4516 | + # OSF/1 and Tru64 systems produced since 1995. I hope that |
4517 | + # covers most systems running today. This code pipes the CPU |
4518 | + # types through head -n 1, so we only detect the type of CPU 0. |
4519 | + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
4520 | + case "$ALPHA_CPU_TYPE" in |
4521 | + "EV4 (21064)") |
4522 | + UNAME_MACHINE="alpha" ;; |
4523 | + "EV4.5 (21064)") |
4524 | + UNAME_MACHINE="alpha" ;; |
4525 | + "LCA4 (21066/21068)") |
4526 | + UNAME_MACHINE="alpha" ;; |
4527 | + "EV5 (21164)") |
4528 | + UNAME_MACHINE="alphaev5" ;; |
4529 | + "EV5.6 (21164A)") |
4530 | + UNAME_MACHINE="alphaev56" ;; |
4531 | + "EV5.6 (21164PC)") |
4532 | + UNAME_MACHINE="alphapca56" ;; |
4533 | + "EV5.7 (21164PC)") |
4534 | + UNAME_MACHINE="alphapca57" ;; |
4535 | + "EV6 (21264)") |
4536 | + UNAME_MACHINE="alphaev6" ;; |
4537 | + "EV6.7 (21264A)") |
4538 | + UNAME_MACHINE="alphaev67" ;; |
4539 | + "EV6.8CB (21264C)") |
4540 | + UNAME_MACHINE="alphaev68" ;; |
4541 | + "EV6.8AL (21264B)") |
4542 | + UNAME_MACHINE="alphaev68" ;; |
4543 | + "EV6.8CX (21264D)") |
4544 | + UNAME_MACHINE="alphaev68" ;; |
4545 | + "EV6.9A (21264/EV69A)") |
4546 | + UNAME_MACHINE="alphaev69" ;; |
4547 | + "EV7 (21364)") |
4548 | + UNAME_MACHINE="alphaev7" ;; |
4549 | + "EV7.9 (21364A)") |
4550 | + UNAME_MACHINE="alphaev79" ;; |
4551 | + esac |
4552 | + # A Pn.n version is a patched version. |
4553 | + # A Vn.n version is a released version. |
4554 | + # A Tn.n version is a released field test version. |
4555 | + # A Xn.n version is an unreleased experimental baselevel. |
4556 | + # 1.2 uses "1.2" for uname -r. |
4557 | + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
4558 | + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
4559 | + exitcode=$? |
4560 | + trap '' 0 |
4561 | + exit $exitcode ;; |
4562 | + Alpha\ *:Windows_NT*:*) |
4563 | + # How do we know it's Interix rather than the generic POSIX subsystem? |
4564 | + # Should we change UNAME_MACHINE based on the output of uname instead |
4565 | + # of the specific Alpha model? |
4566 | + echo alpha-pc-interix |
4567 | + exit ;; |
4568 | + 21064:Windows_NT:50:3) |
4569 | + echo alpha-dec-winnt3.5 |
4570 | + exit ;; |
4571 | + Amiga*:UNIX_System_V:4.0:*) |
4572 | + echo m68k-unknown-sysv4 |
4573 | + exit ;; |
4574 | + *:[Aa]miga[Oo][Ss]:*:*) |
4575 | + echo ${UNAME_MACHINE}-unknown-amigaos |
4576 | + exit ;; |
4577 | + *:[Mm]orph[Oo][Ss]:*:*) |
4578 | + echo ${UNAME_MACHINE}-unknown-morphos |
4579 | + exit ;; |
4580 | + *:OS/390:*:*) |
4581 | + echo i370-ibm-openedition |
4582 | + exit ;; |
4583 | + *:z/VM:*:*) |
4584 | + echo s390-ibm-zvmoe |
4585 | + exit ;; |
4586 | + *:OS400:*:*) |
4587 | + echo powerpc-ibm-os400 |
4588 | + exit ;; |
4589 | + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
4590 | + echo arm-acorn-riscix${UNAME_RELEASE} |
4591 | + exit ;; |
4592 | + arm:riscos:*:*|arm:RISCOS:*:*) |
4593 | + echo arm-unknown-riscos |
4594 | + exit ;; |
4595 | + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
4596 | + echo hppa1.1-hitachi-hiuxmpp |
4597 | + exit ;; |
4598 | + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) |
4599 | + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. |
4600 | + if test "`(/bin/universe) 2>/dev/null`" = att ; then |
4601 | + echo pyramid-pyramid-sysv3 |
4602 | + else |
4603 | + echo pyramid-pyramid-bsd |
4604 | + fi |
4605 | + exit ;; |
4606 | + NILE*:*:*:dcosx) |
4607 | + echo pyramid-pyramid-svr4 |
4608 | + exit ;; |
4609 | + DRS?6000:unix:4.0:6*) |
4610 | + echo sparc-icl-nx6 |
4611 | + exit ;; |
4612 | + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) |
4613 | + case `/usr/bin/uname -p` in |
4614 | + sparc) echo sparc-icl-nx7; exit ;; |
4615 | + esac ;; |
4616 | + s390x:SunOS:*:*) |
4617 | + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
4618 | + exit ;; |
4619 | + sun4H:SunOS:5.*:*) |
4620 | + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
4621 | + exit ;; |
4622 | + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
4623 | + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
4624 | + exit ;; |
4625 | + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
4626 | + echo i386-pc-auroraux${UNAME_RELEASE} |
4627 | + exit ;; |
4628 | + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
4629 | + eval $set_cc_for_build |
4630 | + SUN_ARCH="i386" |
4631 | + # If there is a compiler, see if it is configured for 64-bit objects. |
4632 | + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
4633 | + # This test works for both compilers. |
4634 | + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
4635 | + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ |
4636 | + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
4637 | + grep IS_64BIT_ARCH >/dev/null |
4638 | + then |
4639 | + SUN_ARCH="x86_64" |
4640 | + fi |
4641 | + fi |
4642 | + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
4643 | + exit ;; |
4644 | + sun4*:SunOS:6*:*) |
4645 | + # According to config.sub, this is the proper way to canonicalize |
4646 | + # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
4647 | + # it's likely to be more like Solaris than SunOS4. |
4648 | + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
4649 | + exit ;; |
4650 | + sun4*:SunOS:*:*) |
4651 | + case "`/usr/bin/arch -k`" in |
4652 | + Series*|S4*) |
4653 | + UNAME_RELEASE=`uname -v` |
4654 | + ;; |
4655 | + esac |
4656 | + # Japanese Language versions have a version number like `4.1.3-JL'. |
4657 | + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` |
4658 | + exit ;; |
4659 | + sun3*:SunOS:*:*) |
4660 | + echo m68k-sun-sunos${UNAME_RELEASE} |
4661 | + exit ;; |
4662 | + sun*:*:4.2BSD:*) |
4663 | + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
4664 | + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 |
4665 | + case "`/bin/arch`" in |
4666 | + sun3) |
4667 | + echo m68k-sun-sunos${UNAME_RELEASE} |
4668 | + ;; |
4669 | + sun4) |
4670 | + echo sparc-sun-sunos${UNAME_RELEASE} |
4671 | + ;; |
4672 | + esac |
4673 | + exit ;; |
4674 | + aushp:SunOS:*:*) |
4675 | + echo sparc-auspex-sunos${UNAME_RELEASE} |
4676 | + exit ;; |
4677 | + # The situation for MiNT is a little confusing. The machine name |
4678 | + # can be virtually everything (everything which is not |
4679 | + # "atarist" or "atariste" at least should have a processor |
4680 | + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" |
4681 | + # to the lowercase version "mint" (or "freemint"). Finally |
4682 | + # the system name "TOS" denotes a system which is actually not |
4683 | + # MiNT. But MiNT is downward compatible to TOS, so this should |
4684 | + # be no problem. |
4685 | + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
4686 | + echo m68k-atari-mint${UNAME_RELEASE} |
4687 | + exit ;; |
4688 | + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
4689 | + echo m68k-atari-mint${UNAME_RELEASE} |
4690 | + exit ;; |
4691 | + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
4692 | + echo m68k-atari-mint${UNAME_RELEASE} |
4693 | + exit ;; |
4694 | + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
4695 | + echo m68k-milan-mint${UNAME_RELEASE} |
4696 | + exit ;; |
4697 | + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
4698 | + echo m68k-hades-mint${UNAME_RELEASE} |
4699 | + exit ;; |
4700 | + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
4701 | + echo m68k-unknown-mint${UNAME_RELEASE} |
4702 | + exit ;; |
4703 | + m68k:machten:*:*) |
4704 | + echo m68k-apple-machten${UNAME_RELEASE} |
4705 | + exit ;; |
4706 | + powerpc:machten:*:*) |
4707 | + echo powerpc-apple-machten${UNAME_RELEASE} |
4708 | + exit ;; |
4709 | + RISC*:Mach:*:*) |
4710 | + echo mips-dec-mach_bsd4.3 |
4711 | + exit ;; |
4712 | + RISC*:ULTRIX:*:*) |
4713 | + echo mips-dec-ultrix${UNAME_RELEASE} |
4714 | + exit ;; |
4715 | + VAX*:ULTRIX*:*:*) |
4716 | + echo vax-dec-ultrix${UNAME_RELEASE} |
4717 | + exit ;; |
4718 | + 2020:CLIX:*:* | 2430:CLIX:*:*) |
4719 | + echo clipper-intergraph-clix${UNAME_RELEASE} |
4720 | + exit ;; |
4721 | + mips:*:*:UMIPS | mips:*:*:RISCos) |
4722 | + eval $set_cc_for_build |
4723 | + sed 's/^ //' << EOF >$dummy.c |
4724 | +#ifdef __cplusplus |
4725 | +#include <stdio.h> /* for printf() prototype */ |
4726 | + int main (int argc, char *argv[]) { |
4727 | +#else |
4728 | + int main (argc, argv) int argc; char *argv[]; { |
4729 | +#endif |
4730 | + #if defined (host_mips) && defined (MIPSEB) |
4731 | + #if defined (SYSTYPE_SYSV) |
4732 | + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); |
4733 | + #endif |
4734 | + #if defined (SYSTYPE_SVR4) |
4735 | + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); |
4736 | + #endif |
4737 | + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
4738 | + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); |
4739 | + #endif |
4740 | + #endif |
4741 | + exit (-1); |
4742 | + } |
4743 | +EOF |
4744 | + $CC_FOR_BUILD -o $dummy $dummy.c && |
4745 | + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && |
4746 | + SYSTEM_NAME=`$dummy $dummyarg` && |
4747 | + { echo "$SYSTEM_NAME"; exit; } |
4748 | + echo mips-mips-riscos${UNAME_RELEASE} |
4749 | + exit ;; |
4750 | + Motorola:PowerMAX_OS:*:*) |
4751 | + echo powerpc-motorola-powermax |
4752 | + exit ;; |
4753 | + Motorola:*:4.3:PL8-*) |
4754 | + echo powerpc-harris-powermax |
4755 | + exit ;; |
4756 | + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) |
4757 | + echo powerpc-harris-powermax |
4758 | + exit ;; |
4759 | + Night_Hawk:Power_UNIX:*:*) |
4760 | + echo powerpc-harris-powerunix |
4761 | + exit ;; |
4762 | + m88k:CX/UX:7*:*) |
4763 | + echo m88k-harris-cxux7 |
4764 | + exit ;; |
4765 | + m88k:*:4*:R4*) |
4766 | + echo m88k-motorola-sysv4 |
4767 | + exit ;; |
4768 | + m88k:*:3*:R3*) |
4769 | + echo m88k-motorola-sysv3 |
4770 | + exit ;; |
4771 | + AViiON:dgux:*:*) |
4772 | + # DG/UX returns AViiON for all architectures |
4773 | + UNAME_PROCESSOR=`/usr/bin/uname -p` |
4774 | + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
4775 | + then |
4776 | + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
4777 | + [ ${TARGET_BINARY_INTERFACE}x = x ] |
4778 | + then |
4779 | + echo m88k-dg-dgux${UNAME_RELEASE} |
4780 | + else |
4781 | + echo m88k-dg-dguxbcs${UNAME_RELEASE} |
4782 | + fi |
4783 | + else |
4784 | + echo i586-dg-dgux${UNAME_RELEASE} |
4785 | + fi |
4786 | + exit ;; |
4787 | + M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
4788 | + echo m88k-dolphin-sysv3 |
4789 | + exit ;; |
4790 | + M88*:*:R3*:*) |
4791 | + # Delta 88k system running SVR3 |
4792 | + echo m88k-motorola-sysv3 |
4793 | + exit ;; |
4794 | + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) |
4795 | + echo m88k-tektronix-sysv3 |
4796 | + exit ;; |
4797 | + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) |
4798 | + echo m68k-tektronix-bsd |
4799 | + exit ;; |
4800 | + *:IRIX*:*:*) |
4801 | + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` |
4802 | + exit ;; |
4803 | + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
4804 | + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
4805 | + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
4806 | + i*86:AIX:*:*) |
4807 | + echo i386-ibm-aix |
4808 | + exit ;; |
4809 | + ia64:AIX:*:*) |
4810 | + if [ -x /usr/bin/oslevel ] ; then |
4811 | + IBM_REV=`/usr/bin/oslevel` |
4812 | + else |
4813 | + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
4814 | + fi |
4815 | + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} |
4816 | + exit ;; |
4817 | + *:AIX:2:3) |
4818 | + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
4819 | + eval $set_cc_for_build |
4820 | + sed 's/^ //' << EOF >$dummy.c |
4821 | + #include <sys/systemcfg.h> |
4822 | + |
4823 | + main() |
4824 | + { |
4825 | + if (!__power_pc()) |
4826 | + exit(1); |
4827 | + puts("powerpc-ibm-aix3.2.5"); |
4828 | + exit(0); |
4829 | + } |
4830 | +EOF |
4831 | + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` |
4832 | + then |
4833 | + echo "$SYSTEM_NAME" |
4834 | + else |
4835 | + echo rs6000-ibm-aix3.2.5 |
4836 | + fi |
4837 | + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then |
4838 | + echo rs6000-ibm-aix3.2.4 |
4839 | + else |
4840 | + echo rs6000-ibm-aix3.2 |
4841 | + fi |
4842 | + exit ;; |
4843 | + *:AIX:*:[4567]) |
4844 | + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
4845 | + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
4846 | + IBM_ARCH=rs6000 |
4847 | + else |
4848 | + IBM_ARCH=powerpc |
4849 | + fi |
4850 | + if [ -x /usr/bin/oslevel ] ; then |
4851 | + IBM_REV=`/usr/bin/oslevel` |
4852 | + else |
4853 | + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
4854 | + fi |
4855 | + echo ${IBM_ARCH}-ibm-aix${IBM_REV} |
4856 | + exit ;; |
4857 | + *:AIX:*:*) |
4858 | + echo rs6000-ibm-aix |
4859 | + exit ;; |
4860 | + ibmrt:4.4BSD:*|romp-ibm:BSD:*) |
4861 | + echo romp-ibm-bsd4.4 |
4862 | + exit ;; |
4863 | + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
4864 | + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to |
4865 | + exit ;; # report: romp-ibm BSD 4.3 |
4866 | + *:BOSX:*:*) |
4867 | + echo rs6000-bull-bosx |
4868 | + exit ;; |
4869 | + DPX/2?00:B.O.S.:*:*) |
4870 | + echo m68k-bull-sysv3 |
4871 | + exit ;; |
4872 | + 9000/[34]??:4.3bsd:1.*:*) |
4873 | + echo m68k-hp-bsd |
4874 | + exit ;; |
4875 | + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) |
4876 | + echo m68k-hp-bsd4.4 |
4877 | + exit ;; |
4878 | + 9000/[34678]??:HP-UX:*:*) |
4879 | + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
4880 | + case "${UNAME_MACHINE}" in |
4881 | + 9000/31? ) HP_ARCH=m68000 ;; |
4882 | + 9000/[34]?? ) HP_ARCH=m68k ;; |
4883 | + 9000/[678][0-9][0-9]) |
4884 | + if [ -x /usr/bin/getconf ]; then |
4885 | + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
4886 | + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
4887 | + case "${sc_cpu_version}" in |
4888 | + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
4889 | + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
4890 | + 532) # CPU_PA_RISC2_0 |
4891 | + case "${sc_kernel_bits}" in |
4892 | + 32) HP_ARCH="hppa2.0n" ;; |
4893 | + 64) HP_ARCH="hppa2.0w" ;; |
4894 | + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
4895 | + esac ;; |
4896 | + esac |
4897 | + fi |
4898 | + if [ "${HP_ARCH}" = "" ]; then |
4899 | + eval $set_cc_for_build |
4900 | + sed 's/^ //' << EOF >$dummy.c |
4901 | + |
4902 | + #define _HPUX_SOURCE |
4903 | + #include <stdlib.h> |
4904 | + #include <unistd.h> |
4905 | + |
4906 | + int main () |
4907 | + { |
4908 | + #if defined(_SC_KERNEL_BITS) |
4909 | + long bits = sysconf(_SC_KERNEL_BITS); |
4910 | + #endif |
4911 | + long cpu = sysconf (_SC_CPU_VERSION); |
4912 | + |
4913 | + switch (cpu) |
4914 | + { |
4915 | + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
4916 | + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
4917 | + case CPU_PA_RISC2_0: |
4918 | + #if defined(_SC_KERNEL_BITS) |
4919 | + switch (bits) |
4920 | + { |
4921 | + case 64: puts ("hppa2.0w"); break; |
4922 | + case 32: puts ("hppa2.0n"); break; |
4923 | + default: puts ("hppa2.0"); break; |
4924 | + } break; |
4925 | + #else /* !defined(_SC_KERNEL_BITS) */ |
4926 | + puts ("hppa2.0"); break; |
4927 | + #endif |
4928 | + default: puts ("hppa1.0"); break; |
4929 | + } |
4930 | + exit (0); |
4931 | + } |
4932 | +EOF |
4933 | + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
4934 | + test -z "$HP_ARCH" && HP_ARCH=hppa |
4935 | + fi ;; |
4936 | + esac |
4937 | + if [ ${HP_ARCH} = "hppa2.0w" ] |
4938 | + then |
4939 | + eval $set_cc_for_build |
4940 | + |
4941 | + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
4942 | + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
4943 | + # generating 64-bit code. GNU and HP use different nomenclature: |
4944 | + # |
4945 | + # $ CC_FOR_BUILD=cc ./config.guess |
4946 | + # => hppa2.0w-hp-hpux11.23 |
4947 | + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
4948 | + # => hppa64-hp-hpux11.23 |
4949 | + |
4950 | + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
4951 | + grep -q __LP64__ |
4952 | + then |
4953 | + HP_ARCH="hppa2.0w" |
4954 | + else |
4955 | + HP_ARCH="hppa64" |
4956 | + fi |
4957 | + fi |
4958 | + echo ${HP_ARCH}-hp-hpux${HPUX_REV} |
4959 | + exit ;; |
4960 | + ia64:HP-UX:*:*) |
4961 | + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
4962 | + echo ia64-hp-hpux${HPUX_REV} |
4963 | + exit ;; |
4964 | + 3050*:HI-UX:*:*) |
4965 | + eval $set_cc_for_build |
4966 | + sed 's/^ //' << EOF >$dummy.c |
4967 | + #include <unistd.h> |
4968 | + int |
4969 | + main () |
4970 | + { |
4971 | + long cpu = sysconf (_SC_CPU_VERSION); |
4972 | + /* The order matters, because CPU_IS_HP_MC68K erroneously returns |
4973 | + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct |
4974 | + results, however. */ |
4975 | + if (CPU_IS_PA_RISC (cpu)) |
4976 | + { |
4977 | + switch (cpu) |
4978 | + { |
4979 | + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; |
4980 | + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; |
4981 | + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; |
4982 | + default: puts ("hppa-hitachi-hiuxwe2"); break; |
4983 | + } |
4984 | + } |
4985 | + else if (CPU_IS_HP_MC68K (cpu)) |
4986 | + puts ("m68k-hitachi-hiuxwe2"); |
4987 | + else puts ("unknown-hitachi-hiuxwe2"); |
4988 | + exit (0); |
4989 | + } |
4990 | +EOF |
4991 | + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && |
4992 | + { echo "$SYSTEM_NAME"; exit; } |
4993 | + echo unknown-hitachi-hiuxwe2 |
4994 | + exit ;; |
4995 | + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) |
4996 | + echo hppa1.1-hp-bsd |
4997 | + exit ;; |
4998 | + 9000/8??:4.3bsd:*:*) |
4999 | + echo hppa1.0-hp-bsd |
5000 | + exit ;; |
The diff has been truncated for viewing.
Thanks Matt!
I've put this change here: http:// bazaar. launchpad. net/~ubuntu- desktop/ lightdm/ ubuntu/ revision/ 1077
lp:lightdm is the upstream branch, lp:~ubuntu-desktop/lightdm/ubuntu is the packaging branch.