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
1=== renamed file '.bzrignore' => '.bzrignore.THIS'
2=== added file 'INSTALL'
3--- INSTALL 1970-01-01 00:00:00 +0000
4+++ INSTALL 2013-03-18 23:03:22 +0000
5@@ -0,0 +1,365 @@
6+Installation Instructions
7+*************************
8+
9+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
10+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
11+
12+ Copying and distribution of this file, with or without modification,
13+are permitted in any medium without royalty provided the copyright
14+notice and this notice are preserved. This file is offered as-is,
15+without warranty of any kind.
16+
17+Basic Installation
18+==================
19+
20+ Briefly, the shell commands `./configure; make; make install' should
21+configure, build, and install this package. The following
22+more-detailed instructions are generic; see the `README' file for
23+instructions specific to this package. Some packages provide this
24+`INSTALL' file but do not implement all of the features documented
25+below. The lack of an optional feature in a given package is not
26+necessarily a bug. More recommendations for GNU packages can be found
27+in *note Makefile Conventions: (standards)Makefile Conventions.
28+
29+ The `configure' shell script attempts to guess correct values for
30+various system-dependent variables used during compilation. It uses
31+those values to create a `Makefile' in each directory of the package.
32+It may also create one or more `.h' files containing system-dependent
33+definitions. Finally, it creates a shell script `config.status' that
34+you can run in the future to recreate the current configuration, and a
35+file `config.log' containing compiler output (useful mainly for
36+debugging `configure').
37+
38+ It can also use an optional file (typically called `config.cache'
39+and enabled with `--cache-file=config.cache' or simply `-C') that saves
40+the results of its tests to speed up reconfiguring. Caching is
41+disabled by default to prevent problems with accidental use of stale
42+cache files.
43+
44+ If you need to do unusual things to compile the package, please try
45+to figure out how `configure' could check whether to do them, and mail
46+diffs or instructions to the address given in the `README' so they can
47+be considered for the next release. If you are using the cache, and at
48+some point `config.cache' contains results you don't want to keep, you
49+may remove or edit it.
50+
51+ The file `configure.ac' (or `configure.in') is used to create
52+`configure' by a program called `autoconf'. You need `configure.ac' if
53+you want to change it or regenerate `configure' using a newer version
54+of `autoconf'.
55+
56+ The simplest way to compile this package is:
57+
58+ 1. `cd' to the directory containing the package's source code and type
59+ `./configure' to configure the package for your system.
60+
61+ Running `configure' might take a while. While running, it prints
62+ some messages telling which features it is checking for.
63+
64+ 2. Type `make' to compile the package.
65+
66+ 3. Optionally, type `make check' to run any self-tests that come with
67+ the package, generally using the just-built uninstalled binaries.
68+
69+ 4. Type `make install' to install the programs and any data files and
70+ documentation. When installing into a prefix owned by root, it is
71+ recommended that the package be configured and built as a regular
72+ user, and only the `make install' phase executed with root
73+ privileges.
74+
75+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
76+ this time using the binaries in their final installed location.
77+ This target does not install anything. Running this target as a
78+ regular user, particularly if the prior `make install' required
79+ root privileges, verifies that the installation completed
80+ correctly.
81+
82+ 6. You can remove the program binaries and object files from the
83+ source code directory by typing `make clean'. To also remove the
84+ files that `configure' created (so you can compile the package for
85+ a different kind of computer), type `make distclean'. There is
86+ also a `make maintainer-clean' target, but that is intended mainly
87+ for the package's developers. If you use it, you may have to get
88+ all sorts of other programs in order to regenerate files that came
89+ with the distribution.
90+
91+ 7. Often, you can also type `make uninstall' to remove the installed
92+ files again. In practice, not all packages have tested that
93+ uninstallation works correctly, even though it is required by the
94+ GNU Coding Standards.
95+
96+ 8. Some packages, particularly those that use Automake, provide `make
97+ distcheck', which can by used by developers to test that all other
98+ targets like `make install' and `make uninstall' work correctly.
99+ This target is generally not run by end users.
100+
101+Compilers and Options
102+=====================
103+
104+ Some systems require unusual options for compilation or linking that
105+the `configure' script does not know about. Run `./configure --help'
106+for details on some of the pertinent environment variables.
107+
108+ You can give `configure' initial values for configuration parameters
109+by setting variables in the command line or in the environment. Here
110+is an example:
111+
112+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
113+
114+ *Note Defining Variables::, for more details.
115+
116+Compiling For Multiple Architectures
117+====================================
118+
119+ You can compile the package for more than one kind of computer at the
120+same time, by placing the object files for each architecture in their
121+own directory. To do this, you can use GNU `make'. `cd' to the
122+directory where you want the object files and executables to go and run
123+the `configure' script. `configure' automatically checks for the
124+source code in the directory that `configure' is in and in `..'. This
125+is known as a "VPATH" build.
126+
127+ With a non-GNU `make', it is safer to compile the package for one
128+architecture at a time in the source code directory. After you have
129+installed the package for one architecture, use `make distclean' before
130+reconfiguring for another architecture.
131+
132+ On MacOS X 10.5 and later systems, you can create libraries and
133+executables that work on multiple system types--known as "fat" or
134+"universal" binaries--by specifying multiple `-arch' options to the
135+compiler but only a single `-arch' option to the preprocessor. Like
136+this:
137+
138+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
139+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
140+ CPP="gcc -E" CXXCPP="g++ -E"
141+
142+ This is not guaranteed to produce working output in all cases, you
143+may have to build one architecture at a time and combine the results
144+using the `lipo' tool if you have problems.
145+
146+Installation Names
147+==================
148+
149+ By default, `make install' installs the package's commands under
150+`/usr/local/bin', include files under `/usr/local/include', etc. You
151+can specify an installation prefix other than `/usr/local' by giving
152+`configure' the option `--prefix=PREFIX', where PREFIX must be an
153+absolute file name.
154+
155+ You can specify separate installation prefixes for
156+architecture-specific files and architecture-independent files. If you
157+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
158+PREFIX as the prefix for installing programs and libraries.
159+Documentation and other data files still use the regular prefix.
160+
161+ In addition, if you use an unusual directory layout you can give
162+options like `--bindir=DIR' to specify different values for particular
163+kinds of files. Run `configure --help' for a list of the directories
164+you can set and what kinds of files go in them. In general, the
165+default for these options is expressed in terms of `${prefix}', so that
166+specifying just `--prefix' will affect all of the other directory
167+specifications that were not explicitly provided.
168+
169+ The most portable way to affect installation locations is to pass the
170+correct locations to `configure'; however, many packages provide one or
171+both of the following shortcuts of passing variable assignments to the
172+`make install' command line to change installation locations without
173+having to reconfigure or recompile.
174+
175+ The first method involves providing an override variable for each
176+affected directory. For example, `make install
177+prefix=/alternate/directory' will choose an alternate location for all
178+directory configuration variables that were expressed in terms of
179+`${prefix}'. Any directories that were specified during `configure',
180+but not in terms of `${prefix}', must each be overridden at install
181+time for the entire installation to be relocated. The approach of
182+makefile variable overrides for each directory variable is required by
183+the GNU Coding Standards, and ideally causes no recompilation.
184+However, some platforms have known limitations with the semantics of
185+shared libraries that end up requiring recompilation when using this
186+method, particularly noticeable in packages that use GNU Libtool.
187+
188+ The second method involves providing the `DESTDIR' variable. For
189+example, `make install DESTDIR=/alternate/directory' will prepend
190+`/alternate/directory' before all installation names. The approach of
191+`DESTDIR' overrides is not required by the GNU Coding Standards, and
192+does not work on platforms that have drive letters. On the other hand,
193+it does better at avoiding recompilation issues, and works well even
194+when some directory options were not specified in terms of `${prefix}'
195+at `configure' time.
196+
197+Optional Features
198+=================
199+
200+ If the package supports it, you can cause programs to be installed
201+with an extra prefix or suffix on their names by giving `configure' the
202+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
203+
204+ Some packages pay attention to `--enable-FEATURE' options to
205+`configure', where FEATURE indicates an optional part of the package.
206+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
207+is something like `gnu-as' or `x' (for the X Window System). The
208+`README' should mention any `--enable-' and `--with-' options that the
209+package recognizes.
210+
211+ For packages that use the X Window System, `configure' can usually
212+find the X include and library files automatically, but if it doesn't,
213+you can use the `configure' options `--x-includes=DIR' and
214+`--x-libraries=DIR' to specify their locations.
215+
216+ Some packages offer the ability to configure how verbose the
217+execution of `make' will be. For these packages, running `./configure
218+--enable-silent-rules' sets the default to minimal output, which can be
219+overridden with `make V=1'; while running `./configure
220+--disable-silent-rules' sets the default to verbose, which can be
221+overridden with `make V=0'.
222+
223+Particular systems
224+==================
225+
226+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
227+CC is not installed, it is recommended to use the following options in
228+order to use an ANSI C compiler:
229+
230+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
231+
232+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
233+
234+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
235+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
236+a workaround. If GNU CC is not installed, it is therefore recommended
237+to try
238+
239+ ./configure CC="cc"
240+
241+and if that doesn't work, try
242+
243+ ./configure CC="cc -nodtk"
244+
245+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
246+directory contains several dysfunctional programs; working variants of
247+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
248+in your `PATH', put it _after_ `/usr/bin'.
249+
250+ On Haiku, software installed for all users goes in `/boot/common',
251+not `/usr/local'. It is recommended to use the following options:
252+
253+ ./configure --prefix=/boot/common
254+
255+Specifying the System Type
256+==========================
257+
258+ There may be some features `configure' cannot figure out
259+automatically, but needs to determine by the type of machine the package
260+will run on. Usually, assuming the package is built to be run on the
261+_same_ architectures, `configure' can figure that out, but if it prints
262+a message saying it cannot guess the machine type, give it the
263+`--build=TYPE' option. TYPE can either be a short name for the system
264+type, such as `sun4', or a canonical name which has the form:
265+
266+ CPU-COMPANY-SYSTEM
267+
268+where SYSTEM can have one of these forms:
269+
270+ OS
271+ KERNEL-OS
272+
273+ See the file `config.sub' for the possible values of each field. If
274+`config.sub' isn't included in this package, then this package doesn't
275+need to know the machine type.
276+
277+ If you are _building_ compiler tools for cross-compiling, you should
278+use the option `--target=TYPE' to select the type of system they will
279+produce code for.
280+
281+ If you want to _use_ a cross compiler, that generates code for a
282+platform different from the build platform, you should specify the
283+"host" platform (i.e., that on which the generated programs will
284+eventually be run) with `--host=TYPE'.
285+
286+Sharing Defaults
287+================
288+
289+ If you want to set default values for `configure' scripts to share,
290+you can create a site shell script called `config.site' that gives
291+default values for variables like `CC', `cache_file', and `prefix'.
292+`configure' looks for `PREFIX/share/config.site' if it exists, then
293+`PREFIX/etc/config.site' if it exists. Or, you can set the
294+`CONFIG_SITE' environment variable to the location of the site script.
295+A warning: not all `configure' scripts look for a site script.
296+
297+Defining Variables
298+==================
299+
300+ Variables not defined in a site shell script can be set in the
301+environment passed to `configure'. However, some packages may run
302+configure again during the build, and the customized values of these
303+variables may be lost. In order to avoid this problem, you should set
304+them in the `configure' command line, using `VAR=value'. For example:
305+
306+ ./configure CC=/usr/local2/bin/gcc
307+
308+causes the specified `gcc' to be used as the C compiler (unless it is
309+overridden in the site shell script).
310+
311+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312+an Autoconf bug. Until the bug is fixed you can use this workaround:
313+
314+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
315+
316+`configure' Invocation
317+======================
318+
319+ `configure' recognizes the following options to control how it
320+operates.
321+
322+`--help'
323+`-h'
324+ Print a summary of all of the options to `configure', and exit.
325+
326+`--help=short'
327+`--help=recursive'
328+ Print a summary of the options unique to this package's
329+ `configure', and exit. The `short' variant lists options used
330+ only in the top level, while the `recursive' variant lists options
331+ also present in any nested packages.
332+
333+`--version'
334+`-V'
335+ Print the version of Autoconf used to generate the `configure'
336+ script, and exit.
337+
338+`--cache-file=FILE'
339+ Enable the cache: use and save the results of the tests in FILE,
340+ traditionally `config.cache'. FILE defaults to `/dev/null' to
341+ disable caching.
342+
343+`--config-cache'
344+`-C'
345+ Alias for `--cache-file=config.cache'.
346+
347+`--quiet'
348+`--silent'
349+`-q'
350+ Do not print messages saying which checks are being made. To
351+ suppress all normal output, redirect it to `/dev/null' (any error
352+ messages will still be shown).
353+
354+`--srcdir=DIR'
355+ Look for the package's source code in directory DIR. Usually
356+ `configure' can determine that directory automatically.
357+
358+`--prefix=DIR'
359+ Use DIR as the installation prefix. *note Installation Names::
360+ for more details, including other options available for fine-tuning
361+ the installation locations.
362+
363+`--no-create'
364+`-n'
365+ Run the configure checks, but stop before creating any output
366+ files.
367+
368+`configure' also accepts some other, not widely useful, options. Run
369+`configure --help' for more details.
370+
371
372=== modified file 'Makefile.am'
373=== added file 'Makefile.in'
374--- Makefile.in 1970-01-01 00:00:00 +0000
375+++ Makefile.in 2013-03-18 23:03:22 +0000
376@@ -0,0 +1,857 @@
377+# Makefile.in generated by automake 1.11.6 from Makefile.am.
378+# @configure_input@
379+
380+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
381+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
382+# Foundation, Inc.
383+# This Makefile.in is free software; the Free Software Foundation
384+# gives unlimited permission to copy and/or distribute it,
385+# with or without modifications, as long as this notice is preserved.
386+
387+# This program is distributed in the hope that it will be useful,
388+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
389+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
390+# PARTICULAR PURPOSE.
391+
392+@SET_MAKE@
393+VPATH = @srcdir@
394+am__make_dryrun = \
395+ { \
396+ am__dry=no; \
397+ case $$MAKEFLAGS in \
398+ *\\[\ \ ]*) \
399+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
400+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
401+ *) \
402+ for am__flg in $$MAKEFLAGS; do \
403+ case $$am__flg in \
404+ *=*|--*) ;; \
405+ *n*) am__dry=yes; break;; \
406+ esac; \
407+ done;; \
408+ esac; \
409+ test $$am__dry = yes; \
410+ }
411+pkgdatadir = $(datadir)/@PACKAGE@
412+pkgincludedir = $(includedir)/@PACKAGE@
413+pkglibdir = $(libdir)/@PACKAGE@
414+pkglibexecdir = $(libexecdir)/@PACKAGE@
415+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
416+install_sh_DATA = $(install_sh) -c -m 644
417+install_sh_PROGRAM = $(install_sh) -c
418+install_sh_SCRIPT = $(install_sh) -c
419+INSTALL_HEADER = $(INSTALL_DATA)
420+transform = $(program_transform_name)
421+NORMAL_INSTALL = :
422+PRE_INSTALL = :
423+POST_INSTALL = :
424+NORMAL_UNINSTALL = :
425+PRE_UNINSTALL = :
426+POST_UNINSTALL = :
427+build_triplet = @build@
428+host_triplet = @host@
429+@COMPILE_LIBLIGHTDM_GOBJECT_TRUE@am__append_1 = liblightdm-gobject
430+@COMPILE_LIBLIGHTDM_QT_TRUE@am__append_2 = liblightdm-qt
431+@COMPILE_TESTS_TRUE@am__append_3 = tests
432+subdir = .
433+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
434+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
435+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
436+ TODO compile config.guess config.sub depcomp install-sh \
437+ ltmain.sh missing
438+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
439+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
440+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
441+ $(ACLOCAL_M4)
442+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
443+ configure.lineno config.status.lineno
444+mkinstalldirs = $(install_sh) -d
445+CONFIG_HEADER = config.h
446+CONFIG_CLEAN_FILES =
447+CONFIG_CLEAN_VPATH_FILES =
448+AM_V_GEN = $(am__v_GEN_@AM_V@)
449+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
450+am__v_GEN_0 = @echo " GEN " $@;
451+AM_V_at = $(am__v_at_@AM_V@)
452+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
453+am__v_at_0 = @
454+SOURCES =
455+DIST_SOURCES =
456+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
457+ html-recursive info-recursive install-data-recursive \
458+ install-dvi-recursive install-exec-recursive \
459+ install-html-recursive install-info-recursive \
460+ install-pdf-recursive install-ps-recursive install-recursive \
461+ installcheck-recursive installdirs-recursive pdf-recursive \
462+ ps-recursive uninstall-recursive
463+am__can_run_installinfo = \
464+ case $$AM_UPDATE_INFO_DIR in \
465+ n|no|NO) false;; \
466+ *) (install-info --version) >/dev/null 2>&1;; \
467+ esac
468+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
469+ distclean-recursive maintainer-clean-recursive
470+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
471+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
472+ distdir dist dist-all distcheck
473+ETAGS = etags
474+CTAGS = ctags
475+DIST_SUBDIRS = liblightdm-gobject liblightdm-qt tests data po src doc \
476+ help utils
477+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
478+distdir = $(PACKAGE)-$(VERSION)
479+top_distdir = $(distdir)
480+am__remove_distdir = \
481+ if test -d "$(distdir)"; then \
482+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
483+ && rm -rf "$(distdir)" \
484+ || { sleep 5 && rm -rf "$(distdir)"; }; \
485+ else :; fi
486+am__relativize = \
487+ dir0=`pwd`; \
488+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
489+ sed_rest='s,^[^/]*/*,,'; \
490+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
491+ sed_butlast='s,/*[^/]*$$,,'; \
492+ while test -n "$$dir1"; do \
493+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
494+ if test "$$first" != "."; then \
495+ if test "$$first" = ".."; then \
496+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
497+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
498+ else \
499+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
500+ if test "$$first2" = "$$first"; then \
501+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
502+ else \
503+ dir2="../$$dir2"; \
504+ fi; \
505+ dir0="$$dir0"/"$$first"; \
506+ fi; \
507+ fi; \
508+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
509+ done; \
510+ reldir="$$dir2"
511+DIST_ARCHIVES = $(distdir).tar.gz
512+GZIP_ENV = --best
513+distuninstallcheck_listfiles = find . -type f -print
514+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
515+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
516+distcleancheck_listfiles = find . -type f -print
517+ACLOCAL = @ACLOCAL@
518+ALL_LINGUAS = @ALL_LINGUAS@
519+AMTAR = @AMTAR@
520+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
521+AR = @AR@
522+AUTOCONF = @AUTOCONF@
523+AUTOHEADER = @AUTOHEADER@
524+AUTOMAKE = @AUTOMAKE@
525+AWK = @AWK@
526+CC = @CC@
527+CCDEPMODE = @CCDEPMODE@
528+CFLAGS = @CFLAGS@
529+CPP = @CPP@
530+CPPFLAGS = @CPPFLAGS@
531+CXX = @CXX@
532+CXXCPP = @CXXCPP@
533+CXXDEPMODE = @CXXDEPMODE@
534+CXXFLAGS = @CXXFLAGS@
535+CYGPATH_W = @CYGPATH_W@
536+DATADIRNAME = @DATADIRNAME@
537+DEFS = @DEFS@
538+DEPDIR = @DEPDIR@
539+DLLTOOL = @DLLTOOL@
540+DSYMUTIL = @DSYMUTIL@
541+DUMPBIN = @DUMPBIN@
542+ECHO_C = @ECHO_C@
543+ECHO_N = @ECHO_N@
544+ECHO_T = @ECHO_T@
545+EGREP = @EGREP@
546+EXEEXT = @EXEEXT@
547+FGREP = @FGREP@
548+GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
549+GIO_CFLAGS = @GIO_CFLAGS@
550+GIO_LIBS = @GIO_LIBS@
551+GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
552+GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
553+GLIB_CFLAGS = @GLIB_CFLAGS@
554+GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
555+GLIB_LIBS = @GLIB_LIBS@
556+GMSGFMT = @GMSGFMT@
557+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
558+GOBJECT_LIBS = @GOBJECT_LIBS@
559+GREETER_SESSION = @GREETER_SESSION@
560+GREETER_USER = @GREETER_USER@
561+GREP = @GREP@
562+GTKDOC_CHECK = @GTKDOC_CHECK@
563+GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
564+GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
565+GTKDOC_MKPDF = @GTKDOC_MKPDF@
566+GTKDOC_REBASE = @GTKDOC_REBASE@
567+HELP_DIR = @HELP_DIR@
568+HTML_DIR = @HTML_DIR@
569+INSTALL = @INSTALL@
570+INSTALL_DATA = @INSTALL_DATA@
571+INSTALL_PROGRAM = @INSTALL_PROGRAM@
572+INSTALL_SCRIPT = @INSTALL_SCRIPT@
573+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
574+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
575+INTLTOOL_MERGE = @INTLTOOL_MERGE@
576+INTLTOOL_PERL = @INTLTOOL_PERL@
577+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
578+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
579+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
580+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
581+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
582+INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
583+INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
584+INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
585+INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
586+INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
587+INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
588+INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
589+INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
590+ITSTOOL = @ITSTOOL@
591+LD = @LD@
592+LDFLAGS = @LDFLAGS@
593+LIBLIGHTDM_GOBJECT_CFLAGS = @LIBLIGHTDM_GOBJECT_CFLAGS@
594+LIBLIGHTDM_GOBJECT_LIBS = @LIBLIGHTDM_GOBJECT_LIBS@
595+LIBLIGHTDM_QT_CFLAGS = @LIBLIGHTDM_QT_CFLAGS@
596+LIBLIGHTDM_QT_LIBS = @LIBLIGHTDM_QT_LIBS@
597+LIBOBJS = @LIBOBJS@
598+LIBS = @LIBS@
599+LIBTOOL = @LIBTOOL@
600+LIGHTDM_CFLAGS = @LIGHTDM_CFLAGS@
601+LIGHTDM_LIBS = @LIGHTDM_LIBS@
602+LIPO = @LIPO@
603+LN_S = @LN_S@
604+LTLIBOBJS = @LTLIBOBJS@
605+MAINT = @MAINT@
606+MAKEINFO = @MAKEINFO@
607+MANIFEST_TOOL = @MANIFEST_TOOL@
608+MKDIR_P = @MKDIR_P@
609+MOC = @MOC@
610+MSGFMT = @MSGFMT@
611+MSGMERGE = @MSGMERGE@
612+NM = @NM@
613+NMEDIT = @NMEDIT@
614+OBJDUMP = @OBJDUMP@
615+OBJEXT = @OBJEXT@
616+OTOOL = @OTOOL@
617+OTOOL64 = @OTOOL64@
618+PACKAGE = @PACKAGE@
619+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
620+PACKAGE_NAME = @PACKAGE_NAME@
621+PACKAGE_STRING = @PACKAGE_STRING@
622+PACKAGE_TARNAME = @PACKAGE_TARNAME@
623+PACKAGE_URL = @PACKAGE_URL@
624+PACKAGE_VERSION = @PACKAGE_VERSION@
625+PATH_SEPARATOR = @PATH_SEPARATOR@
626+PKG_CONFIG = @PKG_CONFIG@
627+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
628+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
629+RANLIB = @RANLIB@
630+SED = @SED@
631+SET_MAKE = @SET_MAKE@
632+SHELL = @SHELL@
633+STRIP = @STRIP@
634+USER_SESSION = @USER_SESSION@
635+USE_NLS = @USE_NLS@
636+VERSION = @VERSION@
637+WARN_CFLAGS = @WARN_CFLAGS@
638+XCB_CFLAGS = @XCB_CFLAGS@
639+XCB_LIBS = @XCB_LIBS@
640+XGETTEXT = @XGETTEXT@
641+XMLLINT = @XMLLINT@
642+abs_builddir = @abs_builddir@
643+abs_srcdir = @abs_srcdir@
644+abs_top_builddir = @abs_top_builddir@
645+abs_top_srcdir = @abs_top_srcdir@
646+ac_ct_AR = @ac_ct_AR@
647+ac_ct_CC = @ac_ct_CC@
648+ac_ct_CXX = @ac_ct_CXX@
649+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
650+ac_ct_MOC = @ac_ct_MOC@
651+am__include = @am__include@
652+am__leading_dot = @am__leading_dot@
653+am__quote = @am__quote@
654+am__tar = @am__tar@
655+am__untar = @am__untar@
656+bindir = @bindir@
657+build = @build@
658+build_alias = @build_alias@
659+build_cpu = @build_cpu@
660+build_os = @build_os@
661+build_vendor = @build_vendor@
662+builddir = @builddir@
663+datadir = @datadir@
664+datarootdir = @datarootdir@
665+docdir = @docdir@
666+dvidir = @dvidir@
667+exec_prefix = @exec_prefix@
668+host = @host@
669+host_alias = @host_alias@
670+host_cpu = @host_cpu@
671+host_os = @host_os@
672+host_vendor = @host_vendor@
673+htmldir = @htmldir@
674+includedir = @includedir@
675+infodir = @infodir@
676+install_sh = @install_sh@
677+intltool__v_merge_options_ = @intltool__v_merge_options_@
678+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
679+libdir = @libdir@
680+libexecdir = @libexecdir@
681+localedir = @localedir@
682+localstatedir = @localstatedir@
683+mandir = @mandir@
684+mkdir_p = @mkdir_p@
685+oldincludedir = @oldincludedir@
686+pdfdir = @pdfdir@
687+prefix = @prefix@
688+program_transform_name = @program_transform_name@
689+psdir = @psdir@
690+sbindir = @sbindir@
691+sharedstatedir = @sharedstatedir@
692+srcdir = @srcdir@
693+sysconfdir = @sysconfdir@
694+target_alias = @target_alias@
695+top_build_prefix = @top_build_prefix@
696+top_builddir = @top_builddir@
697+top_srcdir = @top_srcdir@
698+SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) data po src \
699+ doc help utils
700+DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
701+EXTRA_DIST = \
702+ autogen.sh \
703+ lightdm.doap
704+
705+DISTCLEANFILES = \
706+ Makefile.in \
707+ aclocal.m4 \
708+ configure \
709+ config.h.in \
710+ config.h \
711+ depcomp \
712+ gtk-doc.make \
713+ install-sh \
714+ missing \
715+ mkinstalldirs \
716+ omf.make \
717+ xmldocs.make \
718+ po/Makefile.in.in
719+
720+all: config.h
721+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
722+
723+.SUFFIXES:
724+am--refresh: Makefile
725+ @:
726+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
727+ @for dep in $?; do \
728+ case '$(am__configure_deps)' in \
729+ *$$dep*) \
730+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
731+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
732+ && exit 0; \
733+ exit 1;; \
734+ esac; \
735+ done; \
736+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
737+ $(am__cd) $(top_srcdir) && \
738+ $(AUTOMAKE) --gnu Makefile
739+.PRECIOUS: Makefile
740+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
741+ @case '$?' in \
742+ *config.status*) \
743+ echo ' $(SHELL) ./config.status'; \
744+ $(SHELL) ./config.status;; \
745+ *) \
746+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
747+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
748+ esac;
749+
750+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
751+ $(SHELL) ./config.status --recheck
752+
753+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
754+ $(am__cd) $(srcdir) && $(AUTOCONF)
755+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
756+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
757+$(am__aclocal_m4_deps):
758+
759+config.h: stamp-h1
760+ @if test ! -f $@; then rm -f stamp-h1; else :; fi
761+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
762+
763+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
764+ @rm -f stamp-h1
765+ cd $(top_builddir) && $(SHELL) ./config.status config.h
766+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
767+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
768+ rm -f stamp-h1
769+ touch $@
770+
771+distclean-hdr:
772+ -rm -f config.h stamp-h1
773+
774+mostlyclean-libtool:
775+ -rm -f *.lo
776+
777+clean-libtool:
778+ -rm -rf .libs _libs
779+
780+distclean-libtool:
781+ -rm -f libtool config.lt
782+
783+# This directory's subdirectories are mostly independent; you can cd
784+# into them and run `make' without going through this Makefile.
785+# To change the values of `make' variables: instead of editing Makefiles,
786+# (1) if the variable is set in `config.status', edit `config.status'
787+# (which will cause the Makefiles to be regenerated when you run `make');
788+# (2) otherwise, pass the desired values on the `make' command line.
789+$(RECURSIVE_TARGETS):
790+ @fail= failcom='exit 1'; \
791+ for f in x $$MAKEFLAGS; do \
792+ case $$f in \
793+ *=* | --[!k]*);; \
794+ *k*) failcom='fail=yes';; \
795+ esac; \
796+ done; \
797+ dot_seen=no; \
798+ target=`echo $@ | sed s/-recursive//`; \
799+ list='$(SUBDIRS)'; for subdir in $$list; do \
800+ echo "Making $$target in $$subdir"; \
801+ if test "$$subdir" = "."; then \
802+ dot_seen=yes; \
803+ local_target="$$target-am"; \
804+ else \
805+ local_target="$$target"; \
806+ fi; \
807+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
808+ || eval $$failcom; \
809+ done; \
810+ if test "$$dot_seen" = "no"; then \
811+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
812+ fi; test -z "$$fail"
813+
814+$(RECURSIVE_CLEAN_TARGETS):
815+ @fail= failcom='exit 1'; \
816+ for f in x $$MAKEFLAGS; do \
817+ case $$f in \
818+ *=* | --[!k]*);; \
819+ *k*) failcom='fail=yes';; \
820+ esac; \
821+ done; \
822+ dot_seen=no; \
823+ case "$@" in \
824+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
825+ *) list='$(SUBDIRS)' ;; \
826+ esac; \
827+ rev=''; for subdir in $$list; do \
828+ if test "$$subdir" = "."; then :; else \
829+ rev="$$subdir $$rev"; \
830+ fi; \
831+ done; \
832+ rev="$$rev ."; \
833+ target=`echo $@ | sed s/-recursive//`; \
834+ for subdir in $$rev; do \
835+ echo "Making $$target in $$subdir"; \
836+ if test "$$subdir" = "."; then \
837+ local_target="$$target-am"; \
838+ else \
839+ local_target="$$target"; \
840+ fi; \
841+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
842+ || eval $$failcom; \
843+ done && test -z "$$fail"
844+tags-recursive:
845+ list='$(SUBDIRS)'; for subdir in $$list; do \
846+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
847+ done
848+ctags-recursive:
849+ list='$(SUBDIRS)'; for subdir in $$list; do \
850+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
851+ done
852+
853+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
854+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
855+ unique=`for i in $$list; do \
856+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
857+ done | \
858+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
859+ END { if (nonempty) { for (i in files) print i; }; }'`; \
860+ mkid -fID $$unique
861+tags: TAGS
862+
863+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
864+ $(TAGS_FILES) $(LISP)
865+ set x; \
866+ here=`pwd`; \
867+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
868+ include_option=--etags-include; \
869+ empty_fix=.; \
870+ else \
871+ include_option=--include; \
872+ empty_fix=; \
873+ fi; \
874+ list='$(SUBDIRS)'; for subdir in $$list; do \
875+ if test "$$subdir" = .; then :; else \
876+ test ! -f $$subdir/TAGS || \
877+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
878+ fi; \
879+ done; \
880+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
881+ unique=`for i in $$list; do \
882+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
883+ done | \
884+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
885+ END { if (nonempty) { for (i in files) print i; }; }'`; \
886+ shift; \
887+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
888+ test -n "$$unique" || unique=$$empty_fix; \
889+ if test $$# -gt 0; then \
890+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
891+ "$$@" $$unique; \
892+ else \
893+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
894+ $$unique; \
895+ fi; \
896+ fi
897+ctags: CTAGS
898+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
899+ $(TAGS_FILES) $(LISP)
900+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
901+ unique=`for i in $$list; do \
902+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
903+ done | \
904+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
905+ END { if (nonempty) { for (i in files) print i; }; }'`; \
906+ test -z "$(CTAGS_ARGS)$$unique" \
907+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
908+ $$unique
909+
910+GTAGS:
911+ here=`$(am__cd) $(top_builddir) && pwd` \
912+ && $(am__cd) $(top_srcdir) \
913+ && gtags -i $(GTAGS_ARGS) "$$here"
914+
915+distclean-tags:
916+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
917+
918+distdir: $(DISTFILES)
919+ $(am__remove_distdir)
920+ test -d "$(distdir)" || mkdir "$(distdir)"
921+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
922+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
923+ list='$(DISTFILES)'; \
924+ dist_files=`for file in $$list; do echo $$file; done | \
925+ sed -e "s|^$$srcdirstrip/||;t" \
926+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
927+ case $$dist_files in \
928+ */*) $(MKDIR_P) `echo "$$dist_files" | \
929+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
930+ sort -u` ;; \
931+ esac; \
932+ for file in $$dist_files; do \
933+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
934+ if test -d $$d/$$file; then \
935+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
936+ if test -d "$(distdir)/$$file"; then \
937+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
938+ fi; \
939+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
940+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
941+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
942+ fi; \
943+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
944+ else \
945+ test -f "$(distdir)/$$file" \
946+ || cp -p $$d/$$file "$(distdir)/$$file" \
947+ || exit 1; \
948+ fi; \
949+ done
950+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
951+ if test "$$subdir" = .; then :; else \
952+ $(am__make_dryrun) \
953+ || test -d "$(distdir)/$$subdir" \
954+ || $(MKDIR_P) "$(distdir)/$$subdir" \
955+ || exit 1; \
956+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
957+ $(am__relativize); \
958+ new_distdir=$$reldir; \
959+ dir1=$$subdir; dir2="$(top_distdir)"; \
960+ $(am__relativize); \
961+ new_top_distdir=$$reldir; \
962+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
963+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
964+ ($(am__cd) $$subdir && \
965+ $(MAKE) $(AM_MAKEFLAGS) \
966+ top_distdir="$$new_top_distdir" \
967+ distdir="$$new_distdir" \
968+ am__remove_distdir=: \
969+ am__skip_length_check=: \
970+ am__skip_mode_fix=: \
971+ distdir) \
972+ || exit 1; \
973+ fi; \
974+ done
975+ -test -n "$(am__skip_mode_fix)" \
976+ || find "$(distdir)" -type d ! -perm -755 \
977+ -exec chmod u+rwx,go+rx {} \; -o \
978+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
979+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
980+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
981+ || chmod -R a+r "$(distdir)"
982+dist-gzip: distdir
983+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
984+ $(am__remove_distdir)
985+
986+dist-bzip2: distdir
987+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
988+ $(am__remove_distdir)
989+
990+dist-lzip: distdir
991+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
992+ $(am__remove_distdir)
993+
994+dist-lzma: distdir
995+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
996+ $(am__remove_distdir)
997+
998+dist-xz: distdir
999+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1000+ $(am__remove_distdir)
1001+
1002+dist-tarZ: distdir
1003+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1004+ $(am__remove_distdir)
1005+
1006+dist-shar: distdir
1007+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1008+ $(am__remove_distdir)
1009+
1010+dist-zip: distdir
1011+ -rm -f $(distdir).zip
1012+ zip -rq $(distdir).zip $(distdir)
1013+ $(am__remove_distdir)
1014+
1015+dist dist-all: distdir
1016+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1017+ $(am__remove_distdir)
1018+
1019+# This target untars the dist file and tries a VPATH configuration. Then
1020+# it guarantees that the distribution is self-contained by making another
1021+# tarfile.
1022+distcheck: dist
1023+ case '$(DIST_ARCHIVES)' in \
1024+ *.tar.gz*) \
1025+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1026+ *.tar.bz2*) \
1027+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1028+ *.tar.lzma*) \
1029+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1030+ *.tar.lz*) \
1031+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1032+ *.tar.xz*) \
1033+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1034+ *.tar.Z*) \
1035+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1036+ *.shar.gz*) \
1037+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1038+ *.zip*) \
1039+ unzip $(distdir).zip ;;\
1040+ esac
1041+ chmod -R a-w $(distdir); chmod u+w $(distdir)
1042+ mkdir $(distdir)/_build
1043+ mkdir $(distdir)/_inst
1044+ chmod a-w $(distdir)
1045+ test -d $(distdir)/_build || exit 0; \
1046+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1047+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1048+ && am__cwd=`pwd` \
1049+ && $(am__cd) $(distdir)/_build \
1050+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1051+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1052+ $(DISTCHECK_CONFIGURE_FLAGS) \
1053+ && $(MAKE) $(AM_MAKEFLAGS) \
1054+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
1055+ && $(MAKE) $(AM_MAKEFLAGS) check \
1056+ && $(MAKE) $(AM_MAKEFLAGS) install \
1057+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1058+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1059+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1060+ distuninstallcheck \
1061+ && chmod -R a-w "$$dc_install_base" \
1062+ && ({ \
1063+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1064+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1065+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1066+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1067+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1068+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
1069+ && rm -rf "$$dc_destdir" \
1070+ && $(MAKE) $(AM_MAKEFLAGS) dist \
1071+ && rm -rf $(DIST_ARCHIVES) \
1072+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1073+ && cd "$$am__cwd" \
1074+ || exit 1
1075+ $(am__remove_distdir)
1076+ @(echo "$(distdir) archives ready for distribution: "; \
1077+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1078+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1079+distuninstallcheck:
1080+ @test -n '$(distuninstallcheck_dir)' || { \
1081+ echo 'ERROR: trying to run $@ with an empty' \
1082+ '$$(distuninstallcheck_dir)' >&2; \
1083+ exit 1; \
1084+ }; \
1085+ $(am__cd) '$(distuninstallcheck_dir)' || { \
1086+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1087+ exit 1; \
1088+ }; \
1089+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1090+ || { echo "ERROR: files left after uninstall:" ; \
1091+ if test -n "$(DESTDIR)"; then \
1092+ echo " (check DESTDIR support)"; \
1093+ fi ; \
1094+ $(distuninstallcheck_listfiles) ; \
1095+ exit 1; } >&2
1096+distcleancheck: distclean
1097+ @if test '$(srcdir)' = . ; then \
1098+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1099+ exit 1 ; \
1100+ fi
1101+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1102+ || { echo "ERROR: files left in build directory after distclean:" ; \
1103+ $(distcleancheck_listfiles) ; \
1104+ exit 1; } >&2
1105+check-am: all-am
1106+check: check-recursive
1107+all-am: Makefile config.h
1108+installdirs: installdirs-recursive
1109+installdirs-am:
1110+install: install-recursive
1111+install-exec: install-exec-recursive
1112+install-data: install-data-recursive
1113+uninstall: uninstall-recursive
1114+
1115+install-am: all-am
1116+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1117+
1118+installcheck: installcheck-recursive
1119+install-strip:
1120+ if test -z '$(STRIP)'; then \
1121+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1122+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1123+ install; \
1124+ else \
1125+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1126+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1127+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1128+ fi
1129+mostlyclean-generic:
1130+
1131+clean-generic:
1132+
1133+distclean-generic:
1134+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1135+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1136+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1137+
1138+maintainer-clean-generic:
1139+ @echo "This command is intended for maintainers to use"
1140+ @echo "it deletes files that may require special tools to rebuild."
1141+clean: clean-recursive
1142+
1143+clean-am: clean-generic clean-libtool mostlyclean-am
1144+
1145+distclean: distclean-recursive
1146+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1147+ -rm -f Makefile
1148+distclean-am: clean-am distclean-generic distclean-hdr \
1149+ distclean-libtool distclean-tags
1150+
1151+dvi: dvi-recursive
1152+
1153+dvi-am:
1154+
1155+html: html-recursive
1156+
1157+html-am:
1158+
1159+info: info-recursive
1160+
1161+info-am:
1162+
1163+install-data-am:
1164+
1165+install-dvi: install-dvi-recursive
1166+
1167+install-dvi-am:
1168+
1169+install-exec-am:
1170+
1171+install-html: install-html-recursive
1172+
1173+install-html-am:
1174+
1175+install-info: install-info-recursive
1176+
1177+install-info-am:
1178+
1179+install-man:
1180+
1181+install-pdf: install-pdf-recursive
1182+
1183+install-pdf-am:
1184+
1185+install-ps: install-ps-recursive
1186+
1187+install-ps-am:
1188+
1189+installcheck-am:
1190+
1191+maintainer-clean: maintainer-clean-recursive
1192+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1193+ -rm -rf $(top_srcdir)/autom4te.cache
1194+ -rm -f Makefile
1195+maintainer-clean-am: distclean-am maintainer-clean-generic
1196+
1197+mostlyclean: mostlyclean-recursive
1198+
1199+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1200+
1201+pdf: pdf-recursive
1202+
1203+pdf-am:
1204+
1205+ps: ps-recursive
1206+
1207+ps-am:
1208+
1209+uninstall-am:
1210+
1211+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
1212+ ctags-recursive install-am install-strip tags-recursive
1213+
1214+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1215+ all all-am am--refresh check check-am clean clean-generic \
1216+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
1217+ dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
1218+ dist-zip distcheck distclean distclean-generic distclean-hdr \
1219+ distclean-libtool distclean-tags distcleancheck distdir \
1220+ distuninstallcheck dvi dvi-am html html-am info info-am \
1221+ install install-am install-data install-data-am install-dvi \
1222+ install-dvi-am install-exec install-exec-am install-html \
1223+ install-html-am install-info install-info-am install-man \
1224+ install-pdf install-pdf-am install-ps install-ps-am \
1225+ install-strip installcheck installcheck-am installdirs \
1226+ installdirs-am maintainer-clean maintainer-clean-generic \
1227+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1228+ ps ps-am tags tags-recursive uninstall uninstall-am
1229+
1230+
1231+# Tell versions [3.59,3.63) of GNU make to not export all variables.
1232+# Otherwise a system limit (for SysV at least) may be exceeded.
1233+.NOEXPORT:
1234
1235=== modified file 'NEWS'
1236--- NEWS 2013-03-07 22:05:11 +0000
1237+++ NEWS 2013-03-18 23:03:22 +0000
1238@@ -1,3 +1,4 @@
1239+<<<<<<< TREE
1240 Overview of changes in lightdm 1.5.1
1241
1242 * QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
1243@@ -91,6 +92,78 @@
1244 * Add a seat option greeter-show-manual-login which hints to a greeter if it
1245 should show a manual username entry if a user list is already present.
1246
1247+=======
1248+Overview of changes in lightdm 1.4.0
1249+
1250+ * Correctly implement and test autologin timeouts
1251+ * Add greeter-show-remote-login hint
1252+ * Correctly annotate enums in vapi file
1253+ * QLightDM: Add default constructor to Qt power interface
1254+ * QLightDM: Expose image path in UserModel
1255+ * QLightDM: Add parameter to session model to show either local or remote
1256+ sessions
1257+ * Fix race conditions in tests
1258+
1259+Overview of changes in lightdm 1.3.3
1260+
1261+ * Add a new remote session type. These sessions create a temporary local
1262+ account and authenticate against a remote server. The session is an
1263+ application that accesses that remote session (e.g. VNC, RDP etc)
1264+ * Support multiple simultaneous PAM prompts
1265+ * Set utmp ut_host field to the X display address
1266+ * Correctly reap unused authentication sessions
1267+
1268+Overview of changes in lightdm 1.3.2
1269+
1270+ * Handle clearenv() not being defined
1271+ * Fix compilation with GCC 4.7
1272+ * Expose remaining properties in QLightDM::Greeter
1273+ * Fix utmp records being written before child process created
1274+
1275+Overview of changes in lightdm 1.3.1
1276+
1277+ * Fix wrapper path in AppArmor profile (broken since 1.1.1)
1278+ * Add show-manual-login and allow-guest options to lightdm-set-defaults
1279+ * Don't set PAM_XDISPLAY or PAM_XAUTHDATA if not supported
1280+ * Add lock-memory option, enabled by default, to prevent paging memory
1281+ to disk.
1282+ * Write utmp records for sessions
1283+ * Install PAM configuration
1284+ * Run greeters inside the "lightdm-greeter" PAM service
1285+ * Handle setresgid and setresuid not being available
1286+ * Use xsession directory from lightdm.conf in liblightdm
1287+
1288+Overview of changes in lightdm 1.2.0
1289+
1290+ * Backup .xsession-errors on login
1291+ * Handle failures in pam_setcred
1292+ * Open log files in append mode
1293+ * Add extra checks in liblightdm so that it doesn't send invalid messages
1294+ to the daemon
1295+ * Fix gdmflexiserver not being added to the path (broken since 1.1.4)
1296+ * Fix PAM conversations after authentication from locking up sessions
1297+ * Fix PAM informational messages locking up autologin
1298+ * Change XDMCP manage timeout from 10ms to 126s (maximum specified in the
1299+ XDMCP specification)
1300+
1301+Overview of changes in lightdm 1.1.9
1302+
1303+ * Add --show-users/--hide-users to lightdm-set-defaults
1304+ * Call initgroups before pam_setcred - this allows pam_setcred to change
1305+ group membership correctly
1306+
1307+Overview of changes in lightdm 1.1.8
1308+
1309+ * Handle PAM interactions that have more than one message in one callback
1310+
1311+Overview of changes in lightdm 1.1.7
1312+
1313+ * Add a seat option greeter-allow-guest which controls if the greeter should
1314+ provide an option to access the guest account.
1315+ * Add a seat option greeter-show-manual-login which hints to a greeter if it
1316+ should show a manual username entry if a user list is already present.
1317+
1318+>>>>>>> MERGE-SOURCE
1319 Overview of changes in lightdm 1.1.6
1320
1321 * Fix session wrapper working the same as it did in 1.1.3
1322
1323=== added file 'TODO'
1324--- TODO 1970-01-01 00:00:00 +0000
1325+++ TODO 2013-03-18 23:03:22 +0000
1326@@ -0,0 +1,19 @@
1327+LightDM crashes when quitting after have XDMCP connection in PAMSession?
1328+Stop being able to log into users on other seats
1329+Add VNC support
1330+Test XDMCP client seat
1331+Per seat guest enable
1332+Close FDs on starting session (but keep greeter pipe open)
1333+Merge tests .script and .config
1334+Rename XAuthorization to XAuthority? And merge in authentication?
1335+Failsafe X and exponential backoff?
1336+GET ALL HINTS WORKING
1337+Always load dmrc from cache
1338+Make liblightdm-qt use AccountsService
1339+Fix XDM-AUTHENTICATION-KEY decode, add regression test
1340+
1341+***
1342+Fix guest accounts being created but the session doesn't start
1343+Add tests to check guest accounts are being created and destroyed
1344+
1345+add regression test to check XDG_SESSION_COOKIE is set
1346\ No newline at end of file
1347
1348=== added file 'aclocal.m4'
1349--- aclocal.m4 1970-01-01 00:00:00 +0000
1350+++ aclocal.m4 2013-03-18 23:03:22 +0000
1351@@ -0,0 +1,10619 @@
1352+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1353+
1354+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1355+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
1356+# Inc.
1357+# This file is free software; the Free Software Foundation
1358+# gives unlimited permission to copy and/or distribute it,
1359+# with or without modifications, as long as this notice is preserved.
1360+
1361+# This program is distributed in the hope that it will be useful,
1362+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1363+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1364+# PARTICULAR PURPOSE.
1365+
1366+m4_ifndef([AC_AUTOCONF_VERSION],
1367+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1368+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
1369+[m4_warning([this file was generated for autoconf 2.69.
1370+You have another version of autoconf. It may work, but is not guaranteed to.
1371+If you have problems, you may need to regenerate the build system entirely.
1372+To do so, use the procedure documented by the package, typically `autoreconf'.])])
1373+
1374+dnl GNOME_COMPILE_WARNINGS
1375+dnl Turn on many useful compiler warnings
1376+dnl For now, only works on GCC
1377+AC_DEFUN([GNOME_COMPILE_WARNINGS],[
1378+ dnl ******************************
1379+ dnl More compiler warnings
1380+ dnl ******************************
1381+
1382+ AC_ARG_ENABLE(compile-warnings,
1383+ AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
1384+ [Turn on compiler warnings]),,
1385+ [enable_compile_warnings="m4_default([$1],[yes])"])
1386+
1387+ warnCFLAGS=
1388+ if test "x$GCC" != xyes; then
1389+ enable_compile_warnings=no
1390+ fi
1391+
1392+ warning_flags=
1393+ realsave_CFLAGS="$CFLAGS"
1394+
1395+ case "$enable_compile_warnings" in
1396+ no)
1397+ warning_flags=
1398+ ;;
1399+ minimum)
1400+ warning_flags="-Wall"
1401+ ;;
1402+ yes)
1403+ warning_flags="-Wall -Wmissing-prototypes"
1404+ ;;
1405+ maximum|error)
1406+ warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
1407+ CFLAGS="$warning_flags $CFLAGS"
1408+ for option in -Wno-sign-compare; do
1409+ SAVE_CFLAGS="$CFLAGS"
1410+ CFLAGS="$CFLAGS $option"
1411+ AC_MSG_CHECKING([whether gcc understands $option])
1412+ AC_TRY_COMPILE([], [],
1413+ has_option=yes,
1414+ has_option=no,)
1415+ CFLAGS="$SAVE_CFLAGS"
1416+ AC_MSG_RESULT($has_option)
1417+ if test $has_option = yes; then
1418+ warning_flags="$warning_flags $option"
1419+ fi
1420+ unset has_option
1421+ unset SAVE_CFLAGS
1422+ done
1423+ unset option
1424+ if test "$enable_compile_warnings" = "error" ; then
1425+ warning_flags="$warning_flags -Werror"
1426+ fi
1427+ ;;
1428+ *)
1429+ AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
1430+ ;;
1431+ esac
1432+ CFLAGS="$realsave_CFLAGS"
1433+ AC_MSG_CHECKING(what warning flags to pass to the C compiler)
1434+ AC_MSG_RESULT($warning_flags)
1435+
1436+ AC_ARG_ENABLE(iso-c,
1437+ AC_HELP_STRING([--enable-iso-c],
1438+ [Try to warn if code is not ISO C ]),,
1439+ [enable_iso_c=no])
1440+
1441+ AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
1442+ complCFLAGS=
1443+ if test "x$enable_iso_c" != "xno"; then
1444+ if test "x$GCC" = "xyes"; then
1445+ case " $CFLAGS " in
1446+ *[\ \ ]-ansi[\ \ ]*) ;;
1447+ *) complCFLAGS="$complCFLAGS -ansi" ;;
1448+ esac
1449+ case " $CFLAGS " in
1450+ *[\ \ ]-pedantic[\ \ ]*) ;;
1451+ *) complCFLAGS="$complCFLAGS -pedantic" ;;
1452+ esac
1453+ fi
1454+ fi
1455+ AC_MSG_RESULT($complCFLAGS)
1456+
1457+ WARN_CFLAGS="$warning_flags $complCFLAGS"
1458+ AC_SUBST(WARN_CFLAGS)
1459+])
1460+
1461+dnl For C++, do basically the same thing.
1462+
1463+AC_DEFUN([GNOME_CXX_WARNINGS],[
1464+ AC_ARG_ENABLE(cxx-warnings,
1465+ AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
1466+ [Turn on compiler warnings.]),,
1467+ [enable_cxx_warnings="m4_default([$1],[minimum])"])
1468+
1469+ AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
1470+ warnCXXFLAGS=
1471+ if test "x$GXX" != xyes; then
1472+ enable_cxx_warnings=no
1473+ fi
1474+ if test "x$enable_cxx_warnings" != "xno"; then
1475+ if test "x$GXX" = "xyes"; then
1476+ case " $CXXFLAGS " in
1477+ *[\ \ ]-Wall[\ \ ]*) ;;
1478+ *) warnCXXFLAGS="-Wall -Wno-unused" ;;
1479+ esac
1480+
1481+ ## -W is not all that useful. And it cannot be controlled
1482+ ## with individual -Wno-xxx flags, unlike -Wall
1483+ if test "x$enable_cxx_warnings" = "xyes"; then
1484+ warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
1485+ fi
1486+ fi
1487+ fi
1488+ AC_MSG_RESULT($warnCXXFLAGS)
1489+
1490+ AC_ARG_ENABLE(iso-cxx,
1491+ AC_HELP_STRING([--enable-iso-cxx],
1492+ [Try to warn if code is not ISO C++ ]),,
1493+ [enable_iso_cxx=no])
1494+
1495+ AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
1496+ complCXXFLAGS=
1497+ if test "x$enable_iso_cxx" != "xno"; then
1498+ if test "x$GXX" = "xyes"; then
1499+ case " $CXXFLAGS " in
1500+ *[\ \ ]-ansi[\ \ ]*) ;;
1501+ *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
1502+ esac
1503+
1504+ case " $CXXFLAGS " in
1505+ *[\ \ ]-pedantic[\ \ ]*) ;;
1506+ *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
1507+ esac
1508+ fi
1509+ fi
1510+ AC_MSG_RESULT($complCXXFLAGS)
1511+
1512+ WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
1513+ AC_SUBST(WARN_CXXFLAGS)
1514+])
1515+
1516+dnl -*- mode: autoconf -*-
1517+
1518+# serial 1
1519+
1520+dnl Usage:
1521+dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
1522+AC_DEFUN([GTK_DOC_CHECK],
1523+[
1524+ AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1525+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
1526+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
1527+
1528+ dnl check for tools we added during development
1529+ AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
1530+ AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
1531+ AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
1532+
1533+ dnl for overriding the documentation installation directory
1534+ AC_ARG_WITH([html-dir],
1535+ AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
1536+ [with_html_dir='${datadir}/gtk-doc/html'])
1537+ HTML_DIR="$with_html_dir"
1538+ AC_SUBST([HTML_DIR])
1539+
1540+ dnl enable/disable documentation building
1541+ AC_ARG_ENABLE([gtk-doc],
1542+ AS_HELP_STRING([--enable-gtk-doc],
1543+ [use gtk-doc to build documentation [[default=no]]]),,
1544+ [enable_gtk_doc=no])
1545+
1546+ if test x$enable_gtk_doc = xyes; then
1547+ ifelse([$1],[],
1548+ [PKG_CHECK_EXISTS([gtk-doc],,
1549+ AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
1550+ [PKG_CHECK_EXISTS([gtk-doc >= $1],,
1551+ AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
1552+ dnl don't check for glib if we build glib
1553+ if test "x$PACKAGE_NAME" != "xglib"; then
1554+ dnl don't fail if someone does not have glib
1555+ PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
1556+ fi
1557+ fi
1558+
1559+ AC_MSG_CHECKING([whether to build gtk-doc documentation])
1560+ AC_MSG_RESULT($enable_gtk_doc)
1561+
1562+ dnl enable/disable output formats
1563+ AC_ARG_ENABLE([gtk-doc-html],
1564+ AS_HELP_STRING([--enable-gtk-doc-html],
1565+ [build documentation in html format [[default=yes]]]),,
1566+ [enable_gtk_doc_html=yes])
1567+ AC_ARG_ENABLE([gtk-doc-pdf],
1568+ AS_HELP_STRING([--enable-gtk-doc-pdf],
1569+ [build documentation in pdf format [[default=no]]]),,
1570+ [enable_gtk_doc_pdf=no])
1571+
1572+ if test -z "$GTKDOC_MKPDF"; then
1573+ enable_gtk_doc_pdf=no
1574+ fi
1575+
1576+
1577+ AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
1578+ AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
1579+ AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
1580+ AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
1581+ AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
1582+])
1583+
1584+
1585+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
1586+# serial 42 IT_PROG_INTLTOOL
1587+AC_DEFUN([IT_PROG_INTLTOOL], [
1588+AC_PREREQ([2.50])dnl
1589+AC_REQUIRE([AM_NLS])dnl
1590+
1591+case "$am__api_version" in
1592+ 1.[01234])
1593+ AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
1594+ ;;
1595+ *)
1596+ ;;
1597+esac
1598+
1599+INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1600+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
1601+INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1602+if test -n "$1"; then
1603+ AC_MSG_CHECKING([for intltool >= $1])
1604+ AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
1605+ test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1606+ AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
1607+fi
1608+
1609+AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
1610+AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
1611+AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
1612+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
1613+ AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
1614+fi
1615+
1616+if test -z "$AM_DEFAULT_VERBOSITY"; then
1617+ AM_DEFAULT_VERBOSITY=1
1618+fi
1619+AC_SUBST([AM_DEFAULT_VERBOSITY])
1620+
1621+INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
1622+INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
1623+INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
1624+AC_SUBST(INTLTOOL_V_MERGE)
1625+AC_SUBST(INTLTOOL__v_MERGE_)
1626+AC_SUBST(INTLTOOL__v_MERGE_0)
1627+
1628+INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
1629+intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
1630+intltool__v_merge_options_0='-q'
1631+AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
1632+AC_SUBST(intltool__v_merge_options_)
1633+AC_SUBST(intltool__v_merge_options_0)
1634+
1635+ 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 $< [$]@'
1636+INTLTOOL_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 $< [$]@'
1637+ 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 $< [$]@'
1638+ 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 $< [$]@'
1639+ 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 $< [$]@'
1640+ 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 $< [$]@'
1641+ 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 $< [$]@'
1642+ 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 $< [$]@'
1643+INTLTOOL_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 $< [$]@'
1644+ 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 $< [$]@'
1645+ 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 $< [$]@'
1646+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
1647+ 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 $< [$]@'
1648+else
1649+ 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'
1650+fi
1651+ 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 $< [$]@'
1652+ 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 $< [$]@'
1653+ 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 $< [$]@'
1654+ 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 $< [$]@'
1655+ 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 $< [$]@'
1656+ 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 $< [$]@'
1657+ 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 $< [$]@'
1658+
1659+_IT_SUBST(INTLTOOL_DESKTOP_RULE)
1660+_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
1661+_IT_SUBST(INTLTOOL_KEYS_RULE)
1662+_IT_SUBST(INTLTOOL_PROP_RULE)
1663+_IT_SUBST(INTLTOOL_OAF_RULE)
1664+_IT_SUBST(INTLTOOL_PONG_RULE)
1665+_IT_SUBST(INTLTOOL_SERVER_RULE)
1666+_IT_SUBST(INTLTOOL_SHEET_RULE)
1667+_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
1668+_IT_SUBST(INTLTOOL_UI_RULE)
1669+_IT_SUBST(INTLTOOL_XAM_RULE)
1670+_IT_SUBST(INTLTOOL_KBD_RULE)
1671+_IT_SUBST(INTLTOOL_XML_RULE)
1672+_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
1673+_IT_SUBST(INTLTOOL_CAVES_RULE)
1674+_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
1675+_IT_SUBST(INTLTOOL_THEME_RULE)
1676+_IT_SUBST(INTLTOOL_SERVICE_RULE)
1677+_IT_SUBST(INTLTOOL_POLICY_RULE)
1678+
1679+# Check the gettext tools to make sure they are GNU
1680+AC_PATH_PROG(XGETTEXT, xgettext)
1681+AC_PATH_PROG(MSGMERGE, msgmerge)
1682+AC_PATH_PROG(MSGFMT, msgfmt)
1683+AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
1684+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1685+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1686+fi
1687+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
1688+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
1689+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
1690+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
1691+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
1692+fi
1693+
1694+AC_PATH_PROG(INTLTOOL_PERL, perl)
1695+if test -z "$INTLTOOL_PERL"; then
1696+ AC_MSG_ERROR([perl not found])
1697+fi
1698+AC_MSG_CHECKING([for perl >= 5.8.1])
1699+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
1700+if test $? -ne 0; then
1701+ AC_MSG_ERROR([perl 5.8.1 is required for intltool])
1702+else
1703+ IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
1704+ AC_MSG_RESULT([$IT_PERL_VERSION])
1705+fi
1706+if test "x$2" != "xno-xml"; then
1707+ AC_MSG_CHECKING([for XML::Parser])
1708+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
1709+ AC_MSG_RESULT([ok])
1710+ else
1711+ AC_MSG_ERROR([XML::Parser perl module is required for intltool])
1712+ fi
1713+fi
1714+
1715+# Substitute ALL_LINGUAS so we can use it in po/Makefile
1716+AC_SUBST(ALL_LINGUAS)
1717+
1718+# Set DATADIRNAME correctly if it is not set yet
1719+# (copied from glib-gettext.m4)
1720+if test -z "$DATADIRNAME"; then
1721+ AC_LINK_IFELSE(
1722+ [AC_LANG_PROGRAM([[]],
1723+ [[extern int _nl_msg_cat_cntr;
1724+ return _nl_msg_cat_cntr]])],
1725+ [DATADIRNAME=share],
1726+ [case $host in
1727+ *-*-solaris*)
1728+ dnl On Solaris, if bind_textdomain_codeset is in libc,
1729+ dnl GNU format message catalog is always supported,
1730+ dnl since both are added to the libc all together.
1731+ dnl Hence, we'd like to go with DATADIRNAME=share
1732+ dnl in this case.
1733+ AC_CHECK_FUNC(bind_textdomain_codeset,
1734+ [DATADIRNAME=share], [DATADIRNAME=lib])
1735+ ;;
1736+ *)
1737+ [DATADIRNAME=lib]
1738+ ;;
1739+ esac])
1740+fi
1741+AC_SUBST(DATADIRNAME)
1742+
1743+IT_PO_SUBDIR([po])
1744+
1745+])
1746+
1747+
1748+# IT_PO_SUBDIR(DIRNAME)
1749+# ---------------------
1750+# All po subdirs have to be declared with this macro; the subdir "po" is
1751+# declared by IT_PROG_INTLTOOL.
1752+#
1753+AC_DEFUN([IT_PO_SUBDIR],
1754+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
1755+dnl
1756+dnl The following CONFIG_COMMANDS should be executed at the very end
1757+dnl of config.status.
1758+AC_CONFIG_COMMANDS_PRE([
1759+ AC_CONFIG_COMMANDS([$1/stamp-it], [
1760+ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
1761+ AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
1762+ fi
1763+ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
1764+ >"$1/stamp-it.tmp"
1765+ [sed '/^#/d
1766+ s/^[[].*] *//
1767+ /^[ ]*$/d
1768+ '"s|^| $ac_top_srcdir/|" \
1769+ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
1770+ ]
1771+ [sed '/^POTFILES =/,/[^\\]$/ {
1772+ /^POTFILES =/!d
1773+ r $1/POTFILES
1774+ }
1775+ ' "$1/Makefile.in" >"$1/Makefile"]
1776+ rm -f "$1/Makefile.tmp"
1777+ mv "$1/stamp-it.tmp" "$1/stamp-it"
1778+ ])
1779+])dnl
1780+])
1781+
1782+# _IT_SUBST(VARIABLE)
1783+# -------------------
1784+# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
1785+#
1786+AC_DEFUN([_IT_SUBST],
1787+[
1788+AC_SUBST([$1])
1789+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
1790+]
1791+)
1792+
1793+# deprecated macros
1794+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
1795+# A hint is needed for aclocal from Automake <= 1.9.4:
1796+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
1797+
1798+
1799+dnl -*- mode: autoconf -*-
1800+dnl Copyright 2009 Johan Dahlin
1801+dnl
1802+dnl This file is free software; the author(s) gives unlimited
1803+dnl permission to copy and/or distribute it, with or without
1804+dnl modifications, as long as this notice is preserved.
1805+dnl
1806+
1807+# serial 1
1808+
1809+m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
1810+[
1811+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
1812+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
1813+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
1814+
1815+ dnl enable/disable introspection
1816+ m4_if([$2], [require],
1817+ [dnl
1818+ enable_introspection=yes
1819+ ],[dnl
1820+ AC_ARG_ENABLE(introspection,
1821+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
1822+ [Enable introspection for this build]),,
1823+ [enable_introspection=auto])
1824+ ])dnl
1825+
1826+ AC_MSG_CHECKING([for gobject-introspection])
1827+
1828+ dnl presence/version checking
1829+ AS_CASE([$enable_introspection],
1830+ [no], [dnl
1831+ found_introspection="no (disabled, use --enable-introspection to enable)"
1832+ ],dnl
1833+ [yes],[dnl
1834+ PKG_CHECK_EXISTS([gobject-introspection-1.0],,
1835+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
1836+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
1837+ found_introspection=yes,
1838+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
1839+ ],dnl
1840+ [auto],[dnl
1841+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
1842+ dnl Canonicalize enable_introspection
1843+ enable_introspection=$found_introspection
1844+ ],dnl
1845+ [dnl
1846+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
1847+ ])dnl
1848+
1849+ AC_MSG_RESULT([$found_introspection])
1850+
1851+ INTROSPECTION_SCANNER=
1852+ INTROSPECTION_COMPILER=
1853+ INTROSPECTION_GENERATE=
1854+ INTROSPECTION_GIRDIR=
1855+ INTROSPECTION_TYPELIBDIR=
1856+ if test "x$found_introspection" = "xyes"; then
1857+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
1858+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
1859+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
1860+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
1861+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
1862+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
1863+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
1864+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
1865+ fi
1866+ AC_SUBST(INTROSPECTION_SCANNER)
1867+ AC_SUBST(INTROSPECTION_COMPILER)
1868+ AC_SUBST(INTROSPECTION_GENERATE)
1869+ AC_SUBST(INTROSPECTION_GIRDIR)
1870+ AC_SUBST(INTROSPECTION_TYPELIBDIR)
1871+ AC_SUBST(INTROSPECTION_CFLAGS)
1872+ AC_SUBST(INTROSPECTION_LIBS)
1873+ AC_SUBST(INTROSPECTION_MAKEFILE)
1874+
1875+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
1876+])
1877+
1878+
1879+dnl Usage:
1880+dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
1881+
1882+AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
1883+[
1884+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
1885+])
1886+
1887+dnl Usage:
1888+dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
1889+
1890+
1891+AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
1892+[
1893+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
1894+])
1895+
1896+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1897+#
1898+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1899+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1900+# Foundation, Inc.
1901+# Written by Gordon Matzigkeit, 1996
1902+#
1903+# This file is free software; the Free Software Foundation gives
1904+# unlimited permission to copy and/or distribute it, with or without
1905+# modifications, as long as this notice is preserved.
1906+
1907+m4_define([_LT_COPYING], [dnl
1908+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1909+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1910+# Foundation, Inc.
1911+# Written by Gordon Matzigkeit, 1996
1912+#
1913+# This file is part of GNU Libtool.
1914+#
1915+# GNU Libtool is free software; you can redistribute it and/or
1916+# modify it under the terms of the GNU General Public License as
1917+# published by the Free Software Foundation; either version 2 of
1918+# the License, or (at your option) any later version.
1919+#
1920+# As a special exception to the GNU General Public License,
1921+# if you distribute this file as part of a program or library that
1922+# is built using GNU Libtool, you may include this file under the
1923+# same distribution terms that you use for the rest of that program.
1924+#
1925+# GNU Libtool is distributed in the hope that it will be useful,
1926+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1927+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1928+# GNU General Public License for more details.
1929+#
1930+# You should have received a copy of the GNU General Public License
1931+# along with GNU Libtool; see the file COPYING. If not, a copy
1932+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1933+# obtained by writing to the Free Software Foundation, Inc.,
1934+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1935+])
1936+
1937+# serial 57 LT_INIT
1938+
1939+
1940+# LT_PREREQ(VERSION)
1941+# ------------------
1942+# Complain and exit if this libtool version is less that VERSION.
1943+m4_defun([LT_PREREQ],
1944+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
1945+ [m4_default([$3],
1946+ [m4_fatal([Libtool version $1 or higher is required],
1947+ 63)])],
1948+ [$2])])
1949+
1950+
1951+# _LT_CHECK_BUILDDIR
1952+# ------------------
1953+# Complain if the absolute build directory name contains unusual characters
1954+m4_defun([_LT_CHECK_BUILDDIR],
1955+[case `pwd` in
1956+ *\ * | *\ *)
1957+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
1958+esac
1959+])
1960+
1961+
1962+# LT_INIT([OPTIONS])
1963+# ------------------
1964+AC_DEFUN([LT_INIT],
1965+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1966+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1967+AC_BEFORE([$0], [LT_LANG])dnl
1968+AC_BEFORE([$0], [LT_OUTPUT])dnl
1969+AC_BEFORE([$0], [LTDL_INIT])dnl
1970+m4_require([_LT_CHECK_BUILDDIR])dnl
1971+
1972+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
1973+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
1974+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
1975+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
1976+dnl unless we require an AC_DEFUNed macro:
1977+AC_REQUIRE([LTOPTIONS_VERSION])dnl
1978+AC_REQUIRE([LTSUGAR_VERSION])dnl
1979+AC_REQUIRE([LTVERSION_VERSION])dnl
1980+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
1981+m4_require([_LT_PROG_LTMAIN])dnl
1982+
1983+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
1984+
1985+dnl Parse OPTIONS
1986+_LT_SET_OPTIONS([$0], [$1])
1987+
1988+# This can be used to rebuild libtool when needed
1989+LIBTOOL_DEPS="$ltmain"
1990+
1991+# Always use our own libtool.
1992+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1993+AC_SUBST(LIBTOOL)dnl
1994+
1995+_LT_SETUP
1996+
1997+# Only expand once:
1998+m4_define([LT_INIT])
1999+])# LT_INIT
2000+
2001+# Old names:
2002+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
2003+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
2004+dnl aclocal-1.4 backwards compatibility:
2005+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
2006+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
2007+
2008+
2009+# _LT_CC_BASENAME(CC)
2010+# -------------------
2011+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2012+m4_defun([_LT_CC_BASENAME],
2013+[for cc_temp in $1""; do
2014+ case $cc_temp in
2015+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
2016+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
2017+ \-*) ;;
2018+ *) break;;
2019+ esac
2020+done
2021+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
2022+])
2023+
2024+
2025+# _LT_FILEUTILS_DEFAULTS
2026+# ----------------------
2027+# It is okay to use these file commands and assume they have been set
2028+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2029+m4_defun([_LT_FILEUTILS_DEFAULTS],
2030+[: ${CP="cp -f"}
2031+: ${MV="mv -f"}
2032+: ${RM="rm -f"}
2033+])# _LT_FILEUTILS_DEFAULTS
2034+
2035+
2036+# _LT_SETUP
2037+# ---------
2038+m4_defun([_LT_SETUP],
2039+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2040+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2041+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
2042+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
2043+
2044+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
2045+dnl
2046+_LT_DECL([], [host_alias], [0], [The host system])dnl
2047+_LT_DECL([], [host], [0])dnl
2048+_LT_DECL([], [host_os], [0])dnl
2049+dnl
2050+_LT_DECL([], [build_alias], [0], [The build system])dnl
2051+_LT_DECL([], [build], [0])dnl
2052+_LT_DECL([], [build_os], [0])dnl
2053+dnl
2054+AC_REQUIRE([AC_PROG_CC])dnl
2055+AC_REQUIRE([LT_PATH_LD])dnl
2056+AC_REQUIRE([LT_PATH_NM])dnl
2057+dnl
2058+AC_REQUIRE([AC_PROG_LN_S])dnl
2059+test -z "$LN_S" && LN_S="ln -s"
2060+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
2061+dnl
2062+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
2063+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
2064+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
2065+dnl
2066+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2067+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2068+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
2069+m4_require([_LT_CMD_RELOAD])dnl
2070+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
2071+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
2072+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
2073+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
2074+m4_require([_LT_WITH_SYSROOT])dnl
2075+
2076+_LT_CONFIG_LIBTOOL_INIT([
2077+# See if we are running on zsh, and set the options which allow our
2078+# commands through without removal of \ escapes INIT.
2079+if test -n "\${ZSH_VERSION+set}" ; then
2080+ setopt NO_GLOB_SUBST
2081+fi
2082+])
2083+if test -n "${ZSH_VERSION+set}" ; then
2084+ setopt NO_GLOB_SUBST
2085+fi
2086+
2087+_LT_CHECK_OBJDIR
2088+
2089+m4_require([_LT_TAG_COMPILER])dnl
2090+
2091+case $host_os in
2092+aix3*)
2093+ # AIX sometimes has problems with the GCC collect2 program. For some
2094+ # reason, if we set the COLLECT_NAMES environment variable, the problems
2095+ # vanish in a puff of smoke.
2096+ if test "X${COLLECT_NAMES+set}" != Xset; then
2097+ COLLECT_NAMES=
2098+ export COLLECT_NAMES
2099+ fi
2100+ ;;
2101+esac
2102+
2103+# Global variables:
2104+ofile=libtool
2105+can_build_shared=yes
2106+
2107+# All known linkers require a `.a' archive for static linking (except MSVC,
2108+# which needs '.lib').
2109+libext=a
2110+
2111+with_gnu_ld="$lt_cv_prog_gnu_ld"
2112+
2113+old_CC="$CC"
2114+old_CFLAGS="$CFLAGS"
2115+
2116+# Set sane defaults for various variables
2117+test -z "$CC" && CC=cc
2118+test -z "$LTCC" && LTCC=$CC
2119+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
2120+test -z "$LD" && LD=ld
2121+test -z "$ac_objext" && ac_objext=o
2122+
2123+_LT_CC_BASENAME([$compiler])
2124+
2125+# Only perform the check for file, if the check method requires it
2126+test -z "$MAGIC_CMD" && MAGIC_CMD=file
2127+case $deplibs_check_method in
2128+file_magic*)
2129+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2130+ _LT_PATH_MAGIC
2131+ fi
2132+ ;;
2133+esac
2134+
2135+# Use C for the default configuration in the libtool script
2136+LT_SUPPORTED_TAG([CC])
2137+_LT_LANG_C_CONFIG
2138+_LT_LANG_DEFAULT_CONFIG
2139+_LT_CONFIG_COMMANDS
2140+])# _LT_SETUP
2141+
2142+
2143+# _LT_PREPARE_SED_QUOTE_VARS
2144+# --------------------------
2145+# Define a few sed substitution that help us do robust quoting.
2146+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
2147+[# Backslashify metacharacters that are still active within
2148+# double-quoted strings.
2149+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
2150+
2151+# Same as above, but do not quote variable references.
2152+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
2153+
2154+# Sed substitution to delay expansion of an escaped shell variable in a
2155+# double_quote_subst'ed string.
2156+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2157+
2158+# Sed substitution to delay expansion of an escaped single quote.
2159+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2160+
2161+# Sed substitution to avoid accidental globbing in evaled expressions
2162+no_glob_subst='s/\*/\\\*/g'
2163+])
2164+
2165+# _LT_PROG_LTMAIN
2166+# ---------------
2167+# Note that this code is called both from `configure', and `config.status'
2168+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2169+# `config.status' has no value for ac_aux_dir unless we are using Automake,
2170+# so we pass a copy along to make sure it has a sensible value anyway.
2171+m4_defun([_LT_PROG_LTMAIN],
2172+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
2173+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
2174+ltmain="$ac_aux_dir/ltmain.sh"
2175+])# _LT_PROG_LTMAIN
2176+
2177+
2178+
2179+# So that we can recreate a full libtool script including additional
2180+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2181+# in macros and then make a single call at the end using the `libtool'
2182+# label.
2183+
2184+
2185+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2186+# ----------------------------------------
2187+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2188+m4_define([_LT_CONFIG_LIBTOOL_INIT],
2189+[m4_ifval([$1],
2190+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
2191+ [$1
2192+])])])
2193+
2194+# Initialize.
2195+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
2196+
2197+
2198+# _LT_CONFIG_LIBTOOL([COMMANDS])
2199+# ------------------------------
2200+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2201+m4_define([_LT_CONFIG_LIBTOOL],
2202+[m4_ifval([$1],
2203+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
2204+ [$1
2205+])])])
2206+
2207+# Initialize.
2208+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
2209+
2210+
2211+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2212+# -----------------------------------------------------
2213+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
2214+[_LT_CONFIG_LIBTOOL([$1])
2215+_LT_CONFIG_LIBTOOL_INIT([$2])
2216+])
2217+
2218+
2219+# _LT_FORMAT_COMMENT([COMMENT])
2220+# -----------------------------
2221+# Add leading comment marks to the start of each line, and a trailing
2222+# full-stop to the whole comment if one is not present already.
2223+m4_define([_LT_FORMAT_COMMENT],
2224+[m4_ifval([$1], [
2225+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
2226+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
2227+)])
2228+
2229+
2230+
2231+
2232+
2233+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2234+# -------------------------------------------------------------------
2235+# CONFIGNAME is the name given to the value in the libtool script.
2236+# VARNAME is the (base) name used in the configure script.
2237+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2238+# VARNAME. Any other value will be used directly.
2239+m4_define([_LT_DECL],
2240+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
2241+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
2242+ [m4_ifval([$1], [$1], [$2])])
2243+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
2244+ m4_ifval([$4],
2245+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
2246+ lt_dict_add_subkey([lt_decl_dict], [$2],
2247+ [tagged?], [m4_ifval([$5], [yes], [no])])])
2248+])
2249+
2250+
2251+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2252+# --------------------------------------------------------
2253+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
2254+
2255+
2256+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2257+# ------------------------------------------------
2258+m4_define([lt_decl_tag_varnames],
2259+[_lt_decl_filter([tagged?], [yes], $@)])
2260+
2261+
2262+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2263+# ---------------------------------------------------------
2264+m4_define([_lt_decl_filter],
2265+[m4_case([$#],
2266+ [0], [m4_fatal([$0: too few arguments: $#])],
2267+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
2268+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
2269+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
2270+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
2271+])
2272+
2273+
2274+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2275+# --------------------------------------------------
2276+m4_define([lt_decl_quote_varnames],
2277+[_lt_decl_filter([value], [1], $@)])
2278+
2279+
2280+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2281+# ---------------------------------------------------
2282+m4_define([lt_decl_dquote_varnames],
2283+[_lt_decl_filter([value], [2], $@)])
2284+
2285+
2286+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2287+# ---------------------------------------------------
2288+m4_define([lt_decl_varnames_tagged],
2289+[m4_assert([$# <= 2])dnl
2290+_$0(m4_quote(m4_default([$1], [[, ]])),
2291+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
2292+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
2293+m4_define([_lt_decl_varnames_tagged],
2294+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
2295+
2296+
2297+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2298+# ------------------------------------------------
2299+m4_define([lt_decl_all_varnames],
2300+[_$0(m4_quote(m4_default([$1], [[, ]])),
2301+ m4_if([$2], [],
2302+ m4_quote(lt_decl_varnames),
2303+ m4_quote(m4_shift($@))))[]dnl
2304+])
2305+m4_define([_lt_decl_all_varnames],
2306+[lt_join($@, lt_decl_varnames_tagged([$1],
2307+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
2308+])
2309+
2310+
2311+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
2312+# ------------------------------------
2313+# Quote a variable value, and forward it to `config.status' so that its
2314+# declaration there will have the same value as in `configure'. VARNAME
2315+# must have a single quote delimited value for this to work.
2316+m4_define([_LT_CONFIG_STATUS_DECLARE],
2317+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
2318+
2319+
2320+# _LT_CONFIG_STATUS_DECLARATIONS
2321+# ------------------------------
2322+# We delimit libtool config variables with single quotes, so when
2323+# we write them to config.status, we have to be sure to quote all
2324+# embedded single quotes properly. In configure, this macro expands
2325+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2326+#
2327+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2328+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
2329+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
2330+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
2331+
2332+
2333+# _LT_LIBTOOL_TAGS
2334+# ----------------
2335+# Output comment and list of tags supported by the script
2336+m4_defun([_LT_LIBTOOL_TAGS],
2337+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
2338+available_tags="_LT_TAGS"dnl
2339+])
2340+
2341+
2342+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2343+# -----------------------------------
2344+# Extract the dictionary values for VARNAME (optionally with TAG) and
2345+# expand to a commented shell variable setting:
2346+#
2347+# # Some comment about what VAR is for.
2348+# visible_name=$lt_internal_name
2349+m4_define([_LT_LIBTOOL_DECLARE],
2350+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
2351+ [description])))[]dnl
2352+m4_pushdef([_libtool_name],
2353+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
2354+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
2355+ [0], [_libtool_name=[$]$1],
2356+ [1], [_libtool_name=$lt_[]$1],
2357+ [2], [_libtool_name=$lt_[]$1],
2358+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
2359+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
2360+])
2361+
2362+
2363+# _LT_LIBTOOL_CONFIG_VARS
2364+# -----------------------
2365+# Produce commented declarations of non-tagged libtool config variables
2366+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2367+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2368+# section) are produced by _LT_LIBTOOL_TAG_VARS.
2369+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
2370+[m4_foreach([_lt_var],
2371+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
2372+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
2373+
2374+
2375+# _LT_LIBTOOL_TAG_VARS(TAG)
2376+# -------------------------
2377+m4_define([_LT_LIBTOOL_TAG_VARS],
2378+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
2379+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
2380+
2381+
2382+# _LT_TAGVAR(VARNAME, [TAGNAME])
2383+# ------------------------------
2384+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
2385+
2386+
2387+# _LT_CONFIG_COMMANDS
2388+# -------------------
2389+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2390+# variables for single and double quote escaping we saved from calls
2391+# to _LT_DECL, we can put quote escaped variables declarations
2392+# into `config.status', and then the shell code to quote escape them in
2393+# for loops in `config.status'. Finally, any additional code accumulated
2394+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2395+m4_defun([_LT_CONFIG_COMMANDS],
2396+[AC_PROVIDE_IFELSE([LT_OUTPUT],
2397+ dnl If the libtool generation code has been placed in $CONFIG_LT,
2398+ dnl instead of duplicating it all over again into config.status,
2399+ dnl then we will have config.status run $CONFIG_LT later, so it
2400+ dnl needs to know what name is stored there:
2401+ [AC_CONFIG_COMMANDS([libtool],
2402+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
2403+ dnl If the libtool generation code is destined for config.status,
2404+ dnl expand the accumulated commands and init code now:
2405+ [AC_CONFIG_COMMANDS([libtool],
2406+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
2407+])#_LT_CONFIG_COMMANDS
2408+
2409+
2410+# Initialize.
2411+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
2412+[
2413+
2414+# The HP-UX ksh and POSIX shell print the target directory to stdout
2415+# if CDPATH is set.
2416+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2417+
2418+sed_quote_subst='$sed_quote_subst'
2419+double_quote_subst='$double_quote_subst'
2420+delay_variable_subst='$delay_variable_subst'
2421+_LT_CONFIG_STATUS_DECLARATIONS
2422+LTCC='$LTCC'
2423+LTCFLAGS='$LTCFLAGS'
2424+compiler='$compiler_DEFAULT'
2425+
2426+# A function that is used when there is no print builtin or printf.
2427+func_fallback_echo ()
2428+{
2429+ eval 'cat <<_LTECHO_EOF
2430+\$[]1
2431+_LTECHO_EOF'
2432+}
2433+
2434+# Quote evaled strings.
2435+for var in lt_decl_all_varnames([[ \
2436+]], lt_decl_quote_varnames); do
2437+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
2438+ *[[\\\\\\\`\\"\\\$]]*)
2439+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
2440+ ;;
2441+ *)
2442+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2443+ ;;
2444+ esac
2445+done
2446+
2447+# Double-quote double-evaled strings.
2448+for var in lt_decl_all_varnames([[ \
2449+]], lt_decl_dquote_varnames); do
2450+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
2451+ *[[\\\\\\\`\\"\\\$]]*)
2452+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
2453+ ;;
2454+ *)
2455+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2456+ ;;
2457+ esac
2458+done
2459+
2460+_LT_OUTPUT_LIBTOOL_INIT
2461+])
2462+
2463+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2464+# ------------------------------------
2465+# Generate a child script FILE with all initialization necessary to
2466+# reuse the environment learned by the parent script, and make the
2467+# file executable. If COMMENT is supplied, it is inserted after the
2468+# `#!' sequence but before initialization text begins. After this
2469+# macro, additional text can be appended to FILE to form the body of
2470+# the child script. The macro ends with non-zero status if the
2471+# file could not be fully written (such as if the disk is full).
2472+m4_ifdef([AS_INIT_GENERATED],
2473+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
2474+[m4_defun([_LT_GENERATED_FILE_INIT],
2475+[m4_require([AS_PREPARE])]dnl
2476+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
2477+[lt_write_fail=0
2478+cat >$1 <<_ASEOF || lt_write_fail=1
2479+#! $SHELL
2480+# Generated by $as_me.
2481+$2
2482+SHELL=\${CONFIG_SHELL-$SHELL}
2483+export SHELL
2484+_ASEOF
2485+cat >>$1 <<\_ASEOF || lt_write_fail=1
2486+AS_SHELL_SANITIZE
2487+_AS_PREPARE
2488+exec AS_MESSAGE_FD>&1
2489+_ASEOF
2490+test $lt_write_fail = 0 && chmod +x $1[]dnl
2491+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
2492+
2493+# LT_OUTPUT
2494+# ---------
2495+# This macro allows early generation of the libtool script (before
2496+# AC_OUTPUT is called), incase it is used in configure for compilation
2497+# tests.
2498+AC_DEFUN([LT_OUTPUT],
2499+[: ${CONFIG_LT=./config.lt}
2500+AC_MSG_NOTICE([creating $CONFIG_LT])
2501+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
2502+[# Run this file to recreate a libtool stub with the current configuration.])
2503+
2504+cat >>"$CONFIG_LT" <<\_LTEOF
2505+lt_cl_silent=false
2506+exec AS_MESSAGE_LOG_FD>>config.log
2507+{
2508+ echo
2509+ AS_BOX([Running $as_me.])
2510+} >&AS_MESSAGE_LOG_FD
2511+
2512+lt_cl_help="\
2513+\`$as_me' creates a local libtool stub from the current configuration,
2514+for use in further configure time tests before the real libtool is
2515+generated.
2516+
2517+Usage: $[0] [[OPTIONS]]
2518+
2519+ -h, --help print this help, then exit
2520+ -V, --version print version number, then exit
2521+ -q, --quiet do not print progress messages
2522+ -d, --debug don't remove temporary files
2523+
2524+Report bugs to <bug-libtool@gnu.org>."
2525+
2526+lt_cl_version="\
2527+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
2528+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2529+configured by $[0], generated by m4_PACKAGE_STRING.
2530+
2531+Copyright (C) 2011 Free Software Foundation, Inc.
2532+This config.lt script is free software; the Free Software Foundation
2533+gives unlimited permision to copy, distribute and modify it."
2534+
2535+while test $[#] != 0
2536+do
2537+ case $[1] in
2538+ --version | --v* | -V )
2539+ echo "$lt_cl_version"; exit 0 ;;
2540+ --help | --h* | -h )
2541+ echo "$lt_cl_help"; exit 0 ;;
2542+ --debug | --d* | -d )
2543+ debug=: ;;
2544+ --quiet | --q* | --silent | --s* | -q )
2545+ lt_cl_silent=: ;;
2546+
2547+ -*) AC_MSG_ERROR([unrecognized option: $[1]
2548+Try \`$[0] --help' for more information.]) ;;
2549+
2550+ *) AC_MSG_ERROR([unrecognized argument: $[1]
2551+Try \`$[0] --help' for more information.]) ;;
2552+ esac
2553+ shift
2554+done
2555+
2556+if $lt_cl_silent; then
2557+ exec AS_MESSAGE_FD>/dev/null
2558+fi
2559+_LTEOF
2560+
2561+cat >>"$CONFIG_LT" <<_LTEOF
2562+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
2563+_LTEOF
2564+
2565+cat >>"$CONFIG_LT" <<\_LTEOF
2566+AC_MSG_NOTICE([creating $ofile])
2567+_LT_OUTPUT_LIBTOOL_COMMANDS
2568+AS_EXIT(0)
2569+_LTEOF
2570+chmod +x "$CONFIG_LT"
2571+
2572+# configure is writing to config.log, but config.lt does its own redirection,
2573+# appending to config.log, which fails on DOS, as config.log is still kept
2574+# open by configure. Here we exec the FD to /dev/null, effectively closing
2575+# config.log, so it can be properly (re)opened and appended to by config.lt.
2576+lt_cl_success=:
2577+test "$silent" = yes &&
2578+ lt_config_lt_args="$lt_config_lt_args --quiet"
2579+exec AS_MESSAGE_LOG_FD>/dev/null
2580+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2581+exec AS_MESSAGE_LOG_FD>>config.log
2582+$lt_cl_success || AS_EXIT(1)
2583+])# LT_OUTPUT
2584+
2585+
2586+# _LT_CONFIG(TAG)
2587+# ---------------
2588+# If TAG is the built-in tag, create an initial libtool script with a
2589+# default configuration from the untagged config vars. Otherwise add code
2590+# to config.status for appending the configuration named by TAG from the
2591+# matching tagged config vars.
2592+m4_defun([_LT_CONFIG],
2593+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2594+_LT_CONFIG_SAVE_COMMANDS([
2595+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
2596+ m4_if(_LT_TAG, [C], [
2597+ # See if we are running on zsh, and set the options which allow our
2598+ # commands through without removal of \ escapes.
2599+ if test -n "${ZSH_VERSION+set}" ; then
2600+ setopt NO_GLOB_SUBST
2601+ fi
2602+
2603+ cfgfile="${ofile}T"
2604+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
2605+ $RM "$cfgfile"
2606+
2607+ cat <<_LT_EOF >> "$cfgfile"
2608+#! $SHELL
2609+
2610+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
2611+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
2612+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2613+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
2614+#
2615+_LT_COPYING
2616+_LT_LIBTOOL_TAGS
2617+
2618+# ### BEGIN LIBTOOL CONFIG
2619+_LT_LIBTOOL_CONFIG_VARS
2620+_LT_LIBTOOL_TAG_VARS
2621+# ### END LIBTOOL CONFIG
2622+
2623+_LT_EOF
2624+
2625+ case $host_os in
2626+ aix3*)
2627+ cat <<\_LT_EOF >> "$cfgfile"
2628+# AIX sometimes has problems with the GCC collect2 program. For some
2629+# reason, if we set the COLLECT_NAMES environment variable, the problems
2630+# vanish in a puff of smoke.
2631+if test "X${COLLECT_NAMES+set}" != Xset; then
2632+ COLLECT_NAMES=
2633+ export COLLECT_NAMES
2634+fi
2635+_LT_EOF
2636+ ;;
2637+ esac
2638+
2639+ _LT_PROG_LTMAIN
2640+
2641+ # We use sed instead of cat because bash on DJGPP gets confused if
2642+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
2643+ # text mode, it properly converts lines to CR/LF. This bash problem
2644+ # is reportedly fixed, but why not run on old versions too?
2645+ sed '$q' "$ltmain" >> "$cfgfile" \
2646+ || (rm -f "$cfgfile"; exit 1)
2647+
2648+ _LT_PROG_REPLACE_SHELLFNS
2649+
2650+ mv -f "$cfgfile" "$ofile" ||
2651+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2652+ chmod +x "$ofile"
2653+],
2654+[cat <<_LT_EOF >> "$ofile"
2655+
2656+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
2657+dnl in a comment (ie after a #).
2658+# ### BEGIN LIBTOOL TAG CONFIG: $1
2659+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
2660+# ### END LIBTOOL TAG CONFIG: $1
2661+_LT_EOF
2662+])dnl /m4_if
2663+],
2664+[m4_if([$1], [], [
2665+ PACKAGE='$PACKAGE'
2666+ VERSION='$VERSION'
2667+ TIMESTAMP='$TIMESTAMP'
2668+ RM='$RM'
2669+ ofile='$ofile'], [])
2670+])dnl /_LT_CONFIG_SAVE_COMMANDS
2671+])# _LT_CONFIG
2672+
2673+
2674+# LT_SUPPORTED_TAG(TAG)
2675+# ---------------------
2676+# Trace this macro to discover what tags are supported by the libtool
2677+# --tag option, using:
2678+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
2679+AC_DEFUN([LT_SUPPORTED_TAG], [])
2680+
2681+
2682+# C support is built-in for now
2683+m4_define([_LT_LANG_C_enabled], [])
2684+m4_define([_LT_TAGS], [])
2685+
2686+
2687+# LT_LANG(LANG)
2688+# -------------
2689+# Enable libtool support for the given language if not already enabled.
2690+AC_DEFUN([LT_LANG],
2691+[AC_BEFORE([$0], [LT_OUTPUT])dnl
2692+m4_case([$1],
2693+ [C], [_LT_LANG(C)],
2694+ [C++], [_LT_LANG(CXX)],
2695+ [Go], [_LT_LANG(GO)],
2696+ [Java], [_LT_LANG(GCJ)],
2697+ [Fortran 77], [_LT_LANG(F77)],
2698+ [Fortran], [_LT_LANG(FC)],
2699+ [Windows Resource], [_LT_LANG(RC)],
2700+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
2701+ [_LT_LANG($1)],
2702+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
2703+])# LT_LANG
2704+
2705+
2706+# _LT_LANG(LANGNAME)
2707+# ------------------
2708+m4_defun([_LT_LANG],
2709+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
2710+ [LT_SUPPORTED_TAG([$1])dnl
2711+ m4_append([_LT_TAGS], [$1 ])dnl
2712+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
2713+ _LT_LANG_$1_CONFIG($1)])dnl
2714+])# _LT_LANG
2715+
2716+
2717+m4_ifndef([AC_PROG_GO], [
2718+# NOTE: This macro has been submitted for inclusion into #
2719+# GNU Autoconf as AC_PROG_GO. When it is available in #
2720+# a released version of Autoconf we should remove this #
2721+# macro and use it instead. #
2722+m4_defun([AC_PROG_GO],
2723+[AC_LANG_PUSH(Go)dnl
2724+AC_ARG_VAR([GOC], [Go compiler command])dnl
2725+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
2726+_AC_ARG_VAR_LDFLAGS()dnl
2727+AC_CHECK_TOOL(GOC, gccgo)
2728+if test -z "$GOC"; then
2729+ if test -n "$ac_tool_prefix"; then
2730+ AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
2731+ fi
2732+fi
2733+if test -z "$GOC"; then
2734+ AC_CHECK_PROG(GOC, gccgo, gccgo, false)
2735+fi
2736+])#m4_defun
2737+])#m4_ifndef
2738+
2739+
2740+# _LT_LANG_DEFAULT_CONFIG
2741+# -----------------------
2742+m4_defun([_LT_LANG_DEFAULT_CONFIG],
2743+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
2744+ [LT_LANG(CXX)],
2745+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
2746+
2747+AC_PROVIDE_IFELSE([AC_PROG_F77],
2748+ [LT_LANG(F77)],
2749+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
2750+
2751+AC_PROVIDE_IFELSE([AC_PROG_FC],
2752+ [LT_LANG(FC)],
2753+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
2754+
2755+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
2756+dnl pulling things in needlessly.
2757+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2758+ [LT_LANG(GCJ)],
2759+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2760+ [LT_LANG(GCJ)],
2761+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
2762+ [LT_LANG(GCJ)],
2763+ [m4_ifdef([AC_PROG_GCJ],
2764+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
2765+ m4_ifdef([A][M_PROG_GCJ],
2766+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
2767+ m4_ifdef([LT_PROG_GCJ],
2768+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
2769+
2770+AC_PROVIDE_IFELSE([AC_PROG_GO],
2771+ [LT_LANG(GO)],
2772+ [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
2773+
2774+AC_PROVIDE_IFELSE([LT_PROG_RC],
2775+ [LT_LANG(RC)],
2776+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
2777+])# _LT_LANG_DEFAULT_CONFIG
2778+
2779+# Obsolete macros:
2780+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2781+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2782+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2783+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2784+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
2785+dnl aclocal-1.4 backwards compatibility:
2786+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
2787+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
2788+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
2789+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
2790+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
2791+
2792+
2793+# _LT_TAG_COMPILER
2794+# ----------------
2795+m4_defun([_LT_TAG_COMPILER],
2796+[AC_REQUIRE([AC_PROG_CC])dnl
2797+
2798+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
2799+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
2800+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
2801+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
2802+
2803+# If no C compiler was specified, use CC.
2804+LTCC=${LTCC-"$CC"}
2805+
2806+# If no C compiler flags were specified, use CFLAGS.
2807+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2808+
2809+# Allow CC to be a program name with arguments.
2810+compiler=$CC
2811+])# _LT_TAG_COMPILER
2812+
2813+
2814+# _LT_COMPILER_BOILERPLATE
2815+# ------------------------
2816+# Check for compiler boilerplate output or warnings with
2817+# the simple compiler test code.
2818+m4_defun([_LT_COMPILER_BOILERPLATE],
2819+[m4_require([_LT_DECL_SED])dnl
2820+ac_outfile=conftest.$ac_objext
2821+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2822+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2823+_lt_compiler_boilerplate=`cat conftest.err`
2824+$RM conftest*
2825+])# _LT_COMPILER_BOILERPLATE
2826+
2827+
2828+# _LT_LINKER_BOILERPLATE
2829+# ----------------------
2830+# Check for linker boilerplate output or warnings with
2831+# the simple link test code.
2832+m4_defun([_LT_LINKER_BOILERPLATE],
2833+[m4_require([_LT_DECL_SED])dnl
2834+ac_outfile=conftest.$ac_objext
2835+echo "$lt_simple_link_test_code" >conftest.$ac_ext
2836+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2837+_lt_linker_boilerplate=`cat conftest.err`
2838+$RM -r conftest*
2839+])# _LT_LINKER_BOILERPLATE
2840+
2841+# _LT_REQUIRED_DARWIN_CHECKS
2842+# -------------------------
2843+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
2844+ case $host_os in
2845+ rhapsody* | darwin*)
2846+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
2847+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
2848+ AC_CHECK_TOOL([LIPO], [lipo], [:])
2849+ AC_CHECK_TOOL([OTOOL], [otool], [:])
2850+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
2851+ _LT_DECL([], [DSYMUTIL], [1],
2852+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
2853+ _LT_DECL([], [NMEDIT], [1],
2854+ [Tool to change global to local symbols on Mac OS X])
2855+ _LT_DECL([], [LIPO], [1],
2856+ [Tool to manipulate fat objects and archives on Mac OS X])
2857+ _LT_DECL([], [OTOOL], [1],
2858+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
2859+ _LT_DECL([], [OTOOL64], [1],
2860+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
2861+
2862+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
2863+ [lt_cv_apple_cc_single_mod=no
2864+ if test -z "${LT_MULTI_MODULE}"; then
2865+ # By default we will add the -single_module flag. You can override
2866+ # by either setting the environment variable LT_MULTI_MODULE
2867+ # non-empty at configure time, or by adding -multi_module to the
2868+ # link flags.
2869+ rm -rf libconftest.dylib*
2870+ echo "int foo(void){return 1;}" > conftest.c
2871+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2872+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
2873+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2874+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
2875+ _lt_result=$?
2876+ # If there is a non-empty error log, and "single_module"
2877+ # appears in it, assume the flag caused a linker warning
2878+ if test -s conftest.err && $GREP single_module conftest.err; then
2879+ cat conftest.err >&AS_MESSAGE_LOG_FD
2880+ # Otherwise, if the output was created with a 0 exit code from
2881+ # the compiler, it worked.
2882+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then
2883+ lt_cv_apple_cc_single_mod=yes
2884+ else
2885+ cat conftest.err >&AS_MESSAGE_LOG_FD
2886+ fi
2887+ rm -rf libconftest.dylib*
2888+ rm -f conftest.*
2889+ fi])
2890+
2891+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2892+ [lt_cv_ld_exported_symbols_list],
2893+ [lt_cv_ld_exported_symbols_list=no
2894+ save_LDFLAGS=$LDFLAGS
2895+ echo "_main" > conftest.sym
2896+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
2897+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2898+ [lt_cv_ld_exported_symbols_list=yes],
2899+ [lt_cv_ld_exported_symbols_list=no])
2900+ LDFLAGS="$save_LDFLAGS"
2901+ ])
2902+
2903+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
2904+ [lt_cv_ld_force_load=no
2905+ cat > conftest.c << _LT_EOF
2906+int forced_loaded() { return 2;}
2907+_LT_EOF
2908+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
2909+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
2910+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
2911+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
2912+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
2913+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
2914+ cat > conftest.c << _LT_EOF
2915+int main() { return 0;}
2916+_LT_EOF
2917+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
2918+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
2919+ _lt_result=$?
2920+ if test -s conftest.err && $GREP force_load conftest.err; then
2921+ cat conftest.err >&AS_MESSAGE_LOG_FD
2922+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
2923+ lt_cv_ld_force_load=yes
2924+ else
2925+ cat conftest.err >&AS_MESSAGE_LOG_FD
2926+ fi
2927+ rm -f conftest.err libconftest.a conftest conftest.c
2928+ rm -rf conftest.dSYM
2929+ ])
2930+ case $host_os in
2931+ rhapsody* | darwin1.[[012]])
2932+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
2933+ darwin1.*)
2934+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2935+ darwin*) # darwin 5.x on
2936+ # if running on 10.5 or later, the deployment target defaults
2937+ # to the OS version, if on x86, and 10.4, the deployment
2938+ # target defaults to 10.4. Don't you love it?
2939+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
2940+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
2941+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2942+ 10.[[012]]*)
2943+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2944+ 10.*)
2945+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2946+ esac
2947+ ;;
2948+ esac
2949+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
2950+ _lt_dar_single_mod='$single_module'
2951+ fi
2952+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
2953+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
2954+ else
2955+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
2956+ fi
2957+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
2958+ _lt_dsymutil='~$DSYMUTIL $lib || :'
2959+ else
2960+ _lt_dsymutil=
2961+ fi
2962+ ;;
2963+ esac
2964+])
2965+
2966+
2967+# _LT_DARWIN_LINKER_FEATURES([TAG])
2968+# ---------------------------------
2969+# Checks for linker and compiler features on darwin
2970+m4_defun([_LT_DARWIN_LINKER_FEATURES],
2971+[
2972+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
2973+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
2974+ _LT_TAGVAR(hardcode_direct, $1)=no
2975+ _LT_TAGVAR(hardcode_automatic, $1)=yes
2976+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2977+ if test "$lt_cv_ld_force_load" = "yes"; then
2978+ _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\"`'
2979+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
2980+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
2981+ else
2982+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2983+ fi
2984+ _LT_TAGVAR(link_all_deplibs, $1)=yes
2985+ _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
2986+ case $cc_basename in
2987+ ifort*) _lt_dar_can_shared=yes ;;
2988+ *) _lt_dar_can_shared=$GCC ;;
2989+ esac
2990+ if test "$_lt_dar_can_shared" = "yes"; then
2991+ output_verbose_link_cmd=func_echo_all
2992+ _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}"
2993+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2994+ _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}"
2995+ _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}"
2996+ m4_if([$1], [CXX],
2997+[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
2998+ _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}"
2999+ _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}"
3000+ fi
3001+],[])
3002+ else
3003+ _LT_TAGVAR(ld_shlibs, $1)=no
3004+ fi
3005+])
3006+
3007+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
3008+# ----------------------------------
3009+# Links a minimal program and checks the executable
3010+# for the system default hardcoded library path. In most cases,
3011+# this is /usr/lib:/lib, but when the MPI compilers are used
3012+# the location of the communication and MPI libs are included too.
3013+# If we don't find anything, use the default library path according
3014+# to the aix ld manual.
3015+# Store the results from the different compilers for each TAGNAME.
3016+# Allow to override them for all tags through lt_cv_aix_libpath.
3017+m4_defun([_LT_SYS_MODULE_PATH_AIX],
3018+[m4_require([_LT_DECL_SED])dnl
3019+if test "${lt_cv_aix_libpath+set}" = set; then
3020+ aix_libpath=$lt_cv_aix_libpath
3021+else
3022+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
3023+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
3024+ lt_aix_libpath_sed='[
3025+ /Import File Strings/,/^$/ {
3026+ /^0/ {
3027+ s/^0 *\([^ ]*\) *$/\1/
3028+ p
3029+ }
3030+ }]'
3031+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3032+ # Check for a 64-bit object if we didn't find anything.
3033+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
3034+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3035+ fi],[])
3036+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
3037+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
3038+ fi
3039+ ])
3040+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
3041+fi
3042+])# _LT_SYS_MODULE_PATH_AIX
3043+
3044+
3045+# _LT_SHELL_INIT(ARG)
3046+# -------------------
3047+m4_define([_LT_SHELL_INIT],
3048+[m4_divert_text([M4SH-INIT], [$1
3049+])])# _LT_SHELL_INIT
3050+
3051+
3052+
3053+# _LT_PROG_ECHO_BACKSLASH
3054+# -----------------------
3055+# Find how we can fake an echo command that does not interpret backslash.
3056+# In particular, with Autoconf 2.60 or later we add some code to the start
3057+# of the generated configure script which will find a shell with a builtin
3058+# printf (which we can use as an echo command).
3059+m4_defun([_LT_PROG_ECHO_BACKSLASH],
3060+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3061+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3062+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3063+
3064+AC_MSG_CHECKING([how to print strings])
3065+# Test print first, because it will be a builtin if present.
3066+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3067+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3068+ ECHO='print -r --'
3069+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3070+ ECHO='printf %s\n'
3071+else
3072+ # Use this function as a fallback that always works.
3073+ func_fallback_echo ()
3074+ {
3075+ eval 'cat <<_LTECHO_EOF
3076+$[]1
3077+_LTECHO_EOF'
3078+ }
3079+ ECHO='func_fallback_echo'
3080+fi
3081+
3082+# func_echo_all arg...
3083+# Invoke $ECHO with all args, space-separated.
3084+func_echo_all ()
3085+{
3086+ $ECHO "$*"
3087+}
3088+
3089+case "$ECHO" in
3090+ printf*) AC_MSG_RESULT([printf]) ;;
3091+ print*) AC_MSG_RESULT([print -r]) ;;
3092+ *) AC_MSG_RESULT([cat]) ;;
3093+esac
3094+
3095+m4_ifdef([_AS_DETECT_SUGGESTED],
3096+[_AS_DETECT_SUGGESTED([
3097+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
3098+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3099+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3100+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3101+ PATH=/empty FPATH=/empty; export PATH FPATH
3102+ test "X`printf %s $ECHO`" = "X$ECHO" \
3103+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
3104+
3105+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
3106+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
3107+])# _LT_PROG_ECHO_BACKSLASH
3108+
3109+
3110+# _LT_WITH_SYSROOT
3111+# ----------------
3112+AC_DEFUN([_LT_WITH_SYSROOT],
3113+[AC_MSG_CHECKING([for sysroot])
3114+AC_ARG_WITH([sysroot],
3115+[ --with-sysroot[=DIR] Search for dependent libraries within DIR
3116+ (or the compiler's sysroot if not specified).],
3117+[], [with_sysroot=no])
3118+
3119+dnl lt_sysroot will always be passed unquoted. We quote it here
3120+dnl in case the user passed a directory name.
3121+lt_sysroot=
3122+case ${with_sysroot} in #(
3123+ yes)
3124+ if test "$GCC" = yes; then
3125+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
3126+ fi
3127+ ;; #(
3128+ /*)
3129+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
3130+ ;; #(
3131+ no|'')
3132+ ;; #(
3133+ *)
3134+ AC_MSG_RESULT([${with_sysroot}])
3135+ AC_MSG_ERROR([The sysroot must be an absolute path.])
3136+ ;;
3137+esac
3138+
3139+ AC_MSG_RESULT([${lt_sysroot:-no}])
3140+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
3141+[dependent libraries, and in which our libraries should be installed.])])
3142+
3143+# _LT_ENABLE_LOCK
3144+# ---------------
3145+m4_defun([_LT_ENABLE_LOCK],
3146+[AC_ARG_ENABLE([libtool-lock],
3147+ [AS_HELP_STRING([--disable-libtool-lock],
3148+ [avoid locking (might break parallel builds)])])
3149+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3150+
3151+# Some flags need to be propagated to the compiler or linker for good
3152+# libtool support.
3153+case $host in
3154+ia64-*-hpux*)
3155+ # Find out which ABI we are using.
3156+ echo 'int i;' > conftest.$ac_ext
3157+ if AC_TRY_EVAL(ac_compile); then
3158+ case `/usr/bin/file conftest.$ac_objext` in
3159+ *ELF-32*)
3160+ HPUX_IA64_MODE="32"
3161+ ;;
3162+ *ELF-64*)
3163+ HPUX_IA64_MODE="64"
3164+ ;;
3165+ esac
3166+ fi
3167+ rm -rf conftest*
3168+ ;;
3169+*-*-irix6*)
3170+ # Find out which ABI we are using.
3171+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
3172+ if AC_TRY_EVAL(ac_compile); then
3173+ if test "$lt_cv_prog_gnu_ld" = yes; then
3174+ case `/usr/bin/file conftest.$ac_objext` in
3175+ *32-bit*)
3176+ LD="${LD-ld} -melf32bsmip"
3177+ ;;
3178+ *N32*)
3179+ LD="${LD-ld} -melf32bmipn32"
3180+ ;;
3181+ *64-bit*)
3182+ LD="${LD-ld} -melf64bmip"
3183+ ;;
3184+ esac
3185+ else
3186+ case `/usr/bin/file conftest.$ac_objext` in
3187+ *32-bit*)
3188+ LD="${LD-ld} -32"
3189+ ;;
3190+ *N32*)
3191+ LD="${LD-ld} -n32"
3192+ ;;
3193+ *64-bit*)
3194+ LD="${LD-ld} -64"
3195+ ;;
3196+ esac
3197+ fi
3198+ fi
3199+ rm -rf conftest*
3200+ ;;
3201+
3202+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
3203+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
3204+ # Find out which ABI we are using.
3205+ echo 'int i;' > conftest.$ac_ext
3206+ if AC_TRY_EVAL(ac_compile); then
3207+ case `/usr/bin/file conftest.o` in
3208+ *32-bit*)
3209+ case $host in
3210+ x86_64-*kfreebsd*-gnu)
3211+ LD="${LD-ld} -m elf_i386_fbsd"
3212+ ;;
3213+ x86_64-*linux*)
3214+ LD="${LD-ld} -m elf_i386"
3215+ ;;
3216+ ppc64-*linux*|powerpc64-*linux*)
3217+ LD="${LD-ld} -m elf32ppclinux"
3218+ ;;
3219+ s390x-*linux*)
3220+ LD="${LD-ld} -m elf_s390"
3221+ ;;
3222+ sparc64-*linux*)
3223+ LD="${LD-ld} -m elf32_sparc"
3224+ ;;
3225+ esac
3226+ ;;
3227+ *64-bit*)
3228+ case $host in
3229+ x86_64-*kfreebsd*-gnu)
3230+ LD="${LD-ld} -m elf_x86_64_fbsd"
3231+ ;;
3232+ x86_64-*linux*)
3233+ LD="${LD-ld} -m elf_x86_64"
3234+ ;;
3235+ ppc*-*linux*|powerpc*-*linux*)
3236+ LD="${LD-ld} -m elf64ppc"
3237+ ;;
3238+ s390*-*linux*|s390*-*tpf*)
3239+ LD="${LD-ld} -m elf64_s390"
3240+ ;;
3241+ sparc*-*linux*)
3242+ LD="${LD-ld} -m elf64_sparc"
3243+ ;;
3244+ esac
3245+ ;;
3246+ esac
3247+ fi
3248+ rm -rf conftest*
3249+ ;;
3250+
3251+*-*-sco3.2v5*)
3252+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3253+ SAVE_CFLAGS="$CFLAGS"
3254+ CFLAGS="$CFLAGS -belf"
3255+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3256+ [AC_LANG_PUSH(C)
3257+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3258+ AC_LANG_POP])
3259+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3260+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3261+ CFLAGS="$SAVE_CFLAGS"
3262+ fi
3263+ ;;
3264+*-*solaris*)
3265+ # Find out which ABI we are using.
3266+ echo 'int i;' > conftest.$ac_ext
3267+ if AC_TRY_EVAL(ac_compile); then
3268+ case `/usr/bin/file conftest.o` in
3269+ *64-bit*)
3270+ case $lt_cv_prog_gnu_ld in
3271+ yes*)
3272+ case $host in
3273+ i?86-*-solaris*)
3274+ LD="${LD-ld} -m elf_x86_64"
3275+ ;;
3276+ sparc*-*-solaris*)
3277+ LD="${LD-ld} -m elf64_sparc"
3278+ ;;
3279+ esac
3280+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
3281+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
3282+ LD="${LD-ld}_sol2"
3283+ fi
3284+ ;;
3285+ *)
3286+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3287+ LD="${LD-ld} -64"
3288+ fi
3289+ ;;
3290+ esac
3291+ ;;
3292+ esac
3293+ fi
3294+ rm -rf conftest*
3295+ ;;
3296+esac
3297+
3298+need_locks="$enable_libtool_lock"
3299+])# _LT_ENABLE_LOCK
3300+
3301+
3302+# _LT_PROG_AR
3303+# -----------
3304+m4_defun([_LT_PROG_AR],
3305+[AC_CHECK_TOOLS(AR, [ar], false)
3306+: ${AR=ar}
3307+: ${AR_FLAGS=cru}
3308+_LT_DECL([], [AR], [1], [The archiver])
3309+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
3310+
3311+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
3312+ [lt_cv_ar_at_file=no
3313+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
3314+ [echo conftest.$ac_objext > conftest.lst
3315+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
3316+ AC_TRY_EVAL([lt_ar_try])
3317+ if test "$ac_status" -eq 0; then
3318+ # Ensure the archiver fails upon bogus file names.
3319+ rm -f conftest.$ac_objext libconftest.a
3320+ AC_TRY_EVAL([lt_ar_try])
3321+ if test "$ac_status" -ne 0; then
3322+ lt_cv_ar_at_file=@
3323+ fi
3324+ fi
3325+ rm -f conftest.* libconftest.a
3326+ ])
3327+ ])
3328+
3329+if test "x$lt_cv_ar_at_file" = xno; then
3330+ archiver_list_spec=
3331+else
3332+ archiver_list_spec=$lt_cv_ar_at_file
3333+fi
3334+_LT_DECL([], [archiver_list_spec], [1],
3335+ [How to feed a file listing to the archiver])
3336+])# _LT_PROG_AR
3337+
3338+
3339+# _LT_CMD_OLD_ARCHIVE
3340+# -------------------
3341+m4_defun([_LT_CMD_OLD_ARCHIVE],
3342+[_LT_PROG_AR
3343+
3344+AC_CHECK_TOOL(STRIP, strip, :)
3345+test -z "$STRIP" && STRIP=:
3346+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
3347+
3348+AC_CHECK_TOOL(RANLIB, ranlib, :)
3349+test -z "$RANLIB" && RANLIB=:
3350+_LT_DECL([], [RANLIB], [1],
3351+ [Commands used to install an old-style archive])
3352+
3353+# Determine commands to create old-style static archives.
3354+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
3355+old_postinstall_cmds='chmod 644 $oldlib'
3356+old_postuninstall_cmds=
3357+
3358+if test -n "$RANLIB"; then
3359+ case $host_os in
3360+ openbsd*)
3361+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
3362+ ;;
3363+ *)
3364+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
3365+ ;;
3366+ esac
3367+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
3368+fi
3369+
3370+case $host_os in
3371+ darwin*)
3372+ lock_old_archive_extraction=yes ;;
3373+ *)
3374+ lock_old_archive_extraction=no ;;
3375+esac
3376+_LT_DECL([], [old_postinstall_cmds], [2])
3377+_LT_DECL([], [old_postuninstall_cmds], [2])
3378+_LT_TAGDECL([], [old_archive_cmds], [2],
3379+ [Commands used to build an old-style archive])
3380+_LT_DECL([], [lock_old_archive_extraction], [0],
3381+ [Whether to use a lock for old archive extraction])
3382+])# _LT_CMD_OLD_ARCHIVE
3383+
3384+
3385+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3386+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3387+# ----------------------------------------------------------------
3388+# Check whether the given compiler option works
3389+AC_DEFUN([_LT_COMPILER_OPTION],
3390+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3391+m4_require([_LT_DECL_SED])dnl
3392+AC_CACHE_CHECK([$1], [$2],
3393+ [$2=no
3394+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3395+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3396+ lt_compiler_flag="$3"
3397+ # Insert the option either (1) after the last *FLAGS variable, or
3398+ # (2) before a word containing "conftest.", or (3) at the end.
3399+ # Note that $ac_compile itself does not contain backslashes and begins
3400+ # with a dollar sign (not a hyphen), so the echo should work correctly.
3401+ # The option is referenced via a variable to avoid confusing sed.
3402+ lt_compile=`echo "$ac_compile" | $SED \
3403+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3404+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3405+ -e 's:$: $lt_compiler_flag:'`
3406+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3407+ (eval "$lt_compile" 2>conftest.err)
3408+ ac_status=$?
3409+ cat conftest.err >&AS_MESSAGE_LOG_FD
3410+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3411+ if (exit $ac_status) && test -s "$ac_outfile"; then
3412+ # The compiler can only warn and ignore the option if not recognized
3413+ # So say no if there are warnings other than the usual output.
3414+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
3415+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3416+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3417+ $2=yes
3418+ fi
3419+ fi
3420+ $RM conftest*
3421+])
3422+
3423+if test x"[$]$2" = xyes; then
3424+ m4_if([$5], , :, [$5])
3425+else
3426+ m4_if([$6], , :, [$6])
3427+fi
3428+])# _LT_COMPILER_OPTION
3429+
3430+# Old name:
3431+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
3432+dnl aclocal-1.4 backwards compatibility:
3433+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
3434+
3435+
3436+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3437+# [ACTION-SUCCESS], [ACTION-FAILURE])
3438+# ----------------------------------------------------
3439+# Check whether the given linker option works
3440+AC_DEFUN([_LT_LINKER_OPTION],
3441+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3442+m4_require([_LT_DECL_SED])dnl
3443+AC_CACHE_CHECK([$1], [$2],
3444+ [$2=no
3445+ save_LDFLAGS="$LDFLAGS"
3446+ LDFLAGS="$LDFLAGS $3"
3447+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
3448+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3449+ # The linker can only warn and ignore the option if not recognized
3450+ # So say no if there are warnings
3451+ if test -s conftest.err; then
3452+ # Append any errors to the config.log.
3453+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
3454+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
3455+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3456+ if diff conftest.exp conftest.er2 >/dev/null; then
3457+ $2=yes
3458+ fi
3459+ else
3460+ $2=yes
3461+ fi
3462+ fi
3463+ $RM -r conftest*
3464+ LDFLAGS="$save_LDFLAGS"
3465+])
3466+
3467+if test x"[$]$2" = xyes; then
3468+ m4_if([$4], , :, [$4])
3469+else
3470+ m4_if([$5], , :, [$5])
3471+fi
3472+])# _LT_LINKER_OPTION
3473+
3474+# Old name:
3475+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
3476+dnl aclocal-1.4 backwards compatibility:
3477+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
3478+
3479+
3480+# LT_CMD_MAX_LEN
3481+#---------------
3482+AC_DEFUN([LT_CMD_MAX_LEN],
3483+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3484+# find the maximum length of command line arguments
3485+AC_MSG_CHECKING([the maximum length of command line arguments])
3486+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3487+ i=0
3488+ teststring="ABCD"
3489+
3490+ case $build_os in
3491+ msdosdjgpp*)
3492+ # On DJGPP, this test can blow up pretty badly due to problems in libc
3493+ # (any single argument exceeding 2000 bytes causes a buffer overrun
3494+ # during glob expansion). Even if it were fixed, the result of this
3495+ # check would be larger than it should be.
3496+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
3497+ ;;
3498+
3499+ gnu*)
3500+ # Under GNU Hurd, this test is not required because there is
3501+ # no limit to the length of command line arguments.
3502+ # Libtool will interpret -1 as no limit whatsoever
3503+ lt_cv_sys_max_cmd_len=-1;
3504+ ;;
3505+
3506+ cygwin* | mingw* | cegcc*)
3507+ # On Win9x/ME, this test blows up -- it succeeds, but takes
3508+ # about 5 minutes as the teststring grows exponentially.
3509+ # Worse, since 9x/ME are not pre-emptively multitasking,
3510+ # you end up with a "frozen" computer, even though with patience
3511+ # the test eventually succeeds (with a max line length of 256k).
3512+ # Instead, let's just punt: use the minimum linelength reported by
3513+ # all of the supported platforms: 8192 (on NT/2K/XP).
3514+ lt_cv_sys_max_cmd_len=8192;
3515+ ;;
3516+
3517+ mint*)
3518+ # On MiNT this can take a long time and run out of memory.
3519+ lt_cv_sys_max_cmd_len=8192;
3520+ ;;
3521+
3522+ amigaos*)
3523+ # On AmigaOS with pdksh, this test takes hours, literally.
3524+ # So we just punt and use a minimum line length of 8192.
3525+ lt_cv_sys_max_cmd_len=8192;
3526+ ;;
3527+
3528+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3529+ # This has been around since 386BSD, at least. Likely further.
3530+ if test -x /sbin/sysctl; then
3531+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3532+ elif test -x /usr/sbin/sysctl; then
3533+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3534+ else
3535+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3536+ fi
3537+ # And add a safety zone
3538+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3539+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3540+ ;;
3541+
3542+ interix*)
3543+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
3544+ lt_cv_sys_max_cmd_len=196608
3545+ ;;
3546+
3547+ os2*)
3548+ # The test takes a long time on OS/2.
3549+ lt_cv_sys_max_cmd_len=8192
3550+ ;;
3551+
3552+ osf*)
3553+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3554+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3555+ # nice to cause kernel panics so lets avoid the loop below.
3556+ # First set a reasonable default.
3557+ lt_cv_sys_max_cmd_len=16384
3558+ #
3559+ if test -x /sbin/sysconfig; then
3560+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3561+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
3562+ esac
3563+ fi
3564+ ;;
3565+ sco3.2v5*)
3566+ lt_cv_sys_max_cmd_len=102400
3567+ ;;
3568+ sysv5* | sco5v6* | sysv4.2uw2*)
3569+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3570+ if test -n "$kargmax"; then
3571+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3572+ else
3573+ lt_cv_sys_max_cmd_len=32768
3574+ fi
3575+ ;;
3576+ *)
3577+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3578+ if test -n "$lt_cv_sys_max_cmd_len"; then
3579+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3580+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3581+ else
3582+ # Make teststring a little bigger before we do anything with it.
3583+ # a 1K string should be a reasonable start.
3584+ for i in 1 2 3 4 5 6 7 8 ; do
3585+ teststring=$teststring$teststring
3586+ done
3587+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3588+ # If test is not a shell built-in, we'll probably end up computing a
3589+ # maximum length that is only half of the actual maximum length, but
3590+ # we can't tell.
3591+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
3592+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3593+ test $i != 17 # 1/2 MB should be enough
3594+ do
3595+ i=`expr $i + 1`
3596+ teststring=$teststring$teststring
3597+ done
3598+ # Only check the string length outside the loop.
3599+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3600+ teststring=
3601+ # Add a significant safety factor because C++ compilers can tack on
3602+ # massive amounts of additional arguments before passing them to the
3603+ # linker. It appears as though 1/2 is a usable value.
3604+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3605+ fi
3606+ ;;
3607+ esac
3608+])
3609+if test -n $lt_cv_sys_max_cmd_len ; then
3610+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3611+else
3612+ AC_MSG_RESULT(none)
3613+fi
3614+max_cmd_len=$lt_cv_sys_max_cmd_len
3615+_LT_DECL([], [max_cmd_len], [0],
3616+ [What is the maximum length of a command?])
3617+])# LT_CMD_MAX_LEN
3618+
3619+# Old name:
3620+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
3621+dnl aclocal-1.4 backwards compatibility:
3622+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
3623+
3624+
3625+# _LT_HEADER_DLFCN
3626+# ----------------
3627+m4_defun([_LT_HEADER_DLFCN],
3628+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
3629+])# _LT_HEADER_DLFCN
3630+
3631+
3632+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3633+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3634+# ----------------------------------------------------------------
3635+m4_defun([_LT_TRY_DLOPEN_SELF],
3636+[m4_require([_LT_HEADER_DLFCN])dnl
3637+if test "$cross_compiling" = yes; then :
3638+ [$4]
3639+else
3640+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3641+ lt_status=$lt_dlunknown
3642+ cat > conftest.$ac_ext <<_LT_EOF
3643+[#line $LINENO "configure"
3644+#include "confdefs.h"
3645+
3646+#if HAVE_DLFCN_H
3647+#include <dlfcn.h>
3648+#endif
3649+
3650+#include <stdio.h>
3651+
3652+#ifdef RTLD_GLOBAL
3653+# define LT_DLGLOBAL RTLD_GLOBAL
3654+#else
3655+# ifdef DL_GLOBAL
3656+# define LT_DLGLOBAL DL_GLOBAL
3657+# else
3658+# define LT_DLGLOBAL 0
3659+# endif
3660+#endif
3661+
3662+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3663+ find out it does not work in some platform. */
3664+#ifndef LT_DLLAZY_OR_NOW
3665+# ifdef RTLD_LAZY
3666+# define LT_DLLAZY_OR_NOW RTLD_LAZY
3667+# else
3668+# ifdef DL_LAZY
3669+# define LT_DLLAZY_OR_NOW DL_LAZY
3670+# else
3671+# ifdef RTLD_NOW
3672+# define LT_DLLAZY_OR_NOW RTLD_NOW
3673+# else
3674+# ifdef DL_NOW
3675+# define LT_DLLAZY_OR_NOW DL_NOW
3676+# else
3677+# define LT_DLLAZY_OR_NOW 0
3678+# endif
3679+# endif
3680+# endif
3681+# endif
3682+#endif
3683+
3684+/* When -fvisbility=hidden is used, assume the code has been annotated
3685+ correspondingly for the symbols needed. */
3686+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
3687+int fnord () __attribute__((visibility("default")));
3688+#endif
3689+
3690+int fnord () { return 42; }
3691+int main ()
3692+{
3693+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3694+ int status = $lt_dlunknown;
3695+
3696+ if (self)
3697+ {
3698+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3699+ else
3700+ {
3701+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3702+ else puts (dlerror ());
3703+ }
3704+ /* dlclose (self); */
3705+ }
3706+ else
3707+ puts (dlerror ());
3708+
3709+ return status;
3710+}]
3711+_LT_EOF
3712+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3713+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3714+ lt_status=$?
3715+ case x$lt_status in
3716+ x$lt_dlno_uscore) $1 ;;
3717+ x$lt_dlneed_uscore) $2 ;;
3718+ x$lt_dlunknown|x*) $3 ;;
3719+ esac
3720+ else :
3721+ # compilation failed
3722+ $3
3723+ fi
3724+fi
3725+rm -fr conftest*
3726+])# _LT_TRY_DLOPEN_SELF
3727+
3728+
3729+# LT_SYS_DLOPEN_SELF
3730+# ------------------
3731+AC_DEFUN([LT_SYS_DLOPEN_SELF],
3732+[m4_require([_LT_HEADER_DLFCN])dnl
3733+if test "x$enable_dlopen" != xyes; then
3734+ enable_dlopen=unknown
3735+ enable_dlopen_self=unknown
3736+ enable_dlopen_self_static=unknown
3737+else
3738+ lt_cv_dlopen=no
3739+ lt_cv_dlopen_libs=
3740+
3741+ case $host_os in
3742+ beos*)
3743+ lt_cv_dlopen="load_add_on"
3744+ lt_cv_dlopen_libs=
3745+ lt_cv_dlopen_self=yes
3746+ ;;
3747+
3748+ mingw* | pw32* | cegcc*)
3749+ lt_cv_dlopen="LoadLibrary"
3750+ lt_cv_dlopen_libs=
3751+ ;;
3752+
3753+ cygwin*)
3754+ lt_cv_dlopen="dlopen"
3755+ lt_cv_dlopen_libs=
3756+ ;;
3757+
3758+ darwin*)
3759+ # if libdl is installed we need to link against it
3760+ AC_CHECK_LIB([dl], [dlopen],
3761+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3762+ lt_cv_dlopen="dyld"
3763+ lt_cv_dlopen_libs=
3764+ lt_cv_dlopen_self=yes
3765+ ])
3766+ ;;
3767+
3768+ *)
3769+ AC_CHECK_FUNC([shl_load],
3770+ [lt_cv_dlopen="shl_load"],
3771+ [AC_CHECK_LIB([dld], [shl_load],
3772+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
3773+ [AC_CHECK_FUNC([dlopen],
3774+ [lt_cv_dlopen="dlopen"],
3775+ [AC_CHECK_LIB([dl], [dlopen],
3776+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3777+ [AC_CHECK_LIB([svld], [dlopen],
3778+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3779+ [AC_CHECK_LIB([dld], [dld_link],
3780+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
3781+ ])
3782+ ])
3783+ ])
3784+ ])
3785+ ])
3786+ ;;
3787+ esac
3788+
3789+ if test "x$lt_cv_dlopen" != xno; then
3790+ enable_dlopen=yes
3791+ else
3792+ enable_dlopen=no
3793+ fi
3794+
3795+ case $lt_cv_dlopen in
3796+ dlopen)
3797+ save_CPPFLAGS="$CPPFLAGS"
3798+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3799+
3800+ save_LDFLAGS="$LDFLAGS"
3801+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3802+
3803+ save_LIBS="$LIBS"
3804+ LIBS="$lt_cv_dlopen_libs $LIBS"
3805+
3806+ AC_CACHE_CHECK([whether a program can dlopen itself],
3807+ lt_cv_dlopen_self, [dnl
3808+ _LT_TRY_DLOPEN_SELF(
3809+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3810+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3811+ ])
3812+
3813+ if test "x$lt_cv_dlopen_self" = xyes; then
3814+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3815+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3816+ lt_cv_dlopen_self_static, [dnl
3817+ _LT_TRY_DLOPEN_SELF(
3818+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3819+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3820+ ])
3821+ fi
3822+
3823+ CPPFLAGS="$save_CPPFLAGS"
3824+ LDFLAGS="$save_LDFLAGS"
3825+ LIBS="$save_LIBS"
3826+ ;;
3827+ esac
3828+
3829+ case $lt_cv_dlopen_self in
3830+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3831+ *) enable_dlopen_self=unknown ;;
3832+ esac
3833+
3834+ case $lt_cv_dlopen_self_static in
3835+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3836+ *) enable_dlopen_self_static=unknown ;;
3837+ esac
3838+fi
3839+_LT_DECL([dlopen_support], [enable_dlopen], [0],
3840+ [Whether dlopen is supported])
3841+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
3842+ [Whether dlopen of programs is supported])
3843+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
3844+ [Whether dlopen of statically linked programs is supported])
3845+])# LT_SYS_DLOPEN_SELF
3846+
3847+# Old name:
3848+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
3849+dnl aclocal-1.4 backwards compatibility:
3850+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
3851+
3852+
3853+# _LT_COMPILER_C_O([TAGNAME])
3854+# ---------------------------
3855+# Check to see if options -c and -o are simultaneously supported by compiler.
3856+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
3857+m4_defun([_LT_COMPILER_C_O],
3858+[m4_require([_LT_DECL_SED])dnl
3859+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3860+m4_require([_LT_TAG_COMPILER])dnl
3861+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3862+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3863+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
3864+ $RM -r conftest 2>/dev/null
3865+ mkdir conftest
3866+ cd conftest
3867+ mkdir out
3868+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3869+
3870+ lt_compiler_flag="-o out/conftest2.$ac_objext"
3871+ # Insert the option either (1) after the last *FLAGS variable, or
3872+ # (2) before a word containing "conftest.", or (3) at the end.
3873+ # Note that $ac_compile itself does not contain backslashes and begins
3874+ # with a dollar sign (not a hyphen), so the echo should work correctly.
3875+ lt_compile=`echo "$ac_compile" | $SED \
3876+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3877+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3878+ -e 's:$: $lt_compiler_flag:'`
3879+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3880+ (eval "$lt_compile" 2>out/conftest.err)
3881+ ac_status=$?
3882+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
3883+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3884+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
3885+ then
3886+ # The compiler can only warn and ignore the option if not recognized
3887+ # So say no if there are warnings
3888+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
3889+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
3890+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3891+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3892+ fi
3893+ fi
3894+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
3895+ $RM conftest*
3896+ # SGI C++ compiler will create directory out/ii_files/ for
3897+ # template instantiation
3898+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
3899+ $RM out/* && rmdir out
3900+ cd ..
3901+ $RM -r conftest
3902+ $RM conftest*
3903+])
3904+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
3905+ [Does compiler simultaneously support -c and -o options?])
3906+])# _LT_COMPILER_C_O
3907+
3908+
3909+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
3910+# ----------------------------------
3911+# Check to see if we can do hard links to lock some files if needed
3912+m4_defun([_LT_COMPILER_FILE_LOCKS],
3913+[m4_require([_LT_ENABLE_LOCK])dnl
3914+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3915+_LT_COMPILER_C_O([$1])
3916+
3917+hard_links="nottested"
3918+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
3919+ # do not overwrite the value of need_locks provided by the user
3920+ AC_MSG_CHECKING([if we can lock with hard links])
3921+ hard_links=yes
3922+ $RM conftest*
3923+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
3924+ touch conftest.a
3925+ ln conftest.a conftest.b 2>&5 || hard_links=no
3926+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
3927+ AC_MSG_RESULT([$hard_links])
3928+ if test "$hard_links" = no; then
3929+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
3930+ need_locks=warn
3931+ fi
3932+else
3933+ need_locks=no
3934+fi
3935+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
3936+])# _LT_COMPILER_FILE_LOCKS
3937+
3938+
3939+# _LT_CHECK_OBJDIR
3940+# ----------------
3941+m4_defun([_LT_CHECK_OBJDIR],
3942+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
3943+[rm -f .libs 2>/dev/null
3944+mkdir .libs 2>/dev/null
3945+if test -d .libs; then
3946+ lt_cv_objdir=.libs
3947+else
3948+ # MS-DOS does not allow filenames that begin with a dot.
3949+ lt_cv_objdir=_libs
3950+fi
3951+rmdir .libs 2>/dev/null])
3952+objdir=$lt_cv_objdir
3953+_LT_DECL([], [objdir], [0],
3954+ [The name of the directory that contains temporary libtool files])dnl
3955+m4_pattern_allow([LT_OBJDIR])dnl
3956+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
3957+ [Define to the sub-directory in which libtool stores uninstalled libraries.])
3958+])# _LT_CHECK_OBJDIR
3959+
3960+
3961+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
3962+# --------------------------------------
3963+# Check hardcoding attributes.
3964+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
3965+[AC_MSG_CHECKING([how to hardcode library paths into programs])
3966+_LT_TAGVAR(hardcode_action, $1)=
3967+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
3968+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
3969+ test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
3970+
3971+ # We can hardcode non-existent directories.
3972+ if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
3973+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
3974+ # have to relink, otherwise we might link with an installed library
3975+ # when we should be linking with a yet-to-be-installed one
3976+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
3977+ test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
3978+ # Linking always hardcodes the temporary library directory.
3979+ _LT_TAGVAR(hardcode_action, $1)=relink
3980+ else
3981+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
3982+ _LT_TAGVAR(hardcode_action, $1)=immediate
3983+ fi
3984+else
3985+ # We cannot hardcode anything, or else we can only hardcode existing
3986+ # directories.
3987+ _LT_TAGVAR(hardcode_action, $1)=unsupported
3988+fi
3989+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
3990+
3991+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
3992+ test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
3993+ # Fast installation is not supported
3994+ enable_fast_install=no
3995+elif test "$shlibpath_overrides_runpath" = yes ||
3996+ test "$enable_shared" = no; then
3997+ # Fast installation is not necessary
3998+ enable_fast_install=needless
3999+fi
4000+_LT_TAGDECL([], [hardcode_action], [0],
4001+ [How to hardcode a shared library path into an executable])
4002+])# _LT_LINKER_HARDCODE_LIBPATH
4003+
4004+
4005+# _LT_CMD_STRIPLIB
4006+# ----------------
4007+m4_defun([_LT_CMD_STRIPLIB],
4008+[m4_require([_LT_DECL_EGREP])
4009+striplib=
4010+old_striplib=
4011+AC_MSG_CHECKING([whether stripping libraries is possible])
4012+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
4013+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4014+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4015+ AC_MSG_RESULT([yes])
4016+else
4017+# FIXME - insert some real tests, host_os isn't really good enough
4018+ case $host_os in
4019+ darwin*)
4020+ if test -n "$STRIP" ; then
4021+ striplib="$STRIP -x"
4022+ old_striplib="$STRIP -S"
4023+ AC_MSG_RESULT([yes])
4024+ else
4025+ AC_MSG_RESULT([no])
4026+ fi
4027+ ;;
4028+ *)
4029+ AC_MSG_RESULT([no])
4030+ ;;
4031+ esac
4032+fi
4033+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
4034+_LT_DECL([], [striplib], [1])
4035+])# _LT_CMD_STRIPLIB
4036+
4037+
4038+# _LT_SYS_DYNAMIC_LINKER([TAG])
4039+# -----------------------------
4040+# PORTME Fill in your ld.so characteristics
4041+m4_defun([_LT_SYS_DYNAMIC_LINKER],
4042+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4043+m4_require([_LT_DECL_EGREP])dnl
4044+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4045+m4_require([_LT_DECL_OBJDUMP])dnl
4046+m4_require([_LT_DECL_SED])dnl
4047+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
4048+AC_MSG_CHECKING([dynamic linker characteristics])
4049+m4_if([$1],
4050+ [], [
4051+if test "$GCC" = yes; then
4052+ case $host_os in
4053+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
4054+ *) lt_awk_arg="/^libraries:/" ;;
4055+ esac
4056+ case $host_os in
4057+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
4058+ *) lt_sed_strip_eq="s,=/,/,g" ;;
4059+ esac
4060+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
4061+ case $lt_search_path_spec in
4062+ *\;*)
4063+ # if the path contains ";" then we assume it to be the separator
4064+ # otherwise default to the standard path separator (i.e. ":") - it is
4065+ # assumed that no part of a normal pathname contains ";" but that should
4066+ # okay in the real world where ";" in dirpaths is itself problematic.
4067+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
4068+ ;;
4069+ *)
4070+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
4071+ ;;
4072+ esac
4073+ # Ok, now we have the path, separated by spaces, we can step through it
4074+ # and add multilib dir if necessary.
4075+ lt_tmp_lt_search_path_spec=
4076+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
4077+ for lt_sys_path in $lt_search_path_spec; do
4078+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
4079+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
4080+ else
4081+ test -d "$lt_sys_path" && \
4082+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
4083+ fi
4084+ done
4085+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
4086+BEGIN {RS=" "; FS="/|\n";} {
4087+ lt_foo="";
4088+ lt_count=0;
4089+ for (lt_i = NF; lt_i > 0; lt_i--) {
4090+ if ($lt_i != "" && $lt_i != ".") {
4091+ if ($lt_i == "..") {
4092+ lt_count++;
4093+ } else {
4094+ if (lt_count == 0) {
4095+ lt_foo="/" $lt_i lt_foo;
4096+ } else {
4097+ lt_count--;
4098+ }
4099+ }
4100+ }
4101+ }
4102+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
4103+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
4104+}'`
4105+ # AWK program above erroneously prepends '/' to C:/dos/paths
4106+ # for these hosts.
4107+ case $host_os in
4108+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
4109+ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
4110+ esac
4111+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
4112+else
4113+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4114+fi])
4115+library_names_spec=
4116+libname_spec='lib$name'
4117+soname_spec=
4118+shrext_cmds=".so"
4119+postinstall_cmds=
4120+postuninstall_cmds=
4121+finish_cmds=
4122+finish_eval=
4123+shlibpath_var=
4124+shlibpath_overrides_runpath=unknown
4125+version_type=none
4126+dynamic_linker="$host_os ld.so"
4127+sys_lib_dlsearch_path_spec="/lib /usr/lib"
4128+need_lib_prefix=unknown
4129+hardcode_into_libs=no
4130+
4131+# when you set need_version to no, make sure it does not cause -set_version
4132+# flags to be left without arguments
4133+need_version=unknown
4134+
4135+case $host_os in
4136+aix3*)
4137+ version_type=linux # correct to gnu/linux during the next big refactor
4138+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4139+ shlibpath_var=LIBPATH
4140+
4141+ # AIX 3 has no versioning support, so we append a major version to the name.
4142+ soname_spec='${libname}${release}${shared_ext}$major'
4143+ ;;
4144+
4145+aix[[4-9]]*)
4146+ version_type=linux # correct to gnu/linux during the next big refactor
4147+ need_lib_prefix=no
4148+ need_version=no
4149+ hardcode_into_libs=yes
4150+ if test "$host_cpu" = ia64; then
4151+ # AIX 5 supports IA64
4152+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4153+ shlibpath_var=LD_LIBRARY_PATH
4154+ else
4155+ # With GCC up to 2.95.x, collect2 would create an import file
4156+ # for dependence libraries. The import file would start with
4157+ # the line `#! .'. This would cause the generated library to
4158+ # depend on `.', always an invalid library. This was fixed in
4159+ # development snapshots of GCC prior to 3.0.
4160+ case $host_os in
4161+ aix4 | aix4.[[01]] | aix4.[[01]].*)
4162+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4163+ echo ' yes '
4164+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
4165+ :
4166+ else
4167+ can_build_shared=no
4168+ fi
4169+ ;;
4170+ esac
4171+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4172+ # soname into executable. Probably we can add versioning support to
4173+ # collect2, so additional links can be useful in future.
4174+ if test "$aix_use_runtimelinking" = yes; then
4175+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4176+ # instead of lib<name>.a to let people know that these are not
4177+ # typical AIX shared libraries.
4178+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4179+ else
4180+ # We preserve .a as extension for shared libraries through AIX4.2
4181+ # and later when we are not doing run time linking.
4182+ library_names_spec='${libname}${release}.a $libname.a'
4183+ soname_spec='${libname}${release}${shared_ext}$major'
4184+ fi
4185+ shlibpath_var=LIBPATH
4186+ fi
4187+ ;;
4188+
4189+amigaos*)
4190+ case $host_cpu in
4191+ powerpc)
4192+ # Since July 2007 AmigaOS4 officially supports .so libraries.
4193+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
4194+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4195+ ;;
4196+ m68k)
4197+ library_names_spec='$libname.ixlibrary $libname.a'
4198+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
4199+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
4200+ ;;
4201+ esac
4202+ ;;
4203+
4204+beos*)
4205+ library_names_spec='${libname}${shared_ext}'
4206+ dynamic_linker="$host_os ld.so"
4207+ shlibpath_var=LIBRARY_PATH
4208+ ;;
4209+
4210+bsdi[[45]]*)
4211+ version_type=linux # correct to gnu/linux during the next big refactor
4212+ need_version=no
4213+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4214+ soname_spec='${libname}${release}${shared_ext}$major'
4215+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4216+ shlibpath_var=LD_LIBRARY_PATH
4217+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4218+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4219+ # the default ld.so.conf also contains /usr/contrib/lib and
4220+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4221+ # libtool to hard-code these into programs
4222+ ;;
4223+
4224+cygwin* | mingw* | pw32* | cegcc*)
4225+ version_type=windows
4226+ shrext_cmds=".dll"
4227+ need_version=no
4228+ need_lib_prefix=no
4229+
4230+ case $GCC,$cc_basename in
4231+ yes,*)
4232+ # gcc
4233+ library_names_spec='$libname.dll.a'
4234+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
4235+ postinstall_cmds='base_file=`basename \${file}`~
4236+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
4237+ dldir=$destdir/`dirname \$dlpath`~
4238+ test -d \$dldir || mkdir -p \$dldir~
4239+ $install_prog $dir/$dlname \$dldir/$dlname~
4240+ chmod a+x \$dldir/$dlname~
4241+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
4242+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
4243+ fi'
4244+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4245+ dlpath=$dir/\$dldll~
4246+ $RM \$dlpath'
4247+ shlibpath_overrides_runpath=yes
4248+
4249+ case $host_os in
4250+ cygwin*)
4251+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4252+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4253+m4_if([$1], [],[
4254+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
4255+ ;;
4256+ mingw* | cegcc*)
4257+ # MinGW DLLs use traditional 'lib' prefix
4258+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4259+ ;;
4260+ pw32*)
4261+ # pw32 DLLs use 'pw' prefix rather than 'lib'
4262+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4263+ ;;
4264+ esac
4265+ dynamic_linker='Win32 ld.exe'
4266+ ;;
4267+
4268+ *,cl*)
4269+ # Native MSVC
4270+ libname_spec='$name'
4271+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4272+ library_names_spec='${libname}.dll.lib'
4273+
4274+ case $build_os in
4275+ mingw*)
4276+ sys_lib_search_path_spec=
4277+ lt_save_ifs=$IFS
4278+ IFS=';'
4279+ for lt_path in $LIB
4280+ do
4281+ IFS=$lt_save_ifs
4282+ # Let DOS variable expansion print the short 8.3 style file name.
4283+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
4284+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
4285+ done
4286+ IFS=$lt_save_ifs
4287+ # Convert to MSYS style.
4288+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
4289+ ;;
4290+ cygwin*)
4291+ # Convert to unix form, then to dos form, then back to unix form
4292+ # but this time dos style (no spaces!) so that the unix form looks
4293+ # like /cygdrive/c/PROGRA~1:/cygdr...
4294+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
4295+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
4296+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4297+ ;;
4298+ *)
4299+ sys_lib_search_path_spec="$LIB"
4300+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
4301+ # It is most probably a Windows format PATH.
4302+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4303+ else
4304+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4305+ fi
4306+ # FIXME: find the short name or the path components, as spaces are
4307+ # common. (e.g. "Program Files" -> "PROGRA~1")
4308+ ;;
4309+ esac
4310+
4311+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
4312+ postinstall_cmds='base_file=`basename \${file}`~
4313+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
4314+ dldir=$destdir/`dirname \$dlpath`~
4315+ test -d \$dldir || mkdir -p \$dldir~
4316+ $install_prog $dir/$dlname \$dldir/$dlname'
4317+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4318+ dlpath=$dir/\$dldll~
4319+ $RM \$dlpath'
4320+ shlibpath_overrides_runpath=yes
4321+ dynamic_linker='Win32 link.exe'
4322+ ;;
4323+
4324+ *)
4325+ # Assume MSVC wrapper
4326+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
4327+ dynamic_linker='Win32 ld.exe'
4328+ ;;
4329+ esac
4330+ # FIXME: first we should search . and the directory the executable is in
4331+ shlibpath_var=PATH
4332+ ;;
4333+
4334+darwin* | rhapsody*)
4335+ dynamic_linker="$host_os dyld"
4336+ version_type=darwin
4337+ need_lib_prefix=no
4338+ need_version=no
4339+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4340+ soname_spec='${libname}${release}${major}$shared_ext'
4341+ shlibpath_overrides_runpath=yes
4342+ shlibpath_var=DYLD_LIBRARY_PATH
4343+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
4344+m4_if([$1], [],[
4345+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
4346+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4347+ ;;
4348+
4349+dgux*)
4350+ version_type=linux # correct to gnu/linux during the next big refactor
4351+ need_lib_prefix=no
4352+ need_version=no
4353+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4354+ soname_spec='${libname}${release}${shared_ext}$major'
4355+ shlibpath_var=LD_LIBRARY_PATH
4356+ ;;
4357+
4358+freebsd* | dragonfly*)
4359+ # DragonFly does not have aout. When/if they implement a new
4360+ # versioning mechanism, adjust this.
4361+ if test -x /usr/bin/objformat; then
4362+ objformat=`/usr/bin/objformat`
4363+ else
4364+ case $host_os in
4365+ freebsd[[23]].*) objformat=aout ;;
4366+ *) objformat=elf ;;
4367+ esac
4368+ fi
4369+ version_type=freebsd-$objformat
4370+ case $version_type in
4371+ freebsd-elf*)
4372+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4373+ need_version=no
4374+ need_lib_prefix=no
4375+ ;;
4376+ freebsd-*)
4377+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4378+ need_version=yes
4379+ ;;
4380+ esac
4381+ shlibpath_var=LD_LIBRARY_PATH
4382+ case $host_os in
4383+ freebsd2.*)
4384+ shlibpath_overrides_runpath=yes
4385+ ;;
4386+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4387+ shlibpath_overrides_runpath=yes
4388+ hardcode_into_libs=yes
4389+ ;;
4390+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
4391+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
4392+ shlibpath_overrides_runpath=no
4393+ hardcode_into_libs=yes
4394+ ;;
4395+ *) # from 4.6 on, and DragonFly
4396+ shlibpath_overrides_runpath=yes
4397+ hardcode_into_libs=yes
4398+ ;;
4399+ esac
4400+ ;;
4401+
4402+gnu*)
4403+ version_type=linux # correct to gnu/linux during the next big refactor
4404+ need_lib_prefix=no
4405+ need_version=no
4406+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4407+ soname_spec='${libname}${release}${shared_ext}$major'
4408+ shlibpath_var=LD_LIBRARY_PATH
4409+ shlibpath_overrides_runpath=no
4410+ hardcode_into_libs=yes
4411+ ;;
4412+
4413+haiku*)
4414+ version_type=linux # correct to gnu/linux during the next big refactor
4415+ need_lib_prefix=no
4416+ need_version=no
4417+ dynamic_linker="$host_os runtime_loader"
4418+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4419+ soname_spec='${libname}${release}${shared_ext}$major'
4420+ shlibpath_var=LIBRARY_PATH
4421+ shlibpath_overrides_runpath=yes
4422+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
4423+ hardcode_into_libs=yes
4424+ ;;
4425+
4426+hpux9* | hpux10* | hpux11*)
4427+ # Give a soname corresponding to the major version so that dld.sl refuses to
4428+ # link against other versions.
4429+ version_type=sunos
4430+ need_lib_prefix=no
4431+ need_version=no
4432+ case $host_cpu in
4433+ ia64*)
4434+ shrext_cmds='.so'
4435+ hardcode_into_libs=yes
4436+ dynamic_linker="$host_os dld.so"
4437+ shlibpath_var=LD_LIBRARY_PATH
4438+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4439+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4440+ soname_spec='${libname}${release}${shared_ext}$major'
4441+ if test "X$HPUX_IA64_MODE" = X32; then
4442+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4443+ else
4444+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4445+ fi
4446+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4447+ ;;
4448+ hppa*64*)
4449+ shrext_cmds='.sl'
4450+ hardcode_into_libs=yes
4451+ dynamic_linker="$host_os dld.sl"
4452+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4453+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4454+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4455+ soname_spec='${libname}${release}${shared_ext}$major'
4456+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4457+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4458+ ;;
4459+ *)
4460+ shrext_cmds='.sl'
4461+ dynamic_linker="$host_os dld.sl"
4462+ shlibpath_var=SHLIB_PATH
4463+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4464+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4465+ soname_spec='${libname}${release}${shared_ext}$major'
4466+ ;;
4467+ esac
4468+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
4469+ postinstall_cmds='chmod 555 $lib'
4470+ # or fails outright, so override atomically:
4471+ install_override_mode=555
4472+ ;;
4473+
4474+interix[[3-9]]*)
4475+ version_type=linux # correct to gnu/linux during the next big refactor
4476+ need_lib_prefix=no
4477+ need_version=no
4478+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4479+ soname_spec='${libname}${release}${shared_ext}$major'
4480+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
4481+ shlibpath_var=LD_LIBRARY_PATH
4482+ shlibpath_overrides_runpath=no
4483+ hardcode_into_libs=yes
4484+ ;;
4485+
4486+irix5* | irix6* | nonstopux*)
4487+ case $host_os in
4488+ nonstopux*) version_type=nonstopux ;;
4489+ *)
4490+ if test "$lt_cv_prog_gnu_ld" = yes; then
4491+ version_type=linux # correct to gnu/linux during the next big refactor
4492+ else
4493+ version_type=irix
4494+ fi ;;
4495+ esac
4496+ need_lib_prefix=no
4497+ need_version=no
4498+ soname_spec='${libname}${release}${shared_ext}$major'
4499+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4500+ case $host_os in
4501+ irix5* | nonstopux*)
4502+ libsuff= shlibsuff=
4503+ ;;
4504+ *)
4505+ case $LD in # libtool.m4 will add one of these switches to LD
4506+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
4507+ libsuff= shlibsuff= libmagic=32-bit;;
4508+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
4509+ libsuff=32 shlibsuff=N32 libmagic=N32;;
4510+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
4511+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
4512+ *) libsuff= shlibsuff= libmagic=never-match;;
4513+ esac
4514+ ;;
4515+ esac
4516+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
4517+ shlibpath_overrides_runpath=no
4518+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4519+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
4520+ hardcode_into_libs=yes
4521+ ;;
4522+
4523+# No shared lib support for Linux oldld, aout, or coff.
4524+linux*oldld* | linux*aout* | linux*coff*)
4525+ dynamic_linker=no
4526+ ;;
4527+
4528+# This must be glibc/ELF.
4529+linux* | k*bsd*-gnu | kopensolaris*-gnu)
4530+ version_type=linux # correct to gnu/linux during the next big refactor
4531+ need_lib_prefix=no
4532+ need_version=no
4533+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4534+ soname_spec='${libname}${release}${shared_ext}$major'
4535+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4536+ shlibpath_var=LD_LIBRARY_PATH
4537+ shlibpath_overrides_runpath=no
4538+
4539+ # Some binutils ld are patched to set DT_RUNPATH
4540+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
4541+ [lt_cv_shlibpath_overrides_runpath=no
4542+ save_LDFLAGS=$LDFLAGS
4543+ save_libdir=$libdir
4544+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
4545+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
4546+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
4547+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
4548+ [lt_cv_shlibpath_overrides_runpath=yes])])
4549+ LDFLAGS=$save_LDFLAGS
4550+ libdir=$save_libdir
4551+ ])
4552+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
4553+
4554+ # This implies no fast_install, which is unacceptable.
4555+ # Some rework will be needed to allow for fast_install
4556+ # before this can be enabled.
4557+ hardcode_into_libs=yes
4558+
4559+ # Append ld.so.conf contents to the search path
4560+ if test -f /etc/ld.so.conf; then
4561+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
4562+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4563+ fi
4564+
4565+ # We used to test for /lib/ld.so.1 and disable shared libraries on
4566+ # powerpc, because MkLinux only supported shared libraries with the
4567+ # GNU dynamic linker. Since this was broken with cross compilers,
4568+ # most powerpc-linux boxes support dynamic linking these days and
4569+ # people can always --disable-shared, the test was removed, and we
4570+ # assume the GNU/Linux dynamic linker is in use.
4571+ dynamic_linker='GNU/Linux ld.so'
4572+ ;;
4573+
4574+netbsdelf*-gnu)
4575+ version_type=linux
4576+ need_lib_prefix=no
4577+ need_version=no
4578+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4579+ soname_spec='${libname}${release}${shared_ext}$major'
4580+ shlibpath_var=LD_LIBRARY_PATH
4581+ shlibpath_overrides_runpath=no
4582+ hardcode_into_libs=yes
4583+ dynamic_linker='NetBSD ld.elf_so'
4584+ ;;
4585+
4586+netbsd*)
4587+ version_type=sunos
4588+ need_lib_prefix=no
4589+ need_version=no
4590+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4591+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4592+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4593+ dynamic_linker='NetBSD (a.out) ld.so'
4594+ else
4595+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4596+ soname_spec='${libname}${release}${shared_ext}$major'
4597+ dynamic_linker='NetBSD ld.elf_so'
4598+ fi
4599+ shlibpath_var=LD_LIBRARY_PATH
4600+ shlibpath_overrides_runpath=yes
4601+ hardcode_into_libs=yes
4602+ ;;
4603+
4604+newsos6)
4605+ version_type=linux # correct to gnu/linux during the next big refactor
4606+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4607+ shlibpath_var=LD_LIBRARY_PATH
4608+ shlibpath_overrides_runpath=yes
4609+ ;;
4610+
4611+*nto* | *qnx*)
4612+ version_type=qnx
4613+ need_lib_prefix=no
4614+ need_version=no
4615+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4616+ soname_spec='${libname}${release}${shared_ext}$major'
4617+ shlibpath_var=LD_LIBRARY_PATH
4618+ shlibpath_overrides_runpath=no
4619+ hardcode_into_libs=yes
4620+ dynamic_linker='ldqnx.so'
4621+ ;;
4622+
4623+openbsd*)
4624+ version_type=sunos
4625+ sys_lib_dlsearch_path_spec="/usr/lib"
4626+ need_lib_prefix=no
4627+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
4628+ case $host_os in
4629+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
4630+ *) need_version=no ;;
4631+ esac
4632+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4633+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4634+ shlibpath_var=LD_LIBRARY_PATH
4635+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4636+ case $host_os in
4637+ openbsd2.[[89]] | openbsd2.[[89]].*)
4638+ shlibpath_overrides_runpath=no
4639+ ;;
4640+ *)
4641+ shlibpath_overrides_runpath=yes
4642+ ;;
4643+ esac
4644+ else
4645+ shlibpath_overrides_runpath=yes
4646+ fi
4647+ ;;
4648+
4649+os2*)
4650+ libname_spec='$name'
4651+ shrext_cmds=".dll"
4652+ need_lib_prefix=no
4653+ library_names_spec='$libname${shared_ext} $libname.a'
4654+ dynamic_linker='OS/2 ld.exe'
4655+ shlibpath_var=LIBPATH
4656+ ;;
4657+
4658+osf3* | osf4* | osf5*)
4659+ version_type=osf
4660+ need_lib_prefix=no
4661+ need_version=no
4662+ soname_spec='${libname}${release}${shared_ext}$major'
4663+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4664+ shlibpath_var=LD_LIBRARY_PATH
4665+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4666+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4667+ ;;
4668+
4669+rdos*)
4670+ dynamic_linker=no
4671+ ;;
4672+
4673+solaris*)
4674+ version_type=linux # correct to gnu/linux during the next big refactor
4675+ need_lib_prefix=no
4676+ need_version=no
4677+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4678+ soname_spec='${libname}${release}${shared_ext}$major'
4679+ shlibpath_var=LD_LIBRARY_PATH
4680+ shlibpath_overrides_runpath=yes
4681+ hardcode_into_libs=yes
4682+ # ldd complains unless libraries are executable
4683+ postinstall_cmds='chmod +x $lib'
4684+ ;;
4685+
4686+sunos4*)
4687+ version_type=sunos
4688+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4689+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4690+ shlibpath_var=LD_LIBRARY_PATH
4691+ shlibpath_overrides_runpath=yes
4692+ if test "$with_gnu_ld" = yes; then
4693+ need_lib_prefix=no
4694+ fi
4695+ need_version=yes
4696+ ;;
4697+
4698+sysv4 | sysv4.3*)
4699+ version_type=linux # correct to gnu/linux during the next big refactor
4700+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4701+ soname_spec='${libname}${release}${shared_ext}$major'
4702+ shlibpath_var=LD_LIBRARY_PATH
4703+ case $host_vendor in
4704+ sni)
4705+ shlibpath_overrides_runpath=no
4706+ need_lib_prefix=no
4707+ runpath_var=LD_RUN_PATH
4708+ ;;
4709+ siemens)
4710+ need_lib_prefix=no
4711+ ;;
4712+ motorola)
4713+ need_lib_prefix=no
4714+ need_version=no
4715+ shlibpath_overrides_runpath=no
4716+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4717+ ;;
4718+ esac
4719+ ;;
4720+
4721+sysv4*MP*)
4722+ if test -d /usr/nec ;then
4723+ version_type=linux # correct to gnu/linux during the next big refactor
4724+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4725+ soname_spec='$libname${shared_ext}.$major'
4726+ shlibpath_var=LD_LIBRARY_PATH
4727+ fi
4728+ ;;
4729+
4730+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4731+ version_type=freebsd-elf
4732+ need_lib_prefix=no
4733+ need_version=no
4734+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4735+ soname_spec='${libname}${release}${shared_ext}$major'
4736+ shlibpath_var=LD_LIBRARY_PATH
4737+ shlibpath_overrides_runpath=yes
4738+ hardcode_into_libs=yes
4739+ if test "$with_gnu_ld" = yes; then
4740+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
4741+ else
4742+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
4743+ case $host_os in
4744+ sco3.2v5*)
4745+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
4746+ ;;
4747+ esac
4748+ fi
4749+ sys_lib_dlsearch_path_spec='/usr/lib'
4750+ ;;
4751+
4752+tpf*)
4753+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
4754+ version_type=linux # correct to gnu/linux during the next big refactor
4755+ need_lib_prefix=no
4756+ need_version=no
4757+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4758+ shlibpath_var=LD_LIBRARY_PATH
4759+ shlibpath_overrides_runpath=no
4760+ hardcode_into_libs=yes
4761+ ;;
4762+
4763+uts4*)
4764+ version_type=linux # correct to gnu/linux during the next big refactor
4765+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4766+ soname_spec='${libname}${release}${shared_ext}$major'
4767+ shlibpath_var=LD_LIBRARY_PATH
4768+ ;;
4769+
4770+*)
4771+ dynamic_linker=no
4772+ ;;
4773+esac
4774+AC_MSG_RESULT([$dynamic_linker])
4775+test "$dynamic_linker" = no && can_build_shared=no
4776+
4777+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4778+if test "$GCC" = yes; then
4779+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4780+fi
4781+
4782+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
4783+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
4784+fi
4785+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
4786+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
4787+fi
4788+
4789+_LT_DECL([], [variables_saved_for_relink], [1],
4790+ [Variables whose values should be saved in libtool wrapper scripts and
4791+ restored at link time])
4792+_LT_DECL([], [need_lib_prefix], [0],
4793+ [Do we need the "lib" prefix for modules?])
4794+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
4795+_LT_DECL([], [version_type], [0], [Library versioning type])
4796+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
4797+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
4798+_LT_DECL([], [shlibpath_overrides_runpath], [0],
4799+ [Is shlibpath searched before the hard-coded library search path?])
4800+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
4801+_LT_DECL([], [library_names_spec], [1],
4802+ [[List of archive names. First name is the real one, the rest are links.
4803+ The last name is the one that the linker finds with -lNAME]])
4804+_LT_DECL([], [soname_spec], [1],
4805+ [[The coded name of the library, if different from the real name]])
4806+_LT_DECL([], [install_override_mode], [1],
4807+ [Permission mode override for installation of shared libraries])
4808+_LT_DECL([], [postinstall_cmds], [2],
4809+ [Command to use after installation of a shared archive])
4810+_LT_DECL([], [postuninstall_cmds], [2],
4811+ [Command to use after uninstallation of a shared archive])
4812+_LT_DECL([], [finish_cmds], [2],
4813+ [Commands used to finish a libtool library installation in a directory])
4814+_LT_DECL([], [finish_eval], [1],
4815+ [[As "finish_cmds", except a single script fragment to be evaled but
4816+ not shown]])
4817+_LT_DECL([], [hardcode_into_libs], [0],
4818+ [Whether we should hardcode library paths into libraries])
4819+_LT_DECL([], [sys_lib_search_path_spec], [2],
4820+ [Compile-time system search path for libraries])
4821+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
4822+ [Run-time system search path for libraries])
4823+])# _LT_SYS_DYNAMIC_LINKER
4824+
4825+
4826+# _LT_PATH_TOOL_PREFIX(TOOL)
4827+# --------------------------
4828+# find a file program which can recognize shared library
4829+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
4830+[m4_require([_LT_DECL_EGREP])dnl
4831+AC_MSG_CHECKING([for $1])
4832+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4833+[case $MAGIC_CMD in
4834+[[\\/*] | ?:[\\/]*])
4835+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4836+ ;;
4837+*)
4838+ lt_save_MAGIC_CMD="$MAGIC_CMD"
4839+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4840+dnl $ac_dummy forces splitting on constant user-supplied paths.
4841+dnl POSIX.2 word splitting is done only on the output of word expansions,
4842+dnl not every word. This closes a longstanding sh security hole.
4843+ ac_dummy="m4_if([$2], , $PATH, [$2])"
4844+ for ac_dir in $ac_dummy; do
4845+ IFS="$lt_save_ifs"
4846+ test -z "$ac_dir" && ac_dir=.
4847+ if test -f $ac_dir/$1; then
4848+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4849+ if test -n "$file_magic_test_file"; then
4850+ case $deplibs_check_method in
4851+ "file_magic "*)
4852+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
4853+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4854+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4855+ $EGREP "$file_magic_regex" > /dev/null; then
4856+ :
4857+ else
4858+ cat <<_LT_EOF 1>&2
4859+
4860+*** Warning: the command libtool uses to detect shared libraries,
4861+*** $file_magic_cmd, produces output that libtool cannot recognize.
4862+*** The result is that libtool may fail to recognize shared libraries
4863+*** as such. This will affect the creation of libtool libraries that
4864+*** depend on shared libraries, but programs linked with such libtool
4865+*** libraries will work regardless of this problem. Nevertheless, you
4866+*** may want to report the problem to your system manager and/or to
4867+*** bug-libtool@gnu.org
4868+
4869+_LT_EOF
4870+ fi ;;
4871+ esac
4872+ fi
4873+ break
4874+ fi
4875+ done
4876+ IFS="$lt_save_ifs"
4877+ MAGIC_CMD="$lt_save_MAGIC_CMD"
4878+ ;;
4879+esac])
4880+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4881+if test -n "$MAGIC_CMD"; then
4882+ AC_MSG_RESULT($MAGIC_CMD)
4883+else
4884+ AC_MSG_RESULT(no)
4885+fi
4886+_LT_DECL([], [MAGIC_CMD], [0],
4887+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
4888+])# _LT_PATH_TOOL_PREFIX
4889+
4890+# Old name:
4891+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
4892+dnl aclocal-1.4 backwards compatibility:
4893+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
4894+
4895+
4896+# _LT_PATH_MAGIC
4897+# --------------
4898+# find a file program which can recognize a shared library
4899+m4_defun([_LT_PATH_MAGIC],
4900+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4901+if test -z "$lt_cv_path_MAGIC_CMD"; then
4902+ if test -n "$ac_tool_prefix"; then
4903+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
4904+ else
4905+ MAGIC_CMD=:
4906+ fi
4907+fi
4908+])# _LT_PATH_MAGIC
4909+
4910+
4911+# LT_PATH_LD
4912+# ----------
4913+# find the pathname to the GNU or non-GNU linker
4914+AC_DEFUN([LT_PATH_LD],
4915+[AC_REQUIRE([AC_PROG_CC])dnl
4916+AC_REQUIRE([AC_CANONICAL_HOST])dnl
4917+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4918+m4_require([_LT_DECL_SED])dnl
4919+m4_require([_LT_DECL_EGREP])dnl
4920+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
4921+
4922+AC_ARG_WITH([gnu-ld],
4923+ [AS_HELP_STRING([--with-gnu-ld],
4924+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4925+ [test "$withval" = no || with_gnu_ld=yes],
4926+ [with_gnu_ld=no])dnl
4927+
4928+ac_prog=ld
4929+if test "$GCC" = yes; then
4930+ # Check if gcc -print-prog-name=ld gives a path.
4931+ AC_MSG_CHECKING([for ld used by $CC])
4932+ case $host in
4933+ *-*-mingw*)
4934+ # gcc leaves a trailing carriage return which upsets mingw
4935+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4936+ *)
4937+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4938+ esac
4939+ case $ac_prog in
4940+ # Accept absolute paths.
4941+ [[\\/]]* | ?:[[\\/]]*)
4942+ re_direlt='/[[^/]][[^/]]*/\.\./'
4943+ # Canonicalize the pathname of ld
4944+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4945+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4946+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4947+ done
4948+ test -z "$LD" && LD="$ac_prog"
4949+ ;;
4950+ "")
4951+ # If it fails, then pretend we aren't using GCC.
4952+ ac_prog=ld
4953+ ;;
4954+ *)
4955+ # If it is relative, then search for the first ld in PATH.
4956+ with_gnu_ld=unknown
4957+ ;;
4958+ esac
4959+elif test "$with_gnu_ld" = yes; then
4960+ AC_MSG_CHECKING([for GNU ld])
4961+else
4962+ AC_MSG_CHECKING([for non-GNU ld])
4963+fi
4964+AC_CACHE_VAL(lt_cv_path_LD,
4965+[if test -z "$LD"; then
4966+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4967+ for ac_dir in $PATH; do
4968+ IFS="$lt_save_ifs"
4969+ test -z "$ac_dir" && ac_dir=.
4970+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4971+ lt_cv_path_LD="$ac_dir/$ac_prog"
4972+ # Check to see if the program is GNU ld. I'd rather use --version,
4973+ # but apparently some variants of GNU ld only accept -v.
4974+ # Break only if it was the GNU/non-GNU ld that we prefer.
4975+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4976+ *GNU* | *'with BFD'*)
4977+ test "$with_gnu_ld" != no && break
4978+ ;;
4979+ *)
4980+ test "$with_gnu_ld" != yes && break
4981+ ;;
4982+ esac
4983+ fi
4984+ done
4985+ IFS="$lt_save_ifs"
4986+else
4987+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
4988+fi])
4989+LD="$lt_cv_path_LD"
4990+if test -n "$LD"; then
4991+ AC_MSG_RESULT($LD)
4992+else
4993+ AC_MSG_RESULT(no)
4994+fi
4995+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4996+_LT_PATH_LD_GNU
4997+AC_SUBST([LD])
4998+
4999+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
5000+])# LT_PATH_LD
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches