Merge lp:~brian-murray/lightdm/bug-967229 into lp:lightdm

Proposed by Brian Murray on 2013-03-18
Status: Superseded
Proposed branch: lp:~brian-murray/lightdm/bug-967229
Merge into: lp:lightdm
Diff against target: 72465 lines (+68593/-1305) (has conflicts)
297 files modified
INSTALL (+365/-0)
Makefile.in (+857/-0)
NEWS (+73/-0)
TODO (+19/-0)
aclocal.m4 (+10619/-0)
compile (+343/-0)
config.guess (+1530/-0)
config.h.in (+89/-0)
config.sub (+1773/-0)
configure (+21213/-0)
configure.ac (+4/-0)
data/Makefile.am (+9/-0)
data/Makefile.in (+836/-0)
data/guest-session.apparmor (+66/-0)
data/init/Makefile.in (+512/-0)
data/pam/lightdm (+19/-0)
data/pam/lightdm-autologin (+19/-0)
data/pam/lightdm-greeter (+0/-16)
debian/changelog (+1353/-0)
debian/compat (+1/-0)
debian/control (+114/-0)
debian/copyright (+76/-0)
debian/gir1.2-lightdm-1.install (+1/-0)
debian/guest-account (+154/-0)
debian/liblightdm-gobject-1-0.install (+1/-0)
debian/liblightdm-gobject-1-0.symbols (+75/-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 (+98/-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.lightdm-greeter.pam (+11/-0)
debian/lightdm.pam (+14/-0)
debian/lightdm.postinst (+84/-0)
debian/lightdm.postrm (+47/-0)
debian/lightdm.preinst (+13/-0)
debian/lightdm.prerm (+58/-0)
debian/lightdm.templates (+24/-0)
debian/lightdm.upstart (+59/-0)
debian/patches/01_transition_ubuntu2d_ubuntu_desktop.patch (+21/-0)
debian/patches/03_launch_dbus.patch (+23/-0)
debian/patches/04_language_options.patch (+15/-0)
debian/patches/05_add_xserver_core_option.patch (+36/-0)
debian/patches/08_lp1059510.patch (+21/-0)
debian/patches/09_lp577919-fix-chromium-launch.patch (+264/-0)
debian/patches/10_selective_mlock.patch (+276/-0)
debian/patches/11_runtime_dir_access.patch (+21/-0)
debian/patches/series (+8/-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 (+41/-0)
debian/source/format (+1/-0)
debian/source_lightdm.py (+28/-0)
debian/tests/control (+3/-0)
debian/tests/upstream-tests (+8/-0)
debian/watch (+3/-0)
depcomp (+708/-0)
doc/Makefile.in (+741/-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 (+697/-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 (+411/-0)
doc/html/lightdm-gobject-1.devhelp2 (+89/-0)
doc/html/style.css (+266/-0)
doc/lightdm-gobject-1.types (+0/-5)
doc/tmpl/greeter.sgml (+0/-304)
doc/tmpl/language.sgml (+0/-77)
doc/tmpl/layout.sgml (+0/-75)
doc/tmpl/power.sgml (+0/-94)
doc/tmpl/session.sgml (+0/-58)
doc/tmpl/system.sgml (+0/-31)
doc/tmpl/user.sgml (+0/-191)
gtk-doc.make (+280/-0)
help/C/index.page (+39/-0)
help/C/legal.xml (+9/-0)
help/Makefile.am (+11/-0)
help/Makefile.in (+461/-0)
install-sh (+527/-0)
liblightdm-gobject/Makefile.in (+912/-0)
liblightdm-qt/Makefile.in (+789/-0)
liblightdm-qt/QLightDM/Language (+0/-1)
liblightdm-qt/QLightDM/usersmodel.h (+6/-0)
liblightdm-qt/sessionsmodel.cpp (+3/-0)
ltmain.sh (+9661/-0)
m4/introspection.m4 (+0/-94)
missing (+331/-0)
po/Makefile.in.in (+222/-0)
po/af.po (+100/-0)
po/an.po (+100/-0)
po/ar.po (+5/-0)
po/ast.po (+5/-0)
po/az.po (+100/-0)
po/be.po (+5/-0)
po/bg.po (+5/-0)
po/bn.po (+5/-0)
po/bo.po (+5/-0)
po/br.po (+5/-0)
po/bs.po (+5/-0)
po/ca.po (+5/-0)
po/ca@valencia.po (+5/-0)
po/cs.po (+5/-0)
po/da.po (+5/-0)
po/de.po (+5/-0)
po/el.po (+5/-0)
po/en_AU.po (+5/-0)
po/en_CA.po (+5/-0)
po/en_GB.po (+5/-0)
po/eo.po (+5/-0)
po/es.po (+5/-0)
po/et.po (+5/-0)
po/eu.po (+5/-0)
po/fa.po (+100/-0)
po/fi.po (+5/-0)
po/fo.po (+5/-0)
po/fr.po (+5/-0)
po/fy.po (+5/-0)
po/gd.po (+5/-0)
po/gl.po (+5/-0)
po/he.po (+5/-0)
po/hi.po (+5/-0)
po/hr.po (+5/-0)
po/hu.po (+5/-0)
po/ia.po (+10/-0)
po/id.po (+5/-0)
po/it.po (+5/-0)
po/ja.po (+5/-0)
po/kk.po (+5/-0)
po/km.po (+5/-0)
po/kn.po (+100/-0)
po/ko.po (+5/-0)
po/ku.po (+5/-0)
po/lb.po (+5/-0)
po/lt.po (+5/-0)
po/lv.po (+5/-0)
po/mhr.po (+5/-0)
po/mi.po (+100/-0)
po/ml.po (+5/-0)
po/mr.po (+100/-0)
po/ms.po (+5/-0)
po/my.po (+100/-0)
po/nb.po (+5/-0)
po/nl.po (+5/-0)
po/nn.po (+5/-0)
po/oc.po (+5/-0)
po/pa.po (+100/-0)
po/pl.po (+5/-0)
po/pt.po (+5/-0)
po/pt_BR.po (+5/-0)
po/ro.po (+5/-0)
po/ru.po (+5/-0)
po/sd.po (+5/-0)
po/shn.po (+5/-0)
po/si.po (+5/-0)
po/sk.po (+5/-0)
po/sl.po (+5/-0)
po/sq.po (+5/-0)
po/sr.po (+5/-0)
po/sv.po (+5/-0)
po/ta.po (+5/-0)
po/te.po (+5/-0)
po/th.po (+5/-0)
po/tr.po (+5/-0)
po/ug.po (+5/-0)
po/uk.po (+5/-0)
po/uz.po (+5/-0)
po/vi.po (+5/-0)
po/wae.po (+5/-0)
po/zh_CN.po (+5/-0)
po/zh_HK.po (+5/-0)
po/zh_TW.po (+5/-0)
src/Makefile.in (+1308/-0)
src/greeter.c (+9/-0)
src/ldm-marshal.c (+368/-0)
src/ldm-marshal.h (+68/-0)
src/lightdm.c (+7/-0)
src/session-child.c (+9/-0)
tests/Makefile.am (+42/-0)
tests/Makefile.in (+955/-0)
tests/TODO (+4/-0)
tests/scripts/autologin-guest-timeout.conf (+51/-0)
tests/scripts/autologin-session-error.conf (+44/-0)
tests/scripts/autologin-timeout.conf (+47/-0)
tests/scripts/change-authentication.conf (+38/-0)
tests/scripts/crash-authenticate.conf (+0/-34)
tests/scripts/cred-error.conf (+44/-0)
tests/scripts/cred-expired.conf (+44/-0)
tests/scripts/cred-unavail.conf (+44/-0)
tests/scripts/default-keyboard-layout.conf (+0/-38)
tests/scripts/denied.conf (+0/-34)
tests/scripts/expired.conf (+0/-34)
tests/scripts/group-membership.conf (+34/-0)
tests/scripts/home-dir-on-session.conf (+30/-0)
tests/scripts/keyboard-variants.conf (+0/-50)
tests/scripts/login-info-prompt.conf (+38/-0)
tests/scripts/login-long-password.conf (+35/-0)
tests/scripts/login-long-username.conf (+35/-0)
tests/scripts/login-multi-info-prompt.conf (+40/-0)
tests/scripts/login-multi-prompt.conf (+39/-0)
tests/scripts/login-pam.conf (+44/-0)
tests/scripts/login-remote-session.conf (+50/-0)
tests/scripts/login-two-factor.conf (+37/-0)
tests/scripts/open-file-descriptors.conf (+0/-47)
tests/scripts/pam.conf (+30/-0)
tests/scripts/restart-authentication.conf (+38/-0)
tests/scripts/session-stderr-backup.conf (+91/-0)
tests/scripts/session-stderr-multi-write.conf (+36/-0)
tests/scripts/util-path.conf (+35/-0)
tests/scripts/vnc-open-file-descriptors.conf (+0/-62)
tests/scripts/xdmcp-open-file-descriptors.conf (+0/-57)
tests/src/Makefile.in (+1413/-0)
tests/src/X.c (+6/-1)
tests/src/guest-account.c (+5/-0)
tests/src/initctl.c (+5/-0)
tests/src/libsystem.c (+70/-0)
tests/src/test-runner.c (+10/-0)
tests/test-autologin-gobject-guest-timeout (+2/-0)
tests/test-autologin-gobject-timeout (+2/-0)
tests/test-autologin-python-guest-timeout (+2/-0)
tests/test-autologin-python-timeout (+2/-0)
tests/test-autologin-qt-guest-timeout (+2/-0)
tests/test-autologin-qt-timeout (+2/-0)
tests/test-autologin-session-error (+2/-0)
tests/test-change-authentication (+2/-0)
tests/test-crash-authenticate (+2/-0)
tests/test-cred-error (+2/-0)
tests/test-cred-expired (+2/-0)
tests/test-cred-unavail (+2/-0)
tests/test-denied (+2/-0)
tests/test-expired (+2/-0)
tests/test-group-membership (+2/-0)
tests/test-home-dir-on-session (+2/-0)
tests/test-login-gobject-info-prompt (+2/-0)
tests/test-login-gobject-long-password (+2/-0)
tests/test-login-gobject-long-username (+2/-0)
tests/test-login-gobject-multi-info-prompt (+2/-0)
tests/test-login-gobject-multi-prompt (+2/-0)
tests/test-login-gobject-remote-session (+2/-0)
tests/test-login-gobject-two-factor (+2/-0)
tests/test-login-pam (+2/-0)
tests/test-login-python-info-prompt (+2/-0)
tests/test-login-python-long-password (+2/-0)
tests/test-login-python-long-username (+2/-0)
tests/test-login-python-multi-info-prompt (+2/-0)
tests/test-login-python-remote-session (+2/-0)
tests/test-login-python-two-factor (+2/-0)
tests/test-login-qt-info-prompt (+2/-0)
tests/test-login-qt-long-password (+2/-0)
tests/test-login-qt-long-username (+2/-0)
tests/test-login-qt-multi-info-prompt (+2/-0)
tests/test-login-qt-remote-session (+2/-0)
tests/test-login-qt-two-factor (+2/-0)
tests/test-pam (+2/-0)
tests/test-restart-authentication (+2/-0)
tests/test-session-stderr-backup (+2/-0)
tests/test-session-stderr-multi-write (+2/-0)
tests/test-util-path (+2/-0)
tests/test-vnc-open-file-descriptors (+0/-2)
utils/Makefile.in (+807/-0)
Contents conflict in .bzrignore
Text conflict in NEWS
Text conflict in configure.ac
Text conflict in data/Makefile.am
Text conflict in data/guest-session.apparmor
Conflict: can't delete data/pam.moved because it is not empty.  Not deleting.
Conflict adding file data/pam.  Moved existing file to data/pam.moved.
Conflict because data/pam.moved is not versioned, but has versioned children.  Versioned directory.
Conflict adding file help.  Moved existing file to help.moved.
Text conflict in liblightdm-qt/QLightDM/usersmodel.h
Text conflict in liblightdm-qt/sessionsmodel.cpp
Conflict adding file po/af.po.  Moved existing file to po/af.po.moved.
Conflict adding file po/an.po.  Moved existing file to po/an.po.moved.
Text conflict in po/ar.po
Text conflict in po/ast.po
Conflict adding file po/az.po.  Moved existing file to po/az.po.moved.
Text conflict in po/be.po
Text conflict in po/bg.po
Text conflict in po/bn.po
Text conflict in po/bo.po
Text conflict in po/br.po
Text conflict in po/bs.po
Text conflict in po/ca.po
Text conflict in po/ca@valencia.po
Text conflict in po/cs.po
Text conflict in po/da.po
Text conflict in po/de.po
Text conflict in po/el.po
Text conflict in po/en_AU.po
Text conflict in po/en_CA.po
Text conflict in po/en_GB.po
Text conflict in po/eo.po
Text conflict in po/es.po
Text conflict in po/et.po
Text conflict in po/eu.po
Conflict adding file po/fa.po.  Moved existing file to po/fa.po.moved.
Text conflict in po/fi.po
Text conflict in po/fo.po
Text conflict in po/fr.po
Text conflict in po/fy.po
Text conflict in po/gd.po
Text conflict in po/gl.po
Text conflict in po/he.po
Text conflict in po/hi.po
Text conflict in po/hr.po
Text conflict in po/hu.po
Text conflict in po/ia.po
Text conflict in po/id.po
Text conflict in po/it.po
Text conflict in po/ja.po
Text conflict in po/kk.po
Text conflict in po/km.po
Conflict adding file po/kn.po.  Moved existing file to po/kn.po.moved.
Text conflict in po/ko.po
Text conflict in po/ku.po
Text conflict in po/lb.po
Text conflict in po/lt.po
Text conflict in po/lv.po
Text conflict in po/mhr.po
Conflict adding file po/mi.po.  Moved existing file to po/mi.po.moved.
Text conflict in po/ml.po
Conflict adding file po/mr.po.  Moved existing file to po/mr.po.moved.
Text conflict in po/ms.po
Conflict adding file po/my.po.  Moved existing file to po/my.po.moved.
Text conflict in po/nb.po
Text conflict in po/nl.po
Text conflict in po/nn.po
Text conflict in po/oc.po
Conflict adding file po/pa.po.  Moved existing file to po/pa.po.moved.
Text conflict in po/pl.po
Text conflict in po/pt.po
Text conflict in po/pt_BR.po
Text conflict in po/ro.po
Text conflict in po/ru.po
Text conflict in po/sd.po
Text conflict in po/shn.po
Text conflict in po/si.po
Text conflict in po/sk.po
Text conflict in po/sl.po
Text conflict in po/sq.po
Text conflict in po/sr.po
Text conflict in po/sv.po
Text conflict in po/ta.po
Text conflict in po/te.po
Text conflict in po/th.po
Text conflict in po/tr.po
Text conflict in po/ug.po
Text conflict in po/uk.po
Text conflict in po/uz.po
Text conflict in po/vi.po
Text conflict in po/wae.po
Text conflict in po/zh_CN.po
Text conflict in po/zh_HK.po
Text conflict in po/zh_TW.po
Text conflict in src/greeter.c
Text conflict in src/session-child.c
Text conflict in tests/Makefile.am
Conflict adding file tests/scripts/autologin-guest-timeout.conf.  Moved existing file to tests/scripts/autologin-guest-timeout.conf.moved.
Conflict adding file tests/scripts/autologin-session-error.conf.  Moved existing file to tests/scripts/autologin-session-error.conf.moved.
Conflict adding file tests/scripts/autologin-timeout.conf.  Moved existing file to tests/scripts/autologin-timeout.conf.moved.
Conflict adding file tests/scripts/change-authentication.conf.  Moved existing file to tests/scripts/change-authentication.conf.moved.
Path conflict: tests/scripts/crash-authenticate.conf / <deleted>
Conflict adding file tests/scripts/cred-error.conf.  Moved existing file to tests/scripts/cred-error.conf.moved.
Conflict adding file tests/scripts/cred-expired.conf.  Moved existing file to tests/scripts/cred-expired.conf.moved.
Conflict adding file tests/scripts/cred-unavail.conf.  Moved existing file to tests/scripts/cred-unavail.conf.moved.
Path conflict: tests/scripts/denied.conf / <deleted>
Path conflict: tests/scripts/expired.conf / <deleted>
Conflict adding file tests/scripts/group-membership.conf.  Moved existing file to tests/scripts/group-membership.conf.moved.
Conflict adding file tests/scripts/home-dir-on-session.conf.  Moved existing file to tests/scripts/home-dir-on-session.conf.moved.
Conflict adding file tests/scripts/login-info-prompt.conf.  Moved existing file to tests/scripts/login-info-prompt.conf.moved.
Conflict adding file tests/scripts/login-long-password.conf.  Moved existing file to tests/scripts/login-long-password.conf.moved.
Conflict adding file tests/scripts/login-long-username.conf.  Moved existing file to tests/scripts/login-long-username.conf.moved.
Conflict adding file tests/scripts/login-multi-info-prompt.conf.  Moved existing file to tests/scripts/login-multi-info-prompt.conf.moved.
Conflict adding file tests/scripts/login-multi-prompt.conf.  Moved existing file to tests/scripts/login-multi-prompt.conf.moved.
Conflict adding file tests/scripts/login-pam.conf.  Moved existing file to tests/scripts/login-pam.conf.moved.
Conflict adding file tests/scripts/login-remote-session.conf.  Moved existing file to tests/scripts/login-remote-session.conf.moved.
Conflict adding file tests/scripts/login-two-factor.conf.  Moved existing file to tests/scripts/login-two-factor.conf.moved.
Conflict adding file tests/scripts/pam.conf.  Moved existing file to tests/scripts/pam.conf.moved.
Conflict adding file tests/scripts/restart-authentication.conf.  Moved existing file to tests/scripts/restart-authentication.conf.moved.
Conflict adding file tests/scripts/session-stderr-backup.conf.  Moved existing file to tests/scripts/session-stderr-backup.conf.moved.
Conflict adding file tests/scripts/session-stderr-multi-write.conf.  Moved existing file to tests/scripts/session-stderr-multi-write.conf.moved.
Conflict adding file tests/scripts/util-path.conf.  Moved existing file to tests/scripts/util-path.conf.moved.
Text conflict in tests/src/X.c
Text conflict in tests/src/guest-account.c
Text conflict in tests/src/initctl.c
Text conflict in tests/src/libsystem.c
Contents conflict in tests/src/test-python-greeter
Conflict adding file tests/test-autologin-gobject-guest-timeout.  Moved existing file to tests/test-autologin-gobject-guest-timeout.moved.
Conflict adding file tests/test-autologin-gobject-timeout.  Moved existing file to tests/test-autologin-gobject-timeout.moved.
Conflict adding file tests/test-autologin-python-guest-timeout.  Moved existing file to tests/test-autologin-python-guest-timeout.moved.
Conflict adding file tests/test-autologin-python-timeout.  Moved existing file to tests/test-autologin-python-timeout.moved.
Conflict adding file tests/test-autologin-session-error.  Moved existing file to tests/test-autologin-session-error.moved.
Conflict adding file tests/test-change-authentication.  Moved existing file to tests/test-change-authentication.moved.
Path conflict: tests/test-crash-authenticate / <deleted>
Conflict adding file tests/test-crash-authenticate.  Moved existing file to tests/test-crash-authenticate.moved.
Conflict adding file tests/test-cred-error.  Moved existing file to tests/test-cred-error.moved.
Conflict adding file tests/test-cred-expired.  Moved existing file to tests/test-cred-expired.moved.
Conflict adding file tests/test-cred-unavail.  Moved existing file to tests/test-cred-unavail.moved.
Path conflict: tests/test-denied / <deleted>
Conflict adding file tests/test-denied.  Moved existing file to tests/test-denied.moved.
Path conflict: tests/test-expired / <deleted>
Conflict adding file tests/test-expired.  Moved existing file to tests/test-expired.moved.
Conflict adding file tests/test-group-membership.  Moved existing file to tests/test-group-membership.moved.
Conflict adding file tests/test-home-dir-on-session.  Moved existing file to tests/test-home-dir-on-session.moved.
Conflict adding file tests/test-login-gobject-info-prompt.  Moved existing file to tests/test-login-gobject-info-prompt.moved.
Conflict adding file tests/test-login-gobject-long-password.  Moved existing file to tests/test-login-gobject-long-password.moved.
Conflict adding file tests/test-login-gobject-long-username.  Moved existing file to tests/test-login-gobject-long-username.moved.
Conflict adding file tests/test-login-gobject-multi-info-prompt.  Moved existing file to tests/test-login-gobject-multi-info-prompt.moved.
Conflict adding file tests/test-login-gobject-multi-prompt.  Moved existing file to tests/test-login-gobject-multi-prompt.moved.
Conflict adding file tests/test-login-gobject-remote-session.  Moved existing file to tests/test-login-gobject-remote-session.moved.
Conflict adding file tests/test-login-gobject-two-factor.  Moved existing file to tests/test-login-gobject-two-factor.moved.
Conflict adding file tests/test-login-pam.  Moved existing file to tests/test-login-pam.moved.
Conflict adding file tests/test-login-python-info-prompt.  Moved existing file to tests/test-login-python-info-prompt.moved.
Conflict adding file tests/test-login-python-long-password.  Moved existing file to tests/test-login-python-long-password.moved.
Conflict adding file tests/test-login-python-long-username.  Moved existing file to tests/test-login-python-long-username.moved.
Conflict adding file tests/test-login-python-multi-info-prompt.  Moved existing file to tests/test-login-python-multi-info-prompt.moved.
Conflict adding file tests/test-login-python-remote-session.  Moved existing file to tests/test-login-python-remote-session.moved.
Conflict adding file tests/test-login-python-two-factor.  Moved existing file to tests/test-login-python-two-factor.moved.
Conflict adding file tests/test-pam.  Moved existing file to tests/test-pam.moved.
Conflict adding file tests/test-restart-authentication.  Moved existing file to tests/test-restart-authentication.moved.
Conflict adding file tests/test-session-stderr-backup.  Moved existing file to tests/test-session-stderr-backup.moved.
Conflict adding file tests/test-session-stderr-multi-write.  Moved existing file to tests/test-session-stderr-multi-write.moved.
Conflict adding file tests/test-util-path.  Moved existing file to tests/test-util-path.moved.
To merge this branch: bzr merge lp:~brian-murray/lightdm/bug-967229
Reviewer Review Type Date Requested Status
LightDM Development Team 2013-03-18 Pending
Review via email: mp+153953@code.launchpad.net

Description of the change

This clears the screen of boot logging messages after lightdm starts so that "garbage" is not displayed if someone switches users, suspends or the x server crashes.

To post a comment you must log in.

Unmerged revisions

1132. By Brian Murray on 2013-03-18

debian/lightdm.upstart: Clear the virtual terminal after starting lightdm
so startup messages are not displayed when switching users or when
suspending (LP: #967229)

1131. By Martin Pitt on 2013-02-25

releasing version 1.4.0-0ubuntu5

1130. By Martin Pitt on 2013-02-25

Add 11_runtime_dir_access.patch: Allow guest session to write
/run/user/<username>/. (LP: #1131139)

1129. By Steve Langasek on 2013-02-12

releasing version 1.4.0-0ubuntu4

1128. By Steve Langasek on 2013-02-12

Update pam configs to call pam_env last and use user_readenv=1
explicitly, so that ~/.pam_environment can always be read even when
home directories are encrypted with ecryptfs. LP: #952185.

1127. By Michael Terry on 2013-01-31

release 1.4.0-0ubuntu3

1126. By Michael Terry on 2013-01-31

* debian/patches/10_selective_mlock.patch:
  - Backport patch from upstream to not use mlockall for the daemon
    (LP: #1074279)

1125. By Michael Terry on 2013-01-28

* debian/rules:
  - Use ./autogen.sh when running dh_autoreconf

1124. By Robert Ancell on 2012-11-08

* debian/lightdm.install:
  - Remove duplicate entry /usr/share/man
  - Install apport hook
* debian/lightdm.postinst:
  - Fix ownership of /var/lib/lightdm
* debian/lightdm.postrm:
  - Correctly remove /var/lib/lightdm on uninstall
* debian/source_lightdm.py:
  - Update apport hook

1123. By Michael Terry on 2012-11-06

disable tests until next upstream release

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== renamed file '.bzrignore' => '.bzrignore.THIS'
=== added file 'INSTALL'
--- INSTALL 1970-01-01 00:00:00 +0000
+++ INSTALL 2013-03-18 23:03:22 +0000
@@ -0,0 +1,365 @@
1Installation Instructions
2*************************
3
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
52006, 2007, 2008, 2009 Free Software Foundation, Inc.
6
7 Copying and distribution of this file, with or without modification,
8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
11
12Basic Installation
13==================
14
15 Briefly, the shell commands `./configure; make; make install' should
16configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
23
24 The `configure' shell script attempts to guess correct values for
25various system-dependent variables used during compilation. It uses
26those values to create a `Makefile' in each directory of the package.
27It may also create one or more `.h' files containing system-dependent
28definitions. Finally, it creates a shell script `config.status' that
29you can run in the future to recreate the current configuration, and a
30file `config.log' containing compiler output (useful mainly for
31debugging `configure').
32
33 It can also use an optional file (typically called `config.cache'
34and enabled with `--cache-file=config.cache' or simply `-C') that saves
35the results of its tests to speed up reconfiguring. Caching is
36disabled by default to prevent problems with accidental use of stale
37cache files.
38
39 If you need to do unusual things to compile the package, please try
40to figure out how `configure' could check whether to do them, and mail
41diffs or instructions to the address given in the `README' so they can
42be considered for the next release. If you are using the cache, and at
43some point `config.cache' contains results you don't want to keep, you
44may remove or edit it.
45
46 The file `configure.ac' (or `configure.in') is used to create
47`configure' by a program called `autoconf'. You need `configure.ac' if
48you want to change it or regenerate `configure' using a newer version
49of `autoconf'.
50
51 The simplest way to compile this package is:
52
53 1. `cd' to the directory containing the package's source code and type
54 `./configure' to configure the package for your system.
55
56 Running `configure' might take a while. While running, it prints
57 some messages telling which features it is checking for.
58
59 2. Type `make' to compile the package.
60
61 3. Optionally, type `make check' to run any self-tests that come with
62 the package, generally using the just-built uninstalled binaries.
63
64 4. Type `make install' to install the programs and any data files and
65 documentation. When installing into a prefix owned by root, it is
66 recommended that the package be configured and built as a regular
67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
78 source code directory by typing `make clean'. To also remove the
79 files that `configure' created (so you can compile the package for
80 a different kind of computer), type `make distclean'. There is
81 also a `make maintainer-clean' target, but that is intended mainly
82 for the package's developers. If you use it, you may have to get
83 all sorts of other programs in order to regenerate files that came
84 with the distribution.
85
86 7. Often, you can also type `make uninstall' to remove the installed
87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
95
96Compilers and Options
97=====================
98
99 Some systems require unusual options for compilation or linking that
100the `configure' script does not know about. Run `./configure --help'
101for details on some of the pertinent environment variables.
102
103 You can give `configure' initial values for configuration parameters
104by setting variables in the command line or in the environment. Here
105is an example:
106
107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108
109 *Note Defining Variables::, for more details.
110
111Compiling For Multiple Architectures
112====================================
113
114 You can compile the package for more than one kind of computer at the
115same time, by placing the object files for each architecture in their
116own directory. To do this, you can use GNU `make'. `cd' to the
117directory where you want the object files and executables to go and run
118the `configure' script. `configure' automatically checks for the
119source code in the directory that `configure' is in and in `..'. This
120is known as a "VPATH" build.
121
122 With a non-GNU `make', it is safer to compile the package for one
123architecture at a time in the source code directory. After you have
124installed the package for one architecture, use `make distclean' before
125reconfiguring for another architecture.
126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
140
141Installation Names
142==================
143
144 By default, `make install' installs the package's commands under
145`/usr/local/bin', include files under `/usr/local/include', etc. You
146can specify an installation prefix other than `/usr/local' by giving
147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
149
150 You can specify separate installation prefixes for
151architecture-specific files and architecture-independent files. If you
152pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153PREFIX as the prefix for installing programs and libraries.
154Documentation and other data files still use the regular prefix.
155
156 In addition, if you use an unusual directory layout you can give
157options like `--bindir=DIR' to specify different values for particular
158kinds of files. Run `configure --help' for a list of the directories
159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
194
195 If the package supports it, you can cause programs to be installed
196with an extra prefix or suffix on their names by giving `configure' the
197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198
199 Some packages pay attention to `--enable-FEATURE' options to
200`configure', where FEATURE indicates an optional part of the package.
201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202is something like `gnu-as' or `x' (for the X Window System). The
203`README' should mention any `--enable-' and `--with-' options that the
204package recognizes.
205
206 For packages that use the X Window System, `configure' can usually
207find the X include and library files automatically, but if it doesn't,
208you can use the `configure' options `--x-includes=DIR' and
209`--x-libraries=DIR' to specify their locations.
210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
231a workaround. If GNU CC is not installed, it is therefore recommended
232to try
233
234 ./configure CC="cc"
235
236and if that doesn't work, try
237
238 ./configure CC="cc -nodtk"
239
240 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
241directory contains several dysfunctional programs; working variants of
242these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
243in your `PATH', put it _after_ `/usr/bin'.
244
245 On Haiku, software installed for all users goes in `/boot/common',
246not `/usr/local'. It is recommended to use the following options:
247
248 ./configure --prefix=/boot/common
249
250Specifying the System Type
251==========================
252
253 There may be some features `configure' cannot figure out
254automatically, but needs to determine by the type of machine the package
255will run on. Usually, assuming the package is built to be run on the
256_same_ architectures, `configure' can figure that out, but if it prints
257a message saying it cannot guess the machine type, give it the
258`--build=TYPE' option. TYPE can either be a short name for the system
259type, such as `sun4', or a canonical name which has the form:
260
261 CPU-COMPANY-SYSTEM
262
263where SYSTEM can have one of these forms:
264
265 OS
266 KERNEL-OS
267
268 See the file `config.sub' for the possible values of each field. If
269`config.sub' isn't included in this package, then this package doesn't
270need to know the machine type.
271
272 If you are _building_ compiler tools for cross-compiling, you should
273use the option `--target=TYPE' to select the type of system they will
274produce code for.
275
276 If you want to _use_ a cross compiler, that generates code for a
277platform different from the build platform, you should specify the
278"host" platform (i.e., that on which the generated programs will
279eventually be run) with `--host=TYPE'.
280
281Sharing Defaults
282================
283
284 If you want to set default values for `configure' scripts to share,
285you can create a site shell script called `config.site' that gives
286default values for variables like `CC', `cache_file', and `prefix'.
287`configure' looks for `PREFIX/share/config.site' if it exists, then
288`PREFIX/etc/config.site' if it exists. Or, you can set the
289`CONFIG_SITE' environment variable to the location of the site script.
290A warning: not all `configure' scripts look for a site script.
291
292Defining Variables
293==================
294
295 Variables not defined in a site shell script can be set in the
296environment passed to `configure'. However, some packages may run
297configure again during the build, and the customized values of these
298variables may be lost. In order to avoid this problem, you should set
299them in the `configure' command line, using `VAR=value'. For example:
300
301 ./configure CC=/usr/local2/bin/gcc
302
303causes the specified `gcc' to be used as the C compiler (unless it is
304overridden in the site shell script).
305
306Unfortunately, this technique does not work for `CONFIG_SHELL' due to
307an Autoconf bug. Until the bug is fixed you can use this workaround:
308
309 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
310
311`configure' Invocation
312======================
313
314 `configure' recognizes the following options to control how it
315operates.
316
317`--help'
318`-h'
319 Print a summary of all of the options to `configure', and exit.
320
321`--help=short'
322`--help=recursive'
323 Print a summary of the options unique to this package's
324 `configure', and exit. The `short' variant lists options used
325 only in the top level, while the `recursive' variant lists options
326 also present in any nested packages.
327
328`--version'
329`-V'
330 Print the version of Autoconf used to generate the `configure'
331 script, and exit.
332
333`--cache-file=FILE'
334 Enable the cache: use and save the results of the tests in FILE,
335 traditionally `config.cache'. FILE defaults to `/dev/null' to
336 disable caching.
337
338`--config-cache'
339`-C'
340 Alias for `--cache-file=config.cache'.
341
342`--quiet'
343`--silent'
344`-q'
345 Do not print messages saying which checks are being made. To
346 suppress all normal output, redirect it to `/dev/null' (any error
347 messages will still be shown).
348
349`--srcdir=DIR'
350 Look for the package's source code in directory DIR. Usually
351 `configure' can determine that directory automatically.
352
353`--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
356 the installation locations.
357
358`--no-create'
359`-n'
360 Run the configure checks, but stop before creating any output
361 files.
362
363`configure' also accepts some other, not widely useful, options. Run
364`configure --help' for more details.
365
0366
=== modified file 'Makefile.am'
=== added file 'Makefile.in'
--- Makefile.in 1970-01-01 00:00:00 +0000
+++ Makefile.in 2013-03-18 23:03:22 +0000
@@ -0,0 +1,857 @@
1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17VPATH = @srcdir@
18am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
35pkgdatadir = $(datadir)/@PACKAGE@
36pkgincludedir = $(includedir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkglibexecdir = $(libexecdir)/@PACKAGE@
39am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40install_sh_DATA = $(install_sh) -c -m 644
41install_sh_PROGRAM = $(install_sh) -c
42install_sh_SCRIPT = $(install_sh) -c
43INSTALL_HEADER = $(INSTALL_DATA)
44transform = $(program_transform_name)
45NORMAL_INSTALL = :
46PRE_INSTALL = :
47POST_INSTALL = :
48NORMAL_UNINSTALL = :
49PRE_UNINSTALL = :
50POST_UNINSTALL = :
51build_triplet = @build@
52host_triplet = @host@
53@COMPILE_LIBLIGHTDM_GOBJECT_TRUE@am__append_1 = liblightdm-gobject
54@COMPILE_LIBLIGHTDM_QT_TRUE@am__append_2 = liblightdm-qt
55@COMPILE_TESTS_TRUE@am__append_3 = tests
56subdir = .
57DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
58 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
59 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
60 TODO compile config.guess config.sub depcomp install-sh \
61 ltmain.sh missing
62ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63am__aclocal_m4_deps = $(top_srcdir)/configure.ac
64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 $(ACLOCAL_M4)
66am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
67 configure.lineno config.status.lineno
68mkinstalldirs = $(install_sh) -d
69CONFIG_HEADER = config.h
70CONFIG_CLEAN_FILES =
71CONFIG_CLEAN_VPATH_FILES =
72AM_V_GEN = $(am__v_GEN_@AM_V@)
73am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
74am__v_GEN_0 = @echo " GEN " $@;
75AM_V_at = $(am__v_at_@AM_V@)
76am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
77am__v_at_0 = @
78SOURCES =
79DIST_SOURCES =
80RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
81 html-recursive info-recursive install-data-recursive \
82 install-dvi-recursive install-exec-recursive \
83 install-html-recursive install-info-recursive \
84 install-pdf-recursive install-ps-recursive install-recursive \
85 installcheck-recursive installdirs-recursive pdf-recursive \
86 ps-recursive uninstall-recursive
87am__can_run_installinfo = \
88 case $$AM_UPDATE_INFO_DIR in \
89 n|no|NO) false;; \
90 *) (install-info --version) >/dev/null 2>&1;; \
91 esac
92RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
93 distclean-recursive maintainer-clean-recursive
94AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
95 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
96 distdir dist dist-all distcheck
97ETAGS = etags
98CTAGS = ctags
99DIST_SUBDIRS = liblightdm-gobject liblightdm-qt tests data po src doc \
100 help utils
101DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
102distdir = $(PACKAGE)-$(VERSION)
103top_distdir = $(distdir)
104am__remove_distdir = \
105 if test -d "$(distdir)"; then \
106 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
107 && rm -rf "$(distdir)" \
108 || { sleep 5 && rm -rf "$(distdir)"; }; \
109 else :; fi
110am__relativize = \
111 dir0=`pwd`; \
112 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
113 sed_rest='s,^[^/]*/*,,'; \
114 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
115 sed_butlast='s,/*[^/]*$$,,'; \
116 while test -n "$$dir1"; do \
117 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
118 if test "$$first" != "."; then \
119 if test "$$first" = ".."; then \
120 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
121 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
122 else \
123 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
124 if test "$$first2" = "$$first"; then \
125 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
126 else \
127 dir2="../$$dir2"; \
128 fi; \
129 dir0="$$dir0"/"$$first"; \
130 fi; \
131 fi; \
132 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
133 done; \
134 reldir="$$dir2"
135DIST_ARCHIVES = $(distdir).tar.gz
136GZIP_ENV = --best
137distuninstallcheck_listfiles = find . -type f -print
138am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
139 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
140distcleancheck_listfiles = find . -type f -print
141ACLOCAL = @ACLOCAL@
142ALL_LINGUAS = @ALL_LINGUAS@
143AMTAR = @AMTAR@
144AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
145AR = @AR@
146AUTOCONF = @AUTOCONF@
147AUTOHEADER = @AUTOHEADER@
148AUTOMAKE = @AUTOMAKE@
149AWK = @AWK@
150CC = @CC@
151CCDEPMODE = @CCDEPMODE@
152CFLAGS = @CFLAGS@
153CPP = @CPP@
154CPPFLAGS = @CPPFLAGS@
155CXX = @CXX@
156CXXCPP = @CXXCPP@
157CXXDEPMODE = @CXXDEPMODE@
158CXXFLAGS = @CXXFLAGS@
159CYGPATH_W = @CYGPATH_W@
160DATADIRNAME = @DATADIRNAME@
161DEFS = @DEFS@
162DEPDIR = @DEPDIR@
163DLLTOOL = @DLLTOOL@
164DSYMUTIL = @DSYMUTIL@
165DUMPBIN = @DUMPBIN@
166ECHO_C = @ECHO_C@
167ECHO_N = @ECHO_N@
168ECHO_T = @ECHO_T@
169EGREP = @EGREP@
170EXEEXT = @EXEEXT@
171FGREP = @FGREP@
172GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
173GIO_CFLAGS = @GIO_CFLAGS@
174GIO_LIBS = @GIO_LIBS@
175GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
176GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
177GLIB_CFLAGS = @GLIB_CFLAGS@
178GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
179GLIB_LIBS = @GLIB_LIBS@
180GMSGFMT = @GMSGFMT@
181GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
182GOBJECT_LIBS = @GOBJECT_LIBS@
183GREETER_SESSION = @GREETER_SESSION@
184GREETER_USER = @GREETER_USER@
185GREP = @GREP@
186GTKDOC_CHECK = @GTKDOC_CHECK@
187GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
188GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
189GTKDOC_MKPDF = @GTKDOC_MKPDF@
190GTKDOC_REBASE = @GTKDOC_REBASE@
191HELP_DIR = @HELP_DIR@
192HTML_DIR = @HTML_DIR@
193INSTALL = @INSTALL@
194INSTALL_DATA = @INSTALL_DATA@
195INSTALL_PROGRAM = @INSTALL_PROGRAM@
196INSTALL_SCRIPT = @INSTALL_SCRIPT@
197INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
198INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
199INTLTOOL_MERGE = @INTLTOOL_MERGE@
200INTLTOOL_PERL = @INTLTOOL_PERL@
201INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
202INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
203INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
204INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
205INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
206INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
207INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
208INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
209INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
210INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
211INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
212INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
213INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
214ITSTOOL = @ITSTOOL@
215LD = @LD@
216LDFLAGS = @LDFLAGS@
217LIBLIGHTDM_GOBJECT_CFLAGS = @LIBLIGHTDM_GOBJECT_CFLAGS@
218LIBLIGHTDM_GOBJECT_LIBS = @LIBLIGHTDM_GOBJECT_LIBS@
219LIBLIGHTDM_QT_CFLAGS = @LIBLIGHTDM_QT_CFLAGS@
220LIBLIGHTDM_QT_LIBS = @LIBLIGHTDM_QT_LIBS@
221LIBOBJS = @LIBOBJS@
222LIBS = @LIBS@
223LIBTOOL = @LIBTOOL@
224LIGHTDM_CFLAGS = @LIGHTDM_CFLAGS@
225LIGHTDM_LIBS = @LIGHTDM_LIBS@
226LIPO = @LIPO@
227LN_S = @LN_S@
228LTLIBOBJS = @LTLIBOBJS@
229MAINT = @MAINT@
230MAKEINFO = @MAKEINFO@
231MANIFEST_TOOL = @MANIFEST_TOOL@
232MKDIR_P = @MKDIR_P@
233MOC = @MOC@
234MSGFMT = @MSGFMT@
235MSGMERGE = @MSGMERGE@
236NM = @NM@
237NMEDIT = @NMEDIT@
238OBJDUMP = @OBJDUMP@
239OBJEXT = @OBJEXT@
240OTOOL = @OTOOL@
241OTOOL64 = @OTOOL64@
242PACKAGE = @PACKAGE@
243PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
244PACKAGE_NAME = @PACKAGE_NAME@
245PACKAGE_STRING = @PACKAGE_STRING@
246PACKAGE_TARNAME = @PACKAGE_TARNAME@
247PACKAGE_URL = @PACKAGE_URL@
248PACKAGE_VERSION = @PACKAGE_VERSION@
249PATH_SEPARATOR = @PATH_SEPARATOR@
250PKG_CONFIG = @PKG_CONFIG@
251PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
252PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
253RANLIB = @RANLIB@
254SED = @SED@
255SET_MAKE = @SET_MAKE@
256SHELL = @SHELL@
257STRIP = @STRIP@
258USER_SESSION = @USER_SESSION@
259USE_NLS = @USE_NLS@
260VERSION = @VERSION@
261WARN_CFLAGS = @WARN_CFLAGS@
262XCB_CFLAGS = @XCB_CFLAGS@
263XCB_LIBS = @XCB_LIBS@
264XGETTEXT = @XGETTEXT@
265XMLLINT = @XMLLINT@
266abs_builddir = @abs_builddir@
267abs_srcdir = @abs_srcdir@
268abs_top_builddir = @abs_top_builddir@
269abs_top_srcdir = @abs_top_srcdir@
270ac_ct_AR = @ac_ct_AR@
271ac_ct_CC = @ac_ct_CC@
272ac_ct_CXX = @ac_ct_CXX@
273ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
274ac_ct_MOC = @ac_ct_MOC@
275am__include = @am__include@
276am__leading_dot = @am__leading_dot@
277am__quote = @am__quote@
278am__tar = @am__tar@
279am__untar = @am__untar@
280bindir = @bindir@
281build = @build@
282build_alias = @build_alias@
283build_cpu = @build_cpu@
284build_os = @build_os@
285build_vendor = @build_vendor@
286builddir = @builddir@
287datadir = @datadir@
288datarootdir = @datarootdir@
289docdir = @docdir@
290dvidir = @dvidir@
291exec_prefix = @exec_prefix@
292host = @host@
293host_alias = @host_alias@
294host_cpu = @host_cpu@
295host_os = @host_os@
296host_vendor = @host_vendor@
297htmldir = @htmldir@
298includedir = @includedir@
299infodir = @infodir@
300install_sh = @install_sh@
301intltool__v_merge_options_ = @intltool__v_merge_options_@
302intltool__v_merge_options_0 = @intltool__v_merge_options_0@
303libdir = @libdir@
304libexecdir = @libexecdir@
305localedir = @localedir@
306localstatedir = @localstatedir@
307mandir = @mandir@
308mkdir_p = @mkdir_p@
309oldincludedir = @oldincludedir@
310pdfdir = @pdfdir@
311prefix = @prefix@
312program_transform_name = @program_transform_name@
313psdir = @psdir@
314sbindir = @sbindir@
315sharedstatedir = @sharedstatedir@
316srcdir = @srcdir@
317sysconfdir = @sysconfdir@
318target_alias = @target_alias@
319top_build_prefix = @top_build_prefix@
320top_builddir = @top_builddir@
321top_srcdir = @top_srcdir@
322SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) data po src \
323 doc help utils
324DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
325EXTRA_DIST = \
326 autogen.sh \
327 lightdm.doap
328
329DISTCLEANFILES = \
330 Makefile.in \
331 aclocal.m4 \
332 configure \
333 config.h.in \
334 config.h \
335 depcomp \
336 gtk-doc.make \
337 install-sh \
338 missing \
339 mkinstalldirs \
340 omf.make \
341 xmldocs.make \
342 po/Makefile.in.in
343
344all: config.h
345 $(MAKE) $(AM_MAKEFLAGS) all-recursive
346
347.SUFFIXES:
348am--refresh: Makefile
349 @:
350$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
351 @for dep in $?; do \
352 case '$(am__configure_deps)' in \
353 *$$dep*) \
354 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
355 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
356 && exit 0; \
357 exit 1;; \
358 esac; \
359 done; \
360 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
361 $(am__cd) $(top_srcdir) && \
362 $(AUTOMAKE) --gnu Makefile
363.PRECIOUS: Makefile
364Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
365 @case '$?' in \
366 *config.status*) \
367 echo ' $(SHELL) ./config.status'; \
368 $(SHELL) ./config.status;; \
369 *) \
370 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
371 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
372 esac;
373
374$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
375 $(SHELL) ./config.status --recheck
376
377$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
378 $(am__cd) $(srcdir) && $(AUTOCONF)
379$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
380 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
381$(am__aclocal_m4_deps):
382
383config.h: stamp-h1
384 @if test ! -f $@; then rm -f stamp-h1; else :; fi
385 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
386
387stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
388 @rm -f stamp-h1
389 cd $(top_builddir) && $(SHELL) ./config.status config.h
390$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
391 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
392 rm -f stamp-h1
393 touch $@
394
395distclean-hdr:
396 -rm -f config.h stamp-h1
397
398mostlyclean-libtool:
399 -rm -f *.lo
400
401clean-libtool:
402 -rm -rf .libs _libs
403
404distclean-libtool:
405 -rm -f libtool config.lt
406
407# This directory's subdirectories are mostly independent; you can cd
408# into them and run `make' without going through this Makefile.
409# To change the values of `make' variables: instead of editing Makefiles,
410# (1) if the variable is set in `config.status', edit `config.status'
411# (which will cause the Makefiles to be regenerated when you run `make');
412# (2) otherwise, pass the desired values on the `make' command line.
413$(RECURSIVE_TARGETS):
414 @fail= failcom='exit 1'; \
415 for f in x $$MAKEFLAGS; do \
416 case $$f in \
417 *=* | --[!k]*);; \
418 *k*) failcom='fail=yes';; \
419 esac; \
420 done; \
421 dot_seen=no; \
422 target=`echo $@ | sed s/-recursive//`; \
423 list='$(SUBDIRS)'; for subdir in $$list; do \
424 echo "Making $$target in $$subdir"; \
425 if test "$$subdir" = "."; then \
426 dot_seen=yes; \
427 local_target="$$target-am"; \
428 else \
429 local_target="$$target"; \
430 fi; \
431 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
432 || eval $$failcom; \
433 done; \
434 if test "$$dot_seen" = "no"; then \
435 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
436 fi; test -z "$$fail"
437
438$(RECURSIVE_CLEAN_TARGETS):
439 @fail= failcom='exit 1'; \
440 for f in x $$MAKEFLAGS; do \
441 case $$f in \
442 *=* | --[!k]*);; \
443 *k*) failcom='fail=yes';; \
444 esac; \
445 done; \
446 dot_seen=no; \
447 case "$@" in \
448 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
449 *) list='$(SUBDIRS)' ;; \
450 esac; \
451 rev=''; for subdir in $$list; do \
452 if test "$$subdir" = "."; then :; else \
453 rev="$$subdir $$rev"; \
454 fi; \
455 done; \
456 rev="$$rev ."; \
457 target=`echo $@ | sed s/-recursive//`; \
458 for subdir in $$rev; do \
459 echo "Making $$target in $$subdir"; \
460 if test "$$subdir" = "."; then \
461 local_target="$$target-am"; \
462 else \
463 local_target="$$target"; \
464 fi; \
465 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
466 || eval $$failcom; \
467 done && test -z "$$fail"
468tags-recursive:
469 list='$(SUBDIRS)'; for subdir in $$list; do \
470 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
471 done
472ctags-recursive:
473 list='$(SUBDIRS)'; for subdir in $$list; do \
474 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
475 done
476
477ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
478 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
479 unique=`for i in $$list; do \
480 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
481 done | \
482 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
483 END { if (nonempty) { for (i in files) print i; }; }'`; \
484 mkid -fID $$unique
485tags: TAGS
486
487TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
488 $(TAGS_FILES) $(LISP)
489 set x; \
490 here=`pwd`; \
491 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
492 include_option=--etags-include; \
493 empty_fix=.; \
494 else \
495 include_option=--include; \
496 empty_fix=; \
497 fi; \
498 list='$(SUBDIRS)'; for subdir in $$list; do \
499 if test "$$subdir" = .; then :; else \
500 test ! -f $$subdir/TAGS || \
501 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
502 fi; \
503 done; \
504 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
505 unique=`for i in $$list; do \
506 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
507 done | \
508 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
509 END { if (nonempty) { for (i in files) print i; }; }'`; \
510 shift; \
511 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
512 test -n "$$unique" || unique=$$empty_fix; \
513 if test $$# -gt 0; then \
514 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
515 "$$@" $$unique; \
516 else \
517 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
518 $$unique; \
519 fi; \
520 fi
521ctags: CTAGS
522CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
523 $(TAGS_FILES) $(LISP)
524 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
525 unique=`for i in $$list; do \
526 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
527 done | \
528 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
529 END { if (nonempty) { for (i in files) print i; }; }'`; \
530 test -z "$(CTAGS_ARGS)$$unique" \
531 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
532 $$unique
533
534GTAGS:
535 here=`$(am__cd) $(top_builddir) && pwd` \
536 && $(am__cd) $(top_srcdir) \
537 && gtags -i $(GTAGS_ARGS) "$$here"
538
539distclean-tags:
540 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
541
542distdir: $(DISTFILES)
543 $(am__remove_distdir)
544 test -d "$(distdir)" || mkdir "$(distdir)"
545 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
546 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
547 list='$(DISTFILES)'; \
548 dist_files=`for file in $$list; do echo $$file; done | \
549 sed -e "s|^$$srcdirstrip/||;t" \
550 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
551 case $$dist_files in \
552 */*) $(MKDIR_P) `echo "$$dist_files" | \
553 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
554 sort -u` ;; \
555 esac; \
556 for file in $$dist_files; do \
557 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
558 if test -d $$d/$$file; then \
559 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
560 if test -d "$(distdir)/$$file"; then \
561 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
562 fi; \
563 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
564 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
565 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
566 fi; \
567 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
568 else \
569 test -f "$(distdir)/$$file" \
570 || cp -p $$d/$$file "$(distdir)/$$file" \
571 || exit 1; \
572 fi; \
573 done
574 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
575 if test "$$subdir" = .; then :; else \
576 $(am__make_dryrun) \
577 || test -d "$(distdir)/$$subdir" \
578 || $(MKDIR_P) "$(distdir)/$$subdir" \
579 || exit 1; \
580 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
581 $(am__relativize); \
582 new_distdir=$$reldir; \
583 dir1=$$subdir; dir2="$(top_distdir)"; \
584 $(am__relativize); \
585 new_top_distdir=$$reldir; \
586 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
587 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
588 ($(am__cd) $$subdir && \
589 $(MAKE) $(AM_MAKEFLAGS) \
590 top_distdir="$$new_top_distdir" \
591 distdir="$$new_distdir" \
592 am__remove_distdir=: \
593 am__skip_length_check=: \
594 am__skip_mode_fix=: \
595 distdir) \
596 || exit 1; \
597 fi; \
598 done
599 -test -n "$(am__skip_mode_fix)" \
600 || find "$(distdir)" -type d ! -perm -755 \
601 -exec chmod u+rwx,go+rx {} \; -o \
602 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
603 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
604 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
605 || chmod -R a+r "$(distdir)"
606dist-gzip: distdir
607 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
608 $(am__remove_distdir)
609
610dist-bzip2: distdir
611 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
612 $(am__remove_distdir)
613
614dist-lzip: distdir
615 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
616 $(am__remove_distdir)
617
618dist-lzma: distdir
619 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
620 $(am__remove_distdir)
621
622dist-xz: distdir
623 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
624 $(am__remove_distdir)
625
626dist-tarZ: distdir
627 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
628 $(am__remove_distdir)
629
630dist-shar: distdir
631 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
632 $(am__remove_distdir)
633
634dist-zip: distdir
635 -rm -f $(distdir).zip
636 zip -rq $(distdir).zip $(distdir)
637 $(am__remove_distdir)
638
639dist dist-all: distdir
640 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
641 $(am__remove_distdir)
642
643# This target untars the dist file and tries a VPATH configuration. Then
644# it guarantees that the distribution is self-contained by making another
645# tarfile.
646distcheck: dist
647 case '$(DIST_ARCHIVES)' in \
648 *.tar.gz*) \
649 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
650 *.tar.bz2*) \
651 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
652 *.tar.lzma*) \
653 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
654 *.tar.lz*) \
655 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
656 *.tar.xz*) \
657 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
658 *.tar.Z*) \
659 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
660 *.shar.gz*) \
661 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
662 *.zip*) \
663 unzip $(distdir).zip ;;\
664 esac
665 chmod -R a-w $(distdir); chmod u+w $(distdir)
666 mkdir $(distdir)/_build
667 mkdir $(distdir)/_inst
668 chmod a-w $(distdir)
669 test -d $(distdir)/_build || exit 0; \
670 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
671 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
672 && am__cwd=`pwd` \
673 && $(am__cd) $(distdir)/_build \
674 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
675 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
676 $(DISTCHECK_CONFIGURE_FLAGS) \
677 && $(MAKE) $(AM_MAKEFLAGS) \
678 && $(MAKE) $(AM_MAKEFLAGS) dvi \
679 && $(MAKE) $(AM_MAKEFLAGS) check \
680 && $(MAKE) $(AM_MAKEFLAGS) install \
681 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
682 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
683 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
684 distuninstallcheck \
685 && chmod -R a-w "$$dc_install_base" \
686 && ({ \
687 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
688 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
689 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
690 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
691 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
692 } || { rm -rf "$$dc_destdir"; exit 1; }) \
693 && rm -rf "$$dc_destdir" \
694 && $(MAKE) $(AM_MAKEFLAGS) dist \
695 && rm -rf $(DIST_ARCHIVES) \
696 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
697 && cd "$$am__cwd" \
698 || exit 1
699 $(am__remove_distdir)
700 @(echo "$(distdir) archives ready for distribution: "; \
701 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
702 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
703distuninstallcheck:
704 @test -n '$(distuninstallcheck_dir)' || { \
705 echo 'ERROR: trying to run $@ with an empty' \
706 '$$(distuninstallcheck_dir)' >&2; \
707 exit 1; \
708 }; \
709 $(am__cd) '$(distuninstallcheck_dir)' || { \
710 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
711 exit 1; \
712 }; \
713 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
714 || { echo "ERROR: files left after uninstall:" ; \
715 if test -n "$(DESTDIR)"; then \
716 echo " (check DESTDIR support)"; \
717 fi ; \
718 $(distuninstallcheck_listfiles) ; \
719 exit 1; } >&2
720distcleancheck: distclean
721 @if test '$(srcdir)' = . ; then \
722 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
723 exit 1 ; \
724 fi
725 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
726 || { echo "ERROR: files left in build directory after distclean:" ; \
727 $(distcleancheck_listfiles) ; \
728 exit 1; } >&2
729check-am: all-am
730check: check-recursive
731all-am: Makefile config.h
732installdirs: installdirs-recursive
733installdirs-am:
734install: install-recursive
735install-exec: install-exec-recursive
736install-data: install-data-recursive
737uninstall: uninstall-recursive
738
739install-am: all-am
740 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
741
742installcheck: installcheck-recursive
743install-strip:
744 if test -z '$(STRIP)'; then \
745 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
746 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
747 install; \
748 else \
749 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
750 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
751 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
752 fi
753mostlyclean-generic:
754
755clean-generic:
756
757distclean-generic:
758 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
759 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
760 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
761
762maintainer-clean-generic:
763 @echo "This command is intended for maintainers to use"
764 @echo "it deletes files that may require special tools to rebuild."
765clean: clean-recursive
766
767clean-am: clean-generic clean-libtool mostlyclean-am
768
769distclean: distclean-recursive
770 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
771 -rm -f Makefile
772distclean-am: clean-am distclean-generic distclean-hdr \
773 distclean-libtool distclean-tags
774
775dvi: dvi-recursive
776
777dvi-am:
778
779html: html-recursive
780
781html-am:
782
783info: info-recursive
784
785info-am:
786
787install-data-am:
788
789install-dvi: install-dvi-recursive
790
791install-dvi-am:
792
793install-exec-am:
794
795install-html: install-html-recursive
796
797install-html-am:
798
799install-info: install-info-recursive
800
801install-info-am:
802
803install-man:
804
805install-pdf: install-pdf-recursive
806
807install-pdf-am:
808
809install-ps: install-ps-recursive
810
811install-ps-am:
812
813installcheck-am:
814
815maintainer-clean: maintainer-clean-recursive
816 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
817 -rm -rf $(top_srcdir)/autom4te.cache
818 -rm -f Makefile
819maintainer-clean-am: distclean-am maintainer-clean-generic
820
821mostlyclean: mostlyclean-recursive
822
823mostlyclean-am: mostlyclean-generic mostlyclean-libtool
824
825pdf: pdf-recursive
826
827pdf-am:
828
829ps: ps-recursive
830
831ps-am:
832
833uninstall-am:
834
835.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
836 ctags-recursive install-am install-strip tags-recursive
837
838.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
839 all all-am am--refresh check check-am clean clean-generic \
840 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
841 dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
842 dist-zip distcheck distclean distclean-generic distclean-hdr \
843 distclean-libtool distclean-tags distcleancheck distdir \
844 distuninstallcheck dvi dvi-am html html-am info info-am \
845 install install-am install-data install-data-am install-dvi \
846 install-dvi-am install-exec install-exec-am install-html \
847 install-html-am install-info install-info-am install-man \
848 install-pdf install-pdf-am install-ps install-ps-am \
849 install-strip installcheck installcheck-am installdirs \
850 installdirs-am maintainer-clean maintainer-clean-generic \
851 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
852 ps ps-am tags tags-recursive uninstall uninstall-am
853
854
855# Tell versions [3.59,3.63) of GNU make to not export all variables.
856# Otherwise a system limit (for SysV at least) may be exceeded.
857.NOEXPORT:
0858
=== modified file 'NEWS'
--- NEWS 2013-03-07 22:05:11 +0000
+++ NEWS 2013-03-18 23:03:22 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1Overview of changes in lightdm 1.5.12Overview of changes in lightdm 1.5.1
23
3 * QLightDM: Add Qt5 version of the library: liblightdm-qt5-24 * QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
@@ -91,6 +92,78 @@
91 * Add a seat option greeter-show-manual-login which hints to a greeter if it92 * Add a seat option greeter-show-manual-login which hints to a greeter if it
92 should show a manual username entry if a user list is already present.93 should show a manual username entry if a user list is already present.
9394
95=======
96Overview of changes in lightdm 1.4.0
97
98 * Correctly implement and test autologin timeouts
99 * Add greeter-show-remote-login hint
100 * Correctly annotate enums in vapi file
101 * QLightDM: Add default constructor to Qt power interface
102 * QLightDM: Expose image path in UserModel
103 * QLightDM: Add parameter to session model to show either local or remote
104 sessions
105 * Fix race conditions in tests
106
107Overview of changes in lightdm 1.3.3
108
109 * Add a new remote session type. These sessions create a temporary local
110 account and authenticate against a remote server. The session is an
111 application that accesses that remote session (e.g. VNC, RDP etc)
112 * Support multiple simultaneous PAM prompts
113 * Set utmp ut_host field to the X display address
114 * Correctly reap unused authentication sessions
115
116Overview of changes in lightdm 1.3.2
117
118 * Handle clearenv() not being defined
119 * Fix compilation with GCC 4.7
120 * Expose remaining properties in QLightDM::Greeter
121 * Fix utmp records being written before child process created
122
123Overview of changes in lightdm 1.3.1
124
125 * Fix wrapper path in AppArmor profile (broken since 1.1.1)
126 * Add show-manual-login and allow-guest options to lightdm-set-defaults
127 * Don't set PAM_XDISPLAY or PAM_XAUTHDATA if not supported
128 * Add lock-memory option, enabled by default, to prevent paging memory
129 to disk.
130 * Write utmp records for sessions
131 * Install PAM configuration
132 * Run greeters inside the "lightdm-greeter" PAM service
133 * Handle setresgid and setresuid not being available
134 * Use xsession directory from lightdm.conf in liblightdm
135
136Overview of changes in lightdm 1.2.0
137
138 * Backup .xsession-errors on login
139 * Handle failures in pam_setcred
140 * Open log files in append mode
141 * Add extra checks in liblightdm so that it doesn't send invalid messages
142 to the daemon
143 * Fix gdmflexiserver not being added to the path (broken since 1.1.4)
144 * Fix PAM conversations after authentication from locking up sessions
145 * Fix PAM informational messages locking up autologin
146 * Change XDMCP manage timeout from 10ms to 126s (maximum specified in the
147 XDMCP specification)
148
149Overview of changes in lightdm 1.1.9
150
151 * Add --show-users/--hide-users to lightdm-set-defaults
152 * Call initgroups before pam_setcred - this allows pam_setcred to change
153 group membership correctly
154
155Overview of changes in lightdm 1.1.8
156
157 * Handle PAM interactions that have more than one message in one callback
158
159Overview of changes in lightdm 1.1.7
160
161 * Add a seat option greeter-allow-guest which controls if the greeter should
162 provide an option to access the guest account.
163 * Add a seat option greeter-show-manual-login which hints to a greeter if it
164 should show a manual username entry if a user list is already present.
165
166>>>>>>> MERGE-SOURCE
94Overview of changes in lightdm 1.1.6167Overview of changes in lightdm 1.1.6
95168
96 * Fix session wrapper working the same as it did in 1.1.3169 * Fix session wrapper working the same as it did in 1.1.3
97170
=== added file 'TODO'
--- TODO 1970-01-01 00:00:00 +0000
+++ TODO 2013-03-18 23:03:22 +0000
@@ -0,0 +1,19 @@
1LightDM crashes when quitting after have XDMCP connection in PAMSession?
2Stop being able to log into users on other seats
3Add VNC support
4Test XDMCP client seat
5Per seat guest enable
6Close FDs on starting session (but keep greeter pipe open)
7Merge tests .script and .config
8Rename XAuthorization to XAuthority? And merge in authentication?
9Failsafe X and exponential backoff?
10GET ALL HINTS WORKING
11Always load dmrc from cache
12Make liblightdm-qt use AccountsService
13Fix XDM-AUTHENTICATION-KEY decode, add regression test
14
15***
16Fix guest accounts being created but the session doesn't start
17Add tests to check guest accounts are being created and destroyed
18
19add regression test to check XDG_SESSION_COOKIE is set
0\ No newline at end of file20\ No newline at end of file
121
=== added file 'aclocal.m4'
--- aclocal.m4 1970-01-01 00:00:00 +0000
+++ aclocal.m4 2013-03-18 23:03:22 +0000
@@ -0,0 +1,10619 @@
1# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
23dnl GNOME_COMPILE_WARNINGS
24dnl Turn on many useful compiler warnings
25dnl For now, only works on GCC
26AC_DEFUN([GNOME_COMPILE_WARNINGS],[
27 dnl ******************************
28 dnl More compiler warnings
29 dnl ******************************
30
31 AC_ARG_ENABLE(compile-warnings,
32 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
33 [Turn on compiler warnings]),,
34 [enable_compile_warnings="m4_default([$1],[yes])"])
35
36 warnCFLAGS=
37 if test "x$GCC" != xyes; then
38 enable_compile_warnings=no
39 fi
40
41 warning_flags=
42 realsave_CFLAGS="$CFLAGS"
43
44 case "$enable_compile_warnings" in
45 no)
46 warning_flags=
47 ;;
48 minimum)
49 warning_flags="-Wall"
50 ;;
51 yes)
52 warning_flags="-Wall -Wmissing-prototypes"
53 ;;
54 maximum|error)
55 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
56 CFLAGS="$warning_flags $CFLAGS"
57 for option in -Wno-sign-compare; do
58 SAVE_CFLAGS="$CFLAGS"
59 CFLAGS="$CFLAGS $option"
60 AC_MSG_CHECKING([whether gcc understands $option])
61 AC_TRY_COMPILE([], [],
62 has_option=yes,
63 has_option=no,)
64 CFLAGS="$SAVE_CFLAGS"
65 AC_MSG_RESULT($has_option)
66 if test $has_option = yes; then
67 warning_flags="$warning_flags $option"
68 fi
69 unset has_option
70 unset SAVE_CFLAGS
71 done
72 unset option
73 if test "$enable_compile_warnings" = "error" ; then
74 warning_flags="$warning_flags -Werror"
75 fi
76 ;;
77 *)
78 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
79 ;;
80 esac
81 CFLAGS="$realsave_CFLAGS"
82 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
83 AC_MSG_RESULT($warning_flags)
84
85 AC_ARG_ENABLE(iso-c,
86 AC_HELP_STRING([--enable-iso-c],
87 [Try to warn if code is not ISO C ]),,
88 [enable_iso_c=no])
89
90 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
91 complCFLAGS=
92 if test "x$enable_iso_c" != "xno"; then
93 if test "x$GCC" = "xyes"; then
94 case " $CFLAGS " in
95 *[\ \ ]-ansi[\ \ ]*) ;;
96 *) complCFLAGS="$complCFLAGS -ansi" ;;
97 esac
98 case " $CFLAGS " in
99 *[\ \ ]-pedantic[\ \ ]*) ;;
100 *) complCFLAGS="$complCFLAGS -pedantic" ;;
101 esac
102 fi
103 fi
104 AC_MSG_RESULT($complCFLAGS)
105
106 WARN_CFLAGS="$warning_flags $complCFLAGS"
107 AC_SUBST(WARN_CFLAGS)
108])
109
110dnl For C++, do basically the same thing.
111
112AC_DEFUN([GNOME_CXX_WARNINGS],[
113 AC_ARG_ENABLE(cxx-warnings,
114 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
115 [Turn on compiler warnings.]),,
116 [enable_cxx_warnings="m4_default([$1],[minimum])"])
117
118 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
119 warnCXXFLAGS=
120 if test "x$GXX" != xyes; then
121 enable_cxx_warnings=no
122 fi
123 if test "x$enable_cxx_warnings" != "xno"; then
124 if test "x$GXX" = "xyes"; then
125 case " $CXXFLAGS " in
126 *[\ \ ]-Wall[\ \ ]*) ;;
127 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
128 esac
129
130 ## -W is not all that useful. And it cannot be controlled
131 ## with individual -Wno-xxx flags, unlike -Wall
132 if test "x$enable_cxx_warnings" = "xyes"; then
133 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
134 fi
135 fi
136 fi
137 AC_MSG_RESULT($warnCXXFLAGS)
138
139 AC_ARG_ENABLE(iso-cxx,
140 AC_HELP_STRING([--enable-iso-cxx],
141 [Try to warn if code is not ISO C++ ]),,
142 [enable_iso_cxx=no])
143
144 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
145 complCXXFLAGS=
146 if test "x$enable_iso_cxx" != "xno"; then
147 if test "x$GXX" = "xyes"; then
148 case " $CXXFLAGS " in
149 *[\ \ ]-ansi[\ \ ]*) ;;
150 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
151 esac
152
153 case " $CXXFLAGS " in
154 *[\ \ ]-pedantic[\ \ ]*) ;;
155 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
156 esac
157 fi
158 fi
159 AC_MSG_RESULT($complCXXFLAGS)
160
161 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
162 AC_SUBST(WARN_CXXFLAGS)
163])
164
165dnl -*- mode: autoconf -*-
166
167# serial 1
168
169dnl Usage:
170dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
171AC_DEFUN([GTK_DOC_CHECK],
172[
173 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
174 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
175 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
176
177 dnl check for tools we added during development
178 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
179 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
180 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
181
182 dnl for overriding the documentation installation directory
183 AC_ARG_WITH([html-dir],
184 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
185 [with_html_dir='${datadir}/gtk-doc/html'])
186 HTML_DIR="$with_html_dir"
187 AC_SUBST([HTML_DIR])
188
189 dnl enable/disable documentation building
190 AC_ARG_ENABLE([gtk-doc],
191 AS_HELP_STRING([--enable-gtk-doc],
192 [use gtk-doc to build documentation [[default=no]]]),,
193 [enable_gtk_doc=no])
194
195 if test x$enable_gtk_doc = xyes; then
196 ifelse([$1],[],
197 [PKG_CHECK_EXISTS([gtk-doc],,
198 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
199 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
200 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
201 dnl don't check for glib if we build glib
202 if test "x$PACKAGE_NAME" != "xglib"; then
203 dnl don't fail if someone does not have glib
204 PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
205 fi
206 fi
207
208 AC_MSG_CHECKING([whether to build gtk-doc documentation])
209 AC_MSG_RESULT($enable_gtk_doc)
210
211 dnl enable/disable output formats
212 AC_ARG_ENABLE([gtk-doc-html],
213 AS_HELP_STRING([--enable-gtk-doc-html],
214 [build documentation in html format [[default=yes]]]),,
215 [enable_gtk_doc_html=yes])
216 AC_ARG_ENABLE([gtk-doc-pdf],
217 AS_HELP_STRING([--enable-gtk-doc-pdf],
218 [build documentation in pdf format [[default=no]]]),,
219 [enable_gtk_doc_pdf=no])
220
221 if test -z "$GTKDOC_MKPDF"; then
222 enable_gtk_doc_pdf=no
223 fi
224
225
226 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
227 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
228 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
229 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
230 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
231])
232
233
234dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
235# serial 42 IT_PROG_INTLTOOL
236AC_DEFUN([IT_PROG_INTLTOOL], [
237AC_PREREQ([2.50])dnl
238AC_REQUIRE([AM_NLS])dnl
239
240case "$am__api_version" in
241 1.[01234])
242 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
243 ;;
244 *)
245 ;;
246esac
247
248INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
249INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
250INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
251if test -n "$1"; then
252 AC_MSG_CHECKING([for intltool >= $1])
253 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
254 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
255 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
256fi
257
258AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
259AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
260AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
261if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
262 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
263fi
264
265if test -z "$AM_DEFAULT_VERBOSITY"; then
266 AM_DEFAULT_VERBOSITY=1
267fi
268AC_SUBST([AM_DEFAULT_VERBOSITY])
269
270INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
271INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
272INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
273AC_SUBST(INTLTOOL_V_MERGE)
274AC_SUBST(INTLTOOL__v_MERGE_)
275AC_SUBST(INTLTOOL__v_MERGE_0)
276
277INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
278intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
279intltool__v_merge_options_0='-q'
280AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
281AC_SUBST(intltool__v_merge_options_)
282AC_SUBST(intltool__v_merge_options_0)
283
284 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
285INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
286 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
287 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
288 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
289 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
290 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
291 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
292INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
293 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
294 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
295if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
296 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
297else
298 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
299fi
300 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
301 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
302 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
303 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
304 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
305 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
306 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
307
308_IT_SUBST(INTLTOOL_DESKTOP_RULE)
309_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
310_IT_SUBST(INTLTOOL_KEYS_RULE)
311_IT_SUBST(INTLTOOL_PROP_RULE)
312_IT_SUBST(INTLTOOL_OAF_RULE)
313_IT_SUBST(INTLTOOL_PONG_RULE)
314_IT_SUBST(INTLTOOL_SERVER_RULE)
315_IT_SUBST(INTLTOOL_SHEET_RULE)
316_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
317_IT_SUBST(INTLTOOL_UI_RULE)
318_IT_SUBST(INTLTOOL_XAM_RULE)
319_IT_SUBST(INTLTOOL_KBD_RULE)
320_IT_SUBST(INTLTOOL_XML_RULE)
321_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
322_IT_SUBST(INTLTOOL_CAVES_RULE)
323_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
324_IT_SUBST(INTLTOOL_THEME_RULE)
325_IT_SUBST(INTLTOOL_SERVICE_RULE)
326_IT_SUBST(INTLTOOL_POLICY_RULE)
327
328# Check the gettext tools to make sure they are GNU
329AC_PATH_PROG(XGETTEXT, xgettext)
330AC_PATH_PROG(MSGMERGE, msgmerge)
331AC_PATH_PROG(MSGFMT, msgfmt)
332AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
333if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
334 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
335fi
336xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
337mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
338mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
339if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
340 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
341fi
342
343AC_PATH_PROG(INTLTOOL_PERL, perl)
344if test -z "$INTLTOOL_PERL"; then
345 AC_MSG_ERROR([perl not found])
346fi
347AC_MSG_CHECKING([for perl >= 5.8.1])
348$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
349if test $? -ne 0; then
350 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
351else
352 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
353 AC_MSG_RESULT([$IT_PERL_VERSION])
354fi
355if test "x$2" != "xno-xml"; then
356 AC_MSG_CHECKING([for XML::Parser])
357 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
358 AC_MSG_RESULT([ok])
359 else
360 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
361 fi
362fi
363
364# Substitute ALL_LINGUAS so we can use it in po/Makefile
365AC_SUBST(ALL_LINGUAS)
366
367# Set DATADIRNAME correctly if it is not set yet
368# (copied from glib-gettext.m4)
369if test -z "$DATADIRNAME"; then
370 AC_LINK_IFELSE(
371 [AC_LANG_PROGRAM([[]],
372 [[extern int _nl_msg_cat_cntr;
373 return _nl_msg_cat_cntr]])],
374 [DATADIRNAME=share],
375 [case $host in
376 *-*-solaris*)
377 dnl On Solaris, if bind_textdomain_codeset is in libc,
378 dnl GNU format message catalog is always supported,
379 dnl since both are added to the libc all together.
380 dnl Hence, we'd like to go with DATADIRNAME=share
381 dnl in this case.
382 AC_CHECK_FUNC(bind_textdomain_codeset,
383 [DATADIRNAME=share], [DATADIRNAME=lib])
384 ;;
385 *)
386 [DATADIRNAME=lib]
387 ;;
388 esac])
389fi
390AC_SUBST(DATADIRNAME)
391
392IT_PO_SUBDIR([po])
393
394])
395
396
397# IT_PO_SUBDIR(DIRNAME)
398# ---------------------
399# All po subdirs have to be declared with this macro; the subdir "po" is
400# declared by IT_PROG_INTLTOOL.
401#
402AC_DEFUN([IT_PO_SUBDIR],
403[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
404dnl
405dnl The following CONFIG_COMMANDS should be executed at the very end
406dnl of config.status.
407AC_CONFIG_COMMANDS_PRE([
408 AC_CONFIG_COMMANDS([$1/stamp-it], [
409 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
410 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
411 fi
412 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
413 >"$1/stamp-it.tmp"
414 [sed '/^#/d
415 s/^[[].*] *//
416 /^[ ]*$/d
417 '"s|^| $ac_top_srcdir/|" \
418 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
419 ]
420 [sed '/^POTFILES =/,/[^\\]$/ {
421 /^POTFILES =/!d
422 r $1/POTFILES
423 }
424 ' "$1/Makefile.in" >"$1/Makefile"]
425 rm -f "$1/Makefile.tmp"
426 mv "$1/stamp-it.tmp" "$1/stamp-it"
427 ])
428])dnl
429])
430
431# _IT_SUBST(VARIABLE)
432# -------------------
433# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
434#
435AC_DEFUN([_IT_SUBST],
436[
437AC_SUBST([$1])
438m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
439]
440)
441
442# deprecated macros
443AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
444# A hint is needed for aclocal from Automake <= 1.9.4:
445# AC_DEFUN([AC_PROG_INTLTOOL], ...)
446
447
448dnl -*- mode: autoconf -*-
449dnl Copyright 2009 Johan Dahlin
450dnl
451dnl This file is free software; the author(s) gives unlimited
452dnl permission to copy and/or distribute it, with or without
453dnl modifications, as long as this notice is preserved.
454dnl
455
456# serial 1
457
458m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
459[
460 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
461 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
462 AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
463
464 dnl enable/disable introspection
465 m4_if([$2], [require],
466 [dnl
467 enable_introspection=yes
468 ],[dnl
469 AC_ARG_ENABLE(introspection,
470 AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
471 [Enable introspection for this build]),,
472 [enable_introspection=auto])
473 ])dnl
474
475 AC_MSG_CHECKING([for gobject-introspection])
476
477 dnl presence/version checking
478 AS_CASE([$enable_introspection],
479 [no], [dnl
480 found_introspection="no (disabled, use --enable-introspection to enable)"
481 ],dnl
482 [yes],[dnl
483 PKG_CHECK_EXISTS([gobject-introspection-1.0],,
484 AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
485 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
486 found_introspection=yes,
487 AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
488 ],dnl
489 [auto],[dnl
490 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
491 dnl Canonicalize enable_introspection
492 enable_introspection=$found_introspection
493 ],dnl
494 [dnl
495 AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
496 ])dnl
497
498 AC_MSG_RESULT([$found_introspection])
499
500 INTROSPECTION_SCANNER=
501 INTROSPECTION_COMPILER=
502 INTROSPECTION_GENERATE=
503 INTROSPECTION_GIRDIR=
504 INTROSPECTION_TYPELIBDIR=
505 if test "x$found_introspection" = "xyes"; then
506 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
507 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
508 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
509 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
510 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
511 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
512 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
513 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
514 fi
515 AC_SUBST(INTROSPECTION_SCANNER)
516 AC_SUBST(INTROSPECTION_COMPILER)
517 AC_SUBST(INTROSPECTION_GENERATE)
518 AC_SUBST(INTROSPECTION_GIRDIR)
519 AC_SUBST(INTROSPECTION_TYPELIBDIR)
520 AC_SUBST(INTROSPECTION_CFLAGS)
521 AC_SUBST(INTROSPECTION_LIBS)
522 AC_SUBST(INTROSPECTION_MAKEFILE)
523
524 AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
525])
526
527
528dnl Usage:
529dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
530
531AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
532[
533 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
534])
535
536dnl Usage:
537dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
538
539
540AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
541[
542 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
543])
544
545# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
546#
547# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
548# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
549# Foundation, Inc.
550# Written by Gordon Matzigkeit, 1996
551#
552# This file is free software; the Free Software Foundation gives
553# unlimited permission to copy and/or distribute it, with or without
554# modifications, as long as this notice is preserved.
555
556m4_define([_LT_COPYING], [dnl
557# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
558# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
559# Foundation, Inc.
560# Written by Gordon Matzigkeit, 1996
561#
562# This file is part of GNU Libtool.
563#
564# GNU Libtool is free software; you can redistribute it and/or
565# modify it under the terms of the GNU General Public License as
566# published by the Free Software Foundation; either version 2 of
567# the License, or (at your option) any later version.
568#
569# As a special exception to the GNU General Public License,
570# if you distribute this file as part of a program or library that
571# is built using GNU Libtool, you may include this file under the
572# same distribution terms that you use for the rest of that program.
573#
574# GNU Libtool is distributed in the hope that it will be useful,
575# but WITHOUT ANY WARRANTY; without even the implied warranty of
576# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
577# GNU General Public License for more details.
578#
579# You should have received a copy of the GNU General Public License
580# along with GNU Libtool; see the file COPYING. If not, a copy
581# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
582# obtained by writing to the Free Software Foundation, Inc.,
583# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
584])
585
586# serial 57 LT_INIT
587
588
589# LT_PREREQ(VERSION)
590# ------------------
591# Complain and exit if this libtool version is less that VERSION.
592m4_defun([LT_PREREQ],
593[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
594 [m4_default([$3],
595 [m4_fatal([Libtool version $1 or higher is required],
596 63)])],
597 [$2])])
598
599
600# _LT_CHECK_BUILDDIR
601# ------------------
602# Complain if the absolute build directory name contains unusual characters
603m4_defun([_LT_CHECK_BUILDDIR],
604[case `pwd` in
605 *\ * | *\ *)
606 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
607esac
608])
609
610
611# LT_INIT([OPTIONS])
612# ------------------
613AC_DEFUN([LT_INIT],
614[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
615AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
616AC_BEFORE([$0], [LT_LANG])dnl
617AC_BEFORE([$0], [LT_OUTPUT])dnl
618AC_BEFORE([$0], [LTDL_INIT])dnl
619m4_require([_LT_CHECK_BUILDDIR])dnl
620
621dnl Autoconf doesn't catch unexpanded LT_ macros by default:
622m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
623m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
624dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
625dnl unless we require an AC_DEFUNed macro:
626AC_REQUIRE([LTOPTIONS_VERSION])dnl
627AC_REQUIRE([LTSUGAR_VERSION])dnl
628AC_REQUIRE([LTVERSION_VERSION])dnl
629AC_REQUIRE([LTOBSOLETE_VERSION])dnl
630m4_require([_LT_PROG_LTMAIN])dnl
631
632_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
633
634dnl Parse OPTIONS
635_LT_SET_OPTIONS([$0], [$1])
636
637# This can be used to rebuild libtool when needed
638LIBTOOL_DEPS="$ltmain"
639
640# Always use our own libtool.
641LIBTOOL='$(SHELL) $(top_builddir)/libtool'
642AC_SUBST(LIBTOOL)dnl
643
644_LT_SETUP
645
646# Only expand once:
647m4_define([LT_INIT])
648])# LT_INIT
649
650# Old names:
651AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
652AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
653dnl aclocal-1.4 backwards compatibility:
654dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
655dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
656
657
658# _LT_CC_BASENAME(CC)
659# -------------------
660# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
661m4_defun([_LT_CC_BASENAME],
662[for cc_temp in $1""; do
663 case $cc_temp in
664 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
665 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
666 \-*) ;;
667 *) break;;
668 esac
669done
670cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
671])
672
673
674# _LT_FILEUTILS_DEFAULTS
675# ----------------------
676# It is okay to use these file commands and assume they have been set
677# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
678m4_defun([_LT_FILEUTILS_DEFAULTS],
679[: ${CP="cp -f"}
680: ${MV="mv -f"}
681: ${RM="rm -f"}
682])# _LT_FILEUTILS_DEFAULTS
683
684
685# _LT_SETUP
686# ---------
687m4_defun([_LT_SETUP],
688[AC_REQUIRE([AC_CANONICAL_HOST])dnl
689AC_REQUIRE([AC_CANONICAL_BUILD])dnl
690AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
691AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
692
693_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
694dnl
695_LT_DECL([], [host_alias], [0], [The host system])dnl
696_LT_DECL([], [host], [0])dnl
697_LT_DECL([], [host_os], [0])dnl
698dnl
699_LT_DECL([], [build_alias], [0], [The build system])dnl
700_LT_DECL([], [build], [0])dnl
701_LT_DECL([], [build_os], [0])dnl
702dnl
703AC_REQUIRE([AC_PROG_CC])dnl
704AC_REQUIRE([LT_PATH_LD])dnl
705AC_REQUIRE([LT_PATH_NM])dnl
706dnl
707AC_REQUIRE([AC_PROG_LN_S])dnl
708test -z "$LN_S" && LN_S="ln -s"
709_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
710dnl
711AC_REQUIRE([LT_CMD_MAX_LEN])dnl
712_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
713_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
714dnl
715m4_require([_LT_FILEUTILS_DEFAULTS])dnl
716m4_require([_LT_CHECK_SHELL_FEATURES])dnl
717m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
718m4_require([_LT_CMD_RELOAD])dnl
719m4_require([_LT_CHECK_MAGIC_METHOD])dnl
720m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
721m4_require([_LT_CMD_OLD_ARCHIVE])dnl
722m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
723m4_require([_LT_WITH_SYSROOT])dnl
724
725_LT_CONFIG_LIBTOOL_INIT([
726# See if we are running on zsh, and set the options which allow our
727# commands through without removal of \ escapes INIT.
728if test -n "\${ZSH_VERSION+set}" ; then
729 setopt NO_GLOB_SUBST
730fi
731])
732if test -n "${ZSH_VERSION+set}" ; then
733 setopt NO_GLOB_SUBST
734fi
735
736_LT_CHECK_OBJDIR
737
738m4_require([_LT_TAG_COMPILER])dnl
739
740case $host_os in
741aix3*)
742 # AIX sometimes has problems with the GCC collect2 program. For some
743 # reason, if we set the COLLECT_NAMES environment variable, the problems
744 # vanish in a puff of smoke.
745 if test "X${COLLECT_NAMES+set}" != Xset; then
746 COLLECT_NAMES=
747 export COLLECT_NAMES
748 fi
749 ;;
750esac
751
752# Global variables:
753ofile=libtool
754can_build_shared=yes
755
756# All known linkers require a `.a' archive for static linking (except MSVC,
757# which needs '.lib').
758libext=a
759
760with_gnu_ld="$lt_cv_prog_gnu_ld"
761
762old_CC="$CC"
763old_CFLAGS="$CFLAGS"
764
765# Set sane defaults for various variables
766test -z "$CC" && CC=cc
767test -z "$LTCC" && LTCC=$CC
768test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
769test -z "$LD" && LD=ld
770test -z "$ac_objext" && ac_objext=o
771
772_LT_CC_BASENAME([$compiler])
773
774# Only perform the check for file, if the check method requires it
775test -z "$MAGIC_CMD" && MAGIC_CMD=file
776case $deplibs_check_method in
777file_magic*)
778 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
779 _LT_PATH_MAGIC
780 fi
781 ;;
782esac
783
784# Use C for the default configuration in the libtool script
785LT_SUPPORTED_TAG([CC])
786_LT_LANG_C_CONFIG
787_LT_LANG_DEFAULT_CONFIG
788_LT_CONFIG_COMMANDS
789])# _LT_SETUP
790
791
792# _LT_PREPARE_SED_QUOTE_VARS
793# --------------------------
794# Define a few sed substitution that help us do robust quoting.
795m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
796[# Backslashify metacharacters that are still active within
797# double-quoted strings.
798sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
799
800# Same as above, but do not quote variable references.
801double_quote_subst='s/\([["`\\]]\)/\\\1/g'
802
803# Sed substitution to delay expansion of an escaped shell variable in a
804# double_quote_subst'ed string.
805delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
806
807# Sed substitution to delay expansion of an escaped single quote.
808delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
809
810# Sed substitution to avoid accidental globbing in evaled expressions
811no_glob_subst='s/\*/\\\*/g'
812])
813
814# _LT_PROG_LTMAIN
815# ---------------
816# Note that this code is called both from `configure', and `config.status'
817# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
818# `config.status' has no value for ac_aux_dir unless we are using Automake,
819# so we pass a copy along to make sure it has a sensible value anyway.
820m4_defun([_LT_PROG_LTMAIN],
821[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
822_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
823ltmain="$ac_aux_dir/ltmain.sh"
824])# _LT_PROG_LTMAIN
825
826
827
828# So that we can recreate a full libtool script including additional
829# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
830# in macros and then make a single call at the end using the `libtool'
831# label.
832
833
834# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
835# ----------------------------------------
836# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
837m4_define([_LT_CONFIG_LIBTOOL_INIT],
838[m4_ifval([$1],
839 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
840 [$1
841])])])
842
843# Initialize.
844m4_define([_LT_OUTPUT_LIBTOOL_INIT])
845
846
847# _LT_CONFIG_LIBTOOL([COMMANDS])
848# ------------------------------
849# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
850m4_define([_LT_CONFIG_LIBTOOL],
851[m4_ifval([$1],
852 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
853 [$1
854])])])
855
856# Initialize.
857m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
858
859
860# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
861# -----------------------------------------------------
862m4_defun([_LT_CONFIG_SAVE_COMMANDS],
863[_LT_CONFIG_LIBTOOL([$1])
864_LT_CONFIG_LIBTOOL_INIT([$2])
865])
866
867
868# _LT_FORMAT_COMMENT([COMMENT])
869# -----------------------------
870# Add leading comment marks to the start of each line, and a trailing
871# full-stop to the whole comment if one is not present already.
872m4_define([_LT_FORMAT_COMMENT],
873[m4_ifval([$1], [
874m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
875 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
876)])
877
878
879
880
881
882# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
883# -------------------------------------------------------------------
884# CONFIGNAME is the name given to the value in the libtool script.
885# VARNAME is the (base) name used in the configure script.
886# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
887# VARNAME. Any other value will be used directly.
888m4_define([_LT_DECL],
889[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
890 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
891 [m4_ifval([$1], [$1], [$2])])
892 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
893 m4_ifval([$4],
894 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
895 lt_dict_add_subkey([lt_decl_dict], [$2],
896 [tagged?], [m4_ifval([$5], [yes], [no])])])
897])
898
899
900# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
901# --------------------------------------------------------
902m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
903
904
905# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
906# ------------------------------------------------
907m4_define([lt_decl_tag_varnames],
908[_lt_decl_filter([tagged?], [yes], $@)])
909
910
911# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
912# ---------------------------------------------------------
913m4_define([_lt_decl_filter],
914[m4_case([$#],
915 [0], [m4_fatal([$0: too few arguments: $#])],
916 [1], [m4_fatal([$0: too few arguments: $#: $1])],
917 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
918 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
919 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
920])
921
922
923# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
924# --------------------------------------------------
925m4_define([lt_decl_quote_varnames],
926[_lt_decl_filter([value], [1], $@)])
927
928
929# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
930# ---------------------------------------------------
931m4_define([lt_decl_dquote_varnames],
932[_lt_decl_filter([value], [2], $@)])
933
934
935# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
936# ---------------------------------------------------
937m4_define([lt_decl_varnames_tagged],
938[m4_assert([$# <= 2])dnl
939_$0(m4_quote(m4_default([$1], [[, ]])),
940 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
941 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
942m4_define([_lt_decl_varnames_tagged],
943[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
944
945
946# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
947# ------------------------------------------------
948m4_define([lt_decl_all_varnames],
949[_$0(m4_quote(m4_default([$1], [[, ]])),
950 m4_if([$2], [],
951 m4_quote(lt_decl_varnames),
952 m4_quote(m4_shift($@))))[]dnl
953])
954m4_define([_lt_decl_all_varnames],
955[lt_join($@, lt_decl_varnames_tagged([$1],
956 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
957])
958
959
960# _LT_CONFIG_STATUS_DECLARE([VARNAME])
961# ------------------------------------
962# Quote a variable value, and forward it to `config.status' so that its
963# declaration there will have the same value as in `configure'. VARNAME
964# must have a single quote delimited value for this to work.
965m4_define([_LT_CONFIG_STATUS_DECLARE],
966[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
967
968
969# _LT_CONFIG_STATUS_DECLARATIONS
970# ------------------------------
971# We delimit libtool config variables with single quotes, so when
972# we write them to config.status, we have to be sure to quote all
973# embedded single quotes properly. In configure, this macro expands
974# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
975#
976# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
977m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
978[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
979 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
980
981
982# _LT_LIBTOOL_TAGS
983# ----------------
984# Output comment and list of tags supported by the script
985m4_defun([_LT_LIBTOOL_TAGS],
986[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
987available_tags="_LT_TAGS"dnl
988])
989
990
991# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
992# -----------------------------------
993# Extract the dictionary values for VARNAME (optionally with TAG) and
994# expand to a commented shell variable setting:
995#
996# # Some comment about what VAR is for.
997# visible_name=$lt_internal_name
998m4_define([_LT_LIBTOOL_DECLARE],
999[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
1000 [description])))[]dnl
1001m4_pushdef([_libtool_name],
1002 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
1003m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
1004 [0], [_libtool_name=[$]$1],
1005 [1], [_libtool_name=$lt_[]$1],
1006 [2], [_libtool_name=$lt_[]$1],
1007 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
1008m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
1009])
1010
1011
1012# _LT_LIBTOOL_CONFIG_VARS
1013# -----------------------
1014# Produce commented declarations of non-tagged libtool config variables
1015# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
1016# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
1017# section) are produced by _LT_LIBTOOL_TAG_VARS.
1018m4_defun([_LT_LIBTOOL_CONFIG_VARS],
1019[m4_foreach([_lt_var],
1020 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
1021 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
1022
1023
1024# _LT_LIBTOOL_TAG_VARS(TAG)
1025# -------------------------
1026m4_define([_LT_LIBTOOL_TAG_VARS],
1027[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
1028 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
1029
1030
1031# _LT_TAGVAR(VARNAME, [TAGNAME])
1032# ------------------------------
1033m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
1034
1035
1036# _LT_CONFIG_COMMANDS
1037# -------------------
1038# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
1039# variables for single and double quote escaping we saved from calls
1040# to _LT_DECL, we can put quote escaped variables declarations
1041# into `config.status', and then the shell code to quote escape them in
1042# for loops in `config.status'. Finally, any additional code accumulated
1043# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1044m4_defun([_LT_CONFIG_COMMANDS],
1045[AC_PROVIDE_IFELSE([LT_OUTPUT],
1046 dnl If the libtool generation code has been placed in $CONFIG_LT,
1047 dnl instead of duplicating it all over again into config.status,
1048 dnl then we will have config.status run $CONFIG_LT later, so it
1049 dnl needs to know what name is stored there:
1050 [AC_CONFIG_COMMANDS([libtool],
1051 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
1052 dnl If the libtool generation code is destined for config.status,
1053 dnl expand the accumulated commands and init code now:
1054 [AC_CONFIG_COMMANDS([libtool],
1055 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
1056])#_LT_CONFIG_COMMANDS
1057
1058
1059# Initialize.
1060m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
1061[
1062
1063# The HP-UX ksh and POSIX shell print the target directory to stdout
1064# if CDPATH is set.
1065(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1066
1067sed_quote_subst='$sed_quote_subst'
1068double_quote_subst='$double_quote_subst'
1069delay_variable_subst='$delay_variable_subst'
1070_LT_CONFIG_STATUS_DECLARATIONS
1071LTCC='$LTCC'
1072LTCFLAGS='$LTCFLAGS'
1073compiler='$compiler_DEFAULT'
1074
1075# A function that is used when there is no print builtin or printf.
1076func_fallback_echo ()
1077{
1078 eval 'cat <<_LTECHO_EOF
1079\$[]1
1080_LTECHO_EOF'
1081}
1082
1083# Quote evaled strings.
1084for var in lt_decl_all_varnames([[ \
1085]], lt_decl_quote_varnames); do
1086 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1087 *[[\\\\\\\`\\"\\\$]]*)
1088 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1089 ;;
1090 *)
1091 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1092 ;;
1093 esac
1094done
1095
1096# Double-quote double-evaled strings.
1097for var in lt_decl_all_varnames([[ \
1098]], lt_decl_dquote_varnames); do
1099 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1100 *[[\\\\\\\`\\"\\\$]]*)
1101 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1102 ;;
1103 *)
1104 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1105 ;;
1106 esac
1107done
1108
1109_LT_OUTPUT_LIBTOOL_INIT
1110])
1111
1112# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1113# ------------------------------------
1114# Generate a child script FILE with all initialization necessary to
1115# reuse the environment learned by the parent script, and make the
1116# file executable. If COMMENT is supplied, it is inserted after the
1117# `#!' sequence but before initialization text begins. After this
1118# macro, additional text can be appended to FILE to form the body of
1119# the child script. The macro ends with non-zero status if the
1120# file could not be fully written (such as if the disk is full).
1121m4_ifdef([AS_INIT_GENERATED],
1122[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1123[m4_defun([_LT_GENERATED_FILE_INIT],
1124[m4_require([AS_PREPARE])]dnl
1125[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1126[lt_write_fail=0
1127cat >$1 <<_ASEOF || lt_write_fail=1
1128#! $SHELL
1129# Generated by $as_me.
1130$2
1131SHELL=\${CONFIG_SHELL-$SHELL}
1132export SHELL
1133_ASEOF
1134cat >>$1 <<\_ASEOF || lt_write_fail=1
1135AS_SHELL_SANITIZE
1136_AS_PREPARE
1137exec AS_MESSAGE_FD>&1
1138_ASEOF
1139test $lt_write_fail = 0 && chmod +x $1[]dnl
1140m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
1141
1142# LT_OUTPUT
1143# ---------
1144# This macro allows early generation of the libtool script (before
1145# AC_OUTPUT is called), incase it is used in configure for compilation
1146# tests.
1147AC_DEFUN([LT_OUTPUT],
1148[: ${CONFIG_LT=./config.lt}
1149AC_MSG_NOTICE([creating $CONFIG_LT])
1150_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
1151[# Run this file to recreate a libtool stub with the current configuration.])
1152
1153cat >>"$CONFIG_LT" <<\_LTEOF
1154lt_cl_silent=false
1155exec AS_MESSAGE_LOG_FD>>config.log
1156{
1157 echo
1158 AS_BOX([Running $as_me.])
1159} >&AS_MESSAGE_LOG_FD
1160
1161lt_cl_help="\
1162\`$as_me' creates a local libtool stub from the current configuration,
1163for use in further configure time tests before the real libtool is
1164generated.
1165
1166Usage: $[0] [[OPTIONS]]
1167
1168 -h, --help print this help, then exit
1169 -V, --version print version number, then exit
1170 -q, --quiet do not print progress messages
1171 -d, --debug don't remove temporary files
1172
1173Report bugs to <bug-libtool@gnu.org>."
1174
1175lt_cl_version="\
1176m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
1177m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1178configured by $[0], generated by m4_PACKAGE_STRING.
1179
1180Copyright (C) 2011 Free Software Foundation, Inc.
1181This config.lt script is free software; the Free Software Foundation
1182gives unlimited permision to copy, distribute and modify it."
1183
1184while test $[#] != 0
1185do
1186 case $[1] in
1187 --version | --v* | -V )
1188 echo "$lt_cl_version"; exit 0 ;;
1189 --help | --h* | -h )
1190 echo "$lt_cl_help"; exit 0 ;;
1191 --debug | --d* | -d )
1192 debug=: ;;
1193 --quiet | --q* | --silent | --s* | -q )
1194 lt_cl_silent=: ;;
1195
1196 -*) AC_MSG_ERROR([unrecognized option: $[1]
1197Try \`$[0] --help' for more information.]) ;;
1198
1199 *) AC_MSG_ERROR([unrecognized argument: $[1]
1200Try \`$[0] --help' for more information.]) ;;
1201 esac
1202 shift
1203done
1204
1205if $lt_cl_silent; then
1206 exec AS_MESSAGE_FD>/dev/null
1207fi
1208_LTEOF
1209
1210cat >>"$CONFIG_LT" <<_LTEOF
1211_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
1212_LTEOF
1213
1214cat >>"$CONFIG_LT" <<\_LTEOF
1215AC_MSG_NOTICE([creating $ofile])
1216_LT_OUTPUT_LIBTOOL_COMMANDS
1217AS_EXIT(0)
1218_LTEOF
1219chmod +x "$CONFIG_LT"
1220
1221# configure is writing to config.log, but config.lt does its own redirection,
1222# appending to config.log, which fails on DOS, as config.log is still kept
1223# open by configure. Here we exec the FD to /dev/null, effectively closing
1224# config.log, so it can be properly (re)opened and appended to by config.lt.
1225lt_cl_success=:
1226test "$silent" = yes &&
1227 lt_config_lt_args="$lt_config_lt_args --quiet"
1228exec AS_MESSAGE_LOG_FD>/dev/null
1229$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1230exec AS_MESSAGE_LOG_FD>>config.log
1231$lt_cl_success || AS_EXIT(1)
1232])# LT_OUTPUT
1233
1234
1235# _LT_CONFIG(TAG)
1236# ---------------
1237# If TAG is the built-in tag, create an initial libtool script with a
1238# default configuration from the untagged config vars. Otherwise add code
1239# to config.status for appending the configuration named by TAG from the
1240# matching tagged config vars.
1241m4_defun([_LT_CONFIG],
1242[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1243_LT_CONFIG_SAVE_COMMANDS([
1244 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
1245 m4_if(_LT_TAG, [C], [
1246 # See if we are running on zsh, and set the options which allow our
1247 # commands through without removal of \ escapes.
1248 if test -n "${ZSH_VERSION+set}" ; then
1249 setopt NO_GLOB_SUBST
1250 fi
1251
1252 cfgfile="${ofile}T"
1253 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1254 $RM "$cfgfile"
1255
1256 cat <<_LT_EOF >> "$cfgfile"
1257#! $SHELL
1258
1259# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1260# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1261# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1262# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1263#
1264_LT_COPYING
1265_LT_LIBTOOL_TAGS
1266
1267# ### BEGIN LIBTOOL CONFIG
1268_LT_LIBTOOL_CONFIG_VARS
1269_LT_LIBTOOL_TAG_VARS
1270# ### END LIBTOOL CONFIG
1271
1272_LT_EOF
1273
1274 case $host_os in
1275 aix3*)
1276 cat <<\_LT_EOF >> "$cfgfile"
1277# AIX sometimes has problems with the GCC collect2 program. For some
1278# reason, if we set the COLLECT_NAMES environment variable, the problems
1279# vanish in a puff of smoke.
1280if test "X${COLLECT_NAMES+set}" != Xset; then
1281 COLLECT_NAMES=
1282 export COLLECT_NAMES
1283fi
1284_LT_EOF
1285 ;;
1286 esac
1287
1288 _LT_PROG_LTMAIN
1289
1290 # We use sed instead of cat because bash on DJGPP gets confused if
1291 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1292 # text mode, it properly converts lines to CR/LF. This bash problem
1293 # is reportedly fixed, but why not run on old versions too?
1294 sed '$q' "$ltmain" >> "$cfgfile" \
1295 || (rm -f "$cfgfile"; exit 1)
1296
1297 _LT_PROG_REPLACE_SHELLFNS
1298
1299 mv -f "$cfgfile" "$ofile" ||
1300 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1301 chmod +x "$ofile"
1302],
1303[cat <<_LT_EOF >> "$ofile"
1304
1305dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
1306dnl in a comment (ie after a #).
1307# ### BEGIN LIBTOOL TAG CONFIG: $1
1308_LT_LIBTOOL_TAG_VARS(_LT_TAG)
1309# ### END LIBTOOL TAG CONFIG: $1
1310_LT_EOF
1311])dnl /m4_if
1312],
1313[m4_if([$1], [], [
1314 PACKAGE='$PACKAGE'
1315 VERSION='$VERSION'
1316 TIMESTAMP='$TIMESTAMP'
1317 RM='$RM'
1318 ofile='$ofile'], [])
1319])dnl /_LT_CONFIG_SAVE_COMMANDS
1320])# _LT_CONFIG
1321
1322
1323# LT_SUPPORTED_TAG(TAG)
1324# ---------------------
1325# Trace this macro to discover what tags are supported by the libtool
1326# --tag option, using:
1327# autoconf --trace 'LT_SUPPORTED_TAG:$1'
1328AC_DEFUN([LT_SUPPORTED_TAG], [])
1329
1330
1331# C support is built-in for now
1332m4_define([_LT_LANG_C_enabled], [])
1333m4_define([_LT_TAGS], [])
1334
1335
1336# LT_LANG(LANG)
1337# -------------
1338# Enable libtool support for the given language if not already enabled.
1339AC_DEFUN([LT_LANG],
1340[AC_BEFORE([$0], [LT_OUTPUT])dnl
1341m4_case([$1],
1342 [C], [_LT_LANG(C)],
1343 [C++], [_LT_LANG(CXX)],
1344 [Go], [_LT_LANG(GO)],
1345 [Java], [_LT_LANG(GCJ)],
1346 [Fortran 77], [_LT_LANG(F77)],
1347 [Fortran], [_LT_LANG(FC)],
1348 [Windows Resource], [_LT_LANG(RC)],
1349 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
1350 [_LT_LANG($1)],
1351 [m4_fatal([$0: unsupported language: "$1"])])])dnl
1352])# LT_LANG
1353
1354
1355# _LT_LANG(LANGNAME)
1356# ------------------
1357m4_defun([_LT_LANG],
1358[m4_ifdef([_LT_LANG_]$1[_enabled], [],
1359 [LT_SUPPORTED_TAG([$1])dnl
1360 m4_append([_LT_TAGS], [$1 ])dnl
1361 m4_define([_LT_LANG_]$1[_enabled], [])dnl
1362 _LT_LANG_$1_CONFIG($1)])dnl
1363])# _LT_LANG
1364
1365
1366m4_ifndef([AC_PROG_GO], [
1367# NOTE: This macro has been submitted for inclusion into #
1368# GNU Autoconf as AC_PROG_GO. When it is available in #
1369# a released version of Autoconf we should remove this #
1370# macro and use it instead. #
1371m4_defun([AC_PROG_GO],
1372[AC_LANG_PUSH(Go)dnl
1373AC_ARG_VAR([GOC], [Go compiler command])dnl
1374AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
1375_AC_ARG_VAR_LDFLAGS()dnl
1376AC_CHECK_TOOL(GOC, gccgo)
1377if test -z "$GOC"; then
1378 if test -n "$ac_tool_prefix"; then
1379 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
1380 fi
1381fi
1382if test -z "$GOC"; then
1383 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
1384fi
1385])#m4_defun
1386])#m4_ifndef
1387
1388
1389# _LT_LANG_DEFAULT_CONFIG
1390# -----------------------
1391m4_defun([_LT_LANG_DEFAULT_CONFIG],
1392[AC_PROVIDE_IFELSE([AC_PROG_CXX],
1393 [LT_LANG(CXX)],
1394 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
1395
1396AC_PROVIDE_IFELSE([AC_PROG_F77],
1397 [LT_LANG(F77)],
1398 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
1399
1400AC_PROVIDE_IFELSE([AC_PROG_FC],
1401 [LT_LANG(FC)],
1402 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
1403
1404dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
1405dnl pulling things in needlessly.
1406AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1407 [LT_LANG(GCJ)],
1408 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1409 [LT_LANG(GCJ)],
1410 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
1411 [LT_LANG(GCJ)],
1412 [m4_ifdef([AC_PROG_GCJ],
1413 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
1414 m4_ifdef([A][M_PROG_GCJ],
1415 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
1416 m4_ifdef([LT_PROG_GCJ],
1417 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
1418
1419AC_PROVIDE_IFELSE([AC_PROG_GO],
1420 [LT_LANG(GO)],
1421 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
1422
1423AC_PROVIDE_IFELSE([LT_PROG_RC],
1424 [LT_LANG(RC)],
1425 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
1426])# _LT_LANG_DEFAULT_CONFIG
1427
1428# Obsolete macros:
1429AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
1430AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1431AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1432AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1433AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1434dnl aclocal-1.4 backwards compatibility:
1435dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1436dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1437dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1438dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1439dnl AC_DEFUN([AC_LIBTOOL_RC], [])
1440
1441
1442# _LT_TAG_COMPILER
1443# ----------------
1444m4_defun([_LT_TAG_COMPILER],
1445[AC_REQUIRE([AC_PROG_CC])dnl
1446
1447_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
1448_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
1449_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
1450_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
1451
1452# If no C compiler was specified, use CC.
1453LTCC=${LTCC-"$CC"}
1454
1455# If no C compiler flags were specified, use CFLAGS.
1456LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1457
1458# Allow CC to be a program name with arguments.
1459compiler=$CC
1460])# _LT_TAG_COMPILER
1461
1462
1463# _LT_COMPILER_BOILERPLATE
1464# ------------------------
1465# Check for compiler boilerplate output or warnings with
1466# the simple compiler test code.
1467m4_defun([_LT_COMPILER_BOILERPLATE],
1468[m4_require([_LT_DECL_SED])dnl
1469ac_outfile=conftest.$ac_objext
1470echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1471eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1472_lt_compiler_boilerplate=`cat conftest.err`
1473$RM conftest*
1474])# _LT_COMPILER_BOILERPLATE
1475
1476
1477# _LT_LINKER_BOILERPLATE
1478# ----------------------
1479# Check for linker boilerplate output or warnings with
1480# the simple link test code.
1481m4_defun([_LT_LINKER_BOILERPLATE],
1482[m4_require([_LT_DECL_SED])dnl
1483ac_outfile=conftest.$ac_objext
1484echo "$lt_simple_link_test_code" >conftest.$ac_ext
1485eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1486_lt_linker_boilerplate=`cat conftest.err`
1487$RM -r conftest*
1488])# _LT_LINKER_BOILERPLATE
1489
1490# _LT_REQUIRED_DARWIN_CHECKS
1491# -------------------------
1492m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1493 case $host_os in
1494 rhapsody* | darwin*)
1495 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1496 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1497 AC_CHECK_TOOL([LIPO], [lipo], [:])
1498 AC_CHECK_TOOL([OTOOL], [otool], [:])
1499 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
1500 _LT_DECL([], [DSYMUTIL], [1],
1501 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
1502 _LT_DECL([], [NMEDIT], [1],
1503 [Tool to change global to local symbols on Mac OS X])
1504 _LT_DECL([], [LIPO], [1],
1505 [Tool to manipulate fat objects and archives on Mac OS X])
1506 _LT_DECL([], [OTOOL], [1],
1507 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1508 _LT_DECL([], [OTOOL64], [1],
1509 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1510
1511 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1512 [lt_cv_apple_cc_single_mod=no
1513 if test -z "${LT_MULTI_MODULE}"; then
1514 # By default we will add the -single_module flag. You can override
1515 # by either setting the environment variable LT_MULTI_MODULE
1516 # non-empty at configure time, or by adding -multi_module to the
1517 # link flags.
1518 rm -rf libconftest.dylib*
1519 echo "int foo(void){return 1;}" > conftest.c
1520 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1521-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1522 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1523 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1524 _lt_result=$?
1525 # If there is a non-empty error log, and "single_module"
1526 # appears in it, assume the flag caused a linker warning
1527 if test -s conftest.err && $GREP single_module conftest.err; then
1528 cat conftest.err >&AS_MESSAGE_LOG_FD
1529 # Otherwise, if the output was created with a 0 exit code from
1530 # the compiler, it worked.
1531 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1532 lt_cv_apple_cc_single_mod=yes
1533 else
1534 cat conftest.err >&AS_MESSAGE_LOG_FD
1535 fi
1536 rm -rf libconftest.dylib*
1537 rm -f conftest.*
1538 fi])
1539
1540 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1541 [lt_cv_ld_exported_symbols_list],
1542 [lt_cv_ld_exported_symbols_list=no
1543 save_LDFLAGS=$LDFLAGS
1544 echo "_main" > conftest.sym
1545 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1546 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1547 [lt_cv_ld_exported_symbols_list=yes],
1548 [lt_cv_ld_exported_symbols_list=no])
1549 LDFLAGS="$save_LDFLAGS"
1550 ])
1551
1552 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1553 [lt_cv_ld_force_load=no
1554 cat > conftest.c << _LT_EOF
1555int forced_loaded() { return 2;}
1556_LT_EOF
1557 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1558 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1559 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1560 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1561 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1562 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1563 cat > conftest.c << _LT_EOF
1564int main() { return 0;}
1565_LT_EOF
1566 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1567 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1568 _lt_result=$?
1569 if test -s conftest.err && $GREP force_load conftest.err; then
1570 cat conftest.err >&AS_MESSAGE_LOG_FD
1571 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1572 lt_cv_ld_force_load=yes
1573 else
1574 cat conftest.err >&AS_MESSAGE_LOG_FD
1575 fi
1576 rm -f conftest.err libconftest.a conftest conftest.c
1577 rm -rf conftest.dSYM
1578 ])
1579 case $host_os in
1580 rhapsody* | darwin1.[[012]])
1581 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1582 darwin1.*)
1583 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1584 darwin*) # darwin 5.x on
1585 # if running on 10.5 or later, the deployment target defaults
1586 # to the OS version, if on x86, and 10.4, the deployment
1587 # target defaults to 10.4. Don't you love it?
1588 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1589 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1590 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1591 10.[[012]]*)
1592 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1593 10.*)
1594 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1595 esac
1596 ;;
1597 esac
1598 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1599 _lt_dar_single_mod='$single_module'
1600 fi
1601 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1602 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1603 else
1604 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1605 fi
1606 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1607 _lt_dsymutil='~$DSYMUTIL $lib || :'
1608 else
1609 _lt_dsymutil=
1610 fi
1611 ;;
1612 esac
1613])
1614
1615
1616# _LT_DARWIN_LINKER_FEATURES([TAG])
1617# ---------------------------------
1618# Checks for linker and compiler features on darwin
1619m4_defun([_LT_DARWIN_LINKER_FEATURES],
1620[
1621 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1622 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1623 _LT_TAGVAR(hardcode_direct, $1)=no
1624 _LT_TAGVAR(hardcode_automatic, $1)=yes
1625 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1626 if test "$lt_cv_ld_force_load" = "yes"; then
1627 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1628 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1629 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1630 else
1631 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1632 fi
1633 _LT_TAGVAR(link_all_deplibs, $1)=yes
1634 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1635 case $cc_basename in
1636 ifort*) _lt_dar_can_shared=yes ;;
1637 *) _lt_dar_can_shared=$GCC ;;
1638 esac
1639 if test "$_lt_dar_can_shared" = "yes"; then
1640 output_verbose_link_cmd=func_echo_all
1641 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1642 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1643 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1644 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
1645 m4_if([$1], [CXX],
1646[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1647 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1648 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
1649 fi
1650],[])
1651 else
1652 _LT_TAGVAR(ld_shlibs, $1)=no
1653 fi
1654])
1655
1656# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
1657# ----------------------------------
1658# Links a minimal program and checks the executable
1659# for the system default hardcoded library path. In most cases,
1660# this is /usr/lib:/lib, but when the MPI compilers are used
1661# the location of the communication and MPI libs are included too.
1662# If we don't find anything, use the default library path according
1663# to the aix ld manual.
1664# Store the results from the different compilers for each TAGNAME.
1665# Allow to override them for all tags through lt_cv_aix_libpath.
1666m4_defun([_LT_SYS_MODULE_PATH_AIX],
1667[m4_require([_LT_DECL_SED])dnl
1668if test "${lt_cv_aix_libpath+set}" = set; then
1669 aix_libpath=$lt_cv_aix_libpath
1670else
1671 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1672 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1673 lt_aix_libpath_sed='[
1674 /Import File Strings/,/^$/ {
1675 /^0/ {
1676 s/^0 *\([^ ]*\) *$/\1/
1677 p
1678 }
1679 }]'
1680 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1681 # Check for a 64-bit object if we didn't find anything.
1682 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1683 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1684 fi],[])
1685 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1686 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
1687 fi
1688 ])
1689 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1690fi
1691])# _LT_SYS_MODULE_PATH_AIX
1692
1693
1694# _LT_SHELL_INIT(ARG)
1695# -------------------
1696m4_define([_LT_SHELL_INIT],
1697[m4_divert_text([M4SH-INIT], [$1
1698])])# _LT_SHELL_INIT
1699
1700
1701
1702# _LT_PROG_ECHO_BACKSLASH
1703# -----------------------
1704# Find how we can fake an echo command that does not interpret backslash.
1705# In particular, with Autoconf 2.60 or later we add some code to the start
1706# of the generated configure script which will find a shell with a builtin
1707# printf (which we can use as an echo command).
1708m4_defun([_LT_PROG_ECHO_BACKSLASH],
1709[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1710ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1711ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1712
1713AC_MSG_CHECKING([how to print strings])
1714# Test print first, because it will be a builtin if present.
1715if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1716 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1717 ECHO='print -r --'
1718elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1719 ECHO='printf %s\n'
1720else
1721 # Use this function as a fallback that always works.
1722 func_fallback_echo ()
1723 {
1724 eval 'cat <<_LTECHO_EOF
1725$[]1
1726_LTECHO_EOF'
1727 }
1728 ECHO='func_fallback_echo'
1729fi
1730
1731# func_echo_all arg...
1732# Invoke $ECHO with all args, space-separated.
1733func_echo_all ()
1734{
1735 $ECHO "$*"
1736}
1737
1738case "$ECHO" in
1739 printf*) AC_MSG_RESULT([printf]) ;;
1740 print*) AC_MSG_RESULT([print -r]) ;;
1741 *) AC_MSG_RESULT([cat]) ;;
1742esac
1743
1744m4_ifdef([_AS_DETECT_SUGGESTED],
1745[_AS_DETECT_SUGGESTED([
1746 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1747 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1748 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1749 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1750 PATH=/empty FPATH=/empty; export PATH FPATH
1751 test "X`printf %s $ECHO`" = "X$ECHO" \
1752 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1753
1754_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1755_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1756])# _LT_PROG_ECHO_BACKSLASH
1757
1758
1759# _LT_WITH_SYSROOT
1760# ----------------
1761AC_DEFUN([_LT_WITH_SYSROOT],
1762[AC_MSG_CHECKING([for sysroot])
1763AC_ARG_WITH([sysroot],
1764[ --with-sysroot[=DIR] Search for dependent libraries within DIR
1765 (or the compiler's sysroot if not specified).],
1766[], [with_sysroot=no])
1767
1768dnl lt_sysroot will always be passed unquoted. We quote it here
1769dnl in case the user passed a directory name.
1770lt_sysroot=
1771case ${with_sysroot} in #(
1772 yes)
1773 if test "$GCC" = yes; then
1774 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1775 fi
1776 ;; #(
1777 /*)
1778 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1779 ;; #(
1780 no|'')
1781 ;; #(
1782 *)
1783 AC_MSG_RESULT([${with_sysroot}])
1784 AC_MSG_ERROR([The sysroot must be an absolute path.])
1785 ;;
1786esac
1787
1788 AC_MSG_RESULT([${lt_sysroot:-no}])
1789_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1790[dependent libraries, and in which our libraries should be installed.])])
1791
1792# _LT_ENABLE_LOCK
1793# ---------------
1794m4_defun([_LT_ENABLE_LOCK],
1795[AC_ARG_ENABLE([libtool-lock],
1796 [AS_HELP_STRING([--disable-libtool-lock],
1797 [avoid locking (might break parallel builds)])])
1798test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1799
1800# Some flags need to be propagated to the compiler or linker for good
1801# libtool support.
1802case $host in
1803ia64-*-hpux*)
1804 # Find out which ABI we are using.
1805 echo 'int i;' > conftest.$ac_ext
1806 if AC_TRY_EVAL(ac_compile); then
1807 case `/usr/bin/file conftest.$ac_objext` in
1808 *ELF-32*)
1809 HPUX_IA64_MODE="32"
1810 ;;
1811 *ELF-64*)
1812 HPUX_IA64_MODE="64"
1813 ;;
1814 esac
1815 fi
1816 rm -rf conftest*
1817 ;;
1818*-*-irix6*)
1819 # Find out which ABI we are using.
1820 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1821 if AC_TRY_EVAL(ac_compile); then
1822 if test "$lt_cv_prog_gnu_ld" = yes; then
1823 case `/usr/bin/file conftest.$ac_objext` in
1824 *32-bit*)
1825 LD="${LD-ld} -melf32bsmip"
1826 ;;
1827 *N32*)
1828 LD="${LD-ld} -melf32bmipn32"
1829 ;;
1830 *64-bit*)
1831 LD="${LD-ld} -melf64bmip"
1832 ;;
1833 esac
1834 else
1835 case `/usr/bin/file conftest.$ac_objext` in
1836 *32-bit*)
1837 LD="${LD-ld} -32"
1838 ;;
1839 *N32*)
1840 LD="${LD-ld} -n32"
1841 ;;
1842 *64-bit*)
1843 LD="${LD-ld} -64"
1844 ;;
1845 esac
1846 fi
1847 fi
1848 rm -rf conftest*
1849 ;;
1850
1851x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1852s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1853 # Find out which ABI we are using.
1854 echo 'int i;' > conftest.$ac_ext
1855 if AC_TRY_EVAL(ac_compile); then
1856 case `/usr/bin/file conftest.o` in
1857 *32-bit*)
1858 case $host in
1859 x86_64-*kfreebsd*-gnu)
1860 LD="${LD-ld} -m elf_i386_fbsd"
1861 ;;
1862 x86_64-*linux*)
1863 LD="${LD-ld} -m elf_i386"
1864 ;;
1865 ppc64-*linux*|powerpc64-*linux*)
1866 LD="${LD-ld} -m elf32ppclinux"
1867 ;;
1868 s390x-*linux*)
1869 LD="${LD-ld} -m elf_s390"
1870 ;;
1871 sparc64-*linux*)
1872 LD="${LD-ld} -m elf32_sparc"
1873 ;;
1874 esac
1875 ;;
1876 *64-bit*)
1877 case $host in
1878 x86_64-*kfreebsd*-gnu)
1879 LD="${LD-ld} -m elf_x86_64_fbsd"
1880 ;;
1881 x86_64-*linux*)
1882 LD="${LD-ld} -m elf_x86_64"
1883 ;;
1884 ppc*-*linux*|powerpc*-*linux*)
1885 LD="${LD-ld} -m elf64ppc"
1886 ;;
1887 s390*-*linux*|s390*-*tpf*)
1888 LD="${LD-ld} -m elf64_s390"
1889 ;;
1890 sparc*-*linux*)
1891 LD="${LD-ld} -m elf64_sparc"
1892 ;;
1893 esac
1894 ;;
1895 esac
1896 fi
1897 rm -rf conftest*
1898 ;;
1899
1900*-*-sco3.2v5*)
1901 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1902 SAVE_CFLAGS="$CFLAGS"
1903 CFLAGS="$CFLAGS -belf"
1904 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1905 [AC_LANG_PUSH(C)
1906 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1907 AC_LANG_POP])
1908 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1909 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1910 CFLAGS="$SAVE_CFLAGS"
1911 fi
1912 ;;
1913*-*solaris*)
1914 # Find out which ABI we are using.
1915 echo 'int i;' > conftest.$ac_ext
1916 if AC_TRY_EVAL(ac_compile); then
1917 case `/usr/bin/file conftest.o` in
1918 *64-bit*)
1919 case $lt_cv_prog_gnu_ld in
1920 yes*)
1921 case $host in
1922 i?86-*-solaris*)
1923 LD="${LD-ld} -m elf_x86_64"
1924 ;;
1925 sparc*-*-solaris*)
1926 LD="${LD-ld} -m elf64_sparc"
1927 ;;
1928 esac
1929 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1930 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1931 LD="${LD-ld}_sol2"
1932 fi
1933 ;;
1934 *)
1935 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1936 LD="${LD-ld} -64"
1937 fi
1938 ;;
1939 esac
1940 ;;
1941 esac
1942 fi
1943 rm -rf conftest*
1944 ;;
1945esac
1946
1947need_locks="$enable_libtool_lock"
1948])# _LT_ENABLE_LOCK
1949
1950
1951# _LT_PROG_AR
1952# -----------
1953m4_defun([_LT_PROG_AR],
1954[AC_CHECK_TOOLS(AR, [ar], false)
1955: ${AR=ar}
1956: ${AR_FLAGS=cru}
1957_LT_DECL([], [AR], [1], [The archiver])
1958_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1959
1960AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1961 [lt_cv_ar_at_file=no
1962 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1963 [echo conftest.$ac_objext > conftest.lst
1964 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1965 AC_TRY_EVAL([lt_ar_try])
1966 if test "$ac_status" -eq 0; then
1967 # Ensure the archiver fails upon bogus file names.
1968 rm -f conftest.$ac_objext libconftest.a
1969 AC_TRY_EVAL([lt_ar_try])
1970 if test "$ac_status" -ne 0; then
1971 lt_cv_ar_at_file=@
1972 fi
1973 fi
1974 rm -f conftest.* libconftest.a
1975 ])
1976 ])
1977
1978if test "x$lt_cv_ar_at_file" = xno; then
1979 archiver_list_spec=
1980else
1981 archiver_list_spec=$lt_cv_ar_at_file
1982fi
1983_LT_DECL([], [archiver_list_spec], [1],
1984 [How to feed a file listing to the archiver])
1985])# _LT_PROG_AR
1986
1987
1988# _LT_CMD_OLD_ARCHIVE
1989# -------------------
1990m4_defun([_LT_CMD_OLD_ARCHIVE],
1991[_LT_PROG_AR
1992
1993AC_CHECK_TOOL(STRIP, strip, :)
1994test -z "$STRIP" && STRIP=:
1995_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1996
1997AC_CHECK_TOOL(RANLIB, ranlib, :)
1998test -z "$RANLIB" && RANLIB=:
1999_LT_DECL([], [RANLIB], [1],
2000 [Commands used to install an old-style archive])
2001
2002# Determine commands to create old-style static archives.
2003old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
2004old_postinstall_cmds='chmod 644 $oldlib'
2005old_postuninstall_cmds=
2006
2007if test -n "$RANLIB"; then
2008 case $host_os in
2009 openbsd*)
2010 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
2011 ;;
2012 *)
2013 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
2014 ;;
2015 esac
2016 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
2017fi
2018
2019case $host_os in
2020 darwin*)
2021 lock_old_archive_extraction=yes ;;
2022 *)
2023 lock_old_archive_extraction=no ;;
2024esac
2025_LT_DECL([], [old_postinstall_cmds], [2])
2026_LT_DECL([], [old_postuninstall_cmds], [2])
2027_LT_TAGDECL([], [old_archive_cmds], [2],
2028 [Commands used to build an old-style archive])
2029_LT_DECL([], [lock_old_archive_extraction], [0],
2030 [Whether to use a lock for old archive extraction])
2031])# _LT_CMD_OLD_ARCHIVE
2032
2033
2034# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2035# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2036# ----------------------------------------------------------------
2037# Check whether the given compiler option works
2038AC_DEFUN([_LT_COMPILER_OPTION],
2039[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2040m4_require([_LT_DECL_SED])dnl
2041AC_CACHE_CHECK([$1], [$2],
2042 [$2=no
2043 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2045 lt_compiler_flag="$3"
2046 # Insert the option either (1) after the last *FLAGS variable, or
2047 # (2) before a word containing "conftest.", or (3) at the end.
2048 # Note that $ac_compile itself does not contain backslashes and begins
2049 # with a dollar sign (not a hyphen), so the echo should work correctly.
2050 # The option is referenced via a variable to avoid confusing sed.
2051 lt_compile=`echo "$ac_compile" | $SED \
2052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2053 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2054 -e 's:$: $lt_compiler_flag:'`
2055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2056 (eval "$lt_compile" 2>conftest.err)
2057 ac_status=$?
2058 cat conftest.err >&AS_MESSAGE_LOG_FD
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2060 if (exit $ac_status) && test -s "$ac_outfile"; then
2061 # The compiler can only warn and ignore the option if not recognized
2062 # So say no if there are warnings other than the usual output.
2063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
2064 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2065 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2066 $2=yes
2067 fi
2068 fi
2069 $RM conftest*
2070])
2071
2072if test x"[$]$2" = xyes; then
2073 m4_if([$5], , :, [$5])
2074else
2075 m4_if([$6], , :, [$6])
2076fi
2077])# _LT_COMPILER_OPTION
2078
2079# Old name:
2080AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
2081dnl aclocal-1.4 backwards compatibility:
2082dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
2083
2084
2085# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2086# [ACTION-SUCCESS], [ACTION-FAILURE])
2087# ----------------------------------------------------
2088# Check whether the given linker option works
2089AC_DEFUN([_LT_LINKER_OPTION],
2090[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2091m4_require([_LT_DECL_SED])dnl
2092AC_CACHE_CHECK([$1], [$2],
2093 [$2=no
2094 save_LDFLAGS="$LDFLAGS"
2095 LDFLAGS="$LDFLAGS $3"
2096 echo "$lt_simple_link_test_code" > conftest.$ac_ext
2097 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2098 # The linker can only warn and ignore the option if not recognized
2099 # So say no if there are warnings
2100 if test -s conftest.err; then
2101 # Append any errors to the config.log.
2102 cat conftest.err 1>&AS_MESSAGE_LOG_FD
2103 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
2104 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2105 if diff conftest.exp conftest.er2 >/dev/null; then
2106 $2=yes
2107 fi
2108 else
2109 $2=yes
2110 fi
2111 fi
2112 $RM -r conftest*
2113 LDFLAGS="$save_LDFLAGS"
2114])
2115
2116if test x"[$]$2" = xyes; then
2117 m4_if([$4], , :, [$4])
2118else
2119 m4_if([$5], , :, [$5])
2120fi
2121])# _LT_LINKER_OPTION
2122
2123# Old name:
2124AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
2125dnl aclocal-1.4 backwards compatibility:
2126dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
2127
2128
2129# LT_CMD_MAX_LEN
2130#---------------
2131AC_DEFUN([LT_CMD_MAX_LEN],
2132[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2133# find the maximum length of command line arguments
2134AC_MSG_CHECKING([the maximum length of command line arguments])
2135AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2136 i=0
2137 teststring="ABCD"
2138
2139 case $build_os in
2140 msdosdjgpp*)
2141 # On DJGPP, this test can blow up pretty badly due to problems in libc
2142 # (any single argument exceeding 2000 bytes causes a buffer overrun
2143 # during glob expansion). Even if it were fixed, the result of this
2144 # check would be larger than it should be.
2145 lt_cv_sys_max_cmd_len=12288; # 12K is about right
2146 ;;
2147
2148 gnu*)
2149 # Under GNU Hurd, this test is not required because there is
2150 # no limit to the length of command line arguments.
2151 # Libtool will interpret -1 as no limit whatsoever
2152 lt_cv_sys_max_cmd_len=-1;
2153 ;;
2154
2155 cygwin* | mingw* | cegcc*)
2156 # On Win9x/ME, this test blows up -- it succeeds, but takes
2157 # about 5 minutes as the teststring grows exponentially.
2158 # Worse, since 9x/ME are not pre-emptively multitasking,
2159 # you end up with a "frozen" computer, even though with patience
2160 # the test eventually succeeds (with a max line length of 256k).
2161 # Instead, let's just punt: use the minimum linelength reported by
2162 # all of the supported platforms: 8192 (on NT/2K/XP).
2163 lt_cv_sys_max_cmd_len=8192;
2164 ;;
2165
2166 mint*)
2167 # On MiNT this can take a long time and run out of memory.
2168 lt_cv_sys_max_cmd_len=8192;
2169 ;;
2170
2171 amigaos*)
2172 # On AmigaOS with pdksh, this test takes hours, literally.
2173 # So we just punt and use a minimum line length of 8192.
2174 lt_cv_sys_max_cmd_len=8192;
2175 ;;
2176
2177 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
2178 # This has been around since 386BSD, at least. Likely further.
2179 if test -x /sbin/sysctl; then
2180 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2181 elif test -x /usr/sbin/sysctl; then
2182 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2183 else
2184 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2185 fi
2186 # And add a safety zone
2187 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2189 ;;
2190
2191 interix*)
2192 # We know the value 262144 and hardcode it with a safety zone (like BSD)
2193 lt_cv_sys_max_cmd_len=196608
2194 ;;
2195
2196 os2*)
2197 # The test takes a long time on OS/2.
2198 lt_cv_sys_max_cmd_len=8192
2199 ;;
2200
2201 osf*)
2202 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2203 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2204 # nice to cause kernel panics so lets avoid the loop below.
2205 # First set a reasonable default.
2206 lt_cv_sys_max_cmd_len=16384
2207 #
2208 if test -x /sbin/sysconfig; then
2209 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2210 *1*) lt_cv_sys_max_cmd_len=-1 ;;
2211 esac
2212 fi
2213 ;;
2214 sco3.2v5*)
2215 lt_cv_sys_max_cmd_len=102400
2216 ;;
2217 sysv5* | sco5v6* | sysv4.2uw2*)
2218 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2219 if test -n "$kargmax"; then
2220 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2221 else
2222 lt_cv_sys_max_cmd_len=32768
2223 fi
2224 ;;
2225 *)
2226 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2227 if test -n "$lt_cv_sys_max_cmd_len"; then
2228 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2230 else
2231 # Make teststring a little bigger before we do anything with it.
2232 # a 1K string should be a reasonable start.
2233 for i in 1 2 3 4 5 6 7 8 ; do
2234 teststring=$teststring$teststring
2235 done
2236 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}