Merge lp:~takluyver/ubuntu/raring/labyrinth/0.6 into lp:ubuntu/raring/labyrinth

Proposed by Thomas Kluyver
Status: Merged
Merged at revision: 13
Proposed branch: lp:~takluyver/ubuntu/raring/labyrinth/0.6
Merge into: lp:ubuntu/raring/labyrinth
Diff against target: 73838 lines (+12390/-58790)
98 files modified
.gitignore (+3/-0)
.tx/config (+8/-0)
ChangeLog (+495/-43)
INSTALL (+0/-236)
Makefile.am (+0/-10)
Makefile.in (+0/-689)
NEWS (+0/-40)
README (+0/-144)
README.rst (+113/-0)
Windows/WinSetup.bat (+0/-3)
Windows/defs.py (+1/-1)
Windows/winsetup.py (+20/-20)
acinclude.m4 (+0/-40)
aclocal.m4 (+0/-8283)
autogen.sh (+0/-42)
config.guess (+0/-1516)
config.h.in (+0/-76)
config.sub (+0/-1622)
configure (+0/-24243)
configure.ac (+0/-90)
data/Makefile.am (+0/-46)
data/Makefile.in (+0/-470)
data/labyrinth-ui.xml (+15/-9)
data/labyrinth.desktop (+10/-0)
data/labyrinth.desktop.in (+0/-11)
data/labyrinth.glade (+917/-521)
debian/changelog (+9/-0)
debian/compat (+1/-1)
debian/control (+14/-8)
debian/copyright (+54/-32)
debian/patches/fix-imports.patch (+0/-17)
debian/patches/missing-thought-fix.patch (+0/-13)
debian/patches/numeric_to_numpy.patch (+0/-15)
debian/patches/remove-encoding-field-from-desktop-file.patch (+0/-9)
debian/pycompat (+0/-1)
debian/rules (+15/-10)
debian/source/format (+1/-0)
debian/watch (+1/-2)
doc/Makefile.in (+0/-379)
help/C/labyrinth.xml (+449/-0)
help/C/legal.xml (+76/-0)
help/Makefile.am (+11/-0)
help/de/de.po (+327/-0)
install-sh (+0/-323)
install_data_files.sh (+18/-0)
intltool-extract.in (+0/-861)
intltool-merge.in (+0/-1451)
intltool-update.in (+0/-1164)
labyrinth (+93/-0)
labyrinth_lib/BaseThought.py (+307/-292)
labyrinth_lib/Browser.py (+311/-299)
labyrinth_lib/DrawingThought.py (+574/-584)
labyrinth_lib/ImageThought.py (+305/-295)
labyrinth_lib/Links.py (+252/-241)
labyrinth_lib/MMapArea.py (+1289/-1145)
labyrinth_lib/MainWindow.py (+737/-754)
labyrinth_lib/MapList.py (+189/-189)
labyrinth_lib/PeriodicSaveThread.py (+10/-11)
labyrinth_lib/ResourceThought.py (+142/-0)
labyrinth_lib/TextBufferMarkup.py (+280/-286)
labyrinth_lib/TextThought.py (+1146/-1363)
labyrinth_lib/TrayIcon.py (+40/-41)
labyrinth_lib/UndoManager.py (+211/-213)
labyrinth_lib/__init__.py (+1/-17)
labyrinth_lib/debug.py (+16/-0)
labyrinth_lib/prefs.py (+8/-8)
labyrinth_lib/utils.py (+137/-139)
ltmain.sh (+0/-6938)
m4/intltool.m4 (+0/-220)
m4/python.m4 (+0/-62)
missing (+0/-360)
mkinstalldirs (+0/-158)
po/ChangeLog (+21/-1)
po/LINGUAS (+2/-0)
po/Makefile (+48/-0)
po/Makefile.in.in (+0/-218)
po/ca.po (+202/-108)
po/cs.po (+205/-111)
po/de.po (+207/-138)
po/es.po (+347/-0)
po/eu.po (+202/-108)
po/fa.po (+201/-108)
po/fr.po (+217/-197)
po/it.po (+217/-149)
po/labyrinth.pot (+316/-0)
po/nl.po (+204/-111)
po/pl.po (+198/-110)
po/pt_BR.po (+228/-208)
po/pt_PT.po (+205/-111)
po/ru.po (+205/-111)
po/sv.po (+202/-108)
po/zh_CN.po (+337/-0)
py-compile (+0/-146)
setup.py (+20/-0)
src/Makefile.am (+0/-51)
src/Makefile.in (+0/-529)
src/defs.py.in (+0/-8)
src/labyrinth.py (+0/-103)
To merge this branch: bzr merge lp:~takluyver/ubuntu/raring/labyrinth/0.6
Reviewer Review Type Date Requested Status
Andrew Starr-Bochicchio (community) Approve
Dmitry Shachnev Approve
Ubuntu branches Pending
Review via email: mp+132718@code.launchpad.net

Description of the change

Updates the package to the new upstream release 0.6.

The Debian packaging is based on what I use for the daily recipe build:
https://code.launchpad.net/~takluyver/+recipe/labyrinth-daily

To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for your work! I'm not able to upload the package, but I've noticed two small issues with it:

- you should run "update-maintainer" to get the Maintainer and XSBC-Original-Maintainer fields properly set;
- please target raring instead of precise.

review: Needs Fixing
14. By Thomas Kluyver

Fixes to packaging as suggested by Dmitry Shachnev

Revision history for this message
Thomas Kluyver (takluyver) wrote :

Thanks Dmitry, I knew I'd miss something. I've followed both of your suggestions.

Revision history for this message
Thomas Kluyver (takluyver) wrote :

By the way, do I need to do anything to reset the status so someone looks at this again? Thanks.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

OK, here's my "community" Approve. :)

review: Approve
Revision history for this message
Thomas Kluyver (takluyver) wrote :

Thanks, Dmitry.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work, could you give us a link to the 0.6 .tar.gz though? The only file I found is a zip on https://github.com/labyrinth-team/labyrinth/zipball/0.6 but that's not something compatible with the packaging there

15. By Thomas Kluyver

Correction to watch file

Revision history for this message
Thomas Kluyver (takluyver) wrote :

This should work: https://github.com/labyrinth-team/labyrinth/archive/0.6.tar.gz

I've updated the watch file to use the same pattern.

Revision history for this message
Sebastien Bacher (seb128) wrote :

https://github.com/labyrinth-team/labyrinth/archive/0.6.tar.gz is 165k a has no src subdir, the current ubuntu version has a src directory and takes 541k... are you sure the new tarball is fine? I don't understand enough of that software to judge of that so I will let the sponsoring to somebody who does

Revision history for this message
Thomas Kluyver (takluyver) wrote :

Yes, that's right. I renamed the src/ directory to labyrinth_lib/ so it could easily be used as a Python package. The shape of the codebase has changed quite a bit, because I dropped the autotools build system. But the actual content - code and data - is largely the same.

I'm already packaging the new codebase in a PPA with recipe builds. If you want to test it out: https://code.launchpad.net/~takluyver/+archive/labyrinth-dev

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Hi Thomas,

Not to be pedantic, but... It would be nice (and make the merge much easier to review) if you could document the changes you've made to the packaging in debian/changelog.

review: Abstain
16. By Thomas Kluyver

Add note to changelog about new packaging

Revision history for this message
Thomas Kluyver (takluyver) wrote :

Hi Andrew,

Honestly, I discarded the existing packaging from Ubuntu - I'm not familiar with CDBS or python-central, and my understanding is that they're superseded by debhelper and dh_python2. The new packaging is a pretty straightforward use of those systems. I've added a note to the changelog about that, but it's probably easiest to review the new packaging by itself, rather than looking at the diff.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Fair enough. Getting the package updated is more important than having a verbose changelog. Thanks for the note you added. Test building now. If everything goes fine, I'll upload.

Thanks!

review: Approve
Revision history for this message
Thomas Kluyver (takluyver) wrote :

Thanks, Andrew.
On Nov 11, 2012 3:31 AM, "Andrew Starr-Bochicchio" <email address hidden>
wrote:

> Review: Approve
>
> Fair enough. Getting the package updated is more important than having a
> verbose changelog. Thanks for the note you added. Test building now. If
> everything goes fine, I'll upload.
>
> Thanks!
> --
>
> https://code.launchpad.net/~takluyver/ubuntu/raring/labyrinth/0.6/+merge/132718
> You are the owner of lp:~takluyver/ubuntu/raring/labyrinth/0.6.
>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.gitignore'
2--- .gitignore 1970-01-01 00:00:00 +0000
3+++ .gitignore 2012-11-10 22:24:21 +0000
4@@ -0,0 +1,3 @@
5+*.pyc
6+build/
7+*.mo
8
9=== added directory '.tx'
10=== added file '.tx/config'
11--- .tx/config 1970-01-01 00:00:00 +0000
12+++ .tx/config 2012-11-10 22:24:21 +0000
13@@ -0,0 +1,8 @@
14+[main]
15+host = https://www.transifex.com
16+
17+[labyrinth.master]
18+file_filter = po/<lang>.po
19+source_file = po/labyrinth.pot
20+source_lang = en
21+type = PO
22
23=== modified file 'ChangeLog'
24--- ChangeLog 2009-12-21 14:06:13 +0000
25+++ ChangeLog 2012-11-10 22:24:21 +0000
26@@ -1,22 +1,460 @@
27+Release 0.6 (November 2012):
28+ * Improved user experience when zooming in or out.
29+ * Dropped autotools build system.
30+ * Moved maps into XDG application data folder.
31+ * Various bug fixes.
32+
33+Release 0.5:
34+ * Removed tree view again, as it was causing too many bugs.
35+ * Remove build-dependency on gnome-desktop.
36+
37+2011-04-25 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
38+ * src/TextThought.py
39+ * src/MainWindow.py:
40+ Clean-up TextThought code in order to find font issue
41+
42+2011-04-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
43+ * src/labyrinth.py
44+ * src/MainWindow.py:
45+ Add text domain to action group
46+
47+2011-04-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
48+ * src/MMapArea.py:
49+ Fix double-clicking on thought
50+
51+2011-04-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
52+ * src/Links.py
53+ * src/MMapArea.py:
54+ Fix issue 124 and fix regression that links could not be deleted
55+
56+2011-04-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
57+ * po/pt_BR.po:
58+ Really set to UTF-8
59+ * configure.ac:
60+ Prepare release candidate
61+
62+2011-04-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
63+ * data/labyrinth-ui.xml
64+ * src/MainWindow.py:
65+ Removing 'delete from menu which interfered with application key
66+ binding
67+
68+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
69+
70+ * src/MainWindow.py
71+ * src/MMapArea.py
72+ * data/labyrinth-ui.xml:
73+ Add Zoom-to-Fit functionality fixing issue 150
74+
75+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
76+
77+ * src/MainWindow.py
78+ * data/labyrinth-ui.xml:
79+ Temporarily disable ResourceThoughts for an earlier release of 0.5
80+
81+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
82+
83+ * src/TextThought.py:
84+ Fix issue 136 with patch provided by Dennis Guse
85+
86+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
87+
88+ * configure.ac:
89+ Fix issue 143 with patch provided by CaptainM...
90+
91+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
92+
93+ * src/Makefile.in:
94+ Add ResourceThought
95+
96+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
97+
98+ * src/MapList.py:
99+ Fix issue 148 with Patch from "perlhead"
100+
101+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
102+
103+ * src/*.py:
104+ Respect PEP-8.
105+
106+2011-04-23 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
107+
108+ * src/MainWindow.py
109+ * src/utils.py:
110+ Replace deprecated libs
111+
112+2009-03-08 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
113+
114+ * data/labyrinth.glade
115+ Fix Gtk warning
116+
117+2009-02-28 Martin Schaaf <mascha@ma-scha.de>
118+
119+ * src/MMapArea.py
120+ Used wrong variable name use height instead of heigth0. Thanks to
121+ Kunshan Wang for the pointer.
122+
123+2009-02-27 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
124+
125+ * data/Makefile.am
126+ Fix issue 132. Thanks again to Romain Tartiere.
127+
128+2009-02-27 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
129+
130+ * src/labyrinth.py
131+ Fix issue 133. Thanks to Romain Tartiere.
132+
133+2009-02-26 Martin Schaaf <mascha@ma-scha.de>
134+
135+ * src/MMapArea.py
136+ Fix issue 135. Thanks to wks1985 for the patch.
137+
138+2008-09-25 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
139+
140+ * src/MMapArea.py
141+ Fix issue 126.
142+
143+2008-08-10 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
144+
145+ * src/MMapArea.py
146+ Fix issue 125.
147+
148+2008-08-10 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
149+
150+ * src/MainWindow.py
151+ Set default size something lower so it works with netbook dimensions.
152+
153+2008-07-21 Martin Schaaf <mascha@ma-scha.de>
154+
155+ * src/utils.py
156+ * src/MainWindow.py
157+ * src/MMapArea.py
158+ o fix issue 86 by setting gnome theme default font
159+
160+2008-07-21 Martin Schaaf <mascha@ma-scha.de>
161+
162+ * ChangeLog
163+ o add missing entries
164+
165+2008-07-16 Martin Schaaf <mascha@ma-scha.de>
166+
167+ * src/MMapArea.py
168+ o fix background setting setted to foreground
169+ o set gdk color as default not the tuple
170+
171+2008-07-16 Martin Schaaf <mascha@ma-scha.de>
172+
173+ * src/MMapArea.py
174+ o set "text" and "base" styles as foreground and backgroundcolor for widgets
175+ with text like it is described in the documentation
176+
177+2008-07-16 Martin Schaaf <mascha@ma-scha.de>
178+
179+ * src/TextThought.py
180+ o fix if statement to use correct foreground var
181+
182+2008-07-15 Martin Schaaf <mascha@ma-scha.de>
183+
184+ * src/TextThought.py
185+ o fix issue 96 exception if text foreground color isn't set
186+
187+2008-07-14 Martin Schaaf <mascha@ma-scha.de>
188+
189+ * src/MMapArea.py
190+ * src/MainWindow.py
191+ * src/TextThought.py
192+ o fix AttributeErrors
193+ o remember last selected font, fixes issue 119
194+
195+2008-05-15 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
196+
197+ * help/C/figures/lab_alignment.png
198+ Add the alignment image.
199+
200+2008-05-15 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
201+
202+ * src/ResourceThought.py
203+ Fix webpage loading on Fedora distributions. A protocol
204+ must be given to load the page by the webbrowser module.
205+ * help/C/labyrinth.xml
206+ Add more help.
207+
208+2008-05-13 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
209+
210+ * src/ResourceThought.py
211+ Allow editing of URIs.
212+ * src/Links.py
213+ Deselect links with Escape.
214+
215+2008-05-12 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
216+
217+ * help/C/labyrinth.xml
218+ A paragraph about links. Remove top links for each
219+ section.
220+
221+2008-05-12 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
222+
223+ * help/C/figures
224+ * help/C/figures/lab_browser_start.png
225+ * help/C/figures/lab_map_start.png
226+ * help/C/labyrinth.xml
227+ More help.
228+
229+2008-05-12 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
230+
231+ * src/Browser.py
232+ * help/de
233+ * help/de/de.po
234+ * help/Makefile.am
235+ * Makefile.am
236+ * data/labyrinth.glade
237+ Make help visible to users. Start german translation of help.
238+
239+2008-05-06 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
240+
241+ * src/MainWindow.py
242+ Fix Issue 115.
243+
244+2008-04-29 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
245+
246+ * src/ResourceThought.py
247+ * src/MainWindow.py
248+ Fix severe bug on resource thought creation.
249+
250+2008-04-29 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
251+
252+ * src/ResourceThought.py
253+ Allow editing of a resource thought through right click.
254+
255+2008-04-20 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
256+
257+ * src/ResourceThought.py
258+ * src/TextThought.py
259+ * src/MainWindow.py
260+ * src/MMapArea.py
261+ * src/utils.py
262+ * data/labyrinth-ui.xml
263+ * data/labyrinth.glade
264+ Add resource thoughts, tackling issue 101.
265+
266+2008-04-19 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
267+
268+ * src/labyrinth.py
269+ Minor cleanups like indentation.
270+
271+2008-04-19 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
272+
273+ * src/MainWindow.py
274+ Small refactorizations.
275+
276+2008-04-14 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
277+
278+ * help/
279+ Initial import of user manual.
280+
281+2008-04-13 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
282+
283+ * src/Browser.py
284+ * src/MainWindow.py
285+ Address some problems with the sidebar (Issue 94) such as
286+ auto-showing and expanding.
287+
288+2008-04-13 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
289+
290+ * src/MMapArea.py
291+ Implemented issue 100. However it feels rather strange, so
292+ it should be tested with users.
293+
294+2008-04-11 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
295+
296+ * src/DrawingThought.py
297+ * src/Links.py
298+ * src/TextBufferMarkup.py
299+ * src/UndoManager.py
300+ Refactorizations.
301+
302+2008-04-11 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
303+
304+ * src/Links.py
305+ Add link colors through context menu.
306+
307+2008-04-11 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
308+
309+ * src/MMapArea.py
310+ * src/MainWindow.py
311+ Fixed outline treeview bugs and simplified its code.
312+
313+2008-04-11 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
314+
315+ * src/MMapArea.py
316+ Use a 1-pixel-wide border line for selection box.
317+
318+2008-04-11 Martin Schaaf <mascha@ma-scha.de>
319+
320+ * src/MainWindow.py
321+ Fix exception on maximizing loaded map by calling maximize on
322+ the gtk window not on the labyrinth window object.
323+
324+2008-04-10 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
325+
326+ * src/MMapArea.py
327+ Fix bug and issue 109.
328+
329+2008-04-10 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
330+
331+ * src/MainWindow.py
332+ * src/MMapArea.py
333+ * data/labyrinth-ui.xml
334+ * data/labyrinth.glade
335+ Use Glade for the MapWindow. Added general alignment widgets.
336+
337+2008-04-09 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
338+
339+ * src/MMapArea.py
340+ Move multiple thoughts (fix issue 93). Introduced escape key
341+ deselecting all thoughts.
342+
343+2008-04-08 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
344+
345+ * src/MainWindow.py
346+ * src/MMapArea.py
347+ * src/Browser.py
348+ Save line/bezier state.
349+
350+2008-04-08 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
351+
352+ * src/UndoManager.py
353+ * src/MainWindow.py
354+ * src/MMapArea.py
355+ * src/ImageThought.py
356+ Add undo/redo to context sensitive menu. Use an image item for
357+ change image.
358+
359+2008-04-07 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
360+
361+ * src/DrawingThought.py
362+ * src/BaseThought.py
363+ * src/MMapArea.py
364+ * src/ImageThought.py
365+ * src/TextThought.py
366+ Started working on popup menus. Added image changing through
367+ popup menu.
368+
369+2008-04-06 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
370+
371+ * src/MMapArea.py
372+ Fix bug and update model on thought deletion.
373+
374+2008-04-06 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
375+
376+ * src/MainWindow.py
377+ * src/BaseThought.py
378+ * src/MMapArea.py
379+ * data/labyrinth-ui.xml
380+ Add thought outline (activate throught view -> outline) for
381+ a11y.
382+
383+2008-04-05 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
384+
385+ * src/MMapArea.py
386+ Fix critical bug and use default system font.
387+
388+2008-04-05 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
389+
390+ * src/MainWindow.py
391+ * src/MMapArea.py
392+ * data/labyrinth-ui.xml
393+ * data/labyrinth.glade
394+ Restructured menu bar according to the GNOME HIG.
395+
396+2008-04-05 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
397+
398+ * src/MMapArea.py
399+ * src/TextThought.py
400+ Fix theme colors. Use theme colors for text selection. Reduce
401+ code.
402+
403+2008-04-04 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
404+
405+ * src/Links.py
406+ Use theme colors for links too.
407+
408+2008-04-04 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
409+
410+ * src/utils.py
411+ * src/MMapArea.py
412+ * src/TextThought.py
413+ Use Gtk theme colors and select according to GNOME's HIG.
414+
415+2008-04-04 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
416+
417+ * src/MainWindow.py
418+ * src/MMapArea.py
419+ Update link positions on bezier/line switch.
420+ * po/labyrinth.pot
421+ * po/de.po
422+ Updated german translation.
423+
424+2008-04-03 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
425+
426+ * src/utils.py
427+ * src/MainWindow.py
428+ * src/BaseThought.py
429+ * src/Links.py
430+ * src/MMapArea.py
431+ * data/labyrinth-ui.xml
432+ Add bezier curves as stated in the ideas. It can be activated in the
433+ edit menu.
434+
435+2008-04-03 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
436+
437+ * src/MMapArea.py
438+ Add alignment of thoughts, thus implementing Issue 87.
439+
440 2008-04-03 Martin Schaaf <mascha@ma-scha.de>
441
442 * src/MapList.py
443+ Refactoring of method _at_col_set_value.
444+
445+2008-04-03 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
446+
447+ * po/labyrinth.po
448+ * po/de.po
449+ * src/Browser.py
450+ Translator credits.
451+ * src/utils.py
452+ * src/ImageThough.py
453+ * src/DrawingThought.py
454+ Simplifications.
455+
456+2008-04-03 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
457+
458+ * po/es.po
459+ * po/LINGUAS
460+ Added spanish translation by Peter Gordon.
461+
462+2008-04-02 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
463+
464+ * src/TextThought.py
465+ Fix issue 92.
466+ * po/de.po
467+ Updated german translation.
468+
469+2008-04-02 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
470+
471+ * src/TextThought.py
472+ Refactoring leads to -200 loc.
473+
474+2008-04-02 Martin Schaaf <mascha@ma-scha.de>
475+
476+ * src/MapList.py
477 * src/MainWindow.py
478- Differentiate between index in MapList and index in
479- browser (column id). Column id is used as map index.
480- Calculate new column id from biggest existing column id.
481+ Differentiate between index in MapList and index in browser (column
482+ id). Column id is used as map index. Do not give an untitled map a
483+ number. Calculate new column id from biggest existing column id.
484 Remove map title to map relation because it isn't used.
485- Backport from trunk.
486-
487-== 0.4 ==
488-2008-04-01 Don Scorgie <Don@Scorgie.org>
489-
490- * configure.ac:
491- * NEWS:
492- Version 0.4.0
493-
494- * Windows/WinSetup.bat:
495- Updates for new Windows build
496+ * src/Browser.py
497+ Remove space in string.
498
499 2008-04-01 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
500
501@@ -25,16 +463,29 @@
502
503 2008-03-31 Martin Schaaf <mascha@ma-scha.de>
504
505+ * debian/chnagelog
506+ Add all entries from the rc versions.
507 * configure.ac
508- * debian/changelog
509- Bump version to 0.4.0.
510+ Bump to 0.5.0dev version.
511+
512+2008-03-31 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
513+
514+ * data/labyrinth.glade
515+ * src/MainWindow.py
516+ Beautify drop dead ugly export dialog.
517+ * src/utils.py
518+ Simplification.
519
520 2008-03-29 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
521
522- * src/MainWindow.py
523- * src/utils.py
524- * data/labyrinth.glade
525- Sync with trunk.
526+ * src/MMapArea.py
527+ Inherit color from parent node.
528+
529+2008-03-29 Martin Schaaf <mascha@ma-scha.de>
530+
531+ * src/TextThought.py
532+ o set attribute to none or normal on unsetting (there is more work
533+ todo)
534
535 2008-03-28 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
536
537@@ -47,14 +498,8 @@
538 2008-03-28 Martin Schaaf <mascha@ma-scha.de>
539
540 * src/labyrinth.py
541- o check for pygtk version before gtk is imported like it is
542- said in the pygtk FAQ, fixes Issue 82
543-
544-2008-03-28 Martin Schaaf <mascha@ma-scha.de>
545-
546- * configure.ac
547- * debian/changelog
548- o bumb version to 0.4.0rc7
549+ o check for pygtk version before gtk is imported like it is said in
550+ the pygtk FAQ, fixes Issue 82
551
552 2008-03-28 Martin Schaaf <mascha@ma-scha.de>
553
554@@ -68,18 +513,14 @@
555 * src/Browser.py
556 o raise a AttributeError instead of a deprecated String
557
558-2008-03-27 Martin Schaaf <mascha@ma-scha.de>
559-
560- * configure.ac
561- * debian/changelog
562- o bumb version to 0.4.0rc6
563-
564 2008-03-27 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
565
566 * src/MMapArea.py
567- Sync with trunk. Added selection box.
568+ Fix problem when selecting through an object thus creating a link.
569+ * ChangeLog
570+ Correct changelog date of Martin's last entry.
571
572-2008-03-25 Martin Schaaf <mascha@ma-scha.de>
573+2008-03-27 Martin Schaaf <mascha@ma-scha.de>
574
575 * src/TextThought.py
576 * src/MMapArea.py
577@@ -89,11 +530,14 @@
578 o add font selection support for thoughts, fixes issue 79
579 o change attributes instead of inserting, fixes hopefully issue 53
580
581-2008-03-25 Martin Schaaf <mascha@ma-scha.de>
582+2008-03-26 Don Scorgie <Don@Scorgie.org>
583
584- * configure.ac
585- * debian/changelog
586- o bumb version to 0.4.0rc5
587+ * src/Browser.py:
588+ Only remember browser window size
589+ using gconf when not running
590+ under Windows (gconf isn't available
591+ there. We need another solution)
592+
593
594 2008-03-25 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
595
596@@ -102,9 +546,7 @@
597 * src/MainWindow.py
598 * src/Browser.py
599 * src/ImageThought.py
600- * po/de.po
601- * po/labyrinth.pot
602- Export maps with images as tarball. Sync with trunk.
603+ Export maps with images as tarball.
604
605 2008-03-25 Martin Schaaf <mascha@ma-scha.de>
606
607@@ -116,6 +558,16 @@
608
609 2008-03-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
610
611+ * src/Browser.py
612+ Allow resizing.
613+
614+2008-03-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
615+
616+ * src/MMapArea.py
617+ Add bounding box selection.
618+
619+2008-03-24 Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
620+
621 * src/MMapArea.py
622 More optimizations for issue 55. Partial redraw is done on editing and
623 selecting and off-screen clipping has been simplified.
624
625=== removed file 'INSTALL'
626--- INSTALL 2006-11-14 17:00:25 +0000
627+++ INSTALL 1970-01-01 00:00:00 +0000
628@@ -1,236 +0,0 @@
629-Installation Instructions
630-*************************
631-
632-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
633-Software Foundation, Inc.
634-
635-This file is free documentation; the Free Software Foundation gives
636-unlimited permission to copy, distribute and modify it.
637-
638-Basic Installation
639-==================
640-
641-These are generic installation instructions.
642-
643- The `configure' shell script attempts to guess correct values for
644-various system-dependent variables used during compilation. It uses
645-those values to create a `Makefile' in each directory of the package.
646-It may also create one or more `.h' files containing system-dependent
647-definitions. Finally, it creates a shell script `config.status' that
648-you can run in the future to recreate the current configuration, and a
649-file `config.log' containing compiler output (useful mainly for
650-debugging `configure').
651-
652- It can also use an optional file (typically called `config.cache'
653-and enabled with `--cache-file=config.cache' or simply `-C') that saves
654-the results of its tests to speed up reconfiguring. (Caching is
655-disabled by default to prevent problems with accidental use of stale
656-cache files.)
657-
658- If you need to do unusual things to compile the package, please try
659-to figure out how `configure' could check whether to do them, and mail
660-diffs or instructions to the address given in the `README' so they can
661-be considered for the next release. If you are using the cache, and at
662-some point `config.cache' contains results you don't want to keep, you
663-may remove or edit it.
664-
665- The file `configure.ac' (or `configure.in') is used to create
666-`configure' by a program called `autoconf'. You only need
667-`configure.ac' if you want to change it or regenerate `configure' using
668-a newer version of `autoconf'.
669-
670-The simplest way to compile this package is:
671-
672- 1. `cd' to the directory containing the package's source code and type
673- `./configure' to configure the package for your system. If you're
674- using `csh' on an old version of System V, you might need to type
675- `sh ./configure' instead to prevent `csh' from trying to execute
676- `configure' itself.
677-
678- Running `configure' takes awhile. While running, it prints some
679- messages telling which features it is checking for.
680-
681- 2. Type `make' to compile the package.
682-
683- 3. Optionally, type `make check' to run any self-tests that come with
684- the package.
685-
686- 4. Type `make install' to install the programs and any data files and
687- documentation.
688-
689- 5. You can remove the program binaries and object files from the
690- source code directory by typing `make clean'. To also remove the
691- files that `configure' created (so you can compile the package for
692- a different kind of computer), type `make distclean'. There is
693- also a `make maintainer-clean' target, but that is intended mainly
694- for the package's developers. If you use it, you may have to get
695- all sorts of other programs in order to regenerate files that came
696- with the distribution.
697-
698-Compilers and Options
699-=====================
700-
701-Some systems require unusual options for compilation or linking that the
702-`configure' script does not know about. Run `./configure --help' for
703-details on some of the pertinent environment variables.
704-
705- You can give `configure' initial values for configuration parameters
706-by setting variables in the command line or in the environment. Here
707-is an example:
708-
709- ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
710-
711- *Note Defining Variables::, for more details.
712-
713-Compiling For Multiple Architectures
714-====================================
715-
716-You can compile the package for more than one kind of computer at the
717-same time, by placing the object files for each architecture in their
718-own directory. To do this, you must use a version of `make' that
719-supports the `VPATH' variable, such as GNU `make'. `cd' to the
720-directory where you want the object files and executables to go and run
721-the `configure' script. `configure' automatically checks for the
722-source code in the directory that `configure' is in and in `..'.
723-
724- If you have to use a `make' that does not support the `VPATH'
725-variable, you have to compile the package for one architecture at a
726-time in the source code directory. After you have installed the
727-package for one architecture, use `make distclean' before reconfiguring
728-for another architecture.
729-
730-Installation Names
731-==================
732-
733-By default, `make install' installs the package's commands under
734-`/usr/local/bin', include files under `/usr/local/include', etc. You
735-can specify an installation prefix other than `/usr/local' by giving
736-`configure' the option `--prefix=PREFIX'.
737-
738- You can specify separate installation prefixes for
739-architecture-specific files and architecture-independent files. If you
740-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
741-PREFIX as the prefix for installing programs and libraries.
742-Documentation and other data files still use the regular prefix.
743-
744- In addition, if you use an unusual directory layout you can give
745-options like `--bindir=DIR' to specify different values for particular
746-kinds of files. Run `configure --help' for a list of the directories
747-you can set and what kinds of files go in them.
748-
749- If the package supports it, you can cause programs to be installed
750-with an extra prefix or suffix on their names by giving `configure' the
751-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
752-
753-Optional Features
754-=================
755-
756-Some packages pay attention to `--enable-FEATURE' options to
757-`configure', where FEATURE indicates an optional part of the package.
758-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
759-is something like `gnu-as' or `x' (for the X Window System). The
760-`README' should mention any `--enable-' and `--with-' options that the
761-package recognizes.
762-
763- For packages that use the X Window System, `configure' can usually
764-find the X include and library files automatically, but if it doesn't,
765-you can use the `configure' options `--x-includes=DIR' and
766-`--x-libraries=DIR' to specify their locations.
767-
768-Specifying the System Type
769-==========================
770-
771-There may be some features `configure' cannot figure out automatically,
772-but needs to determine by the type of machine the package will run on.
773-Usually, assuming the package is built to be run on the _same_
774-architectures, `configure' can figure that out, but if it prints a
775-message saying it cannot guess the machine type, give it the
776-`--build=TYPE' option. TYPE can either be a short name for the system
777-type, such as `sun4', or a canonical name which has the form:
778-
779- CPU-COMPANY-SYSTEM
780-
781-where SYSTEM can have one of these forms:
782-
783- OS KERNEL-OS
784-
785- See the file `config.sub' for the possible values of each field. If
786-`config.sub' isn't included in this package, then this package doesn't
787-need to know the machine type.
788-
789- If you are _building_ compiler tools for cross-compiling, you should
790-use the option `--target=TYPE' to select the type of system they will
791-produce code for.
792-
793- If you want to _use_ a cross compiler, that generates code for a
794-platform different from the build platform, you should specify the
795-"host" platform (i.e., that on which the generated programs will
796-eventually be run) with `--host=TYPE'.
797-
798-Sharing Defaults
799-================
800-
801-If you want to set default values for `configure' scripts to share, you
802-can create a site shell script called `config.site' that gives default
803-values for variables like `CC', `cache_file', and `prefix'.
804-`configure' looks for `PREFIX/share/config.site' if it exists, then
805-`PREFIX/etc/config.site' if it exists. Or, you can set the
806-`CONFIG_SITE' environment variable to the location of the site script.
807-A warning: not all `configure' scripts look for a site script.
808-
809-Defining Variables
810-==================
811-
812-Variables not defined in a site shell script can be set in the
813-environment passed to `configure'. However, some packages may run
814-configure again during the build, and the customized values of these
815-variables may be lost. In order to avoid this problem, you should set
816-them in the `configure' command line, using `VAR=value'. For example:
817-
818- ./configure CC=/usr/local2/bin/gcc
819-
820-causes the specified `gcc' to be used as the C compiler (unless it is
821-overridden in the site shell script). Here is a another example:
822-
823- /bin/bash ./configure CONFIG_SHELL=/bin/bash
824-
825-Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
826-configuration-related scripts to be executed by `/bin/bash'.
827-
828-`configure' Invocation
829-======================
830-
831-`configure' recognizes the following options to control how it operates.
832-
833-`--help'
834-`-h'
835- Print a summary of the options to `configure', and exit.
836-
837-`--version'
838-`-V'
839- Print the version of Autoconf used to generate the `configure'
840- script, and exit.
841-
842-`--cache-file=FILE'
843- Enable the cache: use and save the results of the tests in FILE,
844- traditionally `config.cache'. FILE defaults to `/dev/null' to
845- disable caching.
846-
847-`--config-cache'
848-`-C'
849- Alias for `--cache-file=config.cache'.
850-
851-`--quiet'
852-`--silent'
853-`-q'
854- Do not print messages saying which checks are being made. To
855- suppress all normal output, redirect it to `/dev/null' (any error
856- messages will still be shown).
857-
858-`--srcdir=DIR'
859- Look for the package's source code in directory DIR. Usually
860- `configure' can determine that directory automatically.
861-
862-`configure' also accepts some other, not widely useful, options. Run
863-`configure --help' for more details.
864-
865
866=== removed file 'Makefile.am'
867--- Makefile.am 2006-11-14 17:00:25 +0000
868+++ Makefile.am 1970-01-01 00:00:00 +0000
869@@ -1,10 +0,0 @@
870-SUBDIRS = data doc src po
871-
872-DISTCLEANFILES = \
873- intltool-extract \
874- intltool-merge \
875- intltool-update
876-
877-EXTRA_DIST = intltool-update.in \
878- intltool-extract.in \
879- intltool-merge.in
880\ No newline at end of file
881
882=== removed file 'Makefile.in'
883--- Makefile.in 2008-04-02 07:51:05 +0000
884+++ Makefile.in 1970-01-01 00:00:00 +0000
885@@ -1,689 +0,0 @@
886-# Makefile.in generated by automake 1.9.6 from Makefile.am.
887-# @configure_input@
888-
889-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
890-# 2003, 2004, 2005 Free Software Foundation, Inc.
891-# This Makefile.in is free software; the Free Software Foundation
892-# gives unlimited permission to copy and/or distribute it,
893-# with or without modifications, as long as this notice is preserved.
894-
895-# This program is distributed in the hope that it will be useful,
896-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
897-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
898-# PARTICULAR PURPOSE.
899-
900-@SET_MAKE@
901-srcdir = @srcdir@
902-top_srcdir = @top_srcdir@
903-VPATH = @srcdir@
904-pkgdatadir = $(datadir)/@PACKAGE@
905-pkglibdir = $(libdir)/@PACKAGE@
906-pkgincludedir = $(includedir)/@PACKAGE@
907-top_builddir = .
908-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
909-INSTALL = @INSTALL@
910-install_sh_DATA = $(install_sh) -c -m 644
911-install_sh_PROGRAM = $(install_sh) -c
912-install_sh_SCRIPT = $(install_sh) -c
913-INSTALL_HEADER = $(INSTALL_DATA)
914-transform = $(program_transform_name)
915-NORMAL_INSTALL = :
916-PRE_INSTALL = :
917-POST_INSTALL = :
918-NORMAL_UNINSTALL = :
919-PRE_UNINSTALL = :
920-POST_UNINSTALL = :
921-build_triplet = @build@
922-host_triplet = @host@
923-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
924- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
925- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
926- config.guess config.sub install-sh ltmain.sh missing \
927- mkinstalldirs py-compile
928-subdir = .
929-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
930-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
931- $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
932-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
933- $(ACLOCAL_M4)
934-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
935- configure.lineno configure.status.lineno
936-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
937-CONFIG_HEADER = config.h
938-CONFIG_CLEAN_FILES =
939-SOURCES =
940-DIST_SOURCES =
941-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
942- html-recursive info-recursive install-data-recursive \
943- install-exec-recursive install-info-recursive \
944- install-recursive installcheck-recursive installdirs-recursive \
945- pdf-recursive ps-recursive uninstall-info-recursive \
946- uninstall-recursive
947-ETAGS = etags
948-CTAGS = ctags
949-DIST_SUBDIRS = $(SUBDIRS)
950-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
951-distdir = $(PACKAGE)-$(VERSION)
952-top_distdir = $(distdir)
953-am__remove_distdir = \
954- { test ! -d $(distdir) \
955- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
956- && rm -fr $(distdir); }; }
957-DIST_ARCHIVES = $(distdir).tar.gz
958-GZIP_ENV = --best
959-distuninstallcheck_listfiles = find . -type f -print
960-distcleancheck_listfiles = find . -type f -print
961-ACLOCAL = @ACLOCAL@
962-ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
963-ALL_LINGUAS = @ALL_LINGUAS@
964-AMDEP_FALSE = @AMDEP_FALSE@
965-AMDEP_TRUE = @AMDEP_TRUE@
966-AMTAR = @AMTAR@
967-AR = @AR@
968-AUTOCONF = @AUTOCONF@
969-AUTOHEADER = @AUTOHEADER@
970-AUTOMAKE = @AUTOMAKE@
971-AWK = @AWK@
972-CATALOGS = @CATALOGS@
973-CATOBJEXT = @CATOBJEXT@
974-CC = @CC@
975-CCDEPMODE = @CCDEPMODE@
976-CFLAGS = @CFLAGS@
977-CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
978-CPP = @CPP@
979-CPPFLAGS = @CPPFLAGS@
980-CXX = @CXX@
981-CXXCPP = @CXXCPP@
982-CXXDEPMODE = @CXXDEPMODE@
983-CXXFLAGS = @CXXFLAGS@
984-CYGPATH_W = @CYGPATH_W@
985-DATADIR = @DATADIR@
986-DATADIRNAME = @DATADIRNAME@
987-DEFS = @DEFS@
988-DEPDIR = @DEPDIR@
989-ECHO = @ECHO@
990-ECHO_C = @ECHO_C@
991-ECHO_N = @ECHO_N@
992-ECHO_T = @ECHO_T@
993-EGREP = @EGREP@
994-EXEEXT = @EXEEXT@
995-F77 = @F77@
996-FFLAGS = @FFLAGS@
997-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
998-GMOFILES = @GMOFILES@
999-GMSGFMT = @GMSGFMT@
1000-GREP = @GREP@
1001-HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
1002-INSTALL_DATA = @INSTALL_DATA@
1003-INSTALL_PROGRAM = @INSTALL_PROGRAM@
1004-INSTALL_SCRIPT = @INSTALL_SCRIPT@
1005-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1006-INSTOBJEXT = @INSTOBJEXT@
1007-INTLLIBS = @INTLLIBS@
1008-INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
1009-INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
1010-INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
1011-INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
1012-INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
1013-INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
1014-INTLTOOL_MERGE = @INTLTOOL_MERGE@
1015-INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
1016-INTLTOOL_PERL = @INTLTOOL_PERL@
1017-INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
1018-INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
1019-INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
1020-INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
1021-INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
1022-INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
1023-INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
1024-INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
1025-INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
1026-INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
1027-INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
1028-INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
1029-INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
1030-INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
1031-LABYRINTH_CFLAGS = @LABYRINTH_CFLAGS@
1032-LABYRINTH_LIBS = @LABYRINTH_LIBS@
1033-LDFLAGS = @LDFLAGS@
1034-LIBDIR = @LIBDIR@
1035-LIBOBJS = @LIBOBJS@
1036-LIBS = @LIBS@
1037-LIBTOOL = @LIBTOOL@
1038-LN_S = @LN_S@
1039-LTLIBOBJS = @LTLIBOBJS@
1040-MAINT = @MAINT@
1041-MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
1042-MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
1043-MAKEINFO = @MAKEINFO@
1044-MKINSTALLDIRS = @MKINSTALLDIRS@
1045-MSGFMT = @MSGFMT@
1046-MSGFMT_OPTS = @MSGFMT_OPTS@
1047-OBJEXT = @OBJEXT@
1048-PACKAGE = @PACKAGE@
1049-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
1050-PACKAGE_NAME = @PACKAGE_NAME@
1051-PACKAGE_STRING = @PACKAGE_STRING@
1052-PACKAGE_TARNAME = @PACKAGE_TARNAME@
1053-PACKAGE_VERSION = @PACKAGE_VERSION@
1054-PATH_SEPARATOR = @PATH_SEPARATOR@
1055-PKG_CONFIG = @PKG_CONFIG@
1056-POFILES = @POFILES@
1057-POSUB = @POSUB@
1058-PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
1059-PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
1060-PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
1061-PYTHON = @PYTHON@
1062-PYTHONDIR = @PYTHONDIR@
1063-PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
1064-PYTHON_PLATFORM = @PYTHON_PLATFORM@
1065-PYTHON_PREFIX = @PYTHON_PREFIX@
1066-PYTHON_VERSION = @PYTHON_VERSION@
1067-RANLIB = @RANLIB@
1068-SED = @SED@
1069-SET_MAKE = @SET_MAKE@
1070-SHELL = @SHELL@
1071-STRIP = @STRIP@
1072-USE_NLS = @USE_NLS@
1073-VERSION = @VERSION@
1074-XGETTEXT = @XGETTEXT@
1075-ac_ct_CC = @ac_ct_CC@
1076-ac_ct_CXX = @ac_ct_CXX@
1077-ac_ct_F77 = @ac_ct_F77@
1078-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
1079-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
1080-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
1081-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
1082-am__include = @am__include@
1083-am__leading_dot = @am__leading_dot@
1084-am__quote = @am__quote@
1085-am__tar = @am__tar@
1086-am__untar = @am__untar@
1087-bindir = @bindir@
1088-build = @build@
1089-build_alias = @build_alias@
1090-build_cpu = @build_cpu@
1091-build_os = @build_os@
1092-build_vendor = @build_vendor@
1093-datadir = @datadir@
1094-datarootdir = @datarootdir@
1095-docdir = @docdir@
1096-dvidir = @dvidir@
1097-exec_prefix = @exec_prefix@
1098-host = @host@
1099-host_alias = @host_alias@
1100-host_cpu = @host_cpu@
1101-host_os = @host_os@
1102-host_vendor = @host_vendor@
1103-htmldir = @htmldir@
1104-includedir = @includedir@
1105-infodir = @infodir@
1106-install_sh = @install_sh@
1107-libdir = @libdir@
1108-libexecdir = @libexecdir@
1109-localedir = @localedir@
1110-localstatedir = @localstatedir@
1111-mandir = @mandir@
1112-mkdir_p = @mkdir_p@
1113-oldincludedir = @oldincludedir@
1114-pdfdir = @pdfdir@
1115-pkgpyexecdir = @pkgpyexecdir@
1116-pkgpythondir = @pkgpythondir@
1117-prefix = @prefix@
1118-program_transform_name = @program_transform_name@
1119-psdir = @psdir@
1120-pyexecdir = @pyexecdir@
1121-pythondir = @pythondir@
1122-sbindir = @sbindir@
1123-sharedstatedir = @sharedstatedir@
1124-sysconfdir = @sysconfdir@
1125-target_alias = @target_alias@
1126-SUBDIRS = data doc src po
1127-DISTCLEANFILES = \
1128- intltool-extract \
1129- intltool-merge \
1130- intltool-update
1131-
1132-EXTRA_DIST = intltool-update.in \
1133- intltool-extract.in \
1134- intltool-merge.in
1135-
1136-all: config.h
1137- $(MAKE) $(AM_MAKEFLAGS) all-recursive
1138-
1139-.SUFFIXES:
1140-am--refresh:
1141- @:
1142-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
1143- @for dep in $?; do \
1144- case '$(am__configure_deps)' in \
1145- *$$dep*) \
1146- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
1147- cd $(srcdir) && $(AUTOMAKE) --gnu \
1148- && exit 0; \
1149- exit 1;; \
1150- esac; \
1151- done; \
1152- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
1153- cd $(top_srcdir) && \
1154- $(AUTOMAKE) --gnu Makefile
1155-.PRECIOUS: Makefile
1156-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1157- @case '$?' in \
1158- *config.status*) \
1159- echo ' $(SHELL) ./config.status'; \
1160- $(SHELL) ./config.status;; \
1161- *) \
1162- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
1163- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
1164- esac;
1165-
1166-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1167- $(SHELL) ./config.status --recheck
1168-
1169-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1170- cd $(srcdir) && $(AUTOCONF)
1171-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1172- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1173-
1174-config.h: stamp-h1
1175- @if test ! -f $@; then \
1176- rm -f stamp-h1; \
1177- $(MAKE) stamp-h1; \
1178- else :; fi
1179-
1180-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
1181- @rm -f stamp-h1
1182- cd $(top_builddir) && $(SHELL) ./config.status config.h
1183-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1184- cd $(top_srcdir) && $(AUTOHEADER)
1185- rm -f stamp-h1
1186- touch $@
1187-
1188-distclean-hdr:
1189- -rm -f config.h stamp-h1
1190-
1191-mostlyclean-libtool:
1192- -rm -f *.lo
1193-
1194-clean-libtool:
1195- -rm -rf .libs _libs
1196-
1197-distclean-libtool:
1198- -rm -f libtool
1199-uninstall-info-am:
1200-
1201-# This directory's subdirectories are mostly independent; you can cd
1202-# into them and run `make' without going through this Makefile.
1203-# To change the values of `make' variables: instead of editing Makefiles,
1204-# (1) if the variable is set in `config.status', edit `config.status'
1205-# (which will cause the Makefiles to be regenerated when you run `make');
1206-# (2) otherwise, pass the desired values on the `make' command line.
1207-$(RECURSIVE_TARGETS):
1208- @failcom='exit 1'; \
1209- for f in x $$MAKEFLAGS; do \
1210- case $$f in \
1211- *=* | --[!k]*);; \
1212- *k*) failcom='fail=yes';; \
1213- esac; \
1214- done; \
1215- dot_seen=no; \
1216- target=`echo $@ | sed s/-recursive//`; \
1217- list='$(SUBDIRS)'; for subdir in $$list; do \
1218- echo "Making $$target in $$subdir"; \
1219- if test "$$subdir" = "."; then \
1220- dot_seen=yes; \
1221- local_target="$$target-am"; \
1222- else \
1223- local_target="$$target"; \
1224- fi; \
1225- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1226- || eval $$failcom; \
1227- done; \
1228- if test "$$dot_seen" = "no"; then \
1229- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1230- fi; test -z "$$fail"
1231-
1232-mostlyclean-recursive clean-recursive distclean-recursive \
1233-maintainer-clean-recursive:
1234- @failcom='exit 1'; \
1235- for f in x $$MAKEFLAGS; do \
1236- case $$f in \
1237- *=* | --[!k]*);; \
1238- *k*) failcom='fail=yes';; \
1239- esac; \
1240- done; \
1241- dot_seen=no; \
1242- case "$@" in \
1243- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1244- *) list='$(SUBDIRS)' ;; \
1245- esac; \
1246- rev=''; for subdir in $$list; do \
1247- if test "$$subdir" = "."; then :; else \
1248- rev="$$subdir $$rev"; \
1249- fi; \
1250- done; \
1251- rev="$$rev ."; \
1252- target=`echo $@ | sed s/-recursive//`; \
1253- for subdir in $$rev; do \
1254- echo "Making $$target in $$subdir"; \
1255- if test "$$subdir" = "."; then \
1256- local_target="$$target-am"; \
1257- else \
1258- local_target="$$target"; \
1259- fi; \
1260- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1261- || eval $$failcom; \
1262- done && test -z "$$fail"
1263-tags-recursive:
1264- list='$(SUBDIRS)'; for subdir in $$list; do \
1265- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1266- done
1267-ctags-recursive:
1268- list='$(SUBDIRS)'; for subdir in $$list; do \
1269- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1270- done
1271-
1272-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1273- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1274- unique=`for i in $$list; do \
1275- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1276- done | \
1277- $(AWK) ' { files[$$0] = 1; } \
1278- END { for (i in files) print i; }'`; \
1279- mkid -fID $$unique
1280-tags: TAGS
1281-
1282-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
1283- $(TAGS_FILES) $(LISP)
1284- tags=; \
1285- here=`pwd`; \
1286- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1287- include_option=--etags-include; \
1288- empty_fix=.; \
1289- else \
1290- include_option=--include; \
1291- empty_fix=; \
1292- fi; \
1293- list='$(SUBDIRS)'; for subdir in $$list; do \
1294- if test "$$subdir" = .; then :; else \
1295- test ! -f $$subdir/TAGS || \
1296- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1297- fi; \
1298- done; \
1299- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1300- unique=`for i in $$list; do \
1301- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1302- done | \
1303- $(AWK) ' { files[$$0] = 1; } \
1304- END { for (i in files) print i; }'`; \
1305- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1306- test -n "$$unique" || unique=$$empty_fix; \
1307- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1308- $$tags $$unique; \
1309- fi
1310-ctags: CTAGS
1311-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
1312- $(TAGS_FILES) $(LISP)
1313- tags=; \
1314- here=`pwd`; \
1315- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1316- unique=`for i in $$list; do \
1317- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1318- done | \
1319- $(AWK) ' { files[$$0] = 1; } \
1320- END { for (i in files) print i; }'`; \
1321- test -z "$(CTAGS_ARGS)$$tags$$unique" \
1322- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1323- $$tags $$unique
1324-
1325-GTAGS:
1326- here=`$(am__cd) $(top_builddir) && pwd` \
1327- && cd $(top_srcdir) \
1328- && gtags -i $(GTAGS_ARGS) $$here
1329-
1330-distclean-tags:
1331- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1332-
1333-distdir: $(DISTFILES)
1334- $(am__remove_distdir)
1335- mkdir $(distdir)
1336- $(mkdir_p) $(distdir)/m4 $(distdir)/po
1337- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1338- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
1339- list='$(DISTFILES)'; for file in $$list; do \
1340- case $$file in \
1341- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1342- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
1343- esac; \
1344- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1345- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1346- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1347- dir="/$$dir"; \
1348- $(mkdir_p) "$(distdir)$$dir"; \
1349- else \
1350- dir=''; \
1351- fi; \
1352- if test -d $$d/$$file; then \
1353- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1354- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1355- fi; \
1356- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1357- else \
1358- test -f $(distdir)/$$file \
1359- || cp -p $$d/$$file $(distdir)/$$file \
1360- || exit 1; \
1361- fi; \
1362- done
1363- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1364- if test "$$subdir" = .; then :; else \
1365- test -d "$(distdir)/$$subdir" \
1366- || $(mkdir_p) "$(distdir)/$$subdir" \
1367- || exit 1; \
1368- distdir=`$(am__cd) $(distdir) && pwd`; \
1369- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
1370- (cd $$subdir && \
1371- $(MAKE) $(AM_MAKEFLAGS) \
1372- top_distdir="$$top_distdir" \
1373- distdir="$$distdir/$$subdir" \
1374- distdir) \
1375- || exit 1; \
1376- fi; \
1377- done
1378- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1379- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1380- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1381- ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
1382- || chmod -R a+r $(distdir)
1383-dist-gzip: distdir
1384- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1385- $(am__remove_distdir)
1386-
1387-dist-bzip2: distdir
1388- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1389- $(am__remove_distdir)
1390-
1391-dist-tarZ: distdir
1392- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1393- $(am__remove_distdir)
1394-
1395-dist-shar: distdir
1396- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1397- $(am__remove_distdir)
1398-
1399-dist-zip: distdir
1400- -rm -f $(distdir).zip
1401- zip -rq $(distdir).zip $(distdir)
1402- $(am__remove_distdir)
1403-
1404-dist dist-all: distdir
1405- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1406- $(am__remove_distdir)
1407-
1408-# This target untars the dist file and tries a VPATH configuration. Then
1409-# it guarantees that the distribution is self-contained by making another
1410-# tarfile.
1411-distcheck: dist
1412- case '$(DIST_ARCHIVES)' in \
1413- *.tar.gz*) \
1414- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
1415- *.tar.bz2*) \
1416- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1417- *.tar.Z*) \
1418- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1419- *.shar.gz*) \
1420- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
1421- *.zip*) \
1422- unzip $(distdir).zip ;;\
1423- esac
1424- chmod -R a-w $(distdir); chmod a+w $(distdir)
1425- mkdir $(distdir)/_build
1426- mkdir $(distdir)/_inst
1427- chmod a-w $(distdir)
1428- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1429- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1430- && cd $(distdir)/_build \
1431- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1432- $(DISTCHECK_CONFIGURE_FLAGS) \
1433- && $(MAKE) $(AM_MAKEFLAGS) \
1434- && $(MAKE) $(AM_MAKEFLAGS) dvi \
1435- && $(MAKE) $(AM_MAKEFLAGS) check \
1436- && $(MAKE) $(AM_MAKEFLAGS) install \
1437- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1438- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1439- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1440- distuninstallcheck \
1441- && chmod -R a-w "$$dc_install_base" \
1442- && ({ \
1443- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1444- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1445- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1446- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1447- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1448- } || { rm -rf "$$dc_destdir"; exit 1; }) \
1449- && rm -rf "$$dc_destdir" \
1450- && $(MAKE) $(AM_MAKEFLAGS) dist \
1451- && rm -rf $(DIST_ARCHIVES) \
1452- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
1453- $(am__remove_distdir)
1454- @(echo "$(distdir) archives ready for distribution: "; \
1455- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1456- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
1457-distuninstallcheck:
1458- @cd $(distuninstallcheck_dir) \
1459- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1460- || { echo "ERROR: files left after uninstall:" ; \
1461- if test -n "$(DESTDIR)"; then \
1462- echo " (check DESTDIR support)"; \
1463- fi ; \
1464- $(distuninstallcheck_listfiles) ; \
1465- exit 1; } >&2
1466-distcleancheck: distclean
1467- @if test '$(srcdir)' = . ; then \
1468- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1469- exit 1 ; \
1470- fi
1471- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1472- || { echo "ERROR: files left in build directory after distclean:" ; \
1473- $(distcleancheck_listfiles) ; \
1474- exit 1; } >&2
1475-check-am: all-am
1476-check: check-recursive
1477-all-am: Makefile config.h
1478-installdirs: installdirs-recursive
1479-installdirs-am:
1480-install: install-recursive
1481-install-exec: install-exec-recursive
1482-install-data: install-data-recursive
1483-uninstall: uninstall-recursive
1484-
1485-install-am: all-am
1486- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1487-
1488-installcheck: installcheck-recursive
1489-install-strip:
1490- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1491- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1492- `test -z '$(STRIP)' || \
1493- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1494-mostlyclean-generic:
1495-
1496-clean-generic:
1497-
1498-distclean-generic:
1499- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1500- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1501-
1502-maintainer-clean-generic:
1503- @echo "This command is intended for maintainers to use"
1504- @echo "it deletes files that may require special tools to rebuild."
1505-clean: clean-recursive
1506-
1507-clean-am: clean-generic clean-libtool mostlyclean-am
1508-
1509-distclean: distclean-recursive
1510- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1511- -rm -f Makefile
1512-distclean-am: clean-am distclean-generic distclean-hdr \
1513- distclean-libtool distclean-tags
1514-
1515-dvi: dvi-recursive
1516-
1517-dvi-am:
1518-
1519-html: html-recursive
1520-
1521-info: info-recursive
1522-
1523-info-am:
1524-
1525-install-data-am:
1526-
1527-install-exec-am:
1528-
1529-install-info: install-info-recursive
1530-
1531-install-man:
1532-
1533-installcheck-am:
1534-
1535-maintainer-clean: maintainer-clean-recursive
1536- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1537- -rm -rf $(top_srcdir)/autom4te.cache
1538- -rm -f Makefile
1539-maintainer-clean-am: distclean-am maintainer-clean-generic
1540-
1541-mostlyclean: mostlyclean-recursive
1542-
1543-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1544-
1545-pdf: pdf-recursive
1546-
1547-pdf-am:
1548-
1549-ps: ps-recursive
1550-
1551-ps-am:
1552-
1553-uninstall-am: uninstall-info-am
1554-
1555-uninstall-info: uninstall-info-recursive
1556-
1557-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
1558- check-am clean clean-generic clean-libtool clean-recursive \
1559- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
1560- dist-shar dist-tarZ dist-zip distcheck distclean \
1561- distclean-generic distclean-hdr distclean-libtool \
1562- distclean-recursive distclean-tags distcleancheck distdir \
1563- distuninstallcheck dvi dvi-am html html-am info info-am \
1564- install install-am install-data install-data-am install-exec \
1565- install-exec-am install-info install-info-am install-man \
1566- install-strip installcheck installcheck-am installdirs \
1567- installdirs-am maintainer-clean maintainer-clean-generic \
1568- maintainer-clean-recursive mostlyclean mostlyclean-generic \
1569- mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
1570- tags tags-recursive uninstall uninstall-am uninstall-info-am
1571-
1572-# Tell versions [3.59,3.63) of GNU make to not export all variables.
1573-# Otherwise a system limit (for SysV at least) may be exceeded.
1574-.NOEXPORT:
1575
1576=== modified file 'NEWS'
1577--- NEWS 2009-12-21 14:06:13 +0000
1578+++ NEWS 2012-11-10 22:24:21 +0000
1579@@ -1,43 +1,3 @@
1580-01/04/08 v0.4 (Second Coming)
1581--------------
1582-
1583-First, may I introduce two new maintainers for labyrinth:
1584-Martin Schaff
1585-and
1586-Matthias Vogelgesang
1587-The vast majority of the following changes are their work.
1588-
1589-New Features:
1590- * Scaling and scrollable canvas (infinite sized maps!)
1591- * Add support for text attributes (bold, italics, underline and font selection )
1592- * Arrow navigation of thoughts
1593- * Support foreground and background colouring of nodes
1594- * Import and export "labyrinth files" for maps in the form of tarballs
1595- * SVG export
1596- * PDF export
1597- * Save browser window state across instances (UNIX build only)
1598- * Bundle of optimisation work
1599- * Selection using bounding box
1600- * Add crude Windows building support
1601- * Searching in the browser window
1602-
1603-Bugs Fixed:
1604- * So many bugs fixed. Only important ones listed.
1605- * Auto-save maps every 60s (issue #64)
1606- * Create intermediate dirs for savedir (issue #50)
1607- * Links don't disappear any more (issue #62)
1608- * Exception fixed when saving an empty map
1609- * Show a thicker border if there's extended info on a thought (issue #33)
1610- * Check pygtk version before importing it (issue #82)
1611- * Fix incorrect movement undos on occasion (issue #80)
1612-
1613-translations:
1614- * de (Matthias Vogelgesang)
1615- * fa (Pedram Azimaie)
1616- * it (Francesco Fullone)
1617- * pt_BR (Leonardo Gregianin)
1618- * ru (Alexandre Prokoudine)
1619-
1620 12/11/06 v0.3 (Beautiful Insane)
1621 -------------
1622
1623
1624=== removed file 'README'
1625--- README 2006-11-14 17:00:25 +0000
1626+++ README 1970-01-01 00:00:00 +0000
1627@@ -1,144 +0,0 @@
1628-Labyrinth
1629----------
1630-
1631-License
1632--------
1633-
1634-This software is released under the GNU GPL v2 (or later) license. All source
1635-files are included in this, unless explicitly stated in the source file itself.
1636- For copyright owners, please refer to the source files individually.
1637-
1638-The "labyrinth" icon (data/labyrinth.svg and data/labyrinth-*.png) is copyright
1639-Josef Vybíral and is released under the GNU GPL v2 license.
1640-
1641-Please refer to the "COPYING" file for a complete copy of the GNU GPL v2
1642-license.
1643-
1644-All documentation (This file, anything in the docs directory) released with
1645-this package is released as public domain. The documentation, you can do with
1646-as you please.
1647-
1648-What is it?
1649------------
1650-
1651-Labyrinth is a lightweight mind-mapping tool, written in Python using Gtk and
1652-Cairo to do the drawing. It is intended to be as light and intuitive as
1653-possible, but still provide a wide range of powerful features.
1654-
1655-A mind-map is a diagram used to represent words, ideas, tasks or other items
1656-linked to and arranged radially around a central key word or idea. It is used
1657-to generate, visualise, structure and classify ideas, and as an aid in study,
1658-organisation, problem solving, and decision making. (From wikipedia)
1659-
1660-Current Release
1661----------------
1662-
1663-This is v0.3. Note that maps created with this release may be incompatible
1664-with future releases. We will try and minimise this as much as possible, but
1665-be warned that it may happen.
1666-
1667-Currently, Labyrinth provides 3 different types of thoughts, or nodes - Text,
1668-Image and Drawing. Text is the basic standard text node. Images allow you to
1669-insert and scale any supported image file (png, jpeg, svg). Drawings are for
1670-those times when you want to illustrate something, but don't want to fire up
1671-a separate drawing program. It allows you to quickly and easily sketch very
1672-simple line diagrams.
1673-
1674-Requirements
1675-------------
1676-
1677-I don't really know what the exact requirements are. In the configure script,
1678-the following are checked:
1679-Python == 2.4
1680-gtk+ >= 2.8
1681-pygtk-2.0 >= 2.8
1682-pygobject-2.0 >= 2.10
1683-gnome-python-2.0 >= 2.12
1684-gnome-desktop-2.0 >= 2.14
1685-pycairo >= 1.0
1686-
1687-which probably means (to compile) you need the -dev versions of all these
1688-(except Python). Note that although these are checked, it may work with
1689-previous versions. If it does, please let us know and the configure script
1690-can be adapted accordingly.
1691-
1692-How to use it
1693--------------
1694-
1695-From the top directory of the package, run the command:
1696-python src/labyrinth.py
1697-
1698-It can also be installed using the ./configure && make dance thus:
1699-./configure --prefix=<prefix_to_use>
1700-make
1701-make install
1702-
1703-and run with:
1704-labyrinth
1705-
1706-This will open a browser window, showing you all the maps currently available
1707-and allow you to modify / delete them and create new maps. The title is
1708-(currently) the primary thought text(truncated to 27 characters long). This is
1709-usually the first thought created in a new map.
1710-
1711-In a new map, single click somewhere to create a new "thought". This is your
1712-root. Add your main thought to this. Click somewhere else will create a new
1713-thought, linked to the first. To move thoughts around, single-click and drag.
1714-To edit a current thought, double click on it (text thoughts only).
1715-
1716-Drawing and Image thoughts can be resized using their corners / sides.
1717-
1718-Links between thoughts can be created, strengthened and weakened. To create a
1719-new link, in edit mode, click and drag from the "parent" thought to the "child"
1720-thought while holding down the ctrl key. Doing this with a link already in
1721-place will strengthen the link by 1 and dragging from child to parent will
1722-weaken the link by 1. If the link goes to 0 strength (it starts at 2),
1723-the link is deleted. Links can also be created / deleted by selecting both
1724-thoughts (hold down the shift key to select > 1 thought) and choosing
1725-"Edit->(Un)Link Thoughts" from the menu (shortcut: Ctrl-L).
1726-
1727-Loading and saving of maps is in the tomboy style - they are automatically
1728-saved, you shouldn't have to worry about them. For reference anyway, the maps
1729-are saved in ~/.gnome2/labyrinth/<longstring>.map
1730-
1731-a11y, themes and i18n
1732----------------------
1733-
1734-All these are currently missing. The background is always white. The font is
1735-always the same. The interface is always in English.
1736-
1737-This should change soon, with bits 'n pieces marked for translation and
1738-different font sizes allowed. The colours should be changable and (where
1739-possible) follow the current theme.
1740-
1741-I'm also looking at ways of making Labyrinth accessible. Don't know exactly
1742-how to do this yet and my previous attempts at adding simple a11y stuff failed
1743-miserably.
1744-
1745-
1746-Future Plans
1747-------------
1748-
1749-In doc/TheFuture, there are a list of goals for a 1.0 release and for the next
1750-release. Releases are feature-based at this stage. Once all the required
1751-features are in place, a release is made.
1752-
1753-However a release may also be made without all the changes if it is deemed
1754-that this is in the best interest.
1755-
1756-Getting the Latest Development Code
1757------------------------------------
1758-
1759-Development happens in Google SVN. Instructions for grabbing the latest source
1760-can be found at http://code.google.com/p/labyrinth/source
1761-
1762-Helping Out and Questions
1763--------------------------
1764-
1765-If you have any questions about Labyrinth or just want to be part of our gang,
1766-the mailing list address is labyrinth-devel@googlegroups.com
1767-
1768-If you want to help out with developing labyrinth, please let us know on the
1769-mailing list. We aren't just looking for coders. We're looking for packagers,
1770-artists, doc writers, interface designers, web developers, and just about
1771-anyone else.
1772
1773=== added file 'README.rst'
1774--- README.rst 1970-01-01 00:00:00 +0000
1775+++ README.rst 2012-11-10 22:24:21 +0000
1776@@ -0,0 +1,113 @@
1777+Labyrinth
1778+=========
1779+
1780+Labyrinth is a lightweight mind-mapping tool, written in Python using Gtk and
1781+Cairo to do the drawing. It is intended to be as light and intuitive as
1782+possible, but still provide a wide range of powerful features.
1783+
1784+A mind-map is a diagram used to represent words, ideas, tasks or other items
1785+linked to and arranged radially around a central key word or idea. It is used
1786+to generate, visualise, structure and classify ideas, and as an aid in study,
1787+organisation, problem solving, and decision making. (From wikipedia)
1788+
1789+Currently, Labyrinth provides 3 different types of thoughts, or nodes - Text,
1790+Image and Drawing. Text is the basic standard text node. Images allow you to
1791+insert and scale any supported image file (png, jpeg, svg). Drawings are for
1792+those times when you want to illustrate something, but don't want to fire up
1793+a separate drawing program. It allows you to quickly and easily sketch very
1794+simple line diagrams.
1795+
1796+License
1797+-------
1798+
1799+This software is released under the GNU GPL v2 (or later) license. All source
1800+files are included in this, unless explicitly stated in the source file itself.
1801+For copyright owners, please refer to the source files individually.
1802+
1803+The "labyrinth" icon (``data/labyrinth.svg`` and ``data/labyrinth-*.png``) is
1804+copyright Josef Vybíral and is released under the GNU GPL v2 license.
1805+
1806+Please refer to the "COPYING" file for a complete copy of the GNU GPL v2
1807+license.
1808+
1809+All documentation (This file, anything in the docs directory) released with
1810+this package is released as public domain. The documentation, you can do with
1811+as you please.
1812+
1813+Requirements
1814+------------
1815+
1816+* Python >= 2.6
1817+* gtk+
1818+* pygtk
1819+* pygobject
1820+* pycairo
1821+* PyXDG
1822+
1823+The minimum required versions are unknown, but any reasonably recent packages
1824+should work.
1825+
1826+How to use it
1827+-------------
1828+
1829+From the top directory of the package, run the command::
1830+
1831+ ./labyrinth
1832+
1833+You can also install Labyrinth with ``python setup.py install``, and
1834+``./install_data_files.sh`` for icons and translations. It can then be run as
1835+``labyrinth``.
1836+
1837+This will open a browser window, showing you all the maps currently available
1838+and allow you to modify / delete them and create new maps. The title is
1839+(currently) the primary thought text(truncated to 27 characters long). This is
1840+usually the first thought created in a new map.
1841+
1842+In a new map, single click somewhere to create a new "thought". This is your
1843+root. Add your main thought to this. Click somewhere else will create a new
1844+thought, linked to the first. To move thoughts around, single-click and drag.
1845+To edit a current thought, double click on it (text thoughts only).
1846+
1847+Drawing and Image thoughts can be resized using their corners / sides.
1848+
1849+Links between thoughts can be created, strengthened and weakened. To create a
1850+new link, in edit mode, click and drag from the "parent" thought to the "child"
1851+thought while holding down the ctrl key. Doing this with a link already in
1852+place will strengthen the link by 1 and dragging from child to parent will
1853+weaken the link by 1. If the link goes to 0 strength (it starts at 2),
1854+the link is deleted. Links can also be created / deleted by selecting both
1855+thoughts (hold down the shift key to select > 1 thought) and choosing
1856+"Edit->(Un)Link Thoughts" from the menu (shortcut: Ctrl-L).
1857+
1858+Loading and saving of maps is in the tomboy style - they are automatically
1859+saved, you shouldn't have to worry about them. For reference anyway, the maps
1860+are saved in ``~/.gnome2/labyrinth/<longstring>.map``.
1861+
1862+Future Plans
1863+------------
1864+
1865+In ``doc/TheFuture``, there are a list of goals for a 1.0 release and for the next
1866+release. Releases are feature-based at this stage. Once all the required
1867+features are in place, a release is made.
1868+
1869+However a release may also be made without all the changes if it is deemed
1870+that this is in the best interest.
1871+
1872+Getting the Latest Development Code
1873+-----------------------------------
1874+
1875+Development happens on Github. See https://github.com/labyrinth-team/labyrinth
1876+
1877+Helping Out and Questions
1878+-------------------------
1879+
1880+If you have any questions about Labyrinth or just want to be part of our gang,
1881+the mailing list address is labyrinth-devel@googlegroups.com
1882+
1883+If you want to help out with developing labyrinth, please let us know on the
1884+mailing list. We aren't just looking for coders. We're looking for packagers,
1885+artists, doc writers, interface designers, web developers, and just about
1886+anyone else.
1887+
1888+Translations now take place `on Transifex <https://www.transifex.com/projects/p/labyrinth/>`_.
1889+If you want to use Transifex in your language, it's very easy to get started.
1890
1891=== modified file 'Windows/WinSetup.bat'
1892--- Windows/WinSetup.bat 2009-12-21 14:06:13 +0000
1893+++ Windows/WinSetup.bat 2012-11-10 22:24:21 +0000
1894@@ -23,7 +23,6 @@
1895 mkdir dist\data_files\share\locale\cs\LC_MESSAGES
1896 mkdir dist\data_files\share\locale\de\LC_MESSAGES
1897 mkdir dist\data_files\share\locale\eu\LC_MESSAGES
1898-mkdir dist\data_files\share\locale\fa\LC_MESSAGES
1899 mkdir dist\data_files\share\locale\fr\LC_MESSAGES
1900 mkdir dist\data_files\share\locale\it\LC_MESSAGES
1901 mkdir dist\data_files\share\locale\nl\LC_MESSAGES
1902@@ -41,7 +40,6 @@
1903 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\cs\LC_MESSAGES\labyrinth.mo cs.po
1904 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\de\LC_MESSAGES\labyrinth.mo de.po
1905 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\eu\LC_MESSAGES\labyrinth.mo eu.po
1906-c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\fa\LC_MESSAGES\labyrinth.mo fa.po
1907 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\fr\LC_MESSAGES\labyrinth.mo fr.po
1908 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\it\LC_MESSAGES\labyrinth.mo it.po
1909 c:\GetText-Tools\bin\msgfmt.exe -o ..\dist\data_files\share\locale\nl\LC_MESSAGES\labyrinth.mo nl.po
1910@@ -99,7 +97,6 @@
1911 copy c:\GTK\share\locale\cs\LC_MESSAGES dist\data_files\share\locale\cs\LC_MESSAGES
1912 copy c:\GTK\share\locale\de\LC_MESSAGES dist\data_files\share\locale\de\LC_MESSAGES
1913 copy c:\GTK\share\locale\eu\LC_MESSAGES dist\data_files\share\locale\eu\LC_MESSAGES
1914-copy c:\GTK\share\locale\fa\LC_MESSAGES dist\data_files\share\locale\fa\LC_MESSAGES
1915 copy c:\GTK\share\locale\fr\LC_MESSAGES dist\data_files\share\locale\fr\LC_MESSAGES
1916 copy c:\GTK\share\locale\it\LC_MESSAGES dist\data_files\share\locale\it\LC_MESSAGES
1917 copy c:\GTK\share\locale\nl\LC_MESSAGES dist\data_files\share\locale\nl\LC_MESSAGES
1918
1919=== modified file 'Windows/defs.py'
1920--- Windows/defs.py 2008-04-02 07:51:05 +0000
1921+++ Windows/defs.py 2012-11-10 22:24:21 +0000
1922@@ -1,4 +1,4 @@
1923 prefix = ""
1924 DATA_DIR = "glade\\"
1925 VERSION="0.3"
1926-pkgdatadir="glade\\"
1927\ No newline at end of file
1928+pkgdatadir="glade\\"
1929
1930=== modified file 'Windows/winsetup.py'
1931--- Windows/winsetup.py 2008-04-02 07:51:05 +0000
1932+++ Windows/winsetup.py 2012-11-10 22:24:21 +0000
1933@@ -22,7 +22,7 @@
1934 # GNU General Public License, version 2 or later
1935
1936
1937-# for build this on a win32 environment and becames with a standalone distribution
1938+# for build this on a win32 environment and becames with a standalone distribution
1939 # a base python 2.4 for 2in32 instalation must be present
1940 # along with gtk+ development libraries
1941 # pywin32com extensions, reportlab module, pygtk for win32 and pysqlite-1.1.7.win32-py2.4 (current win32 distro install is using this pysqlite 3 version)
1942@@ -50,31 +50,31 @@
1943 import glob
1944 import py2exe
1945
1946-opts = {
1947- "py2exe": {
1948+opts = {
1949+ "py2exe": {
1950 "includes": "cairo,pangocairo,pango,atk,gobject,xml.dom,xml.dom.minidom,threading,shutil,pygtk,gtk,sys,gtk.glade",
1951 "optimize": 2,
1952- "dist_dir": "dist\\data_files",
1953- }
1954-}
1955+ "dist_dir": "dist\\data_files",
1956+ }
1957+}
1958
1959 setup(
1960 name = "Labyrinth",
1961 description = "Labyrinth",
1962 version = "0.3",
1963- windows = [
1964- {
1965- "script": "src\\labyrinth.py",
1966- "icon_resources": [(1, "Windows\labyrinth.ico")]
1967+ windows = [
1968+ {
1969+ "script": "src\\labyrinth.py",
1970+ "icon_resources": [(1, "Windows\labyrinth.ico")]
1971 }],
1972- options = opts,
1973- data_files=[
1974- ("images",
1975- glob.glob("data\\*.png")),
1976- ("data",
1977- glob.glob("data\\*.glade")),
1978- ("data",
1979- glob.glob("data\\*.xml")),
1980- ("",
1981- glob.glob("src\\*.py"))],
1982+ options = opts,
1983+ data_files=[
1984+ ("images",
1985+ glob.glob("data\\*.png")),
1986+ ("data",
1987+ glob.glob("data\\*.glade")),
1988+ ("data",
1989+ glob.glob("data\\*.xml")),
1990+ ("",
1991+ glob.glob("src\\*.py"))],
1992 )
1993
1994=== removed file 'acinclude.m4'
1995--- acinclude.m4 2006-11-14 17:00:25 +0000
1996+++ acinclude.m4 1970-01-01 00:00:00 +0000
1997@@ -1,40 +0,0 @@
1998-dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
1999-dnl
2000-dnl example
2001-dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
2002-dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
2003-
2004-AC_DEFUN([AS_AC_EXPAND],
2005-[
2006- EXP_VAR=[$1]
2007- FROM_VAR=[$2]
2008-
2009- dnl first expand prefix and exec_prefix if necessary
2010- prefix_save=$prefix
2011- exec_prefix_save=$exec_prefix
2012-
2013- dnl if no prefix given, then use /usr/local, the default prefix
2014- if test "x$prefix" = "xNONE"; then
2015- prefix=$ac_default_prefix
2016- fi
2017- dnl if no exec_prefix given, then use prefix
2018- if test "x$exec_prefix" = "xNONE"; then
2019- exec_prefix=$prefix
2020- fi
2021-
2022- full_var="$FROM_VAR"
2023- dnl loop until it doesn't change anymore
2024- while true; do
2025- new_full_var="`eval echo $full_var`"
2026- if test "x$new_full_var"="x$full_var"; then break; fi
2027- full_var=$new_full_var
2028- done
2029-
2030- dnl clean up
2031- full_var=$new_full_var
2032- AC_SUBST([$1], "$full_var")
2033-
2034- dnl restore prefix and exec_prefix
2035- prefix=$prefix_save
2036- exec_prefix=$exec_prefix_save
2037-])
2038
2039=== removed file 'aclocal.m4'
2040--- aclocal.m4 2008-04-02 07:51:05 +0000
2041+++ aclocal.m4 1970-01-01 00:00:00 +0000
2042@@ -1,8283 +0,0 @@
2043-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2044-
2045-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2046-# 2005 Free Software Foundation, Inc.
2047-# This file is free software; the Free Software Foundation
2048-# gives unlimited permission to copy and/or distribute it,
2049-# with or without modifications, as long as this notice is preserved.
2050-
2051-# This program is distributed in the hope that it will be useful,
2052-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
2053-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2054-# PARTICULAR PURPOSE.
2055-
2056-# Copyright (C) 1995-2002 Free Software Foundation, Inc.
2057-# Copyright (C) 2001-2003,2004 Red Hat, Inc.
2058-#
2059-# This file is free software, distributed under the terms of the GNU
2060-# General Public License. As a special exception to the GNU General
2061-# Public License, this file may be distributed as part of a program
2062-# that contains a configuration script generated by Autoconf, under
2063-# the same distribution terms as the rest of that program.
2064-#
2065-# This file can be copied and used freely without restrictions. It can
2066-# be used in projects which are not available under the GNU Public License
2067-# but which still want to provide support for the GNU gettext functionality.
2068-#
2069-# Macro to add for using GNU gettext.
2070-# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
2071-#
2072-# Modified to never use included libintl.
2073-# Owen Taylor <otaylor@redhat.com>, 12/15/1998
2074-#
2075-# Major rework to remove unused code
2076-# Owen Taylor <otaylor@redhat.com>, 12/11/2002
2077-#
2078-# Added better handling of ALL_LINGUAS from GNU gettext version
2079-# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
2080-#
2081-# Modified to require ngettext
2082-# Matthias Clasen <mclasen@redhat.com> 08/06/2004
2083-#
2084-# We need this here as well, since someone might use autoconf-2.5x
2085-# to configure GLib then an older version to configure a package
2086-# using AM_GLIB_GNU_GETTEXT
2087-AC_PREREQ(2.53)
2088-
2089-dnl
2090-dnl We go to great lengths to make sure that aclocal won't
2091-dnl try to pull in the installed version of these macros
2092-dnl when running aclocal in the glib directory.
2093-dnl
2094-m4_copy([AC_DEFUN],[glib_DEFUN])
2095-m4_copy([AC_REQUIRE],[glib_REQUIRE])
2096-dnl
2097-dnl At the end, if we're not within glib, we'll define the public
2098-dnl definitions in terms of our private definitions.
2099-dnl
2100-
2101-# GLIB_LC_MESSAGES
2102-#--------------------
2103-glib_DEFUN([GLIB_LC_MESSAGES],
2104- [AC_CHECK_HEADERS([locale.h])
2105- if test $ac_cv_header_locale_h = yes; then
2106- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
2107- [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
2108- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
2109- if test $am_cv_val_LC_MESSAGES = yes; then
2110- AC_DEFINE(HAVE_LC_MESSAGES, 1,
2111- [Define if your <locale.h> file defines LC_MESSAGES.])
2112- fi
2113- fi])
2114-
2115-# GLIB_PATH_PROG_WITH_TEST
2116-#----------------------------
2117-dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
2118-dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
2119-glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
2120-[# Extract the first word of "$2", so it can be a program name with args.
2121-set dummy $2; ac_word=[$]2
2122-AC_MSG_CHECKING([for $ac_word])
2123-AC_CACHE_VAL(ac_cv_path_$1,
2124-[case "[$]$1" in
2125- /*)
2126- ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
2127- ;;
2128- *)
2129- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2130- for ac_dir in ifelse([$5], , $PATH, [$5]); do
2131- test -z "$ac_dir" && ac_dir=.
2132- if test -f $ac_dir/$ac_word; then
2133- if [$3]; then
2134- ac_cv_path_$1="$ac_dir/$ac_word"
2135- break
2136- fi
2137- fi
2138- done
2139- IFS="$ac_save_ifs"
2140-dnl If no 4th arg is given, leave the cache variable unset,
2141-dnl so AC_PATH_PROGS will keep looking.
2142-ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
2143-])dnl
2144- ;;
2145-esac])dnl
2146-$1="$ac_cv_path_$1"
2147-if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
2148- AC_MSG_RESULT([$]$1)
2149-else
2150- AC_MSG_RESULT(no)
2151-fi
2152-AC_SUBST($1)dnl
2153-])
2154-
2155-# GLIB_WITH_NLS
2156-#-----------------
2157-glib_DEFUN([GLIB_WITH_NLS],
2158- dnl NLS is obligatory
2159- [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2160- USE_NLS=yes
2161- AC_SUBST(USE_NLS)
2162-
2163- gt_cv_have_gettext=no
2164-
2165- CATOBJEXT=NONE
2166- XGETTEXT=:
2167- INTLLIBS=
2168-
2169- AC_CHECK_HEADER(libintl.h,
2170- [gt_cv_func_dgettext_libintl="no"
2171- libintl_extra_libs=""
2172-
2173- #
2174- # First check in libc
2175- #
2176- AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
2177- [AC_TRY_LINK([
2178-#include <libintl.h>
2179-],
2180- [return !ngettext ("","", 1)],
2181- gt_cv_func_ngettext_libc=yes,
2182- gt_cv_func_ngettext_libc=no)
2183- ])
2184-
2185- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
2186- AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
2187- [AC_TRY_LINK([
2188-#include <libintl.h>
2189-],
2190- [return !dgettext ("","")],
2191- gt_cv_func_dgettext_libc=yes,
2192- gt_cv_func_dgettext_libc=no)
2193- ])
2194- fi
2195-
2196- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
2197- AC_CHECK_FUNCS(bind_textdomain_codeset)
2198- fi
2199-
2200- #
2201- # If we don't have everything we want, check in libintl
2202- #
2203- if test "$gt_cv_func_dgettext_libc" != "yes" \
2204- || test "$gt_cv_func_ngettext_libc" != "yes" \
2205- || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
2206-
2207- AC_CHECK_LIB(intl, bindtextdomain,
2208- [AC_CHECK_LIB(intl, ngettext,
2209- [AC_CHECK_LIB(intl, dgettext,
2210- gt_cv_func_dgettext_libintl=yes)])])
2211-
2212- if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
2213- AC_MSG_CHECKING([if -liconv is needed to use gettext])
2214- AC_MSG_RESULT([])
2215- AC_CHECK_LIB(intl, ngettext,
2216- [AC_CHECK_LIB(intl, dcgettext,
2217- [gt_cv_func_dgettext_libintl=yes
2218- libintl_extra_libs=-liconv],
2219- :,-liconv)],
2220- :,-liconv)
2221- fi
2222-
2223- #
2224- # If we found libintl, then check in it for bind_textdomain_codeset();
2225- # we'll prefer libc if neither have bind_textdomain_codeset(),
2226- # and both have dgettext and ngettext
2227- #
2228- if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
2229- glib_save_LIBS="$LIBS"
2230- LIBS="$LIBS -lintl $libintl_extra_libs"
2231- unset ac_cv_func_bind_textdomain_codeset
2232- AC_CHECK_FUNCS(bind_textdomain_codeset)
2233- LIBS="$glib_save_LIBS"
2234-
2235- if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
2236- gt_cv_func_dgettext_libc=no
2237- else
2238- if test "$gt_cv_func_dgettext_libc" = "yes" \
2239- && test "$gt_cv_func_ngettext_libc" = "yes"; then
2240- gt_cv_func_dgettext_libintl=no
2241- fi
2242- fi
2243- fi
2244- fi
2245-
2246- if test "$gt_cv_func_dgettext_libc" = "yes" \
2247- || test "$gt_cv_func_dgettext_libintl" = "yes"; then
2248- gt_cv_have_gettext=yes
2249- fi
2250-
2251- if test "$gt_cv_func_dgettext_libintl" = "yes"; then
2252- INTLLIBS="-lintl $libintl_extra_libs"
2253- fi
2254-
2255- if test "$gt_cv_have_gettext" = "yes"; then
2256- AC_DEFINE(HAVE_GETTEXT,1,
2257- [Define if the GNU gettext() function is already present or preinstalled.])
2258- GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
2259- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
2260- if test "$MSGFMT" != "no"; then
2261- glib_save_LIBS="$LIBS"
2262- LIBS="$LIBS $INTLLIBS"
2263- AC_CHECK_FUNCS(dcgettext)
2264- MSGFMT_OPTS=
2265- AC_MSG_CHECKING([if msgfmt accepts -c])
2266- GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
2267-msgid ""
2268-msgstr ""
2269-"Content-Type: text/plain; charset=UTF-8\n"
2270-"Project-Id-Version: test 1.0\n"
2271-"PO-Revision-Date: 2007-02-15 12:01+0100\n"
2272-"Last-Translator: test <foo@bar.xx>\n"
2273-"Language-Team: C <LL@li.org>\n"
2274-"MIME-Version: 1.0\n"
2275-"Content-Transfer-Encoding: 8bit\n"
2276-], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
2277- AC_SUBST(MSGFMT_OPTS)
2278- AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
2279- GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
2280- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
2281- AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
2282- return _nl_msg_cat_cntr],
2283- [CATOBJEXT=.gmo
2284- DATADIRNAME=share],
2285- [case $host in
2286- *-*-solaris*)
2287- dnl On Solaris, if bind_textdomain_codeset is in libc,
2288- dnl GNU format message catalog is always supported,
2289- dnl since both are added to the libc all together.
2290- dnl Hence, we'd like to go with DATADIRNAME=share and
2291- dnl and CATOBJEXT=.gmo in this case.
2292- AC_CHECK_FUNC(bind_textdomain_codeset,
2293- [CATOBJEXT=.gmo
2294- DATADIRNAME=share],
2295- [CATOBJEXT=.mo
2296- DATADIRNAME=lib])
2297- ;;
2298- *)
2299- CATOBJEXT=.mo
2300- DATADIRNAME=lib
2301- ;;
2302- esac])
2303- LIBS="$glib_save_LIBS"
2304- INSTOBJEXT=.mo
2305- else
2306- gt_cv_have_gettext=no
2307- fi
2308- fi
2309- ])
2310-
2311- if test "$gt_cv_have_gettext" = "yes" ; then
2312- AC_DEFINE(ENABLE_NLS, 1,
2313- [always defined to indicate that i18n is enabled])
2314- fi
2315-
2316- dnl Test whether we really found GNU xgettext.
2317- if test "$XGETTEXT" != ":"; then
2318- dnl If it is not GNU xgettext we define it as : so that the
2319- dnl Makefiles still can work.
2320- if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
2321- : ;
2322- else
2323- AC_MSG_RESULT(
2324- [found xgettext program is not GNU xgettext; ignore it])
2325- XGETTEXT=":"
2326- fi
2327- fi
2328-
2329- # We need to process the po/ directory.
2330- POSUB=po
2331-
2332- AC_OUTPUT_COMMANDS(
2333- [case "$CONFIG_FILES" in *po/Makefile.in*)
2334- sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
2335- esac])
2336-
2337- dnl These rules are solely for the distribution goal. While doing this
2338- dnl we only have to keep exactly one list of the available catalogs
2339- dnl in configure.in.
2340- for lang in $ALL_LINGUAS; do
2341- GMOFILES="$GMOFILES $lang.gmo"
2342- POFILES="$POFILES $lang.po"
2343- done
2344-
2345- dnl Make all variables we use known to autoconf.
2346- AC_SUBST(CATALOGS)
2347- AC_SUBST(CATOBJEXT)
2348- AC_SUBST(DATADIRNAME)
2349- AC_SUBST(GMOFILES)
2350- AC_SUBST(INSTOBJEXT)
2351- AC_SUBST(INTLLIBS)
2352- AC_SUBST(PO_IN_DATADIR_TRUE)
2353- AC_SUBST(PO_IN_DATADIR_FALSE)
2354- AC_SUBST(POFILES)
2355- AC_SUBST(POSUB)
2356- ])
2357-
2358-# AM_GLIB_GNU_GETTEXT
2359-# -------------------
2360-# Do checks necessary for use of gettext. If a suitable implementation
2361-# of gettext is found in either in libintl or in the C library,
2362-# it will set INTLLIBS to the libraries needed for use of gettext
2363-# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
2364-# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
2365-# on various variables needed by the Makefile.in.in installed by
2366-# glib-gettextize.
2367-dnl
2368-glib_DEFUN([GLIB_GNU_GETTEXT],
2369- [AC_REQUIRE([AC_PROG_CC])dnl
2370- AC_REQUIRE([AC_HEADER_STDC])dnl
2371-
2372- GLIB_LC_MESSAGES
2373- GLIB_WITH_NLS
2374-
2375- if test "$gt_cv_have_gettext" = "yes"; then
2376- if test "x$ALL_LINGUAS" = "x"; then
2377- LINGUAS=
2378- else
2379- AC_MSG_CHECKING(for catalogs to be installed)
2380- NEW_LINGUAS=
2381- for presentlang in $ALL_LINGUAS; do
2382- useit=no
2383- if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
2384- desiredlanguages="$LINGUAS"
2385- else
2386- desiredlanguages="$ALL_LINGUAS"
2387- fi
2388- for desiredlang in $desiredlanguages; do
2389- # Use the presentlang catalog if desiredlang is
2390- # a. equal to presentlang, or
2391- # b. a variant of presentlang (because in this case,
2392- # presentlang can be used as a fallback for messages
2393- # which are not translated in the desiredlang catalog).
2394- case "$desiredlang" in
2395- "$presentlang"*) useit=yes;;
2396- esac
2397- done
2398- if test $useit = yes; then
2399- NEW_LINGUAS="$NEW_LINGUAS $presentlang"
2400- fi
2401- done
2402- LINGUAS=$NEW_LINGUAS
2403- AC_MSG_RESULT($LINGUAS)
2404- fi
2405-
2406- dnl Construct list of names of catalog files to be constructed.
2407- if test -n "$LINGUAS"; then
2408- for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
2409- fi
2410- fi
2411-
2412- dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
2413- dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
2414- dnl Try to locate is.
2415- MKINSTALLDIRS=
2416- if test -n "$ac_aux_dir"; then
2417- MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
2418- fi
2419- if test -z "$MKINSTALLDIRS"; then
2420- MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
2421- fi
2422- AC_SUBST(MKINSTALLDIRS)
2423-
2424- dnl Generate list of files to be processed by xgettext which will
2425- dnl be included in po/Makefile.
2426- test -d po || mkdir po
2427- if test "x$srcdir" != "x."; then
2428- if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
2429- posrcprefix="$srcdir/"
2430- else
2431- posrcprefix="../$srcdir/"
2432- fi
2433- else
2434- posrcprefix="../"
2435- fi
2436- rm -f po/POTFILES
2437- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
2438- < $srcdir/po/POTFILES.in > po/POTFILES
2439- ])
2440-
2441-# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
2442-# -------------------------------
2443-# Define VARIABLE to the location where catalog files will
2444-# be installed by po/Makefile.
2445-glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
2446-[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
2447-glib_save_prefix="$prefix"
2448-glib_save_exec_prefix="$exec_prefix"
2449-glib_save_datarootdir="$datarootdir"
2450-test "x$prefix" = xNONE && prefix=$ac_default_prefix
2451-test "x$exec_prefix" = xNONE && exec_prefix=$prefix
2452-datarootdir=`eval echo "${datarootdir}"`
2453-if test "x$CATOBJEXT" = "x.mo" ; then
2454- localedir=`eval echo "${libdir}/locale"`
2455-else
2456- localedir=`eval echo "${datadir}/locale"`
2457-fi
2458-prefix="$glib_save_prefix"
2459-exec_prefix="$glib_save_exec_prefix"
2460-datarootdir="$glib_save_datarootdir"
2461-AC_DEFINE_UNQUOTED($1, "$localedir",
2462- [Define the location where the catalogs will be installed])
2463-])
2464-
2465-dnl
2466-dnl Now the definitions that aclocal will find
2467-dnl
2468-ifdef(glib_configure_in,[],[
2469-AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
2470-AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
2471-])dnl
2472-
2473-# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
2474-#
2475-# Create a temporary file with TEST-FILE as its contents and pass the
2476-# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
2477-# 0 and perform ACTION-IF-FAIL for any other exit status.
2478-AC_DEFUN([GLIB_RUN_PROG],
2479-[cat >conftest.foo <<_ACEOF
2480-$2
2481-_ACEOF
2482-if AC_RUN_LOG([$1 conftest.foo]); then
2483- m4_ifval([$3], [$3], [:])
2484-m4_ifvaln([$4], [else $4])dnl
2485-echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
2486-sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
2487-fi])
2488-
2489-
2490-# gnome-common.m4
2491-#
2492-
2493-dnl GNOME_COMMON_INIT
2494-
2495-AC_DEFUN([GNOME_COMMON_INIT],
2496-[
2497- dnl this macro should come after AC_CONFIG_MACRO_DIR
2498- AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
2499-
2500- dnl ensure that when the Automake generated makefile calls aclocal,
2501- dnl it honours the $ACLOCAL_FLAGS environment variable
2502- ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2503- if test -n "$ac_macro_dir"; then
2504- ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
2505- fi
2506-
2507- AC_SUBST([ACLOCAL_AMFLAGS])
2508-])
2509-
2510-AC_DEFUN([GNOME_DEBUG_CHECK],
2511-[
2512- AC_ARG_ENABLE([debug],
2513- AC_HELP_STRING([--enable-debug],
2514- [turn on debugging]),,
2515- [enable_debug=no])
2516-
2517- if test x$enable_debug = xyes ; then
2518- AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
2519- [Enable additional debugging at the expense of performance and size])
2520- fi
2521-])
2522-
2523-dnl GNOME_MAINTAINER_MODE_DEFINES ()
2524-dnl define DISABLE_DEPRECATED
2525-dnl
2526-AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
2527-[
2528- AC_REQUIRE([AM_MAINTAINER_MODE])
2529-
2530- if test $USE_MAINTAINER_MODE = yes; then
2531- DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
2532- else
2533- DISABLE_DEPRECATED=""
2534- fi
2535- AC_SUBST(DISABLE_DEPRECATED)
2536-])
2537-
2538-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2539-
2540-# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL
2541-
2542-
2543-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2544-# -----------------------------------------------------------
2545-# If this macro is not defined by Autoconf, define it here.
2546-m4_ifdef([AC_PROVIDE_IFELSE],
2547- [],
2548- [m4_define([AC_PROVIDE_IFELSE],
2549- [m4_ifdef([AC_PROVIDE_$1],
2550- [$2], [$3])])])
2551-
2552-
2553-# AC_PROG_LIBTOOL
2554-# ---------------
2555-AC_DEFUN([AC_PROG_LIBTOOL],
2556-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
2557-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
2558-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
2559- AC_PROVIDE_IFELSE([AC_PROG_CXX],
2560- [AC_LIBTOOL_CXX],
2561- [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
2562- ])])
2563-dnl And a similar setup for Fortran 77 support
2564- AC_PROVIDE_IFELSE([AC_PROG_F77],
2565- [AC_LIBTOOL_F77],
2566- [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
2567-])])
2568-
2569-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
2570-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
2571-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
2572- AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2573- [AC_LIBTOOL_GCJ],
2574- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2575- [AC_LIBTOOL_GCJ],
2576- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
2577- [AC_LIBTOOL_GCJ],
2578- [ifdef([AC_PROG_GCJ],
2579- [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2580- ifdef([A][M_PROG_GCJ],
2581- [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2582- ifdef([LT_AC_PROG_GCJ],
2583- [define([LT_AC_PROG_GCJ],
2584- defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
2585-])])# AC_PROG_LIBTOOL
2586-
2587-
2588-# _AC_PROG_LIBTOOL
2589-# ----------------
2590-AC_DEFUN([_AC_PROG_LIBTOOL],
2591-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
2592-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
2593-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
2594-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
2595-
2596-# This can be used to rebuild libtool when needed
2597-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
2598-
2599-# Always use our own libtool.
2600-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2601-AC_SUBST(LIBTOOL)dnl
2602-
2603-# Prevent multiple expansion
2604-define([AC_PROG_LIBTOOL], [])
2605-])# _AC_PROG_LIBTOOL
2606-
2607-
2608-# AC_LIBTOOL_SETUP
2609-# ----------------
2610-AC_DEFUN([AC_LIBTOOL_SETUP],
2611-[AC_PREREQ(2.50)dnl
2612-AC_REQUIRE([AC_ENABLE_SHARED])dnl
2613-AC_REQUIRE([AC_ENABLE_STATIC])dnl
2614-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
2615-AC_REQUIRE([AC_CANONICAL_HOST])dnl
2616-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2617-AC_REQUIRE([AC_PROG_CC])dnl
2618-AC_REQUIRE([AC_PROG_LD])dnl
2619-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
2620-AC_REQUIRE([AC_PROG_NM])dnl
2621-
2622-AC_REQUIRE([AC_PROG_LN_S])dnl
2623-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
2624-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2625-AC_REQUIRE([AC_OBJEXT])dnl
2626-AC_REQUIRE([AC_EXEEXT])dnl
2627-dnl
2628-
2629-AC_LIBTOOL_SYS_MAX_CMD_LEN
2630-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2631-AC_LIBTOOL_OBJDIR
2632-
2633-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
2634-_LT_AC_PROG_ECHO_BACKSLASH
2635-
2636-case $host_os in
2637-aix3*)
2638- # AIX sometimes has problems with the GCC collect2 program. For some
2639- # reason, if we set the COLLECT_NAMES environment variable, the problems
2640- # vanish in a puff of smoke.
2641- if test "X${COLLECT_NAMES+set}" != Xset; then
2642- COLLECT_NAMES=
2643- export COLLECT_NAMES
2644- fi
2645- ;;
2646-esac
2647-
2648-# Sed substitution that helps us do robust quoting. It backslashifies
2649-# metacharacters that are still active within double-quoted strings.
2650-Xsed='sed -e 1s/^X//'
2651-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
2652-
2653-# Same as above, but do not quote variable references.
2654-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
2655-
2656-# Sed substitution to delay expansion of an escaped shell variable in a
2657-# double_quote_subst'ed string.
2658-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2659-
2660-# Sed substitution to avoid accidental globbing in evaled expressions
2661-no_glob_subst='s/\*/\\\*/g'
2662-
2663-# Constants:
2664-rm="rm -f"
2665-
2666-# Global variables:
2667-default_ofile=libtool
2668-can_build_shared=yes
2669-
2670-# All known linkers require a `.a' archive for static linking (except MSVC,
2671-# which needs '.lib').
2672-libext=a
2673-ltmain="$ac_aux_dir/ltmain.sh"
2674-ofile="$default_ofile"
2675-with_gnu_ld="$lt_cv_prog_gnu_ld"
2676-
2677-AC_CHECK_TOOL(AR, ar, false)
2678-AC_CHECK_TOOL(RANLIB, ranlib, :)
2679-AC_CHECK_TOOL(STRIP, strip, :)
2680-
2681-old_CC="$CC"
2682-old_CFLAGS="$CFLAGS"
2683-
2684-# Set sane defaults for various variables
2685-test -z "$AR" && AR=ar
2686-test -z "$AR_FLAGS" && AR_FLAGS=cru
2687-test -z "$AS" && AS=as
2688-test -z "$CC" && CC=cc
2689-test -z "$LTCC" && LTCC=$CC
2690-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
2691-test -z "$DLLTOOL" && DLLTOOL=dlltool
2692-test -z "$LD" && LD=ld
2693-test -z "$LN_S" && LN_S="ln -s"
2694-test -z "$MAGIC_CMD" && MAGIC_CMD=file
2695-test -z "$NM" && NM=nm
2696-test -z "$SED" && SED=sed
2697-test -z "$OBJDUMP" && OBJDUMP=objdump
2698-test -z "$RANLIB" && RANLIB=:
2699-test -z "$STRIP" && STRIP=:
2700-test -z "$ac_objext" && ac_objext=o
2701-
2702-# Determine commands to create old-style static archives.
2703-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
2704-old_postinstall_cmds='chmod 644 $oldlib'
2705-old_postuninstall_cmds=
2706-
2707-if test -n "$RANLIB"; then
2708- case $host_os in
2709- openbsd*)
2710- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
2711- ;;
2712- *)
2713- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
2714- ;;
2715- esac
2716- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2717-fi
2718-
2719-_LT_CC_BASENAME([$compiler])
2720-
2721-# Only perform the check for file, if the check method requires it
2722-case $deplibs_check_method in
2723-file_magic*)
2724- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2725- AC_PATH_MAGIC
2726- fi
2727- ;;
2728-esac
2729-
2730-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
2731-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
2732-enable_win32_dll=yes, enable_win32_dll=no)
2733-
2734-AC_ARG_ENABLE([libtool-lock],
2735- [AC_HELP_STRING([--disable-libtool-lock],
2736- [avoid locking (might break parallel builds)])])
2737-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2738-
2739-AC_ARG_WITH([pic],
2740- [AC_HELP_STRING([--with-pic],
2741- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
2742- [pic_mode="$withval"],
2743- [pic_mode=default])
2744-test -z "$pic_mode" && pic_mode=default
2745-
2746-# Use C for the default configuration in the libtool script
2747-tagname=
2748-AC_LIBTOOL_LANG_C_CONFIG
2749-_LT_AC_TAGCONFIG
2750-])# AC_LIBTOOL_SETUP
2751-
2752-
2753-# _LT_AC_SYS_COMPILER
2754-# -------------------
2755-AC_DEFUN([_LT_AC_SYS_COMPILER],
2756-[AC_REQUIRE([AC_PROG_CC])dnl
2757-
2758-# If no C compiler was specified, use CC.
2759-LTCC=${LTCC-"$CC"}
2760-
2761-# If no C compiler flags were specified, use CFLAGS.
2762-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2763-
2764-# Allow CC to be a program name with arguments.
2765-compiler=$CC
2766-])# _LT_AC_SYS_COMPILER
2767-
2768-
2769-# _LT_CC_BASENAME(CC)
2770-# -------------------
2771-# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2772-AC_DEFUN([_LT_CC_BASENAME],
2773-[for cc_temp in $1""; do
2774- case $cc_temp in
2775- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
2776- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
2777- \-*) ;;
2778- *) break;;
2779- esac
2780-done
2781-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
2782-])
2783-
2784-
2785-# _LT_COMPILER_BOILERPLATE
2786-# ------------------------
2787-# Check for compiler boilerplate output or warnings with
2788-# the simple compiler test code.
2789-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
2790-[AC_REQUIRE([LT_AC_PROG_SED])dnl
2791-ac_outfile=conftest.$ac_objext
2792-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2793-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2794-_lt_compiler_boilerplate=`cat conftest.err`
2795-$rm conftest*
2796-])# _LT_COMPILER_BOILERPLATE
2797-
2798-
2799-# _LT_LINKER_BOILERPLATE
2800-# ----------------------
2801-# Check for linker boilerplate output or warnings with
2802-# the simple link test code.
2803-AC_DEFUN([_LT_LINKER_BOILERPLATE],
2804-[AC_REQUIRE([LT_AC_PROG_SED])dnl
2805-ac_outfile=conftest.$ac_objext
2806-echo "$lt_simple_link_test_code" >conftest.$ac_ext
2807-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2808-_lt_linker_boilerplate=`cat conftest.err`
2809-$rm conftest*
2810-])# _LT_LINKER_BOILERPLATE
2811-
2812-
2813-# _LT_AC_SYS_LIBPATH_AIX
2814-# ----------------------
2815-# Links a minimal program and checks the executable
2816-# for the system default hardcoded library path. In most cases,
2817-# this is /usr/lib:/lib, but when the MPI compilers are used
2818-# the location of the communication and MPI libs are included too.
2819-# If we don't find anything, use the default library path according
2820-# to the aix ld manual.
2821-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
2822-[AC_REQUIRE([LT_AC_PROG_SED])dnl
2823-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2824-lt_aix_libpath_sed='
2825- /Import File Strings/,/^$/ {
2826- /^0/ {
2827- s/^0 *\(.*\)$/\1/
2828- p
2829- }
2830- }'
2831-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2832-# Check for a 64-bit object if we didn't find anything.
2833-if test -z "$aix_libpath"; then
2834- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2835-fi],[])
2836-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2837-])# _LT_AC_SYS_LIBPATH_AIX
2838-
2839-
2840-# _LT_AC_SHELL_INIT(ARG)
2841-# ----------------------
2842-AC_DEFUN([_LT_AC_SHELL_INIT],
2843-[ifdef([AC_DIVERSION_NOTICE],
2844- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2845- [AC_DIVERT_PUSH(NOTICE)])
2846-$1
2847-AC_DIVERT_POP
2848-])# _LT_AC_SHELL_INIT
2849-
2850-
2851-# _LT_AC_PROG_ECHO_BACKSLASH
2852-# --------------------------
2853-# Add some code to the start of the generated configure script which
2854-# will find an echo command which doesn't interpret backslashes.
2855-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
2856-[_LT_AC_SHELL_INIT([
2857-# Check that we are running under the correct shell.
2858-SHELL=${CONFIG_SHELL-/bin/sh}
2859-
2860-case X$ECHO in
2861-X*--fallback-echo)
2862- # Remove one level of quotation (which was required for Make).
2863- ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2864- ;;
2865-esac
2866-
2867-echo=${ECHO-echo}
2868-if test "X[$]1" = X--no-reexec; then
2869- # Discard the --no-reexec flag, and continue.
2870- shift
2871-elif test "X[$]1" = X--fallback-echo; then
2872- # Avoid inline document here, it may be left over
2873- :
2874-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
2875- # Yippee, $echo works!
2876- :
2877-else
2878- # Restart under the correct shell.
2879- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2880-fi
2881-
2882-if test "X[$]1" = X--fallback-echo; then
2883- # used as fallback echo
2884- shift
2885- cat <<EOF
2886-[$]*
2887-EOF
2888- exit 0
2889-fi
2890-
2891-# The HP-UX ksh and POSIX shell print the target directory to stdout
2892-# if CDPATH is set.
2893-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2894-
2895-if test -z "$ECHO"; then
2896-if test "X${echo_test_string+set}" != Xset; then
2897-# find a string as large as possible, as long as the shell can cope with it
2898- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2899- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2900- if (echo_test_string=`eval $cmd`) 2>/dev/null &&
2901- echo_test_string=`eval $cmd` &&
2902- (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2903- then
2904- break
2905- fi
2906- done
2907-fi
2908-
2909-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2910- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2911- test "X$echo_testing_string" = "X$echo_test_string"; then
2912- :
2913-else
2914- # The Solaris, AIX, and Digital Unix default echo programs unquote
2915- # backslashes. This makes it impossible to quote backslashes using
2916- # echo "$something" | sed 's/\\/\\\\/g'
2917- #
2918- # So, first we look for a working echo in the user's PATH.
2919-
2920- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2921- for dir in $PATH /usr/ucb; do
2922- IFS="$lt_save_ifs"
2923- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2924- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2925- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2926- test "X$echo_testing_string" = "X$echo_test_string"; then
2927- echo="$dir/echo"
2928- break
2929- fi
2930- done
2931- IFS="$lt_save_ifs"
2932-
2933- if test "X$echo" = Xecho; then
2934- # We didn't find a better echo, so look for alternatives.
2935- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
2936- echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
2937- test "X$echo_testing_string" = "X$echo_test_string"; then
2938- # This shell has a builtin print -r that does the trick.
2939- echo='print -r'
2940- elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
2941- test "X$CONFIG_SHELL" != X/bin/ksh; then
2942- # If we have ksh, try running configure again with it.
2943- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2944- export ORIGINAL_CONFIG_SHELL
2945- CONFIG_SHELL=/bin/ksh
2946- export CONFIG_SHELL
2947- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2948- else
2949- # Try using printf.
2950- echo='printf %s\n'
2951- if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2952- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2953- test "X$echo_testing_string" = "X$echo_test_string"; then
2954- # Cool, printf works
2955- :
2956- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2957- test "X$echo_testing_string" = 'X\t' &&
2958- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2959- test "X$echo_testing_string" = "X$echo_test_string"; then
2960- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2961- export CONFIG_SHELL
2962- SHELL="$CONFIG_SHELL"
2963- export SHELL
2964- echo="$CONFIG_SHELL [$]0 --fallback-echo"
2965- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2966- test "X$echo_testing_string" = 'X\t' &&
2967- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2968- test "X$echo_testing_string" = "X$echo_test_string"; then
2969- echo="$CONFIG_SHELL [$]0 --fallback-echo"
2970- else
2971- # maybe with a smaller string...
2972- prev=:
2973-
2974- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2975- if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
2976- then
2977- break
2978- fi
2979- prev="$cmd"
2980- done
2981-
2982- if test "$prev" != 'sed 50q "[$]0"'; then
2983- echo_test_string=`eval $prev`
2984- export echo_test_string
2985- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2986- else
2987- # Oops. We lost completely, so just stick with echo.
2988- echo=echo
2989- fi
2990- fi
2991- fi
2992- fi
2993-fi
2994-fi
2995-
2996-# Copy echo and quote the copy suitably for passing to libtool from
2997-# the Makefile, instead of quoting the original, which is used later.
2998-ECHO=$echo
2999-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
3000- ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
3001-fi
3002-
3003-AC_SUBST(ECHO)
3004-])])# _LT_AC_PROG_ECHO_BACKSLASH
3005-
3006-
3007-# _LT_AC_LOCK
3008-# -----------
3009-AC_DEFUN([_LT_AC_LOCK],
3010-[AC_ARG_ENABLE([libtool-lock],
3011- [AC_HELP_STRING([--disable-libtool-lock],
3012- [avoid locking (might break parallel builds)])])
3013-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3014-
3015-# Some flags need to be propagated to the compiler or linker for good
3016-# libtool support.
3017-case $host in
3018-ia64-*-hpux*)
3019- # Find out which ABI we are using.
3020- echo 'int i;' > conftest.$ac_ext
3021- if AC_TRY_EVAL(ac_compile); then
3022- case `/usr/bin/file conftest.$ac_objext` in
3023- *ELF-32*)
3024- HPUX_IA64_MODE="32"
3025- ;;
3026- *ELF-64*)
3027- HPUX_IA64_MODE="64"
3028- ;;
3029- esac
3030- fi
3031- rm -rf conftest*
3032- ;;
3033-*-*-irix6*)
3034- # Find out which ABI we are using.
3035- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
3036- if AC_TRY_EVAL(ac_compile); then
3037- if test "$lt_cv_prog_gnu_ld" = yes; then
3038- case `/usr/bin/file conftest.$ac_objext` in
3039- *32-bit*)
3040- LD="${LD-ld} -melf32bsmip"
3041- ;;
3042- *N32*)
3043- LD="${LD-ld} -melf32bmipn32"
3044- ;;
3045- *64-bit*)
3046- LD="${LD-ld} -melf64bmip"
3047- ;;
3048- esac
3049- else
3050- case `/usr/bin/file conftest.$ac_objext` in
3051- *32-bit*)
3052- LD="${LD-ld} -32"
3053- ;;
3054- *N32*)
3055- LD="${LD-ld} -n32"
3056- ;;
3057- *64-bit*)
3058- LD="${LD-ld} -64"
3059- ;;
3060- esac
3061- fi
3062- fi
3063- rm -rf conftest*
3064- ;;
3065-
3066-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
3067-s390*-*linux*|sparc*-*linux*)
3068- # Find out which ABI we are using.
3069- echo 'int i;' > conftest.$ac_ext
3070- if AC_TRY_EVAL(ac_compile); then
3071- case `/usr/bin/file conftest.o` in
3072- *32-bit*)
3073- case $host in
3074- x86_64-*kfreebsd*-gnu)
3075- LD="${LD-ld} -m elf_i386_fbsd"
3076- ;;
3077- x86_64-*linux*)
3078- LD="${LD-ld} -m elf_i386"
3079- ;;
3080- ppc64-*linux*|powerpc64-*linux*)
3081- LD="${LD-ld} -m elf32ppclinux"
3082- ;;
3083- s390x-*linux*)
3084- LD="${LD-ld} -m elf_s390"
3085- ;;
3086- sparc64-*linux*)
3087- LD="${LD-ld} -m elf32_sparc"
3088- ;;
3089- esac
3090- ;;
3091- *64-bit*)
3092- case $host in
3093- x86_64-*kfreebsd*-gnu)
3094- LD="${LD-ld} -m elf_x86_64_fbsd"
3095- ;;
3096- x86_64-*linux*)
3097- LD="${LD-ld} -m elf_x86_64"
3098- ;;
3099- ppc*-*linux*|powerpc*-*linux*)
3100- LD="${LD-ld} -m elf64ppc"
3101- ;;
3102- s390*-*linux*)
3103- LD="${LD-ld} -m elf64_s390"
3104- ;;
3105- sparc*-*linux*)
3106- LD="${LD-ld} -m elf64_sparc"
3107- ;;
3108- esac
3109- ;;
3110- esac
3111- fi
3112- rm -rf conftest*
3113- ;;
3114-
3115-*-*-sco3.2v5*)
3116- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3117- SAVE_CFLAGS="$CFLAGS"
3118- CFLAGS="$CFLAGS -belf"
3119- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3120- [AC_LANG_PUSH(C)
3121- AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3122- AC_LANG_POP])
3123- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3124- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3125- CFLAGS="$SAVE_CFLAGS"
3126- fi
3127- ;;
3128-sparc*-*solaris*)
3129- # Find out which ABI we are using.
3130- echo 'int i;' > conftest.$ac_ext
3131- if AC_TRY_EVAL(ac_compile); then
3132- case `/usr/bin/file conftest.o` in
3133- *64-bit*)
3134- case $lt_cv_prog_gnu_ld in
3135- yes*) LD="${LD-ld} -m elf64_sparc" ;;
3136- *) LD="${LD-ld} -64" ;;
3137- esac
3138- ;;
3139- esac
3140- fi
3141- rm -rf conftest*
3142- ;;
3143-
3144-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3145-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
3146- AC_CHECK_TOOL(DLLTOOL, dlltool, false)
3147- AC_CHECK_TOOL(AS, as, false)
3148- AC_CHECK_TOOL(OBJDUMP, objdump, false)
3149- ;;
3150- ])
3151-esac
3152-
3153-need_locks="$enable_libtool_lock"
3154-
3155-])# _LT_AC_LOCK
3156-
3157-
3158-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3159-# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3160-# ----------------------------------------------------------------
3161-# Check whether the given compiler option works
3162-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
3163-[AC_REQUIRE([LT_AC_PROG_SED])
3164-AC_CACHE_CHECK([$1], [$2],
3165- [$2=no
3166- ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3167- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3168- lt_compiler_flag="$3"
3169- # Insert the option either (1) after the last *FLAGS variable, or
3170- # (2) before a word containing "conftest.", or (3) at the end.
3171- # Note that $ac_compile itself does not contain backslashes and begins
3172- # with a dollar sign (not a hyphen), so the echo should work correctly.
3173- # The option is referenced via a variable to avoid confusing sed.
3174- lt_compile=`echo "$ac_compile" | $SED \
3175- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3176- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3177- -e 's:$: $lt_compiler_flag:'`
3178- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3179- (eval "$lt_compile" 2>conftest.err)
3180- ac_status=$?
3181- cat conftest.err >&AS_MESSAGE_LOG_FD
3182- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3183- if (exit $ac_status) && test -s "$ac_outfile"; then
3184- # The compiler can only warn and ignore the option if not recognized
3185- # So say no if there are warnings other than the usual output.
3186- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
3187- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3188- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3189- $2=yes
3190- fi
3191- fi
3192- $rm conftest*
3193-])
3194-
3195-if test x"[$]$2" = xyes; then
3196- ifelse([$5], , :, [$5])
3197-else
3198- ifelse([$6], , :, [$6])
3199-fi
3200-])# AC_LIBTOOL_COMPILER_OPTION
3201-
3202-
3203-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3204-# [ACTION-SUCCESS], [ACTION-FAILURE])
3205-# ------------------------------------------------------------
3206-# Check whether the given compiler option works
3207-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
3208-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3209-AC_CACHE_CHECK([$1], [$2],
3210- [$2=no
3211- save_LDFLAGS="$LDFLAGS"
3212- LDFLAGS="$LDFLAGS $3"
3213- echo "$lt_simple_link_test_code" > conftest.$ac_ext
3214- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3215- # The linker can only warn and ignore the option if not recognized
3216- # So say no if there are warnings
3217- if test -s conftest.err; then
3218- # Append any errors to the config.log.
3219- cat conftest.err 1>&AS_MESSAGE_LOG_FD
3220- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
3221- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3222- if diff conftest.exp conftest.er2 >/dev/null; then
3223- $2=yes
3224- fi
3225- else
3226- $2=yes
3227- fi
3228- fi
3229- $rm conftest*
3230- LDFLAGS="$save_LDFLAGS"
3231-])
3232-
3233-if test x"[$]$2" = xyes; then
3234- ifelse([$4], , :, [$4])
3235-else
3236- ifelse([$5], , :, [$5])
3237-fi
3238-])# AC_LIBTOOL_LINKER_OPTION
3239-
3240-
3241-# AC_LIBTOOL_SYS_MAX_CMD_LEN
3242-# --------------------------
3243-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
3244-[# find the maximum length of command line arguments
3245-AC_MSG_CHECKING([the maximum length of command line arguments])
3246-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3247- i=0
3248- teststring="ABCD"
3249-
3250- case $build_os in
3251- msdosdjgpp*)
3252- # On DJGPP, this test can blow up pretty badly due to problems in libc
3253- # (any single argument exceeding 2000 bytes causes a buffer overrun
3254- # during glob expansion). Even if it were fixed, the result of this
3255- # check would be larger than it should be.
3256- lt_cv_sys_max_cmd_len=12288; # 12K is about right
3257- ;;
3258-
3259- gnu*)
3260- # Under GNU Hurd, this test is not required because there is
3261- # no limit to the length of command line arguments.
3262- # Libtool will interpret -1 as no limit whatsoever
3263- lt_cv_sys_max_cmd_len=-1;
3264- ;;
3265-
3266- cygwin* | mingw*)
3267- # On Win9x/ME, this test blows up -- it succeeds, but takes
3268- # about 5 minutes as the teststring grows exponentially.
3269- # Worse, since 9x/ME are not pre-emptively multitasking,
3270- # you end up with a "frozen" computer, even though with patience
3271- # the test eventually succeeds (with a max line length of 256k).
3272- # Instead, let's just punt: use the minimum linelength reported by
3273- # all of the supported platforms: 8192 (on NT/2K/XP).
3274- lt_cv_sys_max_cmd_len=8192;
3275- ;;
3276-
3277- amigaos*)
3278- # On AmigaOS with pdksh, this test takes hours, literally.
3279- # So we just punt and use a minimum line length of 8192.
3280- lt_cv_sys_max_cmd_len=8192;
3281- ;;
3282-
3283- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3284- # This has been around since 386BSD, at least. Likely further.
3285- if test -x /sbin/sysctl; then
3286- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3287- elif test -x /usr/sbin/sysctl; then
3288- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3289- else
3290- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3291- fi
3292- # And add a safety zone
3293- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3294- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3295- ;;
3296-
3297- interix*)
3298- # We know the value 262144 and hardcode it with a safety zone (like BSD)
3299- lt_cv_sys_max_cmd_len=196608
3300- ;;
3301-
3302- osf*)
3303- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3304- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3305- # nice to cause kernel panics so lets avoid the loop below.
3306- # First set a reasonable default.
3307- lt_cv_sys_max_cmd_len=16384
3308- #
3309- if test -x /sbin/sysconfig; then
3310- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3311- *1*) lt_cv_sys_max_cmd_len=-1 ;;
3312- esac
3313- fi
3314- ;;
3315- sco3.2v5*)
3316- lt_cv_sys_max_cmd_len=102400
3317- ;;
3318- sysv5* | sco5v6* | sysv4.2uw2*)
3319- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3320- if test -n "$kargmax"; then
3321- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3322- else
3323- lt_cv_sys_max_cmd_len=32768
3324- fi
3325- ;;
3326- *)
3327- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3328- if test -n "$lt_cv_sys_max_cmd_len"; then
3329- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3330- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3331- else
3332- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3333- while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
3334- = "XX$teststring") >/dev/null 2>&1 &&
3335- new_result=`expr "X$teststring" : ".*" 2>&1` &&
3336- lt_cv_sys_max_cmd_len=$new_result &&
3337- test $i != 17 # 1/2 MB should be enough
3338- do
3339- i=`expr $i + 1`
3340- teststring=$teststring$teststring
3341- done
3342- teststring=
3343- # Add a significant safety factor because C++ compilers can tack on massive
3344- # amounts of additional arguments before passing them to the linker.
3345- # It appears as though 1/2 is a usable value.
3346- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3347- fi
3348- ;;
3349- esac
3350-])
3351-if test -n $lt_cv_sys_max_cmd_len ; then
3352- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3353-else
3354- AC_MSG_RESULT(none)
3355-fi
3356-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
3357-
3358-
3359-# _LT_AC_CHECK_DLFCN
3360-# ------------------
3361-AC_DEFUN([_LT_AC_CHECK_DLFCN],
3362-[AC_CHECK_HEADERS(dlfcn.h)dnl
3363-])# _LT_AC_CHECK_DLFCN
3364-
3365-
3366-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3367-# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3368-# ---------------------------------------------------------------------
3369-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
3370-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3371-if test "$cross_compiling" = yes; then :
3372- [$4]
3373-else
3374- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3375- lt_status=$lt_dlunknown
3376- cat > conftest.$ac_ext <<EOF
3377-[#line __oline__ "configure"
3378-#include "confdefs.h"
3379-
3380-#if HAVE_DLFCN_H
3381-#include <dlfcn.h>
3382-#endif
3383-
3384-#include <stdio.h>
3385-
3386-#ifdef RTLD_GLOBAL
3387-# define LT_DLGLOBAL RTLD_GLOBAL
3388-#else
3389-# ifdef DL_GLOBAL
3390-# define LT_DLGLOBAL DL_GLOBAL
3391-# else
3392-# define LT_DLGLOBAL 0
3393-# endif
3394-#endif
3395-
3396-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3397- find out it does not work in some platform. */
3398-#ifndef LT_DLLAZY_OR_NOW
3399-# ifdef RTLD_LAZY
3400-# define LT_DLLAZY_OR_NOW RTLD_LAZY
3401-# else
3402-# ifdef DL_LAZY
3403-# define LT_DLLAZY_OR_NOW DL_LAZY
3404-# else
3405-# ifdef RTLD_NOW
3406-# define LT_DLLAZY_OR_NOW RTLD_NOW
3407-# else
3408-# ifdef DL_NOW
3409-# define LT_DLLAZY_OR_NOW DL_NOW
3410-# else
3411-# define LT_DLLAZY_OR_NOW 0
3412-# endif
3413-# endif
3414-# endif
3415-# endif
3416-#endif
3417-
3418-#ifdef __cplusplus
3419-extern "C" void exit (int);
3420-#endif
3421-
3422-void fnord() { int i=42;}
3423-int main ()
3424-{
3425- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3426- int status = $lt_dlunknown;
3427-
3428- if (self)
3429- {
3430- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
3431- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3432- /* dlclose (self); */
3433- }
3434- else
3435- puts (dlerror ());
3436-
3437- exit (status);
3438-}]
3439-EOF
3440- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3441- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3442- lt_status=$?
3443- case x$lt_status in
3444- x$lt_dlno_uscore) $1 ;;
3445- x$lt_dlneed_uscore) $2 ;;
3446- x$lt_dlunknown|x*) $3 ;;
3447- esac
3448- else :
3449- # compilation failed
3450- $3
3451- fi
3452-fi
3453-rm -fr conftest*
3454-])# _LT_AC_TRY_DLOPEN_SELF
3455-
3456-
3457-# AC_LIBTOOL_DLOPEN_SELF
3458-# ----------------------
3459-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
3460-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
3461-if test "x$enable_dlopen" != xyes; then
3462- enable_dlopen=unknown
3463- enable_dlopen_self=unknown
3464- enable_dlopen_self_static=unknown
3465-else
3466- lt_cv_dlopen=no
3467- lt_cv_dlopen_libs=
3468-
3469- case $host_os in
3470- beos*)
3471- lt_cv_dlopen="load_add_on"
3472- lt_cv_dlopen_libs=
3473- lt_cv_dlopen_self=yes
3474- ;;
3475-
3476- mingw* | pw32*)
3477- lt_cv_dlopen="LoadLibrary"
3478- lt_cv_dlopen_libs=
3479- ;;
3480-
3481- cygwin*)
3482- lt_cv_dlopen="dlopen"
3483- lt_cv_dlopen_libs=
3484- ;;
3485-
3486- darwin*)
3487- # if libdl is installed we need to link against it
3488- AC_CHECK_LIB([dl], [dlopen],
3489- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3490- lt_cv_dlopen="dyld"
3491- lt_cv_dlopen_libs=
3492- lt_cv_dlopen_self=yes
3493- ])
3494- ;;
3495-
3496- *)
3497- AC_CHECK_FUNC([shl_load],
3498- [lt_cv_dlopen="shl_load"],
3499- [AC_CHECK_LIB([dld], [shl_load],
3500- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
3501- [AC_CHECK_FUNC([dlopen],
3502- [lt_cv_dlopen="dlopen"],
3503- [AC_CHECK_LIB([dl], [dlopen],
3504- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3505- [AC_CHECK_LIB([svld], [dlopen],
3506- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3507- [AC_CHECK_LIB([dld], [dld_link],
3508- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
3509- ])
3510- ])
3511- ])
3512- ])
3513- ])
3514- ;;
3515- esac
3516-
3517- if test "x$lt_cv_dlopen" != xno; then
3518- enable_dlopen=yes
3519- else
3520- enable_dlopen=no
3521- fi
3522-
3523- case $lt_cv_dlopen in
3524- dlopen)
3525- save_CPPFLAGS="$CPPFLAGS"
3526- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3527-
3528- save_LDFLAGS="$LDFLAGS"
3529- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3530-
3531- save_LIBS="$LIBS"
3532- LIBS="$lt_cv_dlopen_libs $LIBS"
3533-
3534- AC_CACHE_CHECK([whether a program can dlopen itself],
3535- lt_cv_dlopen_self, [dnl
3536- _LT_AC_TRY_DLOPEN_SELF(
3537- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3538- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3539- ])
3540-
3541- if test "x$lt_cv_dlopen_self" = xyes; then
3542- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3543- AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3544- lt_cv_dlopen_self_static, [dnl
3545- _LT_AC_TRY_DLOPEN_SELF(
3546- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3547- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3548- ])
3549- fi
3550-
3551- CPPFLAGS="$save_CPPFLAGS"
3552- LDFLAGS="$save_LDFLAGS"
3553- LIBS="$save_LIBS"
3554- ;;
3555- esac
3556-
3557- case $lt_cv_dlopen_self in
3558- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3559- *) enable_dlopen_self=unknown ;;
3560- esac
3561-
3562- case $lt_cv_dlopen_self_static in
3563- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3564- *) enable_dlopen_self_static=unknown ;;
3565- esac
3566-fi
3567-])# AC_LIBTOOL_DLOPEN_SELF
3568-
3569-
3570-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
3571-# ---------------------------------
3572-# Check to see if options -c and -o are simultaneously supported by compiler
3573-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
3574-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3575-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3576-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3577- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3578- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
3579- $rm -r conftest 2>/dev/null
3580- mkdir conftest
3581- cd conftest
3582- mkdir out
3583- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3584-
3585- lt_compiler_flag="-o out/conftest2.$ac_objext"
3586- # Insert the option either (1) after the last *FLAGS variable, or
3587- # (2) before a word containing "conftest.", or (3) at the end.
3588- # Note that $ac_compile itself does not contain backslashes and begins
3589- # with a dollar sign (not a hyphen), so the echo should work correctly.
3590- lt_compile=`echo "$ac_compile" | $SED \
3591- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3592- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3593- -e 's:$: $lt_compiler_flag:'`
3594- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3595- (eval "$lt_compile" 2>out/conftest.err)
3596- ac_status=$?
3597- cat out/conftest.err >&AS_MESSAGE_LOG_FD
3598- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3599- if (exit $ac_status) && test -s out/conftest2.$ac_objext
3600- then
3601- # The compiler can only warn and ignore the option if not recognized
3602- # So say no if there are warnings
3603- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
3604- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
3605- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3606- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3607- fi
3608- fi
3609- chmod u+w . 2>&AS_MESSAGE_LOG_FD
3610- $rm conftest*
3611- # SGI C++ compiler will create directory out/ii_files/ for
3612- # template instantiation
3613- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
3614- $rm out/* && rmdir out
3615- cd ..
3616- rmdir conftest
3617- $rm conftest*
3618-])
3619-])# AC_LIBTOOL_PROG_CC_C_O
3620-
3621-
3622-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
3623-# -----------------------------------------
3624-# Check to see if we can do hard links to lock some files if needed
3625-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
3626-[AC_REQUIRE([_LT_AC_LOCK])dnl
3627-
3628-hard_links="nottested"
3629-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
3630- # do not overwrite the value of need_locks provided by the user
3631- AC_MSG_CHECKING([if we can lock with hard links])
3632- hard_links=yes
3633- $rm conftest*
3634- ln conftest.a conftest.b 2>/dev/null && hard_links=no
3635- touch conftest.a
3636- ln conftest.a conftest.b 2>&5 || hard_links=no
3637- ln conftest.a conftest.b 2>/dev/null && hard_links=no
3638- AC_MSG_RESULT([$hard_links])
3639- if test "$hard_links" = no; then
3640- AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
3641- need_locks=warn
3642- fi
3643-else
3644- need_locks=no
3645-fi
3646-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
3647-
3648-
3649-# AC_LIBTOOL_OBJDIR
3650-# -----------------
3651-AC_DEFUN([AC_LIBTOOL_OBJDIR],
3652-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
3653-[rm -f .libs 2>/dev/null
3654-mkdir .libs 2>/dev/null
3655-if test -d .libs; then
3656- lt_cv_objdir=.libs
3657-else
3658- # MS-DOS does not allow filenames that begin with a dot.
3659- lt_cv_objdir=_libs
3660-fi
3661-rmdir .libs 2>/dev/null])
3662-objdir=$lt_cv_objdir
3663-])# AC_LIBTOOL_OBJDIR
3664-
3665-
3666-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
3667-# ----------------------------------------------
3668-# Check hardcoding attributes.
3669-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
3670-[AC_MSG_CHECKING([how to hardcode library paths into programs])
3671-_LT_AC_TAGVAR(hardcode_action, $1)=
3672-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
3673- test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
3674- test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
3675-
3676- # We can hardcode non-existant directories.
3677- if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
3678- # If the only mechanism to avoid hardcoding is shlibpath_var, we
3679- # have to relink, otherwise we might link with an installed library
3680- # when we should be linking with a yet-to-be-installed one
3681- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
3682- test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
3683- # Linking always hardcodes the temporary library directory.
3684- _LT_AC_TAGVAR(hardcode_action, $1)=relink
3685- else
3686- # We can link without hardcoding, and we can hardcode nonexisting dirs.
3687- _LT_AC_TAGVAR(hardcode_action, $1)=immediate
3688- fi
3689-else
3690- # We cannot hardcode anything, or else we can only hardcode existing
3691- # directories.
3692- _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
3693-fi
3694-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
3695-
3696-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
3697- # Fast installation is not supported
3698- enable_fast_install=no
3699-elif test "$shlibpath_overrides_runpath" = yes ||
3700- test "$enable_shared" = no; then
3701- # Fast installation is not necessary
3702- enable_fast_install=needless
3703-fi
3704-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
3705-
3706-
3707-# AC_LIBTOOL_SYS_LIB_STRIP
3708-# ------------------------
3709-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
3710-[striplib=
3711-old_striplib=
3712-AC_MSG_CHECKING([whether stripping libraries is possible])
3713-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3714- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3715- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3716- AC_MSG_RESULT([yes])
3717-else
3718-# FIXME - insert some real tests, host_os isn't really good enough
3719- case $host_os in
3720- darwin*)
3721- if test -n "$STRIP" ; then
3722- striplib="$STRIP -x"
3723- old_striplib="$STRIP -S"
3724- AC_MSG_RESULT([yes])
3725- else
3726- AC_MSG_RESULT([no])
3727-fi
3728- ;;
3729- *)
3730- AC_MSG_RESULT([no])
3731- ;;
3732- esac
3733-fi
3734-])# AC_LIBTOOL_SYS_LIB_STRIP
3735-
3736-
3737-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3738-# -----------------------------
3739-# PORTME Fill in your ld.so characteristics
3740-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
3741-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3742-AC_MSG_CHECKING([dynamic linker characteristics])
3743-library_names_spec=
3744-libname_spec='lib$name'
3745-soname_spec=
3746-shrext_cmds=".so"
3747-postinstall_cmds=
3748-postuninstall_cmds=
3749-finish_cmds=
3750-finish_eval=
3751-shlibpath_var=
3752-shlibpath_overrides_runpath=unknown
3753-version_type=none
3754-dynamic_linker="$host_os ld.so"
3755-sys_lib_dlsearch_path_spec="/lib /usr/lib"
3756-m4_if($1,[],[
3757-if test "$GCC" = yes; then
3758- case $host_os in
3759- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
3760- *) lt_awk_arg="/^libraries:/" ;;
3761- esac
3762- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3763- if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
3764- # if the path contains ";" then we assume it to be the separator
3765- # otherwise default to the standard path separator (i.e. ":") - it is
3766- # assumed that no part of a normal pathname contains ";" but that should
3767- # okay in the real world where ";" in dirpaths is itself problematic.
3768- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
3769- else
3770- lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3771- fi
3772- # Ok, now we have the path, separated by spaces, we can step through it
3773- # and add multilib dir if necessary.
3774- lt_tmp_lt_search_path_spec=
3775- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
3776- for lt_sys_path in $lt_search_path_spec; do
3777- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
3778- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
3779- else
3780- test -d "$lt_sys_path" && \
3781- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
3782- fi
3783- done
3784- lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
3785-BEGIN {RS=" "; FS="/|\n";} {
3786- lt_foo="";
3787- lt_count=0;
3788- for (lt_i = NF; lt_i > 0; lt_i--) {
3789- if ($lt_i != "" && $lt_i != ".") {
3790- if ($lt_i == "..") {
3791- lt_count++;
3792- } else {
3793- if (lt_count == 0) {
3794- lt_foo="/" $lt_i lt_foo;
3795- } else {
3796- lt_count--;
3797- }
3798- }
3799- }
3800- }
3801- if (lt_foo != "") { lt_freq[[lt_foo]]++; }
3802- if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
3803-}'`
3804- sys_lib_search_path_spec=`echo $lt_search_path_spec`
3805-else
3806- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3807-fi])
3808-need_lib_prefix=unknown
3809-hardcode_into_libs=no
3810-
3811-# when you set need_version to no, make sure it does not cause -set_version
3812-# flags to be left without arguments
3813-need_version=unknown
3814-
3815-case $host_os in
3816-aix3*)
3817- version_type=linux
3818- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3819- shlibpath_var=LIBPATH
3820-
3821- # AIX 3 has no versioning support, so we append a major version to the name.
3822- soname_spec='${libname}${release}${shared_ext}$major'
3823- ;;
3824-
3825-aix4* | aix5*)
3826- version_type=linux
3827- need_lib_prefix=no
3828- need_version=no
3829- hardcode_into_libs=yes
3830- if test "$host_cpu" = ia64; then
3831- # AIX 5 supports IA64
3832- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
3833- shlibpath_var=LD_LIBRARY_PATH
3834- else
3835- # With GCC up to 2.95.x, collect2 would create an import file
3836- # for dependence libraries. The import file would start with
3837- # the line `#! .'. This would cause the generated library to
3838- # depend on `.', always an invalid library. This was fixed in
3839- # development snapshots of GCC prior to 3.0.
3840- case $host_os in
3841- aix4 | aix4.[[01]] | aix4.[[01]].*)
3842- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3843- echo ' yes '
3844- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3845- :
3846- else
3847- can_build_shared=no
3848- fi
3849- ;;
3850- esac
3851- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
3852- # soname into executable. Probably we can add versioning support to
3853- # collect2, so additional links can be useful in future.
3854- if test "$aix_use_runtimelinking" = yes; then
3855- # If using run time linking (on AIX 4.2 or later) use lib<name>.so
3856- # instead of lib<name>.a to let people know that these are not
3857- # typical AIX shared libraries.
3858- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3859- else
3860- # We preserve .a as extension for shared libraries through AIX4.2
3861- # and later when we are not doing run time linking.
3862- library_names_spec='${libname}${release}.a $libname.a'
3863- soname_spec='${libname}${release}${shared_ext}$major'
3864- fi
3865- shlibpath_var=LIBPATH
3866- fi
3867- ;;
3868-
3869-amigaos*)
3870- library_names_spec='$libname.ixlibrary $libname.a'
3871- # Create ${libname}_ixlibrary.a entries in /sys/libs.
3872- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
3873- ;;
3874-
3875-beos*)
3876- library_names_spec='${libname}${shared_ext}'
3877- dynamic_linker="$host_os ld.so"
3878- shlibpath_var=LIBRARY_PATH
3879- ;;
3880-
3881-bsdi[[45]]*)
3882- version_type=linux
3883- need_version=no
3884- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3885- soname_spec='${libname}${release}${shared_ext}$major'
3886- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
3887- shlibpath_var=LD_LIBRARY_PATH
3888- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3889- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3890- # the default ld.so.conf also contains /usr/contrib/lib and
3891- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3892- # libtool to hard-code these into programs
3893- ;;
3894-
3895-cygwin* | mingw* | pw32*)
3896- version_type=windows
3897- shrext_cmds=".dll"
3898- need_version=no
3899- need_lib_prefix=no
3900-
3901- case $GCC,$host_os in
3902- yes,cygwin* | yes,mingw* | yes,pw32*)
3903- library_names_spec='$libname.dll.a'
3904- # DLL is installed to $(libdir)/../bin by postinstall_cmds
3905- postinstall_cmds='base_file=`basename \${file}`~
3906- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3907- dldir=$destdir/`dirname \$dlpath`~
3908- test -d \$dldir || mkdir -p \$dldir~
3909- $install_prog $dir/$dlname \$dldir/$dlname~
3910- chmod a+x \$dldir/$dlname'
3911- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3912- dlpath=$dir/\$dldll~
3913- $rm \$dlpath'
3914- shlibpath_overrides_runpath=yes
3915-
3916- case $host_os in
3917- cygwin*)
3918- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3919- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3920- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3921- ;;
3922- mingw*)
3923- # MinGW DLLs use traditional 'lib' prefix
3924- soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3925- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3926- if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
3927- # It is most probably a Windows format PATH printed by
3928- # mingw gcc, but we are running on Cygwin. Gcc prints its search
3929- # path with ; separators, and with drive letters. We can handle the
3930- # drive letters (cygwin fileutils understands them), so leave them,
3931- # especially as we might pass files found there to a mingw objdump,
3932- # which wouldn't understand a cygwinified path. Ahh.
3933- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3934- else
3935- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3936- fi
3937- ;;
3938- pw32*)
3939- # pw32 DLLs use 'pw' prefix rather than 'lib'
3940- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3941- ;;
3942- esac
3943- ;;
3944-
3945- *)
3946- library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
3947- ;;
3948- esac
3949- dynamic_linker='Win32 ld.exe'
3950- # FIXME: first we should search . and the directory the executable is in
3951- shlibpath_var=PATH
3952- ;;
3953-
3954-darwin* | rhapsody*)
3955- dynamic_linker="$host_os dyld"
3956- version_type=darwin
3957- need_lib_prefix=no
3958- need_version=no
3959- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3960- soname_spec='${libname}${release}${major}$shared_ext'
3961- shlibpath_overrides_runpath=yes
3962- shlibpath_var=DYLD_LIBRARY_PATH
3963- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
3964- m4_if([$1], [],[
3965- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
3966- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3967- ;;
3968-
3969-dgux*)
3970- version_type=linux
3971- need_lib_prefix=no
3972- need_version=no
3973- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
3974- soname_spec='${libname}${release}${shared_ext}$major'
3975- shlibpath_var=LD_LIBRARY_PATH
3976- ;;
3977-
3978-freebsd1*)
3979- dynamic_linker=no
3980- ;;
3981-
3982-freebsd* | dragonfly*)
3983- # DragonFly does not have aout. When/if they implement a new
3984- # versioning mechanism, adjust this.
3985- if test -x /usr/bin/objformat; then
3986- objformat=`/usr/bin/objformat`
3987- else
3988- case $host_os in
3989- freebsd[[123]]*) objformat=aout ;;
3990- *) objformat=elf ;;
3991- esac
3992- fi
3993- version_type=freebsd-$objformat
3994- case $version_type in
3995- freebsd-elf*)
3996- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3997- need_version=no
3998- need_lib_prefix=no
3999- ;;
4000- freebsd-*)
4001- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4002- need_version=yes
4003- ;;
4004- esac
4005- shlibpath_var=LD_LIBRARY_PATH
4006- case $host_os in
4007- freebsd2*)
4008- shlibpath_overrides_runpath=yes
4009- ;;
4010- freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4011- shlibpath_overrides_runpath=yes
4012- hardcode_into_libs=yes
4013- ;;
4014- freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
4015- freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
4016- shlibpath_overrides_runpath=no
4017- hardcode_into_libs=yes
4018- ;;
4019- *) # from 4.6 on, and DragonFly
4020- shlibpath_overrides_runpath=yes
4021- hardcode_into_libs=yes
4022- ;;
4023- esac
4024- ;;
4025-
4026-gnu*)
4027- version_type=linux
4028- need_lib_prefix=no
4029- need_version=no
4030- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4031- soname_spec='${libname}${release}${shared_ext}$major'
4032- shlibpath_var=LD_LIBRARY_PATH
4033- hardcode_into_libs=yes
4034- ;;
4035-
4036-hpux9* | hpux10* | hpux11*)
4037- # Give a soname corresponding to the major version so that dld.sl refuses to
4038- # link against other versions.
4039- version_type=sunos
4040- need_lib_prefix=no
4041- need_version=no
4042- case $host_cpu in
4043- ia64*)
4044- shrext_cmds='.so'
4045- hardcode_into_libs=yes
4046- dynamic_linker="$host_os dld.so"
4047- shlibpath_var=LD_LIBRARY_PATH
4048- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4049- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4050- soname_spec='${libname}${release}${shared_ext}$major'
4051- if test "X$HPUX_IA64_MODE" = X32; then
4052- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4053- else
4054- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4055- fi
4056- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4057- ;;
4058- hppa*64*)
4059- shrext_cmds='.sl'
4060- hardcode_into_libs=yes
4061- dynamic_linker="$host_os dld.sl"
4062- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4063- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4064- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4065- soname_spec='${libname}${release}${shared_ext}$major'
4066- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4067- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4068- ;;
4069- *)
4070- shrext_cmds='.sl'
4071- dynamic_linker="$host_os dld.sl"
4072- shlibpath_var=SHLIB_PATH
4073- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4074- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4075- soname_spec='${libname}${release}${shared_ext}$major'
4076- ;;
4077- esac
4078- # HP-UX runs *really* slowly unless shared libraries are mode 555.
4079- postinstall_cmds='chmod 555 $lib'
4080- ;;
4081-
4082-interix[[3-9]]*)
4083- version_type=linux
4084- need_lib_prefix=no
4085- need_version=no
4086- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4087- soname_spec='${libname}${release}${shared_ext}$major'
4088- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
4089- shlibpath_var=LD_LIBRARY_PATH
4090- shlibpath_overrides_runpath=no
4091- hardcode_into_libs=yes
4092- ;;
4093-
4094-irix5* | irix6* | nonstopux*)
4095- case $host_os in
4096- nonstopux*) version_type=nonstopux ;;
4097- *)
4098- if test "$lt_cv_prog_gnu_ld" = yes; then
4099- version_type=linux
4100- else
4101- version_type=irix
4102- fi ;;
4103- esac
4104- need_lib_prefix=no
4105- need_version=no
4106- soname_spec='${libname}${release}${shared_ext}$major'
4107- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4108- case $host_os in
4109- irix5* | nonstopux*)
4110- libsuff= shlibsuff=
4111- ;;
4112- *)
4113- case $LD in # libtool.m4 will add one of these switches to LD
4114- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
4115- libsuff= shlibsuff= libmagic=32-bit;;
4116- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
4117- libsuff=32 shlibsuff=N32 libmagic=N32;;
4118- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
4119- libsuff=64 shlibsuff=64 libmagic=64-bit;;
4120- *) libsuff= shlibsuff= libmagic=never-match;;
4121- esac
4122- ;;
4123- esac
4124- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
4125- shlibpath_overrides_runpath=no
4126- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4127- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
4128- hardcode_into_libs=yes
4129- ;;
4130-
4131-# No shared lib support for Linux oldld, aout, or coff.
4132-linux*oldld* | linux*aout* | linux*coff*)
4133- dynamic_linker=no
4134- ;;
4135-
4136-# This must be Linux ELF.
4137-linux* | k*bsd*-gnu)
4138- version_type=linux
4139- need_lib_prefix=no
4140- need_version=no
4141- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4142- soname_spec='${libname}${release}${shared_ext}$major'
4143- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4144- shlibpath_var=LD_LIBRARY_PATH
4145- shlibpath_overrides_runpath=no
4146- # This implies no fast_install, which is unacceptable.
4147- # Some rework will be needed to allow for fast_install
4148- # before this can be enabled.
4149- hardcode_into_libs=yes
4150-
4151- # Append ld.so.conf contents to the search path
4152- if test -f /etc/ld.so.conf; then
4153- 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;/^$/d' | tr '\n' ' '`
4154- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4155- fi
4156-
4157- # We used to test for /lib/ld.so.1 and disable shared libraries on
4158- # powerpc, because MkLinux only supported shared libraries with the
4159- # GNU dynamic linker. Since this was broken with cross compilers,
4160- # most powerpc-linux boxes support dynamic linking these days and
4161- # people can always --disable-shared, the test was removed, and we
4162- # assume the GNU/Linux dynamic linker is in use.
4163- dynamic_linker='GNU/Linux ld.so'
4164- ;;
4165-
4166-netbsdelf*-gnu)
4167- version_type=linux
4168- need_lib_prefix=no
4169- need_version=no
4170- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4171- soname_spec='${libname}${release}${shared_ext}$major'
4172- shlibpath_var=LD_LIBRARY_PATH
4173- shlibpath_overrides_runpath=no
4174- hardcode_into_libs=yes
4175- dynamic_linker='NetBSD ld.elf_so'
4176- ;;
4177-
4178-netbsd*)
4179- version_type=sunos
4180- need_lib_prefix=no
4181- need_version=no
4182- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4183- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4184- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4185- dynamic_linker='NetBSD (a.out) ld.so'
4186- else
4187- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4188- soname_spec='${libname}${release}${shared_ext}$major'
4189- dynamic_linker='NetBSD ld.elf_so'
4190- fi
4191- shlibpath_var=LD_LIBRARY_PATH
4192- shlibpath_overrides_runpath=yes
4193- hardcode_into_libs=yes
4194- ;;
4195-
4196-newsos6)
4197- version_type=linux
4198- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4199- shlibpath_var=LD_LIBRARY_PATH
4200- shlibpath_overrides_runpath=yes
4201- ;;
4202-
4203-nto-qnx*)
4204- version_type=linux
4205- need_lib_prefix=no
4206- need_version=no
4207- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4208- soname_spec='${libname}${release}${shared_ext}$major'
4209- shlibpath_var=LD_LIBRARY_PATH
4210- shlibpath_overrides_runpath=yes
4211- ;;
4212-
4213-openbsd*)
4214- version_type=sunos
4215- sys_lib_dlsearch_path_spec="/usr/lib"
4216- need_lib_prefix=no
4217- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
4218- case $host_os in
4219- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
4220- *) need_version=no ;;
4221- esac
4222- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4223- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4224- shlibpath_var=LD_LIBRARY_PATH
4225- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4226- case $host_os in
4227- openbsd2.[[89]] | openbsd2.[[89]].*)
4228- shlibpath_overrides_runpath=no
4229- ;;
4230- *)
4231- shlibpath_overrides_runpath=yes
4232- ;;
4233- esac
4234- else
4235- shlibpath_overrides_runpath=yes
4236- fi
4237- ;;
4238-
4239-os2*)
4240- libname_spec='$name'
4241- shrext_cmds=".dll"
4242- need_lib_prefix=no
4243- library_names_spec='$libname${shared_ext} $libname.a'
4244- dynamic_linker='OS/2 ld.exe'
4245- shlibpath_var=LIBPATH
4246- ;;
4247-
4248-osf3* | osf4* | osf5*)
4249- version_type=osf
4250- need_lib_prefix=no
4251- need_version=no
4252- soname_spec='${libname}${release}${shared_ext}$major'
4253- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4254- shlibpath_var=LD_LIBRARY_PATH
4255- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4256- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4257- ;;
4258-
4259-rdos*)
4260- dynamic_linker=no
4261- ;;
4262-
4263-solaris*)
4264- version_type=linux
4265- need_lib_prefix=no
4266- need_version=no
4267- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4268- soname_spec='${libname}${release}${shared_ext}$major'
4269- shlibpath_var=LD_LIBRARY_PATH
4270- shlibpath_overrides_runpath=yes
4271- hardcode_into_libs=yes
4272- # ldd complains unless libraries are executable
4273- postinstall_cmds='chmod +x $lib'
4274- ;;
4275-
4276-sunos4*)
4277- version_type=sunos
4278- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4279- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4280- shlibpath_var=LD_LIBRARY_PATH
4281- shlibpath_overrides_runpath=yes
4282- if test "$with_gnu_ld" = yes; then
4283- need_lib_prefix=no
4284- fi
4285- need_version=yes
4286- ;;
4287-
4288-sysv4 | sysv4.3*)
4289- version_type=linux
4290- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4291- soname_spec='${libname}${release}${shared_ext}$major'
4292- shlibpath_var=LD_LIBRARY_PATH
4293- case $host_vendor in
4294- sni)
4295- shlibpath_overrides_runpath=no
4296- need_lib_prefix=no
4297- export_dynamic_flag_spec='${wl}-Blargedynsym'
4298- runpath_var=LD_RUN_PATH
4299- ;;
4300- siemens)
4301- need_lib_prefix=no
4302- ;;
4303- motorola)
4304- need_lib_prefix=no
4305- need_version=no
4306- shlibpath_overrides_runpath=no
4307- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4308- ;;
4309- esac
4310- ;;
4311-
4312-sysv4*MP*)
4313- if test -d /usr/nec ;then
4314- version_type=linux
4315- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4316- soname_spec='$libname${shared_ext}.$major'
4317- shlibpath_var=LD_LIBRARY_PATH
4318- fi
4319- ;;
4320-
4321-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4322- version_type=freebsd-elf
4323- need_lib_prefix=no
4324- need_version=no
4325- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4326- soname_spec='${libname}${release}${shared_ext}$major'
4327- shlibpath_var=LD_LIBRARY_PATH
4328- hardcode_into_libs=yes
4329- if test "$with_gnu_ld" = yes; then
4330- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
4331- shlibpath_overrides_runpath=no
4332- else
4333- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
4334- shlibpath_overrides_runpath=yes
4335- case $host_os in
4336- sco3.2v5*)
4337- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
4338- ;;
4339- esac
4340- fi
4341- sys_lib_dlsearch_path_spec='/usr/lib'
4342- ;;
4343-
4344-uts4*)
4345- version_type=linux
4346- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4347- soname_spec='${libname}${release}${shared_ext}$major'
4348- shlibpath_var=LD_LIBRARY_PATH
4349- ;;
4350-
4351-*)
4352- dynamic_linker=no
4353- ;;
4354-esac
4355-AC_MSG_RESULT([$dynamic_linker])
4356-test "$dynamic_linker" = no && can_build_shared=no
4357-
4358-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4359-if test "$GCC" = yes; then
4360- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4361-fi
4362-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4363-
4364-
4365-# _LT_AC_TAGCONFIG
4366-# ----------------
4367-AC_DEFUN([_LT_AC_TAGCONFIG],
4368-[AC_REQUIRE([LT_AC_PROG_SED])dnl
4369-AC_ARG_WITH([tags],
4370- [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
4371- [include additional configurations @<:@automatic@:>@])],
4372- [tagnames="$withval"])
4373-
4374-if test -f "$ltmain" && test -n "$tagnames"; then
4375- if test ! -f "${ofile}"; then
4376- AC_MSG_WARN([output file `$ofile' does not exist])
4377- fi
4378-
4379- if test -z "$LTCC"; then
4380- eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
4381- if test -z "$LTCC"; then
4382- AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
4383- else
4384- AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
4385- fi
4386- fi
4387- if test -z "$LTCFLAGS"; then
4388- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
4389- fi
4390-
4391- # Extract list of available tagged configurations in $ofile.
4392- # Note that this assumes the entire list is on one line.
4393- available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
4394-
4395- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4396- for tagname in $tagnames; do
4397- IFS="$lt_save_ifs"
4398- # Check whether tagname contains only valid characters
4399- case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
4400- "") ;;
4401- *) AC_MSG_ERROR([invalid tag name: $tagname])
4402- ;;
4403- esac
4404-
4405- if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
4406- then
4407- AC_MSG_ERROR([tag name \"$tagname\" already exists])
4408- fi
4409-
4410- # Update the list of available tags.
4411- if test -n "$tagname"; then
4412- echo appending configuration tag \"$tagname\" to $ofile
4413-
4414- case $tagname in
4415- CXX)
4416- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4417- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4418- (test "X$CXX" != "Xg++"))) ; then
4419- AC_LIBTOOL_LANG_CXX_CONFIG
4420- else
4421- tagname=""
4422- fi
4423- ;;
4424-
4425- F77)
4426- if test -n "$F77" && test "X$F77" != "Xno"; then
4427- AC_LIBTOOL_LANG_F77_CONFIG
4428- else
4429- tagname=""
4430- fi
4431- ;;
4432-
4433- GCJ)
4434- if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
4435- AC_LIBTOOL_LANG_GCJ_CONFIG
4436- else
4437- tagname=""
4438- fi
4439- ;;
4440-
4441- RC)
4442- AC_LIBTOOL_LANG_RC_CONFIG
4443- ;;
4444-
4445- *)
4446- AC_MSG_ERROR([Unsupported tag name: $tagname])
4447- ;;
4448- esac
4449-
4450- # Append the new tag name to the list of available tags.
4451- if test -n "$tagname" ; then
4452- available_tags="$available_tags $tagname"
4453- fi
4454- fi
4455- done
4456- IFS="$lt_save_ifs"
4457-
4458- # Now substitute the updated list of available tags.
4459- if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
4460- mv "${ofile}T" "$ofile"
4461- chmod +x "$ofile"
4462- else
4463- rm -f "${ofile}T"
4464- AC_MSG_ERROR([unable to update list of available tagged configurations.])
4465- fi
4466-fi
4467-])# _LT_AC_TAGCONFIG
4468-
4469-
4470-# AC_LIBTOOL_DLOPEN
4471-# -----------------
4472-# enable checks for dlopen support
4473-AC_DEFUN([AC_LIBTOOL_DLOPEN],
4474- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
4475-])# AC_LIBTOOL_DLOPEN
4476-
4477-
4478-# AC_LIBTOOL_WIN32_DLL
4479-# --------------------
4480-# declare package support for building win32 DLLs
4481-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
4482-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
4483-])# AC_LIBTOOL_WIN32_DLL
4484-
4485-
4486-# AC_ENABLE_SHARED([DEFAULT])
4487-# ---------------------------
4488-# implement the --enable-shared flag
4489-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4490-AC_DEFUN([AC_ENABLE_SHARED],
4491-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
4492-AC_ARG_ENABLE([shared],
4493- [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
4494- [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
4495- [p=${PACKAGE-default}
4496- case $enableval in
4497- yes) enable_shared=yes ;;
4498- no) enable_shared=no ;;
4499- *)
4500- enable_shared=no
4501- # Look at the argument we got. We use all the common list separators.
4502- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4503- for pkg in $enableval; do
4504- IFS="$lt_save_ifs"
4505- if test "X$pkg" = "X$p"; then
4506- enable_shared=yes
4507- fi
4508- done
4509- IFS="$lt_save_ifs"
4510- ;;
4511- esac],
4512- [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
4513-])# AC_ENABLE_SHARED
4514-
4515-
4516-# AC_DISABLE_SHARED
4517-# -----------------
4518-# set the default shared flag to --disable-shared
4519-AC_DEFUN([AC_DISABLE_SHARED],
4520-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4521-AC_ENABLE_SHARED(no)
4522-])# AC_DISABLE_SHARED
4523-
4524-
4525-# AC_ENABLE_STATIC([DEFAULT])
4526-# ---------------------------
4527-# implement the --enable-static flag
4528-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4529-AC_DEFUN([AC_ENABLE_STATIC],
4530-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
4531-AC_ARG_ENABLE([static],
4532- [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
4533- [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
4534- [p=${PACKAGE-default}
4535- case $enableval in
4536- yes) enable_static=yes ;;
4537- no) enable_static=no ;;
4538- *)
4539- enable_static=no
4540- # Look at the argument we got. We use all the common list separators.
4541- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4542- for pkg in $enableval; do
4543- IFS="$lt_save_ifs"
4544- if test "X$pkg" = "X$p"; then
4545- enable_static=yes
4546- fi
4547- done
4548- IFS="$lt_save_ifs"
4549- ;;
4550- esac],
4551- [enable_static=]AC_ENABLE_STATIC_DEFAULT)
4552-])# AC_ENABLE_STATIC
4553-
4554-
4555-# AC_DISABLE_STATIC
4556-# -----------------
4557-# set the default static flag to --disable-static
4558-AC_DEFUN([AC_DISABLE_STATIC],
4559-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4560-AC_ENABLE_STATIC(no)
4561-])# AC_DISABLE_STATIC
4562-
4563-
4564-# AC_ENABLE_FAST_INSTALL([DEFAULT])
4565-# ---------------------------------
4566-# implement the --enable-fast-install flag
4567-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4568-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
4569-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
4570-AC_ARG_ENABLE([fast-install],
4571- [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
4572- [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
4573- [p=${PACKAGE-default}
4574- case $enableval in
4575- yes) enable_fast_install=yes ;;
4576- no) enable_fast_install=no ;;
4577- *)
4578- enable_fast_install=no
4579- # Look at the argument we got. We use all the common list separators.
4580- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4581- for pkg in $enableval; do
4582- IFS="$lt_save_ifs"
4583- if test "X$pkg" = "X$p"; then
4584- enable_fast_install=yes
4585- fi
4586- done
4587- IFS="$lt_save_ifs"
4588- ;;
4589- esac],
4590- [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
4591-])# AC_ENABLE_FAST_INSTALL
4592-
4593-
4594-# AC_DISABLE_FAST_INSTALL
4595-# -----------------------
4596-# set the default to --disable-fast-install
4597-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
4598-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4599-AC_ENABLE_FAST_INSTALL(no)
4600-])# AC_DISABLE_FAST_INSTALL
4601-
4602-
4603-# AC_LIBTOOL_PICMODE([MODE])
4604-# --------------------------
4605-# implement the --with-pic flag
4606-# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
4607-AC_DEFUN([AC_LIBTOOL_PICMODE],
4608-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4609-pic_mode=ifelse($#,1,$1,default)
4610-])# AC_LIBTOOL_PICMODE
4611-
4612-
4613-# AC_PROG_EGREP
4614-# -------------
4615-# This is predefined starting with Autoconf 2.54, so this conditional
4616-# definition can be removed once we require Autoconf 2.54 or later.
4617-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
4618-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
4619- [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4620- then ac_cv_prog_egrep='grep -E'
4621- else ac_cv_prog_egrep='egrep'
4622- fi])
4623- EGREP=$ac_cv_prog_egrep
4624- AC_SUBST([EGREP])
4625-])])
4626-
4627-
4628-# AC_PATH_TOOL_PREFIX
4629-# -------------------
4630-# find a file program which can recognize shared library
4631-AC_DEFUN([AC_PATH_TOOL_PREFIX],
4632-[AC_REQUIRE([AC_PROG_EGREP])dnl
4633-AC_MSG_CHECKING([for $1])
4634-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4635-[case $MAGIC_CMD in
4636-[[\\/*] | ?:[\\/]*])
4637- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4638- ;;
4639-*)
4640- lt_save_MAGIC_CMD="$MAGIC_CMD"
4641- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4642-dnl $ac_dummy forces splitting on constant user-supplied paths.
4643-dnl POSIX.2 word splitting is done only on the output of word expansions,
4644-dnl not every word. This closes a longstanding sh security hole.
4645- ac_dummy="ifelse([$2], , $PATH, [$2])"
4646- for ac_dir in $ac_dummy; do
4647- IFS="$lt_save_ifs"
4648- test -z "$ac_dir" && ac_dir=.
4649- if test -f $ac_dir/$1; then
4650- lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4651- if test -n "$file_magic_test_file"; then
4652- case $deplibs_check_method in
4653- "file_magic "*)
4654- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
4655- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4656- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4657- $EGREP "$file_magic_regex" > /dev/null; then
4658- :
4659- else
4660- cat <<EOF 1>&2
4661-
4662-*** Warning: the command libtool uses to detect shared libraries,
4663-*** $file_magic_cmd, produces output that libtool cannot recognize.
4664-*** The result is that libtool may fail to recognize shared libraries
4665-*** as such. This will affect the creation of libtool libraries that
4666-*** depend on shared libraries, but programs linked with such libtool
4667-*** libraries will work regardless of this problem. Nevertheless, you
4668-*** may want to report the problem to your system manager and/or to
4669-*** bug-libtool@gnu.org
4670-
4671-EOF
4672- fi ;;
4673- esac
4674- fi
4675- break
4676- fi
4677- done
4678- IFS="$lt_save_ifs"
4679- MAGIC_CMD="$lt_save_MAGIC_CMD"
4680- ;;
4681-esac])
4682-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4683-if test -n "$MAGIC_CMD"; then
4684- AC_MSG_RESULT($MAGIC_CMD)
4685-else
4686- AC_MSG_RESULT(no)
4687-fi
4688-])# AC_PATH_TOOL_PREFIX
4689-
4690-
4691-# AC_PATH_MAGIC
4692-# -------------
4693-# find a file program which can recognize a shared library
4694-AC_DEFUN([AC_PATH_MAGIC],
4695-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4696-if test -z "$lt_cv_path_MAGIC_CMD"; then
4697- if test -n "$ac_tool_prefix"; then
4698- AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
4699- else
4700- MAGIC_CMD=:
4701- fi
4702-fi
4703-])# AC_PATH_MAGIC
4704-
4705-
4706-# AC_PROG_LD
4707-# ----------
4708-# find the pathname to the GNU or non-GNU linker
4709-AC_DEFUN([AC_PROG_LD],
4710-[AC_ARG_WITH([gnu-ld],
4711- [AC_HELP_STRING([--with-gnu-ld],
4712- [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4713- [test "$withval" = no || with_gnu_ld=yes],
4714- [with_gnu_ld=no])
4715-AC_REQUIRE([LT_AC_PROG_SED])dnl
4716-AC_REQUIRE([AC_PROG_CC])dnl
4717-AC_REQUIRE([AC_CANONICAL_HOST])dnl
4718-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4719-ac_prog=ld
4720-if test "$GCC" = yes; then
4721- # Check if gcc -print-prog-name=ld gives a path.
4722- AC_MSG_CHECKING([for ld used by $CC])
4723- case $host in
4724- *-*-mingw*)
4725- # gcc leaves a trailing carriage return which upsets mingw
4726- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4727- *)
4728- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4729- esac
4730- case $ac_prog in
4731- # Accept absolute paths.
4732- [[\\/]]* | ?:[[\\/]]*)
4733- re_direlt='/[[^/]][[^/]]*/\.\./'
4734- # Canonicalize the pathname of ld
4735- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4736- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4737- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4738- done
4739- test -z "$LD" && LD="$ac_prog"
4740- ;;
4741- "")
4742- # If it fails, then pretend we aren't using GCC.
4743- ac_prog=ld
4744- ;;
4745- *)
4746- # If it is relative, then search for the first ld in PATH.
4747- with_gnu_ld=unknown
4748- ;;
4749- esac
4750-elif test "$with_gnu_ld" = yes; then
4751- AC_MSG_CHECKING([for GNU ld])
4752-else
4753- AC_MSG_CHECKING([for non-GNU ld])
4754-fi
4755-AC_CACHE_VAL(lt_cv_path_LD,
4756-[if test -z "$LD"; then
4757- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4758- for ac_dir in $PATH; do
4759- IFS="$lt_save_ifs"
4760- test -z "$ac_dir" && ac_dir=.
4761- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4762- lt_cv_path_LD="$ac_dir/$ac_prog"
4763- # Check to see if the program is GNU ld. I'd rather use --version,
4764- # but apparently some variants of GNU ld only accept -v.
4765- # Break only if it was the GNU/non-GNU ld that we prefer.
4766- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4767- *GNU* | *'with BFD'*)
4768- test "$with_gnu_ld" != no && break
4769- ;;
4770- *)
4771- test "$with_gnu_ld" != yes && break
4772- ;;
4773- esac
4774- fi
4775- done
4776- IFS="$lt_save_ifs"
4777-else
4778- lt_cv_path_LD="$LD" # Let the user override the test with a path.
4779-fi])
4780-LD="$lt_cv_path_LD"
4781-if test -n "$LD"; then
4782- AC_MSG_RESULT($LD)
4783-else
4784- AC_MSG_RESULT(no)
4785-fi
4786-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4787-AC_PROG_LD_GNU
4788-])# AC_PROG_LD
4789-
4790-
4791-# AC_PROG_LD_GNU
4792-# --------------
4793-AC_DEFUN([AC_PROG_LD_GNU],
4794-[AC_REQUIRE([AC_PROG_EGREP])dnl
4795-AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
4796-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
4797-case `$LD -v 2>&1 </dev/null` in
4798-*GNU* | *'with BFD'*)
4799- lt_cv_prog_gnu_ld=yes
4800- ;;
4801-*)
4802- lt_cv_prog_gnu_ld=no
4803- ;;
4804-esac])
4805-with_gnu_ld=$lt_cv_prog_gnu_ld
4806-])# AC_PROG_LD_GNU
4807-
4808-
4809-# AC_PROG_LD_RELOAD_FLAG
4810-# ----------------------
4811-# find reload flag for linker
4812-# -- PORTME Some linkers may need a different reload flag.
4813-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
4814-[AC_CACHE_CHECK([for $LD option to reload object files],
4815- lt_cv_ld_reload_flag,
4816- [lt_cv_ld_reload_flag='-r'])
4817-reload_flag=$lt_cv_ld_reload_flag
4818-case $reload_flag in
4819-"" | " "*) ;;
4820-*) reload_flag=" $reload_flag" ;;
4821-esac
4822-reload_cmds='$LD$reload_flag -o $output$reload_objs'
4823-case $host_os in
4824- darwin*)
4825- if test "$GCC" = yes; then
4826- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4827- else
4828- reload_cmds='$LD$reload_flag -o $output$reload_objs'
4829- fi
4830- ;;
4831-esac
4832-])# AC_PROG_LD_RELOAD_FLAG
4833-
4834-
4835-# AC_DEPLIBS_CHECK_METHOD
4836-# -----------------------
4837-# how to check for library dependencies
4838-# -- PORTME fill in with the dynamic library characteristics
4839-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
4840-[AC_CACHE_CHECK([how to recognize dependent libraries],
4841-lt_cv_deplibs_check_method,
4842-[lt_cv_file_magic_cmd='$MAGIC_CMD'
4843-lt_cv_file_magic_test_file=
4844-lt_cv_deplibs_check_method='unknown'
4845-# Need to set the preceding variable on all platforms that support
4846-# interlibrary dependencies.
4847-# 'none' -- dependencies not supported.
4848-# `unknown' -- same as none, but documents that we really don't know.
4849-# 'pass_all' -- all dependencies passed with no checks.
4850-# 'test_compile' -- check by making test program.
4851-# 'file_magic [[regex]]' -- check by looking for files in library path
4852-# which responds to the $file_magic_cmd with a given extended regex.
4853-# If you have `file' or equivalent on your system and you're not sure
4854-# whether `pass_all' will *always* work, you probably want this one.
4855-
4856-case $host_os in
4857-aix4* | aix5*)
4858- lt_cv_deplibs_check_method=pass_all
4859- ;;
4860-
4861-beos*)
4862- lt_cv_deplibs_check_method=pass_all
4863- ;;
4864-
4865-bsdi[[45]]*)
4866- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
4867- lt_cv_file_magic_cmd='/usr/bin/file -L'
4868- lt_cv_file_magic_test_file=/shlib/libc.so
4869- ;;
4870-
4871-cygwin*)
4872- # func_win32_libid is a shell function defined in ltmain.sh
4873- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4874- lt_cv_file_magic_cmd='func_win32_libid'
4875- ;;
4876-
4877-mingw* | pw32*)
4878- # Base MSYS/MinGW do not provide the 'file' command needed by
4879- # func_win32_libid shell function, so use a weaker test based on 'objdump',
4880- # unless we find 'file', for example because we are cross-compiling.
4881- if ( file / ) >/dev/null 2>&1; then
4882- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4883- lt_cv_file_magic_cmd='func_win32_libid'
4884- else
4885- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4886- lt_cv_file_magic_cmd='$OBJDUMP -f'
4887- fi
4888- ;;
4889-
4890-darwin* | rhapsody*)
4891- lt_cv_deplibs_check_method=pass_all
4892- ;;
4893-
4894-freebsd* | dragonfly*)
4895- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4896- case $host_cpu in
4897- i*86 )
4898- # Not sure whether the presence of OpenBSD here was a mistake.
4899- # Let's accept both of them until this is cleared up.
4900- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
4901- lt_cv_file_magic_cmd=/usr/bin/file
4902- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4903- ;;
4904- esac
4905- else
4906- lt_cv_deplibs_check_method=pass_all
4907- fi
4908- ;;
4909-
4910-gnu*)
4911- lt_cv_deplibs_check_method=pass_all
4912- ;;
4913-
4914-hpux10.20* | hpux11*)
4915- lt_cv_file_magic_cmd=/usr/bin/file
4916- case $host_cpu in
4917- ia64*)
4918- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
4919- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4920- ;;
4921- hppa*64*)
4922- [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
4923- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4924- ;;
4925- *)
4926- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
4927- lt_cv_file_magic_test_file=/usr/lib/libc.sl
4928- ;;
4929- esac
4930- ;;
4931-
4932-interix[[3-9]]*)
4933- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4934- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
4935- ;;
4936-
4937-irix5* | irix6* | nonstopux*)
4938- case $LD in
4939- *-32|*"-32 ") libmagic=32-bit;;
4940- *-n32|*"-n32 ") libmagic=N32;;
4941- *-64|*"-64 ") libmagic=64-bit;;
4942- *) libmagic=never-match;;
4943- esac
4944- lt_cv_deplibs_check_method=pass_all
4945- ;;
4946-
4947-# This must be Linux ELF.
4948-linux* | k*bsd*-gnu)
4949- lt_cv_deplibs_check_method=pass_all
4950- ;;
4951-
4952-netbsd* | netbsdelf*-gnu)
4953- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4954- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4955- else
4956- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
4957- fi
4958- ;;
4959-
4960-newos6*)
4961- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
4962- lt_cv_file_magic_cmd=/usr/bin/file
4963- lt_cv_file_magic_test_file=/usr/lib/libnls.so
4964- ;;
4965-
4966-nto-qnx*)
4967- lt_cv_deplibs_check_method=unknown
4968- ;;
4969-
4970-openbsd*)
4971- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4972- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
4973- else
4974- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4975- fi
4976- ;;
4977-
4978-osf3* | osf4* | osf5*)
4979- lt_cv_deplibs_check_method=pass_all
4980- ;;
4981-
4982-rdos*)
4983- lt_cv_deplibs_check_method=pass_all
4984- ;;
4985-
4986-solaris*)
4987- lt_cv_deplibs_check_method=pass_all
4988- ;;
4989-
4990-sysv4 | sysv4.3*)
4991- case $host_vendor in
4992- motorola)
4993- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
4994- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4995- ;;
4996- ncr)
4997- lt_cv_deplibs_check_method=pass_all
4998- ;;
4999- sequent)
5000- lt_cv_file_magic_cmd='/bin/file'
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches