Codebase list gnome-terminal / 664fc5a
Merge branch 'debian' into kali/master Sophie Brun 8 years ago
51 changed file(s) with 8953 addition(s) and 11007 deletion(s). Raw diff Collapse all Expand all
0 commit dd46f0beaf43270bb842b87dc82617fe6dcaf827
1 Author: Christian Persch <[email protected]>
2 Date: Mon May 9 21:56:49 2016 +0200
3
4 Version 3.20.2
5
6 configure.ac | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 commit 17842c0b8b18827ba360a7f29f90189cfaa5b993
10 Author: Simon McVittie <[email protected]>
11 Date: Fri Apr 15 18:32:30 2016 +0200
12
13 server: Add a systemd user service
14
15 This is used to implement the D-Bus session service if
16 "dbus-daemon --session" was configured to use systemd activation,
17 most commonly via the units installed by configuring dbus 1.10+
18 with --enable-user-session.
19
20 With this service, child processes such as the user's shell
21 end up in the cgroup …/[email protected]/org.gnome.Terminal.service
22 instead of in …/[email protected]/dbus.service.
23
24 Use KillMode=process so systemd doesn't kill screen sessions,
25 backgrounded programmes etc.
26
27 https://bugzilla.gnome.org/show_bug.cgi?id=759115
28 (cherry picked from commit 4f34660f0d1e7a61eaed6123d314a69664a7adeb)
29
30 configure.ac | 1 +
31 src/Makefile.am | 16 ++++++++++++++++
32 2 files changed, 17 insertions(+)
33
34 commit 95265bd112fb89bb0e8717db08a0a232f60b4064
35 Author: Christian Persch <[email protected]>
36 Date: Sun May 8 10:46:24 2016 +0200
37
38 window: Fix relief on tab menu button
39
40 (cherry picked from commit 33839ed2881a96948655d6993e727ef06465d794)
41
42 src/terminal-window.c | 2 +-
43 1 file changed, 1 insertion(+), 1 deletion(-)
44
45 commit 0be7d526b6727eacda9dbc3f9527b77f450bd92d
46 Author: Christian Persch <[email protected]>
47 Date: Sun May 8 10:42:55 2016 +0200
48
49 window: Set widget CSS name
50
51 https://bugzilla.gnome.org/show_bug.cgi?id=765590
52 (cherry picked from commit 13a7c920b2250e9295fa10cee88bacc39d9f2612)
53
54 src/terminal-window.c | 9 +++++++++
55 1 file changed, 9 insertions(+)
56
57 commit 1ff7a1428da115f7914daf9e4a56bfabc3b9fa66
58 Author: Christian Persch <[email protected]>
59 Date: Mon Apr 18 13:36:22 2016 +0200
60
61 l10n: de: Ergänze fehlenden Doppelpunkt
62
63 po/de.po | 2 +-
64 1 file changed, 1 insertion(+), 1 deletion(-)
65
66 commit 73204c0586a18e22eb7d8c188ae4ba89814ffe37
67 Author: Egmont Koblinger <[email protected]>
68 Date: Mon May 2 22:48:52 2016 +0200
69
70 nautilus: Fix handing sftp folders with % character
71
72 https://bugzilla.gnome.org/show_bug.cgi?id=765828
73 (cherry picked from commit 62e90aa7314347a39f3cfac11f876f5047633a8d)
74
75 src/terminal-nautilus.c | 6 ++----
76 1 file changed, 2 insertions(+), 4 deletions(-)
77
78 commit 8b39ab134c2b44722e6477f4b1d1ee56b76c4fd0
79 Author: Piotr Drąg <[email protected]>
80 Date: Tue May 3 17:57:43 2016 +0200
81
82 Fix GSettings default value translations
83
84 po/be.po | 2 +-
85 po/ca.po | 2 +-
86 po/fi.po | 2 +-
87 po/kk.po | 2 +-
88 po/lv.po | 2 +-
89 po/pt.po | 2 +-
90 po/pt_BR.po | 2 +-
91 7 files changed, 7 insertions(+), 7 deletions(-)
92
93 commit ef3d0bd772ee67bc6db321cc1582dc5ae41f6f03
94 Author: Tiago Santos <[email protected]>
95 Date: Thu Apr 28 19:40:20 2016 +0000
96
97 Updated Portuguese translation
98
99 po/pt.po | 839 +++++++++++++++++++++++++++++++++++++--------------------------
100 1 file changed, 498 insertions(+), 341 deletions(-)
101
102 commit 6a297e7a5fc9d0f34dd76fff128738d08a69eb2a
103 Author: Rūdolfs Mazurs <[email protected]>
104 Date: Sun Apr 24 16:11:56 2016 +0300
105
106 Update Latvian translation
107
108 po/lv.po | 72 +++++++++++++++++++---------------------------------------------
109 1 file changed, 21 insertions(+), 51 deletions(-)
110
111 commit 251ba72486155dbc020450cd02f70a4c769679b7
112 Author: Felipe Braga <[email protected]>
113 Date: Mon Apr 18 20:21:16 2016 +0000
114
115 Updated Brazilian Portuguese translation
116
117 help/pt_BR/pt_BR.po | 2358 +++++++++++++++++++++++++++++++--------------------
118 1 file changed, 1422 insertions(+), 936 deletions(-)
119
120 commit 57d4b7083d631b87447504fd6076d4ea6579a7c8
121 Author: Egmont Koblinger <[email protected]>
122 Date: Mon Apr 11 10:20:18 2016 +0200
123
124 Post release version bump
125
126 configure.ac | 2 +-
127 1 file changed, 1 insertion(+), 1 deletion(-)
128
0129 commit 81fa812ee383ecf71ef6a62ab522a1279012300c
1130 Author: Alexander Shopov <[email protected]>
2131 Date: Sun Apr 10 18:33:46 2016 +0300
13441473
13451474 https://bugzilla.gnome.org/show_bug.cgi?id=711059
13461475
1347 Makefile.am | 4 ++--
1348 configure.ac | 2 +-
1349 gnome-terminal.appdata.xml.in | 38 ----------------------------------
1350 gnome-terminal.desktop.in.in | 16 --------------
1351 org.gnome.Terminal.appdata.xml.in | 38 ++++++++++++++++++++++++++++++++++
1352 org.gnome.Terminal.desktop.in.in | 16 ++++++++++++++
1353 po/POTFILES.in | 4 ++--
1354 po/POTFILES.skip | 2 +-
1355 src/gnome-terminal-search-provider.ini | 2 +-
1356 9 files changed, 61 insertions(+), 61 deletions(-)
1476 Makefile.am | 4 ++--
1477 configure.ac | 2 +-
1478 gnome-terminal.appdata.xml.in => org.gnome.Terminal.appdata.xml.in | 2 +-
1479 gnome-terminal.desktop.in.in => org.gnome.Terminal.desktop.in.in | 0
1480 po/POTFILES.in | 4 ++--
1481 po/POTFILES.skip | 2 +-
1482 src/gnome-terminal-search-provider.ini | 2 +-
1483 7 files changed, 8 insertions(+), 8 deletions(-)
13571484
13581485 commit 5d30d73781359481aa8f350b2784c7f5350945cc
13591486 Author: Akom Chotiphantawanon <[email protected]>
27452872
27462873 https://bugzilla.gnome.org/show_bug.cgi?id=734791
27472874
2748 configure.ac | 4 ++--
2749 src/Makefile.am | 2 +-
2750 src/terminal-app.c | 12 +-----------
2751 src/terminal-app.h | 2 +-
2752 src/terminal-appmenu.ui | 48 ----------------------------------------------
2753 src/terminal-menus.ui | 48 ++++++++++++++++++++++++++++++++++++++++++++++
2754 src/terminal-util.c | 2 +-
2755 src/terminal-window.c | 2 +-
2756 src/terminal.gresource.xml | 2 +-
2757 9 files changed, 56 insertions(+), 66 deletions(-)
2875 configure.ac | 4 ++--
2876 src/Makefile.am | 2 +-
2877 src/terminal-app.c | 12 +-----------
2878 src/terminal-app.h | 2 +-
2879 src/{terminal-appmenu.ui => terminal-menus.ui} | 2 +-
2880 src/terminal-util.c | 2 +-
2881 src/terminal-window.c | 2 +-
2882 src/terminal.gresource.xml | 2 +-
2883 8 files changed, 9 insertions(+), 19 deletions(-)
27582884
27592885 commit 9ccf8b09f9aa0eb96a34498afdf749b5bad7d92f
27602886 Author: Christian Persch <[email protected]>
81228248
81238249 Else commits are useless :)
81248250
8125 help/C/prob-reset.page | 73 +++++++++++++++++++++++++++++++++++++++++++++
8126 help/C/prob-reset.page.page | 73 ---------------------------------------------
8127 help/Makefile.am | 1 +
8128 3 files changed, 74 insertions(+), 73 deletions(-)
8251 help/C/{prob-reset.page.page => prob-reset.page} | 0
8252 help/Makefile.am | 1 +
8253 2 files changed, 1 insertion(+)
81298254
81308255 commit 2d082c4443ea85bf4a63954e6242ae00765cf407
81318256 Author: Baptiste Mille-Mathias <[email protected]>
81358260
81368261 https://bugzilla.gnome.org/show_bug.cgi?id=698735
81378262
8138 help/C/prob-reset.page.page | 73 +++++++++++++++++++++++++++++++++++++++++++++
8139 help/C/prob-reset.page.stub | 73 ---------------------------------------------
8140 2 files changed, 73 insertions(+), 73 deletions(-)
8263 help/C/{prob-reset.page.stub => prob-reset.page.page} | 10 +++++-----
8264 1 file changed, 5 insertions(+), 5 deletions(-)
81418265
81428266 commit e2c1ecfa89bc4ffc342048372c08dd8daf2c2d28
81438267 Author: Baptiste Mille-Mathias <[email protected]>
82038327
82048328 Resetting a terminal is rather a problem than a preference page.
82058329
8206 help/C/pref-reset.page.stub | 66 ----------------------------------------
8207 help/C/prob-reset.page.stub | 73 +++++++++++++++++++++++++++++++++++++++++++++
8208 2 files changed, 73 insertions(+), 66 deletions(-)
8330 help/C/{pref-reset.page.stub => prob-reset.page.stub} | 15 +++++++++++----
8331 1 file changed, 11 insertions(+), 4 deletions(-)
82098332
82108333 commit 04654feabfe1582c4c526dd157a0b70a588bd9b5
82118334 Author: Debarshi Ray <[email protected]>
95479670
95489671 schemas: Use intltool native support for gsettings schemas
95499672
9550 po/POTFILES.in | 2 +-
9551 src/Makefile.am | 9 +-
9552 src/org.gnome.Terminal.gschema.xml | 633 ++++++++++++++++++++++++++++++++++
9553 src/org.gnome.Terminal.gschema.xml.in | 633 ----------------------------------
9554 4 files changed, 638 insertions(+), 639 deletions(-)
9673 po/POTFILES.in | 2 +-
9674 src/Makefile.am | 9 +-
9675 ...chema.xml.in => org.gnome.Terminal.gschema.xml} | 248 ++++++++++-----------
9676 3 files changed, 129 insertions(+), 130 deletions(-)
95559677
95569678 commit ab5b3f3e6a93327223a21e05bb555a6641c7b5a8
95579679 Author: Christian Persch <[email protected]>
1106111183
1106211184 i18n: Split gettext initialisation into a helper routine
1106311185
11064 src/Makefile.am | 10 ++++++++--
11065 src/client.c | 7 +++----
11066 src/profile-editor.c | 2 +-
11067 src/server.c | 7 +++----
11068 src/terminal-accels.c | 6 ++++--
11069 src/terminal-app.c | 2 +-
11070 src/terminal-encoding.c | 5 +++--
11071 src/terminal-i18n.c | 31 +++++++++++++++++++++++++++++++
11072 src/terminal-i18n.h | 29 +++++++++++++++++++++++++++++
11073 src/terminal-intl.h | 6 +++++-
11074 src/terminal-nautilus.c | 5 +++--
11075 src/terminal-options.c | 2 +-
11076 src/terminal-prefs.c | 3 ++-
11077 src/terminal-screen-container.c | 3 +--
11078 src/terminal-screen.c | 1 +
11079 src/terminal-tab-label.c | 4 +++-
11080 src/terminal-tabs-menu.c | 3 ++-
11081 src/terminal-util.c | 3 ++-
11082 src/terminal-window.c | 6 +++++-
11083 src/terminal.c | 7 +++----
11084 20 files changed, 111 insertions(+), 31 deletions(-)
11186 src/Makefile.am | 10 ++++++++--
11187 src/client.c | 7 +++----
11188 src/profile-editor.c | 2 +-
11189 src/server.c | 7 +++----
11190 src/terminal-accels.c | 6 ++++--
11191 src/terminal-app.c | 2 +-
11192 src/terminal-encoding.c | 5 +++--
11193 src/{terminal-intl.h => terminal-i18n.c} | 16 +++++++++++-----
11194 src/{terminal-intl.h => terminal-i18n.h} | 14 +++++++++-----
11195 src/terminal-intl.h | 6 +++++-
11196 src/terminal-nautilus.c | 5 +++--
11197 src/terminal-options.c | 2 +-
11198 src/terminal-prefs.c | 3 ++-
11199 src/terminal-screen-container.c | 3 +--
11200 src/terminal-screen.c | 1 +
11201 src/terminal-tab-label.c | 4 +++-
11202 src/terminal-tabs-menu.c | 3 ++-
11203 src/terminal-util.c | 3 ++-
11204 src/terminal-window.c | 6 +++++-
11205 src/terminal.c | 7 +++----
11206 20 files changed, 71 insertions(+), 41 deletions(-)
1108511207
1108611208 commit c13fc01f5730161dd63ebabd405770922dad4f98
1108711209 Author: OKANO Takayoshi <[email protected]>
1178111903 Rename the custom shells to custom command because the feature is called
1178211904 custom command in the terminal and shells are a type of command.
1178311905
11784 help/C/pref-custom-command.page | 71 +++++++++++++++++++++++++++++++++++++++++
11785 help/C/pref-custom-shells.page | 71 -----------------------------------------
11786 help/Makefile.am | 2 +-
11787 3 files changed, 72 insertions(+), 72 deletions(-)
11906 help/C/{pref-custom-shells.page => pref-custom-command.page} | 0
11907 help/Makefile.am | 2 +-
11908 2 files changed, 1 insertion(+), 1 deletion(-)
1178811909
1178911910 commit d5bb673c8a1b5479bb8073db6cd99aa565b24097
1179011911 Author: Christian Persch <[email protected]>
1239012511 consistently. Leave review for later, stub page as the help needs to be
1239112512 merged to master now.
1239212513
12393 help/C/pref-reset.page | 61 -----------------------------------------
12394 help/C/pref-reset.page.stub | 66 +++++++++++++++++++++++++++++++++++++++++++++
12395 help/Makefile.am | 1 -
12396 3 files changed, 66 insertions(+), 62 deletions(-)
12514 help/C/{pref-reset.page => pref-reset.page.stub} | 11 ++++++++---
12515 help/Makefile.am | 1 -
12516 2 files changed, 8 insertions(+), 4 deletions(-)
1239712517
1239812518 commit 06280cd25214f1b0fb3f775ac17f35f8d37f81ae
1239912519 Author: Ekaterina Gerasimova <[email protected]>
1254612666
1254712667 help: Unstubbed, made changes asked, submitting for review
1254812668
12549 help/C/pref-reset.page | 59 ++++++++++++++++++++++++++++++++++++++++++
12550 help/C/pref-reset.page.stub | 63 ---------------------------------------------
12551 2 files changed, 59 insertions(+), 63 deletions(-)
12669 help/C/{pref-reset.page.stub => pref-reset.page} | 8 ++------
12670 1 file changed, 2 insertions(+), 6 deletions(-)
1255212671
1255312672 commit 54a3b1950f177a294506eef47657fa18b6d32cd5
1255412673 Author: Sindhu S <[email protected]>
1256912688 Removed review notes after reading them and ensuring changes
1257012689 have been made as asked or changes exist.
1257112690
12572 help/C/pref-profiles.page | 270 ++++++++++++++++++++++++++++++++++++++++
12573 help/C/pref-profiles.page.stub | 273 -----------------------------------------
12574 2 files changed, 270 insertions(+), 273 deletions(-)
12691 help/C/{pref-profiles.page.stub => pref-profiles.page} | 5 +----
12692 1 file changed, 1 insertion(+), 4 deletions(-)
1257512693
1257612694 commit 442b4b0cc327e28019a98bd637e5d853261b941b
1257712695 Author: Sindhu S <[email protected]>
1259012708
1259112709 Unstubbed pref-login-shell and submitted for review.
1259212710
12593 help/C/pref-login-shell.page | 120 ++++++++++++++++++++++++++++++++++++++
12594 help/C/pref-login-shell.page.stub | 120 --------------------------------------
12595 2 files changed, 120 insertions(+), 120 deletions(-)
12711 help/C/{pref-login-shell.page.stub => pref-login-shell.page} | 4 ++--
12712 1 file changed, 2 insertions(+), 2 deletions(-)
1259612713
1259712714 commit df1d49926d84a523149b99c5fd8878c1e46de66f
1259812715 Author: Sindhu S <[email protected]>
1266512782
1266612783 Page not started; remove from Makefile.am
1266712784
12668 help/C/prob-recover-default-profile.page | 22 ----------------------
12669 help/C/prob-recover-default-profile.page.stub | 22 ++++++++++++++++++++++
12670 help/Makefile.am | 1 -
12671 3 files changed, 22 insertions(+), 23 deletions(-)
12785 ...cover-default-profile.page => prob-recover-default-profile.page.stub} | 0
12786 help/Makefile.am | 1 -
12787 2 files changed, 1 deletion(-)
1267212788
1267312789 commit fdcc959f63b4bf168bf500b96d6a285f1d8d2ceb
1267412790 Author: Ekaterina Gerasimova <[email protected]>
1267912795 Page not complete, possibly should not be included; remove from
1268012796 Makefile.am
1268112797
12682 help/C/prob-add-to-path.page | 65 ------------------------------------
12683 help/C/prob-add-to-path.page.stub | 69 +++++++++++++++++++++++++++++++++++++++
12684 help/Makefile.am | 1 -
12685 3 files changed, 69 insertions(+), 66 deletions(-)
12798 help/C/{prob-add-to-path.page => prob-add-to-path.page.stub} | 4 ++++
12799 help/Makefile.am | 1 -
12800 2 files changed, 4 insertions(+), 1 deletion(-)
1268612801
1268712802 commit a14ef2127daf7e54acb5898a58648f02f235033e
1268812803 Author: Ekaterina Gerasimova <[email protected]>
1269012805
1269112806 help: stub pref-reset.page
1269212807
12693 help/C/pref-reset.page | 59 ------------------------------------------
12694 help/C/pref-reset.page.stub | 63 +++++++++++++++++++++++++++++++++++++++++++++
12695 help/Makefile.am | 1 -
12696 3 files changed, 63 insertions(+), 60 deletions(-)
12808 help/C/{pref-reset.page => pref-reset.page.stub} | 8 ++++++--
12809 help/Makefile.am | 1 -
12810 2 files changed, 6 insertions(+), 3 deletions(-)
1269712811
1269812812 commit 5e9f53dec9d873eae80cee09764ae742d61efb6c
1269912813 Author: Ekaterina Gerasimova <[email protected]>
1270312817
1270412818 Page is not ready for review yet.
1270512819
12706 help/C/pref-profiles.page | 270 ----------------------------------------
12707 help/C/pref-profiles.page.stub | 273 +++++++++++++++++++++++++++++++++++++++++
12708 help/Makefile.am | 1 -
12709 3 files changed, 273 insertions(+), 271 deletions(-)
12820 help/C/{pref-profiles.page => pref-profiles.page.stub} | 3 +++
12821 help/Makefile.am | 1 -
12822 2 files changed, 3 insertions(+), 1 deletion(-)
1271012823
1271112824 commit 11ab35f444728f580b4e827353bda4b73c6f0042
1271212825 Author: Ekaterina Gerasimova <[email protected]>
1272312836
1272412837 help: stubbed pref-login-shell.page
1272512838
12726 help/C/pref-login-shell.page | 120 --------------------------------------
12727 help/C/pref-login-shell.page.stub | 120 ++++++++++++++++++++++++++++++++++++++
12728 help/Makefile.am | 1 -
12729 3 files changed, 120 insertions(+), 121 deletions(-)
12839 help/C/{pref-login-shell.page => pref-login-shell.page.stub} | 0
12840 help/Makefile.am | 1 -
12841 2 files changed, 1 deletion(-)
1273012842
1273112843 commit ab7dda9c959409e66249939a958729f09aa14048
1273212844 Author: Ekaterina Gerasimova <[email protected]>
1279012902
1279112903 Stubbed unfinished page.
1279212904
12793 help/C/pref-compatibility.page | 144 ----------------------------------
12794 help/C/pref-compatibility.page.stub | 150 ++++++++++++++++++++++++++++++++++++
12795 help/Makefile.am | 1 -
12796 3 files changed, 150 insertions(+), 145 deletions(-)
12905 ...atibility.page => pref-compatibility.page.stub} | 26 +++++++++++++---------
12906 help/Makefile.am | 1 -
12907 2 files changed, 16 insertions(+), 11 deletions(-)
1279712908
1279812909 commit 2b2f947da6c3cf19e2c2ac3b459a5cbc1d8aad8d
1279912910 Author: Ekaterina Gerasimova <[email protected]>
1293913050
1294013051 help: Stubbed adv-custom-colors.page
1294113052
12942 help/C/adv-custom-colors.page | 25 -------------------------
12943 help/C/adv-custom-colors.page.stub | 25 +++++++++++++++++++++++++
12944 2 files changed, 25 insertions(+), 25 deletions(-)
13053 help/C/{adv-custom-colors.page => adv-custom-colors.page.stub} | 2 +-
13054 1 file changed, 1 insertion(+), 1 deletion(-)
1294513055
1294613056 commit 1b51e8e398de69bf99aaa1f901449eca3889c84f
1294713057 Author: Sindhu S <[email protected]>
1368513795
1368613796 Page ID reflects the change in filename.
1368713797
13688 help/C/gs-execute-commands.page | 37 +++++++++++++++++++++++++++++++++++++
13689 help/C/gs-run-program.page | 36 ------------------------------------
13690 2 files changed, 37 insertions(+), 36 deletions(-)
13798 ...gs-run-program.page => gs-execute-commands.page} | 21 +++++++++++----------
13799 1 file changed, 11 insertions(+), 10 deletions(-)
1369113800
1369213801 commit cac99e94e08c9b54200ea8bda2bf29a1e6fb1f56
1369313802 Author: Sindhu S <[email protected]>
1462814737
1462914738 help: review app-zoom.page
1463014739
14631 help/C/app-zoom-in-out.page | 33 ---------------------------------
14632 help/C/app-zoom.page | 38 ++++++++++++++++++++++++++++++++++++++
14633 2 files changed, 38 insertions(+), 33 deletions(-)
14740 help/C/{app-zoom-in-out.page => app-zoom.page} | 17 +++++++++++------
14741 1 file changed, 11 insertions(+), 6 deletions(-)
1463414742
1463514743 commit 59484fb088ac8787dc035110f8037947c65e074e
1463614744 Author: Ekaterina Gerasimova <[email protected]>
1475514863
1475614864 help: tbr-common-problems to prob-common-problems
1475714865
14758 help/C/prob-common-problems.page | 24 ++++++++++++++++++++++++
14759 help/C/tbr-common-problems.page | 24 ------------------------
14760 2 files changed, 24 insertions(+), 24 deletions(-)
14866 help/C/{tbr-common-problems.page => prob-common-problems.page} | 2 +-
14867 1 file changed, 1 insertion(+), 1 deletion(-)
1476114868
1476214869 commit 9993d86051d86f894204232116607e912dfb18e0
1476314870 Author: Sindhu S <[email protected]>
1493215039 Added help on available Terminal cursors and how to set them,
1493315040 included proper mallard tags.
1493415041
14935 help/C/app-cursor.page | 41 +++++++++++++++++++++++++++++++++++++++++
14936 help/C/cursor.page | 40 ----------------------------------------
14937 2 files changed, 41 insertions(+), 40 deletions(-)
15042 help/C/{cursor.page => app-cursor.page} | 19 ++++++++++---------
15043 1 file changed, 10 insertions(+), 9 deletions(-)
1493815044
1493915045 commit 020e8a109189fa89ce275e2f991f1afba40c85d7
1494015046 Author: Ekaterina Gerasimova <[email protected]>
1494215048
1494315049 help: stubbed pages that have not been started
1494415050
14945 help/C/app-colors.page | 43 ---------------------------
14946 help/C/app-colors.page.stub | 43 +++++++++++++++++++++++++++
14947 help/C/pref-keystroke-compatibility.page.stub | 22 ++++++++++++++
14948 help/C/pref-keystrokecompatibility.page | 22 --------------
14949 help/C/pref-login-shell.page.stub | 23 ++++++++++++++
14950 help/C/pref-loginshell.page | 23 --------------
14951 help/C/pref-menubar.page | 22 --------------
14952 help/C/pref-menubar.page.stub | 22 ++++++++++++++
14953 help/C/pref-reset.page.stub | 23 ++++++++++++++
14954 help/C/pref-scrolling.page | 22 --------------
14955 help/C/pref-scrolling.page.stub | 22 ++++++++++++++
14956 help/C/reset.page | 23 --------------
14957 help/C/search.page | 21 -------------
14958 help/C/search.page.stub | 21 +++++++++++++
14959 help/C/select-text.page.stub | 25 ++++++++++++++++
14960 help/C/set-title.page | 24 ---------------
14961 help/C/set-title.page.stub | 24 +++++++++++++++
14962 help/C/textselection.page | 25 ----------------
14963 18 files changed, 225 insertions(+), 225 deletions(-)
15051 help/C/{app-colors.page => app-colors.page.stub} | 0
15052 ...keystrokecompatibility.page => pref-keystroke-compatibility.page.stub} | 0
15053 help/C/{pref-loginshell.page => pref-login-shell.page.stub} | 0
15054 help/C/{pref-menubar.page => pref-menubar.page.stub} | 0
15055 help/C/{reset.page => pref-reset.page.stub} | 0
15056 help/C/{pref-scrolling.page => pref-scrolling.page.stub} | 0
15057 help/C/{search.page => search.page.stub} | 0
15058 help/C/{textselection.page => select-text.page.stub} | 0
15059 help/C/{set-title.page => set-title.page.stub} | 0
15060 9 files changed, 0 insertions(+), 0 deletions(-)
1496415061
1496515062 commit fe4bf9fbc9b6babefe8172465b13f98da412674f
1496615063 Author: Ekaterina Gerasimova <[email protected]>
1496815065
1496915066 help: review
1497015067
14971 help/C/app-colors.page | 23 +++++++++++++++++++++--
14972 help/C/copy-paste.page | 2 ++
14973 help/C/cursor.page | 25 +++++++++++++++++++++----
14974 help/C/introduction.page | 11 +++++++----
14975 help/C/overview.page | 32 ++++++++++++++++++++++++++++++++
14976 help/C/overview1.page | 22 ----------------------
14977 help/C/pref-app-background.page | 22 ++++++++++++++++++----
14978 help/C/pref-customexit.page | 3 +++
14979 help/C/pref-customshells.page | 2 ++
14980 help/C/pref-encoding.page | 12 ++++++++++--
14981 help/C/pref-profiles.page | 41 +++++++++++++++++++++++++++++++++--------
14982 help/C/pref-titlebyprogram.page | 2 ++
14983 help/C/reset.page | 4 +++-
14984 help/C/set-title.page | 2 ++
14985 help/C/tabbed-terminals.page | 4 +++-
14986 help/C/textselection.page | 3 +++
14987 16 files changed, 162 insertions(+), 48 deletions(-)
15068 help/C/app-colors.page | 23 ++++++++++++++++--
15069 help/C/copy-paste.page | 2 ++
15070 help/C/cursor.page | 25 +++++++++++++++----
15071 help/C/introduction.page | 11 +++++----
15072 help/C/{overview1.page => overview.page} | 16 ++++++++++---
15073 help/C/pref-app-background.page | 22 +++++++++++++----
15074 help/C/pref-customexit.page | 3 +++
15075 help/C/pref-customshells.page | 2 ++
15076 help/C/pref-encoding.page | 12 ++++++++--
15077 help/C/pref-profiles.page | 41 +++++++++++++++++++++++++-------
15078 help/C/pref-titlebyprogram.page | 2 ++
15079 help/C/reset.page | 4 +++-
15080 help/C/set-title.page | 2 ++
15081 help/C/tabbed-terminals.page | 4 +++-
15082 help/C/textselection.page | 3 +++
15083 15 files changed, 143 insertions(+), 29 deletions(-)
1498815084
1498915085 commit 301404cb85f1a0427bda307220f79612084c4d42
1499015086 Author: Ekaterina Gerasimova <[email protected]>
1513015226 belong to the preferences section anymore.
1513115227 textselection.page has modified text.
1513215228
15133 help/C/pref-textselection.page | 22 ----------------------
15134 help/C/textselection.page | 22 ++++++++++++++++++++++
15135 2 files changed, 22 insertions(+), 22 deletions(-)
15229 help/C/{pref-textselection.page => textselection.page} | 4 ++--
15230 1 file changed, 2 insertions(+), 2 deletions(-)
1513615231
1513715232 commit e18044020eec5655ebb11dca584bb5d49aa833ae
1513815233 Author: Sindhu S <[email protected]>
1521715312 Renamed keystrokes.page to pref-keystrokecompatibility.page
1521815313 Included suitable page title and description.
1521915314
15220 help/C/keystrokes.page | 22 ----------------------
15221 help/C/pref-keystrokecompatibility.page | 22 ++++++++++++++++++++++
15222 2 files changed, 22 insertions(+), 22 deletions(-)
15315 help/C/{keystrokes.page => pref-keystrokecompatibility.page} | 4 ++--
15316 1 file changed, 2 insertions(+), 2 deletions(-)
1522315317
1522415318 commit 70b354f7cf150499cde154f5ec55353fed76d32a
1522515319 Author: Sindhu S <[email protected]>
1629916393
1630016394 prefs: Move keybinding prefs dialogue to its own source file
1630116395
16302 po/POTFILES.in | 2 +-
16303 src/Makefile.am | 4 +-
16304 src/keybinding-editor.ui | 160 ---------------------------------------------
16305 src/preferences.ui | 160 +++++++++++++++++++++++++++++++++++++++++++++
16306 src/terminal-accels.c | 61 ++---------------
16307 src/terminal-accels.h | 2 +-
16308 src/terminal-app.c | 5 +-
16309 src/terminal-app.h | 2 +-
16310 src/terminal-prefs.c | 93 ++++++++++++++++++++++++++
16311 src/terminal-prefs.h | 29 ++++++++
16312 src/terminal-window.c | 14 ++--
16313 src/terminal.gresource.xml | 2 +-
16314 src/terminal.xml | 2 +-
16315 13 files changed, 304 insertions(+), 232 deletions(-)
16396 po/POTFILES.in | 2 +-
16397 src/Makefile.am | 4 +-
16398 src/{keybinding-editor.ui => preferences.ui} | 2 +-
16399 src/terminal-accels.c | 61 ++----------------
16400 src/terminal-accels.h | 2 +-
16401 src/terminal-app.c | 5 +-
16402 src/terminal-app.h | 2 +-
16403 src/terminal-prefs.c | 93 ++++++++++++++++++++++++++++
16404 src/{terminal-accels.h => terminal-prefs.h} | 14 ++---
16405 src/terminal-window.c | 14 ++---
16406 src/terminal.gresource.xml | 2 +-
16407 src/terminal.xml | 2 +-
16408 12 files changed, 121 insertions(+), 82 deletions(-)
1631616409
1631716410 commit 9dffc2ac32c829ed5523fc90491834447392c572
1631816411 Author: Kjartan Maraas <[email protected]>
1772817821
1772917822 schemas: Rename profile schema
1773017823
17731 src/Makefile.am | 2 +-
17732 src/org.gnome.Terminal.Preferences.gschema.xml.in | 384 ----------------------
17733 src/org.gnome.Terminal.gschema.xml.in | 384 ++++++++++++++++++++++
17734 src/terminal-schemas.h | 4 +-
17735 4 files changed, 387 insertions(+), 387 deletions(-)
17824 src/Makefile.am | 2 +-
17825 ...l.Preferences.gschema.xml.in => org.gnome.Terminal.gschema.xml.in} | 2 +-
17826 src/terminal-schemas.h | 4 ++--
17827 3 files changed, 4 insertions(+), 4 deletions(-)
1773617828
1773717829 commit 65cd6d3f99f6bf83c8784958e34946e9b0479945
1773817830 Author: Christian Persch <[email protected]>
1867818770
1867918771 https://bugzilla.gnome.org/show_bug.cgi?id=677003
1868018772
18681 Makefile.am | 2 -
18682 autogen.sh | 1 +
18683 configure.ac | 2 +-
18684 help/C/gnome-terminal.xml | 1140 ---------------------------------------------
18685 help/C/index.docbook | 1140 +++++++++++++++++++++++++++++++++++++++++++++
18686 help/Makefile.am | 20 +-
18687 6 files changed, 1150 insertions(+), 1155 deletions(-)
18773 Makefile.am | 2 --
18774 autogen.sh | 1 +
18775 configure.ac | 2 +-
18776 help/C/{gnome-terminal.xml => index.docbook} | 0
18777 help/Makefile.am | 20 ++++++++------------
18778 5 files changed, 10 insertions(+), 15 deletions(-)
1868818779
1868918780 commit b45b1f8be2c44d41a18186e0b5859c32bc00c1c2
1869018781 Author: Christian Persch <[email protected]>
1952519616
1952619617 build: Rename source files
1952719618
19528 src/Makefile.am | 6 +-
19529 src/terminal-app.c | 2 +-
19530 src/terminal-controller.c | 263 ----------------------------------------------
19531 src/terminal-controller.h | 63 -----------
19532 src/terminal-gdbus.c | 263 ++++++++++++++++++++++++++++++++++++++++++++++
19533 src/terminal-gdbus.h | 63 +++++++++++
19534 6 files changed, 330 insertions(+), 330 deletions(-)
19619 src/Makefile.am | 6 +++---
19620 src/terminal-app.c | 2 +-
19621 src/{terminal-controller.c => terminal-gdbus.c} | 2 +-
19622 src/{terminal-controller.h => terminal-gdbus.h} | 0
19623 4 files changed, 5 insertions(+), 5 deletions(-)
1953519624
1953619625 commit f5fad240d85e8044055a50482452f9b4a53dc237
1953719626 Author: Christian Persch <[email protected]>
1997120060
1997220061 Make the''gnome-terminal' command simply invoke dbus.
1997320062
19974 configure.ac | 12 ++
19975 src/Makefile.am | 106 ++++++++++---
19976 src/server.c | 359 ++++++++++++++++++++++++++++++++++++++++++++
19977 src/terminal-options.c | 6 +
19978 src/terminal-util.c | 1 +
19979 src/terminal.c | 399 ++++++++-----------------------------------------
19980 6 files changed, 522 insertions(+), 361 deletions(-)
20063 configure.ac | 12 ++
20064 src/Makefile.am | 106 +++++++++---
20065 src/{terminal.c => server.c} | 312 +++++----------------------------
20066 src/terminal-options.c | 6 +
20067 src/terminal-util.c | 1 +
20068 src/terminal.c | 399 +++++++------------------------------------
20069 6 files changed, 202 insertions(+), 634 deletions(-)
1998120070
1998220071 commit a9e294229521d91c916dba765c773fcf85260a5b
1998320072 Author: Christian Persch <[email protected]>
2367523764 1 file changed, 1 insertion(+), 1 deletion(-)
2367623765
2367723766 commit bf4ac37ca3a684ab2f2cefce2c267e9049cdab3c
23678 Merge: 05c54efd9313 89e2381f0a82
23767 Merge: 05c54ef 89e2381
2367923768 Author: Behdad Esfahbod <[email protected]>
2368023769 Date: Mon May 3 21:43:09 2010 -0400
2368123770
2380323892
2380423893 Rewrite search. Adapted dialog UI / code from gedit. Calls new vte API.
2380523894
23806 src/Makefile.am | 8 +-
23807 src/find-dialog.glade | 235 +++++++++++++++
23808 src/gnome-terminal.schemas.in | 47 ---
23809 src/search-find.glade | 203 -------------
23810 src/terminal-search-dialog.c | 378 +++++++++++++++++++++++
23811 src/terminal-search-dialog.h | 49 +++
23812 src/terminal-search.c | 682 ------------------------------------------
23813 src/terminal-search.h | 28 --
23814 src/terminal-window.c | 209 ++++++++++++-
23815 src/terminal.xml | 16 +-
23816 10 files changed, 874 insertions(+), 981 deletions(-)
23895 src/Makefile.am | 8 +-
23896 src/{search-find.glade => find-dialog.glade} | 84 +++-
23897 src/gnome-terminal.schemas.in | 47 --
23898 src/terminal-search-dialog.c | 378 +++++++++++++++
23899 src/terminal-search-dialog.h | 49 ++
23900 src/terminal-search.c | 682 ---------------------------
23901 src/terminal-search.h | 28 --
23902 src/terminal-window.c | 209 +++++++-
23903 src/terminal.xml | 16 +-
23904 9 files changed, 697 insertions(+), 804 deletions(-)
2381723905
2381823906 commit e2f1058018f792528371aa915f95d0461bb28a5d
2381923907 Author: Carles Ferrando <[email protected]>
2387523963
2387623964 [search] Rename 'find' stuff to 'search'
2387723965
23878 src/Makefile.am | 6 +-
23879 src/search-find.glade | 203 ++++++++++++++
23880 src/terminal-find.c | 684 ------------------------------------------------
23881 src/terminal-find.glade | 203 --------------
23882 src/terminal-find.h | 28 --
23883 src/terminal-search.c | 682 +++++++++++++++++++++++++++++++++++++++++++++++
23884 src/terminal-search.h | 28 ++
23885 src/terminal-window.c | 2 +-
23886 8 files changed, 917 insertions(+), 919 deletions(-)
23966 src/Makefile.am | 6 +--
23967 src/{terminal-find.glade => search-find.glade} | 0
23968 src/{terminal-find.c => terminal-search.c} | 54 +++++++++++++-------------
23969 src/{terminal-find.h => terminal-search.h} | 0
23970 src/terminal-window.c | 2 +-
23971 5 files changed, 30 insertions(+), 32 deletions(-)
2388723972
2388823973 commit 8c0dc0d0b170e08bc542f9512ca346af20db9342
2388923974 Author: Behdad Esfahbod <[email protected]>
3024630331
3024730332 svn path=/trunk/; revision=3156
3024830333
30249 po/POTFILES.in | 2 +-
30250 src/Makefile.am | 4 +-
30251 src/encoding.c | 714 ------------------------------------------------
30252 src/encoding.h | 48 ----
30253 src/terminal-app.c | 2 +-
30254 src/terminal-encoding.c | 714 ++++++++++++++++++++++++++++++++++++++++++++++++
30255 src/terminal-encoding.h | 48 ++++
30256 src/terminal-window.c | 2 +-
30257 src/terminal.c | 1 -
30258 9 files changed, 767 insertions(+), 768 deletions(-)
30334 po/POTFILES.in | 2 +-
30335 src/Makefile.am | 4 ++--
30336 src/terminal-app.c | 2 +-
30337 src/{encoding.c => terminal-encoding.c} | 2 +-
30338 src/{encoding.h => terminal-encoding.h} | 0
30339 src/terminal-window.c | 2 +-
30340 src/terminal.c | 1 -
30341 7 files changed, 6 insertions(+), 7 deletions(-)
3025930342
3026030343 commit 52304737e959c67fce38ed92aefdff39456d3bc9
3026130344 Author: Christian Persch <[email protected]>
3052230605
3052330606 svn path=/trunk/; revision=3129
3052430607
30525 src/Makefile.am | 2 +
30526 src/terminal-options.c | 1268 ++++++++++++++++++++++++++++++++++++++++++++++
30527 src/terminal-options.h | 107 ++++
30528 src/terminal.c | 1304 +-----------------------------------------------
30529 4 files changed, 1380 insertions(+), 1301 deletions(-)
30608 src/Makefile.am | 2 +
30609 src/{terminal.c => terminal-options.c} | 653 +---------------
30610 src/terminal-options.h | 107 +++
30611 src/terminal.c | 1304 +-------------------------------
30612 4 files changed, 120 insertions(+), 1946 deletions(-)
3053030613
3053130614 commit 66a3183d6c6170fd16b16c77a97bfdd8891ec19b
3053230615 Author: Christian Persch <[email protected]>
3096431047
3096531048 svn path=/trunk/; revision=3079
3096631049
30967 src/Makefile.am | 4 +-
30968 src/eggshell.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
30969 src/eggshell.h | 40 ++++++++++++++++++
30970 src/eggusershell.c | 114 --------------------------------------------------
30971 src/eggusershell.h | 40 ------------------
30972 src/terminal-screen.c | 4 +-
30973 6 files changed, 158 insertions(+), 158 deletions(-)
31050 src/Makefile.am | 4 ++--
31051 src/{eggusershell.c => eggshell.c} | 8 ++++----
31052 src/{eggusershell.h => eggshell.h} | 2 +-
31053 src/terminal-screen.c | 4 ++--
31054 4 files changed, 9 insertions(+), 9 deletions(-)
3097431055
3097531056 commit 2c9bc380e6dafdf29759c010377288802c4650cf
3097631057 Author: Christian Persch <[email protected]>
3181331894
3181431895 svn path=/trunk/; revision=3003
3181531896
31816 po/ChangeLog | 5 +
31817 po/LINGUAS | 2 +-
31818 po/[email protected] | 2887 --------------------------------------------------------
31819 po/[email protected] | 2887 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31820 4 files changed, 2893 insertions(+), 2888 deletions(-)
31897 po/ChangeLog | 5 +++++
31898 po/LINGUAS | 2 +-
31899 po/{[email protected] => [email protected]} | 0
31900 3 files changed, 6 insertions(+), 1 deletion(-)
3182131901
3182231902 commit 621482ae913d59b411210855a586f7ab6804fea2
3182331903 Author: Shankar Prasad <[email protected]>
3222832308
3222932309 svn path=/trunk/; revision=2972
3223032310
32231 Makefile.am | 2 +
32232 help/ChangeLog | 217 ---
32233 help/ChangeLog.pre-2-23 | 217 +++
32234 po/ChangeLog | 4869 -----------------------------------------------
32235 po/ChangeLog.pre-2-23 | 4869 +++++++++++++++++++++++++++++++++++++++++++++++
32236 5 files changed, 5088 insertions(+), 5086 deletions(-)
32311 Makefile.am | 2 ++
32312 help/{ChangeLog => ChangeLog.pre-2-23} | 0
32313 po/{ChangeLog => ChangeLog.pre-2-23} | 0
32314 3 files changed, 2 insertions(+)
3223732315
3223832316 commit cc8e9db9bb5d44b0614289ae7a525d5c5ee24ed4
3223932317 Author: Christian Persch <[email protected]>
3313233210
3313333211 svn path=/trunk/; revision=2889
3313433212
33135 autogen.sh | 8 ----
33136 configure.ac | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33137 configure.in | 129 -----------------------------------------------------------
33138 3 files changed, 129 insertions(+), 137 deletions(-)
33213 autogen.sh | 8 --------
33214 configure.in => configure.ac | 0
33215 2 files changed, 8 deletions(-)
3313933216
3314033217 commit cc26d54ac83a3ea507bb1756bb21c412ed13b474
3314133218 Author: Christian Persch <[email protected]>
3343033507
3343133508 svn path=/trunk/; revision=2865
3343233509
33433 ChangeLog | 4754 ----------------------------------------------------
33434 ChangeLog.pre-2-23 | 4754 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33435 Makefile.am | 1 +
33436 3 files changed, 4755 insertions(+), 4754 deletions(-)
33510 ChangeLog => ChangeLog.pre-2-23 | 0
33511 Makefile.am | 1 +
33512 2 files changed, 1 insertion(+)
3343733513
3343833514 commit c9d57d137499a9dc94b07c95dca9e8733021b624
3343933515 Author: Christian Persch <[email protected]>
3531535391
3531635392 svn path=/trunk/; revision=2707
3531735393
35318 src/terminal.ui | 79 --------------------------------------------------------
35319 src/terminal.xml | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35320 2 files changed, 79 insertions(+), 79 deletions(-)
35394 src/{terminal.ui => terminal.xml} | 0
35395 1 file changed, 0 insertions(+), 0 deletions(-)
3532135396
3532235397 commit 806eeff4feca08df8a5c248f83a6925e906b0743
3532335398 Author: Christian Persch <[email protected]>
3646036535
3646136536 svn path=/trunk/; revision=2611
3646236537
36463 src/Makefile.am | 2 +
36464 src/encoding.c | 1 +
36465 src/profile-editor.c | 1 +
36466 src/skey-popup.c | 1 +
36467 src/terminal-accels.c | 1 +
36468 src/terminal-app.c | 1 +
36469 src/terminal-screen.c | 1 +
36470 src/terminal-screen.h | 6 ++
36471 src/terminal-util.c | 248 ++++++++++++++++++++++++++++++++++++++++++++++++++
36472 src/terminal-util.h | 53 +++++++++++
36473 src/terminal-window.c | 1 +
36474 src/terminal.c | 207 +----------------------------------------
36475 src/terminal.h | 34 -------
36476 13 files changed, 317 insertions(+), 240 deletions(-)
36538 src/Makefile.am | 2 +
36539 src/encoding.c | 1 +
36540 src/profile-editor.c | 1 +
36541 src/skey-popup.c | 1 +
36542 src/terminal-accels.c | 1 +
36543 src/terminal-app.c | 1 +
36544 src/terminal-screen.c | 1 +
36545 src/terminal-screen.h | 6 +
36546 src/terminal-util.c | 248 ++++++++++++++++++++++++++++++++++++
36547 src/{terminal.h => terminal-util.h} | 14 +-
36548 src/terminal-window.c | 1 +
36549 src/terminal.c | 207 +-----------------------------
36550 src/terminal.h | 34 -----
36551 13 files changed, 267 insertions(+), 251 deletions(-)
3647736552
3647836553 commit ea8c945f8db718ec7d7ec4bde9a09c2e39557005
3647936554 Author: Christian Persch <[email protected]>
3666036735
3666136736 svn path=/trunk/; revision=2597
3666236737
36663 src/Makefile.am | 9 +-
36664 src/terminal-app.c | 1683 +++++++++++++++++++++++++++++++++++++++++++++
36665 src/terminal-app.h | 92 +++
36666 src/terminal-window.c | 1 +
36667 src/terminal.c | 1818 ++++---------------------------------------------
36668 src/terminal.h | 43 --
36669 6 files changed, 1929 insertions(+), 1717 deletions(-)
36738 src/Makefile.am | 9 +-
36739 src/terminal-app.c | 1683 +++++++++++++++++++++++++++++++++
36740 src/{terminal.h => terminal-app.h} | 56 +-
36741 src/terminal-window.c | 1 +
36742 src/terminal.c | 1818 +++---------------------------------
36743 src/terminal.h | 43 -
36744 6 files changed, 1859 insertions(+), 1751 deletions(-)
3667036745
3667136746 commit 7dff6436078e5c9f7e645ad0240265ea0f112276
3667236747 Author: Christian Persch <[email protected]>
3670436779
3670536780 svn path=/trunk/; revision=2594
3670636781
36707 src/skey/Makefile.am | 81 ++++++++++++++----------
36708 src/skey/skey.c | 167 ------------------------------------------------
36709 src/skey/test.c | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++
36710 3 files changed, 222 insertions(+), 200 deletions(-)
36782 src/skey/Makefile.am | 81 ++++++++++++---------
36783 src/skey/skey.c | 167 --------------------------------------------
36784 src/skey/{skey.c => test.c} | 31 --------
36785 3 files changed, 48 insertions(+), 231 deletions(-)
3671136786
3671236787 commit 38b34f77b46df7750c2ef63caee8ca8893cd4bcd
3671336788 Author: Christian Persch <[email protected]>
4407744152 * zh_TW.po: Updated Traditional Chinese translation(Taiwan).
4407844153 * LINGUAS: Added Chinese Hong Kong (zh_HK).
4407944154
44080 po/ChangeLog | 6 +
44081 po/LINGUAS | 1 +
44082 po/zh_HK.po | 2520 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44083 po/zh_TW.po | 376 +++------
44084 4 files changed, 2642 insertions(+), 261 deletions(-)
44155 po/ChangeLog | 6 +
44156 po/LINGUAS | 1 +
44157 po/{zh_TW.po => zh_HK.po} | 388 +++++++++++++++-------------------------------
44158 po/zh_TW.po | 376 ++++++++++++++------------------------------
44159 4 files changed, 243 insertions(+), 528 deletions(-)
4408544160
4408644161 commit 608e12cf7933d0554dc1dbfd42c44392030e4444
4408744162 Author: Daniel Nylander <[email protected]>
5408754162 * gnome-terminal.desktop.in: delete this
5408854163 * gnome-terminal.desktop.in.in: and add this with a @VERSION@ field.
5408954164
54090 ChangeLog | 13 ++++++++++---
54091 configure.in | 3 ++-
54092 gnome-terminal.desktop.in | 13 -------------
54093 gnome-terminal.desktop.in.in | 14 ++++++++++++++
54094 4 files changed, 26 insertions(+), 17 deletions(-)
54165 ChangeLog | 13 ++++++++++---
54166 configure.in | 3 ++-
54167 gnome-terminal.desktop.in => gnome-terminal.desktop.in.in | 1 +
54168 3 files changed, 13 insertions(+), 4 deletions(-)
5409554169
5409654170 commit ad43cafdad26773f67f28d3c5494d5c9bb2560b0
5409754171 Author: Guntupalli Karunakar <[email protected]>
6379263866
6379363867 Added Vietnamese file
6379463868
63795 ChangeLog | 4 +
63796 configure.in | 2 +-
63797 po/ChangeLog | 6 +
63798 po/en_GB.po | 1 -
63799 po/ms.po | 2 +-
63800 po/uk.po | 8 +-
63801 po/vi.po | 1543 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63802 7 files changed, 1559 insertions(+), 7 deletions(-)
63869 ChangeLog | 4 +
63870 configure.in | 2 +-
63871 po/ChangeLog | 6 +
63872 po/en_GB.po | 1 -
63873 po/ms.po | 2 +-
63874 po/uk.po | 8 +-
63875 po/{ms.po => vi.po} | 1108 +++++++++++++++++++++++----------------------------
63876 7 files changed, 512 insertions(+), 619 deletions(-)
6380363877
6380463878 commit c6df885d9fe34880817cbea3085b9fdf2fca2d37
6380563879 Author: Yuri Syrota <[email protected]>
6868168755
6868268756 * src/Makefile.am (bin_PROGRAMS): rename binary to gnome-terminal
6868368757
68684 ChangeLog | 10 ++++++++++
68685 Makefile.am | 3 ++-
68686 NEWS | 1 +
68687 configure.in | 11 +++++++----
68688 po/ChangeLog | 0
68689 src/Makefile.am | 7 ++++---
68758 ChangeLog | 10 ++++++++++
68759 Makefile.am | 3 ++-
68760 NEWS | 1 +
68761 configure.in | 11 +++++++----
68762 NEWS => po/ChangeLog | 0
68763 src/Makefile.am | 7 ++++---
6869068764 6 files changed, 24 insertions(+), 8 deletions(-)
6869168765
6869268766 commit fdc914c43667a7ca1a5f99d29c417ee505a93fd4
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
1414 @SET_MAKE@
1515
1616 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
17 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
2818 am__make_running_with_option = \
2919 case $${target_option-} in \
3020 ?) ;; \
8979 host_triplet = @host@
9080 @WITH_NAUTILUS_EXTENSION_TRUE@am__append_1 = org.gnome.Terminal.Nautilus.appdata.xml
9181 subdir = .
82 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(top_srcdir)/configure $(am__configure_deps) \
84 $(srcdir)/config.h.in \
85 $(srcdir)/org.gnome.Terminal.desktop.in.in AUTHORS COPYING \
86 ChangeLog NEWS config.guess config.sub depcomp install-sh \
87 missing ltmain.sh
9288 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
94 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
95 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
96 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
89 am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
90 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
91 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
92 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
93 $(top_srcdir)/configure.ac
9794 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
9895 $(ACLOCAL_M4)
99 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
100 $(am__configure_deps) $(am__DIST_COMMON)
10196 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
10297 configure.lineno config.status.lineno
10398 mkinstalldirs = $(install_sh) -d
190185 CTAGS = ctags
191186 CSCOPE = cscope
192187 DIST_SUBDIRS = $(SUBDIRS)
193 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
194 $(srcdir)/org.gnome.Terminal.desktop.in.in AUTHORS COPYING \
195 ChangeLog NEWS compile config.guess config.sub install-sh \
196 ltmain.sh missing
197188 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
198189 distdir = $(PACKAGE)-$(VERSION)
199190 top_distdir = $(distdir)
307298 LIPO = @LIPO@
308299 LN_S = @LN_S@
309300 LTLIBOBJS = @LTLIBOBJS@
310 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
311301 MAINT = @MAINT@
312302 MAKEINFO = @MAKEINFO@
313303 MANIFEST_TOOL = @MANIFEST_TOOL@
490480 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
491481 $(am__cd) $(top_srcdir) && \
492482 $(AUTOMAKE) --foreign Makefile
483 .PRECIOUS: Makefile
493484 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
494485 @case '$?' in \
495486 *config.status*) \
510501 $(am__aclocal_m4_deps):
511502
512503 config.h: stamp-h1
513 @test -f $@ || rm -f stamp-h1
514 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
504 @if test ! -f $@; then rm -f stamp-h1; else :; fi
505 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
515506
516507 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
517508 @rm -f stamp-h1
763754 $(am__post_remove_distdir)
764755
765756 dist-tarZ: distdir
766 @echo WARNING: "Support for distribution archives compressed with" \
767 "legacy program 'compress' is deprecated." >&2
768 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
769757 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
770758 $(am__post_remove_distdir)
771759
772760 dist-shar: distdir
773 @echo WARNING: "Support for shar distribution archives is" \
774 "deprecated." >&2
775 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
776761 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
777762 $(am__post_remove_distdir)
778763
807792 esac
808793 chmod -R a-w $(distdir)
809794 chmod u+w $(distdir)
810 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
795 mkdir $(distdir)/_build $(distdir)/_inst
811796 chmod a-w $(distdir)
812797 test -d $(distdir)/_build || exit 0; \
813798 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
814799 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
815800 && am__cwd=`pwd` \
816 && $(am__cd) $(distdir)/_build/sub \
817 && ../../configure \
801 && $(am__cd) $(distdir)/_build \
802 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
818803 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
819804 $(DISTCHECK_CONFIGURE_FLAGS) \
820 --srcdir=../.. --prefix="$$dc_install_base" \
821805 && $(MAKE) $(AM_MAKEFLAGS) \
822806 && $(MAKE) $(AM_MAKEFLAGS) dvi \
823807 && $(MAKE) $(AM_MAKEFLAGS) check \
1003987 ps ps-am tags tags-am uninstall uninstall-am \
1004988 uninstall-nodist_appdataDATA uninstall-nodist_desktopDATA
1005989
1006 .PRECIOUS: Makefile
1007
1008990 --without-nautilus-extension \
1009991 $(NULL)
1010992 @INTLTOOL_DESKTOP_RULE@
+1300
-1616
aclocal.m4 less more
0 # generated automatically by aclocal 1.15 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.13.4 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
23 #
24 # This file is free software; the Free Software Foundation
25 # gives unlimited permission to copy and/or distribute it,
26 # with or without modifications, as long as this notice is preserved.
27
28 # AM_AUTOMAKE_VERSION(VERSION)
29 # ----------------------------
30 # Automake X.Y traces this macro to ensure aclocal.m4 has been
31 # generated from the m4 files accompanying Automake X.Y.
32 # (This private macro should not be called outside this file.)
33 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.13'
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.13.4], [],
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 ])
40
41 # _AM_AUTOCONF_VERSION(VERSION)
42 # -----------------------------
43 # aclocal traces this macro to find the Autoconf version.
44 # This is a private macro too. Using m4_define simplifies
45 # the logic in aclocal, which can simply ignore this definition.
46 m4_define([_AM_AUTOCONF_VERSION], [])
47
48 # AM_SET_CURRENT_AUTOMAKE_VERSION
49 # -------------------------------
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.13.4])dnl
54 m4_ifndef([AC_AUTOCONF_VERSION],
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
58 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59
60 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
61 #
62 # This file is free software; the Free Software Foundation
63 # gives unlimited permission to copy and/or distribute it,
64 # with or without modifications, as long as this notice is preserved.
65
66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
68 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
69 #
70 # Of course, Automake must honor this variable whenever it calls a
71 # tool from the auxiliary directory. The problem is that $srcdir (and
72 # therefore $ac_aux_dir as well) can be either absolute or relative,
73 # depending on how configure is run. This is pretty annoying, since
74 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
75 # source directory, any form will work fine, but in subdirectories a
76 # relative path needs to be adjusted first.
77 #
78 # $ac_aux_dir/missing
79 # fails when called from a subdirectory if $ac_aux_dir is relative
80 # $top_srcdir/$ac_aux_dir/missing
81 # fails if $ac_aux_dir is absolute,
82 # fails when called from a subdirectory in a VPATH build with
83 # a relative $ac_aux_dir
84 #
85 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
86 # are both prefixed by $srcdir. In an in-source build this is usually
87 # harmless because $srcdir is '.', but things will broke when you
88 # start a VPATH build or use an absolute $srcdir.
89 #
90 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
91 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
92 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
93 # and then we would define $MISSING as
94 # MISSING="\${SHELL} $am_aux_dir/missing"
95 # This will work as long as MISSING is not called from configure, because
96 # unfortunately $(top_srcdir) has no meaning in configure.
97 # However there are other variables, like CC, which are often used in
98 # configure, and could therefore not use this "fixed" $ac_aux_dir.
99 #
100 # Another solution, used here, is to always expand $ac_aux_dir to an
101 # absolute PATH. The drawback is that using absolute paths prevent a
102 # configured tree to be moved without reconfiguration.
103
104 AC_DEFUN([AM_AUX_DIR_EXPAND],
105 [dnl Rely on autoconf to set up CDPATH properly.
106 AC_PREREQ([2.50])dnl
107 # expand $ac_aux_dir to an absolute path
108 am_aux_dir=`cd $ac_aux_dir && pwd`
109 ])
110
111 # AM_CONDITIONAL -*- Autoconf -*-
112
113 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
114 #
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
118
119 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
120 # -------------------------------------
121 # Define a conditional.
122 AC_DEFUN([AM_CONDITIONAL],
123 [AC_PREREQ([2.52])dnl
124 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
125 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
126 AC_SUBST([$1_TRUE])dnl
127 AC_SUBST([$1_FALSE])dnl
128 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
129 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
130 m4_define([_AM_COND_VALUE_$1], [$2])dnl
131 if $2; then
132 $1_TRUE=
133 $1_FALSE='#'
134 else
135 $1_TRUE='#'
136 $1_FALSE=
137 fi
138 AC_CONFIG_COMMANDS_PRE(
139 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
140 AC_MSG_ERROR([[conditional "$1" was never defined.
141 Usually this means the macro was only invoked conditionally.]])
142 fi])])
143
144 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
145 #
146 # This file is free software; the Free Software Foundation
147 # gives unlimited permission to copy and/or distribute it,
148 # with or without modifications, as long as this notice is preserved.
149
150
151 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
152 # written in clear, in which case automake, when reading aclocal.m4,
153 # will think it sees a *use*, and therefore will trigger all it's
154 # C support machinery. Also note that it means that autoscan, seeing
155 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
156
157
158 # _AM_DEPENDENCIES(NAME)
159 # ----------------------
160 # See how the compiler implements dependency checking.
161 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
162 # We try a few techniques and use that to set a single cache variable.
163 #
164 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
165 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
166 # dependency, and given that the user is not expected to run this macro,
167 # just rely on AC_PROG_CC.
168 AC_DEFUN([_AM_DEPENDENCIES],
169 [AC_REQUIRE([AM_SET_DEPDIR])dnl
170 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
171 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
172 AC_REQUIRE([AM_DEP_TRACK])dnl
173
174 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
175 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
176 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
177 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
178 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
179 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
180 [depcc="$$1" am_compiler_list=])
181
182 AC_CACHE_CHECK([dependency style of $depcc],
183 [am_cv_$1_dependencies_compiler_type],
184 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
185 # We make a subdir and do the tests there. Otherwise we can end up
186 # making bogus files that we don't know about and never remove. For
187 # instance it was reported that on HP-UX the gcc test will end up
188 # making a dummy file named 'D' -- because '-MD' means "put the output
189 # in D".
190 rm -rf conftest.dir
191 mkdir conftest.dir
192 # Copy depcomp to subdir because otherwise we won't find it if we're
193 # using a relative directory.
194 cp "$am_depcomp" conftest.dir
195 cd conftest.dir
196 # We will build objects and dependencies in a subdirectory because
197 # it helps to detect inapplicable dependency modes. For instance
198 # both Tru64's cc and ICC support -MD to output dependencies as a
199 # side effect of compilation, but ICC will put the dependencies in
200 # the current directory while Tru64 will put them in the object
201 # directory.
202 mkdir sub
203
204 am_cv_$1_dependencies_compiler_type=none
205 if test "$am_compiler_list" = ""; then
206 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
207 fi
208 am__universal=false
209 m4_case([$1], [CC],
210 [case " $depcc " in #(
211 *\ -arch\ *\ -arch\ *) am__universal=true ;;
212 esac],
213 [CXX],
214 [case " $depcc " in #(
215 *\ -arch\ *\ -arch\ *) am__universal=true ;;
216 esac])
217
218 for depmode in $am_compiler_list; do
219 # Setup a source with many dependencies, because some compilers
220 # like to wrap large dependency lists on column 80 (with \), and
221 # we should not choose a depcomp mode which is confused by this.
222 #
223 # We need to recreate these files for each test, as the compiler may
224 # overwrite some of them when testing with obscure command lines.
225 # This happens at least with the AIX C compiler.
226 : > sub/conftest.c
227 for i in 1 2 3 4 5 6; do
228 echo '#include "conftst'$i'.h"' >> sub/conftest.c
229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
230 # Solaris 10 /bin/sh.
231 echo '/* dummy */' > sub/conftst$i.h
232 done
233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
234
235 # We check with '-c' and '-o' for the sake of the "dashmstdout"
236 # mode. It turns out that the SunPro C++ compiler does not properly
237 # handle '-M -o', and we need to detect this. Also, some Intel
238 # versions had trouble with output in subdirs.
239 am__obj=sub/conftest.${OBJEXT-o}
240 am__minus_obj="-o $am__obj"
241 case $depmode in
242 gcc)
243 # This depmode causes a compiler race in universal mode.
244 test "$am__universal" = false || continue
245 ;;
246 nosideeffect)
247 # After this tag, mechanisms are not by side-effect, so they'll
248 # only be used when explicitly requested.
249 if test "x$enable_dependency_tracking" = xyes; then
250 continue
251 else
252 break
253 fi
254 ;;
255 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
256 # This compiler won't grok '-c -o', but also, the minuso test has
257 # not run yet. These depmodes are late enough in the game, and
258 # so weak that their functioning should not be impacted.
259 am__obj=conftest.${OBJEXT-o}
260 am__minus_obj=
261 ;;
262 none) break ;;
263 esac
264 if depmode=$depmode \
265 source=sub/conftest.c object=$am__obj \
266 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
267 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
268 >/dev/null 2>conftest.err &&
269 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
270 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
271 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
272 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
273 # icc doesn't choke on unknown options, it will just issue warnings
274 # or remarks (even with -Werror). So we grep stderr for any message
275 # that says an option was ignored or not supported.
276 # When given -MP, icc 7.0 and 7.1 complain thusly:
277 # icc: Command line warning: ignoring option '-M'; no argument required
278 # The diagnosis changed in icc 8.0:
279 # icc: Command line remark: option '-MP' not supported
280 if (grep 'ignoring option' conftest.err ||
281 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
282 am_cv_$1_dependencies_compiler_type=$depmode
283 break
284 fi
285 fi
286 done
287
288 cd ..
289 rm -rf conftest.dir
290 else
291 am_cv_$1_dependencies_compiler_type=none
292 fi
293 ])
294 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
295 AM_CONDITIONAL([am__fastdep$1], [
296 test "x$enable_dependency_tracking" != xno \
297 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
298 ])
299
300
301 # AM_SET_DEPDIR
302 # -------------
303 # Choose a directory name for dependency files.
304 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
305 AC_DEFUN([AM_SET_DEPDIR],
306 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
307 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
308 ])
309
310
311 # AM_DEP_TRACK
312 # ------------
313 AC_DEFUN([AM_DEP_TRACK],
314 [AC_ARG_ENABLE([dependency-tracking], [dnl
315 AS_HELP_STRING(
316 [--enable-dependency-tracking],
317 [do not reject slow dependency extractors])
318 AS_HELP_STRING(
319 [--disable-dependency-tracking],
320 [speeds up one-time build])])
321 if test "x$enable_dependency_tracking" != xno; then
322 am_depcomp="$ac_aux_dir/depcomp"
323 AMDEPBACKSLASH='\'
324 am__nodep='_no'
325 fi
326 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
327 AC_SUBST([AMDEPBACKSLASH])dnl
328 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
329 AC_SUBST([am__nodep])dnl
330 _AM_SUBST_NOTMAKE([am__nodep])dnl
331 ])
332
333 # Generate code to set up dependency tracking. -*- Autoconf -*-
334
335 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
336 #
337 # This file is free software; the Free Software Foundation
338 # gives unlimited permission to copy and/or distribute it,
339 # with or without modifications, as long as this notice is preserved.
340
341
342 # _AM_OUTPUT_DEPENDENCY_COMMANDS
343 # ------------------------------
344 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
345 [{
346 # Older Autoconf quotes --file arguments for eval, but not when files
347 # are listed without --file. Let's play safe and only enable the eval
348 # if we detect the quoting.
349 case $CONFIG_FILES in
350 *\'*) eval set x "$CONFIG_FILES" ;;
351 *) set x $CONFIG_FILES ;;
352 esac
353 shift
354 for mf
355 do
356 # Strip MF so we end up with the name of the file.
357 mf=`echo "$mf" | sed -e 's/:.*$//'`
358 # Check whether this is an Automake generated Makefile or not.
359 # We used to match only the files named 'Makefile.in', but
360 # some people rename them; so instead we look at the file content.
361 # Grep'ing the first line is not enough: some people post-process
362 # each Makefile.in and add a new line on top of each file to say so.
363 # Grep'ing the whole file is not good either: AIX grep has a line
364 # limit of 2048, but all sed's we know have understand at least 4000.
365 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
366 dirpart=`AS_DIRNAME("$mf")`
367 else
368 continue
369 fi
370 # Extract the definition of DEPDIR, am__include, and am__quote
371 # from the Makefile without running 'make'.
372 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
373 test -z "$DEPDIR" && continue
374 am__include=`sed -n 's/^am__include = //p' < "$mf"`
375 test -z "$am__include" && continue
376 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
377 # Find all dependency output files, they are included files with
378 # $(DEPDIR) in their names. We invoke sed twice because it is the
379 # simplest approach to changing $(DEPDIR) to its actual value in the
380 # expansion.
381 for file in `sed -n "
382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
384 # Make sure the directory exists.
385 test -f "$dirpart/$file" && continue
386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
388 # echo "creating $dirpart/$file"
389 echo '# dummy' > "$dirpart/$file"
390 done
391 done
392 }
393 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
394
395
396 # AM_OUTPUT_DEPENDENCY_COMMANDS
397 # -----------------------------
398 # This macro should only be invoked once -- use via AC_REQUIRE.
399 #
400 # This code is only required when automatic dependency tracking
401 # is enabled. FIXME. This creates each '.P' file that we will
402 # need in order to bootstrap the dependency handling code.
403 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
404 [AC_CONFIG_COMMANDS([depfiles],
405 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
406 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
407 ])
408
409 # Do all the work for Automake. -*- Autoconf -*-
410
411 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
412 #
413 # This file is free software; the Free Software Foundation
414 # gives unlimited permission to copy and/or distribute it,
415 # with or without modifications, as long as this notice is preserved.
416
417 # This macro actually does too much. Some checks are only needed if
418 # your package does certain things. But this isn't really a big deal.
419
420 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
421 # AM_INIT_AUTOMAKE([OPTIONS])
422 # -----------------------------------------------
423 # The call with PACKAGE and VERSION arguments is the old style
424 # call (pre autoconf-2.50), which is being phased out. PACKAGE
425 # and VERSION should now be passed to AC_INIT and removed from
426 # the call to AM_INIT_AUTOMAKE.
427 # We support both call styles for the transition. After
428 # the next Automake release, Autoconf can make the AC_INIT
429 # arguments mandatory, and then we can depend on a new Autoconf
430 # release and drop the old call support.
431 AC_DEFUN([AM_INIT_AUTOMAKE],
432 [AC_PREREQ([2.65])dnl
433 dnl Autoconf wants to disallow AM_ names. We explicitly allow
434 dnl the ones we care about.
435 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
436 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
437 AC_REQUIRE([AC_PROG_INSTALL])dnl
438 if test "`cd $srcdir && pwd`" != "`pwd`"; then
439 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
440 # is not polluted with repeated "-I."
441 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
442 # test to see if srcdir already configured
443 if test -f $srcdir/config.status; then
444 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
445 fi
446 fi
447
448 # test whether we have cygpath
449 if test -z "$CYGPATH_W"; then
450 if (cygpath --version) >/dev/null 2>/dev/null; then
451 CYGPATH_W='cygpath -w'
452 else
453 CYGPATH_W=echo
454 fi
455 fi
456 AC_SUBST([CYGPATH_W])
457
458 # Define the identity of the package.
459 dnl Distinguish between old-style and new-style calls.
460 m4_ifval([$2],
461 [AC_DIAGNOSE([obsolete],
462 [$0: two- and three-arguments forms are deprecated.])
463 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
464 AC_SUBST([PACKAGE], [$1])dnl
465 AC_SUBST([VERSION], [$2])],
466 [_AM_SET_OPTIONS([$1])dnl
467 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
468 m4_if(
469 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
470 [ok:ok],,
471 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
472 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
473 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
474
475 _AM_IF_OPTION([no-define],,
476 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
477 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
478
479 # Some tools Automake needs.
480 AC_REQUIRE([AM_SANITY_CHECK])dnl
481 AC_REQUIRE([AC_ARG_PROGRAM])dnl
482 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
483 AM_MISSING_PROG([AUTOCONF], [autoconf])
484 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
485 AM_MISSING_PROG([AUTOHEADER], [autoheader])
486 AM_MISSING_PROG([MAKEINFO], [makeinfo])
487 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
488 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
489 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
490 # For better backward compatibility. To be removed once Automake 1.9.x
491 # dies out for good. For more background, see:
492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
493 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
494 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
495 # We need awk for the "check" target. The system "awk" is bad on
496 # some platforms.
497 AC_REQUIRE([AC_PROG_AWK])dnl
498 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
499 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
500 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
501 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
502 [_AM_PROG_TAR([v7])])])
503 _AM_IF_OPTION([no-dependencies],,
504 [AC_PROVIDE_IFELSE([AC_PROG_CC],
505 [_AM_DEPENDENCIES([CC])],
506 [m4_define([AC_PROG_CC],
507 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
508 AC_PROVIDE_IFELSE([AC_PROG_CXX],
509 [_AM_DEPENDENCIES([CXX])],
510 [m4_define([AC_PROG_CXX],
511 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
512 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
513 [_AM_DEPENDENCIES([OBJC])],
514 [m4_define([AC_PROG_OBJC],
515 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
516 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
517 [_AM_DEPENDENCIES([OBJCXX])],
518 [m4_define([AC_PROG_OBJCXX],
519 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
520 ])
521 AC_REQUIRE([AM_SILENT_RULES])dnl
522 dnl The testsuite driver may need to know about EXEEXT, so add the
523 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
524 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
525 AC_CONFIG_COMMANDS_PRE(dnl
526 [m4_provide_if([_AM_COMPILER_EXEEXT],
527 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528 ])
529
530 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532 dnl mangled by Autoconf and run in a shell conditional statement.
533 m4_define([_AC_COMPILER_EXEEXT],
534 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535
536
537 # When config.status generates a header, we must update the stamp-h file.
538 # This file resides in the same directory as the config header
539 # that is generated. The stamp files are numbered to have different names.
540
541 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
542 # loop where config.status creates the headers, so we can generate
543 # our stamp files there.
544 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
545 [# Compute $1's index in $config_headers.
546 _am_arg=$1
547 _am_stamp_count=1
548 for _am_header in $config_headers :; do
549 case $_am_header in
550 $_am_arg | $_am_arg:* )
551 break ;;
552 * )
553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
554 esac
555 done
556 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557
558 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
559 #
560 # This file is free software; the Free Software Foundation
561 # gives unlimited permission to copy and/or distribute it,
562 # with or without modifications, as long as this notice is preserved.
563
564 # AM_PROG_INSTALL_SH
565 # ------------------
566 # Define $install_sh.
567 AC_DEFUN([AM_PROG_INSTALL_SH],
568 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
569 if test x"${install_sh}" != xset; then
570 case $am_aux_dir in
571 *\ * | *\ *)
572 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
573 *)
574 install_sh="\${SHELL} $am_aux_dir/install-sh"
575 esac
576 fi
577 AC_SUBST([install_sh])])
578
579 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
580 #
581 # This file is free software; the Free Software Foundation
582 # gives unlimited permission to copy and/or distribute it,
583 # with or without modifications, as long as this notice is preserved.
584
585 # Check whether the underlying file-system supports filenames
586 # with a leading dot. For instance MS-DOS doesn't.
587 AC_DEFUN([AM_SET_LEADING_DOT],
588 [rm -rf .tst 2>/dev/null
589 mkdir .tst 2>/dev/null
590 if test -d .tst; then
591 am__leading_dot=.
592 else
593 am__leading_dot=_
594 fi
595 rmdir .tst 2>/dev/null
596 AC_SUBST([am__leading_dot])])
597
598 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
599 # From Jim Meyering
600
601 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
602 #
603 # This file is free software; the Free Software Foundation
604 # gives unlimited permission to copy and/or distribute it,
605 # with or without modifications, as long as this notice is preserved.
606
607 # AM_MAINTAINER_MODE([DEFAULT-MODE])
608 # ----------------------------------
609 # Control maintainer-specific portions of Makefiles.
610 # Default is to disable them, unless 'enable' is passed literally.
611 # For symmetry, 'disable' may be passed as well. Anyway, the user
612 # can override the default with the --enable/--disable switch.
613 AC_DEFUN([AM_MAINTAINER_MODE],
614 [m4_case(m4_default([$1], [disable]),
615 [enable], [m4_define([am_maintainer_other], [disable])],
616 [disable], [m4_define([am_maintainer_other], [enable])],
617 [m4_define([am_maintainer_other], [enable])
618 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
619 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
620 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
621 AC_ARG_ENABLE([maintainer-mode],
622 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
623 am_maintainer_other[ make rules and dependencies not useful
624 (and sometimes confusing) to the casual installer])],
625 [USE_MAINTAINER_MODE=$enableval],
626 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
627 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
628 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
629 MAINT=$MAINTAINER_MODE_TRUE
630 AC_SUBST([MAINT])dnl
631 ]
632 )
633
634 # Check to see how 'make' treats includes. -*- Autoconf -*-
635
636 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
637 #
638 # This file is free software; the Free Software Foundation
639 # gives unlimited permission to copy and/or distribute it,
640 # with or without modifications, as long as this notice is preserved.
641
642 # AM_MAKE_INCLUDE()
643 # -----------------
644 # Check to see how make treats includes.
645 AC_DEFUN([AM_MAKE_INCLUDE],
646 [am_make=${MAKE-make}
647 cat > confinc << 'END'
648 am__doit:
649 @echo this is the am__doit target
650 .PHONY: am__doit
651 END
652 # If we don't find an include directive, just comment out the code.
653 AC_MSG_CHECKING([for style of include used by $am_make])
654 am__include="#"
655 am__quote=
656 _am_result=none
657 # First try GNU make style include.
658 echo "include confinc" > confmf
659 # Ignore all kinds of additional output from 'make'.
660 case `$am_make -s -f confmf 2> /dev/null` in #(
661 *the\ am__doit\ target*)
662 am__include=include
663 am__quote=
664 _am_result=GNU
665 ;;
666 esac
667 # Now try BSD make style include.
668 if test "$am__include" = "#"; then
669 echo '.include "confinc"' > confmf
670 case `$am_make -s -f confmf 2> /dev/null` in #(
671 *the\ am__doit\ target*)
672 am__include=.include
673 am__quote="\""
674 _am_result=BSD
675 ;;
676 esac
677 fi
678 AC_SUBST([am__include])
679 AC_SUBST([am__quote])
680 AC_MSG_RESULT([$_am_result])
681 rm -f confinc confmf
682 ])
683
684 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
685
686 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
687 #
688 # This file is free software; the Free Software Foundation
689 # gives unlimited permission to copy and/or distribute it,
690 # with or without modifications, as long as this notice is preserved.
691
692 # AM_MISSING_PROG(NAME, PROGRAM)
693 # ------------------------------
694 AC_DEFUN([AM_MISSING_PROG],
695 [AC_REQUIRE([AM_MISSING_HAS_RUN])
696 $1=${$1-"${am_missing_run}$2"}
697 AC_SUBST($1)])
698
699 # AM_MISSING_HAS_RUN
700 # ------------------
701 # Define MISSING if not defined so far and test if it is modern enough.
702 # If it is, set am_missing_run to use it, otherwise, to nothing.
703 AC_DEFUN([AM_MISSING_HAS_RUN],
704 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
705 AC_REQUIRE_AUX_FILE([missing])dnl
706 if test x"${MISSING+set}" != xset; then
707 case $am_aux_dir in
708 *\ * | *\ *)
709 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
710 *)
711 MISSING="\${SHELL} $am_aux_dir/missing" ;;
712 esac
713 fi
714 # Use eval to expand $SHELL
715 if eval "$MISSING --is-lightweight"; then
716 am_missing_run="$MISSING "
717 else
718 am_missing_run=
719 AC_MSG_WARN(['missing' script is too old or missing])
720 fi
721 ])
722
723 # Helper functions for option handling. -*- Autoconf -*-
724
725 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
726 #
727 # This file is free software; the Free Software Foundation
728 # gives unlimited permission to copy and/or distribute it,
729 # with or without modifications, as long as this notice is preserved.
730
731 # _AM_MANGLE_OPTION(NAME)
732 # -----------------------
733 AC_DEFUN([_AM_MANGLE_OPTION],
734 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
735
736 # _AM_SET_OPTION(NAME)
737 # --------------------
738 # Set option NAME. Presently that only means defining a flag for this option.
739 AC_DEFUN([_AM_SET_OPTION],
740 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
741
742 # _AM_SET_OPTIONS(OPTIONS)
743 # ------------------------
744 # OPTIONS is a space-separated list of Automake options.
745 AC_DEFUN([_AM_SET_OPTIONS],
746 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
747
748 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
749 # -------------------------------------------
750 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
751 AC_DEFUN([_AM_IF_OPTION],
752 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
753
754 # Check to make sure that the build environment is sane. -*- Autoconf -*-
755
756 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
757 #
758 # This file is free software; the Free Software Foundation
759 # gives unlimited permission to copy and/or distribute it,
760 # with or without modifications, as long as this notice is preserved.
761
762 # AM_SANITY_CHECK
763 # ---------------
764 AC_DEFUN([AM_SANITY_CHECK],
765 [AC_MSG_CHECKING([whether build environment is sane])
766 # Reject unsafe characters in $srcdir or the absolute working directory
767 # name. Accept space and tab only in the latter.
768 am_lf='
769 '
770 case `pwd` in
771 *[[\\\"\#\$\&\'\`$am_lf]]*)
772 AC_MSG_ERROR([unsafe absolute working directory name]);;
773 esac
774 case $srcdir in
775 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
776 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
777 esac
778
779 # Do 'set' in a subshell so we don't clobber the current shell's
780 # arguments. Must try -L first in case configure is actually a
781 # symlink; some systems play weird games with the mod time of symlinks
782 # (eg FreeBSD returns the mod time of the symlink's containing
783 # directory).
784 if (
785 am_has_slept=no
786 for am_try in 1 2; do
787 echo "timestamp, slept: $am_has_slept" > conftest.file
788 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
789 if test "$[*]" = "X"; then
790 # -L didn't work.
791 set X `ls -t "$srcdir/configure" conftest.file`
792 fi
793 if test "$[*]" != "X $srcdir/configure conftest.file" \
794 && test "$[*]" != "X conftest.file $srcdir/configure"; then
795
796 # If neither matched, then we have a broken ls. This can happen
797 # if, for instance, CONFIG_SHELL is bash and it inherits a
798 # broken ls alias from the environment. This has actually
799 # happened. Such a system could not be considered "sane".
800 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
801 alias in your environment])
802 fi
803 if test "$[2]" = conftest.file || test $am_try -eq 2; then
804 break
805 fi
806 # Just in case.
807 sleep 1
808 am_has_slept=yes
809 done
810 test "$[2]" = conftest.file
811 )
812 then
813 # Ok.
814 :
815 else
816 AC_MSG_ERROR([newly created file is older than distributed files!
817 Check your system clock])
818 fi
819 AC_MSG_RESULT([yes])
820 # If we didn't sleep, we still need to ensure time stamps of config.status and
821 # generated files are strictly newer.
822 am_sleep_pid=
823 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
824 ( sleep 1 ) &
825 am_sleep_pid=$!
826 fi
827 AC_CONFIG_COMMANDS_PRE(
828 [AC_MSG_CHECKING([that generated files are newer than configure])
829 if test -n "$am_sleep_pid"; then
830 # Hide warnings about reused PIDs.
831 wait $am_sleep_pid 2>/dev/null
832 fi
833 AC_MSG_RESULT([done])])
834 rm -f conftest.file
835 ])
836
837 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
838 #
839 # This file is free software; the Free Software Foundation
840 # gives unlimited permission to copy and/or distribute it,
841 # with or without modifications, as long as this notice is preserved.
842
843 # AM_SILENT_RULES([DEFAULT])
844 # --------------------------
845 # Enable less verbose build rules; with the default set to DEFAULT
846 # ("yes" being less verbose, "no" or empty being verbose).
847 AC_DEFUN([AM_SILENT_RULES],
848 [AC_ARG_ENABLE([silent-rules], [dnl
849 AS_HELP_STRING(
850 [--enable-silent-rules],
851 [less verbose build output (undo: "make V=1")])
852 AS_HELP_STRING(
853 [--disable-silent-rules],
854 [verbose build output (undo: "make V=0")])dnl
855 ])
856 case $enable_silent_rules in @%:@ (((
857 yes) AM_DEFAULT_VERBOSITY=0;;
858 no) AM_DEFAULT_VERBOSITY=1;;
859 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
860 esac
861 dnl
862 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
863 dnl do not support nested variable expansions.
864 dnl See automake bug#9928 and bug#10237.
865 am_make=${MAKE-make}
866 AC_CACHE_CHECK([whether $am_make supports nested variables],
867 [am_cv_make_support_nested_variables],
868 [if AS_ECHO([['TRUE=$(BAR$(V))
869 BAR0=false
870 BAR1=true
871 V=1
872 am__doit:
873 @$(TRUE)
874 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
875 am_cv_make_support_nested_variables=yes
876 else
877 am_cv_make_support_nested_variables=no
878 fi])
879 if test $am_cv_make_support_nested_variables = yes; then
880 dnl Using '$V' instead of '$(V)' breaks IRIX make.
881 AM_V='$(V)'
882 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
883 else
884 AM_V=$AM_DEFAULT_VERBOSITY
885 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
886 fi
887 AC_SUBST([AM_V])dnl
888 AM_SUBST_NOTMAKE([AM_V])dnl
889 AC_SUBST([AM_DEFAULT_V])dnl
890 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
891 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
892 AM_BACKSLASH='\'
893 AC_SUBST([AM_BACKSLASH])dnl
894 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
895 ])
896
897 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
898 #
899 # This file is free software; the Free Software Foundation
900 # gives unlimited permission to copy and/or distribute it,
901 # with or without modifications, as long as this notice is preserved.
902
903 # AM_PROG_INSTALL_STRIP
904 # ---------------------
905 # One issue with vendor 'install' (even GNU) is that you can't
906 # specify the program used to strip binaries. This is especially
907 # annoying in cross-compiling environments, where the build's strip
908 # is unlikely to handle the host's binaries.
909 # Fortunately install-sh will honor a STRIPPROG variable, so we
910 # always use install-sh in "make install-strip", and initialize
911 # STRIPPROG with the value of the STRIP variable (set by the user).
912 AC_DEFUN([AM_PROG_INSTALL_STRIP],
913 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
914 # Installed binaries are usually stripped using 'strip' when the user
915 # run "make install-strip". However 'strip' might not be the right
916 # tool to use in cross-compilation environments, therefore Automake
917 # will honor the 'STRIP' environment variable to overrule this program.
918 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
919 if test "$cross_compiling" != no; then
920 AC_CHECK_TOOL([STRIP], [strip], :)
921 fi
922 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
923 AC_SUBST([INSTALL_STRIP_PROGRAM])])
924
925 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
926 #
927 # This file is free software; the Free Software Foundation
928 # gives unlimited permission to copy and/or distribute it,
929 # with or without modifications, as long as this notice is preserved.
930
931 # _AM_SUBST_NOTMAKE(VARIABLE)
932 # ---------------------------
933 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
934 # This macro is traced by Automake.
935 AC_DEFUN([_AM_SUBST_NOTMAKE])
936
937 # AM_SUBST_NOTMAKE(VARIABLE)
938 # --------------------------
939 # Public sister of _AM_SUBST_NOTMAKE.
940 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
941
942 # Check how to create a tarball. -*- Autoconf -*-
943
944 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
945 #
946 # This file is free software; the Free Software Foundation
947 # gives unlimited permission to copy and/or distribute it,
948 # with or without modifications, as long as this notice is preserved.
949
950 # _AM_PROG_TAR(FORMAT)
951 # --------------------
952 # Check how to create a tarball in format FORMAT.
953 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
954 #
955 # Substitute a variable $(am__tar) that is a command
956 # writing to stdout a FORMAT-tarball containing the directory
957 # $tardir.
958 # tardir=directory && $(am__tar) > result.tar
959 #
960 # Substitute a variable $(am__untar) that extract such
961 # a tarball read from stdin.
962 # $(am__untar) < result.tar
963 #
964 AC_DEFUN([_AM_PROG_TAR],
965 [# Always define AMTAR for backward compatibility. Yes, it's still used
966 # in the wild :-( We should find a proper way to deprecate it ...
967 AC_SUBST([AMTAR], ['$${TAR-tar}'])
968
969 # We'll loop over all known methods to create a tar archive until one works.
970 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
971
972 m4_if([$1], [v7],
973 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
974
975 [m4_case([$1],
976 [ustar],
977 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
978 # There is notably a 21 bits limit for the UID and the GID. In fact,
979 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
980 # and bug#13588).
981 am_max_uid=2097151 # 2^21 - 1
982 am_max_gid=$am_max_uid
983 # The $UID and $GID variables are not portable, so we need to resort
984 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
985 # below are definitely unexpected, so allow the users to see them
986 # (that is, avoid stderr redirection).
987 am_uid=`id -u || echo unknown`
988 am_gid=`id -g || echo unknown`
989 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
990 if test $am_uid -le $am_max_uid; then
991 AC_MSG_RESULT([yes])
992 else
993 AC_MSG_RESULT([no])
994 _am_tools=none
995 fi
996 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
997 if test $am_gid -le $am_max_gid; then
998 AC_MSG_RESULT([yes])
999 else
1000 AC_MSG_RESULT([no])
1001 _am_tools=none
1002 fi],
1003
1004 [pax],
1005 [],
1006
1007 [m4_fatal([Unknown tar format])])
1008
1009 AC_MSG_CHECKING([how to create a $1 tar archive])
1010
1011 # Go ahead even if we have the value already cached. We do so because we
1012 # need to set the values for the 'am__tar' and 'am__untar' variables.
1013 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1014
1015 for _am_tool in $_am_tools; do
1016 case $_am_tool in
1017 gnutar)
1018 for _am_tar in tar gnutar gtar; do
1019 AM_RUN_LOG([$_am_tar --version]) && break
1020 done
1021 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1022 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1023 am__untar="$_am_tar -xf -"
1024 ;;
1025 plaintar)
1026 # Must skip GNU tar: if it does not support --format= it doesn't create
1027 # ustar tarball either.
1028 (tar --version) >/dev/null 2>&1 && continue
1029 am__tar='tar chf - "$$tardir"'
1030 am__tar_='tar chf - "$tardir"'
1031 am__untar='tar xf -'
1032 ;;
1033 pax)
1034 am__tar='pax -L -x $1 -w "$$tardir"'
1035 am__tar_='pax -L -x $1 -w "$tardir"'
1036 am__untar='pax -r'
1037 ;;
1038 cpio)
1039 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1040 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1041 am__untar='cpio -i -H $1 -d'
1042 ;;
1043 none)
1044 am__tar=false
1045 am__tar_=false
1046 am__untar=false
1047 ;;
1048 esac
1049
1050 # If the value was cached, stop now. We just wanted to have am__tar
1051 # and am__untar set.
1052 test -n "${am_cv_prog_tar_$1}" && break
1053
1054 # tar/untar a dummy directory, and stop if the command works.
1055 rm -rf conftest.dir
1056 mkdir conftest.dir
1057 echo GrepMe > conftest.dir/file
1058 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1059 rm -rf conftest.dir
1060 if test -s conftest.tar; then
1061 AM_RUN_LOG([$am__untar <conftest.tar])
1062 AM_RUN_LOG([cat conftest.dir/file])
1063 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1064 fi
1065 done
1066 rm -rf conftest.dir
1067
1068 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1069 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1070
1071 AC_SUBST([am__tar])
1072 AC_SUBST([am__untar])
1073 ]) # _AM_PROG_TAR
1074
1075 # Autoconf support for the Vala compiler
1076
1077 # Copyright (C) 2008-2013 Free Software Foundation, Inc.
1078 #
1079 # This file is free software; the Free Software Foundation
1080 # gives unlimited permission to copy and/or distribute it,
1081 # with or without modifications, as long as this notice is preserved.
1082
1083 # Check whether the Vala compiler exists in $PATH. If it is found, the
1084 # variable VALAC is set pointing to its absolute path. Otherwise, it is
1085 # simply set to 'valac'.
1086 # Optionally a minimum release number of the compiler can be requested.
1087 # If the ACTION-IF-FOUND parameter is given, it will be run if a proper
1088 # Vala compiler is found.
1089 # Similarly, if the ACTION-IF-FOUND is given, it will be run if no proper
1090 # Vala compiler is found. It defaults to simply print a warning about the
1091 # situation, but otherwise proceeding with the configuration.
1092 #
1093 # AM_PROG_VALAC([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1094 # --------------------------------------------------------------------------
1095 AC_DEFUN([AM_PROG_VALAC],
1096 [AC_PATH_PROG([VALAC], [valac], [valac])
1097 AS_IF([test "$VALAC" != valac && test -n "$1"],
1098 [AC_MSG_CHECKING([whether $VALAC is at least version $1])
1099 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
1100 AS_VERSION_COMPARE([$1], ["$am__vala_version"],
1101 [AC_MSG_RESULT([yes])],
1102 [AC_MSG_RESULT([yes])],
1103 [AC_MSG_RESULT([no])
1104 VALAC=valac])])
1105 if test "$VALAC" = valac; then
1106 m4_default([$3],
1107 [AC_MSG_WARN([no proper vala compiler found])
1108 AC_MSG_WARN([you will not be able to compile vala source files])])
1109 else
1110 m4_default([$2], [:])
1111 fi])
1112
1113 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1114 # serial 1 (pkg-config-0.24)
1115 #
1116 # Copyright © 2004 Scott James Remnant <[email protected]>.
1117 #
1118 # This program is free software; you can redistribute it and/or modify
1119 # it under the terms of the GNU General Public License as published by
1120 # the Free Software Foundation; either version 2 of the License, or
1121 # (at your option) any later version.
1122 #
1123 # This program is distributed in the hope that it will be useful, but
1124 # WITHOUT ANY WARRANTY; without even the implied warranty of
1125 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1126 # General Public License for more details.
1127 #
1128 # You should have received a copy of the GNU General Public License
1129 # along with this program; if not, write to the Free Software
1130 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1131 #
1132 # As a special exception to the GNU General Public License, if you
1133 # distribute this file as part of a program that contains a
1134 # configuration script generated by Autoconf, you may include it under
1135 # the same distribution terms that you use for the rest of that program.
1136
1137 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
1138 # ----------------------------------
1139 AC_DEFUN([PKG_PROG_PKG_CONFIG],
1140 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1141 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
1142 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
1143 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
1144 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
1145 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
1146
1147 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1148 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1149 fi
1150 if test -n "$PKG_CONFIG"; then
1151 _pkg_min_version=m4_default([$1], [0.9.0])
1152 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1153 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1154 AC_MSG_RESULT([yes])
1155 else
1156 AC_MSG_RESULT([no])
1157 PKG_CONFIG=""
1158 fi
1159 fi[]dnl
1160 ])# PKG_PROG_PKG_CONFIG
1161
1162 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1163 #
1164 # Check to see whether a particular set of modules exists. Similar
1165 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
1166 #
1167 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1168 # only at the first occurence in configure.ac, so if the first place
1169 # it's called might be skipped (such as if it is within an "if", you
1170 # have to call PKG_CHECK_EXISTS manually
1171 # --------------------------------------------------------------
1172 AC_DEFUN([PKG_CHECK_EXISTS],
1173 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1174 if test -n "$PKG_CONFIG" && \
1175 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1176 m4_default([$2], [:])
1177 m4_ifvaln([$3], [else
1178 $3])dnl
1179 fi])
1180
1181 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1182 # ---------------------------------------------
1183 m4_define([_PKG_CONFIG],
1184 [if test -n "$$1"; then
1185 pkg_cv_[]$1="$$1"
1186 elif test -n "$PKG_CONFIG"; then
1187 PKG_CHECK_EXISTS([$3],
1188 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
1189 test "x$?" != "x0" && pkg_failed=yes ],
1190 [pkg_failed=yes])
1191 else
1192 pkg_failed=untried
1193 fi[]dnl
1194 ])# _PKG_CONFIG
1195
1196 # _PKG_SHORT_ERRORS_SUPPORTED
1197 # -----------------------------
1198 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1199 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1201 _pkg_short_errors_supported=yes
1202 else
1203 _pkg_short_errors_supported=no
1204 fi[]dnl
1205 ])# _PKG_SHORT_ERRORS_SUPPORTED
1206
1207
1208 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1209 # [ACTION-IF-NOT-FOUND])
1210 #
1211 #
1212 # Note that if there is a possibility the first call to
1213 # PKG_CHECK_MODULES might not happen, you should be sure to include an
1214 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1215 #
1216 #
1217 # --------------------------------------------------------------
1218 AC_DEFUN([PKG_CHECK_MODULES],
1219 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1220 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1221 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1222
1223 pkg_failed=no
1224 AC_MSG_CHECKING([for $1])
1225
1226 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1227 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
1228
1229 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1230 and $1[]_LIBS to avoid the need to call pkg-config.
1231 See the pkg-config man page for more details.])
1232
1233 if test $pkg_failed = yes; then
1234 AC_MSG_RESULT([no])
1235 _PKG_SHORT_ERRORS_SUPPORTED
1236 if test $_pkg_short_errors_supported = yes; then
1237 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
1238 else
1239 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
1240 fi
1241 # Put the nasty error message in config.log where it belongs
1242 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1243
1244 m4_default([$4], [AC_MSG_ERROR(
1245 [Package requirements ($2) were not met:
1246
1247 $$1_PKG_ERRORS
1248
1249 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1250 installed software in a non-standard prefix.
1251
1252 _PKG_TEXT])[]dnl
1253 ])
1254 elif test $pkg_failed = untried; then
1255 AC_MSG_RESULT([no])
1256 m4_default([$4], [AC_MSG_FAILURE(
1257 [The pkg-config script could not be found or is too old. Make sure it
1258 is in your PATH or set the PKG_CONFIG environment variable to the full
1259 path to pkg-config.
1260
1261 _PKG_TEXT
1262
1263 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
1264 ])
1265 else
1266 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1267 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1268 AC_MSG_RESULT([yes])
1269 $3
1270 fi[]dnl
1271 ])# PKG_CHECK_MODULES
1272
1273
1274 # PKG_INSTALLDIR(DIRECTORY)
1275 # -------------------------
1276 # Substitutes the variable pkgconfigdir as the location where a module
1277 # should install pkg-config .pc files. By default the directory is
1278 # $libdir/pkgconfig, but the default can be changed by passing
1279 # DIRECTORY. The user can override through the --with-pkgconfigdir
1280 # parameter.
1281 AC_DEFUN([PKG_INSTALLDIR],
1282 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
1283 m4_pushdef([pkg_description],
1284 [pkg-config installation directory @<:@]pkg_default[@:>@])
1285 AC_ARG_WITH([pkgconfigdir],
1286 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
1287 [with_pkgconfigdir=]pkg_default)
1288 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
1289 m4_popdef([pkg_default])
1290 m4_popdef([pkg_description])
1291 ]) dnl PKG_INSTALLDIR
1292
1293
1294 # PKG_NOARCH_INSTALLDIR(DIRECTORY)
1295 # -------------------------
1296 # Substitutes the variable noarch_pkgconfigdir as the location where a
1297 # module should install arch-independent pkg-config .pc files. By
1298 # default the directory is $datadir/pkgconfig, but the default can be
1299 # changed by passing DIRECTORY. The user can override through the
1300 # --with-noarch-pkgconfigdir parameter.
1301 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
1302 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
1303 m4_pushdef([pkg_description],
1304 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
1305 AC_ARG_WITH([noarch-pkgconfigdir],
1306 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
1307 [with_noarch_pkgconfigdir=]pkg_default)
1308 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
1309 m4_popdef([pkg_default])
1310 m4_popdef([pkg_description])
1311 ]) dnl PKG_NOARCH_INSTALLDIR
211312
221313 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
231314 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
3341625 # on various variables needed by the Makefile.in.in installed by
3351626 # glib-gettextize.
3361627 dnl
337 glib_DEFUN([GLIB_GNU_GETTEXT],
1628 AU_DEFUN([GLIB_GNU_GETTEXT],
3381629 [AC_REQUIRE([AC_PROG_CC])dnl
3391630
3401631 GLIB_LC_MESSAGES
4041695 rm -f po/POTFILES
4051696 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
4061697 < $srcdir/po/POTFILES.in > po/POTFILES
407 ])
1698 ],
1699 [[$0: This macro is deprecated. You should use upstream gettext instead.]])
4081700
4091701 # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
4101702 # -------------------------------
5391831 ]
5401832 )
5411833
542
543 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
544 # serial 42 IT_PROG_INTLTOOL
545 AC_DEFUN([IT_PROG_INTLTOOL], [
546 AC_PREREQ([2.50])dnl
547 AC_REQUIRE([AM_NLS])dnl
548
549 case "$am__api_version" in
550 1.[01234])
551 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
552 ;;
553 *)
554 ;;
555 esac
556
557 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
558 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
559 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
560 if test -n "$1"; then
561 AC_MSG_CHECKING([for intltool >= $1])
562 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
563 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
564 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
565 fi
566
567 AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
568 AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
569 AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
570 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
571 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
572 fi
573
574 if test -z "$AM_DEFAULT_VERBOSITY"; then
575 AM_DEFAULT_VERBOSITY=1
576 fi
577 AC_SUBST([AM_DEFAULT_VERBOSITY])
578
579 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
580 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
581 INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
582 AC_SUBST(INTLTOOL_V_MERGE)
583 AC_SUBST(INTLTOOL__v_MERGE_)
584 AC_SUBST(INTLTOOL__v_MERGE_0)
585
586 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
587 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
588 intltool__v_merge_options_0='-q'
589 AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
590 AC_SUBST(intltool__v_merge_options_)
591 AC_SUBST(intltool__v_merge_options_0)
592
593 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
594 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
595 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
596 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
597 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
598 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
599 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
600 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
601 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
602 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
603 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
604 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
605 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
606 else
607 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
608 fi
609 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
610 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
611 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
612 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
613 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
614 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
615 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
616
617 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
618 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
619 _IT_SUBST(INTLTOOL_KEYS_RULE)
620 _IT_SUBST(INTLTOOL_PROP_RULE)
621 _IT_SUBST(INTLTOOL_OAF_RULE)
622 _IT_SUBST(INTLTOOL_PONG_RULE)
623 _IT_SUBST(INTLTOOL_SERVER_RULE)
624 _IT_SUBST(INTLTOOL_SHEET_RULE)
625 _IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
626 _IT_SUBST(INTLTOOL_UI_RULE)
627 _IT_SUBST(INTLTOOL_XAM_RULE)
628 _IT_SUBST(INTLTOOL_KBD_RULE)
629 _IT_SUBST(INTLTOOL_XML_RULE)
630 _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
631 _IT_SUBST(INTLTOOL_CAVES_RULE)
632 _IT_SUBST(INTLTOOL_SCHEMAS_RULE)
633 _IT_SUBST(INTLTOOL_THEME_RULE)
634 _IT_SUBST(INTLTOOL_SERVICE_RULE)
635 _IT_SUBST(INTLTOOL_POLICY_RULE)
636
637 # Check the gettext tools to make sure they are GNU
638 AC_PATH_PROG(XGETTEXT, xgettext)
639 AC_PATH_PROG(MSGMERGE, msgmerge)
640 AC_PATH_PROG(MSGFMT, msgfmt)
641 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
642 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
643 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
644 fi
645 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
646 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
647 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
648 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
649 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
650 fi
651
652 AC_PATH_PROG(INTLTOOL_PERL, perl)
653 if test -z "$INTLTOOL_PERL"; then
654 AC_MSG_ERROR([perl not found])
655 fi
656 AC_MSG_CHECKING([for perl >= 5.8.1])
657 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
658 if test $? -ne 0; then
659 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
660 else
661 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
662 AC_MSG_RESULT([$IT_PERL_VERSION])
663 fi
664 if test "x$2" != "xno-xml"; then
665 AC_MSG_CHECKING([for XML::Parser])
666 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
667 AC_MSG_RESULT([ok])
668 else
669 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
670 fi
671 fi
672
673 # Substitute ALL_LINGUAS so we can use it in po/Makefile
674 AC_SUBST(ALL_LINGUAS)
675
676 IT_PO_SUBDIR([po])
677
678 ])
679
680
681 # IT_PO_SUBDIR(DIRNAME)
682 # ---------------------
683 # All po subdirs have to be declared with this macro; the subdir "po" is
684 # declared by IT_PROG_INTLTOOL.
685 #
686 AC_DEFUN([IT_PO_SUBDIR],
687 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
688 dnl
689 dnl The following CONFIG_COMMANDS should be executed at the very end
690 dnl of config.status.
691 AC_CONFIG_COMMANDS_PRE([
692 AC_CONFIG_COMMANDS([$1/stamp-it], [
693 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
694 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
695 fi
696 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
697 >"$1/stamp-it.tmp"
698 [sed '/^#/d
699 s/^[[].*] *//
700 /^[ ]*$/d
701 '"s|^| $ac_top_srcdir/|" \
702 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
703 ]
704 [sed '/^POTFILES =/,/[^\\]$/ {
705 /^POTFILES =/!d
706 r $1/POTFILES
707 }
708 ' "$1/Makefile.in" >"$1/Makefile"]
709 rm -f "$1/Makefile.tmp"
710 mv "$1/stamp-it.tmp" "$1/stamp-it"
711 ])
712 ])dnl
713 ])
714
715 # _IT_SUBST(VARIABLE)
716 # -------------------
717 # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
718 #
719 AC_DEFUN([_IT_SUBST],
720 [
721 AC_SUBST([$1])
722 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
723 ]
724 )
725
726 # deprecated macros
727 AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
728 # A hint is needed for aclocal from Automake <= 1.9.4:
729 # AC_DEFUN([AC_PROG_INTLTOOL], ...)
730
731
7321834 # nls.m4 serial 5 (gettext-0.18)
7331835 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
7341836 dnl Inc.
7611863 AC_MSG_RESULT([$USE_NLS])
7621864 AC_SUBST([USE_NLS])
7631865 ])
764
765 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
766 # serial 1 (pkg-config-0.24)
767 #
768 # Copyright © 2004 Scott James Remnant <[email protected]>.
769 #
770 # This program is free software; you can redistribute it and/or modify
771 # it under the terms of the GNU General Public License as published by
772 # the Free Software Foundation; either version 2 of the License, or
773 # (at your option) any later version.
774 #
775 # This program is distributed in the hope that it will be useful, but
776 # WITHOUT ANY WARRANTY; without even the implied warranty of
777 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
778 # General Public License for more details.
779 #
780 # You should have received a copy of the GNU General Public License
781 # along with this program; if not, write to the Free Software
782 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
783 #
784 # As a special exception to the GNU General Public License, if you
785 # distribute this file as part of a program that contains a
786 # configuration script generated by Autoconf, you may include it under
787 # the same distribution terms that you use for the rest of that program.
788
789 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
790 # ----------------------------------
791 AC_DEFUN([PKG_PROG_PKG_CONFIG],
792 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
793 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
794 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
795 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
796 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
797 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
798
799 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
800 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
801 fi
802 if test -n "$PKG_CONFIG"; then
803 _pkg_min_version=m4_default([$1], [0.9.0])
804 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
806 AC_MSG_RESULT([yes])
807 else
808 AC_MSG_RESULT([no])
809 PKG_CONFIG=""
810 fi
811 fi[]dnl
812 ])# PKG_PROG_PKG_CONFIG
813
814 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
815 #
816 # Check to see whether a particular set of modules exists. Similar
817 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
818 #
819 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
820 # only at the first occurence in configure.ac, so if the first place
821 # it's called might be skipped (such as if it is within an "if", you
822 # have to call PKG_CHECK_EXISTS manually
823 # --------------------------------------------------------------
824 AC_DEFUN([PKG_CHECK_EXISTS],
825 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
826 if test -n "$PKG_CONFIG" && \
827 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
828 m4_default([$2], [:])
829 m4_ifvaln([$3], [else
830 $3])dnl
831 fi])
832
833 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
834 # ---------------------------------------------
835 m4_define([_PKG_CONFIG],
836 [if test -n "$$1"; then
837 pkg_cv_[]$1="$$1"
838 elif test -n "$PKG_CONFIG"; then
839 PKG_CHECK_EXISTS([$3],
840 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
841 test "x$?" != "x0" && pkg_failed=yes ],
842 [pkg_failed=yes])
843 else
844 pkg_failed=untried
845 fi[]dnl
846 ])# _PKG_CONFIG
847
848 # _PKG_SHORT_ERRORS_SUPPORTED
849 # -----------------------------
850 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
851 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
853 _pkg_short_errors_supported=yes
854 else
855 _pkg_short_errors_supported=no
856 fi[]dnl
857 ])# _PKG_SHORT_ERRORS_SUPPORTED
858
859
860 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
861 # [ACTION-IF-NOT-FOUND])
862 #
863 #
864 # Note that if there is a possibility the first call to
865 # PKG_CHECK_MODULES might not happen, you should be sure to include an
866 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
867 #
868 #
869 # --------------------------------------------------------------
870 AC_DEFUN([PKG_CHECK_MODULES],
871 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
872 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
873 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
874
875 pkg_failed=no
876 AC_MSG_CHECKING([for $1])
877
878 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
879 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
880
881 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
882 and $1[]_LIBS to avoid the need to call pkg-config.
883 See the pkg-config man page for more details.])
884
885 if test $pkg_failed = yes; then
886 AC_MSG_RESULT([no])
887 _PKG_SHORT_ERRORS_SUPPORTED
888 if test $_pkg_short_errors_supported = yes; then
889 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
890 else
891 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
892 fi
893 # Put the nasty error message in config.log where it belongs
894 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
895
896 m4_default([$4], [AC_MSG_ERROR(
897 [Package requirements ($2) were not met:
898
899 $$1_PKG_ERRORS
900
901 Consider adjusting the PKG_CONFIG_PATH environment variable if you
902 installed software in a non-standard prefix.
903
904 _PKG_TEXT])[]dnl
905 ])
906 elif test $pkg_failed = untried; then
907 AC_MSG_RESULT([no])
908 m4_default([$4], [AC_MSG_FAILURE(
909 [The pkg-config script could not be found or is too old. Make sure it
910 is in your PATH or set the PKG_CONFIG environment variable to the full
911 path to pkg-config.
912
913 _PKG_TEXT
914
915 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
916 ])
917 else
918 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
919 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
920 AC_MSG_RESULT([yes])
921 $3
922 fi[]dnl
923 ])# PKG_CHECK_MODULES
924
925
926 # PKG_INSTALLDIR(DIRECTORY)
927 # -------------------------
928 # Substitutes the variable pkgconfigdir as the location where a module
929 # should install pkg-config .pc files. By default the directory is
930 # $libdir/pkgconfig, but the default can be changed by passing
931 # DIRECTORY. The user can override through the --with-pkgconfigdir
932 # parameter.
933 AC_DEFUN([PKG_INSTALLDIR],
934 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
935 m4_pushdef([pkg_description],
936 [pkg-config installation directory @<:@]pkg_default[@:>@])
937 AC_ARG_WITH([pkgconfigdir],
938 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
939 [with_pkgconfigdir=]pkg_default)
940 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
941 m4_popdef([pkg_default])
942 m4_popdef([pkg_description])
943 ]) dnl PKG_INSTALLDIR
944
945
946 # PKG_NOARCH_INSTALLDIR(DIRECTORY)
947 # -------------------------
948 # Substitutes the variable noarch_pkgconfigdir as the location where a
949 # module should install arch-independent pkg-config .pc files. By
950 # default the directory is $datadir/pkgconfig, but the default can be
951 # changed by passing DIRECTORY. The user can override through the
952 # --with-noarch-pkgconfigdir parameter.
953 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
954 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
955 m4_pushdef([pkg_description],
956 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
957 AC_ARG_WITH([noarch-pkgconfigdir],
958 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
959 [with_noarch_pkgconfigdir=]pkg_default)
960 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
961 m4_popdef([pkg_default])
962 m4_popdef([pkg_description])
963 ]) dnl PKG_NOARCH_INSTALLDIR
964
965
966 # PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
967 # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
968 # -------------------------------------------
969 # Retrieves the value of the pkg-config variable for the given module.
970 AC_DEFUN([PKG_CHECK_VAR],
971 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
972 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
973
974 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
975 AS_VAR_COPY([$1], [pkg_cv_][$1])
976
977 AS_VAR_IF([$1], [""], [$5], [$4])dnl
978 ])# PKG_CHECK_VAR
9791866
9801867 dnl vala.m4
9811868 dnl
12342121 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12352122
12362123 distdir: distdir-help-files
1237 distdir-help-files: $(_HELP_LC_FILES)
2124 distdir-help-files:
12382125 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
12392126 $(MKDIR_P) "$(distdir)/$$lc"; \
12402127 for file in $(HELP_FILES); do \
12632150
12642151 .PHONY: install-help
12652152 install-data-am: $(if $(HELP_ID),install-help)
1266 install-help: $(_HELP_LC_FILES)
2153 install-help:
12672154 @for lc in C $(_HELP_LINGUAS); do \
12682155 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12692156 done
13272214 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([YELP_HELP_RULES])])
13282215 ])
13292216
1330 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
1331 #
1332 # This file is free software; the Free Software Foundation
1333 # gives unlimited permission to copy and/or distribute it,
1334 # with or without modifications, as long as this notice is preserved.
1335
1336 # AM_AUTOMAKE_VERSION(VERSION)
1337 # ----------------------------
1338 # Automake X.Y traces this macro to ensure aclocal.m4 has been
1339 # generated from the m4 files accompanying Automake X.Y.
1340 # (This private macro should not be called outside this file.)
1341 AC_DEFUN([AM_AUTOMAKE_VERSION],
1342 [am__api_version='1.15'
1343 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1344 dnl require some minimum version. Point them to the right macro.
1345 m4_if([$1], [1.15], [],
1346 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1347 ])
1348
1349 # _AM_AUTOCONF_VERSION(VERSION)
1350 # -----------------------------
1351 # aclocal traces this macro to find the Autoconf version.
1352 # This is a private macro too. Using m4_define simplifies
1353 # the logic in aclocal, which can simply ignore this definition.
1354 m4_define([_AM_AUTOCONF_VERSION], [])
1355
1356 # AM_SET_CURRENT_AUTOMAKE_VERSION
1357 # -------------------------------
1358 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1359 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1360 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1361 [AM_AUTOMAKE_VERSION([1.15])dnl
1362 m4_ifndef([AC_AUTOCONF_VERSION],
1363 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1364 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1365
1366 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
1367
1368 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1369 #
1370 # This file is free software; the Free Software Foundation
1371 # gives unlimited permission to copy and/or distribute it,
1372 # with or without modifications, as long as this notice is preserved.
1373
1374 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1375 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
1376 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
1377 #
1378 # Of course, Automake must honor this variable whenever it calls a
1379 # tool from the auxiliary directory. The problem is that $srcdir (and
1380 # therefore $ac_aux_dir as well) can be either absolute or relative,
1381 # depending on how configure is run. This is pretty annoying, since
1382 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
1383 # source directory, any form will work fine, but in subdirectories a
1384 # relative path needs to be adjusted first.
1385 #
1386 # $ac_aux_dir/missing
1387 # fails when called from a subdirectory if $ac_aux_dir is relative
1388 # $top_srcdir/$ac_aux_dir/missing
1389 # fails if $ac_aux_dir is absolute,
1390 # fails when called from a subdirectory in a VPATH build with
1391 # a relative $ac_aux_dir
1392 #
1393 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1394 # are both prefixed by $srcdir. In an in-source build this is usually
1395 # harmless because $srcdir is '.', but things will broke when you
1396 # start a VPATH build or use an absolute $srcdir.
1397 #
1398 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1399 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1400 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1401 # and then we would define $MISSING as
1402 # MISSING="\${SHELL} $am_aux_dir/missing"
1403 # This will work as long as MISSING is not called from configure, because
1404 # unfortunately $(top_srcdir) has no meaning in configure.
1405 # However there are other variables, like CC, which are often used in
1406 # configure, and could therefore not use this "fixed" $ac_aux_dir.
1407 #
1408 # Another solution, used here, is to always expand $ac_aux_dir to an
1409 # absolute PATH. The drawback is that using absolute paths prevent a
1410 # configured tree to be moved without reconfiguration.
1411
1412 AC_DEFUN([AM_AUX_DIR_EXPAND],
1413 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1414 # Expand $ac_aux_dir to an absolute path.
1415 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1416 ])
1417
1418 # AM_CONDITIONAL -*- Autoconf -*-
1419
1420 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
1421 #
1422 # This file is free software; the Free Software Foundation
1423 # gives unlimited permission to copy and/or distribute it,
1424 # with or without modifications, as long as this notice is preserved.
1425
1426 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
1427 # -------------------------------------
1428 # Define a conditional.
1429 AC_DEFUN([AM_CONDITIONAL],
1430 [AC_PREREQ([2.52])dnl
1431 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1432 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1433 AC_SUBST([$1_TRUE])dnl
1434 AC_SUBST([$1_FALSE])dnl
1435 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1436 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1437 m4_define([_AM_COND_VALUE_$1], [$2])dnl
1438 if $2; then
1439 $1_TRUE=
1440 $1_FALSE='#'
1441 else
1442 $1_TRUE='#'
1443 $1_FALSE=
1444 fi
1445 AC_CONFIG_COMMANDS_PRE(
1446 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1447 AC_MSG_ERROR([[conditional "$1" was never defined.
1448 Usually this means the macro was only invoked conditionally.]])
1449 fi])])
1450
1451 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
1452 #
1453 # This file is free software; the Free Software Foundation
1454 # gives unlimited permission to copy and/or distribute it,
1455 # with or without modifications, as long as this notice is preserved.
1456
1457
1458 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
1459 # written in clear, in which case automake, when reading aclocal.m4,
1460 # will think it sees a *use*, and therefore will trigger all it's
1461 # C support machinery. Also note that it means that autoscan, seeing
1462 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1463
1464
1465 # _AM_DEPENDENCIES(NAME)
1466 # ----------------------
1467 # See how the compiler implements dependency checking.
1468 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
1469 # We try a few techniques and use that to set a single cache variable.
1470 #
1471 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1472 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1473 # dependency, and given that the user is not expected to run this macro,
1474 # just rely on AC_PROG_CC.
1475 AC_DEFUN([_AM_DEPENDENCIES],
1476 [AC_REQUIRE([AM_SET_DEPDIR])dnl
1477 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1478 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1479 AC_REQUIRE([AM_DEP_TRACK])dnl
1480
1481 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
1482 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
1483 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1484 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
1485 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
1486 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1487 [depcc="$$1" am_compiler_list=])
1488
1489 AC_CACHE_CHECK([dependency style of $depcc],
1490 [am_cv_$1_dependencies_compiler_type],
1491 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1492 # We make a subdir and do the tests there. Otherwise we can end up
1493 # making bogus files that we don't know about and never remove. For
1494 # instance it was reported that on HP-UX the gcc test will end up
1495 # making a dummy file named 'D' -- because '-MD' means "put the output
1496 # in D".
1497 rm -rf conftest.dir
1498 mkdir conftest.dir
1499 # Copy depcomp to subdir because otherwise we won't find it if we're
1500 # using a relative directory.
1501 cp "$am_depcomp" conftest.dir
1502 cd conftest.dir
1503 # We will build objects and dependencies in a subdirectory because
1504 # it helps to detect inapplicable dependency modes. For instance
1505 # both Tru64's cc and ICC support -MD to output dependencies as a
1506 # side effect of compilation, but ICC will put the dependencies in
1507 # the current directory while Tru64 will put them in the object
1508 # directory.
1509 mkdir sub
1510
1511 am_cv_$1_dependencies_compiler_type=none
1512 if test "$am_compiler_list" = ""; then
1513 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1514 fi
1515 am__universal=false
1516 m4_case([$1], [CC],
1517 [case " $depcc " in #(
1518 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1519 esac],
1520 [CXX],
1521 [case " $depcc " in #(
1522 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1523 esac])
1524
1525 for depmode in $am_compiler_list; do
1526 # Setup a source with many dependencies, because some compilers
1527 # like to wrap large dependency lists on column 80 (with \), and
1528 # we should not choose a depcomp mode which is confused by this.
1529 #
1530 # We need to recreate these files for each test, as the compiler may
1531 # overwrite some of them when testing with obscure command lines.
1532 # This happens at least with the AIX C compiler.
1533 : > sub/conftest.c
1534 for i in 1 2 3 4 5 6; do
1535 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1536 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
1537 # Solaris 10 /bin/sh.
1538 echo '/* dummy */' > sub/conftst$i.h
1539 done
1540 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1541
1542 # We check with '-c' and '-o' for the sake of the "dashmstdout"
1543 # mode. It turns out that the SunPro C++ compiler does not properly
1544 # handle '-M -o', and we need to detect this. Also, some Intel
1545 # versions had trouble with output in subdirs.
1546 am__obj=sub/conftest.${OBJEXT-o}
1547 am__minus_obj="-o $am__obj"
1548 case $depmode in
1549 gcc)
1550 # This depmode causes a compiler race in universal mode.
1551 test "$am__universal" = false || continue
1552 ;;
1553 nosideeffect)
1554 # After this tag, mechanisms are not by side-effect, so they'll
1555 # only be used when explicitly requested.
1556 if test "x$enable_dependency_tracking" = xyes; then
1557 continue
1558 else
1559 break
1560 fi
1561 ;;
1562 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1563 # This compiler won't grok '-c -o', but also, the minuso test has
1564 # not run yet. These depmodes are late enough in the game, and
1565 # so weak that their functioning should not be impacted.
1566 am__obj=conftest.${OBJEXT-o}
1567 am__minus_obj=
1568 ;;
1569 none) break ;;
1570 esac
1571 if depmode=$depmode \
1572 source=sub/conftest.c object=$am__obj \
1573 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1574 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1575 >/dev/null 2>conftest.err &&
1576 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1577 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1578 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1579 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1580 # icc doesn't choke on unknown options, it will just issue warnings
1581 # or remarks (even with -Werror). So we grep stderr for any message
1582 # that says an option was ignored or not supported.
1583 # When given -MP, icc 7.0 and 7.1 complain thusly:
1584 # icc: Command line warning: ignoring option '-M'; no argument required
1585 # The diagnosis changed in icc 8.0:
1586 # icc: Command line remark: option '-MP' not supported
1587 if (grep 'ignoring option' conftest.err ||
1588 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1589 am_cv_$1_dependencies_compiler_type=$depmode
1590 break
1591 fi
1592 fi
1593 done
1594
1595 cd ..
1596 rm -rf conftest.dir
1597 else
1598 am_cv_$1_dependencies_compiler_type=none
1599 fi
1600 ])
1601 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1602 AM_CONDITIONAL([am__fastdep$1], [
1603 test "x$enable_dependency_tracking" != xno \
1604 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1605 ])
1606
1607
1608 # AM_SET_DEPDIR
1609 # -------------
1610 # Choose a directory name for dependency files.
1611 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
1612 AC_DEFUN([AM_SET_DEPDIR],
1613 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1614 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1615 ])
1616
1617
1618 # AM_DEP_TRACK
1619 # ------------
1620 AC_DEFUN([AM_DEP_TRACK],
1621 [AC_ARG_ENABLE([dependency-tracking], [dnl
1622 AS_HELP_STRING(
1623 [--enable-dependency-tracking],
1624 [do not reject slow dependency extractors])
1625 AS_HELP_STRING(
1626 [--disable-dependency-tracking],
1627 [speeds up one-time build])])
1628 if test "x$enable_dependency_tracking" != xno; then
1629 am_depcomp="$ac_aux_dir/depcomp"
1630 AMDEPBACKSLASH='\'
1631 am__nodep='_no'
1632 fi
1633 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1634 AC_SUBST([AMDEPBACKSLASH])dnl
1635 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1636 AC_SUBST([am__nodep])dnl
1637 _AM_SUBST_NOTMAKE([am__nodep])dnl
1638 ])
1639
1640 # Generate code to set up dependency tracking. -*- Autoconf -*-
1641
1642 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
1643 #
1644 # This file is free software; the Free Software Foundation
1645 # gives unlimited permission to copy and/or distribute it,
1646 # with or without modifications, as long as this notice is preserved.
1647
1648
1649 # _AM_OUTPUT_DEPENDENCY_COMMANDS
1650 # ------------------------------
1651 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1652 [{
1653 # Older Autoconf quotes --file arguments for eval, but not when files
1654 # are listed without --file. Let's play safe and only enable the eval
1655 # if we detect the quoting.
1656 case $CONFIG_FILES in
1657 *\'*) eval set x "$CONFIG_FILES" ;;
1658 *) set x $CONFIG_FILES ;;
1659 esac
1660 shift
1661 for mf
1662 do
1663 # Strip MF so we end up with the name of the file.
1664 mf=`echo "$mf" | sed -e 's/:.*$//'`
1665 # Check whether this is an Automake generated Makefile or not.
1666 # We used to match only the files named 'Makefile.in', but
1667 # some people rename them; so instead we look at the file content.
1668 # Grep'ing the first line is not enough: some people post-process
1669 # each Makefile.in and add a new line on top of each file to say so.
1670 # Grep'ing the whole file is not good either: AIX grep has a line
1671 # limit of 2048, but all sed's we know have understand at least 4000.
1672 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1673 dirpart=`AS_DIRNAME("$mf")`
1674 else
1675 continue
1676 fi
1677 # Extract the definition of DEPDIR, am__include, and am__quote
1678 # from the Makefile without running 'make'.
1679 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1680 test -z "$DEPDIR" && continue
1681 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1682 test -z "$am__include" && continue
1683 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1684 # Find all dependency output files, they are included files with
1685 # $(DEPDIR) in their names. We invoke sed twice because it is the
1686 # simplest approach to changing $(DEPDIR) to its actual value in the
1687 # expansion.
1688 for file in `sed -n "
1689 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1690 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1691 # Make sure the directory exists.
1692 test -f "$dirpart/$file" && continue
1693 fdir=`AS_DIRNAME(["$file"])`
1694 AS_MKDIR_P([$dirpart/$fdir])
1695 # echo "creating $dirpart/$file"
1696 echo '# dummy' > "$dirpart/$file"
1697 done
1698 done
1699 }
1700 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1701
1702
1703 # AM_OUTPUT_DEPENDENCY_COMMANDS
1704 # -----------------------------
1705 # This macro should only be invoked once -- use via AC_REQUIRE.
1706 #
1707 # This code is only required when automatic dependency tracking
1708 # is enabled. FIXME. This creates each '.P' file that we will
1709 # need in order to bootstrap the dependency handling code.
1710 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1711 [AC_CONFIG_COMMANDS([depfiles],
1712 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1713 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1714 ])
1715
1716 # Do all the work for Automake. -*- Autoconf -*-
1717
1718 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
1719 #
1720 # This file is free software; the Free Software Foundation
1721 # gives unlimited permission to copy and/or distribute it,
1722 # with or without modifications, as long as this notice is preserved.
1723
1724 # This macro actually does too much. Some checks are only needed if
1725 # your package does certain things. But this isn't really a big deal.
1726
1727 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
1728 m4_define([AC_PROG_CC],
1729 m4_defn([AC_PROG_CC])
1730 [_AM_PROG_CC_C_O
1731 ])
1732
1733 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1734 # AM_INIT_AUTOMAKE([OPTIONS])
1735 # -----------------------------------------------
1736 # The call with PACKAGE and VERSION arguments is the old style
1737 # call (pre autoconf-2.50), which is being phased out. PACKAGE
1738 # and VERSION should now be passed to AC_INIT and removed from
1739 # the call to AM_INIT_AUTOMAKE.
1740 # We support both call styles for the transition. After
1741 # the next Automake release, Autoconf can make the AC_INIT
1742 # arguments mandatory, and then we can depend on a new Autoconf
1743 # release and drop the old call support.
1744 AC_DEFUN([AM_INIT_AUTOMAKE],
1745 [AC_PREREQ([2.65])dnl
1746 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1747 dnl the ones we care about.
1748 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1749 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1750 AC_REQUIRE([AC_PROG_INSTALL])dnl
1751 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1752 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1753 # is not polluted with repeated "-I."
1754 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1755 # test to see if srcdir already configured
1756 if test -f $srcdir/config.status; then
1757 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1758 fi
1759 fi
1760
1761 # test whether we have cygpath
1762 if test -z "$CYGPATH_W"; then
1763 if (cygpath --version) >/dev/null 2>/dev/null; then
1764 CYGPATH_W='cygpath -w'
1765 else
1766 CYGPATH_W=echo
1767 fi
1768 fi
1769 AC_SUBST([CYGPATH_W])
1770
1771 # Define the identity of the package.
1772 dnl Distinguish between old-style and new-style calls.
1773 m4_ifval([$2],
1774 [AC_DIAGNOSE([obsolete],
1775 [$0: two- and three-arguments forms are deprecated.])
1776 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1777 AC_SUBST([PACKAGE], [$1])dnl
1778 AC_SUBST([VERSION], [$2])],
1779 [_AM_SET_OPTIONS([$1])dnl
1780 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1781 m4_if(
1782 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1783 [ok:ok],,
1784 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1785 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1786 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1787
1788 _AM_IF_OPTION([no-define],,
1789 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1790 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
1791
1792 # Some tools Automake needs.
1793 AC_REQUIRE([AM_SANITY_CHECK])dnl
1794 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1795 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1796 AM_MISSING_PROG([AUTOCONF], [autoconf])
1797 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1798 AM_MISSING_PROG([AUTOHEADER], [autoheader])
1799 AM_MISSING_PROG([MAKEINFO], [makeinfo])
1800 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1801 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1802 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1803 # For better backward compatibility. To be removed once Automake 1.9.x
1804 # dies out for good. For more background, see:
1805 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1806 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1807 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1808 # We need awk for the "check" target (and possibly the TAP driver). The
1809 # system "awk" is bad on some platforms.
1810 AC_REQUIRE([AC_PROG_AWK])dnl
1811 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1812 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1813 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1814 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1815 [_AM_PROG_TAR([v7])])])
1816 _AM_IF_OPTION([no-dependencies],,
1817 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1818 [_AM_DEPENDENCIES([CC])],
1819 [m4_define([AC_PROG_CC],
1820 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1821 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1822 [_AM_DEPENDENCIES([CXX])],
1823 [m4_define([AC_PROG_CXX],
1824 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1825 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1826 [_AM_DEPENDENCIES([OBJC])],
1827 [m4_define([AC_PROG_OBJC],
1828 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1829 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1830 [_AM_DEPENDENCIES([OBJCXX])],
1831 [m4_define([AC_PROG_OBJCXX],
1832 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1833 ])
1834 AC_REQUIRE([AM_SILENT_RULES])dnl
1835 dnl The testsuite driver may need to know about EXEEXT, so add the
1836 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1837 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1838 AC_CONFIG_COMMANDS_PRE(dnl
1839 [m4_provide_if([_AM_COMPILER_EXEEXT],
1840 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1841
1842 # POSIX will say in a future version that running "rm -f" with no argument
1843 # is OK; and we want to be able to make that assumption in our Makefile
1844 # recipes. So use an aggressive probe to check that the usage we want is
1845 # actually supported "in the wild" to an acceptable degree.
1846 # See automake bug#10828.
1847 # To make any issue more visible, cause the running configure to be aborted
1848 # by default if the 'rm' program in use doesn't match our expectations; the
1849 # user can still override this though.
1850 if rm -f && rm -fr && rm -rf; then : OK; else
1851 cat >&2 <<'END'
1852 Oops!
1853
1854 Your 'rm' program seems unable to run without file operands specified
1855 on the command line, even when the '-f' option is present. This is contrary
1856 to the behaviour of most rm programs out there, and not conforming with
1857 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1858
1859 Please tell [email protected] about your system, including the value
1860 of your $PATH and any error possibly output before this message. This
1861 can help us improve future automake versions.
1862
1863 END
1864 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1865 echo 'Configuration will proceed anyway, since you have set the' >&2
1866 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1867 echo >&2
1868 else
1869 cat >&2 <<'END'
1870 Aborting the configuration process, to ensure you take notice of the issue.
1871
1872 You can download and install GNU coreutils to get an 'rm' implementation
1873 that behaves properly: <http://www.gnu.org/software/coreutils/>.
1874
1875 If you want to complete the configuration process using your problematic
1876 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1877 to "yes", and re-run configure.
1878
1879 END
1880 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1881 fi
1882 fi
1883 dnl The trailing newline in this macro's definition is deliberate, for
1884 dnl backward compatibility and to allow trailing 'dnl'-style comments
1885 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1886 ])
1887
1888 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1889 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1890 dnl mangled by Autoconf and run in a shell conditional statement.
1891 m4_define([_AC_COMPILER_EXEEXT],
1892 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1893
1894 # When config.status generates a header, we must update the stamp-h file.
1895 # This file resides in the same directory as the config header
1896 # that is generated. The stamp files are numbered to have different names.
1897
1898 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1899 # loop where config.status creates the headers, so we can generate
1900 # our stamp files there.
1901 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1902 [# Compute $1's index in $config_headers.
1903 _am_arg=$1
1904 _am_stamp_count=1
1905 for _am_header in $config_headers :; do
1906 case $_am_header in
1907 $_am_arg | $_am_arg:* )
1908 break ;;
1909 * )
1910 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1911 esac
1912 done
1913 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1914
1915 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1916 #
1917 # This file is free software; the Free Software Foundation
1918 # gives unlimited permission to copy and/or distribute it,
1919 # with or without modifications, as long as this notice is preserved.
1920
1921 # AM_PROG_INSTALL_SH
1922 # ------------------
1923 # Define $install_sh.
1924 AC_DEFUN([AM_PROG_INSTALL_SH],
1925 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1926 if test x"${install_sh+set}" != xset; then
1927 case $am_aux_dir in
1928 *\ * | *\ *)
1929 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1930 *)
1931 install_sh="\${SHELL} $am_aux_dir/install-sh"
1932 esac
1933 fi
1934 AC_SUBST([install_sh])])
1935
1936 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
1937 #
1938 # This file is free software; the Free Software Foundation
1939 # gives unlimited permission to copy and/or distribute it,
1940 # with or without modifications, as long as this notice is preserved.
1941
1942 # Check whether the underlying file-system supports filenames
1943 # with a leading dot. For instance MS-DOS doesn't.
1944 AC_DEFUN([AM_SET_LEADING_DOT],
1945 [rm -rf .tst 2>/dev/null
1946 mkdir .tst 2>/dev/null
1947 if test -d .tst; then
1948 am__leading_dot=.
1949 else
1950 am__leading_dot=_
1951 fi
1952 rmdir .tst 2>/dev/null
1953 AC_SUBST([am__leading_dot])])
1954
1955 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1956 # From Jim Meyering
1957
1958 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
1959 #
1960 # This file is free software; the Free Software Foundation
1961 # gives unlimited permission to copy and/or distribute it,
1962 # with or without modifications, as long as this notice is preserved.
1963
1964 # AM_MAINTAINER_MODE([DEFAULT-MODE])
1965 # ----------------------------------
1966 # Control maintainer-specific portions of Makefiles.
1967 # Default is to disable them, unless 'enable' is passed literally.
1968 # For symmetry, 'disable' may be passed as well. Anyway, the user
1969 # can override the default with the --enable/--disable switch.
1970 AC_DEFUN([AM_MAINTAINER_MODE],
1971 [m4_case(m4_default([$1], [disable]),
1972 [enable], [m4_define([am_maintainer_other], [disable])],
1973 [disable], [m4_define([am_maintainer_other], [enable])],
1974 [m4_define([am_maintainer_other], [enable])
1975 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1976 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1977 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1978 AC_ARG_ENABLE([maintainer-mode],
1979 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1980 am_maintainer_other[ make rules and dependencies not useful
1981 (and sometimes confusing) to the casual installer])],
1982 [USE_MAINTAINER_MODE=$enableval],
1983 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1984 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1985 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1986 MAINT=$MAINTAINER_MODE_TRUE
1987 AC_SUBST([MAINT])dnl
1988 ]
1989 )
1990
1991 # Check to see how 'make' treats includes. -*- Autoconf -*-
1992
1993 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1994 #
1995 # This file is free software; the Free Software Foundation
1996 # gives unlimited permission to copy and/or distribute it,
1997 # with or without modifications, as long as this notice is preserved.
1998
1999 # AM_MAKE_INCLUDE()
2000 # -----------------
2001 # Check to see how make treats includes.
2002 AC_DEFUN([AM_MAKE_INCLUDE],
2003 [am_make=${MAKE-make}
2004 cat > confinc << 'END'
2005 am__doit:
2006 @echo this is the am__doit target
2007 .PHONY: am__doit
2008 END
2009 # If we don't find an include directive, just comment out the code.
2010 AC_MSG_CHECKING([for style of include used by $am_make])
2011 am__include="#"
2012 am__quote=
2013 _am_result=none
2014 # First try GNU make style include.
2015 echo "include confinc" > confmf
2016 # Ignore all kinds of additional output from 'make'.
2017 case `$am_make -s -f confmf 2> /dev/null` in #(
2018 *the\ am__doit\ target*)
2019 am__include=include
2020 am__quote=
2021 _am_result=GNU
2022 ;;
2023 esac
2024 # Now try BSD make style include.
2025 if test "$am__include" = "#"; then
2026 echo '.include "confinc"' > confmf
2027 case `$am_make -s -f confmf 2> /dev/null` in #(
2028 *the\ am__doit\ target*)
2029 am__include=.include
2030 am__quote="\""
2031 _am_result=BSD
2032 ;;
2033 esac
2034 fi
2035 AC_SUBST([am__include])
2036 AC_SUBST([am__quote])
2037 AC_MSG_RESULT([$_am_result])
2038 rm -f confinc confmf
2039 ])
2040
2041 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
2042
2043 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
2044 #
2045 # This file is free software; the Free Software Foundation
2046 # gives unlimited permission to copy and/or distribute it,
2047 # with or without modifications, as long as this notice is preserved.
2048
2049 # AM_MISSING_PROG(NAME, PROGRAM)
2050 # ------------------------------
2051 AC_DEFUN([AM_MISSING_PROG],
2052 [AC_REQUIRE([AM_MISSING_HAS_RUN])
2053 $1=${$1-"${am_missing_run}$2"}
2054 AC_SUBST($1)])
2055
2056 # AM_MISSING_HAS_RUN
2057 # ------------------
2058 # Define MISSING if not defined so far and test if it is modern enough.
2059 # If it is, set am_missing_run to use it, otherwise, to nothing.
2060 AC_DEFUN([AM_MISSING_HAS_RUN],
2061 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2062 AC_REQUIRE_AUX_FILE([missing])dnl
2063 if test x"${MISSING+set}" != xset; then
2064 case $am_aux_dir in
2065 *\ * | *\ *)
2066 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2067 *)
2068 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2069 esac
2070 fi
2071 # Use eval to expand $SHELL
2072 if eval "$MISSING --is-lightweight"; then
2073 am_missing_run="$MISSING "
2074 else
2075 am_missing_run=
2076 AC_MSG_WARN(['missing' script is too old or missing])
2077 fi
2078 ])
2079
2080 # Helper functions for option handling. -*- Autoconf -*-
2081
2082 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
2083 #
2084 # This file is free software; the Free Software Foundation
2085 # gives unlimited permission to copy and/or distribute it,
2086 # with or without modifications, as long as this notice is preserved.
2087
2088 # _AM_MANGLE_OPTION(NAME)
2089 # -----------------------
2090 AC_DEFUN([_AM_MANGLE_OPTION],
2091 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
2092
2093 # _AM_SET_OPTION(NAME)
2094 # --------------------
2095 # Set option NAME. Presently that only means defining a flag for this option.
2096 AC_DEFUN([_AM_SET_OPTION],
2097 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
2098
2099 # _AM_SET_OPTIONS(OPTIONS)
2100 # ------------------------
2101 # OPTIONS is a space-separated list of Automake options.
2102 AC_DEFUN([_AM_SET_OPTIONS],
2103 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2104
2105 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
2106 # -------------------------------------------
2107 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
2108 AC_DEFUN([_AM_IF_OPTION],
2109 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2110
2111 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
2112 #
2113 # This file is free software; the Free Software Foundation
2114 # gives unlimited permission to copy and/or distribute it,
2115 # with or without modifications, as long as this notice is preserved.
2116
2117 # _AM_PROG_CC_C_O
2118 # ---------------
2119 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
2120 # to automatically call this.
2121 AC_DEFUN([_AM_PROG_CC_C_O],
2122 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2123 AC_REQUIRE_AUX_FILE([compile])dnl
2124 AC_LANG_PUSH([C])dnl
2125 AC_CACHE_CHECK(
2126 [whether $CC understands -c and -o together],
2127 [am_cv_prog_cc_c_o],
2128 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
2129 # Make sure it works both with $CC and with simple cc.
2130 # Following AC_PROG_CC_C_O, we do the test twice because some
2131 # compilers refuse to overwrite an existing .o file with -o,
2132 # though they will create one.
2133 am_cv_prog_cc_c_o=yes
2134 for am_i in 1 2; do
2135 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
2136 && test -f conftest2.$ac_objext; then
2137 : OK
2138 else
2139 am_cv_prog_cc_c_o=no
2140 break
2141 fi
2142 done
2143 rm -f core conftest*
2144 unset am_i])
2145 if test "$am_cv_prog_cc_c_o" != yes; then
2146 # Losing compiler, so override with the script.
2147 # FIXME: It is wrong to rewrite CC.
2148 # But if we don't then we get into trouble of one sort or another.
2149 # A longer-term fix would be to have automake use am__CC in this case,
2150 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2151 CC="$am_aux_dir/compile $CC"
2152 fi
2153 AC_LANG_POP([C])])
2154
2155 # For backward compatibility.
2156 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
2157
2158 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
2159 #
2160 # This file is free software; the Free Software Foundation
2161 # gives unlimited permission to copy and/or distribute it,
2162 # with or without modifications, as long as this notice is preserved.
2163
2164 # AM_RUN_LOG(COMMAND)
2165 # -------------------
2166 # Run COMMAND, save the exit status in ac_status, and log it.
2167 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
2168 AC_DEFUN([AM_RUN_LOG],
2169 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2170 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2171 ac_status=$?
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2173 (exit $ac_status); }])
2174
2175 # Check to make sure that the build environment is sane. -*- Autoconf -*-
2176
2177 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
2178 #
2179 # This file is free software; the Free Software Foundation
2180 # gives unlimited permission to copy and/or distribute it,
2181 # with or without modifications, as long as this notice is preserved.
2182
2183 # AM_SANITY_CHECK
2184 # ---------------
2185 AC_DEFUN([AM_SANITY_CHECK],
2186 [AC_MSG_CHECKING([whether build environment is sane])
2187 # Reject unsafe characters in $srcdir or the absolute working directory
2188 # name. Accept space and tab only in the latter.
2189 am_lf='
2190 '
2191 case `pwd` in
2192 *[[\\\"\#\$\&\'\`$am_lf]]*)
2193 AC_MSG_ERROR([unsafe absolute working directory name]);;
2194 esac
2195 case $srcdir in
2196 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
2197 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
2198 esac
2199
2200 # Do 'set' in a subshell so we don't clobber the current shell's
2201 # arguments. Must try -L first in case configure is actually a
2202 # symlink; some systems play weird games with the mod time of symlinks
2203 # (eg FreeBSD returns the mod time of the symlink's containing
2204 # directory).
2205 if (
2206 am_has_slept=no
2207 for am_try in 1 2; do
2208 echo "timestamp, slept: $am_has_slept" > conftest.file
2209 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2210 if test "$[*]" = "X"; then
2211 # -L didn't work.
2212 set X `ls -t "$srcdir/configure" conftest.file`
2213 fi
2214 if test "$[*]" != "X $srcdir/configure conftest.file" \
2215 && test "$[*]" != "X conftest.file $srcdir/configure"; then
2216
2217 # If neither matched, then we have a broken ls. This can happen
2218 # if, for instance, CONFIG_SHELL is bash and it inherits a
2219 # broken ls alias from the environment. This has actually
2220 # happened. Such a system could not be considered "sane".
2221 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
2222 alias in your environment])
2223 fi
2224 if test "$[2]" = conftest.file || test $am_try -eq 2; then
2225 break
2226 fi
2227 # Just in case.
2228 sleep 1
2229 am_has_slept=yes
2230 done
2231 test "$[2]" = conftest.file
2232 )
2233 then
2234 # Ok.
2235 :
2236 else
2237 AC_MSG_ERROR([newly created file is older than distributed files!
2238 Check your system clock])
2239 fi
2240 AC_MSG_RESULT([yes])
2241 # If we didn't sleep, we still need to ensure time stamps of config.status and
2242 # generated files are strictly newer.
2243 am_sleep_pid=
2244 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2245 ( sleep 1 ) &
2246 am_sleep_pid=$!
2247 fi
2248 AC_CONFIG_COMMANDS_PRE(
2249 [AC_MSG_CHECKING([that generated files are newer than configure])
2250 if test -n "$am_sleep_pid"; then
2251 # Hide warnings about reused PIDs.
2252 wait $am_sleep_pid 2>/dev/null
2253 fi
2254 AC_MSG_RESULT([done])])
2255 rm -f conftest.file
2256 ])
2257
2258 # Copyright (C) 2009-2014 Free Software Foundation, Inc.
2259 #
2260 # This file is free software; the Free Software Foundation
2261 # gives unlimited permission to copy and/or distribute it,
2262 # with or without modifications, as long as this notice is preserved.
2263
2264 # AM_SILENT_RULES([DEFAULT])
2265 # --------------------------
2266 # Enable less verbose build rules; with the default set to DEFAULT
2267 # ("yes" being less verbose, "no" or empty being verbose).
2268 AC_DEFUN([AM_SILENT_RULES],
2269 [AC_ARG_ENABLE([silent-rules], [dnl
2270 AS_HELP_STRING(
2271 [--enable-silent-rules],
2272 [less verbose build output (undo: "make V=1")])
2273 AS_HELP_STRING(
2274 [--disable-silent-rules],
2275 [verbose build output (undo: "make V=0")])dnl
2276 ])
2277 case $enable_silent_rules in @%:@ (((
2278 yes) AM_DEFAULT_VERBOSITY=0;;
2279 no) AM_DEFAULT_VERBOSITY=1;;
2280 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2281 esac
2282 dnl
2283 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
2284 dnl do not support nested variable expansions.
2285 dnl See automake bug#9928 and bug#10237.
2286 am_make=${MAKE-make}
2287 AC_CACHE_CHECK([whether $am_make supports nested variables],
2288 [am_cv_make_support_nested_variables],
2289 [if AS_ECHO([['TRUE=$(BAR$(V))
2290 BAR0=false
2291 BAR1=true
2292 V=1
2293 am__doit:
2294 @$(TRUE)
2295 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2296 am_cv_make_support_nested_variables=yes
2297 else
2298 am_cv_make_support_nested_variables=no
2299 fi])
2300 if test $am_cv_make_support_nested_variables = yes; then
2301 dnl Using '$V' instead of '$(V)' breaks IRIX make.
2302 AM_V='$(V)'
2303 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2304 else
2305 AM_V=$AM_DEFAULT_VERBOSITY
2306 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2307 fi
2308 AC_SUBST([AM_V])dnl
2309 AM_SUBST_NOTMAKE([AM_V])dnl
2310 AC_SUBST([AM_DEFAULT_V])dnl
2311 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2312 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2313 AM_BACKSLASH='\'
2314 AC_SUBST([AM_BACKSLASH])dnl
2315 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2316 ])
2317
2318 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
2319 #
2320 # This file is free software; the Free Software Foundation
2321 # gives unlimited permission to copy and/or distribute it,
2322 # with or without modifications, as long as this notice is preserved.
2323
2324 # AM_PROG_INSTALL_STRIP
2325 # ---------------------
2326 # One issue with vendor 'install' (even GNU) is that you can't
2327 # specify the program used to strip binaries. This is especially
2328 # annoying in cross-compiling environments, where the build's strip
2329 # is unlikely to handle the host's binaries.
2330 # Fortunately install-sh will honor a STRIPPROG variable, so we
2331 # always use install-sh in "make install-strip", and initialize
2332 # STRIPPROG with the value of the STRIP variable (set by the user).
2333 AC_DEFUN([AM_PROG_INSTALL_STRIP],
2334 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2335 # Installed binaries are usually stripped using 'strip' when the user
2336 # run "make install-strip". However 'strip' might not be the right
2337 # tool to use in cross-compilation environments, therefore Automake
2338 # will honor the 'STRIP' environment variable to overrule this program.
2339 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
2340 if test "$cross_compiling" != no; then
2341 AC_CHECK_TOOL([STRIP], [strip], :)
2342 fi
2343 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2344 AC_SUBST([INSTALL_STRIP_PROGRAM])])
2345
2346 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
2347 #
2348 # This file is free software; the Free Software Foundation
2349 # gives unlimited permission to copy and/or distribute it,
2350 # with or without modifications, as long as this notice is preserved.
2351
2352 # _AM_SUBST_NOTMAKE(VARIABLE)
2353 # ---------------------------
2354 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
2355 # This macro is traced by Automake.
2356 AC_DEFUN([_AM_SUBST_NOTMAKE])
2357
2358 # AM_SUBST_NOTMAKE(VARIABLE)
2359 # --------------------------
2360 # Public sister of _AM_SUBST_NOTMAKE.
2361 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
2362
2363 # Check how to create a tarball. -*- Autoconf -*-
2364
2365 # Copyright (C) 2004-2014 Free Software Foundation, Inc.
2366 #
2367 # This file is free software; the Free Software Foundation
2368 # gives unlimited permission to copy and/or distribute it,
2369 # with or without modifications, as long as this notice is preserved.
2370
2371 # _AM_PROG_TAR(FORMAT)
2372 # --------------------
2373 # Check how to create a tarball in format FORMAT.
2374 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
2375 #
2376 # Substitute a variable $(am__tar) that is a command
2377 # writing to stdout a FORMAT-tarball containing the directory
2378 # $tardir.
2379 # tardir=directory && $(am__tar) > result.tar
2380 #
2381 # Substitute a variable $(am__untar) that extract such
2382 # a tarball read from stdin.
2383 # $(am__untar) < result.tar
2384 #
2385 AC_DEFUN([_AM_PROG_TAR],
2386 [# Always define AMTAR for backward compatibility. Yes, it's still used
2387 # in the wild :-( We should find a proper way to deprecate it ...
2388 AC_SUBST([AMTAR], ['$${TAR-tar}'])
2389
2390 # We'll loop over all known methods to create a tar archive until one works.
2391 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2392
2393 m4_if([$1], [v7],
2394 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
2395
2396 [m4_case([$1],
2397 [ustar],
2398 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2399 # There is notably a 21 bits limit for the UID and the GID. In fact,
2400 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2401 # and bug#13588).
2402 am_max_uid=2097151 # 2^21 - 1
2403 am_max_gid=$am_max_uid
2404 # The $UID and $GID variables are not portable, so we need to resort
2405 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2406 # below are definitely unexpected, so allow the users to see them
2407 # (that is, avoid stderr redirection).
2408 am_uid=`id -u || echo unknown`
2409 am_gid=`id -g || echo unknown`
2410 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
2411 if test $am_uid -le $am_max_uid; then
2412 AC_MSG_RESULT([yes])
2413 else
2414 AC_MSG_RESULT([no])
2415 _am_tools=none
2416 fi
2417 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
2418 if test $am_gid -le $am_max_gid; then
2419 AC_MSG_RESULT([yes])
2420 else
2421 AC_MSG_RESULT([no])
2422 _am_tools=none
2423 fi],
2424
2425 [pax],
2426 [],
2427
2428 [m4_fatal([Unknown tar format])])
2429
2430 AC_MSG_CHECKING([how to create a $1 tar archive])
2431
2432 # Go ahead even if we have the value already cached. We do so because we
2433 # need to set the values for the 'am__tar' and 'am__untar' variables.
2434 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2435
2436 for _am_tool in $_am_tools; do
2437 case $_am_tool in
2438 gnutar)
2439 for _am_tar in tar gnutar gtar; do
2440 AM_RUN_LOG([$_am_tar --version]) && break
2441 done
2442 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2443 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2444 am__untar="$_am_tar -xf -"
2445 ;;
2446 plaintar)
2447 # Must skip GNU tar: if it does not support --format= it doesn't create
2448 # ustar tarball either.
2449 (tar --version) >/dev/null 2>&1 && continue
2450 am__tar='tar chf - "$$tardir"'
2451 am__tar_='tar chf - "$tardir"'
2452 am__untar='tar xf -'
2453 ;;
2454 pax)
2455 am__tar='pax -L -x $1 -w "$$tardir"'
2456 am__tar_='pax -L -x $1 -w "$tardir"'
2457 am__untar='pax -r'
2458 ;;
2459 cpio)
2460 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2461 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2462 am__untar='cpio -i -H $1 -d'
2463 ;;
2464 none)
2465 am__tar=false
2466 am__tar_=false
2467 am__untar=false
2468 ;;
2469 esac
2470
2471 # If the value was cached, stop now. We just wanted to have am__tar
2472 # and am__untar set.
2473 test -n "${am_cv_prog_tar_$1}" && break
2474
2475 # tar/untar a dummy directory, and stop if the command works.
2476 rm -rf conftest.dir
2477 mkdir conftest.dir
2478 echo GrepMe > conftest.dir/file
2479 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2480 rm -rf conftest.dir
2481 if test -s conftest.tar; then
2482 AM_RUN_LOG([$am__untar <conftest.tar])
2483 AM_RUN_LOG([cat conftest.dir/file])
2484 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2485 fi
2486 done
2487 rm -rf conftest.dir
2488
2489 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2490 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2491
2492 AC_SUBST([am__tar])
2493 AC_SUBST([am__untar])
2494 ]) # _AM_PROG_TAR
2495
2496 # Autoconf support for the Vala compiler
2497
2498 # Copyright (C) 2008-2014 Free Software Foundation, Inc.
2499 #
2500 # This file is free software; the Free Software Foundation
2501 # gives unlimited permission to copy and/or distribute it,
2502 # with or without modifications, as long as this notice is preserved.
2503
2504 # Check whether the Vala compiler exists in $PATH. If it is found, the
2505 # variable VALAC is set pointing to its absolute path. Otherwise, it is
2506 # simply set to 'valac'.
2507 # Optionally a minimum release number of the compiler can be requested.
2508 # If the ACTION-IF-FOUND parameter is given, it will be run if a proper
2509 # Vala compiler is found.
2510 # Similarly, if the ACTION-IF-FOUND is given, it will be run if no proper
2511 # Vala compiler is found. It defaults to simply print a warning about the
2512 # situation, but otherwise proceeding with the configuration.
2513 #
2514 # AM_PROG_VALAC([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2515 # --------------------------------------------------------------------------
2516 AC_DEFUN([AM_PROG_VALAC],
2517 [AC_PATH_PROG([VALAC], [valac], [valac])
2518 AS_IF([test "$VALAC" != valac && test -n "$1"],
2519 [AC_MSG_CHECKING([whether $VALAC is at least version $1])
2520 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
2521 AS_VERSION_COMPARE([$1], ["$am__vala_version"],
2522 [AC_MSG_RESULT([yes])],
2523 [AC_MSG_RESULT([yes])],
2524 [AC_MSG_RESULT([no])
2525 VALAC=valac])])
2526 if test "$VALAC" = valac; then
2527 m4_default([$3],
2528 [AC_MSG_WARN([no proper vala compiler found])
2529 AC_MSG_WARN([you will not be able to compile vala source files])])
2530 else
2531 m4_default([$2], [:])
2532 fi])
2533
2217 m4_include([m4/intltool.m4])
25342218 m4_include([m4/libtool.m4])
25352219 m4_include([m4/ltoptions.m4])
25362220 m4_include([m4/ltsugar.m4])
+0
-347
compile less more
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
6 # Written by Tom Tromey <[email protected]>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 # As a special exception to the GNU General Public License, if you
22 # distribute this file as part of a program that contains a
23 # configuration script generated by Autoconf, you may include it under
24 # the same distribution terms that you use for the rest of that program.
25
26 # This file is maintained in Automake, please report
27 # bugs to <[email protected]> or send patches to
28 # <[email protected]>.
29
30 nl='
31 '
32
33 # We need space, tab and new line, in precisely that order. Quoting is
34 # there to prevent tools from complaining about whitespace usage.
35 IFS=" "" $nl"
36
37 file_conv=
38
39 # func_file_conv build_file lazy
40 # Convert a $build file to $host form and store it in $file
41 # Currently only supports Windows hosts. If the determined conversion
42 # type is listed in (the comma separated) LAZY, no conversion will
43 # take place.
44 func_file_conv ()
45 {
46 file=$1
47 case $file in
48 / | /[!/]*) # absolute file, and not a UNC file
49 if test -z "$file_conv"; then
50 # lazily determine how to convert abs files
51 case `uname -s` in
52 MINGW*)
53 file_conv=mingw
54 ;;
55 CYGWIN*)
56 file_conv=cygwin
57 ;;
58 *)
59 file_conv=wine
60 ;;
61 esac
62 fi
63 case $file_conv/,$2, in
64 *,$file_conv,*)
65 ;;
66 mingw/*)
67 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
68 ;;
69 cygwin/*)
70 file=`cygpath -m "$file" || echo "$file"`
71 ;;
72 wine/*)
73 file=`winepath -w "$file" || echo "$file"`
74 ;;
75 esac
76 ;;
77 esac
78 }
79
80 # func_cl_dashL linkdir
81 # Make cl look for libraries in LINKDIR
82 func_cl_dashL ()
83 {
84 func_file_conv "$1"
85 if test -z "$lib_path"; then
86 lib_path=$file
87 else
88 lib_path="$lib_path;$file"
89 fi
90 linker_opts="$linker_opts -LIBPATH:$file"
91 }
92
93 # func_cl_dashl library
94 # Do a library search-path lookup for cl
95 func_cl_dashl ()
96 {
97 lib=$1
98 found=no
99 save_IFS=$IFS
100 IFS=';'
101 for dir in $lib_path $LIB
102 do
103 IFS=$save_IFS
104 if $shared && test -f "$dir/$lib.dll.lib"; then
105 found=yes
106 lib=$dir/$lib.dll.lib
107 break
108 fi
109 if test -f "$dir/$lib.lib"; then
110 found=yes
111 lib=$dir/$lib.lib
112 break
113 fi
114 if test -f "$dir/lib$lib.a"; then
115 found=yes
116 lib=$dir/lib$lib.a
117 break
118 fi
119 done
120 IFS=$save_IFS
121
122 if test "$found" != yes; then
123 lib=$lib.lib
124 fi
125 }
126
127 # func_cl_wrapper cl arg...
128 # Adjust compile command to suit cl
129 func_cl_wrapper ()
130 {
131 # Assume a capable shell
132 lib_path=
133 shared=:
134 linker_opts=
135 for arg
136 do
137 if test -n "$eat"; then
138 eat=
139 else
140 case $1 in
141 -o)
142 # configure might choose to run compile as 'compile cc -o foo foo.c'.
143 eat=1
144 case $2 in
145 *.o | *.[oO][bB][jJ])
146 func_file_conv "$2"
147 set x "$@" -Fo"$file"
148 shift
149 ;;
150 *)
151 func_file_conv "$2"
152 set x "$@" -Fe"$file"
153 shift
154 ;;
155 esac
156 ;;
157 -I)
158 eat=1
159 func_file_conv "$2" mingw
160 set x "$@" -I"$file"
161 shift
162 ;;
163 -I*)
164 func_file_conv "${1#-I}" mingw
165 set x "$@" -I"$file"
166 shift
167 ;;
168 -l)
169 eat=1
170 func_cl_dashl "$2"
171 set x "$@" "$lib"
172 shift
173 ;;
174 -l*)
175 func_cl_dashl "${1#-l}"
176 set x "$@" "$lib"
177 shift
178 ;;
179 -L)
180 eat=1
181 func_cl_dashL "$2"
182 ;;
183 -L*)
184 func_cl_dashL "${1#-L}"
185 ;;
186 -static)
187 shared=false
188 ;;
189 -Wl,*)
190 arg=${1#-Wl,}
191 save_ifs="$IFS"; IFS=','
192 for flag in $arg; do
193 IFS="$save_ifs"
194 linker_opts="$linker_opts $flag"
195 done
196 IFS="$save_ifs"
197 ;;
198 -Xlinker)
199 eat=1
200 linker_opts="$linker_opts $2"
201 ;;
202 -*)
203 set x "$@" "$1"
204 shift
205 ;;
206 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
207 func_file_conv "$1"
208 set x "$@" -Tp"$file"
209 shift
210 ;;
211 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
212 func_file_conv "$1" mingw
213 set x "$@" "$file"
214 shift
215 ;;
216 *)
217 set x "$@" "$1"
218 shift
219 ;;
220 esac
221 fi
222 shift
223 done
224 if test -n "$linker_opts"; then
225 linker_opts="-link$linker_opts"
226 fi
227 exec "$@" $linker_opts
228 exit 1
229 }
230
231 eat=
232
233 case $1 in
234 '')
235 echo "$0: No command. Try '$0 --help' for more information." 1>&2
236 exit 1;
237 ;;
238 -h | --h*)
239 cat <<\EOF
240 Usage: compile [--help] [--version] PROGRAM [ARGS]
241
242 Wrapper for compilers which do not understand '-c -o'.
243 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
244 arguments, and rename the output as expected.
245
246 If you are trying to build a whole package this is not the
247 right script to run: please start by reading the file 'INSTALL'.
248
249 Report bugs to <[email protected]>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
258 func_cl_wrapper "$@" # Doesn't return...
259 ;;
260 esac
261
262 ofile=
263 cfile=
264
265 for arg
266 do
267 if test -n "$eat"; then
268 eat=
269 else
270 case $1 in
271 -o)
272 # configure might choose to run compile as 'compile cc -o foo foo.c'.
273 # So we strip '-o arg' only if arg is an object.
274 eat=1
275 case $2 in
276 *.o | *.obj)
277 ofile=$2
278 ;;
279 *)
280 set x "$@" -o "$2"
281 shift
282 ;;
283 esac
284 ;;
285 *.c)
286 cfile=$1
287 set x "$@" "$1"
288 shift
289 ;;
290 *)
291 set x "$@" "$1"
292 shift
293 ;;
294 esac
295 fi
296 shift
297 done
298
299 if test -z "$ofile" || test -z "$cfile"; then
300 # If no '-o' option was seen then we might have been invoked from a
301 # pattern rule where we don't need one. That is ok -- this is a
302 # normal compilation that the losing compiler can handle. If no
303 # '.c' file was seen then we are probably linking. That is also
304 # ok.
305 exec "$@"
306 fi
307
308 # Name of file we expect compiler to create.
309 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
310
311 # Create the lock directory.
312 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
313 # that we are using for the .o file. Also, base the name on the expected
314 # object file name, since that is what matters with a parallel build.
315 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
316 while true; do
317 if mkdir "$lockdir" >/dev/null 2>&1; then
318 break
319 fi
320 sleep 1
321 done
322 # FIXME: race condition here if user kills between mkdir and trap.
323 trap "rmdir '$lockdir'; exit 1" 1 2 15
324
325 # Run the compile.
326 "$@"
327 ret=$?
328
329 if test -f "$cofile"; then
330 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
331 elif test -f "${cofile}bj"; then
332 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
333 fi
334
335 rmdir "$lockdir"
336 exit $ret
337
338 # Local Variables:
339 # mode: shell-script
340 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # time-stamp-start: "scriptversion="
343 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-end: "; # UTC"
346 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-06-10'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
2323 # program. This Exception is an additional permission under section 7
2424 # of the GNU General Public License, version 3 ("GPLv3").
2525 #
26 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
26 # Originally written by Per Bothner.
2727 #
2828 # You can get the latest version of this script from:
2929 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
3030 #
31 # Please send patches to <[email protected]>.
31 # Please send patches with a ChangeLog entry to [email protected].
3232
3333
3434 me=`echo "$0" | sed -e 's,.*/,,'`
4949 GNU config.guess ($timestamp)
5050
5151 Originally written by Per Bothner.
52 Copyright 1992-2015 Free Software Foundation, Inc.
52 Copyright 1992-2013 Free Software Foundation, Inc.
5353
5454 This is free software; see the source for copying conditions. There is NO
5555 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
148148 LIBC=gnu
149149 #endif
150150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
152152 ;;
153153 esac
154154
578578 else
579579 IBM_ARCH=powerpc
580580 fi
581 if [ -x /usr/bin/lslpp ] ; then
582 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
583 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
581 if [ -x /usr/bin/oslevel ] ; then
582 IBM_REV=`/usr/bin/oslevel`
584583 else
585584 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
586585 fi
826825 *:MINGW*:*)
827826 echo ${UNAME_MACHINE}-pc-mingw32
828827 exit ;;
829 *:MSYS*:*)
828 i*:MSYS*:*)
830829 echo ${UNAME_MACHINE}-pc-msys
831830 exit ;;
832831 i*:windows32*:*)
969968 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970969 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
971970 ;;
972 openrisc*:Linux:*:*)
973 echo or1k-unknown-linux-${LIBC}
974 exit ;;
975 or32:Linux:*:* | or1k*:Linux:*:*)
971 or1k:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
973 exit ;;
974 or32:Linux:*:*)
976975 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
977976 exit ;;
978977 padre:Linux:*:*)
12601259 if test "$UNAME_PROCESSOR" = unknown ; then
12611260 UNAME_PROCESSOR=powerpc
12621261 fi
1263 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1264 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1265 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1266 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1267 grep IS_64BIT_ARCH >/dev/null
1268 then
1269 case $UNAME_PROCESSOR in
1270 i386) UNAME_PROCESSOR=x86_64 ;;
1271 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1272 esac
1273 fi
1262 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1263 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1264 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1265 grep IS_64BIT_ARCH >/dev/null
1266 then
1267 case $UNAME_PROCESSOR in
1268 i386) UNAME_PROCESSOR=x86_64 ;;
1269 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1270 esac
12741271 fi
1275 elif test "$UNAME_PROCESSOR" = i386 ; then
1276 # Avoid executing cc on OS X 10.9, as it ships with a stub
1277 # that puts up a graphical alert prompting to install
1278 # developer tools. Any system running Mac OS X 10.7 or
1279 # later (Darwin 11 and later) is required to have a 64-bit
1280 # processor. This is not true of the ARM version of Darwin
1281 # that Apple uses in portable devices.
1282 UNAME_PROCESSOR=x86_64
12831272 fi
12841273 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12851274 exit ;;
13711360 exit ;;
13721361 esac
13731362
1363 eval $set_cc_for_build
1364 cat >$dummy.c <<EOF
1365 #ifdef _SEQUENT_
1366 # include <sys/types.h>
1367 # include <sys/utsname.h>
1368 #endif
1369 main ()
1370 {
1371 #if defined (sony)
1372 #if defined (MIPSEB)
1373 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1374 I don't know.... */
1375 printf ("mips-sony-bsd\n"); exit (0);
1376 #else
1377 #include <sys/param.h>
1378 printf ("m68k-sony-newsos%s\n",
1379 #ifdef NEWSOS4
1380 "4"
1381 #else
1382 ""
1383 #endif
1384 ); exit (0);
1385 #endif
1386 #endif
1387
1388 #if defined (__arm) && defined (__acorn) && defined (__unix)
1389 printf ("arm-acorn-riscix\n"); exit (0);
1390 #endif
1391
1392 #if defined (hp300) && !defined (hpux)
1393 printf ("m68k-hp-bsd\n"); exit (0);
1394 #endif
1395
1396 #if defined (NeXT)
1397 #if !defined (__ARCHITECTURE__)
1398 #define __ARCHITECTURE__ "m68k"
1399 #endif
1400 int version;
1401 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1402 if (version < 4)
1403 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1404 else
1405 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1406 exit (0);
1407 #endif
1408
1409 #if defined (MULTIMAX) || defined (n16)
1410 #if defined (UMAXV)
1411 printf ("ns32k-encore-sysv\n"); exit (0);
1412 #else
1413 #if defined (CMU)
1414 printf ("ns32k-encore-mach\n"); exit (0);
1415 #else
1416 printf ("ns32k-encore-bsd\n"); exit (0);
1417 #endif
1418 #endif
1419 #endif
1420
1421 #if defined (__386BSD__)
1422 printf ("i386-pc-bsd\n"); exit (0);
1423 #endif
1424
1425 #if defined (sequent)
1426 #if defined (i386)
1427 printf ("i386-sequent-dynix\n"); exit (0);
1428 #endif
1429 #if defined (ns32000)
1430 printf ("ns32k-sequent-dynix\n"); exit (0);
1431 #endif
1432 #endif
1433
1434 #if defined (_SEQUENT_)
1435 struct utsname un;
1436
1437 uname(&un);
1438
1439 if (strncmp(un.version, "V2", 2) == 0) {
1440 printf ("i386-sequent-ptx2\n"); exit (0);
1441 }
1442 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1443 printf ("i386-sequent-ptx1\n"); exit (0);
1444 }
1445 printf ("i386-sequent-ptx\n"); exit (0);
1446
1447 #endif
1448
1449 #if defined (vax)
1450 # if !defined (ultrix)
1451 # include <sys/param.h>
1452 # if defined (BSD)
1453 # if BSD == 43
1454 printf ("vax-dec-bsd4.3\n"); exit (0);
1455 # else
1456 # if BSD == 199006
1457 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1458 # else
1459 printf ("vax-dec-bsd\n"); exit (0);
1460 # endif
1461 # endif
1462 # else
1463 printf ("vax-dec-bsd\n"); exit (0);
1464 # endif
1465 # else
1466 printf ("vax-dec-ultrix\n"); exit (0);
1467 # endif
1468 #endif
1469
1470 #if defined (alliant) && defined (i860)
1471 printf ("i860-alliant-bsd\n"); exit (0);
1472 #endif
1473
1474 exit (1);
1475 }
1476 EOF
1477
1478 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1479 { echo "$SYSTEM_NAME"; exit; }
1480
1481 # Apollos put the system type in the environment.
1482
1483 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1484
1485 # Convex versions that predate uname can use getsysinfo(1)
1486
1487 if [ -x /usr/convex/getsysinfo ]
1488 then
1489 case `getsysinfo -f cpu_type` in
1490 c1*)
1491 echo c1-convex-bsd
1492 exit ;;
1493 c2*)
1494 if getsysinfo -f scalar_acc
1495 then echo c32-convex-bsd
1496 else echo c2-convex-bsd
1497 fi
1498 exit ;;
1499 c34*)
1500 echo c34-convex-bsd
1501 exit ;;
1502 c38*)
1503 echo c38-convex-bsd
1504 exit ;;
1505 c4*)
1506 echo c4-convex-bsd
1507 exit ;;
1508 esac
1509 fi
1510
13741511 cat >&2 <<EOF
13751512 $0: unable to guess system type
13761513
7777 /* Define to 1 if you have the <unistd.h> header file. */
7878 #undef HAVE_UNISTD_H
7979
80 /* Define to the sub-directory where libtool stores uninstalled libraries. */
80 /* Define to the sub-directory in which libtool stores uninstalled libraries.
81 */
8182 #undef LT_OBJDIR
8283
8384 /* Name of package */
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2015 Free Software Foundation, Inc.
3
4 timestamp='2015-01-01'
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-04-24'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
2424 # of the GNU General Public License, version 3 ("GPLv3").
2525
2626
27 # Please send patches to <[email protected]>.
27 # Please send patches with a ChangeLog entry to [email protected].
2828 #
2929 # Configuration subroutine to validate and canonicalize a configuration type.
3030 # Supply the specified configuration type as an argument.
6767 version="\
6868 GNU config.sub ($timestamp)
6969
70 Copyright 1992-2015 Free Software Foundation, Inc.
70 Copyright 1992-2013 Free Software Foundation, Inc.
7171
7272 This is free software; see the source for copying conditions. There is NO
7373 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
256256 | avr | avr32 \
257257 | be32 | be64 \
258258 | bfin \
259 | c4x | c8051 | clipper \
259 | c4x | clipper \
260260 | d10v | d30v | dlx | dsp16xx \
261261 | epiphany \
262 | fido | fr30 | frv | ft32 \
262 | fido | fr30 | frv \
263263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264264 | hexagon \
265265 | i370 | i860 | i960 | ia64 \
266266 | ip2k | iq2000 \
267 | k1om \
268267 | le32 | le64 \
269268 | lm32 \
270269 | m32c | m32r | m32rle | m68000 | m68k | m88k \
282281 | mips64vr5900 | mips64vr5900el \
283282 | mipsisa32 | mipsisa32el \
284283 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
286284 | mipsisa64 | mipsisa64el \
287285 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
289286 | mipsisa64sb1 | mipsisa64sb1el \
290287 | mipsisa64sr71k | mipsisa64sr71kel \
291288 | mipsr5900 | mipsr5900el \
297294 | nds32 | nds32le | nds32be \
298295 | nios | nios2 | nios2eb | nios2el \
299296 | ns16k | ns32k \
300 | open8 | or1k | or1knd | or32 \
297 | open8 \
298 | or1k | or32 \
301299 | pdp10 | pdp11 | pj | pjl \
302300 | powerpc | powerpc64 | powerpc64le | powerpcle \
303301 | pyramid \
304 | riscv32 | riscv64 \
305302 | rl78 | rx \
306303 | score \
307304 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
312309 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
313310 | ubicom32 \
314311 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
315 | visium \
316312 | we32k \
317313 | x86 | xc16x | xstormy16 | xtensa \
318314 | z8k | z80)
327323 c6x)
328324 basic_machine=tic6x-unknown
329325 ;;
330 leon|leon[3-9])
331 basic_machine=sparc-$basic_machine
332 ;;
333 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
326 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
334327 basic_machine=$basic_machine-unknown
335328 os=-none
336329 ;;
378371 | be32-* | be64-* \
379372 | bfin-* | bs2000-* \
380373 | c[123]* | c30-* | [cjt]90-* | c4x-* \
381 | c8051-* | clipper-* | craynv-* | cydra-* \
374 | clipper-* | craynv-* | cydra-* \
382375 | d10v-* | d30v-* | dlx-* \
383376 | elxsi-* \
384377 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
387380 | hexagon-* \
388381 | i*86-* | i860-* | i960-* | ia64-* \
389382 | ip2k-* | iq2000-* \
390 | k1om-* \
391383 | le32-* | le64-* \
392384 | lm32-* \
393385 | m32c-* | m32r-* | m32rle-* \
407399 | mips64vr5900-* | mips64vr5900el-* \
408400 | mipsisa32-* | mipsisa32el-* \
409401 | mipsisa32r2-* | mipsisa32r2el-* \
410 | mipsisa32r6-* | mipsisa32r6el-* \
411402 | mipsisa64-* | mipsisa64el-* \
412403 | mipsisa64r2-* | mipsisa64r2el-* \
413 | mipsisa64r6-* | mipsisa64r6el-* \
414404 | mipsisa64sb1-* | mipsisa64sb1el-* \
415405 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
416406 | mipsr5900-* | mipsr5900el-* \
422412 | nios-* | nios2-* | nios2eb-* | nios2el-* \
423413 | none-* | np1-* | ns16k-* | ns32k-* \
424414 | open8-* \
425 | or1k*-* \
426415 | orion-* \
427416 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
428417 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
440429 | ubicom32-* \
441430 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
442431 | vax-* \
443 | visium-* \
444432 | we32k-* \
445433 | x86-* | x86_64-* | xc16x-* | xps100-* \
446434 | xstormy16-* | xtensa*-* \
778766 basic_machine=m68k-isi
779767 os=-sysv
780768 ;;
781 leon-*|leon[3-9]-*)
782 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
783 ;;
784769 m68knommu)
785770 basic_machine=m68k-unknown
786771 os=-linux
808793 os=-mingw64
809794 ;;
810795 mingw32)
811 basic_machine=i686-pc
796 basic_machine=i386-pc
812797 os=-mingw32
813798 ;;
814799 mingw32ce)
836821 basic_machine=powerpc-unknown
837822 os=-morphos
838823 ;;
839 moxiebox)
840 basic_machine=moxie-unknown
841 os=-moxiebox
842 ;;
843824 msdos)
844825 basic_machine=i386-pc
845826 os=-msdos
848829 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
849830 ;;
850831 msys)
851 basic_machine=i686-pc
832 basic_machine=i386-pc
852833 os=-msys
853834 ;;
854835 mvs)
13851366 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
13861367 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13871368 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1388 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1369 | -uxpv* | -beos* | -mpeix* | -udk* \
13891370 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13901371 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13911372 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13921373 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
13931374 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
13941375 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1395 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1376 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
13961377 # Remember, each alternative MUST END IN *, to match a version number.
13971378 ;;
13981379 -qnx*)
15641545 c4x-* | tic4x-*)
15651546 os=-coff
15661547 ;;
1567 c8051-*)
1568 os=-elf
1569 ;;
15701548 hexagon-*)
15711549 os=-elf
15721550 ;;
16081586 os=-elf
16091587 ;;
16101588 mips*-*)
1589 os=-elf
1590 ;;
1591 or1k-*)
16111592 os=-elf
16121593 ;;
16131594 or32-*)
+921
-1390
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for GNOME Terminal 3.20.1.
2 # Generated by GNU Autoconf 2.69 for GNOME Terminal 3.20.2.
33 #
44 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-terminal>.
55 #
650650 # Identity of this package.
651651 PACKAGE_NAME='GNOME Terminal'
652652 PACKAGE_TARNAME='gnome-terminal'
653 PACKAGE_VERSION='3.20.1'
654 PACKAGE_STRING='GNOME Terminal 3.20.1'
653 PACKAGE_VERSION='3.20.2'
654 PACKAGE_STRING='GNOME Terminal 3.20.2'
655655 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-terminal'
656656 PACKAGE_URL=''
657657
752752 INTLLIBS
753753 INSTOBJEXT
754754 GMOFILES
755 DATADIRNAME
756755 CATOBJEXT
757756 CATALOGS
758757 MSGFMT_OPTS
758 DATADIRNAME
759759 ALL_LINGUAS
760760 INTLTOOL_PERL
761761 GMSGFMT
791791 INTLTOOL_MERGE
792792 INTLTOOL_UPDATE
793793 USE_NLS
794 LT_SYS_LIBRARY_PATH
795794 OTOOL64
796795 OTOOL
797796 LIPO
921920 enable_static
922921 with_pic
923922 enable_fast_install
924 with_aix_soname
925923 with_gnu_ld
926924 with_sysroot
927925 enable_libtool_lock
952950 LIBS
953951 CPPFLAGS
954952 CPP
955 LT_SYS_LIBRARY_PATH
956953 PCRE2_CFLAGS
957954 PCRE2_LIBS
958955 TERM_CFLAGS
15101507 # Omit some internal or obsolete options to make the list less imposing.
15111508 # This message is too long to be a string in the A/UX 3.1 sh.
15121509 cat <<_ACEOF
1513 \`configure' configures GNOME Terminal 3.20.1 to adapt to many kinds of systems.
1510 \`configure' configures GNOME Terminal 3.20.2 to adapt to many kinds of systems.
15141511
15151512 Usage: $0 [OPTION]... [VAR=VALUE]...
15161513
15801577
15811578 if test -n "$ac_init_help"; then
15821579 case $ac_init_help in
1583 short | recursive ) echo "Configuration of GNOME Terminal 3.20.1:";;
1580 short | recursive ) echo "Configuration of GNOME Terminal 3.20.2:";;
15841581 esac
15851582 cat <<\_ACEOF
15861583
16181615 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
16191616 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
16201617 both]
1621 --with-aix-soname=aix|svr4|both
1622 shared library versioning (aka "SONAME") variant to
1623 provide on AIX, [default=aix].
16241618 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1625 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1626 compiler's sysroot if not specified).
1619 --with-sysroot=DIR Search for dependent libraries within DIR
1620 (or the compiler's sysroot if not specified).
16271621 --with-gtk=3.0 which gtk+ version to compile against (default: 3.0)
16281622 --without-pcre2 Disable pcre2 support
16291623 --with-dbus-interface-dir=PATH
16501644 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
16511645 you have headers in a nonstandard directory <include dir>
16521646 CPP C preprocessor
1653 LT_SYS_LIBRARY_PATH
1654 User-defined run-time library search path.
16551647 PCRE2_CFLAGS
16561648 C compiler flags for PCRE2, overriding pkg-config
16571649 PCRE2_LIBS linker flags for PCRE2, overriding pkg-config
17481740 test -n "$ac_init_help" && exit $ac_status
17491741 if $ac_init_version; then
17501742 cat <<\_ACEOF
1751 GNOME Terminal configure 3.20.1
1743 GNOME Terminal configure 3.20.2
17521744 generated by GNU Autoconf 2.69
17531745
17541746 Copyright (C) 2012 Free Software Foundation, Inc.
21172109 This file contains any messages produced by compilers while
21182110 running configure, to aid debugging if configure makes a mistake.
21192111
2120 It was created by GNOME Terminal $as_me 3.20.1, which was
2112 It was created by GNOME Terminal $as_me 3.20.2, which was
21212113 generated by GNU Autoconf 2.69. Invocation command line was
21222114
21232115 $ $0 $@
24702462
24712463
24722464
2473 am__api_version='1.15'
2465 am__api_version='1.13'
24742466
24752467 ac_aux_dir=
24762468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
26712663 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
26722664 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
26732665
2674 # Expand $ac_aux_dir to an absolute path.
2675 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2666 # expand $ac_aux_dir to an absolute path
2667 am_aux_dir=`cd $ac_aux_dir && pwd`
26762668
26772669 if test x"${MISSING+set}" != xset; then
26782670 case $am_aux_dir in
26912683 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
26922684 fi
26932685
2694 if test x"${install_sh+set}" != xset; then
2686 if test x"${install_sh}" != xset; then
26952687 case $am_aux_dir in
26962688 *\ * | *\ *)
26972689 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
29852977
29862978 # Define the identity of the package.
29872979 PACKAGE='gnome-terminal'
2988 VERSION='3.20.1'
2980 VERSION='3.20.2'
29892981
29902982
29912983 cat >>confdefs.h <<_ACEOF
30193011 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
30203012 mkdir_p='$(MKDIR_P)'
30213013
3022 # We need awk for the "check" target (and possibly the TAP driver). The
3023 # system "awk" is bad on some platforms.
3014 # We need awk for the "check" target. The system "awk" is bad on
3015 # some platforms.
30243016 # Always define AMTAR for backward compatibility. Yes, it's still used
30253017 # in the wild :-( We should find a proper way to deprecate it ...
30263018 AMTAR='$${TAR-tar}'
30353027
30363028
30373029
3038
3039 # POSIX will say in a future version that running "rm -f" with no argument
3040 # is OK; and we want to be able to make that assumption in our Makefile
3041 # recipes. So use an aggressive probe to check that the usage we want is
3042 # actually supported "in the wild" to an acceptable degree.
3043 # See automake bug#10828.
3044 # To make any issue more visible, cause the running configure to be aborted
3045 # by default if the 'rm' program in use doesn't match our expectations; the
3046 # user can still override this though.
3047 if rm -f && rm -fr && rm -rf; then : OK; else
3048 cat >&2 <<'END'
3049 Oops!
3050
3051 Your 'rm' program seems unable to run without file operands specified
3052 on the command line, even when the '-f' option is present. This is contrary
3053 to the behaviour of most rm programs out there, and not conforming with
3054 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3055
3056 Please tell [email protected] about your system, including the value
3057 of your $PATH and any error possibly output before this message. This
3058 can help us improve future automake versions.
3059
3060 END
3061 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3062 echo 'Configuration will proceed anyway, since you have set the' >&2
3063 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3064 echo >&2
3065 else
3066 cat >&2 <<'END'
3067 Aborting the configuration process, to ensure you take notice of the issue.
3068
3069 You can download and install GNU coreutils to get an 'rm' implementation
3070 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3071
3072 If you want to complete the configuration process using your problematic
3073 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3074 to "yes", and re-run configure.
3075
3076 END
3077 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3078 fi
3079 fi
30803030
30813031
30823032 # Check whether --enable-silent-rules was given.
32743224 PKG_CONFIG=""
32753225 fi
32763226 fi
3227
32773228 ac_ext=c
32783229 ac_cpp='$CPP $CPPFLAGS'
32793230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4065
4066 ac_ext=c
4067 ac_cpp='$CPP $CPPFLAGS'
4068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4072 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4073 if ${am_cv_prog_cc_c_o+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4078
4079 int
4080 main ()
4081 {
4082
4083 ;
4084 return 0;
4085 }
4086 _ACEOF
4087 # Make sure it works both with $CC and with simple cc.
4088 # Following AC_PROG_CC_C_O, we do the test twice because some
4089 # compilers refuse to overwrite an existing .o file with -o,
4090 # though they will create one.
4091 am_cv_prog_cc_c_o=yes
4092 for am_i in 1 2; do
4093 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4094 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4095 ac_status=$?
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } \
4098 && test -f conftest2.$ac_objext; then
4099 : OK
4100 else
4101 am_cv_prog_cc_c_o=no
4102 break
4103 fi
4104 done
4105 rm -f core conftest*
4106 unset am_i
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4109 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4110 if test "$am_cv_prog_cc_c_o" != yes; then
4111 # Losing compiler, so override with the script.
4112 # FIXME: It is wrong to rewrite CC.
4113 # But if we don't then we get into trouble of one sort or another.
4114 # A longer-term fix would be to have automake use am__CC in this case,
4115 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4116 CC="$am_aux_dir/compile $CC"
4117 fi
4118 ac_ext=c
4119 ac_cpp='$CPP $CPPFLAGS'
4120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4123
41244016 DEPDIR="${am__leading_dot}deps"
41254017
41264018 ac_config_commands="$ac_config_commands depfiles"
47584650
47594651
47604652
4761 macro_version='2.4.6'
4762 macro_revision='2.4.6'
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776 ltmain=$ac_aux_dir/ltmain.sh
4653 macro_version='2.4.2'
4654 macro_revision='1.3337'
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668 ltmain="$ac_aux_dir/ltmain.sh"
47774669
47784670 # Make sure we can run config.sub.
47794671 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
48934785 $ECHO ""
48944786 }
48954787
4896 case $ECHO in
4788 case "$ECHO" in
48974789 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
48984790 $as_echo "printf" >&6; } ;;
48994791 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
50864978
50874979 # Check whether --with-gnu-ld was given.
50884980 if test "${with_gnu_ld+set}" = set; then :
5089 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4981 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
50904982 else
50914983 with_gnu_ld=no
50924984 fi
50934985
50944986 ac_prog=ld
5095 if test yes = "$GCC"; then
4987 if test "$GCC" = yes; then
50964988 # Check if gcc -print-prog-name=ld gives a path.
50974989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
50984990 $as_echo_n "checking for ld used by $CC... " >&6; }
50994991 case $host in
51004992 *-*-mingw*)
5101 # gcc leaves a trailing carriage return, which upsets mingw
4993 # gcc leaves a trailing carriage return which upsets mingw
51024994 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
51034995 *)
51044996 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
51125004 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
51135005 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
51145006 done
5115 test -z "$LD" && LD=$ac_prog
5007 test -z "$LD" && LD="$ac_prog"
51165008 ;;
51175009 "")
51185010 # If it fails, then pretend we aren't using GCC.
51235015 with_gnu_ld=unknown
51245016 ;;
51255017 esac
5126 elif test yes = "$with_gnu_ld"; then
5018 elif test "$with_gnu_ld" = yes; then
51275019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
51285020 $as_echo_n "checking for GNU ld... " >&6; }
51295021 else
51345026 $as_echo_n "(cached) " >&6
51355027 else
51365028 if test -z "$LD"; then
5137 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5029 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
51385030 for ac_dir in $PATH; do
5139 IFS=$lt_save_ifs
5031 IFS="$lt_save_ifs"
51405032 test -z "$ac_dir" && ac_dir=.
51415033 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5142 lt_cv_path_LD=$ac_dir/$ac_prog
5034 lt_cv_path_LD="$ac_dir/$ac_prog"
51435035 # Check to see if the program is GNU ld. I'd rather use --version,
51445036 # but apparently some variants of GNU ld only accept -v.
51455037 # Break only if it was the GNU/non-GNU ld that we prefer.
51465038 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
51475039 *GNU* | *'with BFD'*)
5148 test no != "$with_gnu_ld" && break
5040 test "$with_gnu_ld" != no && break
51495041 ;;
51505042 *)
5151 test yes != "$with_gnu_ld" && break
5043 test "$with_gnu_ld" != yes && break
51525044 ;;
51535045 esac
51545046 fi
51555047 done
5156 IFS=$lt_save_ifs
5157 else
5158 lt_cv_path_LD=$LD # Let the user override the test with a path.
5159 fi
5160 fi
5161
5162 LD=$lt_cv_path_LD
5048 IFS="$lt_save_ifs"
5049 else
5050 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5051 fi
5052 fi
5053
5054 LD="$lt_cv_path_LD"
51635055 if test -n "$LD"; then
51645056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
51655057 $as_echo "$LD" >&6; }
52025094 else
52035095 if test -n "$NM"; then
52045096 # Let the user override the test.
5205 lt_cv_path_NM=$NM
5206 else
5207 lt_nm_to_check=${ac_tool_prefix}nm
5097 lt_cv_path_NM="$NM"
5098 else
5099 lt_nm_to_check="${ac_tool_prefix}nm"
52085100 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
52095101 lt_nm_to_check="$lt_nm_to_check nm"
52105102 fi
52115103 for lt_tmp_nm in $lt_nm_to_check; do
5212 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5104 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
52135105 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5214 IFS=$lt_save_ifs
5106 IFS="$lt_save_ifs"
52155107 test -z "$ac_dir" && ac_dir=.
5216 tmp_nm=$ac_dir/$lt_tmp_nm
5217 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5108 tmp_nm="$ac_dir/$lt_tmp_nm"
5109 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
52185110 # Check to see if the nm accepts a BSD-compat flag.
5219 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5111 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
52205112 # nm: unknown option "B" ignored
52215113 # Tru64's nm complains that /dev/null is an invalid object file
5222 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5223 case $build_os in
5224 mingw*) lt_bad_file=conftest.nm/nofile ;;
5225 *) lt_bad_file=/dev/null ;;
5226 esac
5227 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5228 *$lt_bad_file* | *'Invalid file or object type'*)
5114 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5115 */dev/null* | *'Invalid file or object type'*)
52295116 lt_cv_path_NM="$tmp_nm -B"
5230 break 2
5117 break
52315118 ;;
52325119 *)
52335120 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
52345121 */dev/null*)
52355122 lt_cv_path_NM="$tmp_nm -p"
5236 break 2
5123 break
52375124 ;;
52385125 *)
52395126 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
52445131 esac
52455132 fi
52465133 done
5247 IFS=$lt_save_ifs
5134 IFS="$lt_save_ifs"
52485135 done
52495136 : ${lt_cv_path_NM=no}
52505137 fi
52515138 fi
52525139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
52535140 $as_echo "$lt_cv_path_NM" >&6; }
5254 if test no != "$lt_cv_path_NM"; then
5255 NM=$lt_cv_path_NM
5141 if test "$lt_cv_path_NM" != "no"; then
5142 NM="$lt_cv_path_NM"
52565143 else
52575144 # Didn't find any BSD compatible name lister, look for dumpbin.
52585145 if test -n "$DUMPBIN"; then :
53585245 fi
53595246 fi
53605247
5361 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5248 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
53625249 *COFF*)
5363 DUMPBIN="$DUMPBIN -symbols -headers"
5250 DUMPBIN="$DUMPBIN -symbols"
53645251 ;;
53655252 *)
53665253 DUMPBIN=:
53685255 esac
53695256 fi
53705257
5371 if test : != "$DUMPBIN"; then
5372 NM=$DUMPBIN
5258 if test "$DUMPBIN" != ":"; then
5259 NM="$DUMPBIN"
53735260 fi
53745261 fi
53755262 test -z "$NM" && NM=nm
54205307 $as_echo_n "(cached) " >&6
54215308 else
54225309 i=0
5423 teststring=ABCD
5310 teststring="ABCD"
54245311
54255312 case $build_os in
54265313 msdosdjgpp*)
54605347 lt_cv_sys_max_cmd_len=8192;
54615348 ;;
54625349
5463 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5350 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
54645351 # This has been around since 386BSD, at least. Likely further.
54655352 if test -x /sbin/sysctl; then
54665353 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
55105397 ;;
55115398 *)
55125399 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5513 if test -n "$lt_cv_sys_max_cmd_len" && \
5514 test undefined != "$lt_cv_sys_max_cmd_len"; then
5400 if test -n "$lt_cv_sys_max_cmd_len"; then
55155401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
55165402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
55175403 else
55185404 # Make teststring a little bigger before we do anything with it.
55195405 # a 1K string should be a reasonable start.
5520 for i in 1 2 3 4 5 6 7 8; do
5406 for i in 1 2 3 4 5 6 7 8 ; do
55215407 teststring=$teststring$teststring
55225408 done
55235409 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
55245410 # If test is not a shell built-in, we'll probably end up computing a
55255411 # maximum length that is only half of the actual maximum length, but
55265412 # we can't tell.
5527 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5413 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
55285414 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5529 test 17 != "$i" # 1/2 MB should be enough
5415 test $i != 17 # 1/2 MB should be enough
55305416 do
55315417 i=`expr $i + 1`
55325418 teststring=$teststring$teststring
55445430
55455431 fi
55465432
5547 if test -n "$lt_cv_sys_max_cmd_len"; then
5433 if test -n $lt_cv_sys_max_cmd_len ; then
55485434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
55495435 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
55505436 else
55615447 : ${CP="cp -f"}
55625448 : ${MV="mv -f"}
55635449 : ${RM="rm -f"}
5450
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5452 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5453 # Try some XSI features
5454 xsi_shell=no
5455 ( _lt_dummy="a/b/c"
5456 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5457 = c,a/b,b/c, \
5458 && eval 'test $(( 1 + 1 )) -eq 2 \
5459 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5460 && xsi_shell=yes
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5462 $as_echo "$xsi_shell" >&6; }
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5466 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5467 lt_shell_append=no
5468 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5469 >/dev/null 2>&1 \
5470 && lt_shell_append=yes
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5472 $as_echo "$lt_shell_append" >&6; }
5473
55645474
55655475 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55665476 lt_unset=unset
56845594 reload_cmds='$LD$reload_flag -o $output$reload_objs'
56855595 case $host_os in
56865596 cygwin* | mingw* | pw32* | cegcc*)
5687 if test yes != "$GCC"; then
5597 if test "$GCC" != yes; then
56885598 reload_cmds=false
56895599 fi
56905600 ;;
56915601 darwin*)
5692 if test yes = "$GCC"; then
5693 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5602 if test "$GCC" = yes; then
5603 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
56945604 else
56955605 reload_cmds='$LD$reload_flag -o $output$reload_objs'
56965606 fi
58185728 # Need to set the preceding variable on all platforms that support
58195729 # interlibrary dependencies.
58205730 # 'none' -- dependencies not supported.
5821 # 'unknown' -- same as none, but documents that we really don't know.
5731 # `unknown' -- same as none, but documents that we really don't know.
58225732 # 'pass_all' -- all dependencies passed with no checks.
58235733 # 'test_compile' -- check by making test program.
58245734 # 'file_magic [[regex]]' -- check by looking for files in library path
5825 # that responds to the $file_magic_cmd with a given extended regex.
5826 # If you have 'file' or equivalent on your system and you're not sure
5827 # whether 'pass_all' will *always* work, you probably want this one.
5735 # which responds to the $file_magic_cmd with a given extended regex.
5736 # If you have `file' or equivalent on your system and you're not sure
5737 # whether `pass_all' will *always* work, you probably want this one.
58285738
58295739 case $host_os in
58305740 aix[4-9]*)
58515761 # Base MSYS/MinGW do not provide the 'file' command needed by
58525762 # func_win32_libid shell function, so use a weaker test based on 'objdump',
58535763 # unless we find 'file', for example because we are cross-compiling.
5854 if ( file / ) >/dev/null 2>&1; then
5764 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5765 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
58555766 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
58565767 lt_cv_file_magic_cmd='func_win32_libid'
58575768 else
58855796 else
58865797 lt_cv_deplibs_check_method=pass_all
58875798 fi
5799 ;;
5800
5801 gnu*)
5802 lt_cv_deplibs_check_method=pass_all
58885803 ;;
58895804
58905805 haiku*)
59255840 ;;
59265841
59275842 # This must be glibc/ELF.
5928 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5843 linux* | k*bsd*-gnu | kopensolaris*-gnu)
59295844 lt_cv_deplibs_check_method=pass_all
59305845 ;;
59315846
59475862 lt_cv_deplibs_check_method=pass_all
59485863 ;;
59495864
5950 openbsd* | bitrig*)
5951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5865 openbsd*)
5866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
59525867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
59535868 else
59545869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
60015916 tpf*)
60025917 lt_cv_deplibs_check_method=pass_all
60035918 ;;
6004 os2*)
6005 lt_cv_deplibs_check_method=pass_all
6006 ;;
60075919 esac
60085920
60095921 fi
61616073
61626074 case $host_os in
61636075 cygwin* | mingw* | pw32* | cegcc*)
6164 # two different shell functions defined in ltmain.sh;
6165 # decide which one to use based on capabilities of $DLLTOOL
6076 # two different shell functions defined in ltmain.sh
6077 # decide which to use based on capabilities of $DLLTOOL
61666078 case `$DLLTOOL --help 2>&1` in
61676079 *--identify-strict*)
61686080 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
61746086 ;;
61756087 *)
61766088 # fallback: assume linklib IS sharedlib
6177 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6089 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
61786090 ;;
61796091 esac
61806092
63286240 ac_status=$?
63296241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63306242 test $ac_status = 0; }
6331 if test 0 -eq "$ac_status"; then
6243 if test "$ac_status" -eq 0; then
63326244 # Ensure the archiver fails upon bogus file names.
63336245 rm -f conftest.$ac_objext libconftest.a
63346246 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
63366248 ac_status=$?
63376249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63386250 test $ac_status = 0; }
6339 if test 0 -ne "$ac_status"; then
6251 if test "$ac_status" -ne 0; then
63406252 lt_cv_ar_at_file=@
63416253 fi
63426254 fi
63496261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
63506262 $as_echo "$lt_cv_ar_at_file" >&6; }
63516263
6352 if test no = "$lt_cv_ar_at_file"; then
6264 if test "x$lt_cv_ar_at_file" = xno; then
63536265 archiver_list_spec=
63546266 else
63556267 archiver_list_spec=$lt_cv_ar_at_file
65666478
65676479 if test -n "$RANLIB"; then
65686480 case $host_os in
6569 bitrig* | openbsd*)
6481 openbsd*)
65706482 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
65716483 ;;
65726484 *)
66566568 symcode='[ABCDGISTW]'
66576569 ;;
66586570 hpux*)
6659 if test ia64 = "$host_cpu"; then
6571 if test "$host_cpu" = ia64; then
66606572 symcode='[ABCDEGRST]'
66616573 fi
66626574 ;;
66896601 symcode='[ABCDGIRSTW]' ;;
66906602 esac
66916603
6692 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6693 # Gets list of data symbols to import.
6694 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6695 # Adjust the below global symbol transforms to fixup imported variables.
6696 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6697 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6698 lt_c_name_lib_hook="\
6699 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6700 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6701 else
6702 # Disable hooks by default.
6703 lt_cv_sys_global_symbol_to_import=
6704 lt_cdecl_hook=
6705 lt_c_name_hook=
6706 lt_c_name_lib_hook=
6707 fi
6708
67096604 # Transform an extracted symbol line into a proper C declaration.
67106605 # Some systems (esp. on ia64) link data and code symbols differently,
67116606 # so use this general approach.
6712 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6713 $lt_cdecl_hook\
6714 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6715 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6607 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
67166608
67176609 # Transform an extracted symbol line into symbol name and symbol address
6718 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6719 $lt_c_name_hook\
6720 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6721 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6722
6723 # Transform an extracted symbol line into symbol name with lib prefix and
6724 # symbol address.
6725 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6726 $lt_c_name_lib_hook\
6727 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6728 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6729 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6610 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6611 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
67306612
67316613 # Handle CRLF in mingw tool chain
67326614 opt_cr=
67446626
67456627 # Write the raw and C identifiers.
67466628 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6747 # Fake it for dumpbin and say T for any non-static function,
6748 # D for any global variable and I for any imported variable.
6629 # Fake it for dumpbin and say T for any non-static function
6630 # and D for any global variable.
67496631 # Also find C++ and __fastcall symbols from MSVC++,
67506632 # which start with @ or ?.
67516633 lt_cv_sys_global_symbol_pipe="$AWK '"\
67526634 " {last_section=section; section=\$ 3};"\
67536635 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
67546636 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6755 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6756 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6757 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
67586637 " \$ 0!~/External *\|/{next};"\
67596638 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
67606639 " {if(hide[section]) next};"\
6761 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6762 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6763 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6764 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6640 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6641 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6642 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6643 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
67656644 " ' prfx=^$ac_symprfx"
67666645 else
67676646 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
68096688 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
68106689 cat <<_LT_EOF > conftest.$ac_ext
68116690 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6812 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6813 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6691 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6692 /* DATA imports from DLLs on WIN32 con't be const, because runtime
68146693 relocations are performed -- see ld's documentation on pseudo-relocs. */
68156694 # define LT_DLSYM_CONST
6816 #elif defined __osf__
6695 #elif defined(__osf__)
68176696 /* This system does not cope well with relocations in const data. */
68186697 # define LT_DLSYM_CONST
68196698 #else
68396718 {
68406719 { "@PROGRAM@", (void *) 0 },
68416720 _LT_EOF
6842 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6721 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
68436722 cat <<\_LT_EOF >> conftest.$ac_ext
68446723 {0, (void *) 0}
68456724 };
68596738 mv conftest.$ac_objext conftstm.$ac_objext
68606739 lt_globsym_save_LIBS=$LIBS
68616740 lt_globsym_save_CFLAGS=$CFLAGS
6862 LIBS=conftstm.$ac_objext
6741 LIBS="conftstm.$ac_objext"
68636742 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
68646743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
68656744 (eval $ac_link) 2>&5
68666745 ac_status=$?
68676746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6868 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6747 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
68696748 pipe_works=yes
68706749 fi
68716750 LIBS=$lt_globsym_save_LIBS
68866765 rm -rf conftest* conftst*
68876766
68886767 # Do not use the global_symbol_pipe unless it works.
6889 if test yes = "$pipe_works"; then
6768 if test "$pipe_works" = yes; then
68906769 break
68916770 else
68926771 lt_cv_sys_global_symbol_pipe=
69396818
69406819
69416820
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
69526821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
69536822 $as_echo_n "checking for sysroot... " >&6; }
69546823
69616830
69626831
69636832 lt_sysroot=
6964 case $with_sysroot in #(
6833 case ${with_sysroot} in #(
69656834 yes)
6966 if test yes = "$GCC"; then
6835 if test "$GCC" = yes; then
69676836 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
69686837 fi
69696838 ;; #(
69736842 no|'')
69746843 ;; #(
69756844 *)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6977 $as_echo "$with_sysroot" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6846 $as_echo "${with_sysroot}" >&6; }
69786847 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
69796848 ;;
69806849 esac
69866855
69876856
69886857
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6990 $as_echo_n "checking for a working dd... " >&6; }
6991 if ${ac_cv_path_lt_DD+:} false; then :
6992 $as_echo_n "(cached) " >&6
6993 else
6994 printf 0123456789abcdef0123456789abcdef >conftest.i
6995 cat conftest.i conftest.i >conftest2.i
6996 : ${lt_DD:=$DD}
6997 if test -z "$lt_DD"; then
6998 ac_path_lt_DD_found=false
6999 # Loop through the user's path and test for each of PROGNAME-LIST
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 for as_dir in $PATH
7002 do
7003 IFS=$as_save_IFS
7004 test -z "$as_dir" && as_dir=.
7005 for ac_prog in dd; do
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7008 as_fn_executable_p "$ac_path_lt_DD" || continue
7009 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7010 cmp -s conftest.i conftest.out \
7011 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7012 fi
7013 $ac_path_lt_DD_found && break 3
7014 done
7015 done
7016 done
7017 IFS=$as_save_IFS
7018 if test -z "$ac_cv_path_lt_DD"; then
7019 :
7020 fi
7021 else
7022 ac_cv_path_lt_DD=$lt_DD
7023 fi
7024
7025 rm -f conftest.i conftest2.i conftest.out
7026 fi
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7028 $as_echo "$ac_cv_path_lt_DD" >&6; }
7029
7030
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7032 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7033 if ${lt_cv_truncate_bin+:} false; then :
7034 $as_echo_n "(cached) " >&6
7035 else
7036 printf 0123456789abcdef0123456789abcdef >conftest.i
7037 cat conftest.i conftest.i >conftest2.i
7038 lt_cv_truncate_bin=
7039 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7040 cmp -s conftest.i conftest.out \
7041 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7042 fi
7043 rm -f conftest.i conftest2.i conftest.out
7044 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7045 fi
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7047 $as_echo "$lt_cv_truncate_bin" >&6; }
7048
7049
7050
7051
7052
7053
7054
7055 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7056 func_cc_basename ()
7057 {
7058 for cc_temp in $*""; do
7059 case $cc_temp in
7060 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7061 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7062 \-*) ;;
7063 *) break;;
7064 esac
7065 done
7066 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7067 }
7068
70696858 # Check whether --enable-libtool-lock was given.
70706859 if test "${enable_libtool_lock+set}" = set; then :
70716860 enableval=$enable_libtool_lock;
70726861 fi
70736862
7074 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6863 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
70756864
70766865 # Some flags need to be propagated to the compiler or linker for good
70776866 # libtool support.
70786867 case $host in
70796868 ia64-*-hpux*)
7080 # Find out what ABI is being produced by ac_compile, and set mode
7081 # options accordingly.
6869 # Find out which ABI we are using.
70826870 echo 'int i;' > conftest.$ac_ext
70836871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70846872 (eval $ac_compile) 2>&5
70876875 test $ac_status = 0; }; then
70886876 case `/usr/bin/file conftest.$ac_objext` in
70896877 *ELF-32*)
7090 HPUX_IA64_MODE=32
6878 HPUX_IA64_MODE="32"
70916879 ;;
70926880 *ELF-64*)
7093 HPUX_IA64_MODE=64
6881 HPUX_IA64_MODE="64"
70946882 ;;
70956883 esac
70966884 fi
70976885 rm -rf conftest*
70986886 ;;
70996887 *-*-irix6*)
7100 # Find out what ABI is being produced by ac_compile, and set linker
7101 # options accordingly.
6888 # Find out which ABI we are using.
71026889 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
71036890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71046891 (eval $ac_compile) 2>&5
71056892 ac_status=$?
71066893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
71076894 test $ac_status = 0; }; then
7108 if test yes = "$lt_cv_prog_gnu_ld"; then
6895 if test "$lt_cv_prog_gnu_ld" = yes; then
71096896 case `/usr/bin/file conftest.$ac_objext` in
71106897 *32-bit*)
71116898 LD="${LD-ld} -melf32bsmip"
71346921 rm -rf conftest*
71356922 ;;
71366923
7137 mips64*-*linux*)
7138 # Find out what ABI is being produced by ac_compile, and set linker
7139 # options accordingly.
7140 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7142 (eval $ac_compile) 2>&5
7143 ac_status=$?
7144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7145 test $ac_status = 0; }; then
7146 emul=elf
7147 case `/usr/bin/file conftest.$ac_objext` in
7148 *32-bit*)
7149 emul="${emul}32"
7150 ;;
7151 *64-bit*)
7152 emul="${emul}64"
7153 ;;
7154 esac
7155 case `/usr/bin/file conftest.$ac_objext` in
7156 *MSB*)
7157 emul="${emul}btsmip"
7158 ;;
7159 *LSB*)
7160 emul="${emul}ltsmip"
7161 ;;
7162 esac
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *N32*)
7165 emul="${emul}n32"
7166 ;;
7167 esac
7168 LD="${LD-ld} -m $emul"
7169 fi
7170 rm -rf conftest*
7171 ;;
7172
71736924 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
71746925 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7175 # Find out what ABI is being produced by ac_compile, and set linker
7176 # options accordingly. Note that the listed cases only cover the
7177 # situations where additional linker options are needed (such as when
7178 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7179 # vice versa); the common cases where no linker options are needed do
7180 # not appear in the list.
6926 # Find out which ABI we are using.
71816927 echo 'int i;' > conftest.$ac_ext
71826928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71836929 (eval $ac_compile) 2>&5
71916937 LD="${LD-ld} -m elf_i386_fbsd"
71926938 ;;
71936939 x86_64-*linux*)
7194 case `/usr/bin/file conftest.o` in
7195 *x86-64*)
7196 LD="${LD-ld} -m elf32_x86_64"
7197 ;;
7198 *)
7199 LD="${LD-ld} -m elf_i386"
7200 ;;
7201 esac
6940 LD="${LD-ld} -m elf_i386"
72026941 ;;
72036942 powerpc64le-*linux*)
72046943 LD="${LD-ld} -m elf32lppclinux"
72436982
72446983 *-*-sco3.2v5*)
72456984 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7246 SAVE_CFLAGS=$CFLAGS
6985 SAVE_CFLAGS="$CFLAGS"
72476986 CFLAGS="$CFLAGS -belf"
72486987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
72496988 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
72837022 fi
72847023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
72857024 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7286 if test yes != "$lt_cv_cc_needs_belf"; then
7025 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
72877026 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7288 CFLAGS=$SAVE_CFLAGS
7027 CFLAGS="$SAVE_CFLAGS"
72897028 fi
72907029 ;;
72917030 *-*solaris*)
7292 # Find out what ABI is being produced by ac_compile, and set linker
7293 # options accordingly.
7031 # Find out which ABI we are using.
72947032 echo 'int i;' > conftest.$ac_ext
72957033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
72967034 (eval $ac_compile) 2>&5
73027040 case $lt_cv_prog_gnu_ld in
73037041 yes*)
73047042 case $host in
7305 i?86-*-solaris*|x86_64-*-solaris*)
7043 i?86-*-solaris*)
73067044 LD="${LD-ld} -m elf_x86_64"
73077045 ;;
73087046 sparc*-*-solaris*)
73117049 esac
73127050 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
73137051 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7314 LD=${LD-ld}_sol2
7052 LD="${LD-ld}_sol2"
73157053 fi
73167054 ;;
73177055 *)
73277065 ;;
73287066 esac
73297067
7330 need_locks=$enable_libtool_lock
7068 need_locks="$enable_libtool_lock"
73317069
73327070 if test -n "$ac_tool_prefix"; then
73337071 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
74387176 fi
74397177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
74407178 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7441 if test yes != "$lt_cv_path_mainfest_tool"; then
7179 if test "x$lt_cv_path_mainfest_tool" != xyes; then
74427180 MANIFEST_TOOL=:
74437181 fi
74447182
79417679 $as_echo_n "(cached) " >&6
79427680 else
79437681 lt_cv_apple_cc_single_mod=no
7944 if test -z "$LT_MULTI_MODULE"; then
7682 if test -z "${LT_MULTI_MODULE}"; then
79457683 # By default we will add the -single_module flag. You can override
79467684 # by either setting the environment variable LT_MULTI_MODULE
79477685 # non-empty at configure time, or by adding -multi_module to the
79597697 cat conftest.err >&5
79607698 # Otherwise, if the output was created with a 0 exit code from
79617699 # the compiler, it worked.
7962 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7700 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
79637701 lt_cv_apple_cc_single_mod=yes
79647702 else
79657703 cat conftest.err >&5
79987736 fi
79997737 rm -f core conftest.err conftest.$ac_objext \
80007738 conftest$ac_exeext conftest.$ac_ext
8001 LDFLAGS=$save_LDFLAGS
7739 LDFLAGS="$save_LDFLAGS"
80027740
80037741 fi
80047742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
80277765 _lt_result=$?
80287766 if test -s conftest.err && $GREP force_load conftest.err; then
80297767 cat conftest.err >&5
8030 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7768 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
80317769 lt_cv_ld_force_load=yes
80327770 else
80337771 cat conftest.err >&5
80407778 $as_echo "$lt_cv_ld_force_load" >&6; }
80417779 case $host_os in
80427780 rhapsody* | darwin1.[012])
8043 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7781 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
80447782 darwin1.*)
8045 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7783 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
80467784 darwin*) # darwin 5.x on
80477785 # if running on 10.5 or later, the deployment target defaults
80487786 # to the OS version, if on x86, and 10.4, the deployment
80497787 # target defaults to 10.4. Don't you love it?
80507788 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
80517789 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8052 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8053 10.[012][,.]*)
8054 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7790 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7791 10.[012]*)
7792 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
80557793 10.*)
8056 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7794 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
80577795 esac
80587796 ;;
80597797 esac
8060 if test yes = "$lt_cv_apple_cc_single_mod"; then
7798 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
80617799 _lt_dar_single_mod='$single_module'
80627800 fi
8063 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8064 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7801 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7802 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
80657803 else
8066 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7804 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
80677805 fi
8068 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7806 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
80697807 _lt_dsymutil='~$DSYMUTIL $lib || :'
80707808 else
80717809 _lt_dsymutil=
80727810 fi
80737811 ;;
80747812 esac
8075
8076 # func_munge_path_list VARIABLE PATH
8077 # -----------------------------------
8078 # VARIABLE is name of variable containing _space_ separated list of
8079 # directories to be munged by the contents of PATH, which is string
8080 # having a format:
8081 # "DIR[:DIR]:"
8082 # string "DIR[ DIR]" will be prepended to VARIABLE
8083 # ":DIR[:DIR]"
8084 # string "DIR[ DIR]" will be appended to VARIABLE
8085 # "DIRP[:DIRP]::[DIRA:]DIRA"
8086 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8087 # "DIRA[ DIRA]" will be appended to VARIABLE
8088 # "DIR[:DIR]"
8089 # VARIABLE will be replaced by "DIR[ DIR]"
8090 func_munge_path_list ()
8091 {
8092 case x$2 in
8093 x)
8094 ;;
8095 *:)
8096 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8097 ;;
8098 x:*)
8099 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8100 ;;
8101 *::*)
8102 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8103 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8104 ;;
8105 *)
8106 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8107 ;;
8108 esac
8109 }
81107813
81117814 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
81127815 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
81617864 *)
81627865 enable_shared=no
81637866 # Look at the argument we got. We use all the common list separators.
8164 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7867 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
81657868 for pkg in $enableval; do
8166 IFS=$lt_save_ifs
7869 IFS="$lt_save_ifs"
81677870 if test "X$pkg" = "X$p"; then
81687871 enable_shared=yes
81697872 fi
81707873 done
8171 IFS=$lt_save_ifs
7874 IFS="$lt_save_ifs"
81727875 ;;
81737876 esac
81747877 else
81927895 *)
81937896 enable_static=no
81947897 # Look at the argument we got. We use all the common list separators.
8195 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7898 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
81967899 for pkg in $enableval; do
8197 IFS=$lt_save_ifs
7900 IFS="$lt_save_ifs"
81987901 if test "X$pkg" = "X$p"; then
81997902 enable_static=yes
82007903 fi
82017904 done
8202 IFS=$lt_save_ifs
7905 IFS="$lt_save_ifs"
82037906 ;;
82047907 esac
82057908 else
82237926 *)
82247927 pic_mode=default
82257928 # Look at the argument we got. We use all the common list separators.
8226 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7929 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
82277930 for lt_pkg in $withval; do
8228 IFS=$lt_save_ifs
7931 IFS="$lt_save_ifs"
82297932 if test "X$lt_pkg" = "X$lt_p"; then
82307933 pic_mode=yes
82317934 fi
82327935 done
8233 IFS=$lt_save_ifs
7936 IFS="$lt_save_ifs"
82347937 ;;
82357938 esac
82367939 else
82377940 pic_mode=default
82387941 fi
82397942
7943
7944 test -z "$pic_mode" && pic_mode=default
82407945
82417946
82427947
82537958 *)
82547959 enable_fast_install=no
82557960 # Look at the argument we got. We use all the common list separators.
8256 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7961 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
82577962 for pkg in $enableval; do
8258 IFS=$lt_save_ifs
7963 IFS="$lt_save_ifs"
82597964 if test "X$pkg" = "X$p"; then
82607965 enable_fast_install=yes
82617966 fi
82627967 done
8263 IFS=$lt_save_ifs
7968 IFS="$lt_save_ifs"
82647969 ;;
82657970 esac
82667971 else
82747979
82757980
82767981
8277 shared_archive_member_spec=
8278 case $host,$enable_shared in
8279 power*-*-aix[5-9]*,yes)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8281 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8282
8283 # Check whether --with-aix-soname was given.
8284 if test "${with_aix_soname+set}" = set; then :
8285 withval=$with_aix_soname; case $withval in
8286 aix|svr4|both)
8287 ;;
8288 *)
8289 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8290 ;;
8291 esac
8292 lt_cv_with_aix_soname=$with_aix_soname
8293 else
8294 if ${lt_cv_with_aix_soname+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 lt_cv_with_aix_soname=aix
8298 fi
8299
8300 with_aix_soname=$lt_cv_with_aix_soname
8301 fi
8302
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8304 $as_echo "$with_aix_soname" >&6; }
8305 if test aix != "$with_aix_soname"; then
8306 # For the AIX way of multilib, we name the shared archive member
8307 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8308 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8309 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8310 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8311 if test 64 = "${OBJECT_MODE-32}"; then
8312 shared_archive_member_spec=shr_64
8313 else
8314 shared_archive_member_spec=shr
8315 fi
8316 fi
8317 ;;
8318 *)
8319 with_aix_soname=aix
8320 ;;
8321 esac
8322
8323
8324
8325
8326
8327
8328
83297982
83307983
83317984
83327985 # This can be used to rebuild libtool when needed
8333 LIBTOOL_DEPS=$ltmain
7986 LIBTOOL_DEPS="$ltmain"
83347987
83357988 # Always use our own libtool.
83367989 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
83798032
83808033
83818034
8382 if test -n "${ZSH_VERSION+set}"; then
8035 if test -n "${ZSH_VERSION+set}" ; then
83838036 setopt NO_GLOB_SUBST
83848037 fi
83858038
84188071 # AIX sometimes has problems with the GCC collect2 program. For some
84198072 # reason, if we set the COLLECT_NAMES environment variable, the problems
84208073 # vanish in a puff of smoke.
8421 if test set != "${COLLECT_NAMES+set}"; then
8074 if test "X${COLLECT_NAMES+set}" != Xset; then
84228075 COLLECT_NAMES=
84238076 export COLLECT_NAMES
84248077 fi
84298082 ofile=libtool
84308083 can_build_shared=yes
84318084
8432 # All known linkers require a '.a' archive for static linking (except MSVC,
8085 # All known linkers require a `.a' archive for static linking (except MSVC,
84338086 # which needs '.lib').
84348087 libext=a
84358088
8436 with_gnu_ld=$lt_cv_prog_gnu_ld
8437
8438 old_CC=$CC
8439 old_CFLAGS=$CFLAGS
8089 with_gnu_ld="$lt_cv_prog_gnu_ld"
8090
8091 old_CC="$CC"
8092 old_CFLAGS="$CFLAGS"
84408093
84418094 # Set sane defaults for various variables
84428095 test -z "$CC" && CC=cc
84458098 test -z "$LD" && LD=ld
84468099 test -z "$ac_objext" && ac_objext=o
84478100
8448 func_cc_basename $compiler
8449 cc_basename=$func_cc_basename_result
8101 for cc_temp in $compiler""; do
8102 case $cc_temp in
8103 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8104 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8105 \-*) ;;
8106 *) break;;
8107 esac
8108 done
8109 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
84508110
84518111
84528112 # Only perform the check for file, if the check method requires it
84618121 else
84628122 case $MAGIC_CMD in
84638123 [\\/*] | ?:[\\/]*)
8464 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
84658125 ;;
84668126 *)
8467 lt_save_MAGIC_CMD=$MAGIC_CMD
8468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8127 lt_save_MAGIC_CMD="$MAGIC_CMD"
8128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
84698129 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
84708130 for ac_dir in $ac_dummy; do
8471 IFS=$lt_save_ifs
8131 IFS="$lt_save_ifs"
84728132 test -z "$ac_dir" && ac_dir=.
8473 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8474 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8133 if test -f $ac_dir/${ac_tool_prefix}file; then
8134 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
84758135 if test -n "$file_magic_test_file"; then
84768136 case $deplibs_check_method in
84778137 "file_magic "*)
84788138 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8479 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
84808140 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
84818141 $EGREP "$file_magic_regex" > /dev/null; then
84828142 :
84998159 break
85008160 fi
85018161 done
8502 IFS=$lt_save_ifs
8503 MAGIC_CMD=$lt_save_MAGIC_CMD
8162 IFS="$lt_save_ifs"
8163 MAGIC_CMD="$lt_save_MAGIC_CMD"
85048164 ;;
85058165 esac
85068166 fi
85078167
8508 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
85098169 if test -n "$MAGIC_CMD"; then
85108170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
85118171 $as_echo "$MAGIC_CMD" >&6; }
85278187 else
85288188 case $MAGIC_CMD in
85298189 [\\/*] | ?:[\\/]*)
8530 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8190 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
85318191 ;;
85328192 *)
8533 lt_save_MAGIC_CMD=$MAGIC_CMD
8534 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8193 lt_save_MAGIC_CMD="$MAGIC_CMD"
8194 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
85358195 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
85368196 for ac_dir in $ac_dummy; do
8537 IFS=$lt_save_ifs
8197 IFS="$lt_save_ifs"
85388198 test -z "$ac_dir" && ac_dir=.
8539 if test -f "$ac_dir/file"; then
8540 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8199 if test -f $ac_dir/file; then
8200 lt_cv_path_MAGIC_CMD="$ac_dir/file"
85418201 if test -n "$file_magic_test_file"; then
85428202 case $deplibs_check_method in
85438203 "file_magic "*)
85448204 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8545 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
85468206 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
85478207 $EGREP "$file_magic_regex" > /dev/null; then
85488208 :
85658225 break
85668226 fi
85678227 done
8568 IFS=$lt_save_ifs
8569 MAGIC_CMD=$lt_save_MAGIC_CMD
8228 IFS="$lt_save_ifs"
8229 MAGIC_CMD="$lt_save_MAGIC_CMD"
85708230 ;;
85718231 esac
85728232 fi
85738233
8574 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
85758235 if test -n "$MAGIC_CMD"; then
85768236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
85778237 $as_echo "$MAGIC_CMD" >&6; }
85928252
85938253 # Use C for the default configuration in the libtool script
85948254
8595 lt_save_CC=$CC
8255 lt_save_CC="$CC"
85968256 ac_ext=c
85978257 ac_cpp='$CPP $CPPFLAGS'
85988258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86548314
86558315 lt_prog_compiler_no_builtin_flag=
86568316
8657 if test yes = "$GCC"; then
8317 if test "$GCC" = yes; then
86588318 case $cc_basename in
86598319 nvcc*)
86608320 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
86708330 lt_cv_prog_compiler_rtti_exceptions=no
86718331 ac_outfile=conftest.$ac_objext
86728332 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8673 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8333 lt_compiler_flag="-fno-rtti -fno-exceptions"
86748334 # Insert the option either (1) after the last *FLAGS variable, or
86758335 # (2) before a word containing "conftest.", or (3) at the end.
86768336 # Note that $ac_compile itself does not contain backslashes and begins
87008360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
87018361 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
87028362
8703 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8363 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
87048364 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
87058365 else
87068366 :
87188378 lt_prog_compiler_static=
87198379
87208380
8721 if test yes = "$GCC"; then
8381 if test "$GCC" = yes; then
87228382 lt_prog_compiler_wl='-Wl,'
87238383 lt_prog_compiler_static='-static'
87248384
87258385 case $host_os in
87268386 aix*)
87278387 # All AIX code is PIC.
8728 if test ia64 = "$host_cpu"; then
8388 if test "$host_cpu" = ia64; then
87298389 # AIX 5 now supports IA64 processor
87308390 lt_prog_compiler_static='-Bstatic'
87318391 fi
8732 lt_prog_compiler_pic='-fPIC'
87338392 ;;
87348393
87358394 amigaos*)
87408399 ;;
87418400 m68k)
87428401 # FIXME: we need at least 68020 code to build shared libraries, but
8743 # adding the '-m68020' flag to GCC prevents building anything better,
8744 # like '-m68040'.
8402 # adding the `-m68020' flag to GCC prevents building anything better,
8403 # like `-m68040'.
87458404 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
87468405 ;;
87478406 esac
87578416 # Although the cygwin gcc ignores -fPIC, still need this for old-style
87588417 # (--disable-auto-import) libraries
87598418 lt_prog_compiler_pic='-DDLL_EXPORT'
8760 case $host_os in
8761 os2*)
8762 lt_prog_compiler_static='$wl-static'
8763 ;;
8764 esac
87658419 ;;
87668420
87678421 darwin* | rhapsody*)
88328486 case $host_os in
88338487 aix*)
88348488 lt_prog_compiler_wl='-Wl,'
8835 if test ia64 = "$host_cpu"; then
8489 if test "$host_cpu" = ia64; then
88368490 # AIX 5 now supports IA64 processor
88378491 lt_prog_compiler_static='-Bstatic'
88388492 else
88408494 fi
88418495 ;;
88428496
8843 darwin* | rhapsody*)
8844 # PIC is the default on this platform
8845 # Common symbols not allowed in MH_DYLIB files
8846 lt_prog_compiler_pic='-fno-common'
8847 case $cc_basename in
8848 nagfor*)
8849 # NAG Fortran compiler
8850 lt_prog_compiler_wl='-Wl,-Wl,,'
8851 lt_prog_compiler_pic='-PIC'
8852 lt_prog_compiler_static='-Bstatic'
8853 ;;
8854 esac
8855 ;;
8856
88578497 mingw* | cygwin* | pw32* | os2* | cegcc*)
88588498 # This hack is so that the source file can tell whether it is being
88598499 # built for inclusion in a dll (and should export symbols for example).
88608500 lt_prog_compiler_pic='-DDLL_EXPORT'
8861 case $host_os in
8862 os2*)
8863 lt_prog_compiler_static='$wl-static'
8864 ;;
8865 esac
88668501 ;;
88678502
88688503 hpux9* | hpux10* | hpux11*)
88788513 ;;
88798514 esac
88808515 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8881 lt_prog_compiler_static='$wl-a ${wl}archive'
8516 lt_prog_compiler_static='${wl}-a ${wl}archive'
88828517 ;;
88838518
88848519 irix5* | irix6* | nonstopux*)
88878522 lt_prog_compiler_static='-non_shared'
88888523 ;;
88898524
8890 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8525 linux* | k*bsd*-gnu | kopensolaris*-gnu)
88918526 case $cc_basename in
8892 # old Intel for x86_64, which still supported -KPIC.
8527 # old Intel for x86_64 which still supported -KPIC.
88938528 ecc*)
88948529 lt_prog_compiler_wl='-Wl,'
88958530 lt_prog_compiler_pic='-KPIC'
89138548 lt_prog_compiler_wl='-Wl,-Wl,,'
89148549 lt_prog_compiler_pic='-PIC'
89158550 lt_prog_compiler_static='-Bstatic'
8916 ;;
8917 tcc*)
8918 # Fabrice Bellard et al's Tiny C Compiler
8919 lt_prog_compiler_wl='-Wl,'
8920 lt_prog_compiler_pic='-fPIC'
8921 lt_prog_compiler_static='-static'
89228551 ;;
89238552 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
89248553 # Portland Group compilers (*not* the Pentium gcc compiler,
90178646 ;;
90188647
90198648 sysv4*MP*)
9020 if test -d /usr/nec; then
8649 if test -d /usr/nec ;then
90218650 lt_prog_compiler_pic='-Kconform_pic'
90228651 lt_prog_compiler_static='-Bstatic'
90238652 fi
90468675 fi
90478676
90488677 case $host_os in
9049 # For platforms that do not support PIC, -DPIC is meaningless:
8678 # For platforms which do not support PIC, -DPIC is meaningless:
90508679 *djgpp*)
90518680 lt_prog_compiler_pic=
90528681 ;;
90788707 lt_cv_prog_compiler_pic_works=no
90798708 ac_outfile=conftest.$ac_objext
90808709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9081 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8710 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
90828711 # Insert the option either (1) after the last *FLAGS variable, or
90838712 # (2) before a word containing "conftest.", or (3) at the end.
90848713 # Note that $ac_compile itself does not contain backslashes and begins
91088737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
91098738 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
91108739
9111 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8740 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
91128741 case $lt_prog_compiler_pic in
91138742 "" | " "*) ;;
91148743 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
91408769 $as_echo_n "(cached) " >&6
91418770 else
91428771 lt_cv_prog_compiler_static_works=no
9143 save_LDFLAGS=$LDFLAGS
8772 save_LDFLAGS="$LDFLAGS"
91448773 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
91458774 echo "$lt_simple_link_test_code" > conftest.$ac_ext
91468775 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
91598788 fi
91608789 fi
91618790 $RM -r conftest*
9162 LDFLAGS=$save_LDFLAGS
8791 LDFLAGS="$save_LDFLAGS"
91638792
91648793 fi
91658794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
91668795 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
91678796
9168 if test yes = "$lt_cv_prog_compiler_static_works"; then
8797 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
91698798 :
91708799 else
91718800 lt_prog_compiler_static=
92858914
92868915
92878916
9288 hard_links=nottested
9289 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8917 hard_links="nottested"
8918 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
92908919 # do not overwrite the value of need_locks provided by the user
92918920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
92928921 $as_echo_n "checking if we can lock with hard links... " >&6; }
92988927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
92998928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
93008929 $as_echo "$hard_links" >&6; }
9301 if test no = "$hard_links"; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9303 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8930 if test "$hard_links" = no; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
93048933 need_locks=warn
93058934 fi
93068935 else
93438972 # included in the symbol list
93448973 include_expsyms=
93458974 # exclude_expsyms can be an extended regexp of symbols to exclude
9346 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9347 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9348 # as well as any symbol that contains 'd'.
8975 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8976 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8977 # as well as any symbol that contains `d'.
93498978 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
93508979 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
93518980 # platforms (ab)use it in PIC code, but their linkers get confused if
93608989 # FIXME: the MSVC++ port hasn't been tested in a loooong time
93618990 # When not using gcc, we currently assume that we are using
93628991 # Microsoft Visual C++.
9363 if test yes != "$GCC"; then
8992 if test "$GCC" != yes; then
93648993 with_gnu_ld=no
93658994 fi
93668995 ;;
93688997 # we just hope/assume this is gcc and not c89 (= MSVC++)
93698998 with_gnu_ld=yes
93708999 ;;
9371 openbsd* | bitrig*)
9000 openbsd*)
93729001 with_gnu_ld=no
93739002 ;;
93749003 esac
93789007 # On some targets, GNU ld is compatible enough with the native linker
93799008 # that we're better off using the native interface for both.
93809009 lt_use_gnu_ld_interface=no
9381 if test yes = "$with_gnu_ld"; then
9010 if test "$with_gnu_ld" = yes; then
93829011 case $host_os in
93839012 aix*)
93849013 # The AIX port of GNU ld has always aspired to compatibility
94009029 esac
94019030 fi
94029031
9403 if test yes = "$lt_use_gnu_ld_interface"; then
9032 if test "$lt_use_gnu_ld_interface" = yes; then
94049033 # If archive_cmds runs LD, not CC, wlarc should be empty
9405 wlarc='$wl'
9034 wlarc='${wl}'
94069035
94079036 # Set some defaults for GNU ld with shared library support. These
94089037 # are reset later if shared libraries are not supported. Putting them
94099038 # here allows them to be overridden if necessary.
94109039 runpath_var=LD_RUN_PATH
9411 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9412 export_dynamic_flag_spec='$wl--export-dynamic'
9040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9041 export_dynamic_flag_spec='${wl}--export-dynamic'
94139042 # ancient GNU ld didn't support --whole-archive et. al.
94149043 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9415 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9044 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
94169045 else
94179046 whole_archive_flag_spec=
94189047 fi
94199048 supports_anon_versioning=no
9420 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9049 case `$LD -v 2>&1` in
94219050 *GNU\ gold*) supports_anon_versioning=yes ;;
94229051 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
94239052 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
94309059 case $host_os in
94319060 aix[3-9]*)
94329061 # On AIX/PPC, the GNU linker is very broken
9433 if test ia64 != "$host_cpu"; then
9062 if test "$host_cpu" != ia64; then
94349063 ld_shlibs=no
94359064 cat <<_LT_EOF 1>&2
94369065
94499078 case $host_cpu in
94509079 powerpc)
94519080 # see comment about AmigaOS4 .so support
9452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
94539082 archive_expsym_cmds=''
94549083 ;;
94559084 m68k)
94659094 allow_undefined_flag=unsupported
94669095 # Joseph Beckenbach <[email protected]> says some releases of gcc
94679096 # support --undefined. This deserves some investigation. FIXME
9468 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9097 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
94699098 else
94709099 ld_shlibs=no
94719100 fi
94759104 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
94769105 # as there is no search path for DLLs.
94779106 hardcode_libdir_flag_spec='-L$libdir'
9478 export_dynamic_flag_spec='$wl--export-all-symbols'
9107 export_dynamic_flag_spec='${wl}--export-all-symbols'
94799108 allow_undefined_flag=unsupported
94809109 always_export_symbols=no
94819110 enable_shared_with_static_runtimes=yes
94839112 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
94849113
94859114 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9486 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9487 # If the export-symbols file already is a .def file, use it as
9488 # is; otherwise, prepend EXPORTS...
9489 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9490 cp $export_symbols $output_objdir/$soname.def;
9491 else
9492 echo EXPORTS > $output_objdir/$soname.def;
9493 cat $export_symbols >> $output_objdir/$soname.def;
9494 fi~
9495 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9115 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9116 # If the export-symbols file already is a .def file (1st line
9117 # is EXPORTS), use it as is; otherwise, prepend...
9118 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9119 cp $export_symbols $output_objdir/$soname.def;
9120 else
9121 echo EXPORTS > $output_objdir/$soname.def;
9122 cat $export_symbols >> $output_objdir/$soname.def;
9123 fi~
9124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
94969125 else
94979126 ld_shlibs=no
94989127 fi
94999128 ;;
95009129
95019130 haiku*)
9502 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
95039132 link_all_deplibs=yes
9504 ;;
9505
9506 os2*)
9507 hardcode_libdir_flag_spec='-L$libdir'
9508 hardcode_minus_L=yes
9509 allow_undefined_flag=unsupported
9510 shrext_cmds=.dll
9511 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9512 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9513 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9514 $ECHO EXPORTS >> $output_objdir/$libname.def~
9515 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9516 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9517 emximp -o $lib $output_objdir/$libname.def'
9518 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9519 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9520 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9521 $ECHO EXPORTS >> $output_objdir/$libname.def~
9522 prefix_cmds="$SED"~
9523 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9524 prefix_cmds="$prefix_cmds -e 1d";
9525 fi~
9526 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9527 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9528 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9529 emximp -o $lib $output_objdir/$libname.def'
9530 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9531 enable_shared_with_static_runtimes=yes
95329133 ;;
95339134
95349135 interix[3-9]*)
95359136 hardcode_direct=no
95369137 hardcode_shlibpath_var=no
9537 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9538 export_dynamic_flag_spec='$wl-E'
9138 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9139 export_dynamic_flag_spec='${wl}-E'
95399140 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
95409141 # Instead, shared libraries are loaded at an image base (0x10000000 by
95419142 # default) and relocated if they conflict, which is a slow very memory
95429143 # consuming and fragmenting process. To avoid this, we pick a random,
95439144 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
95449145 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9545 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9546 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9146 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9147 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
95479148 ;;
95489149
95499150 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
95509151 tmp_diet=no
9551 if test linux-dietlibc = "$host_os"; then
9152 if test "$host_os" = linux-dietlibc; then
95529153 case $cc_basename in
95539154 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
95549155 esac
95559156 fi
95569157 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9557 && test no = "$tmp_diet"
9158 && test "$tmp_diet" = no
95589159 then
95599160 tmp_addflag=' $pic_flag'
95609161 tmp_sharedflag='-shared'
95619162 case $cc_basename,$host_cpu in
95629163 pgcc*) # Portland Group C compiler
9563 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9164 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
95649165 tmp_addflag=' $pic_flag'
95659166 ;;
95669167 pgf77* | pgf90* | pgf95* | pgfortran*)
95679168 # Portland Group f77 and f90 compilers
9568 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9169 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
95699170 tmp_addflag=' $pic_flag -Mnomain' ;;
95709171 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
95719172 tmp_addflag=' -i_dynamic' ;;
95769177 lf95*) # Lahey Fortran 8.1
95779178 whole_archive_flag_spec=
95789179 tmp_sharedflag='--shared' ;;
9579 nagfor*) # NAGFOR 5.3
9580 tmp_sharedflag='-Wl,-shared' ;;
95819180 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
95829181 tmp_sharedflag='-qmkshrobj'
95839182 tmp_addflag= ;;
95849183 nvcc*) # Cuda Compiler Driver 2.2
9585 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9184 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
95869185 compiler_needs_object=yes
95879186 ;;
95889187 esac
95899188 case `$CC -V 2>&1 | sed 5q` in
95909189 *Sun\ C*) # Sun C 5.9
9591 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9190 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
95929191 compiler_needs_object=yes
95939192 tmp_sharedflag='-G' ;;
95949193 *Sun\ F*) # Sun Fortran 8.3
95959194 tmp_sharedflag='-G' ;;
95969195 esac
9597 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9598
9599 if test yes = "$supports_anon_versioning"; then
9196 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197
9198 if test "x$supports_anon_versioning" = xyes; then
96009199 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9601 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9602 echo "local: *; };" >> $output_objdir/$libname.ver~
9603 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9200 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9201 echo "local: *; };" >> $output_objdir/$libname.ver~
9202 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
96049203 fi
96059204
96069205 case $cc_basename in
9607 tcc*)
9608 export_dynamic_flag_spec='-rdynamic'
9609 ;;
96109206 xlf* | bgf* | bgxlf* | mpixlf*)
96119207 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
96129208 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9613 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
96149210 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9615 if test yes = "$supports_anon_versioning"; then
9211 if test "x$supports_anon_versioning" = xyes; then
96169212 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9617 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9618 echo "local: *; };" >> $output_objdir/$libname.ver~
9619 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9213 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9214 echo "local: *; };" >> $output_objdir/$libname.ver~
9215 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
96209216 fi
96219217 ;;
96229218 esac
96309226 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
96319227 wlarc=
96329228 else
9633 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9634 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9229 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
96359231 fi
96369232 ;;
96379233
96499245
96509246 _LT_EOF
96519247 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9652 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9653 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9248 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
96549250 else
96559251 ld_shlibs=no
96569252 fi
96629258 ld_shlibs=no
96639259 cat <<_LT_EOF 1>&2
96649260
9665 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9261 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
96669262 *** reliably create shared libraries on SCO systems. Therefore, libtool
96679263 *** is disabling shared libraries support. We urge you to upgrade GNU
96689264 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
96779273 # DT_RUNPATH tag from executables and libraries. But doing so
96789274 # requires that you compile everything twice, which is a pain.
96799275 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9277 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9278 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
96839279 else
96849280 ld_shlibs=no
96859281 fi
96969292
96979293 *)
96989294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9699 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9700 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9295 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
97019297 else
97029298 ld_shlibs=no
97039299 fi
97049300 ;;
97059301 esac
97069302
9707 if test no = "$ld_shlibs"; then
9303 if test "$ld_shlibs" = no; then
97089304 runpath_var=
97099305 hardcode_libdir_flag_spec=
97109306 export_dynamic_flag_spec=
97209316 # Note: this linker hardcodes the directories in LIBPATH if there
97219317 # are no directories specified by -L.
97229318 hardcode_minus_L=yes
9723 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9319 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
97249320 # Neither direct hardcoding nor static linking is supported with a
97259321 # broken collect2.
97269322 hardcode_direct=unsupported
97289324 ;;
97299325
97309326 aix[4-9]*)
9731 if test ia64 = "$host_cpu"; then
9327 if test "$host_cpu" = ia64; then
97329328 # On IA64, the linker does run time linking by default, so we don't
97339329 # have to do anything special.
97349330 aix_use_runtimelinking=no
97359331 exp_sym_flag='-Bexport'
9736 no_entry_flag=
9332 no_entry_flag=""
97379333 else
97389334 # If we're using GNU nm, then we don't want the "-C" option.
9739 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9740 # Without the "-l" option, or with the "-B" option, AIX nm treats
9741 # weak defined symbols like other global defined symbols, whereas
9742 # GNU nm marks them as "W".
9743 # While the 'weak' keyword is ignored in the Export File, we need
9744 # it in the Import File for the 'aix-soname' feature, so we have
9745 # to replace the "-B" option with "-P" for AIX nm.
9335 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9336 # Also, AIX nm treats weak defined symbols like other global
9337 # defined symbols, whereas GNU nm marks them as "W".
97469338 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9747 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9339 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
97489340 else
9749 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9341 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
97509342 fi
97519343 aix_use_runtimelinking=no
97529344
97539345 # Test if we are trying to use run time linking or normal
97549346 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9755 # have runtime linking enabled, and use it for executables.
9756 # For shared libraries, we enable/disable runtime linking
9757 # depending on the kind of the shared library created -
9758 # when "with_aix_soname,aix_use_runtimelinking" is:
9759 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9760 # "aix,yes" lib.so shared, rtl:yes, for executables
9761 # lib.a static archive
9762 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9763 # lib.a(lib.so.V) shared, rtl:no, for executables
9764 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9765 # lib.a(lib.so.V) shared, rtl:no
9766 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9767 # lib.a static archive
9347 # need to do runtime linking.
97689348 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
97699349 for ld_flag in $LDFLAGS; do
9770 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9350 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
97719351 aix_use_runtimelinking=yes
97729352 break
97739353 fi
97749354 done
9775 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9776 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9777 # so we don't have lib.a shared libs to link our executables.
9778 # We have to force runtime linking in this case.
9779 aix_use_runtimelinking=yes
9780 LDFLAGS="$LDFLAGS -Wl,-brtl"
9781 fi
97829355 ;;
97839356 esac
97849357
97979370 hardcode_direct_absolute=yes
97989371 hardcode_libdir_separator=':'
97999372 link_all_deplibs=yes
9800 file_list_spec='$wl-f,'
9801 case $with_aix_soname,$aix_use_runtimelinking in
9802 aix,*) ;; # traditional, no import file
9803 svr4,* | *,yes) # use import file
9804 # The Import File defines what to hardcode.
9805 hardcode_direct=no
9806 hardcode_direct_absolute=no
9807 ;;
9808 esac
9809
9810 if test yes = "$GCC"; then
9373 file_list_spec='${wl}-f,'
9374
9375 if test "$GCC" = yes; then
98119376 case $host_os in aix4.[012]|aix4.[012].*)
98129377 # We only want to do this on AIX 4.2 and lower, the check
98139378 # below for broken collect2 doesn't work under 4.3+
9814 collect2name=`$CC -print-prog-name=collect2`
9379 collect2name=`${CC} -print-prog-name=collect2`
98159380 if test -f "$collect2name" &&
98169381 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
98179382 then
98309395 ;;
98319396 esac
98329397 shared_flag='-shared'
9833 if test yes = "$aix_use_runtimelinking"; then
9834 shared_flag="$shared_flag "'$wl-G'
9398 if test "$aix_use_runtimelinking" = yes; then
9399 shared_flag="$shared_flag "'${wl}-G'
98359400 fi
9836 # Need to ensure runtime linking is disabled for the traditional
9837 # shared library, or the linker may eventually find shared libraries
9838 # /with/ Import File - we do not want to mix them.
9839 shared_flag_aix='-shared'
9840 shared_flag_svr4='-shared $wl-G'
98419401 else
98429402 # not using gcc
9843 if test ia64 = "$host_cpu"; then
9403 if test "$host_cpu" = ia64; then
98449404 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
98459405 # chokes on -Wl,-G. The following line is correct:
98469406 shared_flag='-G'
98479407 else
9848 if test yes = "$aix_use_runtimelinking"; then
9849 shared_flag='$wl-G'
9408 if test "$aix_use_runtimelinking" = yes; then
9409 shared_flag='${wl}-G'
98509410 else
9851 shared_flag='$wl-bM:SRE'
9411 shared_flag='${wl}-bM:SRE'
98529412 fi
9853 shared_flag_aix='$wl-bM:SRE'
9854 shared_flag_svr4='$wl-G'
98559413 fi
98569414 fi
98579415
9858 export_dynamic_flag_spec='$wl-bexpall'
9416 export_dynamic_flag_spec='${wl}-bexpall'
98599417 # It seems that -bexpall does not export symbols beginning with
98609418 # underscore (_), so it is better to generate a list of symbols to export.
98619419 always_export_symbols=yes
9862 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9420 if test "$aix_use_runtimelinking" = yes; then
98639421 # Warning - without using the other runtime loading flags (-brtl),
98649422 # -berok will link without error, but may produce a broken library.
98659423 allow_undefined_flag='-berok'
98669424 # Determine the default libpath from the value encoded in an
98679425 # empty executable.
9868 if test set = "${lt_cv_aix_libpath+set}"; then
9426 if test "${lt_cv_aix_libpath+set}" = set; then
98699427 aix_libpath=$lt_cv_aix_libpath
98709428 else
98719429 if ${lt_cv_aix_libpath_+:} false; then :
99009458 rm -f core conftest.err conftest.$ac_objext \
99019459 conftest$ac_exeext conftest.$ac_ext
99029460 if test -z "$lt_cv_aix_libpath_"; then
9903 lt_cv_aix_libpath_=/usr/lib:/lib
9461 lt_cv_aix_libpath_="/usr/lib:/lib"
99049462 fi
99059463
99069464 fi
99089466 aix_libpath=$lt_cv_aix_libpath_
99099467 fi
99109468
9911 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9912 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9469 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9470 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
99139471 else
9914 if test ia64 = "$host_cpu"; then
9915 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9472 if test "$host_cpu" = ia64; then
9473 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
99169474 allow_undefined_flag="-z nodefs"
9917 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9475 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
99189476 else
99199477 # Determine the default libpath from the value encoded in an
99209478 # empty executable.
9921 if test set = "${lt_cv_aix_libpath+set}"; then
9479 if test "${lt_cv_aix_libpath+set}" = set; then
99229480 aix_libpath=$lt_cv_aix_libpath
99239481 else
99249482 if ${lt_cv_aix_libpath_+:} false; then :
99539511 rm -f core conftest.err conftest.$ac_objext \
99549512 conftest$ac_exeext conftest.$ac_ext
99559513 if test -z "$lt_cv_aix_libpath_"; then
9956 lt_cv_aix_libpath_=/usr/lib:/lib
9514 lt_cv_aix_libpath_="/usr/lib:/lib"
99579515 fi
99589516
99599517 fi
99619519 aix_libpath=$lt_cv_aix_libpath_
99629520 fi
99639521
9964 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9522 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
99659523 # Warning - without using the other run time loading flags,
99669524 # -berok will link without error, but may produce a broken library.
9967 no_undefined_flag=' $wl-bernotok'
9968 allow_undefined_flag=' $wl-berok'
9969 if test yes = "$with_gnu_ld"; then
9525 no_undefined_flag=' ${wl}-bernotok'
9526 allow_undefined_flag=' ${wl}-berok'
9527 if test "$with_gnu_ld" = yes; then
99709528 # We only use this code for GNU lds that support --whole-archive.
9971 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9529 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
99729530 else
99739531 # Exported symbols can be pulled into shared objects from archives
99749532 whole_archive_flag_spec='$convenience'
99759533 fi
99769534 archive_cmds_need_lc=yes
9977 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9978 # -brtl affects multiple linker settings, -berok does not and is overridden later
9979 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9980 if test svr4 != "$with_aix_soname"; then
9981 # This is similar to how AIX traditionally builds its shared libraries.
9982 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9983 fi
9984 if test aix != "$with_aix_soname"; then
9985 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9986 else
9987 # used by -dlpreopen to get the symbols
9988 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9989 fi
9990 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9535 # This is similar to how AIX traditionally builds its shared libraries.
9536 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
99919537 fi
99929538 fi
99939539 ;;
99969542 case $host_cpu in
99979543 powerpc)
99989544 # see comment about AmigaOS4 .so support
9999 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
100009546 archive_expsym_cmds=''
100019547 ;;
100029548 m68k)
100269572 # Tell ltmain to make .lib files, not .a files.
100279573 libext=lib
100289574 # Tell ltmain to make .dll files, not .so files.
10029 shrext_cmds=.dll
9575 shrext_cmds=".dll"
100309576 # FIXME: Setting linknames here is a bad hack.
10031 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10032 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10033 cp "$export_symbols" "$output_objdir/$soname.def";
10034 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10035 else
10036 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10037 fi~
10038 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10039 linknames='
9577 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9578 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9579 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9580 else
9581 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9582 fi~
9583 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9584 linknames='
100409585 # The linker will not automatically build a static lib if we build a DLL.
100419586 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
100429587 enable_shared_with_static_runtimes=yes
100459590 # Don't use ranlib
100469591 old_postinstall_cmds='chmod 644 $oldlib'
100479592 postlink_cmds='lt_outputfile="@OUTPUT@"~
10048 lt_tool_outputfile="@TOOL_OUTPUT@"~
10049 case $lt_outputfile in
10050 *.exe|*.EXE) ;;
10051 *)
10052 lt_outputfile=$lt_outputfile.exe
10053 lt_tool_outputfile=$lt_tool_outputfile.exe
10054 ;;
10055 esac~
10056 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10057 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10058 $RM "$lt_outputfile.manifest";
10059 fi'
9593 lt_tool_outputfile="@TOOL_OUTPUT@"~
9594 case $lt_outputfile in
9595 *.exe|*.EXE) ;;
9596 *)
9597 lt_outputfile="$lt_outputfile.exe"
9598 lt_tool_outputfile="$lt_tool_outputfile.exe"
9599 ;;
9600 esac~
9601 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9602 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9603 $RM "$lt_outputfile.manifest";
9604 fi'
100609605 ;;
100619606 *)
100629607 # Assume MSVC wrapper
100659610 # Tell ltmain to make .lib files, not .a files.
100669611 libext=lib
100679612 # Tell ltmain to make .dll files, not .so files.
10068 shrext_cmds=.dll
9613 shrext_cmds=".dll"
100699614 # FIXME: Setting linknames here is a bad hack.
100709615 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
100719616 # The linker will automatically build a .lib file if we build a DLL.
100849629 hardcode_direct=no
100859630 hardcode_automatic=yes
100869631 hardcode_shlibpath_var=unsupported
10087 if test yes = "$lt_cv_ld_force_load"; then
10088 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9632 if test "$lt_cv_ld_force_load" = "yes"; then
9633 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
100899634
100909635 else
100919636 whole_archive_flag_spec=''
100929637 fi
100939638 link_all_deplibs=yes
10094 allow_undefined_flag=$_lt_dar_allow_undefined
9639 allow_undefined_flag="$_lt_dar_allow_undefined"
100959640 case $cc_basename in
10096 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9641 ifort*) _lt_dar_can_shared=yes ;;
100979642 *) _lt_dar_can_shared=$GCC ;;
100989643 esac
10099 if test yes = "$_lt_dar_can_shared"; then
9644 if test "$_lt_dar_can_shared" = "yes"; then
101009645 output_verbose_link_cmd=func_echo_all
10101 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10102 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10103 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10104 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
9646 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9647 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9648 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9649 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
101059650
101069651 else
101079652 ld_shlibs=no
101439688 ;;
101449689
101459690 hpux9*)
10146 if test yes = "$GCC"; then
10147 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9691 if test "$GCC" = yes; then
9692 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
101489693 else
10149 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9694 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
101509695 fi
10151 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
101529697 hardcode_libdir_separator=:
101539698 hardcode_direct=yes
101549699
101559700 # hardcode_minus_L: Not really in the search PATH,
101569701 # but as the default location of the library.
101579702 hardcode_minus_L=yes
10158 export_dynamic_flag_spec='$wl-E'
9703 export_dynamic_flag_spec='${wl}-E'
101599704 ;;
101609705
101619706 hpux10*)
10162 if test yes,no = "$GCC,$with_gnu_ld"; then
10163 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9707 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9708 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
101649709 else
101659710 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
101669711 fi
10167 if test no = "$with_gnu_ld"; then
10168 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9712 if test "$with_gnu_ld" = no; then
9713 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
101699714 hardcode_libdir_separator=:
101709715 hardcode_direct=yes
101719716 hardcode_direct_absolute=yes
10172 export_dynamic_flag_spec='$wl-E'
9717 export_dynamic_flag_spec='${wl}-E'
101739718 # hardcode_minus_L: Not really in the search PATH,
101749719 # but as the default location of the library.
101759720 hardcode_minus_L=yes
101779722 ;;
101789723
101799724 hpux11*)
10180 if test yes,no = "$GCC,$with_gnu_ld"; then
9725 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
101819726 case $host_cpu in
101829727 hppa*64*)
10183 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
101849729 ;;
101859730 ia64*)
10186 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9731 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
101879732 ;;
101889733 *)
10189 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
101909735 ;;
101919736 esac
101929737 else
101939738 case $host_cpu in
101949739 hppa*64*)
10195 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
101969741 ;;
101979742 ia64*)
10198 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
101999744 ;;
102009745 *)
102019746
102079752 $as_echo_n "(cached) " >&6
102089753 else
102099754 lt_cv_prog_compiler__b=no
10210 save_LDFLAGS=$LDFLAGS
9755 save_LDFLAGS="$LDFLAGS"
102119756 LDFLAGS="$LDFLAGS -b"
102129757 echo "$lt_simple_link_test_code" > conftest.$ac_ext
102139758 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
102269771 fi
102279772 fi
102289773 $RM -r conftest*
10229 LDFLAGS=$save_LDFLAGS
9774 LDFLAGS="$save_LDFLAGS"
102309775
102319776 fi
102329777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
102339778 $as_echo "$lt_cv_prog_compiler__b" >&6; }
102349779
10235 if test yes = "$lt_cv_prog_compiler__b"; then
10236 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9780 if test x"$lt_cv_prog_compiler__b" = xyes; then
9781 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
102379782 else
102389783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
102399784 fi
102419786 ;;
102429787 esac
102439788 fi
10244 if test no = "$with_gnu_ld"; then
10245 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9789 if test "$with_gnu_ld" = no; then
9790 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
102469791 hardcode_libdir_separator=:
102479792
102489793 case $host_cpu in
102539798 *)
102549799 hardcode_direct=yes
102559800 hardcode_direct_absolute=yes
10256 export_dynamic_flag_spec='$wl-E'
9801 export_dynamic_flag_spec='${wl}-E'
102579802
102589803 # hardcode_minus_L: Not really in the search PATH,
102599804 # but as the default location of the library.
102649809 ;;
102659810
102669811 irix5* | irix6* | nonstopux*)
10267 if test yes = "$GCC"; then
10268 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
9812 if test "$GCC" = yes; then
9813 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
102699814 # Try to use the -exported_symbol ld option, if it does not
102709815 # work, assume that -exports_file does not work either and
102719816 # implicitly export all symbols.
102759820 if ${lt_cv_irix_exported_symbol+:} false; then :
102769821 $as_echo_n "(cached) " >&6
102779822 else
10278 save_LDFLAGS=$LDFLAGS
10279 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9823 save_LDFLAGS="$LDFLAGS"
9824 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
102809825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102819826 /* end confdefs.h. */
102829827 int foo (void) { return 0; }
102889833 fi
102899834 rm -f core conftest.err conftest.$ac_objext \
102909835 conftest$ac_exeext conftest.$ac_ext
10291 LDFLAGS=$save_LDFLAGS
9836 LDFLAGS="$save_LDFLAGS"
102929837 fi
102939838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
102949839 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10295 if test yes = "$lt_cv_irix_exported_symbol"; then
10296 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
9840 if test "$lt_cv_irix_exported_symbol" = yes; then
9841 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
102979842 fi
102989843 else
10299 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10300 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
9844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9845 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
103019846 fi
103029847 archive_cmds_need_lc='no'
10303 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9848 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
103049849 hardcode_libdir_separator=:
103059850 inherit_rpath=yes
103069851 link_all_deplibs=yes
10307 ;;
10308
10309 linux*)
10310 case $cc_basename in
10311 tcc*)
10312 # Fabrice Bellard et al's Tiny C Compiler
10313 ld_shlibs=yes
10314 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10315 ;;
10316 esac
103179852 ;;
103189853
103199854 netbsd*)
103309865 newsos6)
103319866 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
103329867 hardcode_direct=yes
10333 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9868 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
103349869 hardcode_libdir_separator=:
103359870 hardcode_shlibpath_var=no
103369871 ;;
103389873 *nto* | *qnx*)
103399874 ;;
103409875
10341 openbsd* | bitrig*)
9876 openbsd*)
103429877 if test -f /usr/libexec/ld.so; then
103439878 hardcode_direct=yes
103449879 hardcode_shlibpath_var=no
103459880 hardcode_direct_absolute=yes
10346 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9881 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
103479882 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10348 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10349 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10350 export_dynamic_flag_spec='$wl-E'
9883 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9884 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9885 export_dynamic_flag_spec='${wl}-E'
103519886 else
10352 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10353 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9887 case $host_os in
9888 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9890 hardcode_libdir_flag_spec='-R$libdir'
9891 ;;
9892 *)
9893 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9894 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9895 ;;
9896 esac
103549897 fi
103559898 else
103569899 ld_shlibs=no
103619904 hardcode_libdir_flag_spec='-L$libdir'
103629905 hardcode_minus_L=yes
103639906 allow_undefined_flag=unsupported
10364 shrext_cmds=.dll
10365 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10366 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10367 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10368 $ECHO EXPORTS >> $output_objdir/$libname.def~
10369 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10370 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10371 emximp -o $lib $output_objdir/$libname.def'
10372 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10373 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10374 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10375 $ECHO EXPORTS >> $output_objdir/$libname.def~
10376 prefix_cmds="$SED"~
10377 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10378 prefix_cmds="$prefix_cmds -e 1d";
10379 fi~
10380 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10381 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10382 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10383 emximp -o $lib $output_objdir/$libname.def'
10384 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10385 enable_shared_with_static_runtimes=yes
9907 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9908 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
103869909 ;;
103879910
103889911 osf3*)
10389 if test yes = "$GCC"; then
10390 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10391 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
9912 if test "$GCC" = yes; then
9913 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9914 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
103929915 else
103939916 allow_undefined_flag=' -expect_unresolved \*'
10394 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
9917 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
103959918 fi
103969919 archive_cmds_need_lc='no'
10397 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
103989921 hardcode_libdir_separator=:
103999922 ;;
104009923
104019924 osf4* | osf5*) # as osf3* with the addition of -msym flag
10402 if test yes = "$GCC"; then
10403 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10404 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10405 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9925 if test "$GCC" = yes; then
9926 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9927 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
104069929 else
104079930 allow_undefined_flag=' -expect_unresolved \*'
10408 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
9931 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
104099932 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10410 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
9933 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
104119934
104129935 # Both c and cxx compiler support -rpath directly
104139936 hardcode_libdir_flag_spec='-rpath $libdir'
104189941
104199942 solaris*)
104209943 no_undefined_flag=' -z defs'
10421 if test yes = "$GCC"; then
10422 wlarc='$wl'
10423 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 if test "$GCC" = yes; then
9945 wlarc='${wl}'
9946 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
104249947 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10425 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9948 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
104269949 else
104279950 case `$CC -V 2>&1` in
104289951 *"Compilers 5.0"*)
104299952 wlarc=''
10430 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
104319954 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10432 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9955 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
104339956 ;;
104349957 *)
10435 wlarc='$wl'
10436 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9958 wlarc='${wl}'
9959 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
104379960 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10438 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9961 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
104399962 ;;
104409963 esac
104419964 fi
104459968 solaris2.[0-5] | solaris2.[0-5].*) ;;
104469969 *)
104479970 # The compiler driver will combine and reorder linker options,
10448 # but understands '-z linker_flag'. GCC discards it without '$wl',
9971 # but understands `-z linker_flag'. GCC discards it without `$wl',
104499972 # but is careful enough not to reorder.
104509973 # Supported since Solaris 2.6 (maybe 2.5.1?)
10451 if test yes = "$GCC"; then
10452 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9974 if test "$GCC" = yes; then
9975 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
104539976 else
104549977 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
104559978 fi
104599982 ;;
104609983
104619984 sunos4*)
10462 if test sequent = "$host_vendor"; then
9985 if test "x$host_vendor" = xsequent; then
104639986 # Use $CC to link under sequent, because it throws in some extra .o
104649987 # files that make .init and .fini sections work.
10465 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
104669989 else
104679990 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
104689991 fi
1051110034 ;;
1051210035
1051310036 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10514 no_undefined_flag='$wl-z,text'
10037 no_undefined_flag='${wl}-z,text'
1051510038 archive_cmds_need_lc=no
1051610039 hardcode_shlibpath_var=no
1051710040 runpath_var='LD_RUN_PATH'
1051810041
10519 if test yes = "$GCC"; then
10520 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10521 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 if test "$GCC" = yes; then
10043 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1052210045 else
10523 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10524 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10047 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1052510048 fi
1052610049 ;;
1052710050
1052810051 sysv5* | sco3.2v5* | sco5v6*)
10529 # Note: We CANNOT use -z defs as we might desire, because we do not
10052 # Note: We can NOT use -z defs as we might desire, because we do not
1053010053 # link with -lc, and that would cause any symbols used from libc to
1053110054 # always be unresolved, which means just about no library would
1053210055 # ever link correctly. If we're not using GNU ld we use -z text
1053310056 # though, which does catch some bad symbols but isn't as heavy-handed
1053410057 # as -z defs.
10535 no_undefined_flag='$wl-z,text'
10536 allow_undefined_flag='$wl-z,nodefs'
10058 no_undefined_flag='${wl}-z,text'
10059 allow_undefined_flag='${wl}-z,nodefs'
1053710060 archive_cmds_need_lc=no
1053810061 hardcode_shlibpath_var=no
10539 hardcode_libdir_flag_spec='$wl-R,$libdir'
10062 hardcode_libdir_flag_spec='${wl}-R,$libdir'
1054010063 hardcode_libdir_separator=':'
1054110064 link_all_deplibs=yes
10542 export_dynamic_flag_spec='$wl-Bexport'
10065 export_dynamic_flag_spec='${wl}-Bexport'
1054310066 runpath_var='LD_RUN_PATH'
1054410067
10545 if test yes = "$GCC"; then
10546 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10547 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 if test "$GCC" = yes; then
10069 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1054810071 else
10549 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10550 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1055110074 fi
1055210075 ;;
1055310076
1056210085 ;;
1056310086 esac
1056410087
10565 if test sni = "$host_vendor"; then
10088 if test x$host_vendor = xsni; then
1056610089 case $host in
1056710090 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10568 export_dynamic_flag_spec='$wl-Blargedynsym'
10091 export_dynamic_flag_spec='${wl}-Blargedynsym'
1056910092 ;;
1057010093 esac
1057110094 fi
1057310096
1057410097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
1057510098 $as_echo "$ld_shlibs" >&6; }
10576 test no = "$ld_shlibs" && can_build_shared=no
10099 test "$ld_shlibs" = no && can_build_shared=no
1057710100
1057810101 with_gnu_ld=$with_gnu_ld
1057910102
1059910122 # Assume -lc should be added
1060010123 archive_cmds_need_lc=yes
1060110124
10602 if test yes,yes = "$GCC,$enable_shared"; then
10125 if test "$enable_shared" = yes && test "$GCC" = yes; then
1060310126 case $archive_cmds in
1060410127 *'~'*)
1060510128 # FIXME: we may have to deal with multi-command sequences.
1081410337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1081510338 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1081610339
10817 if test yes = "$GCC"; then
10340 if test "$GCC" = yes; then
1081810341 case $host_os in
10819 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10820 *) lt_awk_arg='/^libraries:/' ;;
10342 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10343 *) lt_awk_arg="/^libraries:/" ;;
1082110344 esac
1082210345 case $host_os in
10823 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10824 *) lt_sed_strip_eq='s|=/|/|g' ;;
10346 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10347 *) lt_sed_strip_eq="s,=/,/,g" ;;
1082510348 esac
1082610349 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
1082710350 case $lt_search_path_spec in
1083710360 ;;
1083810361 esac
1083910362 # Ok, now we have the path, separated by spaces, we can step through it
10840 # and add multilib dir if necessary...
10363 # and add multilib dir if necessary.
1084110364 lt_tmp_lt_search_path_spec=
10842 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10843 # ...but if some path component already ends with the multilib dir we assume
10844 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10845 case "$lt_multi_os_dir; $lt_search_path_spec " in
10846 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10847 lt_multi_os_dir=
10848 ;;
10849 esac
10365 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1085010366 for lt_sys_path in $lt_search_path_spec; do
10851 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10852 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10853 elif test -n "$lt_multi_os_dir"; then
10367 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10368 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10369 else
1085410370 test -d "$lt_sys_path" && \
1085510371 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1085610372 fi
1085710373 done
1085810374 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10859 BEGIN {RS = " "; FS = "/|\n";} {
10860 lt_foo = "";
10861 lt_count = 0;
10375 BEGIN {RS=" "; FS="/|\n";} {
10376 lt_foo="";
10377 lt_count=0;
1086210378 for (lt_i = NF; lt_i > 0; lt_i--) {
1086310379 if ($lt_i != "" && $lt_i != ".") {
1086410380 if ($lt_i == "..") {
1086510381 lt_count++;
1086610382 } else {
1086710383 if (lt_count == 0) {
10868 lt_foo = "/" $lt_i lt_foo;
10384 lt_foo="/" $lt_i lt_foo;
1086910385 } else {
1087010386 lt_count--;
1087110387 }
1087910395 # for these hosts.
1088010396 case $host_os in
1088110397 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10882 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10398 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
1088310399 esac
1088410400 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1088510401 else
1088810404 library_names_spec=
1088910405 libname_spec='lib$name'
1089010406 soname_spec=
10891 shrext_cmds=.so
10407 shrext_cmds=".so"
1089210408 postinstall_cmds=
1089310409 postuninstall_cmds=
1089410410 finish_cmds=
1090510421 # flags to be left without arguments
1090610422 need_version=unknown
1090710423
10908
10909
1091010424 case $host_os in
1091110425 aix3*)
1091210426 version_type=linux # correct to gnu/linux during the next big refactor
10913 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10427 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1091410428 shlibpath_var=LIBPATH
1091510429
1091610430 # AIX 3 has no versioning support, so we append a major version to the name.
10917 soname_spec='$libname$release$shared_ext$major'
10431 soname_spec='${libname}${release}${shared_ext}$major'
1091810432 ;;
1091910433
1092010434 aix[4-9]*)
1092210436 need_lib_prefix=no
1092310437 need_version=no
1092410438 hardcode_into_libs=yes
10925 if test ia64 = "$host_cpu"; then
10439 if test "$host_cpu" = ia64; then
1092610440 # AIX 5 supports IA64
10927 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10441 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1092810442 shlibpath_var=LD_LIBRARY_PATH
1092910443 else
1093010444 # With GCC up to 2.95.x, collect2 would create an import file
1093110445 # for dependence libraries. The import file would start with
10932 # the line '#! .'. This would cause the generated library to
10933 # depend on '.', always an invalid library. This was fixed in
10446 # the line `#! .'. This would cause the generated library to
10447 # depend on `.', always an invalid library. This was fixed in
1093410448 # development snapshots of GCC prior to 3.0.
1093510449 case $host_os in
1093610450 aix4 | aix4.[01] | aix4.[01].*)
1093710451 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1093810452 echo ' yes '
10939 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10453 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1094010454 :
1094110455 else
1094210456 can_build_shared=no
1094310457 fi
1094410458 ;;
1094510459 esac
10946 # Using Import Files as archive members, it is possible to support
10947 # filename-based versioning of shared library archives on AIX. While
10948 # this would work for both with and without runtime linking, it will
10949 # prevent static linking of such archives. So we do filename-based
10950 # shared library versioning with .so extension only, which is used
10951 # when both runtime linking and shared linking is enabled.
10952 # Unfortunately, runtime linking may impact performance, so we do
10953 # not want this to be the default eventually. Also, we use the
10954 # versioned .so libs for executables only if there is the -brtl
10955 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10956 # To allow for filename-based versioning support, we need to create
10957 # libNAME.so.V as an archive file, containing:
10958 # *) an Import File, referring to the versioned filename of the
10959 # archive as well as the shared archive member, telling the
10960 # bitwidth (32 or 64) of that shared object, and providing the
10961 # list of exported symbols of that shared object, eventually
10962 # decorated with the 'weak' keyword
10963 # *) the shared object with the F_LOADONLY flag set, to really avoid
10964 # it being seen by the linker.
10965 # At run time we better use the real file rather than another symlink,
10966 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10967
10968 case $with_aix_soname,$aix_use_runtimelinking in
10969 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10460 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1097010461 # soname into executable. Probably we can add versioning support to
1097110462 # collect2, so additional links can be useful in future.
10972 aix,yes) # traditional libtool
10973 dynamic_linker='AIX unversionable lib.so'
10463 if test "$aix_use_runtimelinking" = yes; then
1097410464 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1097510465 # instead of lib<name>.a to let people know that these are not
1097610466 # typical AIX shared libraries.
10977 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10978 ;;
10979 aix,no) # traditional AIX only
10980 dynamic_linker='AIX lib.a(lib.so.V)'
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10468 else
1098110469 # We preserve .a as extension for shared libraries through AIX4.2
1098210470 # and later when we are not doing run time linking.
10983 library_names_spec='$libname$release.a $libname.a'
10984 soname_spec='$libname$release$shared_ext$major'
10985 ;;
10986 svr4,*) # full svr4 only
10987 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10988 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10989 # We do not specify a path in Import Files, so LIBPATH fires.
10990 shlibpath_overrides_runpath=yes
10991 ;;
10992 *,yes) # both, prefer svr4
10993 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10994 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10995 # unpreferred sharedlib libNAME.a needs extra handling
10996 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10997 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10998 # We do not specify a path in Import Files, so LIBPATH fires.
10999 shlibpath_overrides_runpath=yes
11000 ;;
11001 *,no) # both, prefer aix
11002 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11003 library_names_spec='$libname$release.a $libname.a'
11004 soname_spec='$libname$release$shared_ext$major'
11005 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11006 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11007 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11008 ;;
11009 esac
10471 library_names_spec='${libname}${release}.a $libname.a'
10472 soname_spec='${libname}${release}${shared_ext}$major'
10473 fi
1101010474 shlibpath_var=LIBPATH
1101110475 fi
1101210476 ;;
1101610480 powerpc)
1101710481 # Since July 2007 AmigaOS4 officially supports .so libraries.
1101810482 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1102010484 ;;
1102110485 m68k)
1102210486 library_names_spec='$libname.ixlibrary $libname.a'
1102310487 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11024 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10488 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1102510489 ;;
1102610490 esac
1102710491 ;;
1102810492
1102910493 beos*)
11030 library_names_spec='$libname$shared_ext'
10494 library_names_spec='${libname}${shared_ext}'
1103110495 dynamic_linker="$host_os ld.so"
1103210496 shlibpath_var=LIBRARY_PATH
1103310497 ;;
1103510499 bsdi[45]*)
1103610500 version_type=linux # correct to gnu/linux during the next big refactor
1103710501 need_version=no
11038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11039 soname_spec='$libname$release$shared_ext$major'
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 soname_spec='${libname}${release}${shared_ext}$major'
1104010504 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1104110505 shlibpath_var=LD_LIBRARY_PATH
1104210506 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1104810512
1104910513 cygwin* | mingw* | pw32* | cegcc*)
1105010514 version_type=windows
11051 shrext_cmds=.dll
10515 shrext_cmds=".dll"
1105210516 need_version=no
1105310517 need_lib_prefix=no
1105410518
1105710521 # gcc
1105810522 library_names_spec='$libname.dll.a'
1105910523 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11060 postinstall_cmds='base_file=`basename \$file`~
11061 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10524 postinstall_cmds='base_file=`basename \${file}`~
10525 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1106210526 dldir=$destdir/`dirname \$dlpath`~
1106310527 test -d \$dldir || mkdir -p \$dldir~
1106410528 $install_prog $dir/$dlname \$dldir/$dlname~
1107410538 case $host_os in
1107510539 cygwin*)
1107610540 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11077 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10541 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1107810542
1107910543 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1108010544 ;;
1108110545 mingw* | cegcc*)
1108210546 # MinGW DLLs use traditional 'lib' prefix
11083 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10547 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1108410548 ;;
1108510549 pw32*)
1108610550 # pw32 DLLs use 'pw' prefix rather than 'lib'
11087 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10551 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1108810552 ;;
1108910553 esac
1109010554 dynamic_linker='Win32 ld.exe'
1109310557 *,cl*)
1109410558 # Native MSVC
1109510559 libname_spec='$name'
11096 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11097 library_names_spec='$libname.dll.lib'
10560 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561 library_names_spec='${libname}.dll.lib'
1109810562
1109910563 case $build_os in
1110010564 mingw*)
1112110585 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1112210586 ;;
1112310587 *)
11124 sys_lib_search_path_spec=$LIB
10588 sys_lib_search_path_spec="$LIB"
1112510589 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
1112610590 # It is most probably a Windows format PATH.
1112710591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1113410598 esac
1113510599
1113610600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11137 postinstall_cmds='base_file=`basename \$file`~
11138 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10601 postinstall_cmds='base_file=`basename \${file}`~
10602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1113910603 dldir=$destdir/`dirname \$dlpath`~
1114010604 test -d \$dldir || mkdir -p \$dldir~
1114110605 $install_prog $dir/$dlname \$dldir/$dlname'
1114810612
1114910613 *)
1115010614 # Assume MSVC wrapper
11151 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10615 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1115210616 dynamic_linker='Win32 ld.exe'
1115310617 ;;
1115410618 esac
1116110625 version_type=darwin
1116210626 need_lib_prefix=no
1116310627 need_version=no
11164 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11165 soname_spec='$libname$release$major$shared_ext'
10628 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10629 soname_spec='${libname}${release}${major}$shared_ext'
1116610630 shlibpath_overrides_runpath=yes
1116710631 shlibpath_var=DYLD_LIBRARY_PATH
1116810632 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1117510639 version_type=linux # correct to gnu/linux during the next big refactor
1117610640 need_lib_prefix=no
1117710641 need_version=no
11178 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11179 soname_spec='$libname$release$shared_ext$major'
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10643 soname_spec='${libname}${release}${shared_ext}$major'
1118010644 shlibpath_var=LD_LIBRARY_PATH
1118110645 ;;
1118210646
1119410658 version_type=freebsd-$objformat
1119510659 case $version_type in
1119610660 freebsd-elf*)
11197 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11198 soname_spec='$libname$release$shared_ext$major'
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1119910662 need_version=no
1120010663 need_lib_prefix=no
1120110664 ;;
1120210665 freebsd-*)
11203 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1120410667 need_version=yes
1120510668 ;;
1120610669 esac
1122510688 esac
1122610689 ;;
1122710690
10691 gnu*)
10692 version_type=linux # correct to gnu/linux during the next big refactor
10693 need_lib_prefix=no
10694 need_version=no
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 shlibpath_var=LD_LIBRARY_PATH
10698 shlibpath_overrides_runpath=no
10699 hardcode_into_libs=yes
10700 ;;
10701
1122810702 haiku*)
1122910703 version_type=linux # correct to gnu/linux during the next big refactor
1123010704 need_lib_prefix=no
1123110705 need_version=no
1123210706 dynamic_linker="$host_os runtime_loader"
11233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11234 soname_spec='$libname$release$shared_ext$major'
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10708 soname_spec='${libname}${release}${shared_ext}$major'
1123510709 shlibpath_var=LIBRARY_PATH
11236 shlibpath_overrides_runpath=no
10710 shlibpath_overrides_runpath=yes
1123710711 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1123810712 hardcode_into_libs=yes
1123910713 ;;
1125110725 dynamic_linker="$host_os dld.so"
1125210726 shlibpath_var=LD_LIBRARY_PATH
1125310727 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11254 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11255 soname_spec='$libname$release$shared_ext$major'
11256 if test 32 = "$HPUX_IA64_MODE"; then
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 if test "X$HPUX_IA64_MODE" = X32; then
1125710731 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11258 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1125910732 else
1126010733 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11261 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1126210734 fi
10735 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1126310736 ;;
1126410737 hppa*64*)
1126510738 shrext_cmds='.sl'
1126710740 dynamic_linker="$host_os dld.sl"
1126810741 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1126910742 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11270 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11271 soname_spec='$libname$release$shared_ext$major'
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
1127210745 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1127310746 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1127410747 ;;
1127710750 dynamic_linker="$host_os dld.sl"
1127810751 shlibpath_var=SHLIB_PATH
1127910752 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11280 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11281 soname_spec='$libname$release$shared_ext$major'
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754 soname_spec='${libname}${release}${shared_ext}$major'
1128210755 ;;
1128310756 esac
1128410757 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1129110764 version_type=linux # correct to gnu/linux during the next big refactor
1129210765 need_lib_prefix=no
1129310766 need_version=no
11294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11295 soname_spec='$libname$release$shared_ext$major'
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
1129610769 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1129710770 shlibpath_var=LD_LIBRARY_PATH
1129810771 shlibpath_overrides_runpath=no
1130310776 case $host_os in
1130410777 nonstopux*) version_type=nonstopux ;;
1130510778 *)
11306 if test yes = "$lt_cv_prog_gnu_ld"; then
10779 if test "$lt_cv_prog_gnu_ld" = yes; then
1130710780 version_type=linux # correct to gnu/linux during the next big refactor
1130810781 else
1130910782 version_type=irix
1131110784 esac
1131210785 need_lib_prefix=no
1131310786 need_version=no
11314 soname_spec='$libname$release$shared_ext$major'
11315 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1131610789 case $host_os in
1131710790 irix5* | nonstopux*)
1131810791 libsuff= shlibsuff=
1133110804 esac
1133210805 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1133310806 shlibpath_overrides_runpath=no
11334 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11335 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10807 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10808 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1133610809 hardcode_into_libs=yes
1133710810 ;;
1133810811
1134110814 dynamic_linker=no
1134210815 ;;
1134310816
11344 linux*android*)
11345 version_type=none # Android doesn't support versioned libraries.
11346 need_lib_prefix=no
11347 need_version=no
11348 library_names_spec='$libname$release$shared_ext'
11349 soname_spec='$libname$release$shared_ext'
11350 finish_cmds=
11351 shlibpath_var=LD_LIBRARY_PATH
11352 shlibpath_overrides_runpath=yes
11353
11354 # This implies no fast_install, which is unacceptable.
11355 # Some rework will be needed to allow for fast_install
11356 # before this can be enabled.
11357 hardcode_into_libs=yes
11358
11359 dynamic_linker='Android linker'
11360 # Don't embed -rpath directories since the linker doesn't support them.
11361 hardcode_libdir_flag_spec='-L$libdir'
11362 ;;
11363
1136410817 # This must be glibc/ELF.
11365 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1136610819 version_type=linux # correct to gnu/linux during the next big refactor
1136710820 need_lib_prefix=no
1136810821 need_version=no
11369 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11370 soname_spec='$libname$release$shared_ext$major'
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 soname_spec='${libname}${release}${shared_ext}$major'
1137110824 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1137210825 shlibpath_var=LD_LIBRARY_PATH
1137310826 shlibpath_overrides_runpath=no
1141410867 # Add ABI-specific directories to the system library path.
1141510868 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
1141610869
11417 # Ideally, we could use ldconfig to report *all* directores which are
11418 # searched for libraries, however this is still not possible. Aside from not
11419 # being certain /sbin/ldconfig is available, command
11420 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11421 # even though it is searched at run-time. Try to do the best guess by
11422 # appending ld.so.conf contents (and includes) to the search path.
10870 # Append ld.so.conf contents to the search path
1142310871 if test -f /etc/ld.so.conf; then
1142410872 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1142510873 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10874
1142610875 fi
1142710876
1142810877 # We used to test for /lib/ld.so.1 and disable shared libraries on
1143910888 need_lib_prefix=no
1144010889 need_version=no
1144110890 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11442 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1144310892 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1144410893 dynamic_linker='NetBSD (a.out) ld.so'
1144510894 else
11446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11447 soname_spec='$libname$release$shared_ext$major'
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10896 soname_spec='${libname}${release}${shared_ext}$major'
1144810897 dynamic_linker='NetBSD ld.elf_so'
1144910898 fi
1145010899 shlibpath_var=LD_LIBRARY_PATH
1145410903
1145510904 newsos6)
1145610905 version_type=linux # correct to gnu/linux during the next big refactor
11457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1145810907 shlibpath_var=LD_LIBRARY_PATH
1145910908 shlibpath_overrides_runpath=yes
1146010909 ;;
1146310912 version_type=qnx
1146410913 need_lib_prefix=no
1146510914 need_version=no
11466 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11467 soname_spec='$libname$release$shared_ext$major'
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
1146810917 shlibpath_var=LD_LIBRARY_PATH
1146910918 shlibpath_overrides_runpath=no
1147010919 hardcode_into_libs=yes
1147110920 dynamic_linker='ldqnx.so'
1147210921 ;;
1147310922
11474 openbsd* | bitrig*)
10923 openbsd*)
1147510924 version_type=sunos
11476 sys_lib_dlsearch_path_spec=/usr/lib
10925 sys_lib_dlsearch_path_spec="/usr/lib"
1147710926 need_lib_prefix=no
11478 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11479 need_version=no
11480 else
11481 need_version=yes
11482 fi
11483 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10927 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10928 case $host_os in
10929 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10930 *) need_version=no ;;
10931 esac
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1148410933 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1148510934 shlibpath_var=LD_LIBRARY_PATH
11486 shlibpath_overrides_runpath=yes
10935 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10936 case $host_os in
10937 openbsd2.[89] | openbsd2.[89].*)
10938 shlibpath_overrides_runpath=no
10939 ;;
10940 *)
10941 shlibpath_overrides_runpath=yes
10942 ;;
10943 esac
10944 else
10945 shlibpath_overrides_runpath=yes
10946 fi
1148710947 ;;
1148810948
1148910949 os2*)
1149010950 libname_spec='$name'
11491 version_type=windows
11492 shrext_cmds=.dll
11493 need_version=no
10951 shrext_cmds=".dll"
1149410952 need_lib_prefix=no
11495 # OS/2 can only load a DLL with a base name of 8 characters or less.
11496 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11497 v=$($ECHO $release$versuffix | tr -d .-);
11498 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11499 $ECHO $n$v`$shared_ext'
11500 library_names_spec='${libname}_dll.$libext'
10953 library_names_spec='$libname${shared_ext} $libname.a'
1150110954 dynamic_linker='OS/2 ld.exe'
11502 shlibpath_var=BEGINLIBPATH
11503 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11505 postinstall_cmds='base_file=`basename \$file`~
11506 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11507 dldir=$destdir/`dirname \$dlpath`~
11508 test -d \$dldir || mkdir -p \$dldir~
11509 $install_prog $dir/$dlname \$dldir/$dlname~
11510 chmod a+x \$dldir/$dlname~
11511 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11512 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11513 fi'
11514 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11515 dlpath=$dir/\$dldll~
11516 $RM \$dlpath'
10955 shlibpath_var=LIBPATH
1151710956 ;;
1151810957
1151910958 osf3* | osf4* | osf5*)
1152010959 version_type=osf
1152110960 need_lib_prefix=no
1152210961 need_version=no
11523 soname_spec='$libname$release$shared_ext$major'
11524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10962 soname_spec='${libname}${release}${shared_ext}$major'
10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1152510964 shlibpath_var=LD_LIBRARY_PATH
1152610965 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11527 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10966 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1152810967 ;;
1152910968
1153010969 rdos*)
1153510974 version_type=linux # correct to gnu/linux during the next big refactor
1153610975 need_lib_prefix=no
1153710976 need_version=no
11538 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11539 soname_spec='$libname$release$shared_ext$major'
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 soname_spec='${libname}${release}${shared_ext}$major'
1154010979 shlibpath_var=LD_LIBRARY_PATH
1154110980 shlibpath_overrides_runpath=yes
1154210981 hardcode_into_libs=yes
1154610985
1154710986 sunos4*)
1154810987 version_type=sunos
11549 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1155010989 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1155110990 shlibpath_var=LD_LIBRARY_PATH
1155210991 shlibpath_overrides_runpath=yes
11553 if test yes = "$with_gnu_ld"; then
10992 if test "$with_gnu_ld" = yes; then
1155410993 need_lib_prefix=no
1155510994 fi
1155610995 need_version=yes
1155810997
1155910998 sysv4 | sysv4.3*)
1156010999 version_type=linux # correct to gnu/linux during the next big refactor
11561 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11562 soname_spec='$libname$release$shared_ext$major'
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
1156311002 shlibpath_var=LD_LIBRARY_PATH
1156411003 case $host_vendor in
1156511004 sni)
1158011019 ;;
1158111020
1158211021 sysv4*MP*)
11583 if test -d /usr/nec; then
11022 if test -d /usr/nec ;then
1158411023 version_type=linux # correct to gnu/linux during the next big refactor
11585 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11586 soname_spec='$libname$shared_ext.$major'
11024 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11025 soname_spec='$libname${shared_ext}.$major'
1158711026 shlibpath_var=LD_LIBRARY_PATH
1158811027 fi
1158911028 ;;
1159011029
1159111030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11592 version_type=sco
11031 version_type=freebsd-elf
1159311032 need_lib_prefix=no
1159411033 need_version=no
11595 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11596 soname_spec='$libname$release$shared_ext$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11035 soname_spec='${libname}${release}${shared_ext}$major'
1159711036 shlibpath_var=LD_LIBRARY_PATH
1159811037 shlibpath_overrides_runpath=yes
1159911038 hardcode_into_libs=yes
11600 if test yes = "$with_gnu_ld"; then
11039 if test "$with_gnu_ld" = yes; then
1160111040 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1160211041 else
1160311042 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1161511054 version_type=linux # correct to gnu/linux during the next big refactor
1161611055 need_lib_prefix=no
1161711056 need_version=no
11618 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1161911058 shlibpath_var=LD_LIBRARY_PATH
1162011059 shlibpath_overrides_runpath=no
1162111060 hardcode_into_libs=yes
1162311062
1162411063 uts4*)
1162511064 version_type=linux # correct to gnu/linux during the next big refactor
11626 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11627 soname_spec='$libname$release$shared_ext$major'
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 soname_spec='${libname}${release}${shared_ext}$major'
1162811067 shlibpath_var=LD_LIBRARY_PATH
1162911068 ;;
1163011069
1163411073 esac
1163511074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1163611075 $as_echo "$dynamic_linker" >&6; }
11637 test no = "$dynamic_linker" && can_build_shared=no
11076 test "$dynamic_linker" = no && can_build_shared=no
1163811077
1163911078 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11640 if test yes = "$GCC"; then
11079 if test "$GCC" = yes; then
1164111080 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1164211081 fi
1164311082
11644 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11645 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11646 fi
11647
11648 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11649 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11650 fi
11651
11652 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11653 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11654
11655 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11656 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11657
11658 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11659 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11660
11661
11662
11663
11664
11083 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11084 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11085 fi
11086 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11087 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11088 fi
1166511089
1166611090
1166711091
1175911183 hardcode_action=
1176011184 if test -n "$hardcode_libdir_flag_spec" ||
1176111185 test -n "$runpath_var" ||
11762 test yes = "$hardcode_automatic"; then
11186 test "X$hardcode_automatic" = "Xyes" ; then
1176311187
1176411188 # We can hardcode non-existent directories.
11765 if test no != "$hardcode_direct" &&
11189 if test "$hardcode_direct" != no &&
1176611190 # If the only mechanism to avoid hardcoding is shlibpath_var, we
1176711191 # have to relink, otherwise we might link with an installed library
1176811192 # when we should be linking with a yet-to-be-installed one
11769 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11770 test no != "$hardcode_minus_L"; then
11193 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11194 test "$hardcode_minus_L" != no; then
1177111195 # Linking always hardcodes the temporary library directory.
1177211196 hardcode_action=relink
1177311197 else
1178211206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
1178311207 $as_echo "$hardcode_action" >&6; }
1178411208
11785 if test relink = "$hardcode_action" ||
11786 test yes = "$inherit_rpath"; then
11209 if test "$hardcode_action" = relink ||
11210 test "$inherit_rpath" = yes; then
1178711211 # Fast installation is not supported
1178811212 enable_fast_install=no
11789 elif test yes = "$shlibpath_overrides_runpath" ||
11790 test no = "$enable_shared"; then
11213 elif test "$shlibpath_overrides_runpath" = yes ||
11214 test "$enable_shared" = no; then
1179111215 # Fast installation is not necessary
1179211216 enable_fast_install=needless
1179311217 fi
1179711221
1179811222
1179911223
11800 if test yes != "$enable_dlopen"; then
11224 if test "x$enable_dlopen" != xyes; then
1180111225 enable_dlopen=unknown
1180211226 enable_dlopen_self=unknown
1180311227 enable_dlopen_self_static=unknown
1180711231
1180811232 case $host_os in
1180911233 beos*)
11810 lt_cv_dlopen=load_add_on
11234 lt_cv_dlopen="load_add_on"
1181111235 lt_cv_dlopen_libs=
1181211236 lt_cv_dlopen_self=yes
1181311237 ;;
1181411238
1181511239 mingw* | pw32* | cegcc*)
11816 lt_cv_dlopen=LoadLibrary
11240 lt_cv_dlopen="LoadLibrary"
1181711241 lt_cv_dlopen_libs=
1181811242 ;;
1181911243
1182011244 cygwin*)
11821 lt_cv_dlopen=dlopen
11245 lt_cv_dlopen="dlopen"
1182211246 lt_cv_dlopen_libs=
1182311247 ;;
1182411248
1182511249 darwin*)
11826 # if libdl is installed we need to link against it
11250 # if libdl is installed we need to link against it
1182711251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1182811252 $as_echo_n "checking for dlopen in -ldl... " >&6; }
1182911253 if ${ac_cv_lib_dl_dlopen+:} false; then :
1186111285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1186211286 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1186311287 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11864 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11865 else
11866
11867 lt_cv_dlopen=dyld
11288 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11289 else
11290
11291 lt_cv_dlopen="dyld"
1186811292 lt_cv_dlopen_libs=
1186911293 lt_cv_dlopen_self=yes
1187011294
1187111295 fi
1187211296
11873 ;;
11874
11875 tpf*)
11876 # Don't try to run any link tests for TPF. We know it's impossible
11877 # because TPF is a cross-compiler, and we know how we open DSOs.
11878 lt_cv_dlopen=dlopen
11879 lt_cv_dlopen_libs=
11880 lt_cv_dlopen_self=no
1188111297 ;;
1188211298
1188311299 *)
1188411300 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1188511301 if test "x$ac_cv_func_shl_load" = xyes; then :
11886 lt_cv_dlopen=shl_load
11302 lt_cv_dlopen="shl_load"
1188711303 else
1188811304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1188911305 $as_echo_n "checking for shl_load in -ldld... " >&6; }
1192211338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1192311339 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1192411340 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11925 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11341 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1192611342 else
1192711343 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1192811344 if test "x$ac_cv_func_dlopen" = xyes; then :
11929 lt_cv_dlopen=dlopen
11345 lt_cv_dlopen="dlopen"
1193011346 else
1193111347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1193211348 $as_echo_n "checking for dlopen in -ldl... " >&6; }
1196511381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1196611382 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1196711383 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11968 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11384 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1196911385 else
1197011386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1197111387 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1200411420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1200511421 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1200611422 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12007 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11423 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1200811424 else
1200911425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1201011426 $as_echo_n "checking for dld_link in -ldld... " >&6; }
1204311459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1204411460 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1204511461 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12046 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11462 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1204711463 fi
1204811464
1204911465
1206411480 ;;
1206511481 esac
1206611482
12067 if test no = "$lt_cv_dlopen"; then
11483 if test "x$lt_cv_dlopen" != xno; then
11484 enable_dlopen=yes
11485 else
1206811486 enable_dlopen=no
12069 else
12070 enable_dlopen=yes
1207111487 fi
1207211488
1207311489 case $lt_cv_dlopen in
1207411490 dlopen)
12075 save_CPPFLAGS=$CPPFLAGS
12076 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12077
12078 save_LDFLAGS=$LDFLAGS
11491 save_CPPFLAGS="$CPPFLAGS"
11492 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11493
11494 save_LDFLAGS="$LDFLAGS"
1207911495 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1208011496
12081 save_LIBS=$LIBS
11497 save_LIBS="$LIBS"
1208211498 LIBS="$lt_cv_dlopen_libs $LIBS"
1208311499
1208411500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1208611502 if ${lt_cv_dlopen_self+:} false; then :
1208711503 $as_echo_n "(cached) " >&6
1208811504 else
12089 if test yes = "$cross_compiling"; then :
11505 if test "$cross_compiling" = yes; then :
1209011506 lt_cv_dlopen_self=cross
1209111507 else
1209211508 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1213311549 # endif
1213411550 #endif
1213511551
12136 /* When -fvisibility=hidden is used, assume the code has been annotated
11552 /* When -fvisbility=hidden is used, assume the code has been annotated
1213711553 correspondingly for the symbols needed. */
12138 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11554 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1213911555 int fnord () __attribute__((visibility("default")));
1214011556 #endif
1214111557
1216511581 (eval $ac_link) 2>&5
1216611582 ac_status=$?
1216711583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12168 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11584 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1216911585 (./conftest; exit; ) >&5 2>/dev/null
1217011586 lt_status=$?
1217111587 case x$lt_status in
1218511601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
1218611602 $as_echo "$lt_cv_dlopen_self" >&6; }
1218711603
12188 if test yes = "$lt_cv_dlopen_self"; then
11604 if test "x$lt_cv_dlopen_self" = xyes; then
1218911605 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1219011606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1219111607 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1219211608 if ${lt_cv_dlopen_self_static+:} false; then :
1219311609 $as_echo_n "(cached) " >&6
1219411610 else
12195 if test yes = "$cross_compiling"; then :
11611 if test "$cross_compiling" = yes; then :
1219611612 lt_cv_dlopen_self_static=cross
1219711613 else
1219811614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1223911655 # endif
1224011656 #endif
1224111657
12242 /* When -fvisibility=hidden is used, assume the code has been annotated
11658 /* When -fvisbility=hidden is used, assume the code has been annotated
1224311659 correspondingly for the symbols needed. */
12244 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11660 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1224511661 int fnord () __attribute__((visibility("default")));
1224611662 #endif
1224711663
1227111687 (eval $ac_link) 2>&5
1227211688 ac_status=$?
1227311689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12274 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11690 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1227511691 (./conftest; exit; ) >&5 2>/dev/null
1227611692 lt_status=$?
1227711693 case x$lt_status in
1229211708 $as_echo "$lt_cv_dlopen_self_static" >&6; }
1229311709 fi
1229411710
12295 CPPFLAGS=$save_CPPFLAGS
12296 LDFLAGS=$save_LDFLAGS
12297 LIBS=$save_LIBS
11711 CPPFLAGS="$save_CPPFLAGS"
11712 LDFLAGS="$save_LDFLAGS"
11713 LIBS="$save_LIBS"
1229811714 ;;
1229911715 esac
1230011716
1233811754 # FIXME - insert some real tests, host_os isn't really good enough
1233911755 case $host_os in
1234011756 darwin*)
12341 if test -n "$STRIP"; then
11757 if test -n "$STRIP" ; then
1234211758 striplib="$STRIP -x"
1234311759 old_striplib="$STRIP -S"
1234411760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1236611782
1236711783
1236811784
12369 # Report what library types will actually be built
11785 # Report which library types will actually be built
1237011786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1237111787 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
1237211788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1237411790
1237511791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1237611792 $as_echo_n "checking whether to build shared libraries... " >&6; }
12377 test no = "$can_build_shared" && enable_shared=no
11793 test "$can_build_shared" = "no" && enable_shared=no
1237811794
1237911795 # On AIX, shared libraries and static libraries use the same namespace, and
1238011796 # are all built from PIC.
1238111797 case $host_os in
1238211798 aix3*)
12383 test yes = "$enable_shared" && enable_static=no
11799 test "$enable_shared" = yes && enable_static=no
1238411800 if test -n "$RANLIB"; then
1238511801 archive_cmds="$archive_cmds~\$RANLIB \$lib"
1238611802 postinstall_cmds='$RANLIB $lib'
1238811804 ;;
1238911805
1239011806 aix[4-9]*)
12391 if test ia64 != "$host_cpu"; then
12392 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12393 yes,aix,yes) ;; # shared object as lib.so file only
12394 yes,svr4,*) ;; # shared object as lib.so archive member only
12395 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12396 esac
11807 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11808 test "$enable_shared" = yes && enable_static=no
1239711809 fi
1239811810 ;;
1239911811 esac
1240311815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1240411816 $as_echo_n "checking whether to build static libraries... " >&6; }
1240511817 # Make sure either enable_shared or enable_static is yes.
12406 test yes = "$enable_shared" || enable_static=yes
11818 test "$enable_shared" = yes || enable_static=yes
1240711819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1240811820 $as_echo "$enable_static" >&6; }
1240911821
1241711829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1241811830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1241911831
12420 CC=$lt_save_CC
11832 CC="$lt_save_CC"
1242111833
1242211834
1242311835
1297712389 fi
1297812390
1297912391 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12392
12393
12394 # Set DATADIRNAME correctly if it is not set yet
12395 # (copied from glib-gettext.m4)
12396 if test -z "$DATADIRNAME"; then
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12399
12400 int
12401 main ()
12402 {
12403 extern int _nl_msg_cat_cntr;
12404 return _nl_msg_cat_cntr
12405 ;
12406 return 0;
12407 }
12408 _ACEOF
12409 if ac_fn_c_try_link "$LINENO"; then :
12410 DATADIRNAME=share
12411 else
12412 case $host in
12413 *-*-solaris*)
12414 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12415 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12416 DATADIRNAME=share
12417 else
12418 DATADIRNAME=lib
12419 fi
12420
12421 ;;
12422 *)
12423 DATADIRNAME=lib
12424 ;;
12425 esac
12426 fi
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 fi
1298012430
1298112431
1298212432
1372413174 GTK_MIN_REQUIRED=3.8
1372513175 GTK_MAX_ALLOWED=3.14
1372613176 VTE_API_VERSION=2.91
13727 VTE_REQUIRED=0.44.0
13177 VTE_REQUIRED=0.44.2
1372813178 ;;
1372913179 esac
1373013180
1555515005 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
1555615006
1555715007 distdir: distdir-help-files
15558 distdir-help-files: $(_HELP_LC_FILES)
15008 distdir-help-files:
1555915009 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
1556015010 $(MKDIR_P) "$(distdir)/$$lc"; \
1556115011 for file in $(HELP_FILES); do \
1558415034
1558515035 .PHONY: install-help
1558615036 install-data-am: $(if $(HELP_ID),install-help)
15587 install-help: $(_HELP_LC_FILES)
15037 install-help:
1558815038 @for lc in C $(_HELP_LINGUAS); do \
1558915039 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
1559015040 done
1565415104
1565515105 TERMINAL_MINOR_VERSION=20
1565615106
15657 TERMINAL_MICRO_VERSION=1
15107 TERMINAL_MICRO_VERSION=2
1565815108
1565915109 TERMINAL_API_VERSION=0
1566015110
1624615696 # report actual input values of CONFIG_FILES etc. instead of their
1624715697 # values after options handling.
1624815698 ac_log="
16249 This file was extended by GNOME Terminal $as_me 3.20.1, which was
15699 This file was extended by GNOME Terminal $as_me 3.20.2, which was
1625015700 generated by GNU Autoconf 2.69. Invocation command line was
1625115701
1625215702 CONFIG_FILES = $CONFIG_FILES
1631215762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1631315763 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1631415764 ac_cs_version="\\
16315 GNOME Terminal config.status 3.20.1
15765 GNOME Terminal config.status 3.20.2
1631615766 configured by $0, generated by GNU Autoconf 2.69,
1631715767 with options \\"\$ac_cs_config\\"
1631815768
1644715897 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1644815898 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1644915899 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16450 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1645115900 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
1645215901 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1645315902 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1649715946 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
1649815947 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
1649915948 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16500 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1650115949 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
1650215950 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16503 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1650415951 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
1650515952 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16506 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1650715953 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
1650815954 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
1650915955 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
1656816014 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
1656916015 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
1657016016 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16571 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16572 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16017 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
1657316018 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
1657416019 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
1657516020 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
1662016065 compiler \
1662116066 lt_cv_sys_global_symbol_pipe \
1662216067 lt_cv_sys_global_symbol_to_cdecl \
16623 lt_cv_sys_global_symbol_to_import \
1662416068 lt_cv_sys_global_symbol_to_c_name_address \
1662516069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16626 lt_cv_nm_interface \
1662716070 nm_file_list_spec \
16628 lt_cv_truncate_bin \
1662916071 lt_prog_compiler_no_builtin_flag \
1663016072 lt_prog_compiler_pic \
1663116073 lt_prog_compiler_wl \
1666016102 striplib; do
1666116103 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1666216104 *[\\\\\\\`\\"\\\$]*)
16663 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16105 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1666416106 ;;
1666516107 *)
1666616108 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1668716129 postuninstall_cmds \
1668816130 finish_cmds \
1668916131 sys_lib_search_path_spec \
16690 configure_time_dlsearch_path \
16691 configure_time_lt_sys_library_path; do
16132 sys_lib_dlsearch_path_spec; do
1669216133 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1669316134 *[\\\\\\\`\\"\\\$]*)
16694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16135 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1669516136 ;;
1669616137 *)
1669716138 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1670016141 done
1670116142
1670216143 ac_aux_dir='$ac_aux_dir'
16703
16704 # See if we are running on zsh, and set the options that allow our
16144 xsi_shell='$xsi_shell'
16145 lt_shell_append='$lt_shell_append'
16146
16147 # See if we are running on zsh, and set the options which allow our
1670516148 # commands through without removal of \ escapes INIT.
16706 if test -n "\${ZSH_VERSION+set}"; then
16149 if test -n "\${ZSH_VERSION+set}" ; then
1670716150 setopt NO_GLOB_SUBST
1670816151 fi
1670916152
1671016153
1671116154 PACKAGE='$PACKAGE'
1671216155 VERSION='$VERSION'
16156 TIMESTAMP='$TIMESTAMP'
1671316157 RM='$RM'
1671416158 ofile='$ofile'
1671516159
1742616870 ;;
1742716871 "libtool":C)
1742816872
17429 # See if we are running on zsh, and set the options that allow our
16873 # See if we are running on zsh, and set the options which allow our
1743016874 # commands through without removal of \ escapes.
17431 if test -n "${ZSH_VERSION+set}"; then
16875 if test -n "${ZSH_VERSION+set}" ; then
1743216876 setopt NO_GLOB_SUBST
1743316877 fi
1743416878
17435 cfgfile=${ofile}T
16879 cfgfile="${ofile}T"
1743616880 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1743716881 $RM "$cfgfile"
1743816882
1743916883 cat <<_LT_EOF >> "$cfgfile"
1744016884 #! $SHELL
17441 # Generated automatically by $as_me ($PACKAGE) $VERSION
16885
16886 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16887 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1744216888 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1744316889 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17444
17445 # Provide generalized library-building support services.
17446 # Written by Gordon Matzigkeit, 1996
17447
17448 # Copyright (C) 2014 Free Software Foundation, Inc.
17449 # This is free software; see the source for copying conditions. There is NO
17450 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17451
17452 # GNU Libtool is free software; you can redistribute it and/or modify
17453 # it under the terms of the GNU General Public License as published by
17454 # the Free Software Foundation; either version 2 of of the License, or
17455 # (at your option) any later version.
1745616890 #
17457 # As a special exception to the GNU General Public License, if you
17458 # distribute this file as part of a program or library that is built
17459 # using GNU Libtool, you may include this file under the same
17460 # distribution terms that you use for the rest of that program.
16891 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16892 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16893 # Foundation, Inc.
16894 # Written by Gordon Matzigkeit, 1996
1746116895 #
17462 # GNU Libtool is distributed in the hope that it will be useful, but
17463 # WITHOUT ANY WARRANTY; without even the implied warranty of
16896 # This file is part of GNU Libtool.
16897 #
16898 # GNU Libtool is free software; you can redistribute it and/or
16899 # modify it under the terms of the GNU General Public License as
16900 # published by the Free Software Foundation; either version 2 of
16901 # the License, or (at your option) any later version.
16902 #
16903 # As a special exception to the GNU General Public License,
16904 # if you distribute this file as part of a program or library that
16905 # is built using GNU Libtool, you may include this file under the
16906 # same distribution terms that you use for the rest of that program.
16907 #
16908 # GNU Libtool is distributed in the hope that it will be useful,
16909 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1746416910 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1746516911 # GNU General Public License for more details.
1746616912 #
1746716913 # You should have received a copy of the GNU General Public License
17468 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16914 # along with GNU Libtool; see the file COPYING. If not, a copy
16915 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16916 # obtained by writing to the Free Software Foundation, Inc.,
16917 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1746916918
1747016919
1747116920 # The names of the tagged configurations supported by this script.
17472 available_tags=''
17473
17474 # Configured defaults for sys_lib_dlsearch_path munging.
17475 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16921 available_tags=""
1747616922
1747716923 # ### BEGIN LIBTOOL CONFIG
1747816924
1749116937
1749216938 # Whether or not to optimize for fast installation.
1749316939 fast_install=$enable_fast_install
17494
17495 # Shared archive member basename,for filename based shared library versioning on AIX.
17496 shared_archive_member_spec=$shared_archive_member_spec
1749716940
1749816941 # Shell to use when invoking shell scripts.
1749916942 SHELL=$lt_SHELL
1761217055 # Transform the output of nm in a proper C declaration.
1761317056 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1761417057
17615 # Transform the output of nm into a list of symbols to manually relocate.
17616 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17617
1761817058 # Transform the output of nm in a C name address pair.
1761917059 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1762017060
1762117061 # Transform the output of nm in a C name address pair when lib prefix is needed.
1762217062 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1762317063
17624 # The name lister interface.
17625 nm_interface=$lt_lt_cv_nm_interface
17626
1762717064 # Specify filename containing input files for \$NM.
1762817065 nm_file_list_spec=$lt_nm_file_list_spec
1762917066
17630 # The root where to search for dependent libraries,and where our libraries should be installed.
17067 # The root where to search for dependent libraries,and in which our libraries should be installed.
1763117068 lt_sysroot=$lt_sysroot
17632
17633 # Command to truncate a binary pipe.
17634 lt_truncate_bin=$lt_lt_cv_truncate_bin
1763517069
1763617070 # The name of the directory that contains temporary libtool files.
1763717071 objdir=$objdir
1772317157 # Compile-time system search path for libraries.
1772417158 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1772517159
17726 # Detected run-time system search path for libraries.
17727 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17728
17729 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17730 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17160 # Run-time system search path for libraries.
17161 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1773117162
1773217163 # Whether dlopen is supported.
1773317164 dlopen_support=$enable_dlopen
1782017251 # Whether we need a single "-rpath" flag with a separated argument.
1782117252 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1782217253
17823 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17254 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1782417255 # DIR into the resulting binary.
1782517256 hardcode_direct=$hardcode_direct
1782617257
17827 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1782817259 # DIR into the resulting binary and the resulting library dependency is
17829 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17260 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1783017261 # library is relocated.
1783117262 hardcode_direct_absolute=$hardcode_direct_absolute
1783217263
1787517306 hardcode_action=$hardcode_action
1787617307
1787717308 # ### END LIBTOOL CONFIG
17878
17879 _LT_EOF
17880
17881 cat <<'_LT_EOF' >> "$cfgfile"
17882
17883 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17884
17885 # func_munge_path_list VARIABLE PATH
17886 # -----------------------------------
17887 # VARIABLE is name of variable containing _space_ separated list of
17888 # directories to be munged by the contents of PATH, which is string
17889 # having a format:
17890 # "DIR[:DIR]:"
17891 # string "DIR[ DIR]" will be prepended to VARIABLE
17892 # ":DIR[:DIR]"
17893 # string "DIR[ DIR]" will be appended to VARIABLE
17894 # "DIRP[:DIRP]::[DIRA:]DIRA"
17895 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17896 # "DIRA[ DIRA]" will be appended to VARIABLE
17897 # "DIR[:DIR]"
17898 # VARIABLE will be replaced by "DIR[ DIR]"
17899 func_munge_path_list ()
17900 {
17901 case x$2 in
17902 x)
17903 ;;
17904 *:)
17905 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17906 ;;
17907 x:*)
17908 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17909 ;;
17910 *::*)
17911 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17912 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17913 ;;
17914 *)
17915 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17916 ;;
17917 esac
17918 }
17919
17920
17921 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17922 func_cc_basename ()
17923 {
17924 for cc_temp in $*""; do
17925 case $cc_temp in
17926 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17927 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17928 \-*) ;;
17929 *) break;;
17930 esac
17931 done
17932 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17933 }
17934
17935
17936 # ### END FUNCTIONS SHARED WITH CONFIGURE
1793717309
1793817310 _LT_EOF
1793917311
1794317315 # AIX sometimes has problems with the GCC collect2 program. For some
1794417316 # reason, if we set the COLLECT_NAMES environment variable, the problems
1794517317 # vanish in a puff of smoke.
17946 if test set != "${COLLECT_NAMES+set}"; then
17318 if test "X${COLLECT_NAMES+set}" != Xset; then
1794717319 COLLECT_NAMES=
1794817320 export COLLECT_NAMES
1794917321 fi
1795217324 esac
1795317325
1795417326
17955 ltmain=$ac_aux_dir/ltmain.sh
17327 ltmain="$ac_aux_dir/ltmain.sh"
1795617328
1795717329
1795817330 # We use sed instead of cat because bash on DJGPP gets confused if
1796117333 # is reportedly fixed, but why not run on old versions too?
1796217334 sed '$q' "$ltmain" >> "$cfgfile" \
1796317335 || (rm -f "$cfgfile"; exit 1)
17336
17337 if test x"$xsi_shell" = xyes; then
17338 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17339 func_dirname ()\
17340 {\
17341 \ case ${1} in\
17342 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17343 \ * ) func_dirname_result="${3}" ;;\
17344 \ esac\
17345 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17346 && mv -f "$cfgfile.tmp" "$cfgfile" \
17347 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17348 test 0 -eq $? || _lt_function_replace_fail=:
17349
17350
17351 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17352 func_basename ()\
17353 {\
17354 \ func_basename_result="${1##*/}"\
17355 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17356 && mv -f "$cfgfile.tmp" "$cfgfile" \
17357 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17358 test 0 -eq $? || _lt_function_replace_fail=:
17359
17360
17361 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17362 func_dirname_and_basename ()\
17363 {\
17364 \ case ${1} in\
17365 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17366 \ * ) func_dirname_result="${3}" ;;\
17367 \ esac\
17368 \ func_basename_result="${1##*/}"\
17369 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17370 && mv -f "$cfgfile.tmp" "$cfgfile" \
17371 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17372 test 0 -eq $? || _lt_function_replace_fail=:
17373
17374
17375 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17376 func_stripname ()\
17377 {\
17378 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17379 \ # positional parameters, so assign one to ordinary parameter first.\
17380 \ func_stripname_result=${3}\
17381 \ func_stripname_result=${func_stripname_result#"${1}"}\
17382 \ func_stripname_result=${func_stripname_result%"${2}"}\
17383 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17384 && mv -f "$cfgfile.tmp" "$cfgfile" \
17385 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17386 test 0 -eq $? || _lt_function_replace_fail=:
17387
17388
17389 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17390 func_split_long_opt ()\
17391 {\
17392 \ func_split_long_opt_name=${1%%=*}\
17393 \ func_split_long_opt_arg=${1#*=}\
17394 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17395 && mv -f "$cfgfile.tmp" "$cfgfile" \
17396 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17397 test 0 -eq $? || _lt_function_replace_fail=:
17398
17399
17400 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17401 func_split_short_opt ()\
17402 {\
17403 \ func_split_short_opt_arg=${1#??}\
17404 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17405 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17406 && mv -f "$cfgfile.tmp" "$cfgfile" \
17407 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17408 test 0 -eq $? || _lt_function_replace_fail=:
17409
17410
17411 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17412 func_lo2o ()\
17413 {\
17414 \ case ${1} in\
17415 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17416 \ *) func_lo2o_result=${1} ;;\
17417 \ esac\
17418 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17419 && mv -f "$cfgfile.tmp" "$cfgfile" \
17420 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17421 test 0 -eq $? || _lt_function_replace_fail=:
17422
17423
17424 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17425 func_xform ()\
17426 {\
17427 func_xform_result=${1%.*}.lo\
17428 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17429 && mv -f "$cfgfile.tmp" "$cfgfile" \
17430 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17431 test 0 -eq $? || _lt_function_replace_fail=:
17432
17433
17434 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17435 func_arith ()\
17436 {\
17437 func_arith_result=$(( $* ))\
17438 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17439 && mv -f "$cfgfile.tmp" "$cfgfile" \
17440 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17441 test 0 -eq $? || _lt_function_replace_fail=:
17442
17443
17444 sed -e '/^func_len ()$/,/^} # func_len /c\
17445 func_len ()\
17446 {\
17447 func_len_result=${#1}\
17448 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17449 && mv -f "$cfgfile.tmp" "$cfgfile" \
17450 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17451 test 0 -eq $? || _lt_function_replace_fail=:
17452
17453 fi
17454
17455 if test x"$lt_shell_append" = xyes; then
17456 sed -e '/^func_append ()$/,/^} # func_append /c\
17457 func_append ()\
17458 {\
17459 eval "${1}+=\\${2}"\
17460 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17461 && mv -f "$cfgfile.tmp" "$cfgfile" \
17462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17463 test 0 -eq $? || _lt_function_replace_fail=:
17464
17465
17466 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17467 func_append_quoted ()\
17468 {\
17469 \ func_quote_for_eval "${2}"\
17470 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17471 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17472 && mv -f "$cfgfile.tmp" "$cfgfile" \
17473 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17474 test 0 -eq $? || _lt_function_replace_fail=:
17475
17476
17477 # Save a `func_append' function call where possible by direct use of '+='
17478 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17479 && mv -f "$cfgfile.tmp" "$cfgfile" \
17480 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17481 test 0 -eq $? || _lt_function_replace_fail=:
17482 else
17483 # Save a `func_append' function call even when '+=' is not available
17484 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17485 && mv -f "$cfgfile.tmp" "$cfgfile" \
17486 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17487 test 0 -eq $? || _lt_function_replace_fail=:
17488 fi
17489
17490 if test x"$_lt_function_replace_fail" = x":"; then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17492 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17493 fi
17494
1796417495
1796517496 mv -f "$cfgfile" "$ofile" ||
1796617497 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
00 m4_define([gt_version_major],[3])
11 m4_define([gt_version_minor],[20])
2 m4_define([gt_version_micro],[1])
2 m4_define([gt_version_micro],[2])
33 m4_define([gt_version_extra],[])
44 m4_define([gt_version],[gt_version_major().gt_version_minor().gt_version_micro()gt_version_extra])
55
2424 AM_MAINTAINER_MODE([enable])
2525
2626 PKG_PROG_PKG_CONFIG
27 AC_PROG_MKDIR_P
2728 AC_PROG_CC
2829 AC_ISC_POSIX
2930 AC_HEADER_STDC
5859 GTK_MIN_REQUIRED=3.8
5960 GTK_MAX_ALLOWED=3.14
6061 VTE_API_VERSION=2.91
61 VTE_REQUIRED=0.44.0
62 VTE_REQUIRED=0.44.2
6263 ;;
6364 esac
6465
0 gnome-terminal (3.20.2-1) unstable; urgency=medium
1
2 * New upstream release.
3 * Drop Build-Depends on gnome-doc-utils, no longer needed.
4 * Refresh patches.
5 * Use dh-exec to install the Linux specific gnome-shell search provider ini
6 file.
7 * Bump Standards-Version to 3.9.8.
8
9 -- Michael Biebl <[email protected]> Wed, 11 May 2016 17:04:39 +0200
10
011 gnome-terminal (3.20.1-2kali1) kali-dev; urgency=medium
112
213 * Import new version from debian
66 Priority: optional
77 Maintainer: Debian GNOME Maintainers <[email protected]>
88 Uploaders: Andreas Henriksson <[email protected]>, Michael Biebl <[email protected]>
9 Standards-Version: 3.9.7
9 Standards-Version: 3.9.8
1010 Build-Depends: cdbs (>= 0.4.41),
1111 debhelper (>= 9),
1212 dh-autoreconf,
13 dh-exec,
1314 gnome-common,
1415 autotools-dev,
1516 intltool (>= 0.50.0),
2223 libsm-dev,
2324 gnome-pkg-tools (>= 0.10),
2425 docbook-to-man,
25 gnome-doc-utils,
2626 valac (>= 0.26),
2727 uuid-dev,
2828 yelp-tools,
22 Priority: optional
33 Maintainer: Debian GNOME Maintainers <[email protected]>
44 Uploaders: @GNOME_TEAM@
5 Standards-Version: 3.9.7
5 Standards-Version: 3.9.8
66 Build-Depends: cdbs (>= 0.4.41),
77 debhelper (>= 9),
88 dh-autoreconf,
9 dh-exec,
910 gnome-common,
1011 autotools-dev,
1112 intltool (>= 0.50.0),
1819 libsm-dev,
1920 gnome-pkg-tools (>= 0.10),
2021 docbook-to-man,
21 gnome-doc-utils,
2222 valac (>= 0.26),
2323 uuid-dev,
2424 yelp-tools,
0 #! /usr/bin/dh-exec
01 usr/bin
12 usr/lib/gnome-terminal
23 usr/lib/systemd/user
56 usr/share/dbus-1/services
67 usr/share/glib-2.0/schemas
78 usr/lib/nautilus/extensions-3.0/libterminal-nautilus.so
9 [linux-any] usr/share/gnome-shell/search-providers/gnome-terminal-search-provider.ini
810
911 debian/gnome-terminal.wrapper /usr/bin
+0
-77
debian/patches/Add-a-systemd-user-service-for-the-terminal-server.patch less more
0 From 8b627f96728e85894626fe3f7657cd5968ca9b07 Mon Sep 17 00:00:00 2001
1 From: Simon McVittie <[email protected]>
2 Date: Wed, 13 Apr 2016 07:14:59 +0100
3 Subject: Add a systemd user service for the terminal server
4
5 This is used to implement the D-Bus session service if
6 "dbus-daemon --session" was configured to use systemd activation,
7 most commonly via the units installed by configuring dbus 1.10+
8 with --enable-user-session.
9
10 With this service, child processes such as the user's shell
11 end up in the cgroup .../[email protected]/org.gnome.Terminal.service
12 instead of in .../[email protected]/dbus.service.
13
14 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=759115
15 Applied-upstream: 3.21.0, commit:4f34660f0d1e7a61eaed6123d314a69664a7adeb
16 ---
17 configure.ac | 1 +
18 src/Makefile.am | 17 +++++++++++++++++
19 2 files changed, 18 insertions(+)
20
21 diff --git a/configure.ac b/configure.ac
22 index 513cc47..701723d 100644
23 --- a/configure.ac
24 +++ b/configure.ac
25 @@ -25,6 +25,7 @@ fi
26 AM_MAINTAINER_MODE([enable])
27
28 PKG_PROG_PKG_CONFIG
29 +AC_PROG_MKDIR_P
30 AC_PROG_CC
31 AC_ISC_POSIX
32 AC_HEADER_STDC
33 diff --git a/src/Makefile.am b/src/Makefile.am
34 index 17f55e9..e17848e 100644
35 --- a/src/Makefile.am
36 +++ b/src/Makefile.am
37 @@ -16,6 +16,11 @@ endif # WITH_NAUTILUS_EXTENSION
38
39 dbusservice_DATA = org.gnome.Terminal.service
40
41 +# It is correct for this to be in ${prefix}/lib, even on systems where that
42 +# does not match ${libdir}. This is what systemd uses on such platforms.
43 +systemd_userdir = $(prefix)/lib/systemd/user
44 +systemd_user_DATA = gnome-terminal-server.service
45 +
46 gnome_terminal_server_built = \
47 terminal-marshal.c \
48 terminal-marshal.h \
49 @@ -140,8 +145,19 @@ terminal-marshal.c: $(srcdir)/terminal-marshal.list
50 org.gnome.Terminal.service: Makefile
51 $(AM_V_GEN) ( echo "[D-BUS Service]"; \
52 echo "Name=org.gnome.Terminal"; \
53 + echo "SystemdService=gnome-terminal-server.service"; \
54 echo "Exec=${libexecdir}/gnome-terminal-server") > $@
55
56 +gnome-terminal-server.service: Makefile
57 + $(AM_V_GEN) ( echo "[Unit]"; \
58 + echo "Description=GNOME Terminal"; \
59 + echo "[Service]"; \
60 + echo "# Don't kill screen sessions, backgrounded X apps etc."; \
61 + echo "KillMode=process"; \
62 + echo "Type=dbus"; \
63 + echo "BusName=org.gnome.Terminal"; \
64 + echo "ExecStart=${libexecdir}/gnome-terminal-server") > $@
65 +
66 terminal-gdbus-generated.c terminal-gdbus-generated.h: org.gnome.Terminal.xml Makefile
67 $(AM_V_GEN) $(GDBUS_CODEGEN) \
68 --interface-prefix=org.gnome.Terminal \
69 @@ -396,6 +412,7 @@ CLEANFILES = \
70 gnome-terminal.schemas \
71 stamp-terminal-type-builtins.h \
72 org.gnome.Terminal.service \
73 + gnome-terminal-server.service \
74 $(BUILT_SOURCES)
75
76 EXTRA_DIST = \
99 src/terminal-window.c | 19 +++++++++++++------
1010 2 files changed, 13 insertions(+), 10 deletions(-)
1111
12 diff --git a/src/terminal-options.c b/src/terminal-options.c
13 index cc51cf6..723ecfe 100644
12 Index: b/src/terminal-options.c
13 ===================================================================
1414 --- a/src/terminal-options.c
1515 +++ b/src/terminal-options.c
16 @@ -583,10 +583,6 @@ option_geometry_callback (const gchar *option_name,
16 @@ -583,10 +583,6 @@
1717 {
1818 TerminalOptions *options = data;
1919
2424 if (options->initial_windows)
2525 {
2626 InitialWindow *iw;
27 diff --git a/src/terminal-window.c b/src/terminal-window.c
28 index 8b78849..ccfceaa 100644
27 Index: b/src/terminal-window.c
28 ===================================================================
2929 --- a/src/terminal-window.c
3030 +++ b/src/terminal-window.c
31 @@ -3562,8 +3562,9 @@ terminal_window_update_geometry (TerminalWindow *window)
31 @@ -3571,8 +3571,9 @@
3232 GtkWidget *widget;
3333 GdkGeometry hints;
3434 GtkBorder padding;
4040
4141 if (priv->active_screen == NULL)
4242 return;
43 @@ -3587,8 +3588,14 @@ terminal_window_update_geometry (TerminalWindow *window)
43 @@ -3596,8 +3597,14 @@
4444 padding.top + padding.bottom != priv->old_base_height ||
4545 widget != (GtkWidget*) priv->old_geometry_widget)
4646 {
5757
5858 #define MIN_WIDTH_CHARS 4
5959 #define MIN_HEIGHT_CHARS 1
60 @@ -3596,12 +3603,12 @@ terminal_window_update_geometry (TerminalWindow *window)
60 @@ -3605,12 +3612,12 @@
6161 hints.width_inc = char_width;
6262 hints.height_inc = char_height;
6363
1111 src/terminal-window.c | 148 ++++++++++++++++++++++++++++++++++++++------------
1212 1 file changed, 114 insertions(+), 34 deletions(-)
1313
14 diff --git a/src/terminal-window.c b/src/terminal-window.c
15 index ccfceaa..adef2b3 100644
14 Index: b/src/terminal-window.c
15 ===================================================================
1616 --- a/src/terminal-window.c
1717 +++ b/src/terminal-window.c
18 @@ -72,11 +72,26 @@ struct _TerminalWindowPrivate
18 @@ -72,11 +72,26 @@
1919
2020 GtkWidget *menubar;
2121 TerminalMdiContainer *mdi_container;
4444 void *old_geometry_widget; /* only used for pointer value as it may be freed */
4545
4646 GtkWidget *confirm_close_dialog;
47 @@ -87,6 +102,7 @@ struct _TerminalWindowPrivate
47 @@ -87,6 +102,7 @@
4848
4949 guint disposed : 1;
5050 guint present_on_insert : 1;
5252
5353 /* Workaround until gtk+ bug #535557 is fixed */
5454 guint icon_title_set : 1;
55 @@ -2285,6 +2301,12 @@ terminal_window_realize (GtkWidget *widget)
55 @@ -2287,6 +2303,12 @@
5656 /* Need to do this now since this requires the window to be realized */
5757 if (priv->active_screen != NULL)
5858 sync_screen_icon_title (priv->active_screen, NULL, window);
6565 }
6666
6767 static gboolean
68 @@ -2619,7 +2641,6 @@ terminal_window_init (TerminalWindow *window)
68 @@ -2621,7 +2643,6 @@
6969 GtkActionGroup *action_group;
7070 GtkAction *action;
7171 GtkUIManager *manager;
7373 GError *error;
7474 GtkWindowGroup *window_group;
7575 GtkAccelGroup *accel_group;
76 @@ -2649,7 +2670,7 @@ terminal_window_init (TerminalWindow *window)
76 @@ -2651,7 +2672,7 @@
7777
7878 priv->active_screen = NULL;
7979
8282
8383 priv->mdi_container = TERMINAL_MDI_CONTAINER (terminal_notebook_new ());
8484
85 @@ -2684,13 +2705,15 @@ terminal_window_init (TerminalWindow *window)
85 @@ -2686,13 +2707,15 @@
8686 g_signal_connect (priv->mdi_container, "create-window",
8787 G_CALLBACK (handle_tab_droped_on_desktop), window);
8888
101101 priv->old_geometry_widget = NULL;
102102
103103 /* GAction setup */
104 @@ -2751,7 +2774,7 @@ terminal_window_init (TerminalWindow *window)
104 @@ -2753,7 +2776,7 @@
105105 #endif
106106
107107 priv->menubar = gtk_ui_manager_get_widget (manager, "/menubar");
110110 priv->menubar,
111111 FALSE, FALSE, 0);
112112
113 @@ -3200,13 +3223,41 @@ terminal_window_update_size (TerminalWindow *window)
113 @@ -3209,13 +3232,41 @@
114114 {
115115 TerminalWindowPrivate *priv = window->priv;
116116 int grid_width, grid_height;
137137 + "[window %p] size is %dx%d cells of %dx%d px\n",
138138 + window, grid_width, grid_height,
139139 + priv->old_char_width, priv->old_char_height);
140
141 - gtk_window_resize_to_geometry (GTK_WINDOW (window), grid_width, grid_height);
140 +
142141 + /* the "old" struct members were updated by update_geometry */
143142 + pixel_width = priv->old_chrome_width + grid_width * priv->old_char_width;
144143 + pixel_height = priv->old_chrome_height + grid_height * priv->old_char_height;
148147 + grid_height * priv->old_char_height,
149148 + priv->old_chrome_width, priv->old_chrome_height,
150149 + pixel_width, pixel_height);
151 +
150
151 - gtk_window_resize_to_geometry (GTK_WINDOW (window), grid_width, grid_height);
152152 + gtk_window_resize (GTK_WINDOW (window), pixel_width, pixel_height);
153153 }
154154
155155 void
156 @@ -3560,12 +3611,13 @@ terminal_window_update_geometry (TerminalWindow *window)
156 @@ -3569,12 +3620,13 @@
157157 {
158158 TerminalWindowPrivate *priv = window->priv;
159159 GtkWidget *widget;
171171 if (priv->active_screen == NULL)
172172 return;
173173
174 @@ -3577,25 +3629,48 @@ terminal_window_update_geometry (TerminalWindow *window)
174 @@ -3586,25 +3638,48 @@
175175 * window, but that doesn't make too much sense.
176176 */
177177 terminal_screen_get_cell_size (priv->active_screen, &char_width, &char_height);
236236
237237 #define MIN_WIDTH_CHARS 4
238238 #define MIN_HEIGHT_CHARS 1
239 @@ -3623,11 +3698,9 @@ terminal_window_update_geometry (TerminalWindow *window)
239 @@ -3632,11 +3707,9 @@
240240 hints.min_height,
241241 hints.width_inc,
242242 hints.height_inc);
251251 priv->old_geometry_widget = widget;
252252 }
253253 else
254 @@ -3636,6 +3709,13 @@ terminal_window_update_geometry (TerminalWindow *window)
254 @@ -3645,6 +3718,13 @@
255255 "[window %p] hints: increment unchanged, not setting\n",
256256 window);
257257 }
1212 collect2: error: ld returned 1 exit status
1313
1414
15 Index: b/configure.ac
16 ===================================================================
1517 --- a/configure.ac
1618 +++ b/configure.ac
17 @@ -256,7 +256,8 @@
19 @@ -257,7 +257,8 @@
1820 PKG_CHECK_MODULES([NAUTILUS],[
1921 libnautilus-extension >= $NAUTILUS_REQUIRED
2022 gio-2.0
55 Provide-fallback-for-reading-current-directory-if-OS.patch
66 Fix-chunked-resize-and-geometry-option.patch
77 Replace-no-op-gtk_window_resize_to_geometry-by-calcu.patch
8 Add-a-systemd-user-service-for-the-terminal-server.patch
2525
2626 clean::
2727 rm -f debian/gnome-terminal.1
28
29 install/gnome-terminal::
30 ifeq ($(DEB_HOST_ARCH_OS),linux)
31 dh_install -pgnome-terminal debian/tmp/usr/share/gnome-shell/search-providers/gnome-terminal-search-provider.ini
32 endif
33
22
33 scriptversion=2013-05-30.07; # UTC
44
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
1313
1414 @SET_MAKE@
1515 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
16 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
2717 am__make_running_with_option = \
2818 case $${target_option-} in \
2919 ?) ;; \
8777 build_triplet = @build@
8878 host_triplet = @host@
8979 subdir = help
80 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
9081 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
92 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
93 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
94 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
82 am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
83 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
84 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
85 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
86 $(top_srcdir)/configure.ac
9587 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
9688 $(ACLOCAL_M4)
97 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
9889 mkinstalldirs = $(install_sh) -d
9990 CONFIG_HEADER = $(top_builddir)/config.h
10091 CONFIG_CLEAN_FILES =
119110 *) (install-info --version) >/dev/null 2>&1;; \
120111 esac
121112 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
122 am__DIST_COMMON = $(srcdir)/Makefile.in
123113 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
124114 ACLOCAL = @ACLOCAL@
125115 ALL_LINGUAS = @ALL_LINGUAS@
192182 LIPO = @LIPO@
193183 LN_S = @LN_S@
194184 LTLIBOBJS = @LTLIBOBJS@
195 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
196185 MAINT = @MAINT@
197186 MAKEINFO = @MAKEINFO@
198187 MANIFEST_TOOL = @MANIFEST_TOOL@
363352 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign help/Makefile'; \
364353 $(am__cd) $(top_srcdir) && \
365354 $(AUTOMAKE) --foreign help/Makefile
355 .PRECIOUS: Makefile
366356 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
367357 @case '$?' in \
368358 *config.status*) \
537527 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
538528 tags-am uninstall uninstall-am
539529
540 .PRECIOUS: Makefile
541
542530 @YELP_HELP_RULES@
543531
544532 -include $(top_srcdir)/git.mk
help/hu/figures/gnome-terminal.png less more
Binary diff not shown
help/ko/figures/gnome-terminal.png less more
Binary diff not shown
help/pt_BR/figures/gnome-terminal.png less more
Binary diff not shown
00 # Brazilian Portuguese translation of gnome-terminal documentation.
1 # Copyright (C) 2002-2007, 2009 Free Software Foundation, Inc.
1 # Copyright (C) 2002-2015 Free Software Foundation, Inc.
22 # This file is distributed under the same license as the gnome-terminal package.
33 # Luciana Bastos de Freitas Menezes <[email protected]>, 2007.
44 # Pedro Vaz de Mello de Medeiros <[email protected]>, 2007.
77 # Enrico Nicoletto <[email protected]>, 2009, 2013.
88 # Rafael Ferreira <[email protected]>, 2013.
99 # Fernando Paladini <[email protected]>, 2013.
10 #
10 # Felipe Braga <[email protected]>, 2015.
1111 msgid ""
1212 msgstr ""
1313 "Project-Id-Version: gnome-terminal documentation\n"
14 "POT-Creation-Date: 2013-09-25 01:33+0000\n"
15 "PO-Revision-Date: 2013-09-29 18:45-0300\n"
16 "Last-Translator: Rafael Ferreira <[email protected]>\n"
14 "POT-Creation-Date: 2015-05-07 08:08+0000\n"
15 "PO-Revision-Date: 2015-05-07 13:06-0200\n"
16 "Last-Translator: Felipe Braga <[email protected]>\n"
1717 "Language-Team: Brazilian Portuguese <[email protected]>\n"
1818 "Language: pt_BR\n"
1919 "MIME-Version: 1.0\n"
2020 "Content-Type: text/plain; charset=UTF-8\n"
2121 "Content-Transfer-Encoding: 8bit\n"
2222 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
23 "X-Generator: Poedit 1.5.7\n"
23 "X-Generator: Virtaal 0.7.1\n"
24 "X-Project-Style: gnome\n"
2425
2526 #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
2627 msgctxt "_"
2728 msgid "translator-credits"
2829 msgstr ""
29 "Luciana Bastos de Freitas Menezes <[email protected]>, 2007.\n"
30 "Pedro Vaz de Mello de Medeiros <[email protected]>, 2007.\n"
31 "Leonardo Ferreira Fontenelle <[email protected]>, 2008.\n"
32 "Andrius da Costa Ribas <[email protected]>, 2008.\n"
33 "Enrico Nicoletto <[email protected]>, 2009, 2013."
34
35 #. (itstool) path: media
36 #. This is a reference to an external file such as an image or video. When
37 #. the file changes, the md5 hash will change to let you know you need to
38 #. update your localized copy. The msgstr is not used at all. Set it to
39 #. whatever you like once you have updated your copy of the file.
40 #: C/index.page:32
41 msgctxt "_"
42 msgid ""
43 "external ref='figures/gnome-terminal-icon.png' "
44 "md5='eec073d5291ad14523f66f78811b505a'"
45 msgstr ""
46 "external ref='figures/gnome-terminal-icon.png' "
47 "md5='eec073d5291ad14523f66f78811b505a'"
48
49 #. (itstool) path: info/title
50 #: C/index.page:7
51 msgctxt "link"
52 msgid "Terminal"
53 msgstr "Terminal"
54
55 #. (itstool) path: info/title
56 #: C/index.page:8
57 msgctxt "text"
58 msgid "Terminal"
59 msgstr "Terminal"
30 "Luciana Bastos de Freitas Menezes <[email protected]>, 2007\n"
31 "Pedro Vaz de Mello de Medeiros <[email protected]>, 2007\n"
32 "Leonardo Ferreira Fontenelle <[email protected]>, 2008\n"
33 "Andrius da Costa Ribas <[email protected]>, 2008\n"
34 "Enrico Nicoletto <[email protected]>, 2009, 2013\n"
35 "Felipe Braga <[email protected]>, 2015"
6036
6137 #. (itstool) path: credit/name
62 #: C/index.page:11 C/adv-keyboard-shortcuts.page:13 C/app-colors.page:11
63 #: C/app-cursor.page:11 C/app-fonts.page:11 C/app-fullscreen.page:11
64 #: C/app-terminal-sizes.page:11 C/app-zoom.page:10
65 #: C/gs-execute-commands.page:12 C/gs-tabs.page:11 C/introduction.page:10
66 #: C/overview.page:9 C/pref-bell.page:11 C/pref-custom-exit.page:12
67 #: C/pref-custom-command.page:13 C/pref-encoding.page:10
38 #: C/adv-keyboard-shortcuts.page:13 C/app-colors.page:11 C/app-cursor.page:11
39 #: C/app-fonts.page:11 C/app-fullscreen.page:11 C/app-terminal-sizes.page:11
40 #: C/app-zoom.page:10 C/gs-execute-commands.page:14 C/gs-tabs.page:12
41 #: C/index.page:12 C/introduction.page:12 C/overview.page:9
42 #: C/pref-bell.page:11 C/pref-custom-exit.page:13
43 #: C/pref-custom-command.page:14 C/pref-encoding.page:10
6844 #: C/pref-keyboard-access.page:12 C/pref-menubar.page:13
69 #: C/pref-profiles.page:11 C/pref-scrolling.page:11 C/pref-title.page:11
45 #: C/pref-profiles.page:12 C/pref-scrolling.page:12 C/prob-reset.page:11
7046 #: C/txt-copy-paste.page:11 C/txt-links.page:10 C/txt-search.page:10
71 #: C/txt-select-text.page:12
47 #: C/txt-select-text.page:14
7248 msgid "Sindhu S"
7349 msgstr "Sindhu S"
7450
7551 #. (itstool) path: credit/years
76 #: C/index.page:13 C/index.page:18 C/index.page:23
7752 #: C/adv-keyboard-shortcuts.page:15 C/adv-keyboard-shortcuts.page:20
7853 #: C/adv-keyboard-shortcuts.page:25 C/app-colors.page:13 C/app-colors.page:18
7954 #: C/app-colors.page:23 C/app-cursor.page:13 C/app-cursor.page:18
8257 #: C/app-fullscreen.page:23 C/app-terminal-sizes.page:13
8358 #: C/app-terminal-sizes.page:18 C/app-terminal-sizes.page:23
8459 #: C/app-zoom.page:12 C/app-zoom.page:17 C/app-zoom.page:22
85 #: C/gs-execute-commands.page:14 C/gs-execute-commands.page:19
86 #: C/gs-execute-commands.page:24 C/gs-tabs.page:13 C/gs-tabs.page:18
87 #: C/gs-tabs.page:23 C/introduction.page:12 C/introduction.page:17
88 #: C/introduction.page:22 C/overview.page:11 C/overview.page:16
60 #: C/gs-execute-commands.page:16 C/gs-execute-commands.page:26
61 #: C/gs-tabs.page:14 C/gs-tabs.page:24 C/index.page:14 C/index.page:19
62 #: C/index.page:24 C/introduction.page:14 C/introduction.page:19
63 #: C/introduction.page:24 C/overview.page:11 C/overview.page:16
8964 #: C/pref-bell.page:13 C/pref-bell.page:18 C/pref-bell.page:23
90 #: C/pref-custom-exit.page:14 C/pref-custom-exit.page:19
91 #: C/pref-custom-exit.page:24 C/pref-custom-command.page:15
92 #: C/pref-custom-command.page:20 C/pref-custom-command.page:25
65 #: C/pref-custom-exit.page:15 C/pref-custom-exit.page:25
66 #: C/pref-custom-command.page:16 C/pref-custom-command.page:26
9367 #: C/pref-encoding.page:12 C/pref-encoding.page:17 C/pref-encoding.page:22
9468 #: C/pref-keyboard-access.page:14 C/pref-keyboard-access.page:19
9569 #: C/pref-keyboard-access.page:24 C/pref-menubar.page:15
96 #: C/pref-menubar.page:20 C/pref-menubar.page:25 C/pref-profiles.page:13
97 #: C/pref-profiles.page:18 C/pref-profiles.page:23 C/pref-scrolling.page:13
98 #: C/pref-scrolling.page:18 C/pref-title.page:13 C/pref-title.page:18
99 #: C/pref-title.page:23 C/txt-copy-paste.page:13 C/txt-copy-paste.page:18
70 #: C/pref-menubar.page:20 C/pref-menubar.page:25 C/pref-profiles.page:14
71 #: C/pref-profiles.page:24 C/pref-scrolling.page:14 C/prob-reset.page:13
72 #: C/prob-reset.page:18 C/txt-copy-paste.page:13 C/txt-copy-paste.page:18
10073 #: C/txt-copy-paste.page:23 C/txt-links.page:12 C/txt-links.page:17
10174 #: C/txt-links.page:22 C/txt-search.page:12 C/txt-search.page:17
102 #: C/txt-search.page:22 C/txt-select-text.page:14 C/txt-select-text.page:19
75 #: C/txt-search.page:22 C/txt-select-text.page:16
10376 msgid "2013"
10477 msgstr "2013"
10578
10679 #. (itstool) path: credit/name
107 #: C/index.page:16 C/adv-keyboard-shortcuts.page:18 C/app-colors.page:16
108 #: C/app-cursor.page:16 C/app-fonts.page:16 C/app-fullscreen.page:16
109 #: C/app-terminal-sizes.page:16 C/gs-execute-commands.page:17
110 #: C/gs-tabs.page:16 C/introduction.page:15 C/overview.page:14 C/pref.page:9
111 #: C/pref-bell.page:16 C/pref-custom-exit.page:17
112 #: C/pref-custom-command.page:18 C/pref-encoding.page:15
80 #: C/adv-keyboard-shortcuts.page:18 C/app-colors.page:16 C/app-cursor.page:16
81 #: C/app-fonts.page:16 C/app-fullscreen.page:16 C/app-terminal-sizes.page:16
82 #: C/app-zoom.page:15 C/gs-execute-commands.page:19 C/gs-tabs.page:17
83 #: C/index.page:17 C/introduction.page:17 C/overview.page:14 C/pref.page:9
84 #: C/pref-bell.page:16 C/pref-custom-exit.page:18
85 #: C/pref-custom-command.page:19 C/pref-encoding.page:15
11386 #: C/pref-keyboard-access.page:17 C/pref-menubar.page:18
114 #: C/pref-profiles.page:16 C/pref-scrolling.page:16 C/pref-title.page:16
115 #: C/profile.page:9 C/txt-copy-paste.page:16 C/txt-links.page:15
116 #: C/txt-search.page:15 C/txt-select-text.page:17
87 #: C/pref-profiles.page:17 C/pref-profile-char-width.page:11
88 #: C/pref-profile-encoding.page:11 C/pref-scrolling.page:17
89 #: C/pref-tab-window.page:13 C/pref-user-input.page:10 C/profile.page:9
90 #: C/prob-reset.page:16 C/txt-copy-paste.page:16 C/txt-links.page:15
91 #: C/txt-search.page:15 C/txt-select-text.page:19
11792 msgid "Ekaterina Gerasimova"
11893 msgstr "Ekaterina Gerasimova"
119
120 #. (itstool) path: credit/name
121 #: C/index.page:21
122 msgid "Jim Campbell"
123 msgstr "Jim Campbell"
124
125 #. (itstool) path: info/desc
126 #: C/index.page:28
127 msgid "Use the command line."
128 msgstr "Usando a linha de comando."
129
130 #. (itstool) path: page/title
131 #: C/index.page:31
132 msgid ""
133 "<media type=\"image\" mime=\"image/png\" src=\"figures/gnome-terminal-icon."
134 "png\"> </media> Terminal Help"
135 msgstr ""
136 "<media type=\"image\" mime=\"image/png\" src=\"figures/gnome-terminal-icon."
137 "png\"> </media> Ajuda do terminal"
138
139 # Tradução adotada como: Primeiros passos, conforme foi definido na lista de discussão de nossa equipe -- Enrico Nicoletto
140 #. (itstool) path: section/title
141 #: C/index.page:38
142 msgid "Getting started"
143 msgstr "Primeiros passos"
144
145 #. (itstool) path: section/title
146 #: C/index.page:42
147 msgid "Working with text"
148 msgstr "Trabalhando com texto"
149
150 #. (itstool) path: section/title
151 #: C/index.page:46
152 msgid "Customize appearence"
153 msgstr "Personalizando aparência"
154
155 #. (itstool) path: section/title
156 #: C/index.page:50
157 msgid "Customize behaviour"
158 msgstr "Personalizando comportamento"
159
160 #. (itstool) path: section/title
161 #: C/index.page:54
162 msgid "Advanced Settings"
163 msgstr "Configurações avançadas"
164
165 #. (itstool) path: section/title
166 #: C/index.page:58
167 msgid "Troubleshooting"
168 msgstr "Resolução de problemas"
16994
17095 #. (itstool) path: credit/name
17196 #: C/adv-keyboard-shortcuts.page:23 C/app-colors.page:21 C/app-cursor.page:21
17297 #: C/app-fonts.page:21 C/app-fullscreen.page:21 C/app-terminal-sizes.page:21
173 #: C/app-zoom.page:20 C/gs-execute-commands.page:22 C/gs-tabs.page:21
174 #: C/introduction.page:20 C/pref-bell.page:21 C/pref-custom-exit.page:22
175 #: C/pref-custom-command.page:23 C/pref-encoding.page:20
98 #: C/app-zoom.page:20 C/gs-execute-commands.page:24 C/gs-tabs.page:22
99 #: C/introduction.page:22 C/pref-bell.page:21 C/pref-custom-exit.page:23
100 #: C/pref-custom-command.page:24 C/pref-encoding.page:20
176101 #: C/pref-keyboard-access.page:22 C/pref-menubar.page:23
177 #: C/pref-profiles.page:21 C/pref-title.page:21 C/txt-copy-paste.page:21
178 #: C/txt-links.page:20 C/txt-search.page:20
102 #: C/pref-profiles.page:22 C/txt-copy-paste.page:21 C/txt-links.page:20
103 #: C/txt-search.page:20
179104 msgid "Michael Hill"
180105 msgstr "Michael Hill"
181106
194119 msgid ""
195120 "Keyboard shortcuts are combinations of keys that allow you to perform "
196121 "actions, such as opening the settings dialog or accessing a feature inside "
197 "<app>Terminal</app>, quickly. These shortcuts can be modified to suit your "
122 "<app>Terminal</app> quickly. These shortcuts can be modified to suit your "
198123 "preferences."
199124 msgstr ""
200 "Teclas de atalhos são combinações que permitem você realizar ações, como "
125 "Atalhos são combinações de teclas que permitem você realizar ações, como "
201126 "abrir a janela de configurações ou acessar um recurso interno do "
202127 "<app>Terminal</app>, rapidamente. Esses atalhos podem ser modificados para "
203128 "se adequar a suas preferências."
208133 msgstr "Para alterar uma tecla de atalho:"
209134
210135 #. (itstool) path: item/p
211 #: C/adv-keyboard-shortcuts.page:43 C/pref-keyboard-access.page:81
136 #: C/adv-keyboard-shortcuts.page:43 C/pref-keyboard-access.page:80
212137 msgid ""
213138 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
214139 "\">Preferences</gui> <gui style=\"tab\">Shortcuts</gui></guiseq>."
233158 #. (itstool) path: item/p
234159 #: C/adv-keyboard-shortcuts.page:55
235160 msgid ""
236 "Type in your desired shortcut key combination as you would enter it to use "
237 "it. The keys that you can use include <key>Alt</key>, <key>Alt Gr</key>, "
161 "Press your desired shortcut key combination as you would enter it to use it. "
162 "The keys that you can use include <key>Alt</key>, <key>Alt Gr</key>, "
238163 "<key>Ctrl</key>, <key>Shift</key>, number and letter keys."
239164 msgstr ""
240165 "Digite sua combinação de teclas desejadas para o atalho, da forma como você "
241 "digitaria para usá-lo. As teclas que você pode usar incluem teclas <key>Alt</"
242 "key>, <key>Alt Gr</key>, <key>Ctrl</key>, <key>Shift</key>, de número e de "
243 "letras."
166 "digitaria para usá-lo. As teclas que você pode usar incluem as teclas "
167 "<key>Alt</key>, <key>Alt Gr</key>, <key>Ctrl</key>, <key>Shift</key>, de "
168 "números e de letras."
244169
245170 #. (itstool) path: note/p
246171 #: C/adv-keyboard-shortcuts.page:60
247172 msgid ""
248173 "Mnemonic key combinations, such as <keyseq><key>Alt</key> <key>F</key></"
249 "keyseq> will not work. If you accidentally set one of these key combinations "
250 "as a shortcut, you may need to reset it before you can change it to "
251 "something else."
252 msgstr ""
253 "Combinações teclas mnemônicas, como <keyseq><key>Alt</key> <key>F</key></"
254 "keyseq>, não vão funcionar. Se você acidentalmente definir uma dessas "
255 "combinações de teclas como um atalho, você pode precisar reiniciá-la antes "
256 "de poder alterá-la para outra coisa."
257
258 #. (itstool) path: item/p
259 #: C/adv-keyboard-shortcuts.page:67
174 "keyseq> will not work."
175 msgstr ""
176 "Combinações de mnemônicos, como <keyseq><key>Alt</key><key>F</key></keyseq>, "
177 "não vão funcionar."
178
179 #. (itstool) path: item/p
180 #: C/adv-keyboard-shortcuts.page:65
260181 msgid ""
261182 "Once you have entered your new shortcut, it will automatically be saved and "
262183 "you should see it in the list next to the corresponding action."
266187 "correspondente."
267188
268189 #. (itstool) path: note/p
269 #: C/adv-keyboard-shortcuts.page:74
190 #: C/adv-keyboard-shortcuts.page:72
270191 msgid ""
271192 "To disable a shortcut, edit it and press the <key>Backspace</key> instead of "
272193 "the new shortcut."
275196 "vez do novo atalho."
276197
277198 #. (itstool) path: section/title
278 #: C/adv-keyboard-shortcuts.page:79
199 #: C/adv-keyboard-shortcuts.page:77
279200 msgid "<gui style=\"menu\">File</gui> shortcuts"
280201 msgstr "Atalhos do menu <gui style=\"menu\">Arquivo</gui>"
281202
282203 #. (itstool) path: section/p
283 #: C/adv-keyboard-shortcuts.page:81
204 #: C/adv-keyboard-shortcuts.page:79
284205 msgid ""
285206 "The default shortcuts for options under <gui style=\"menu\">File</gui> menu "
286207 "are:"
288209 "Os atalhos padrões para opções do menu <gui style=\"menu\">Arquivo</gui> são:"
289210
290211 #. (itstool) path: td/p
291 #: C/adv-keyboard-shortcuts.page:87 C/adv-keyboard-shortcuts.page:121
292 #: C/adv-keyboard-shortcuts.page:147 C/adv-keyboard-shortcuts.page:180
293 #: C/adv-keyboard-shortcuts.page:254 C/adv-keyboard-shortcuts.page:275
294 #: C/adv-keyboard-shortcuts.page:308
212 #: C/adv-keyboard-shortcuts.page:85 C/adv-keyboard-shortcuts.page:119
213 #: C/adv-keyboard-shortcuts.page:145 C/adv-keyboard-shortcuts.page:178
214 #: C/adv-keyboard-shortcuts.page:252 C/adv-keyboard-shortcuts.page:273
215 #: C/adv-keyboard-shortcuts.page:306
295216 msgid "Action"
296217 msgstr "Ação"
297218
298219 #. (itstool) path: td/p
299 #: C/adv-keyboard-shortcuts.page:88 C/adv-keyboard-shortcuts.page:122
300 #: C/adv-keyboard-shortcuts.page:148 C/adv-keyboard-shortcuts.page:181
301 #: C/adv-keyboard-shortcuts.page:255 C/adv-keyboard-shortcuts.page:276
220 #: C/adv-keyboard-shortcuts.page:86 C/adv-keyboard-shortcuts.page:120
221 #: C/adv-keyboard-shortcuts.page:146 C/adv-keyboard-shortcuts.page:179
222 #: C/adv-keyboard-shortcuts.page:253 C/adv-keyboard-shortcuts.page:274
302223 msgid "Keyboard Shortcut"
303224 msgstr "Tecla de atalho"
304225
305226 #. (itstool) path: td/p
306 #: C/adv-keyboard-shortcuts.page:93
227 #: C/adv-keyboard-shortcuts.page:91
307228 msgid "New Tab"
308229 msgstr "Nova aba"
309230
310231 #. (itstool) path: td/p
311 #: C/adv-keyboard-shortcuts.page:94
232 #: C/adv-keyboard-shortcuts.page:92
312233 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>T</key></keyseq>"
313234 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>T</key></keyseq>"
314235
315236 #. (itstool) path: td/p
316 #: C/adv-keyboard-shortcuts.page:97
237 #: C/adv-keyboard-shortcuts.page:95
317238 msgid "New Window"
318239 msgstr "Nova janela"
319240
320241 #. (itstool) path: td/p
321 #: C/adv-keyboard-shortcuts.page:98
242 #: C/adv-keyboard-shortcuts.page:96
322243 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>N</key></keyseq>"
323244 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>N</key></keyseq>"
324245
325246 #. (itstool) path: td/p
326 #: C/adv-keyboard-shortcuts.page:101
247 #: C/adv-keyboard-shortcuts.page:99
327248 msgid "Close Tab"
328249 msgstr "Fechar aba"
329250
330251 #. (itstool) path: td/p
331 #: C/adv-keyboard-shortcuts.page:102
252 #: C/adv-keyboard-shortcuts.page:100
332253 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>W</key></keyseq>"
333254 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>W</key></keyseq>"
334255
335256 #. (itstool) path: td/p
336 #: C/adv-keyboard-shortcuts.page:105
257 #: C/adv-keyboard-shortcuts.page:103
337258 msgid "Close Window"
338259 msgstr "Fechar janela"
339260
340261 #. (itstool) path: td/p
341 #: C/adv-keyboard-shortcuts.page:106
262 #: C/adv-keyboard-shortcuts.page:104
342263 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>Q</key></keyseq>"
343264 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>Q</key></keyseq>"
344265
345266 #. (itstool) path: section/title
346 #: C/adv-keyboard-shortcuts.page:113
267 #: C/adv-keyboard-shortcuts.page:111
347268 msgid "<gui style=\"menu\">Edit</gui> shortcuts"
348269 msgstr "Atalhos do menu <gui style=\"menu\">Editar</gui>"
349270
350271 #. (itstool) path: section/p
351 #: C/adv-keyboard-shortcuts.page:115
272 #: C/adv-keyboard-shortcuts.page:113
352273 msgid ""
353274 "The default shortcuts for options under <gui style=\"menu\">Edit</gui> menu "
354275 "are:"
356277 "Os atalhos padrões para opções do menu <gui style=\"menu\">Editar</gui> são:"
357278
358279 #. (itstool) path: td/p
359 #: C/adv-keyboard-shortcuts.page:127
280 #: C/adv-keyboard-shortcuts.page:125
360281 msgid "Copy"
361282 msgstr "Copiar"
362283
363284 #. (itstool) path: td/p
364 #: C/adv-keyboard-shortcuts.page:128
285 #: C/adv-keyboard-shortcuts.page:126
365286 msgid "<keyseq><key>Ctrl</key><key>Shift</key><key>C</key></keyseq>"
366287 msgstr "<keyseq><key>Ctrl</key><key>Shift</key><key>C</key></keyseq>"
367288
368289 #. (itstool) path: td/p
369 #: C/adv-keyboard-shortcuts.page:131
290 #: C/adv-keyboard-shortcuts.page:129
370291 msgid "Paste"
371292 msgstr "Colar"
372293
373294 #. (itstool) path: td/p
374 #: C/adv-keyboard-shortcuts.page:132
295 #: C/adv-keyboard-shortcuts.page:130
375296 msgid "<keyseq><key>Ctrl</key><key>Shift</key><key>V</key></keyseq>"
376297 msgstr "<keyseq><key>Ctrl</key><key>Shift</key><key>V</key></keyseq>"
377298
378299 #. (itstool) path: section/title
379 #: C/adv-keyboard-shortcuts.page:139
300 #: C/adv-keyboard-shortcuts.page:137
380301 msgid "<gui style=\"menu\">View</gui> shortcuts"
381302 msgstr "Atalhos do menu <gui style=\"menu\">Ver</gui>"
382303
383304 #. (itstool) path: section/p
384 #: C/adv-keyboard-shortcuts.page:141
305 #: C/adv-keyboard-shortcuts.page:139
385306 msgid ""
386307 "The default shortcuts for options in the <gui style=\"menu\">View</gui> menu "
387308 "are:"
389310 "Os atalhos padrões para opções do menu <gui style=\"menu\">Ver</gui> são:"
390311
391312 #. (itstool) path: td/p
392 #: C/adv-keyboard-shortcuts.page:153
313 #: C/adv-keyboard-shortcuts.page:151
393314 msgid "Full Screen"
394315 msgstr "Tela cheia"
395316
396317 #. (itstool) path: td/p
397 #: C/adv-keyboard-shortcuts.page:154
318 #: C/adv-keyboard-shortcuts.page:152
398319 msgid "<key>F11</key>"
399320 msgstr "<key>F11</key>"
400321
401322 #. (itstool) path: td/p
402 #: C/adv-keyboard-shortcuts.page:157
323 #: C/adv-keyboard-shortcuts.page:155
403324 msgid "Zoom In"
404325 msgstr "Ampliar"
405326
406327 #. (itstool) path: td/p
407 #: C/adv-keyboard-shortcuts.page:158
328 #: C/adv-keyboard-shortcuts.page:156
408329 msgid "<keyseq><key>Ctrl</key><key>+</key></keyseq>"
409330 msgstr "<keyseq><key>Ctrl</key><key>+</key></keyseq>"
410331
411332 #. (itstool) path: td/p
412 #: C/adv-keyboard-shortcuts.page:161
333 #: C/adv-keyboard-shortcuts.page:159
413334 msgid "Zoom Out"
414335 msgstr "Reduzir"
415336
416337 #. (itstool) path: td/p
417 #: C/adv-keyboard-shortcuts.page:162
338 #: C/adv-keyboard-shortcuts.page:160
418339 msgid "<keyseq><key>Ctrl</key><key>-</key></keyseq>"
419340 msgstr "<keyseq><key>Ctrl</key><key>-</key></keyseq>"
420341
421342 #. (itstool) path: td/p
422 #: C/adv-keyboard-shortcuts.page:165
343 #: C/adv-keyboard-shortcuts.page:163
423344 msgid "Normal Size"
424345 msgstr "Tamanho normal"
425346
426347 #. (itstool) path: td/p
427 #: C/adv-keyboard-shortcuts.page:166
348 #: C/adv-keyboard-shortcuts.page:164
428349 msgid "<keyseq><key>Ctrl</key><key>0</key></keyseq>"
429350 msgstr "<keyseq><key>Ctrl</key><key>0</key></keyseq>"
430351
431352 #. (itstool) path: section/title
432 #: C/adv-keyboard-shortcuts.page:173
353 #: C/adv-keyboard-shortcuts.page:171
433354 msgid "Tab shortcuts"
434355 msgstr "Atalhos para abas"
435356
436357 #. (itstool) path: section/p
437 #: C/adv-keyboard-shortcuts.page:175
358 #: C/adv-keyboard-shortcuts.page:173
438359 msgid "The default shortcuts for working with tabs are:"
439360 msgstr "Os atalhos padrões para manipular abas são:"
440361
441362 #. (itstool) path: td/p
442 #: C/adv-keyboard-shortcuts.page:186
363 #: C/adv-keyboard-shortcuts.page:184
443364 msgid "Switch to Previous Tab"
444365 msgstr "Alternar para a aba anterior"
445366
446367 #. (itstool) path: td/p
447 #: C/adv-keyboard-shortcuts.page:187
368 #: C/adv-keyboard-shortcuts.page:185
448369 msgid "<keyseq><key>Ctrl</key><key>Page Up</key></keyseq>"
449370 msgstr "<keyseq><key>Ctrl</key><key>Page Up</key></keyseq>"
450371
451372 #. (itstool) path: td/p
452 #: C/adv-keyboard-shortcuts.page:190
373 #: C/adv-keyboard-shortcuts.page:188
453374 msgid "Switch to Next Tab"
454375 msgstr "Alternar para a próxima aba"
455376
456377 #. (itstool) path: td/p
457 #: C/adv-keyboard-shortcuts.page:191
378 #: C/adv-keyboard-shortcuts.page:189
458379 msgid "<keyseq><key>Ctrl</key><key>Page Down</key></keyseq>"
459380 msgstr "<keyseq><key>Ctrl</key><key>Page Down</key></keyseq>"
460381
461382 #. (itstool) path: td/p
462 #: C/adv-keyboard-shortcuts.page:194
383 #: C/adv-keyboard-shortcuts.page:192
463384 msgid "Move Tab to the Left"
464385 msgstr "Mover aba para a esquerda"
465386
466387 #. (itstool) path: td/p
467 #: C/adv-keyboard-shortcuts.page:195
388 #: C/adv-keyboard-shortcuts.page:193
468389 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>Page Up</key></keyseq>"
469390 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>Page Up</key></keyseq>"
470391
471392 #. (itstool) path: td/p
472 #: C/adv-keyboard-shortcuts.page:198
393 #: C/adv-keyboard-shortcuts.page:196
473394 msgid "Move Tab to the Right"
474395 msgstr "Mover aba para a direita"
475396
476397 #. (itstool) path: td/p
477 #: C/adv-keyboard-shortcuts.page:199
398 #: C/adv-keyboard-shortcuts.page:197
478399 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>Page Down</key></keyseq>"
479400 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>Page Down</key></keyseq>"
480401
481402 #. (itstool) path: td/p
482 #: C/adv-keyboard-shortcuts.page:202
403 #: C/adv-keyboard-shortcuts.page:200
483404 msgid "Switch to Tab 1"
484405 msgstr "Alternar para a aba 1"
485406
486407 #. (itstool) path: td/p
487 #: C/adv-keyboard-shortcuts.page:203
408 #: C/adv-keyboard-shortcuts.page:201
488409 msgid "<keyseq><key>Alt</key><key>1</key></keyseq>"
489410 msgstr "<keyseq><key>Alt</key><key>1</key></keyseq>"
490411
491412 #. (itstool) path: td/p
492 #: C/adv-keyboard-shortcuts.page:206
413 #: C/adv-keyboard-shortcuts.page:204
493414 msgid "Switch to Tab 2"
494415 msgstr "Alternar para a aba 2"
495416
496417 #. (itstool) path: td/p
497 #: C/adv-keyboard-shortcuts.page:207
418 #: C/adv-keyboard-shortcuts.page:205
498419 msgid "<keyseq><key>Alt</key><key>2</key></keyseq>"
499420 msgstr "<keyseq><key>Alt</key><key>2</key></keyseq>"
500421
501422 #. (itstool) path: td/p
502 #: C/adv-keyboard-shortcuts.page:210
423 #: C/adv-keyboard-shortcuts.page:208
503424 msgid "Switch to Tab 3"
504425 msgstr "Alternar para a aba 3"
505426
506427 #. (itstool) path: td/p
507 #: C/adv-keyboard-shortcuts.page:211
428 #: C/adv-keyboard-shortcuts.page:209
508429 msgid "<keyseq><key>Alt</key><key>3</key></keyseq>"
509430 msgstr "<keyseq><key>Alt</key><key>3</key></keyseq>"
510431
511432 #. (itstool) path: td/p
512 #: C/adv-keyboard-shortcuts.page:214
433 #: C/adv-keyboard-shortcuts.page:212
513434 msgid "Switch to Tab 4"
514435 msgstr "Alternar para a aba 4"
515436
516437 #. (itstool) path: td/p
517 #: C/adv-keyboard-shortcuts.page:215
438 #: C/adv-keyboard-shortcuts.page:213
518439 msgid "<keyseq><key>Alt</key><key>4</key></keyseq>"
519440 msgstr "<keyseq><key>Alt</key><key>4</key></keyseq>"
520441
521442 #. (itstool) path: td/p
522 #: C/adv-keyboard-shortcuts.page:218
443 #: C/adv-keyboard-shortcuts.page:216
523444 msgid "Switch to Tab 5"
524445 msgstr "Alternar para a aba 5"
525446
526447 #. (itstool) path: td/p
527 #: C/adv-keyboard-shortcuts.page:219
448 #: C/adv-keyboard-shortcuts.page:217
528449 msgid "<keyseq><key>Alt</key><key>5</key></keyseq>"
529450 msgstr "<keyseq><key>Alt</key><key>5</key></keyseq>"
530451
531452 #. (itstool) path: td/p
532 #: C/adv-keyboard-shortcuts.page:222
453 #: C/adv-keyboard-shortcuts.page:220
533454 msgid "Switch to Tab 6"
534455 msgstr "Alternar para a aba 6"
535456
536457 #. (itstool) path: td/p
537 #: C/adv-keyboard-shortcuts.page:223
458 #: C/adv-keyboard-shortcuts.page:221
538459 msgid "<keyseq><key>Alt</key><key>6</key></keyseq>"
539460 msgstr "<keyseq><key>Alt</key><key>6</key></keyseq>"
540461
541462 #. (itstool) path: td/p
542 #: C/adv-keyboard-shortcuts.page:226
463 #: C/adv-keyboard-shortcuts.page:224
543464 msgid "Switch to Tab 7"
544465 msgstr "Alternar para a aba 7"
545466
546467 #. (itstool) path: td/p
547 #: C/adv-keyboard-shortcuts.page:227
468 #: C/adv-keyboard-shortcuts.page:225
548469 msgid "<keyseq><key>Alt</key><key>7</key></keyseq>"
549470 msgstr "<keyseq><key>Alt</key><key>7</key></keyseq>"
550471
551472 #. (itstool) path: td/p
552 #: C/adv-keyboard-shortcuts.page:230
473 #: C/adv-keyboard-shortcuts.page:228
553474 msgid "Switch to Tab 8"
554475 msgstr "Alternar para a aba 8"
555476
556477 #. (itstool) path: td/p
557 #: C/adv-keyboard-shortcuts.page:231
478 #: C/adv-keyboard-shortcuts.page:229
558479 msgid "<keyseq><key>Alt</key><key>8</key></keyseq>"
559480 msgstr "<keyseq><key>Alt</key><key>8</key></keyseq>"
560481
561482 #. (itstool) path: td/p
562 #: C/adv-keyboard-shortcuts.page:234
483 #: C/adv-keyboard-shortcuts.page:232
563484 msgid "Switch to Tab 9"
564485 msgstr "Alternar para a aba 9"
565486
566487 #. (itstool) path: td/p
567 #: C/adv-keyboard-shortcuts.page:235
488 #: C/adv-keyboard-shortcuts.page:233
568489 msgid "<keyseq><key>Alt</key><key>9</key></keyseq>"
569490 msgstr "<keyseq><key>Alt</key><key>9</key></keyseq>"
570491
571492 #. (itstool) path: td/p
572 #: C/adv-keyboard-shortcuts.page:238
573 msgid "Switch to Tab 0"
574 msgstr "Alternar para a aba 0"
575
576 #. (itstool) path: td/p
577 #: C/adv-keyboard-shortcuts.page:239
493 #: C/adv-keyboard-shortcuts.page:236
494 msgid "Switch to Tab 10"
495 msgstr "Alternar para a aba 10"
496
497 #. (itstool) path: td/p
498 #: C/adv-keyboard-shortcuts.page:237
578499 msgid "<keyseq><key>Alt</key><key>0</key></keyseq>"
579500 msgstr "<keyseq><key>Alt</key><key>0</key></keyseq>"
580501
581502 #. (itstool) path: section/title
582 #: C/adv-keyboard-shortcuts.page:246
503 #: C/adv-keyboard-shortcuts.page:244
583504 msgid "Help shortcuts"
584505 msgstr "Atalhos de ajuda"
585506
586507 #. (itstool) path: section/p
587 #: C/adv-keyboard-shortcuts.page:248
508 #: C/adv-keyboard-shortcuts.page:246
588509 msgid ""
589510 "The default shortcuts for accessing items in the <gui style=\"menu\">Help</"
590511 "gui> menu are:"
591512 msgstr ""
592 "Os atalhos padrões para acessar items do menu <gui style=\"menu\">Ajuda</"
513 "Os atalhos padrões para acessar itens do menu <gui style=\"menu\">Ajuda</"
593514 "gui> são:"
594515
595516 #. (itstool) path: td/p
596 #: C/adv-keyboard-shortcuts.page:260
517 #: C/adv-keyboard-shortcuts.page:258
597518 msgid "Contents"
598519 msgstr "Sumário"
599520
600521 #. (itstool) path: td/p
601 #: C/adv-keyboard-shortcuts.page:261
522 #: C/adv-keyboard-shortcuts.page:259
602523 msgid "<key>F1</key>"
603524 msgstr "<key>F1</key>"
604525
605526 #. (itstool) path: section/title
606 #: C/adv-keyboard-shortcuts.page:268
527 #: C/adv-keyboard-shortcuts.page:266
607528 msgid "Other"
608529 msgstr "Outro"
609530
610531 #. (itstool) path: section/p
611 #: C/adv-keyboard-shortcuts.page:270
532 #: C/adv-keyboard-shortcuts.page:268
612533 msgid "There are also some shortcuts that cannot be edited:"
613534 msgstr "Também há alguns atalhos que não podem ser editados:"
614535
615536 #. (itstool) path: td/p
616 #: C/adv-keyboard-shortcuts.page:281
537 #: C/adv-keyboard-shortcuts.page:279
617538 msgid "Scroll up by one line"
618539 msgstr "Rolar para cima em uma linha"
619540
620541 #. (itstool) path: td/p
621 #: C/adv-keyboard-shortcuts.page:282
542 #: C/adv-keyboard-shortcuts.page:280
622543 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>Up</key></keyseq>"
623544 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>Up</key></keyseq>"
624545
625546 #. (itstool) path: td/p
626 #: C/adv-keyboard-shortcuts.page:285
547 #: C/adv-keyboard-shortcuts.page:283
627548 msgid "Scroll down by one line"
628549 msgstr "Rolar para baixo em uma linha"
629550
630551 #. (itstool) path: td/p
631 #: C/adv-keyboard-shortcuts.page:286
552 #: C/adv-keyboard-shortcuts.page:284
632553 msgid "<keyseq><key>Shift</key><key>Ctrl</key><key>Down</key></keyseq>"
633554 msgstr "<keyseq><key>Shift</key><key>Ctrl</key><key>Baixo</key></keyseq>"
634555
635556 #. (itstool) path: section/title
636 #: C/adv-keyboard-shortcuts.page:293
557 #: C/adv-keyboard-shortcuts.page:291
637558 msgid "Bash shortcuts"
638559 msgstr "Atalhos de Bash"
639560
640561 #. (itstool) path: section/p
641 #: C/adv-keyboard-shortcuts.page:295
562 #: C/adv-keyboard-shortcuts.page:293
642563 msgid ""
643564 "These are <app>Bash</app> shortcuts. <app>Bash</app> is usually the default "
644565 "shell."
645566 msgstr ""
646 "Esses são atalhos de <app>Bash</app>. <app>Bash</app> é normalmente o shell "
647 "padrão."
567 "Esses são atalhos de <app>Bash</app>. O <app>Bash</app> é normalmente o "
568 "shell padrão."
648569
649570 #. (itstool) path: section/p
650 #: C/adv-keyboard-shortcuts.page:303
571 #: C/adv-keyboard-shortcuts.page:301
651572 msgid "<app>Bash</app> shell specific keyboard shortcuts are:"
652573 msgstr "As teclas de atalhos específicas do shell <app>Bash</app> são:"
653574
654575 #. (itstool) path: td/p
655 #: C/adv-keyboard-shortcuts.page:309
576 #: C/adv-keyboard-shortcuts.page:307
656577 msgid "Keyboard shortcut"
657578 msgstr "Teclas de atalhos"
658579
659580 #. (itstool) path: td/p
660 #: C/adv-keyboard-shortcuts.page:314
581 #: C/adv-keyboard-shortcuts.page:312
661582 msgid "Erase a word"
662583 msgstr "Apagar uma palavra"
663584
664585 #. (itstool) path: td/p
665 #: C/adv-keyboard-shortcuts.page:315 C/adv-keyboard-shortcuts.page:355
586 #: C/adv-keyboard-shortcuts.page:313 C/adv-keyboard-shortcuts.page:353
666587 msgid "<keyseq><key>Ctrl</key><key>W</key></keyseq>"
667588 msgstr "<keyseq><key>Ctrl</key><key>W</key></keyseq>"
668589
669590 #. (itstool) path: td/p
670 #: C/adv-keyboard-shortcuts.page:318
591 #: C/adv-keyboard-shortcuts.page:316
671592 msgid "Erase a line"
672593 msgstr "Apagar uma linha"
673594
674595 #. (itstool) path: td/p
675 #: C/adv-keyboard-shortcuts.page:319
596 #: C/adv-keyboard-shortcuts.page:317
676597 msgid "<keyseq><key>Ctrl</key><key>U</key></keyseq>"
677598 msgstr "<keyseq><key>Ctrl</key><key>U</key></keyseq>"
678599
679600 #. (itstool) path: td/p
680 #: C/adv-keyboard-shortcuts.page:322
601 #: C/adv-keyboard-shortcuts.page:320
681602 msgid "Move to the start of the line"
682603 msgstr "Mover para o início da linha"
683604
684605 #. (itstool) path: td/p
685 #: C/adv-keyboard-shortcuts.page:323
606 #: C/adv-keyboard-shortcuts.page:321
686607 msgid "<keyseq><key>Ctrl</key><key>A</key></keyseq>"
687608 msgstr "<keyseq><key>Ctrl</key><key>A</key></keyseq>"
688609
689610 #. (itstool) path: td/p
690 #: C/adv-keyboard-shortcuts.page:326
611 #: C/adv-keyboard-shortcuts.page:324
691612 msgid "Move to the end of the line"
692613 msgstr "Mover para o fim da linha"
693614
694615 #. (itstool) path: td/p
695 #: C/adv-keyboard-shortcuts.page:327
616 #: C/adv-keyboard-shortcuts.page:325
696617 msgid "<keyseq><key>Ctrl</key><key>E</key></keyseq>"
697618 msgstr "<keyseq><key>Ctrl</key><key>E</key></keyseq>"
698619
699620 #. (itstool) path: td/p
700 #: C/adv-keyboard-shortcuts.page:330
621 #: C/adv-keyboard-shortcuts.page:328
701622 msgid "Move back one character"
702623 msgstr "Mover para trás um caractere"
703624
704625 #. (itstool) path: td/p
705 #: C/adv-keyboard-shortcuts.page:331
626 #: C/adv-keyboard-shortcuts.page:329
706627 msgid "<keyseq><key>Ctrl</key><key>B</key></keyseq>"
707628 msgstr "<keyseq><key>Ctrl</key><key>B</key></keyseq>"
708629
709630 #. (itstool) path: td/p
710 #: C/adv-keyboard-shortcuts.page:334
631 #: C/adv-keyboard-shortcuts.page:332
711632 msgid "Move back one word"
712633 msgstr "Mover para trás uma palavra"
713634
714635 #. (itstool) path: td/p
715 #: C/adv-keyboard-shortcuts.page:335
636 #: C/adv-keyboard-shortcuts.page:333
716637 msgid "<keyseq><key>Alt</key><key>B</key></keyseq>"
717638 msgstr "<keyseq><key>Alt</key><key>B</key></keyseq>"
718639
719640 #. (itstool) path: td/p
720 #: C/adv-keyboard-shortcuts.page:338
641 #: C/adv-keyboard-shortcuts.page:336
721642 msgid "Move forward one character"
722643 msgstr "Mover para frente um caractere"
723644
724645 #. (itstool) path: td/p
725 #: C/adv-keyboard-shortcuts.page:339
646 #: C/adv-keyboard-shortcuts.page:337
726647 msgid "<keyseq><key>Ctrl</key><key>F</key></keyseq>"
727648 msgstr "<keyseq><key>Ctrl</key><key>F</key></keyseq>"
728649
729650 #. (itstool) path: td/p
730 #: C/adv-keyboard-shortcuts.page:342
651 #: C/adv-keyboard-shortcuts.page:340
731652 msgid "Move forward one word"
732653 msgstr "Mover para frente uma palavra"
733654
734655 #. (itstool) path: td/p
735 #: C/adv-keyboard-shortcuts.page:343
656 #: C/adv-keyboard-shortcuts.page:341
736657 msgid "<keyseq><key>Alt</key><key>F</key></keyseq>"
737658 msgstr "<keyseq><key>Alt</key><key>F</key></keyseq>"
738659
739660 #. (itstool) path: td/p
740 #: C/adv-keyboard-shortcuts.page:346
661 #: C/adv-keyboard-shortcuts.page:344
741662 msgid "Delete from the cursor to the beginning of the line."
742 msgstr "Excluir a partir do cursor até o começo da linha"
743
744 #. (itstool) path: td/p
745 #: C/adv-keyboard-shortcuts.page:347
663 msgstr "Excluir a partir do cursor até o começo da linha."
664
665 #. (itstool) path: td/p
666 #: C/adv-keyboard-shortcuts.page:345
746667 msgid "<keyseq><key>Ctrl</key><key>u</key></keyseq>"
747668 msgstr "<keyseq><key>Ctrl</key><key>u</key></keyseq>"
748669
749670 #. (itstool) path: td/p
750 #: C/adv-keyboard-shortcuts.page:350
671 #: C/adv-keyboard-shortcuts.page:348
751672 msgid "Delete from the cursor to the end of the line."
752 msgstr "Excluir a partir do cursor até o final da linha"
753
754 #. (itstool) path: td/p
755 #: C/adv-keyboard-shortcuts.page:351
673 msgstr "Excluir a partir do cursor até o final da linha."
674
675 #. (itstool) path: td/p
676 #: C/adv-keyboard-shortcuts.page:349
756677 msgid "<keyseq><key>Ctrl</key><key>K</key></keyseq>"
757678 msgstr "<keyseq><key>Ctrl</key><key>K</key></keyseq>"
758679
759680 #. (itstool) path: td/p
760 #: C/adv-keyboard-shortcuts.page:354
681 #: C/adv-keyboard-shortcuts.page:352
761682 msgid "Delete from the cursor to the start of the word."
762 msgstr "Excluir a partir do cursor até o começo da palavra"
763
764 #. (itstool) path: td/p
765 #: C/adv-keyboard-shortcuts.page:358
683 msgstr "Excluir a partir do cursor até o começo da palavra."
684
685 #. (itstool) path: td/p
686 #: C/adv-keyboard-shortcuts.page:356
766687 msgid "Delete previous word"
767688 msgstr "Excluir palavra anterior"
768689
769690 #. (itstool) path: td/p
770 #: C/adv-keyboard-shortcuts.page:359
691 #: C/adv-keyboard-shortcuts.page:357
771692 msgid ""
772693 "<keyseq><key>Esc</key><key>Del</key></keyseq> or <keyseq><key>Esc</"
773694 "key><key>Backspace</key></keyseq>"
774695 msgstr ""
775 "<keyseq><key>Esc</key><key>Del</key></keyseq> or <keyseq><key>Esc</"
696 "<keyseq><key>Esc</key><key>Del</key></keyseq> ou <keyseq><key>Esc</"
776697 "key><key>Backspace</key></keyseq>"
777698
778699 #. (itstool) path: td/p
779 #: C/adv-keyboard-shortcuts.page:363
700 #: C/adv-keyboard-shortcuts.page:361
780701 msgid "Pastes text from the clipboard."
781 msgstr "Colar texto da área de transferência"
782
783 #. (itstool) path: td/p
784 #: C/adv-keyboard-shortcuts.page:364
702 msgstr "Colar texto da área de transferência."
703
704 #. (itstool) path: td/p
705 #: C/adv-keyboard-shortcuts.page:362
785706 msgid "<keyseq><key>Ctrl</key><key>Y</key></keyseq>"
786707 msgstr "<keyseq><key>Ctrl</key><key>Y</key></keyseq>"
787708
788709 #. (itstool) path: td/p
710 #: C/adv-keyboard-shortcuts.page:365
711 msgid "Clear the screen leaving the current line at the top of the screen."
712 msgstr "Limpar a tela deixando a linha atual no topo da janela."
713
714 #. (itstool) path: td/p
789715 #: C/adv-keyboard-shortcuts.page:367
790 msgid "Clear the screen leaving the current line at the top of the screen."
791 msgstr "Limpar a tecla deixando a linha atual no topo da janela"
792
793 #. (itstool) path: td/p
794 #: C/adv-keyboard-shortcuts.page:369
795716 msgid "<keyseq><key>Ctrl</key><key>L</key></keyseq>"
796717 msgstr "<keyseq><key>Ctrl</key><key>L</key></keyseq>"
797718
798719 #. (itstool) path: td/p
799 #: C/adv-keyboard-shortcuts.page:372
720 #: C/adv-keyboard-shortcuts.page:370
800721 msgid "Reverse incremental search of history"
801722 msgstr "Pesquisa incremental inversa do histórico"
802723
803724 #. (itstool) path: td/p
804 #: C/adv-keyboard-shortcuts.page:373
725 #: C/adv-keyboard-shortcuts.page:371
805726 msgid "<keyseq><key>Ctrl</key><key>R</key></keyseq>"
806727 msgstr "<keyseq><key>Ctrl</key><key>R</key></keyseq>"
807728
808729 #. (itstool) path: td/p
809 #: C/adv-keyboard-shortcuts.page:376
730 #: C/adv-keyboard-shortcuts.page:374
810731 msgid "Reverse non-incremental search of history"
811732 msgstr "Pesquisa não-incremental inversa do histórico"
812733
813734 #. (itstool) path: td/p
814 #: C/adv-keyboard-shortcuts.page:377
735 #: C/adv-keyboard-shortcuts.page:375
815736 msgid "<keyseq><key>Alt</key><key>P</key></keyseq>"
816737 msgstr "<keyseq><key>Alt</key><key>P</key></keyseq>"
817738
847768 msgstr "Para usar cores do tema do sistema:"
848769
849770 #. (itstool) path: item/p
850 #: C/app-colors.page:45 C/app-colors.page:67 C/app-colors.page:93
771 #: C/app-colors.page:45 C/app-colors.page:68 C/app-colors.page:94
851772 msgid ""
852773 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
853774 "\">Profile Preferences</gui> <gui style=\"tab\">Colors</gui></guiseq>."
874795 msgid ""
875796 "You can choose one of the built-in color schemes: <gui>Black on light "
876797 "yellow</gui>, <gui>Black on white</gui>, <gui>Gray on black</gui>, "
877 "<gui>Green on black</gui>, <gui>White on black</gui>. To set any of the "
878 "built-in schemes:"
879 msgstr ""
880 "Você pode escolhe um dos esquemas de cores embutidas: <gui>Preto no amarelo "
798 "<gui>Green on black</gui>, <gui>White on black</gui>, <gui>Solarized light</"
799 "gui>, <gui>Solarized dark</gui>. To set any of the built-in schemes:"
800 msgstr ""
801 "Você pode escolher um dos esquemas de cores embutidas: <gui>Preto no amarelo "
881802 "claro</gui>, <gui>Preto no branco</gui>, <gui>Cinza no preto</gui>, "
882 "<gui>Verde no preto</gui>, <gui>Branco no preto</gui>. Para definir qualquer "
883 "dos esquemas embutidos:"
884
885 #. (itstool) path: item/p
886 #: C/app-colors.page:72
803 "<gui>Verde no preto</gui>, <gui>Branco no preto</gui>, <gui>Solarizado "
804 "claro</gui> ou <gui>Solarizado escuro</gui>. Para definir qualquer dos "
805 "esquemas embutidos:"
806
807 #. (itstool) path: item/p
808 #: C/app-colors.page:73
887809 msgid ""
888810 "Make sure that <gui style=\"checkbox\">Use colors from system theme</gui> is "
889811 "unchecked. Choose the desired color scheme from <gui>Built-in schemes</gui>. "
894816 "gui>. As escolhas de esquema de cor são aplicadas automaticamente."
895817
896818 #. (itstool) path: note/p
897 #: C/app-colors.page:77
819 #: C/app-colors.page:78
898820 msgid ""
899821 "Applications can choose to use a color from the palette rather than the "
900822 "specified bold color."
902824 "Aplicativos podem escolher usar uma cor da paleta em vez da cor especificada."
903825
904826 #. (itstool) path: section/title
905 #: C/app-colors.page:86
827 #: C/app-colors.page:87
906828 msgid "Custom color scheme"
907829 msgstr "Esquema de cor personalizada"
908830
909831 #. (itstool) path: section/p
910 #: C/app-colors.page:88
832 #: C/app-colors.page:89
911833 msgid ""
912834 "You can use custom colors for the text and background in <app>Terminal</app>:"
913835 msgstr ""
915837 "<app>Terminal</app>:"
916838
917839 #. (itstool) path: item/p
918 #: C/app-colors.page:98
840 #: C/app-colors.page:99
919841 msgid ""
920842 "Make sure that <gui style=\"checkbox\">Use colors from system theme</gui> is "
921843 "unchecked. Select <gui>Custom</gui> from the <gui>Built-in schemes</gui> "
926848 "<gui>Esquemas embutidos</gui>."
927849
928850 #. (itstool) path: item/p
929 #: C/app-colors.page:103
851 #: C/app-colors.page:104
930852 msgid ""
931853 "Click on the color sample next to the component you would like to change."
932854 msgstr ""
934856 "alterar."
935857
936858 #. (itstool) path: item/p
937 #: C/app-colors.page:107
859 #: C/app-colors.page:108
938860 msgid ""
939861 "Choose your desired color from the color sample and click <gui style=\"button"
940862 "\">Select</gui>."
943865 "\">Selecionar</gui>."
944866
945867 #. (itstool) path: item/p
946 #: C/app-colors.page:109
868 #: C/app-colors.page:110
947869 msgid ""
948870 "If you wish to select a color from the color picker, click on <gui style="
949871 "\"button\">+</gui>. You can chose the desired color in the following ways:"
952874 "\"button\">+</gui>. Você pode escolher a cor desejada nas seguintes formas:"
953875
954876 #. (itstool) path: item/p
955 #: C/app-colors.page:114
877 #: C/app-colors.page:115
956878 msgid "Input the hexadecimal color code in the input box."
957879 msgstr "Digite o código hexadecimal da cor na caixa de entrada."
958880
959881 #. (itstool) path: item/p
960 #: C/app-colors.page:117
882 #: C/app-colors.page:118
961883 msgid ""
962884 "Drag the slider on the left to adjust the colors and click on the desired "
963885 "color in the color selection area."
966888 "desejada na área de seleção de cores."
967889
968890 #. (itstool) path: item/p
969 #: C/app-colors.page:121
891 #: C/app-colors.page:122
970892 msgid "Your changes will be saved automatically."
971893 msgstr "Suas alterações serão salvas automaticamente."
972894
973895 #. (itstool) path: note/p
974 #: C/app-colors.page:126
896 #: C/app-colors.page:127
975897 msgid ""
976898 "You may also alter a color when you have chosen a built-in scheme by "
977899 "clicking on the color sample block. Once changed, your selection in the "
1001923 "selecionar seu cursor preferido:"
1002924
1003925 #. (itstool) path: item/p
1004 #: C/app-cursor.page:39 C/app-fonts.page:63 C/app-terminal-sizes.page:79
1005 #: C/pref-bell.page:43 C/txt-select-text.page:37
926 #: C/app-cursor.page:39 C/app-fonts.page:62
1006927 msgid ""
1007928 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
1008929 "\">Profile Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
10941015 msgstr "Para usar fontes padrão do sistema:"
10951016
10961017 #. (itstool) path: item/p
1097 #: C/app-fonts.page:45
1098 msgid ""
1099 "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\">Profile "
1100 "Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
1101 msgstr ""
1102 "Vá até <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
1018 #: C/app-fonts.page:45 C/app-terminal-sizes.page:79 C/pref-bell.page:43
1019 msgid ""
1020 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\"> "
1021 "Profile Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
1022 msgstr ""
1023 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
11031024 "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>."
11041025
11051026 #. (itstool) path: item/p
1106 #: C/app-fonts.page:50
1027 #: C/app-fonts.page:49
11071028 msgid "Select <gui style=\"checkbox\">Use the system fixed width font</gui>."
11081029 msgstr ""
11091030 "Selecione <gui style=\"checkbox\">Usar a fonte de largura fixa do sistema</"
11101031 "gui>."
11111032
11121033 #. (itstool) path: section/title
1113 #: C/app-fonts.page:57
1034 #: C/app-fonts.page:56
11141035 msgid "Set a custom font"
11151036 msgstr "Definindo uma fonte personalizada"
11161037
11171038 #. (itstool) path: section/p
1118 #: C/app-fonts.page:59
1039 #: C/app-fonts.page:58
11191040 msgid "To set a custom font and size:"
11201041 msgstr "Para definir um tamanho e fonte personalizados:"
11211042
11221043 #. (itstool) path: item/p
1123 #: C/app-fonts.page:68
1044 #: C/app-fonts.page:67
11241045 msgid ""
11251046 "Ensure that <gui>Use the system fixed width font</gui> option is unchecked."
11261047 msgstr ""
11281049 "gui> está desmarcada."
11291050
11301051 #. (itstool) path: item/p
1131 #: C/app-fonts.page:72
1052 #: C/app-fonts.page:71
11321053 msgid "Click on the button next to <gui>Font</gui>."
11331054 msgstr "Clique no próximo ao lado de <gui>Fonte</gui>."
11341055
11351056 #. (itstool) path: item/p
1136 #: C/app-fonts.page:75
1057 #: C/app-fonts.page:74
11371058 msgid ""
11381059 "Type the name of your desired font into the search field or browse the list "
11391060 "of fonts."
11421063 "de fontes."
11431064
11441065 #. (itstool) path: item/p
1145 #: C/app-fonts.page:79
1066 #: C/app-fonts.page:78
11461067 msgid ""
11471068 "Drag the slider that is below the font list to set the font size. "
11481069 "Alternatively, you can type in the font size into the field next to the "
11561077 "tamanho da fonte selecionada."
11571078
11581079 #. (itstool) path: item/p
1159 #: C/app-fonts.page:85
1080 #: C/app-fonts.page:84
11601081 msgid ""
11611082 "Click <gui style=\"button\">Select</gui> to apply your changes. To discard "
11621083 "changes and go back to previous dialog, click <gui style=\"button\">Cancel</"
11671088 "\"button\">Cancelar</gui>."
11681089
11691090 #. (itstool) path: section/title
1170 #: C/app-fonts.page:94
1091 #: C/app-fonts.page:93
11711092 msgid "Bold text"
11721093 msgstr "Texto em negrito"
11731094
11741095 #. (itstool) path: section/p
1175 #: C/app-fonts.page:96
1096 #: C/app-fonts.page:95
11761097 msgid ""
11771098 "<app>Terminal</app> allows your shell to process text such as the prompt, "
11781099 "directory names or man page headings to appear in bold style."
11811102 "de diretórios ou títulos de páginas de manual para aparecer em negrito."
11821103
11831104 #. (itstool) path: item/p
1184 #: C/app-fonts.page:101
1185 msgid ""
1186 "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\">Profile "
1187 "Preferences</gui> <gui style=\"tab\">General</gui></guiseq>"
1188 msgstr ""
1189 "Vá em <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
1190 "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>"
1191
1192 #. (itstool) path: item/p
1193 #: C/app-fonts.page:106
1105 #: C/app-fonts.page:100
1106 msgid ""
1107 "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\"> "
1108 "Profile Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
1109 msgstr ""
1110 "Vá até <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
1111 "\">Preferências do perfil</gui><gui style=\"tab\">Geral</gui></guiseq>."
1112
1113 #. (itstool) path: item/p
1114 #: C/app-fonts.page:104
11941115 msgid "Select <gui style=\"checkbox\">Allow bold text</gui>."
11951116 msgstr "Selecione <gui style=\"checkbox\">Permitir texto em negrito</gui>."
11961117
11971118 #. (itstool) path: note/p
1198 #: C/app-fonts.page:111
1119 #: C/app-fonts.page:109
11991120 msgid ""
12001121 "<gui style=\"checkbox\">Allow bold text</gui> is a shell specific feature. "
1201 "If you are using a shell other than Bash, then the described behaviour may "
1122 "If you are using a shell other than Bash, then the described behavior may "
12021123 "not be similar."
12031124 msgstr ""
12041125 "<gui style=\"checkbox\">Permitir texto em negrito</gui> é um recurso "
1205 "específico de shell. Se você está usando uma shell diferente de Bash, então "
1206 "o comportamento descrito pode não ser similar."
1126 "específico do shell. Se você está usando uma shell diferente do Bash, então "
1127 "o comportamento pode não ser parecido com o descrito."
12071128
12081129 #. (itstool) path: info/desc
12091130 #: C/app-fullscreen.page:28
13721293 "seus requisitos:"
13731294
13741295 #. (itstool) path: item/p
1375 #: C/app-terminal-sizes.page:84
1296 #: C/app-terminal-sizes.page:83
13761297 msgid "Check <gui>Use custom default terminal size</gui>."
13771298 msgstr "Marque <gui>Usar tamanho personalizado no terminal padrão</gui>."
13781299
13791300 #. (itstool) path: item/p
1380 #: C/app-terminal-sizes.page:87
1301 #: C/app-terminal-sizes.page:86
13811302 msgid ""
13821303 "Set <gui>Default size</gui> by typing the desired number of columns and rows "
13831304 "in the corresponding input boxes. You can also click <gui style=\"button\">"
13881309 "style=\"button\">+</gui> para aumentar ou <gui style=\"button\">-</gui> "
13891310 "reduzir o tamanho."
13901311
1391 #. (itstool) path: credit/name
1392 #: C/app-zoom.page:15
1393 msgid "Ekaterina Gerasimomva"
1394 msgstr "Ekaterina Gerasimomva"
1395
13961312 #. (itstool) path: info/desc
13971313 #: C/app-zoom.page:27
13981314 msgid "Increase or decrease text size."
14411357 #. (itstool) path: item/p
14421358 #: C/app-zoom.page:57
14431359 msgid ""
1444 "Select <guiseq><gui style=\"View\">View</gui> <gui style=\"menuitem\">Normal "
1445 "Size</gui></guiseq> or press <keyseq><key>Control</key><key>0</key></keyseq>."
1446 msgstr ""
1447 "Selecione <guiseq><gui style=\"View\">Ver</gui> <gui style=\"menuitem"
1360 "Select <guiseq><gui style=\"menu\">View</gui> <gui style=\"menuitem\">Normal "
1361 "Size</gui></guiseq> or press <keyseq><key>Ctrl</key><key>0</key></keyseq>."
1362 msgstr ""
1363 "Selecione <guiseq><gui style=\"menu\">Ver</gui> <gui style=\"menuitem"
14481364 "\">Tamanho normal</gui></guiseq> ou pressione <keyseq><key>Control</"
14491365 "key><key>0</key></keyseq>."
14501366
1367 #. (itstool) path: credit/years
1368 #: C/gs-execute-commands.page:21 C/gs-tabs.page:19 C/pref-scrolling.page:19
1369 msgid "2013–2014"
1370 msgstr "2013–2014"
1371
14511372 #. (itstool) path: info/desc
1452 #: C/gs-execute-commands.page:29
1373 #: C/gs-execute-commands.page:31
14531374 msgid "Launch programs or run commands using <app>Terminal</app>"
14541375 msgstr "Inicie programas ou execute comandos usando o <app>Terminal</app>"
14551376
14561377 #. (itstool) path: page/title
1457 #: C/gs-execute-commands.page:32
1378 #: C/gs-execute-commands.page:34
14581379 msgid "Execute a command"
14591380 msgstr "Executando um comando"
14601381
14611382 #. (itstool) path: page/p
1462 #: C/gs-execute-commands.page:34
1383 #: C/gs-execute-commands.page:36
14631384 msgid ""
14641385 "Any input entered in the <app>Terminal</app> to be executed is referred to "
14651386 "as a <em>command</em>. You can run both command line and graphical user "
14661387 "interface (GUI) programs from the terminal."
14671388 msgstr ""
1468
1469 #. (itstool) path: page/p
1470 #: C/gs-execute-commands.page:38
1471 #, fuzzy
1389 "Qualquer entrada no <app>Terminal</app> a ser executada é chamada de "
1390 "<em>comando</em>. Você pode executar no terminal tanto comandos que retornam "
1391 "apenas texto ou comandos de programas com interface gráfica de usuário (GUI)."
1392
1393 #. (itstool) path: page/p
1394 #: C/gs-execute-commands.page:40
14721395 msgid "To execute commands:"
1473 msgstr "falha ao executar \"%s\": %s."
1474
1475 #. (itstool) path: item/p
1476 #: C/gs-execute-commands.page:42
1396 msgstr "Para executar comandos:"
1397
1398 #. (itstool) path: item/p
1399 #: C/gs-execute-commands.page:44
14771400 msgid "Type the command in the <app>Terminal</app> prompt."
14781401 msgstr "Digite o comando no <app>Terminal</app>."
14791402
14801403 #. (itstool) path: item/p
1481 #: C/gs-execute-commands.page:45
1482 #, fuzzy
1404 #: C/gs-execute-commands.page:47
14831405 msgid "Press <key>Enter</key> to execute it."
1484 msgstr "Tecla capturada: %s. Pressione Enter para confirmar."
1485
1486 #. (itstool) path: page/p
1487 #: C/gs-execute-commands.page:49
1406 msgstr "Pressione a tecla <key>Enter</key> para executá-lo."
1407
1408 #. (itstool) path: page/p
1409 #: C/gs-execute-commands.page:51
14881410 msgid ""
14891411 "If you have a program that ends abruptly without any warning or error, you "
14901412 "may want to run it in <app>Terminal</app>. This will allow the program to "
14911413 "output any error or debugging messages to the <app>Terminal</app> window. "
14921414 "This information can be helpful when filing a bug report."
14931415 msgstr ""
1416 "Se um programa executado termina abruptamente, sem qualquer aviso ou erro "
1417 "visível, pode ser útil executá-lo no <app>Terminal</app>. Isso permitirá que "
1418 "qualquer mensagem de erro de depuração sejam exibidas na janela do "
1419 "<app>Terminal</app>. Esta informação pode ser útil quando enviando de um "
1420 "relatório de erro."
14941421
14951422 #. (itstool) path: note/p
1496 #: C/gs-execute-commands.page:55
1497 msgid ""
1498 "Programs can be installed to different locations on your computer. If these "
1499 "locations are not added to the <code>PATH</code> variable of your computer, "
1500 "you will need to specify the path to the program."
1501 msgstr ""
1502 "Programas podem ser instalados em diferentes locais do seu computador. Se "
1503 "esses locais não foram adicionados a variável <code>PATH</code> do seu "
1504 "computador, você vai precisar especificar o diretório para o programa."
1423 #: C/gs-execute-commands.page:57
1424 msgid ""
1425 "Read about the <link href=\"https://www.gnu.org/software/bash/manual/\">Bash "
1426 "shell</link> for more information on what you can do in a terminal."
1427 msgstr ""
1428 "Leia mais sobre o <link href=\"https://www.gnu.org/software/bash/manual/"
1429 "\">shell Bash</link> para saber o que você pode fazer no terminal."
15051430
15061431 #. (itstool) path: info/desc
1507 #: C/gs-tabs.page:28
1508 msgid "Add, remove and reorder <app>Terminal</app> tabs."
1432 #: C/gs-tabs.page:29
1433 msgid "Enable, add, remove and reorder <app>Terminal</app> tabs."
15091434 msgstr "Adicione, remova e reorganize as abas do <app>Terminal</app>."
15101435
15111436 #. (itstool) path: page/title
1512 #: C/gs-tabs.page:31
1513 #, fuzzy
1514 msgid "Manage tabs"
1515 msgstr "Mostrar abas"
1516
1517 #. (itstool) path: page/p
1518 #: C/gs-tabs.page:33
1519 msgid ""
1520 "The tab bar appears at the top a <app>Terminal</app> window that has "
1521 "multiple tabs open in what looks like a row of buttons, which you can click "
1522 "to change between tabs. You can open multiple tabs to manage your work in "
1437 #: C/gs-tabs.page:32
1438 msgid "Use tabs"
1439 msgstr "Usando abas"
1440
1441 #. (itstool) path: page/p
1442 #: C/gs-tabs.page:34
1443 msgid ""
1444 "Before you can navigate around tabs using the menus, you need to check that "
1445 "they are <link xref=\"pref-tab-window\">enabled in your preferences</link>."
1446 msgstr ""
1447 "Para que você possa navegar pelas abas pelos menus, você precisa verificar "
1448 "se <link xref=\"pref-tab-window\">elas estão habilitadas em suas "
1449 "preferências</link>."
1450
1451 #. (itstool) path: page/p
1452 #: C/gs-tabs.page:38
1453 msgid ""
1454 "The tab bar is shown at the top a <app>Terminal</app> window that has "
1455 "multiple tabs open (it looks like a row of buttons). Click on a tab to "
1456 "switch to it. You can open multiple tabs to manage your work in "
15231457 "<app>Terminal</app>. This will allow you to multi-task with activities such "
15241458 "as running programs, browsing directories and editing text files in a single "
15251459 "<app>Terminal</app> window."
15261460 msgstr ""
1461 "A barra de abas aparece na parte superior da janela do <app>Terminal</app> "
1462 "quando ela possui abas abertas (ela se parece com uma fileira de botões). "
1463 "Clique em uma aba para alternar para ela. Você pode abrir várias abas para "
1464 "gerenciar seu trabalho no <app>Terminal</app>. Isto permite que você efetue "
1465 "várias atividades simultaneamente, como executar programas, navegar por "
1466 "diretórios ou editar de arquivos, numa única janela do <app>Terminal</app>."
15271467
15281468 #. (itstool) path: section/title
1529 #: C/gs-tabs.page:41
1530 #, fuzzy
1469 #: C/gs-tabs.page:46
15311470 msgid "Open a new tab"
1532 msgstr "Abrir nova aba"
1471 msgstr "Abrindo uma nova aba"
15331472
15341473 #. (itstool) path: section/p
1535 #: C/gs-tabs.page:43
1474 #: C/gs-tabs.page:48
15361475 msgid "To open a new tab inside your current <app>Terminal</app> window:"
1537 msgstr ""
1538 "Para abrir uma nova aba dentro da sua atual janela de <app>Terminal</app>:"
1539
1540 #. (itstool) path: item/p
1541 #: C/gs-tabs.page:46
1542 msgid ""
1543 "Select <guiseq><gui style=\"menu\">File</gui> <gui style=\"menuitem\">Open "
1544 "tab</gui></guiseq>."
1476 msgstr "Para abrir uma nova aba dentro da janela atual do <app>Terminal</app>:"
1477
1478 #. (itstool) path: item/p
1479 #: C/gs-tabs.page:51
1480 msgid "Press <keyseq><key>Shift</key><key>Ctrl</key><key>T</key></keyseq>."
1481 msgstr ""
1482 "Pressione as teclas <keyseq><key>Shift</key><key>Ctrl</key><key>T</key></"
1483 "keyseq>."
1484
1485 #. (itstool) path: section/title
1486 #: C/gs-tabs.page:88
1487 msgid "Remove a tab"
1488 msgstr "Fechando uma aba"
1489
1490 #. (itstool) path: section/p
1491 #: C/gs-tabs.page:90
1492 msgid ""
1493 "To close an existing tab inside your current <app>Terminal</app> window:"
1494 msgstr "Para fechar uma aba dentro da janela atual do <app>Terminal</app>:"
1495
1496 #. (itstool) path: item/p
1497 #: C/gs-tabs.page:95
1498 msgid ""
1499 "Select <guiseq><gui style=\"menu\">File</gui><gui style=\"menuitem\">Close "
1500 "Terminal</gui></guiseq>."
15451501 msgstr ""
15461502 "Selecione <guiseq><gui style=\"menu\">Arquivo</gui> <gui style=\"menuitem"
1547 "\">Abrir aba</gui></guiseq>."
1503 "\">Fechar terminal</gui></guiseq>."
15481504
15491505 #. (itstool) path: section/p
1550 #: C/gs-tabs.page:51
1551 msgid ""
1552 "Alternatively, to open a new tab you can press <keyseq><key>Shift</"
1553 "key><key>Ctrl</key><key>T</key></keyseq>."
1554 msgstr ""
1555
1556 #. (itstool) path: section/title
1557 #: C/gs-tabs.page:57
1558 msgid "Rename a tab"
1559 msgstr "Renomeando uma aba"
1560
1561 #. (itstool) path: section/p
1562 #: C/gs-tabs.page:59
1563 msgid ""
1564 "Each tab has an automatically assigned title. You can rename the tabs "
1565 "individually:"
1566 msgstr ""
1567 "Cada aba tem um título atribuído automaticamente. Você pode renomear as abas "
1568 "individualmente:"
1569
1570 #. (itstool) path: item/p
1571 #: C/gs-tabs.page:64
1572 msgid ""
1573 "Select <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
1574 "\">Set Title…</gui></guiseq>."
1575 msgstr ""
1576 "Selecione <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
1577 "\">Definir título</gui></guiseq>."
1578
1579 #. (itstool) path: item/p
1580 #: C/gs-tabs.page:68
1581 msgid ""
1582 "Enter the <gui>Title</gui> that you wish to use, enter the desired name for "
1583 "the tab. This will overwrite any titles that would be set by terminal "
1584 "commands."
1585 msgstr ""
1586 "Insira o <gui>Título</gui> que você quiser, coloque o nome desejado para a "
1587 "aba. Isso vai sobreescrever todos os títulos que foram definidos por "
1588 "comandos do terminal."
1589
1590 #. (itstool) path: note/p
1591 #: C/gs-tabs.page:72
1592 msgid ""
1593 "It is not possible to unset a title once it has been set for a tab. To see "
1594 "the title, you need to allow terminal command titles to be shown in the <gui "
1595 "style=\"menuitem\">Profile Preferences</gui>."
1596 msgstr ""
1597
1598 #. (itstool) path: item/p
1599 #: C/gs-tabs.page:78
1600 #, fuzzy
1601 msgid "Click <gui style=\"button\">OK</gui>."
1602 msgstr "Clique em <gui style=\"button\">Novo</gui>."
1603
1604 #. (itstool) path: section/title
1605 #: C/gs-tabs.page:84
1606 #, fuzzy
1607 msgid "Remove a tab"
1608 msgstr "Fecha aba"
1609
1610 #. (itstool) path: section/p
1611 #: C/gs-tabs.page:86
1612 #, fuzzy
1613 msgid ""
1614 "To close an existing tab inside your current <app>Terminal</app> window:"
1615 msgstr ""
1616 "Para abrir uma nova aba dentro da sua atual janela de <app>Terminal</app>:"
1617
1618 #. (itstool) path: item/p
1619 #: C/gs-tabs.page:90
1620 #, fuzzy
1621 msgid ""
1622 "Select <guiseq><gui style=\"menu\">File</gui> <gui style=\"menuitem\">Close "
1623 "Tab</gui></guiseq>."
1624 msgstr ""
1625 "Selecione <guiseq><gui style=\"menu\">Arquivo</gui> <gui style=\"menuitem"
1626 "\">Abrir aba</gui></guiseq>."
1627
1628 #. (itstool) path: section/p
1629 #: C/gs-tabs.page:95
1506 #: C/gs-tabs.page:101
16301507 msgid ""
16311508 "Alternatively, you can click on the <gui style=\"button\">×</gui> in the top "
16321509 "right corner of the tab or right click on the tab and select <gui style="
1633 "\"menuitem\">Close Tab</gui>."
1634 msgstr ""
1510 "\"menuitem\">Close Terminal</gui>."
1511 msgstr ""
1512 "Como alternativa, você pode clicar no <gui style=\"button\">x</gui> no canto "
1513 "superior direito da aba ou clicar com o botão direito do mouse na aba e "
1514 "selecionar <gui style=\"menuitem\">Fechar o terminal</gui>."
16351515
16361516 #. (itstool) path: section/title
1637 #: C/gs-tabs.page:102
1638 #, fuzzy
1517 #: C/gs-tabs.page:108
16391518 msgid "Reorder tabs"
1640 msgstr "Mostrar abas"
1519 msgstr "Ordenando abas"
16411520
16421521 #. (itstool) path: section/p
1643 #: C/gs-tabs.page:104
1522 #: C/gs-tabs.page:110
16441523 msgid "To change the ordering of tabs in a window:"
16451524 msgstr "Para alterar a ordem das abas em uma janela:"
16461525
16471526 #. (itstool) path: item/p
1648 #: C/gs-tabs.page:107 C/gs-tabs.page:134 C/gs-tabs.page:162
1649 #, fuzzy
1527 #: C/gs-tabs.page:113 C/gs-tabs.page:140 C/gs-tabs.page:168
16501528 msgid "Click and hold the left mouse button on the tab."
1651 msgstr ""
1652 "Pressione e mantenha o botão esquerdo do mouse para simular um clique com o "
1653 "botão direito."
1654
1655 #. (itstool) path: item/p
1656 #: C/gs-tabs.page:110
1657 #, fuzzy
1658 msgid "Drag the tab to the desired position amongst the other tabs."
1659 msgstr "Mova a aba para a posição desejada entre as outras abas"
1660
1661 #. (itstool) path: item/p
1662 #: C/gs-tabs.page:113 C/gs-tabs.page:143 C/gs-tabs.page:168
1663 #, fuzzy
1529 msgstr "Clique e segure o botão esquerdo do mouse na aba."
1530
1531 #. (itstool) path: item/p
1532 #: C/gs-tabs.page:116
1533 msgid "Drag the tab to the desired position among the other tabs."
1534 msgstr "Mova a aba para a posição desejada entre as outras abas."
1535
1536 #. (itstool) path: item/p
1537 #: C/gs-tabs.page:119 C/gs-tabs.page:149 C/gs-tabs.page:174
16641538 msgid "Release the mouse button."
16651539 msgstr "Solte o botão do mouse."
16661540
16671541 #. (itstool) path: section/p
1668 #: C/gs-tabs.page:117
1669 #, fuzzy
1542 #: C/gs-tabs.page:123
16701543 msgid ""
16711544 "The tab will be placed in the position closest to where you released the "
16721545 "tab, immediately beside other open tabs."
16731546 msgstr ""
1674 "A aba será colocada na posição mais próxima de onde você soltar a guia, "
1675 "imediatamente ao lado de outras abas abertas."
1547 "A aba será colocada na posição mais próxima de onde você a soltar, ao lado "
1548 "de outras abas abertas."
16761549
16771550 #. (itstool) path: section/p
1678 #: C/gs-tabs.page:120
1551 #: C/gs-tabs.page:126
16791552 msgid ""
16801553 "Alternatively, you can reorder a tab by right clicking on a tab and "
1681 "selecting <gui style=\"menuitem\">Move Tab Left</gui> to move the tab to the "
1682 "left or <gui style=\"menuitem\">Move Tab Right</gui> to move the tab to the "
1683 "right. This will reorder the tab position by moving it one place at a time."
1684 msgstr ""
1554 "selecting <gui style=\"menuitem\">Move Terminal Left</gui> to move the tab "
1555 "to the left or <gui style=\"menuitem\">Move Terminal Right</gui> to move the "
1556 "tab to the right. This will reorder the tab position by moving it one place "
1557 "at a time."
1558 msgstr ""
1559 "Como alternativa, você pode reordenar as abas clicando com o botão direito "
1560 "do mouse em uma aba e selecionando <gui style=\"menuitem\">Mover terminal "
1561 "para a esquerda</gui> para mover a aba para a esquerda ou <gui style="
1562 "\"menuitem\">Mover terminal para a direita</gui> para mover a aba para a "
1563 "direita. Isto irá reordenar as abas, movendo uma posição por vez."
16851564
16861565 #. (itstool) path: section/title
1687 #: C/gs-tabs.page:129
1566 #: C/gs-tabs.page:135
16881567 msgid "Move a tab to another <app>Terminal</app> window"
16891568 msgstr "Movendo a aba para outra janela do <app>Terminal</app>"
16901569
16911570 #. (itstool) path: section/p
1692 #: C/gs-tabs.page:131
1693 #, fuzzy
1571 #: C/gs-tabs.page:137
16941572 msgid "If you want to move a tab from one window to another:"
16951573 msgstr "Se você deseja mover uma aba de uma janela para outra:"
16961574
16971575 #. (itstool) path: item/p
1698 #: C/gs-tabs.page:137
1699 #, fuzzy
1576 #: C/gs-tabs.page:143
17001577 msgid "Drag the tab to the new window."
17011578 msgstr "Arraste a aba para a nova janela."
17021579
17031580 #. (itstool) path: item/p
1704 #: C/gs-tabs.page:140
1705 #, fuzzy
1581 #: C/gs-tabs.page:146
17061582 msgid "Place it beside other tabs in the new window."
1707 msgstr "Coloque-a ao lado de outras abas na nova janela."
1583 msgstr "Posicione-a entre as outras abas na nova janela."
17081584
17091585 #. (itstool) path: note/p
1710 #: C/gs-tabs.page:148
1586 #: C/gs-tabs.page:154
17111587 msgid ""
17121588 "You can move a tab from one window to another by dragging the tab to the "
17131589 "<gui>Activities</gui> hot-corner of the <gui>GNOME Shell</gui>. This will "
17141590 "reveal each of the open <app>Terminal</app> windows. You can release the tab "
17151591 "that you are holding over the desired <app>Terminal</app> window."
17161592 msgstr ""
1593 "Você pode mover uma aba de uma janela para outra, arrastando a guia para o "
1594 "canto do panorama de <gui>Atividades</gui> do <gui>GNOME Shell</gui>. Isto "
1595 "irá mostrar as janelas abertas do <app>Terminal</app>. Você pode liberar a "
1596 "aba que você está segurando sobre a janela <app>Terminal</app> desejada."
17171597
17181598 #. (itstool) path: section/title
1719 #: C/gs-tabs.page:157
1720 #, fuzzy
1599 #: C/gs-tabs.page:163
17211600 msgid "Move a tab to create a new <app>Terminal</app> window"
1722 msgstr ""
1723 "Para abrir uma nova aba dentro da sua atual janela de <app>Terminal</app>:"
1601 msgstr "Movendo a aba para criar uma nova janela do <app>Terminal</app>"
17241602
17251603 #. (itstool) path: section/p
1726 #: C/gs-tabs.page:159
1604 #: C/gs-tabs.page:165
17271605 msgid "To create a new window from an existing tab:"
17281606 msgstr "Para criar um nova janela a partir de uma aba existente:"
17291607
17301608 #. (itstool) path: item/p
1731 #: C/gs-tabs.page:165
1609 #: C/gs-tabs.page:171
17321610 msgid "Drag the tab out of the current <app>Terminal</app> window."
1733 msgstr ""
1611 msgstr "Arraste a aba para fora da janela do <app>Terminal</app>."
1612
1613 #. (itstool) path: info/title
1614 #: C/index.page:8
1615 msgctxt "link"
1616 msgid "Terminal"
1617 msgstr "Terminal"
1618
1619 #. (itstool) path: info/title
1620 #: C/index.page:9
1621 msgctxt "text"
1622 msgid "Terminal"
1623 msgstr "Terminal"
1624
1625 #. (itstool) path: credit/name
1626 #: C/index.page:22
1627 msgid "Jim Campbell"
1628 msgstr "Jim Campbell"
1629
1630 #. (itstool) path: info/desc
1631 #: C/index.page:29
1632 msgid "Set up and use the highly customizable GNOME terminal emulator."
1633 msgstr ""
1634 "Configure e use o emulador de terminal altamente customizável do GNOME."
1635
1636 #. (itstool) path: page/title
1637 #: C/index.page:33
1638 msgid "<_:media-1/> Terminal Help"
1639 msgstr "<_:media-1/> Ajuda do Terminal"
1640
1641 # Tradução adotada como: Primeiros passos, conforme foi definido na lista de discussão de nossa equipe -- Enrico Nicoletto
1642 #. (itstool) path: section/title
1643 #: C/index.page:40
1644 msgid "Getting started"
1645 msgstr "Primeiros passos"
1646
1647 #. (itstool) path: section/title
1648 #: C/index.page:44
1649 msgid "Working with text"
1650 msgstr "Trabalhando com texto"
1651
1652 #. (itstool) path: section/title
1653 #: C/index.page:48
1654 msgid "Customize appearance"
1655 msgstr "Personalizando a aparência"
1656
1657 #. (itstool) path: section/title
1658 #: C/index.page:52
1659 msgid "Customize behavior"
1660 msgstr "Personalizando o comportamento"
1661
1662 #. (itstool) path: section/title
1663 #: C/index.page:56
1664 msgid "Advanced Settings"
1665 msgstr "Configurações avançadas"
1666
1667 #. (itstool) path: section/title
1668 #: C/index.page:60
1669 msgid "Troubleshooting"
1670 msgstr "Resolução de problemas"
17341671
17351672 #. (itstool) path: media
17361673 #. This is a reference to an external file such as an image or video. When
17371674 #. the file changes, the md5 hash will change to let you know you need to
17381675 #. update your localized copy. The msgstr is not used at all. Set it to
17391676 #. whatever you like once you have updated your copy of the file.
1740 #: C/introduction.page:42
1677 #: C/introduction.page:44
17411678 msgctxt "_"
17421679 msgid ""
17431680 "external ref='figures/gnome-terminal.png' "
17471684 "md5='132ea5e3bd4bce343c4b1969b4ff5d1c'"
17481685
17491686 #. (itstool) path: info/desc
1750 #: C/introduction.page:27
1751 msgid "What is <app>Terminal</app>?"
1752 msgstr "O que é o <app>Terminal</app>?"
1687 #: C/introduction.page:29
1688 msgid "Learn about the GNOME terminal emulator."
1689 msgstr "Saiba mais sobre o emulador de terminal do GNOME."
17531690
17541691 #. (itstool) path: page/title
1755 #: C/introduction.page:30
1692 #: C/introduction.page:32
17561693 msgid "Introduction"
17571694 msgstr "Introdução"
17581695
17591696 #. (itstool) path: page/p
1760 #: C/introduction.page:32
1697 #: C/introduction.page:34
17611698 msgid ""
17621699 "<app>Terminal</app> is a terminal emulator application for accessing a UNIX "
17631700 "shell environment which can be used to run programs available on your system."
17641701 msgstr ""
1765
1766 #. (itstool) path: page/p
1767 #: C/introduction.page:36
1702 "O <app>Terminal</app> é um emulador de terminal para acessar um ambiente de "
1703 "shell UNIX que pode ser usado para executar o programas disponíveis de seu "
1704 "sistema."
1705
1706 #. (itstool) path: page/p
1707 #: C/introduction.page:38
17681708 msgid ""
17691709 "<app>Terminal</app> supports escape sequences that control cursor position "
17701710 "and colors."
17711711 msgstr ""
1712 "O <app>Terminal</app> oferece suporte a sequências de escape que controlam a "
1713 "posição do cursor e as cores."
17721714
17731715 #. (itstool) path: figure/title
1774 #: C/introduction.page:40
1716 #: C/introduction.page:42
17751717 msgid "GNOME Terminal"
17761718 msgstr "Terminal do GNOME"
17771719
17781720 #. (itstool) path: figure/desc
1779 #: C/introduction.page:41
1780 #, fuzzy
1721 #: C/introduction.page:43
17811722 msgid "Screenshot of GNOME <app>Terminal</app>"
1782 msgstr "Mostra as opções do Terminal do GNOME"
1723 msgstr "Captura de tela do <app>Terminal</app> do GNOME"
17831724
17841725 #. (itstool) path: p/link
17851726 #: C/legal.xml:4
17941735
17951736 #. (itstool) path: license/p
17961737 #: C/legal.xml:3
1797 msgid "This work is dual-licensed under a <_:link-1/> and a <_:link-2/>."
1798 msgstr ""
1799 "Este trabalho é licenciado duplamente por uma <_:link-1/> e uma <_:link-2/>."
1738 msgid ""
1739 "This work is licensed under a <_:link-1/> and a <_:link-2/>. It may be "
1740 "redistributed and/or modified under either license."
1741 msgstr ""
1742 "Esta obra é licenciada duplamente sob a <_:link-1/> e a <_:link-2/>. Pode "
1743 "ser redistribuído e/ou modificado sob qualquer dessas licenças."
18001744
18011745 #. (itstool) path: license/p
18021746 #: C/legal.xml:9
18071751 #: C/legal.xml:10
18081752 msgid ""
18091753 "This work is free software: you can redistribute it and/or modify it under "
1810 "the terms of the GNU General Public License as published by the Free "
1811 "Software Foundation, either version 3 of the License."
1754 "the terms of the GNU General Public License version 3 as published by the "
1755 "Free Software Foundation."
18121756 msgstr ""
18131757 "Este programa é um software livre; você pode redistribuí-lo e/ou modificá-lo "
1814 "sob os termos da Licença Pública Geral GNU publicada pela Free Software "
1815 "Foundation; qualquer versão 3 da Licença."
1758 "sob os termos da Licença Pública Geral GNU versão 3, como publicado pela "
1759 "Free Software Foundation."
18161760
18171761 #. (itstool) path: license/p
18181762 #: C/legal.xml:14
18521796 "following terms and their descriptions will help you to be familiar with "
18531797 "<app>Terminal</app> and its capabilities."
18541798 msgstr ""
1799 "O <app>Terminal</app> é um programa de terminal para o <gui>GNOME</gui>. Os "
1800 "próximos termos e suas descrições irão ajudá-lo a se familiarizar com o "
1801 "<app>Terminal</app> e seus recursos."
18551802
18561803 #. (itstool) path: item/title
18571804 #: C/overview.page:32
18641811 "A terminal is a text input point in a computer also called the Command Line "
18651812 "Interface (CLI)."
18661813 msgstr ""
1814 "Um terminal é um ponto de entrada de texto em um computador também chamado "
1815 "de \"Command Line Interface\" (CLI)."
18671816
18681817 #. (itstool) path: item/title
18691818 #: C/overview.page:37
18771826 "produced as physical devices. To emulate these terminals, there are terminal "
18781827 "emulators."
18791828 msgstr ""
1829 "IBM 3270, VT100 e muitos outros são terminais que não são mais produzidos "
1830 "como dispositivos físicos. Para emular estes terminais, existem os "
1831 "emuladores."
18801832
18811833 #. (itstool) path: item/title
18821834 #: C/overview.page:43
18891841 "Emulation is the ability of a computer program to imitate another program or "
18901842 "device."
18911843 msgstr ""
1892 "Emulação é a capacidade de um programa imitar outro programa ou dispositivo. "
1844 "Emulação é a capacidade de um programa imitar outro programa ou dispositivo."
18931845
18941846 #. (itstool) path: item/p
18951847 #: C/overview.page:47
19011853 "or on a different one via <app>telnet</app>, <app>ssh</app>, or <app>dial-"
19021854 "up</app>."
19031855 msgstr ""
1856 "Um emulador de terminal, também chamado de \"tty\", é um programa que emula "
1857 "um terminal em computadores modernos que usam interfaces gráficas de usuário "
1858 "e fornecem acesso interativo para aplicativos que são executados somente em "
1859 "ambientes de linha de comando. Esses aplicativos podem estar executando na "
1860 "mesma máquina ou em outra via <app>telnet</app>, <app>ssh</app> ou <app>dial-"
1861 "up</app>."
19041862
19051863 #. (itstool) path: item/title
19061864 #: C/overview.page:55
19071865 msgid "VTE"
1908 msgstr ""
1866 msgstr "VTE"
19091867
19101868 #. (itstool) path: item/p
19111869 #: C/overview.page:56
19151873 "<app>Terminal</app> is largely based on the <app>VTE</app>. <app>VTE</app> "
19161874 "has widgets that implement a fully functional terminal emulator."
19171875 msgstr ""
1876 "O \"Virtual Terminal Environment\" (VTE) é um emulador de terminal que emula "
1877 "um terminal de texto num ambiente de interface gráfica do usuário (GUI). O "
1878 "<app>Terminal</app> é em grande parte baseado no <app>VTE</app>. O <app>VTE</"
1879 "app> tem componentes que implementam um emulador de terminal totalmente "
1880 "funcional."
19181881
19191882 #. (itstool) path: item/title
19201883 #: C/overview.page:63
19241887 #. (itstool) path: item/p
19251888 #: C/overview.page:64
19261889 msgid ""
1927 "A <app>shell</app> is a program that provides an interface to invoke or "
1890 "A <em>shell</em> is a program that provides an interface to invoke or "
19281891 "\"launch\" commands or another program inside a terminal. It also allows you "
19291892 "to view and browse the contents of directories. Popular shells are "
1930 "<app>Bash</app>, <app>rsh</app>, <app>tsh</app>, <app>fish</app> and so on."
1931 msgstr ""
1893 "<app>bash</app>, <app>zsh</app>, <app>csh</app>."
1894 msgstr ""
1895 "Um <em>shell</em> é um programa que fornece interface para invocar ou "
1896 "\"lançar\" comandos ou programas dentro de um terminal. Ele também permite "
1897 "que você visualize e navegue pelo conteúdo de diretórios. <em>Shells</em> "
1898 "populares: <app>bash</app>, <app>zsh</app> e <app>csh</app>."
19321899
19331900 #. (itstool) path: item/title
1901 #: C/overview.page:70
1902 msgid "Escape Sequences"
1903 msgstr "Sequências de escape"
1904
1905 #. (itstool) path: item/p
19341906 #: C/overview.page:71
1935 msgid "Escape Sequences"
1936 msgstr "Sequências de escapes"
1937
1938 #. (itstool) path: item/p
1939 #: C/overview.page:72
19401907 msgid ""
19411908 "An escape sequence is a series of characters used to change the meaning of "
19421909 "data in a terminal. Escape sequences are used when a computer has only "
19441911 "to distinguish if data being sent is a command to be executed or information "
19451912 "to be stored and displayed."
19461913 msgstr ""
1914 "Uma sequência de escape é uma série de caracteres usados para mudar o "
1915 "significado dos dados em um terminal. Sequências de escape são usadas quando "
1916 "um computador tem apenas um único canal para enviar e receber informações. "
1917 "Sequências de escape são usadas para distinguir se os dados enviados são "
1918 "comandos a executar ou informação a armazenar e exibir."
19471919
19481920 #. (itstool) path: item/title
1949 #: C/overview.page:80
1921 #: C/overview.page:79
19501922 msgid "Prompt"
19511923 msgstr "Prompt"
19521924
19531925 #. (itstool) path: item/p
1954 #: C/overview.page:81
1926 #: C/overview.page:80
19551927 msgid ""
19561928 "A prompt also called a <em>command prompt</em>. It is a sequence of "
19571929 "characters used in the command line environment to indicate the readiness of "
19581930 "the shell to accept commands."
19591931 msgstr ""
1960
1961 #. (itstool) path: item/p
1962 #: C/overview.page:85
1963 msgid ""
1964 "A prompt usually ends with characters $, %, # or &gt; and include "
1965 "information about path of present working directory. On Unix based systems, "
1966 "it is common for the prompt to end in a $ or % character depending on the "
1967 "user role such as $ for user and # for superuser (also called root)."
1968 msgstr ""
1932 "Um <em>prompt</em> também é chamado de <em>prompt de comando</em>. É uma "
1933 "sequência de caracteres usados no ambiente de linha de comando para indicar "
1934 "que o <em>shell</em> está pronto para aceitar comandos."
1935
1936 #. (itstool) path: item/p
1937 #: C/overview.page:84
1938 msgid ""
1939 "A prompt usually ends with characters <sys>$</sys>, <sys>%</sys>, <sys>#</"
1940 "sys> or <sys>&gt;</sys> and include information about path of present "
1941 "working directory. On Unix based systems, it is common for the prompt to end "
1942 "in a <sys>$</sys> or <sys>%</sys> character depending on the user role such "
1943 "as <sys>$</sys> for user and <sys>#</sys> for superuser (also called "
1944 "<sys>root</sys>)."
1945 msgstr ""
1946 "Um <em>prompt</em> geralmente termina com os caracteres <sys>$</sys>, <sys>"
1947 "%</sys>, <sys>#</sys> ou <sys>&gt;</sys> e inclui informações sobre caminho "
1948 "do diretório de trabalho atual. Em sistemas baseados em Unix, é comum o "
1949 "<em>prompt</em> terminar com os caracteres <sys>$</sys> ou <sys>%</sys> "
1950 "dependendo da função do usuário, ou em <sys>#</sys> para o superusuário "
1951 "(também chamado de <em>root</em>)."
19691952
19701953 #. (itstool) path: item/title
1971 #: C/overview.page:92
1954 #: C/overview.page:93
19721955 msgid "Command"
19731956 msgstr "Comando"
19741957
19751958 #. (itstool) path: item/p
1976 #: C/overview.page:93
1959 #: C/overview.page:94
19771960 msgid ""
19781961 "An input entered in the prompt to be executed is called a <em>command</em>. "
19791962 "It is a combination of the program name along with any other additional "
1980 "parameteres passed as flags to alter the execution of the program."
1981 msgstr ""
1963 "parameters passed as flags to alter the execution of the program."
1964 msgstr ""
1965 "Uma entrada feita no <em>prompt</em> para ser executada é chamado de "
1966 "<em>comando</em>. Ele é uma combinação do nome do programa com quaisquer "
1967 "outros parâmetros adicionais transmitidos como argumentos para alterar a "
1968 "execução do programa."
19821969
19831970 #. (itstool) path: page/title
19841971 #: C/pref.page:18
19921979
19931980 #. (itstool) path: page/title
19941981 #: C/pref-bell.page:32
1995 #, fuzzy
19961982 msgid "Set audible bell"
1997 msgstr "Campainha de sistema é audível"
1983 msgstr "Configurando uma campainha"
19981984
19991985 #. (itstool) path: page/p
20001986 #: C/pref-bell.page:34
20051991 "finished executing, or when a command ends execution with a warning, error "
20061992 "or notification."
20071993 msgstr ""
1994 "O <app>Terminal</app> pode gerar uma notificação sonora para indicar eventos "
1995 "em janelas e abas. Por exemplo, uma campainha soará quando a tecla <key>Tab</"
1996 "key> for pressionada para auto-completar um comando, quando um comando tiver "
1997 "terminado a execução, ou quando um comando termina a execução com um aviso, "
1998 "erro ou notificação."
20081999
20092000 #. (itstool) path: page/p
20102001 #: C/pref-bell.page:40
2011 #, fuzzy
20122002 msgid "To be notified of these events:"
2013 msgstr "Essas opções podem ser passadas para %s:"
2014
2015 #. (itstool) path: item/p
2016 #: C/pref-bell.page:48
2003 msgstr "Para ser notificado destes eventos:"
2004
2005 #. (itstool) path: item/p
2006 #: C/pref-bell.page:47
20172007 msgid "Select <gui style=\"checkbox\">Terminal bell</gui>"
2018 msgstr "Selecione <gui style=\"checkbox\">Campainha do terminal</gui>"
2019
2020 #. (itstool) path: item/p
2021 #: C/pref-bell.page:51
2008 msgstr "Marque a opção <gui style=\"checkbox\">Som do terminal</gui>"
2009
2010 #. (itstool) path: item/p
2011 #: C/pref-bell.page:50
20222012 msgid ""
20232013 "The setting will be saved automatically. Press <gui style=\"button\">Close</"
20242014 "gui> to quit the preference dialog."
20252015 msgstr ""
2016 "A configuração será salva automaticamente. Pressione <gui style=\"button"
2017 "\">Fechar</gui> para sair do diálogo."
20262018
20272019 #. (itstool) path: note/p
2028 #: C/pref-bell.page:57
2020 #: C/pref-bell.page:56
20292021 msgid ""
20302022 "To preview the bell sound that your system produces, press "
20312023 "<keyseq><key>Ctrl</key><key>G</key></keyseq>."
20322024 msgstr ""
2025 "Para ver o som que seu sistema produz, pressione <keyseq><key>Ctrl</"
2026 "key><key>G</key></keyseq>."
2027
2028 #. (itstool) path: credit/years
2029 #: C/pref-custom-exit.page:20 C/pref-custom-command.page:21
2030 #: C/pref-profiles.page:19
2031 msgid "2013-2014"
2032 msgstr "2013-2014"
20332033
20342034 #. (itstool) path: info/desc
2035 #: C/pref-custom-exit.page:29
2036 msgid ""
2037 "Set the behaviour of <app>Terminal</app> when a custom command or the "
2038 "default shell exits."
2039 msgstr ""
2035 #: C/pref-custom-exit.page:30
2036 msgid ""
2037 "Set the behavior of <app>Terminal</app> when a custom command or the default "
2038 "shell exits."
2039 msgstr ""
2040 "Define o comportamento do <app>Terminal</app> quando um comando solicita que "
2041 "o shell termine."
20402042
20412043 #. (itstool) path: page/title
2042 #: C/pref-custom-exit.page:33
2043 msgid "Set behaviour on command exit"
2044 msgstr ""
2045
2046 #. (itstool) path: page/p
2047 #: C/pref-custom-exit.page:35
2044 #: C/pref-custom-exit.page:34
2045 msgid "Set behavior on command exit"
2046 msgstr "Definindo o comportamento após a solicitação para terminar"
2047
2048 #. (itstool) path: page/p
2049 #: C/pref-custom-exit.page:36
20482050 msgid ""
20492051 "You can set the terminal to exit, restart or remain open when the shell or a "
20502052 "custom command exits:"
20512053 msgstr ""
2052
2053 #. (itstool) path: item/p
2054 #: C/pref-custom-exit.page:40
2055 msgid ""
2056 "Select <guiseq> <gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
2057 "\">Preferences</gui> <gui style=\"tab\">Title and Command</gui></guiseq>."
2058 msgstr ""
2054 "Você pode configurar o terminal para sair, reiniciar o comando ou permanecer "
2055 "aberto quando um quando o comando filho iniciado pelo shell sai:"
2056
2057 #. (itstool) path: item/p
2058 #: C/pref-custom-exit.page:41 C/pref-custom-command.page:47
2059 msgid ""
2060 "Select <guiseq><gui style=\"menu\">Edit</gui><gui style=\"menuitem\">Profile "
2061 "Preferences</gui><gui style=\"tab\">Command</gui></guiseq>."
2062 msgstr ""
2063 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2064 "\">Preferências do perfil</gui> <gui style=\"tab\">Comando</gui></guiseq>."
20592065
20602066 #. (itstool) path: item/p
20612067 #: C/pref-custom-exit.page:46
20622068 msgid ""
20632069 "From the <gui>When command exits</gui> drop down list, select one of the "
20642070 "following options:"
2065 msgstr ""
2071 msgstr "Na lista em <gui>Quando o comando sai</gui> escolha uma das opções:"
20662072
20672073 #. (itstool) path: item/p
20682074 #: C/pref-custom-exit.page:50
2069 #, fuzzy
20702075 msgid "<gui>Exit the terminal</gui>"
2071 msgstr "Selecione <gui style=\"menu\">Terminal</gui>."
2076 msgstr "<gui>Sair do terminal</gui>"
20722077
20732078 #. (itstool) path: item/p
20742079 #: C/pref-custom-exit.page:53
2075 #, fuzzy
20762080 msgid "<gui>Restart the command</gui>"
2077 msgstr "Desabilitar linha de comando"
2081 msgstr "<gui>Reiniciar o comando</gui>"
20782082
20792083 #. (itstool) path: item/p
20802084 #: C/pref-custom-exit.page:56
2081 #, fuzzy
20822085 msgid "<gui>Hold the terminal open</gui>"
2083 msgstr "Abra <gui>Contas de usuários</gui>."
2086 msgstr "<gui>Manter o terminal aberto</gui>"
20842087
20852088 #. (itstool) path: item/p
20862089 #: C/pref-custom-exit.page:59
20872090 msgid "The setting will be saved automatically when you select it."
2088 msgstr ""
2089 "A configuração será salva automaticamente quando você selecionar isso. "
2091 msgstr "A configuração será salva automaticamente quando você selecionar isso."
20902092
20912093 #. (itstool) path: note/p
20922094 #: C/pref-custom-exit.page:64
20932095 msgid ""
20942096 "If you have <link xref=\"pref-custom-command\">set a custom command</link> "
2095 "that is non-interactive, have set the exit behaviour to <gui>Exit the "
2097 "that is non-interactive, have set the exit behavior to <gui>Exit the "
20962098 "terminal</gui>, and have set the profile to be the default profile, "
20972099 "<app>Terminal</app> may exit before you can see the output of the command."
20982100 msgstr ""
2101 "Se você tiver <link xref=\"pref-custom-command\">definido um comando "
2102 "personalizado</link> que não é interativo, definido o comportamento de saída "
2103 "para <gui>Sair do terminal</gui>, e definiu o perfil para ser o perfil "
2104 "padrão, o <app>Terminal</app> pode fechar antes que você possa ver a saída "
2105 "do comando."
20992106
21002107 #. (itstool) path: info/desc
2101 #: C/pref-custom-command.page:30
2108 #: C/pref-custom-command.page:31
21022109 msgid ""
21032110 "Set <app>Terminal</app> to run a command or a different shell on startup."
21042111 msgstr ""
2112 "Faça o <app>Terminal</app> executar um comando personalizado em sua "
2113 "inicialização."
21052114
21062115 #. (itstool) path: page/title
2107 #: C/pref-custom-command.page:34
2108 #, fuzzy
2116 #: C/pref-custom-command.page:35
21092117 msgid "Custom commands and shells"
2110 msgstr "Imagem e rótulo personalizados:"
2111
2112 #. (itstool) path: page/p
2113 #: C/pref-custom-command.page:36
2118 msgstr "Comandos e shells personalizados"
2119
2120 #. (itstool) path: page/p
2121 #: C/pref-custom-command.page:37
21142122 msgid ""
21152123 "A <em>shell</em> is software that provides an interface for users of an "
21162124 "operating system to run <em>commands</em>, which can be programs such as "
21172125 "<app>top</app> or a command line shell. The default shell is usually "
21182126 "<app>Bash</app>."
21192127 msgstr ""
2120
2121 #. (itstool) path: page/p
2122 #: C/pref-custom-command.page:41
2128 "Um <em>shell</em> é um software que fornece uma interface para os usuários "
2129 "de um sistema operacional para executar <em>comandos</em>, que podem ser "
2130 "programas como <app>top</app> ou um shell de linha de comando. O shell "
2131 "padrão geralmente é o <app>Bash</app>."
2132
2133 #. (itstool) path: page/p
2134 #: C/pref-custom-command.page:42
21232135 msgid ""
21242136 "You can set <app>Terminal</app> to run a command when it starts up instead "
21252137 "of awaiting input from you:"
21262138 msgstr ""
2127
2128 #. (itstool) path: item/p
2129 #: C/pref-custom-command.page:46 C/pref-title.page:40
2130 msgid ""
2131 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
2132 "\">Profile Preferences</gui> <gui style=\"tab\">Title and Command</gui></"
2133 "guiseq>."
2134 msgstr ""
2135
2136 #. (itstool) path: item/p
2137 #: C/pref-custom-command.page:51
2139 "Você pode fazer o <app>Terminal</app> executar um comando quando ele inicia "
2140 "em vez de aguardar sua entrada:"
2141
2142 #. (itstool) path: item/p
2143 #: C/pref-custom-command.page:52
21382144 msgid "Check <gui>Run a custom command instead of my shell</gui>."
21392145 msgstr ""
2140 "Marque <gui>Executar um comando personalizado em vez da minha shell</gui>"
2141
2142 #. (itstool) path: item/p
2143 #: C/pref-custom-command.page:54
2146 "Marque <gui>Executar um comando personalizado em vez da shell padrão</gui>."
2147
2148 #. (itstool) path: item/p
2149 #: C/pref-custom-command.page:55
21442150 msgid "In the text box, type the command or the desired shell."
2145 msgstr ""
2146
2147 #. (itstool) path: item/p
2148 #: C/pref-custom-command.page:55
2151 msgstr "Na caixa de texto, digite o comando ou o shell desejado."
2152
2153 #. (itstool) path: item/p
2154 #: C/pref-custom-command.page:56
21492155 msgid ""
21502156 "The command will be passed to the terminal exactly as you write it, "
21512157 "including any arguments that you specify. Environment variables will be "
21522158 "inherited from the terminal as it is a child process of the terminal."
21532159 msgstr ""
2154
2155 #. (itstool) path: item/p
2156 #: C/pref-custom-command.page:60
2160 "O comando será passado para o terminal exatamente como você escrever, "
2161 "incluindo quaisquer argumentos que especificar. As variáveis de ambiente "
2162 "serão herdadas do terminal, pois o comando será um processo filho do "
2163 "terminal."
2164
2165 #. (itstool) path: item/p
2166 #: C/pref-custom-command.page:61
21572167 msgid ""
21582168 "Open a new <app>Terminal</app> tab or window to see how the custom shell or "
21592169 "command executes."
21602170 msgstr ""
2161
2162 #. (itstool) path: page/p
2163 #: C/pref-custom-command.page:65
2164 msgid ""
2165 "You can also <link xref=\"pref-custom-exit\">set the behaviour</link> of the "
2171 "Abra uma nova aba ou janela do <app>Terminal</app> para ver como o shell "
2172 "personalizado ou comando executa."
2173
2174 #. (itstool) path: page/p
2175 #: C/pref-custom-command.page:66
2176 msgid ""
2177 "You can also <link xref=\"pref-custom-exit\">set the behavior</link> of the "
21662178 "terminal once the command finishes executing."
21672179 msgstr ""
2180 "Você também pode <link xref=\"pref-custom-exit\">definir o comportamento</"
2181 "link> do terminal uma vez que o comando/shell em execução termina."
21682182
21692183 #. (itstool) path: note/p
2170 #: C/pref-custom-command.page:69
2184 #: C/pref-custom-command.page:70
21712185 msgid ""
21722186 "You may have to enter full path to the command or the shell if the directory "
21732187 "where the command or shell resides is not in the <code>PATH</code> variable "
21742188 "of your system."
21752189 msgstr ""
2190 "Você pode ter que inserir o caminho completo para o comando ou o shell se o "
2191 "diretório onde o comando ou shell reside não está na variável <code>PATH</"
2192 "code> do seu sistema."
21762193
21772194 #. (itstool) path: info/desc
21782195 #: C/pref-encoding.page:27
21792196 msgid "Change to a different character set support."
2180 msgstr ""
2197 msgstr "Mude o conjunto diferente de caracteres suportado."
21812198
21822199 #. (itstool) path: page/title
21832200 #: C/pref-encoding.page:31
21842201 msgid "Character encoding"
2185 msgstr "Codificação de caractere"
2202 msgstr "Codificação de caracteres"
21862203
21872204 #. (itstool) path: page/p
21882205 #: C/pref-encoding.page:33
21902207 "The default <em>character encoding</em> is usually UTF-8. You may want to "
21912208 "change character encoding in <app>Terminal</app> if you:"
21922209 msgstr ""
2210 "A <em>codificação de caracteres</em> padrão geralmente é UTF-8. Você pode "
2211 "precisar mudar a codificação de caracteres no <app>Terminal</app>, se:"
21932212
21942213 #. (itstool) path: item/p
21952214 #: C/pref-encoding.page:38
21972216 "are working with file or directory names that use characters unavailable in "
21982217 "your default encoding."
21992218 msgstr ""
2219 "está trabalhando com nomes de arquivos ou diretórios que usam caracteres não "
2220 "disponíveis na sua codificação padrão."
22002221
22012222 #. (itstool) path: item/p
22022223 #: C/pref-encoding.page:42
22032224 msgid ""
22042225 "use an external hard disk that uses different encoding from your system."
22052226 msgstr ""
2227 "usar um disco rígido externo que utiliza codificação de caracteres diferente "
2228 "de seu sistema."
22062229
22072230 #. (itstool) path: item/p
22082231 #: C/pref-encoding.page:46
22092232 msgid "connect to a remote computer that uses a different encoding."
2210 msgstr "Conecte a um computador que usa codificação diferente."
2233 msgstr ""
2234 "conectar a um computador remoto que usa uma codificação de caracteres "
2235 "diferente."
22112236
22122237 #. (itstool) path: section/title
22132238 #: C/pref-encoding.page:51
2214 #, fuzzy
22152239 msgid "Change the default character encoding"
2216 msgstr "A codificação padrão da visão web"
2240 msgstr "Mudando a codificação de caracteres padrão"
22172241
22182242 #. (itstool) path: item/p
22192243 #: C/pref-encoding.page:55
2220 #, fuzzy
22212244 msgid ""
22222245 "Select <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
22232246 "\">Set Character Encoding</gui></guiseq>."
22242247 msgstr ""
2225 "Escolha <menuchoice><guimenu>Terminal</guimenu><guimenuitem>Definir Título</"
2226 "guimenuitem></menuchoice>."
2248 "Selecione <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
2249 "\">Definir codificação de caractere</gui></guiseq>."
22272250
22282251 #. (itstool) path: item/p
22292252 #: C/pref-encoding.page:59
2230 #, fuzzy
22312253 msgid "Select the desired character encoding."
2232 msgstr "Selecione a disposição de teclado desejado."
2254 msgstr "Selecione a codificação de caracteres desejada."
22332255
22342256 #. (itstool) path: section/title
22352257 #: C/pref-encoding.page:66
2236 #, fuzzy
22372258 msgid "Add more options to the character encoding menu"
2238 msgstr "Alterando a codificação do terminal"
2259 msgstr "Adicionando mais opções ao menu de codificação de caracteres"
22392260
22402261 #. (itstool) path: item/p
22412262 #: C/pref-encoding.page:70
2242 #, fuzzy
22432263 msgid ""
22442264 "Select <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
22452265 "\">Set Character Encoding</gui> <gui style=\"menuitem\">Add or Remove…</"
22462266 "gui></guiseq>."
22472267 msgstr ""
2248 "Escolha <menuchoice><guimenu>Terminal</guimenu><guisubmenu>Definir "
2249 "Codificação de Caractere</guisubmenu><guimenuitem>Adicionar ou Remover</"
2250 "guimenuitem></menuchoice>."
2268 "Selecione <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
2269 "\">Definir codificação de caractere</gui> <gui style=\"menuitem\">Adicionar "
2270 "ou remover…</gui></guiseq>."
22512271
22522272 #. (itstool) path: item/p
22532273 #: C/pref-encoding.page:75
2254 #, fuzzy
22552274 msgid "Browse from the available encodings."
2256 msgstr "Novas atualizações disponíveis de"
2275 msgstr "Navegue nas codificações disponíveis."
22572276
22582277 #. (itstool) path: item/p
22592278 #: C/pref-encoding.page:78
22662285 "Click <gui style=\"button\">Close</gui> to quit the dialog and return to "
22672286 "<app>Terminal</app>."
22682287 msgstr ""
2288 "Clique em <gui style=\"button\">Fechar</gui> para sair da janela e voltar "
2289 "para o <app>Terminal</app>."
22692290
22702291 #. (itstool) path: note/p
2271 #: C/pref-encoding.page:87
2292 #: C/pref-encoding.page:87 C/pref-profile-encoding.page:52
22722293 msgid ""
22732294 "Most modern operating systems now support and use UTF-8 character encoding "
22742295 "by default."
22752296 msgstr ""
2297 "A maioria dos sistemas operacionais modernos suporta e utiliza a codificação "
2298 "de caracteres UTF-8 por padrão."
22762299
22772300 #. (itstool) path: info/desc
22782301 #: C/pref-keyboard-access.page:29
22792302 msgid "Navigate around <app>Terminal</app> menus using keyboard keys."
2280 msgstr ""
2303 msgstr "Navegue pelos menus do <app>Terminal</app> usando o teclado."
22812304
22822305 #. (itstool) path: page/title
22832306 #: C/pref-keyboard-access.page:32
2284 #, fuzzy
22852307 msgid "Keyboard accessibility"
2286 msgstr "Acessibilidade do teclado"
2308 msgstr "Acessos pelo teclado"
22872309
22882310 #. (itstool) path: note/p
22892311 #: C/pref-keyboard-access.page:35
22912313 "These keys will only have an effect in windows in which the menubar is set "
22922314 "to be visible."
22932315 msgstr ""
2316 "Essas teclas só terão efeito em janelas em que a barra de menu é configurada "
2317 "como visível."
22942318
22952319 #. (itstool) path: page/p
22962320 #: C/pref-keyboard-access.page:39
23002324 "to the first menu in the menubar which is called a <em>menu accelerator key</"
23012325 "em>."
23022326 msgstr ""
2327 "Você pode navegar no menu do <app>Terminal</app> usando uma combinação de "
2328 "teclas que são chamadas de <em>mnemônicos</em> (ou \"teclas de acesso) ou "
2329 "com uma tecla especial que o abre o primeiro menu - ela é chamada de "
2330 "<em>tecla de atalho do menu</em>."
23032331
23042332 #. (itstool) path: section/title
23052333 #: C/pref-keyboard-access.page:45
2306 #, fuzzy
23072334 msgid "Mnemonics"
2308 msgstr "Mnemônicos automáticos"
2335 msgstr "Mnemônicos (teclas de acesso)"
23092336
23102337 #. (itstool) path: section/p
23112338 #: C/pref-keyboard-access.page:47
23142341 "and a letter of the menu item. The letter that you need to use to access the "
23152342 "menu will be underlined when you hold down the <key>Alt</key>."
23162343 msgstr ""
2344 "Os menus do <app>Terminal</app> podem ser acessado através da combinação da "
2345 "tecla <key>Alt</key> e uma letra do item de menu. A letra que você precisa "
2346 "usar para acessar o menu será sublinhada quando você pressionar a tecla "
2347 "<key>Alt</key>."
23172348
23182349 #. (itstool) path: section/p
23192350 #: C/pref-keyboard-access.page:52
23232354 "style=\"menu\">File</gui> menu using <keyseq><key>Alt</key><key>F</key></"
23242355 "keyseq>."
23252356 msgstr ""
2357 "Por exemplo, para abrir o menu <gui style=\"menu\">Editar</gui> use "
2358 "<keyseq><key>Alt</key><key>E</key></keyseq>. Da mesma forma, você pode "
2359 "acessar o menu <gui style=\"menu\">Arquivo</gui> usando <keyseq><key>Alt</"
2360 "key><key>A</key></keyseq>."
23262361
23272362 #. (itstool) path: section/p
23282363 #: C/pref-keyboard-access.page:57
2329 #, fuzzy
23302364 msgid "To enable mnemonics:"
2331 msgstr "Uma marcação para habilitar a barra de ferramentas"
2365 msgstr "Para habilitar os mnemônicos:"
23322366
23332367 #. (itstool) path: item/p
23342368 #: C/pref-keyboard-access.page:61 C/pref-menubar.page:60
2335 #, fuzzy
2336 msgid ""
2337 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
2338 "\">Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
2369 msgid ""
2370 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\"> "
2371 "Preferences</gui> <gui style=\"tab\">General</gui></guiseq>."
23392372 msgstr ""
23402373 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2341 "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>."
2342
2343 #. (itstool) path: item/p
2344 #: C/pref-keyboard-access.page:66
2374 "\">Preferências</gui> <gui style=\"tab\">Geral</gui></guiseq>."
2375
2376 #. (itstool) path: item/p
2377 #: C/pref-keyboard-access.page:65
23452378 msgid "Check <gui style=\"checkbox\">Enable mnemonics</gui>."
2346 msgstr ""
2379 msgstr "Marque a opção <gui style=\"checkbox\">Habilitar mnemônicos</gui>."
23472380
23482381 #. (itstool) path: section/title
2349 #: C/pref-keyboard-access.page:73
2350 #, fuzzy
2382 #: C/pref-keyboard-access.page:72
23512383 msgid "Menu accelerator key"
23522384 msgstr "Atalho da barra de menu"
23532385
23542386 #. (itstool) path: section/p
2355 #: C/pref-keyboard-access.page:75
2387 #: C/pref-keyboard-access.page:74
23562388 msgid ""
23572389 "This setting brings up the <gui style=\"menu\">File</gui> menu the menu "
23582390 "accelerator key is pressed. This key is usually <key>F10</key> by default."
23592391 msgstr ""
2360
2361 #. (itstool) path: item/p
2362 #: C/pref-keyboard-access.page:86
2392 "Esta configuração abre o menu <gui style=\"menu\">Arquivo</gui> quando a "
2393 "tecla de atalho do menu pressionada. Essa tecla geralmente é a <key>F10</"
2394 "key> por padrão."
2395
2396 #. (itstool) path: item/p
2397 #: C/pref-keyboard-access.page:85
23632398 msgid "Check <gui style=\"checkbox\">Enable the menu accelerator key</gui>."
23642399 msgstr ""
2400 "Marque a opção <gui style=\"checkbox\">Habilitar a tecla de atalho do menu</"
2401 "gui>."
23652402
23662403 #. (itstool) path: info/desc
23672404 #: C/pref-menubar.page:30
2368 #, fuzzy
23692405 msgid "Hide and restore the menubar."
2370 msgstr "Ocultar e mostrar a barra de menu"
2406 msgstr "Ocultar e mostrar a barra de menus."
23712407
23722408 #. (itstool) path: page/title
23732409 #: C/pref-menubar.page:34
2374 #, fuzzy
23752410 msgid "Menubar visibility"
2376 msgstr "Visibilidade de “%s”"
2411 msgstr "Visibilidade da barra de menus"
23772412
23782413 #. (itstool) path: page/p
23792414 #: C/pref-menubar.page:36
23902425 "Select <gui style=\"menu\">View</gui> and deselect <gui style=\"menuitem"
23912426 "\">Show Menubar</gui>."
23922427 msgstr ""
2428 "Selecione o menu <gui style=\"menu\">Ver</gui> e desmarque a opção <gui "
2429 "style=\"menuitem\">Mostrar barra de menu</gui>."
23932430
23942431 #. (itstool) path: page/p
23952432 #: C/pref-menubar.page:46
2396 #, fuzzy
23972433 msgid "To restore the menubar:"
2398 msgstr "Restaura o grupo de \"%s\" para \"%s\""
2434 msgstr "Para restaurar a barra de menus:"
23992435
24002436 #. (itstool) path: item/p
24012437 #: C/pref-menubar.page:50
2402 #, fuzzy
24032438 msgid ""
24042439 "Right click in <app>Terminal</app> and select <gui style=\"menuitem\">Show "
24052440 "Menubar</gui>."
24062441 msgstr ""
2407 "Clique com o botão direito na janela do terminal, e então escolha "
2408 "<guimenuitem>Exibir barra de menu</guimenuitem>."
2442 "Clique com o botão direito na janela do <app>Terminal</app>, e marque a "
2443 "opção <gui style=\"menuitem\">Mostrar barra de menu</gui>."
24092444
24102445 #. (itstool) path: page/p
24112446 #: C/pref-menubar.page:55
24172452 "<app>Terminal</app> que você abrir:"
24182453
24192454 #. (itstool) path: item/p
2420 #: C/pref-menubar.page:65
2455 #: C/pref-menubar.page:64
24212456 msgid "Select <gui>Show menubar by default in new terminals</gui>."
24222457 msgstr ""
24232458 "Selecione <gui>Mostrar barra de menu, por padrão, em novos terminais</gui>."
24242459
24252460 #. (itstool) path: note/p
2426 #: C/pref-menubar.page:70
2461 #: C/pref-menubar.page:69
24272462 msgid ""
24282463 "You can <link xref=\"adv-keyboard-shortcuts\">set a keyboard shortcut</link> "
24292464 "to show and hide the menubar."
24302465 msgstr ""
2466 "Você pode <link xref=\"adv-keyboard-shortcuts\">definir um atalho de "
2467 "teclado</link> para esconder e mostrar a barra de menus."
24312468
24322469 #. (itstool) path: info/desc
2433 #: C/pref-profiles.page:28
2434 #, fuzzy
2470 #: C/pref-profiles.page:29
24352471 msgid "Create, edit and delete profiles."
2436 msgstr "Crie, reorganize e exclua partições"
2472 msgstr "Crie, reorganize e exclua perfis."
24372473
24382474 #. (itstool) path: page/title
2439 #: C/pref-profiles.page:31
2475 #: C/pref-profiles.page:32
24402476 msgid "Manage profiles"
24412477 msgstr "Gerenciando perfis"
24422478
24432479 #. (itstool) path: page/p
2444 #: C/pref-profiles.page:39
2480 #: C/pref-profiles.page:40
24452481 msgid ""
24462482 "A profile is a collection of <app>Terminal</app> settings. <app>Terminal</"
24472483 "app> supports multiple profiles. You can configure <app>Terminal</app> "
24492485 "shell</link>, set a profile exclusively to connect to remote computers using "
24502486 "SSH or set a profile that launches a <app>GNU Screen</app> session."
24512487 msgstr ""
2452
2453 #. (itstool) path: page/p
2454 #: C/pref-profiles.page:46
2488 "Um perfil é um conjunto de configurações do <app>Terminal</app>. O "
2489 "<app>Terminal</app> suporta múltiplos perfis. Você pode configurar perfis do "
2490 "<app>Terminal</app> para <link xref=\"pref-custom-command\">executar um "
2491 "comando personalizado ou shell</link>, definir um perfil exclusivamente para "
2492 "se conectar a computadores remotos usando SSH ou definir um perfil que "
2493 "inicia uma sessão do <app>GNU Screen</app>."
2494
2495 #. (itstool) path: page/p
2496 #: C/pref-profiles.page:47
24552497 msgid "The available <app>Terminal</app> settings include:"
2456 msgstr ""
2457
2458 #. (itstool) path: item/p
2459 #: C/pref-profiles.page:50
2498 msgstr "As configurações do <app>Terminal</app> incluem:"
2499
2500 #. (itstool) path: item/p
2501 #: C/pref-profiles.page:51
24602502 msgid "Profile name."
24612503 msgstr "Nome do perfil."
24622504
24632505 #. (itstool) path: item/p
2464 #: C/pref-profiles.page:53
2465 #, fuzzy
2506 #: C/pref-profiles.page:54
24662507 msgid "Font and background colors."
2467 msgstr "Troca as cores de frente e de fundo"
2468
2469 #. (itstool) path: item/p
2470 #: C/pref-profiles.page:56
2508 msgstr "Fonte e cores de frente e de fundo."
2509
2510 #. (itstool) path: item/p
2511 #: C/pref-profiles.page:57
24712512 msgid ""
24722513 "<gui style=\"tab\">Compatibility</gui> with <key>Backspace</key> and "
24732514 "<key>Delete</key> keys."
24742515 msgstr ""
2475
2476 #. (itstool) path: item/p
2477 #: C/pref-profiles.page:60
2516 "<gui style=\"tab\">Compatibilidade</gui> com as teclas <key>Backspace</key> "
2517 "e <key>Delete</key>."
2518
2519 #. (itstool) path: item/p
2520 #: C/pref-profiles.page:61
24782521 msgid "<gui style=\"tab\">Scrolling</gui>."
2479 msgstr "<gui style=\"tab\">Barra de rolagem</gui>."
2480
2481 #. (itstool) path: page/p
2482 #: C/pref-profiles.page:64
2522 msgstr "<gui style=\"tab\">Rolagem</gui>."
2523
2524 #. (itstool) path: page/p
2525 #: C/pref-profiles.page:65
24832526 msgid ""
24842527 "The default profile is loaded when a new terminal is opened unless you have "
24852528 "selected another profile. Any changes that you make to the settings will be "
24862529 "stored in the currently used profile."
24872530 msgstr ""
2531 "O perfil padrão é carregado quando um novo terminal é aberto, a menos que "
2532 "você tenha selecionado outro perfil. Todas as alterações que você fizer nas "
2533 "configurações serão armazenadas no perfil atualmente usado."
24882534
24892535 #. (itstool) path: section/title
2490 #: C/pref-profiles.page:69
2536 #: C/pref-profiles.page:70
24912537 msgid "Set a default profile"
24922538 msgstr "Definindo um perfil padrão"
24932539
24942540 #. (itstool) path: section/p
2495 #: C/pref-profiles.page:71
2541 #: C/pref-profiles.page:72
24962542 msgid ""
24972543 "The default profile is a collection of profile settings applied on the "
24982544 "launch of every <app>Terminal</app> tab or window."
24992545 msgstr ""
2500
2501 #. (itstool) path: item/p
2502 #: C/pref-profiles.page:76 C/pref-profiles.page:167 C/pref-profiles.page:237
2503 #: C/pref-profiles.page:266
2504 #, fuzzy
2546 "O perfil padrão é uma coleção de configurações aplicadas na abertura de cada "
2547 "janela ou aba do <app>Terminal</app>."
2548
2549 #. (itstool) path: item/p
2550 #: C/pref-profiles.page:77 C/pref-profiles.page:170 C/pref-profiles.page:250
2551 #: C/pref-profiles.page:279
25052552 msgid ""
25062553 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
25072554 "\">Preferences</gui> <gui style=\"tab\">Profiles</gui></guiseq>."
25082555 msgstr ""
25092556 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2510 "\">Preferências</gui> <gui style=\"tab\">Plug-ins</gui></guiseq>."
2511
2512 #. (itstool) path: item/p
2513 #: C/pref-profiles.page:81
2557 "\">Preferências</gui> <gui style=\"tab\">Perfis</gui></guiseq>."
2558
2559 #. (itstool) path: item/p
2560 #: C/pref-profiles.page:82
25142561 msgid ""
25152562 "Select the profile to be set as default from the <gui>Profile used when "
25162563 "launching a new terminal</gui> drop down list."
25172564 msgstr ""
2565 "Selecione o perfil a ser definido como padrão na lista <gui>Perfil utilizado "
2566 "quando iniciar um novo terminal</gui>."
25182567
25192568 #. (itstool) path: section/title
2520 #: C/pref-profiles.page:89
2569 #: C/pref-profiles.page:90
25212570 msgid "Select a profile"
25222571 msgstr "Selecionando um perfil"
25232572
25242573 #. (itstool) path: section/p
2525 #: C/pref-profiles.page:91
2574 #: C/pref-profiles.page:92
25262575 msgid ""
25272576 "You can change the profile in your current <app>Terminal</app> tab or window "
25282577 "by selecting a profile from <guiseq><gui style=\"menu\">Terminal</gui> <gui "
25292578 "style=\"menuitem\">Change Profile</gui></guiseq>."
25302579 msgstr ""
2580 "Você pode mudar o perfil da aba ou janela atual do <app>Terminal</app>, "
2581 "selecionando um perfil em <guiseq><gui style=\"menu\">Terminal</gui><gui "
2582 "style=\"menuitem\">Alterar perfil</gui></guiseq>."
25312583
25322584 #. (itstool) path: section/title
2533 #: C/pref-profiles.page:98
2585 #: C/pref-profiles.page:99
25342586 msgid "Create a new profile"
25352587 msgstr "Criando um novo perfil"
25362588
25372589 #. (itstool) path: section/p
2538 #: C/pref-profiles.page:100
2590 #: C/pref-profiles.page:101
25392591 msgid ""
25402592 "Any changes to a new profile are saved automatically. To create a new "
25412593 "profile:"
25422594 msgstr ""
2543
2544 #. (itstool) path: item/p
2545 #: C/pref-profiles.page:105
2595 "Qualquer alteração num novo perfil é salva automaticamente. Para criar um "
2596 "novo perfil:"
2597
2598 #. (itstool) path: item/p
2599 #: C/pref-profiles.page:106
25462600 msgid ""
25472601 "Select <guiseq><gui style=\"menu\">File</gui> <gui style=\"menuitem\">New "
25482602 "Profile</gui></guiseq>."
25512605 "\">Novo perfil</gui></guiseq>."
25522606
25532607 #. (itstool) path: item/p
2554 #: C/pref-profiles.page:109
2608 #: C/pref-profiles.page:110
25552609 msgid ""
25562610 "Enter a name for the new profile next to <gui style=\"input\">Profile name</"
25572611 "gui>."
25602614 "\">Nome do perfil</gui>."
25612615
25622616 #. (itstool) path: item/p
2563 #: C/pref-profiles.page:113
2617 #: C/pref-profiles.page:114
25642618 msgid ""
25652619 "Select <link xref=\"app-fonts\">font</link>, <link xref=\"app-cursor"
25662620 "\">cursor shape</link> and <link xref=\"app-terminal-sizes\">window size</"
25672621 "link> in the <gui style=\"tab\">General</gui> tab."
25682622 msgstr ""
2569
2570 #. (itstool) path: item/p
2571 #: C/pref-profiles.page:119
2572 msgid ""
2573 "Set your preferred behaviour for the <link xref=\"pref-custom-exit"
2623 "Selecione a <link xref=\"app-fonts\">fonte</link>, a <link xref=\"app-cursor"
2624 "\">forma do cursor</link> e o <link xref=\"app-terminal-sizes\">tamanho da "
2625 "janela</link> na aba <gui style=\"tab\">Geral</gui>."
2626
2627 #. (itstool) path: item/p
2628 #: C/pref-profiles.page:120
2629 msgid ""
2630 "Set your preferred behavior for the <link xref=\"pref-custom-exit"
25742631 "\"><cmd>exit</cmd> command</link>. You can also set a <link xref=\"pref-"
2575 "custom-command\">custom shell</link> in the <gui style=\"tab\">Title and "
2576 "Command</gui> tab."
2577 msgstr ""
2578
2579 #. (itstool) path: item/p
2580 #: C/pref-profiles.page:126
2632 "custom-command\">custom shell</link> in the <gui style=\"tab\">Command</gui> "
2633 "tab."
2634 msgstr ""
2635 "Defina suas preferências do comportamento do <link xref=\"pref-custom-exit"
2636 "\">comando <cmd>exit</cmd></link>. Você também pode definir um <link xref="
2637 "\"pref-custom-command\">shell personalizado</link> na aba <gui style=\"tab"
2638 "\">Comando</gui>."
2639
2640 #. (itstool) path: item/p
2641 #: C/pref-profiles.page:127
25812642 msgid ""
25822643 "Set your preferred <link xref=\"app-colors\">theme and colors</link> in the "
25832644 "<gui style=\"tab\">Colors</gui> tab."
25842645 msgstr ""
2585
2586 #. (itstool) path: item/p
2587 #: C/pref-profiles.page:129
2646 "Defina <link xref=\"app-colors\">o tema e as cores</link> preferidos na aba "
2647 "<gui style=\"tab\">Cores</gui>."
2648
2649 #. (itstool) path: item/p
2650 #: C/pref-profiles.page:131
25882651 msgid ""
25892652 "Set your <link xref=\"pref-scrolling\">scrolling preference</link> in the "
25902653 "<gui style=\"tab\">Scrolling</gui> tab."
25912654 msgstr ""
2655 "Defina suas preferências de <link xref=\"pref-scrolling\">rolagem</link> na "
2656 "aba <gui style=\"tab\">Rolagem</gui>."
25922657
25932658 #. (itstool) path: section/title
2594 #: C/pref-profiles.page:137
2659 #: C/pref-profiles.page:139
25952660 msgid "Create a new profile based on an existing profile"
2596 msgstr "Crindo um novo perfil baseado em outro já existente"
2661 msgstr "Criando um novo perfil baseado em outro já existente"
25972662
25982663 #. (itstool) path: section/p
2599 #: C/pref-profiles.page:139
2664 #: C/pref-profiles.page:141
26002665 msgid ""
26012666 "You can create a new profile based on settings from an existing profile:"
26022667 msgstr ""
26032668 "Você pode criar um perfil baseado nas configurações de um perfil existente:"
26042669
26052670 #. (itstool) path: item/p
2606 #: C/pref-profiles.page:144
2671 #: C/pref-profiles.page:146
26072672 msgid ""
26082673 "Select the profile that you wish to edit from <guiseq><gui style=\"menu"
26092674 "\">Terminal</gui> <gui style=\"menuitem\">Change Profile</gui> <gui style="
26132678 "\">New Profile</gui></guiseq> to clone the profile that you are currently "
26142679 "using."
26152680 msgstr ""
2616
2617 #. (itstool) path: item/p
2618 #: C/pref-profiles.page:155
2681 "Selecione o perfil que você deseja editar em <guiseq><gui style=\"menu"
2682 "\">Terminal</gui><gui style=\"menuitem\">Alterar perfil</gui><gui style="
2683 "\"menuitem\"><var>nome do perfil</var></gui></guiseq> onde <var>nome do "
2684 "perfil</var> é o nome do perfil que você deseja editar. Alternativamente, "
2685 "você pode selecionar <guiseq><gui style=\"menu\">Arquivo</gui><gui style="
2686 "\"menuitem\">Novo perfil</gui></guiseq> para clonar o perfil atualmente "
2687 "usado."
2688
2689 #. (itstool) path: item/p
2690 #: C/pref-profiles.page:157
2691 msgid ""
2692 "Set your desired <link xref=\"#edit-profile\">profile preferences</link>. "
2693 "These will be saved automatically. If you do not update the <gui>Profile "
2694 "name</gui> on the tab <gui style=\"tab\">General </gui>, the new profile "
2695 "will not overwrite the profile that it is based on."
2696 msgstr ""
2697 "Defina suas <link xref=\"#edit-profile\">preferências de perfil</link> "
2698 "desejadas. Elas serão salvas automaticamente. Se você não atualizar o "
2699 "<gui>Nome do perfil</gui>, na aba <gui style=\"tab\">Geral</gui>, o novo "
2700 "perfil não irá substituir o perfil em que ele se baseia."
2701
2702 #. (itstool) path: section/p
2703 #: C/pref-profiles.page:165
2704 msgid ""
2705 "Alternatively, you can create a copy of the existing profile first and then "
2706 "edit the profile:"
2707 msgstr ""
2708 "Alternativamente, você pode primeiro criar uma cópia do perfil existente e "
2709 "depois editá-lo:"
2710
2711 #. (itstool) path: item/p
2712 #: C/pref-profiles.page:175
2713 msgid "Select your desired profile."
2714 msgstr "Selecione o perfil desejado."
2715
2716 #. (itstool) path: item/p
2717 #: C/pref-profiles.page:178
2718 msgid "Click <gui style=\"button\">Clone</gui>."
2719 msgstr "Clique em <gui style=\"button\">Clonar</gui>."
2720
2721 #. (itstool) path: item/p
2722 #: C/pref-profiles.page:181
26192723 msgid ""
26202724 "Set your desired <link xref=\"#edit-profile\">profile preferences</link>. "
26212725 "These will be saved automatically. If you do not update the profile name, "
26222726 "the new profile will not overwrite the profile that it is based on."
26232727 msgstr ""
2624
2625 #. (itstool) path: section/p
2626 #: C/pref-profiles.page:162
2627 msgid ""
2628 "Alternatively, you can create a copy of the existing profile first and then "
2629 "edit the profile:"
2630 msgstr ""
2631 "Alternativamente, você pode primeiro criar uma cópia do perfil existente e "
2632 "depois editá-lo: "
2633
2634 #. (itstool) path: item/p
2635 #: C/pref-profiles.page:172
2636 #, fuzzy
2637 msgid "Select your desired profile."
2638 msgstr "Selecione sua resolução e rotação desejada."
2639
2640 #. (itstool) path: item/p
2641 #: C/pref-profiles.page:175
2642 #, fuzzy
2643 msgid "Click <gui style=\"button\">Clone</gui>."
2644 msgstr "Clique em <gui style=\"button\">Novo</gui>."
2645
2646 #. (itstool) path: item/p
2647 #: C/pref-profiles.page:178
2648 msgid ""
2649 "Set your <link xref=\"#edit-profile\">desired profile preferences</link>. "
2650 "These will be saved automatically. If you do not update the profile name, "
2651 "the new profile will not overwrite the profile that it is based on."
2652 msgstr ""
2728 "Defina suas <link xref=\"#edit-profile\">preferências de perfil</link> "
2729 "desejadas. Elas serão salvas automaticamente. Se você não atualizar o nome "
2730 "do perfil, o novo perfil não irá substituir o perfil em que ele se baseia."
26532731
26542732 #. (itstool) path: note/p
2655 #: C/pref-profiles.page:186
2733 #: C/pref-profiles.page:189
26562734 msgid ""
26572735 "Creating a new profile from an existing profile will not affect settings in "
26582736 "an existing profile. Any changes to settings will be stored in the new "
26592737 "profile."
26602738 msgstr ""
2739 "Criar um novo perfil de um perfil existente não afetará as configurações do "
2740 "perfil existente. Quaisquer alterações às definições serão armazenadas no "
2741 "novo perfil."
26612742
26622743 #. (itstool) path: section/title
2663 #: C/pref-profiles.page:194
2744 #: C/pref-profiles.page:197
26642745 msgid "Edit a profile"
26652746 msgstr "Editando um perfil"
26662747
2748 #. (itstool) path: note/p
2749 #: C/pref-profiles.page:200
2750 msgid ""
2751 "If the default profile is edited, it cannot be restored to its original "
2752 "settings! If you have not already created any other <app>Terminal</app> "
2753 "profiles and have customized the default profile, <app>Terminal</app> "
2754 "<em>may</em> become unusable should any settings cause problems. It is "
2755 "recommended that you <link xref=\"#create-profile-from-existing\">create a "
2756 "copy of the default profile</link> then edit the copy to create a custom "
2757 "profile."
2758 msgstr ""
2759 "Se o perfil padrão é editado, ele não pode ser restaurado para as "
2760 "configurações originais! Se você ainda não tiver criado nenhum outro perfil "
2761 "do <app>Terminal</app> e tiver personalizado o perfil padrão, o "
2762 "<app>Terminal</app> <em>poderá</em> ficar inutilizável se as configurações "
2763 "causarem problemas. É recomendável que você <link xref=\"#create-profile-"
2764 "from-existing\">crie uma cópia do perfil padrão</link> e edite a cópia para "
2765 "criar um perfil personalizado."
2766
26672767 #. (itstool) path: section/p
2668 #: C/pref-profiles.page:196
2768 #: C/pref-profiles.page:209
26692769 msgid ""
26702770 "You can make changes to existing profiles. To edit a profile, select "
26712771 "<guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\">Profile "
26722772 "Preferences</gui></guiseq>."
26732773 msgstr ""
2674
2675 #. (itstool) path: item/p
2676 #: C/pref-profiles.page:202
2774 "Você pode fazer alterações nos perfis existentes. Para editar um perfil, "
2775 "selecione <guiseq><gui style=\"menu\">Editar </gui><gui style=\"menuitem"
2776 "\">Preferências do perfil</gui></guiseq>."
2777
2778 #. (itstool) path: item/p
2779 #: C/pref-profiles.page:215
26772780 msgid ""
26782781 "Select <link xref=\"app-fonts\">font</link>, <link xref=\"app-cursor"
26792782 "\">cursor shapes</link> and <link xref=\"app-terminal-sizes\"><app>Terminal</"
26802783 "app> size</link>."
26812784 msgstr ""
2682
2683 #. (itstool) path: item/p
2684 #: C/pref-profiles.page:207
2685 msgid ""
2686 "You may also change behaviour of <app>Terminal</app> on <link xref=\"pref-"
2785 "Selecione a <link xref=\"app-fonts\">fonte</link>, a <link xref=\"app-cursor"
2786 "\">forma do cursor</link> e o <link xref=\"app-terminal-sizes\">tamanho da "
2787 "janela do <app>Terminal</app></link>."
2788
2789 #. (itstool) path: item/p
2790 #: C/pref-profiles.page:220
2791 msgid ""
2792 "You may also change behavior of <app>Terminal</app> on <link xref=\"pref-"
26872793 "custom-exit\">command exit</link>, set a <link xref=\"pref-login-shell"
26882794 "\">custom login shell</link> or change <link xref=\"pref-scrolling"
26892795 "\">scrollbar preferences</link>."
26902796 msgstr ""
2691
2692 #. (itstool) path: item/p
2693 #: C/pref-profiles.page:213
2797 "Você também pode definir as preferências do comportamento do <app>Terminal</"
2798 "app> no <link xref=\"pref-custom-exit\">comando <cmd>exit</cmd></link>, "
2799 "definir um <link xref=\"pref-custom-command\">shell personalizado</link> ou "
2800 "mudar as <link xref=\"pref-scrolling\">preferências da rolagem</link>."
2801
2802 #. (itstool) path: item/p
2803 #: C/pref-profiles.page:226
26942804 msgid ""
26952805 "To change the <app>Terminal</app> background and text colors, see <link xref="
26962806 "\"app-colors\"><app>Terminal</app> color schemes</link>."
26972807 msgstr ""
2698
2699 #. (itstool) path: item/p
2700 #: C/pref-profiles.page:217
2808 "Para alterar as cores do fundo e do texto do <app>Terminal</app>, consulte "
2809 "<link xref=\"app-colors\">a seção sobre esquemas de cores do <app>Terminal</"
2810 "app></link>."
2811
2812 #. (itstool) path: item/p
2813 #: C/pref-profiles.page:230
27012814 msgid ""
27022815 "Changes to profile are saved immediately. To return to <app>Terminal</app>, "
27032816 "click <gui style=\"button\">Close</gui>."
27042817 msgstr ""
2818 "Alterações no perfil são salvos imediatamente. Para retornar para o "
2819 "<app>Terminal</app>, clique em <gui style=\"button\">Fechar</gui>."
27052820
27062821 #. (itstool) path: note/p
2707 #: C/pref-profiles.page:223
2822 #: C/pref-profiles.page:236
27082823 msgid ""
27092824 "To make sure you are editing the desired profile, select the profile from "
27102825 "<guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem\">Change "
27112826 "Profile</gui></guiseq>."
27122827 msgstr ""
2828 "Para ter certeza de que você está editando o perfil correto, selecione o "
2829 "perfil do com <guiseq><gui style=\"menu\">Terminal</gui><gui style=\"menuitem"
2830 "\">Alterar perfil</gui></guiseq>."
27132831
27142832 #. (itstool) path: section/title
2715 #: C/pref-profiles.page:231
2716 #, fuzzy
2833 #: C/pref-profiles.page:244
27172834 msgid "Rename an existing profile"
2718 msgstr "Título do perfil de cor"
2835 msgstr "Renomeando um perfil existente"
27192836
27202837 #. (itstool) path: section/p
2721 #: C/pref-profiles.page:233
2838 #: C/pref-profiles.page:246
27222839 msgid "You can rename existing profiles, including the default profile:"
2723 msgstr "Você pode renomear perfis existentes, incluindo o perfil padrão:"
2724
2725 #. (itstool) path: item/p
2726 #: C/pref-profiles.page:242
2727 #, fuzzy
2840 msgstr "Você pode renomear perfis existentes, inclusive o perfil padrão:"
2841
2842 #. (itstool) path: item/p
2843 #: C/pref-profiles.page:255
27282844 msgid "Select the profile you wish to rename."
2729 msgstr "Selecione a fonte que queira remover."
2730
2731 #. (itstool) path: item/p
2732 #: C/pref-profiles.page:245
2845 msgstr "Selecione o perfil que você deseja renomear."
2846
2847 #. (itstool) path: item/p
2848 #: C/pref-profiles.page:258
27332849 msgid ""
27342850 "Click <gui style=\"button\">Edit</gui>. This will open the profile "
27352851 "preferences dialog for the selected profile."
27362852 msgstr ""
2737
2738 #. (itstool) path: item/p
2739 #: C/pref-profiles.page:249
2740 #, fuzzy
2853 "Clique em <gui style=\"button\">Editar</gui>. A janela de preferências do "
2854 "perfil será aberta para o perfil selecionado."
2855
2856 #. (itstool) path: item/p
2857 #: C/pref-profiles.page:262
27412858 msgid "In the text box for <gui>Profile name</gui>, type the new profile name."
2742 msgstr "Na caixa de texto <gui>Nome</gui>, digite o novo nome do marcador."
2743
2744 #. (itstool) path: item/p
2745 #: C/pref-profiles.page:253
2859 msgstr ""
2860 "Na caixa de texto <gui>Nome do perfil</gui>, digite o novo nome do perfil."
2861
2862 #. (itstool) path: item/p
2863 #: C/pref-profiles.page:266
27462864 msgid "Click <gui style=\"button\">Close</gui> to return."
27472865 msgstr "Clique em <gui style=\"button\">Fechar</gui> para voltar."
27482866
27492867 #. (itstool) path: section/title
2750 #: C/pref-profiles.page:260
2868 #: C/pref-profiles.page:273
27512869 msgid "Delete a Profile"
27522870 msgstr "Excluindo um perfil"
27532871
27542872 #. (itstool) path: section/p
2755 #: C/pref-profiles.page:262
2873 #: C/pref-profiles.page:275
27562874 msgid "To delete a profile:"
27572875 msgstr "Para excluir um perfil:"
27582876
27592877 #. (itstool) path: item/p
2760 #: C/pref-profiles.page:271
2761 #, fuzzy
2878 #: C/pref-profiles.page:284
27622879 msgid "Select the profile you wish to delete."
2763 msgstr "Você deseja excluir a equipe?"
2764
2765 #. (itstool) path: item/p
2766 #: C/pref-profiles.page:274
2880 msgstr "Selecione o perfil que você deseja excluir."
2881
2882 #. (itstool) path: item/p
2883 #: C/pref-profiles.page:287
27672884 msgid "Click <gui style=\"button\">Delete</gui>."
27682885 msgstr "Clique em <gui style=\"button\">Excluir</gui>."
27692886
2887 #. (itstool) path: credit/years
2888 #: C/pref-profile-char-width.page:13 C/pref-profile-encoding.page:13
2889 #: C/pref-user-input.page:12
2890 msgid "2014"
2891 msgstr "2014"
2892
27702893 #. (itstool) path: info/desc
2771 #: C/pref-scrolling.page:23
2772 msgid "Set scroll output and scrollbar behaviour."
2773 msgstr ""
2894 #: C/pref-profile-char-width.page:23
2895 msgid "Display ambiguous-width characters as wide instead of narrow."
2896 msgstr "Mostrar caracteres de largura ambígua mais largos."
27742897
27752898 #. (itstool) path: page/title
2776 #: C/pref-scrolling.page:26
2899 #: C/pref-profile-char-width.page:27
2900 msgid "Characters look too narrow"
2901 msgstr "Os caracteres parecem muito estreitos"
2902
2903 #. (itstool) path: page/p
2904 #: C/pref-profile-char-width.page:29
2905 msgid ""
2906 "Some characters, such as some Greek letters and Asian logograms, can take up "
2907 "either one or two cells in a terminal window. These characters are often "
2908 "referred to as <em>ambiguous characters</em>. By default, these characters "
2909 "are displayed with a narrow width in <app>Terminal</app>, which looks better "
2910 "in situations where perfect layout is important, such as in ASCII art. You "
2911 "can change your profile preferences to display ambiguous characters as wide, "
2912 "which can be better if you are reading running prose."
2913 msgstr ""
2914 "Alguns caracteres, como algumas letras gregas e logogramas asiáticos, podem "
2915 "ocupar até dois espaços de caractere em uma janela de terminal. Estes "
2916 "caracteres são chamados de <em>caracteres de largura ambígua</em>. Por "
2917 "padrão, esses caracteres são exibidos com uma largura estreita no "
2918 "<app>Terminal</app>, que fica melhor em situações onde layout é muito "
2919 "importante, como em \"ASCII art\". Você pode alterar as suas preferências do "
2920 "perfil para exibir caracteres ambíguos mais largos, que podem ficar mais "
2921 "fáceis de ler."
2922
2923 #. (itstool) path: item/p
2924 #: C/pref-profile-char-width.page:39 C/pref-profile-encoding.page:37
2925 msgid ""
2926 "Open <guiseq><gui style=\"menu\">Edit</gui><gui style=\"menuitem"
2927 "\">Preferences</gui><gui style=\"tab\">Profiles</gui></guiseq>."
2928 msgstr ""
2929 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2930 "\">Preferências</gui> <gui style=\"tab\">Perfis</gui></guiseq>."
2931
2932 #. (itstool) path: item/p
2933 #: C/pref-profile-char-width.page:43 C/pref-profile-encoding.page:41
2934 msgid ""
2935 "Select the profile that you want to edit and press <gui style=\"button"
2936 "\">Edit</gui> to open the profile preferences for editing."
2937 msgstr ""
2938 "Selecione o perfil que você deseja editar e pressione<gui style=\"button"
2939 "\">Editar</gui> para abrir a janela de preferências do perfil."
2940
2941 #. (itstool) path: item/p
2942 #: C/pref-profile-char-width.page:48
2943 msgid ""
2944 "Open the <gui style=\"tab\">Compatibility</gui> tab and set the ambiguous-"
2945 "width characters to <gui>Wide</gui>."
2946 msgstr ""
2947 "Abra a aba <gui style=\"tab\">Compatibilidade</gui> e escolha <gui>Largo</"
2948 "gui> na lista <gui>Caracteres de largura ambígua</gui>."
2949
2950 #. (itstool) path: info/desc
2951 #: C/pref-profile-encoding.page:23
2952 msgid "Set a different encoding for each saved profile."
2953 msgstr "Defina uma codificação de caracteres diferente para cada perfil."
2954
2955 #. (itstool) path: page/title
2956 #: C/pref-profile-encoding.page:27
2957 msgid "Change profile character encoding"
2958 msgstr "Mudar a codificação de caracteres padrão do perfil"
2959
2960 #. (itstool) path: page/p
2961 #: C/pref-profile-encoding.page:29
2962 msgid ""
2963 "You should normally be able to use the default, UTF-8, encoding for all of "
2964 "your terminal needs. If you do find that you regularly need to use a "
2965 "different character encoding for a specific task, you can <link xref=\"pref-"
2966 "profiles#new-profile\">create a new profile</link> with a different encoding."
2967 msgstr ""
2968 "A codificação de caracteres padrão, UTF-8, normalmente funcionará para todas "
2969 "as suas atividades nos terminais. Se regularmente você precisar usar uma "
2970 "codificação de caracteres diferente para uma tarefa específica, você pode "
2971 "<link xref=\"pref-profiles#new-profile\">criar um novo perfil</link> com a "
2972 "codificação diferente."
2973
2974 #. (itstool) path: item/p
2975 #: C/pref-profile-encoding.page:46
2976 msgid ""
2977 "Open the <gui style=\"tab\">Compatibility</gui> tab and set the character "
2978 "encoding."
2979 msgstr ""
2980 "Abra a aba <gui style=\"tab\">Compatibilidade</gui> e defina a codificação "
2981 "de caracteres."
2982
2983 #. (itstool) path: info/desc
2984 #: C/pref-scrolling.page:24
2985 msgid "Change the scroll output and scrollbar behavior."
2986 msgstr "Mudar a aparência e o comportamento da rolagem."
2987
2988 #. (itstool) path: page/title
2989 #: C/pref-scrolling.page:27
27772990 msgid "Scrollbar preferences"
27782991 msgstr "Preferências da barra de rolagem"
27792992
27802993 #. (itstool) path: page/p
2781 #: C/pref-scrolling.page:28
2782 msgid ""
2783 "A scrollbar is a part of the graphical user interface (GUI) which allows "
2784 "anything continuous and exceeding the visible screen space such as text to "
2785 "be viewable by the user by scrolling down to the parts hidden from current "
2786 "view."
2787 msgstr ""
2994 #: C/pref-scrolling.page:29
2995 msgid ""
2996 "When a lot of output is printed to your terminal screen, it can be helpful "
2997 "to have your terminal behave in a specific manner so that it is easier to "
2998 "work with."
2999 msgstr ""
3000 "Quando muita saída é impressa na tela do terminal, pode ser útil fazer com "
3001 "que seu terminal se comporte de uma maneira específica, de modo que seja "
3002 "mais fácil trabalhar."
27883003
27893004 #. (itstool) path: section/title
3005 #: C/pref-scrolling.page:34
3006 msgid "Scrollbar visibility"
3007 msgstr "Visibilidade da barra de rolagem"
3008
3009 #. (itstool) path: section/p
27903010 #: C/pref-scrolling.page:36
2791 #, fuzzy
2792 msgid "Scrollbar visibility"
2793 msgstr "Visibilidade de “%s”"
3011 msgid "You can disable the scrollbar:"
3012 msgstr "Você pode desativar a barra de rolagem:"
3013
3014 #. (itstool) path: item/p
3015 #: C/pref-scrolling.page:40 C/pref-scrolling.page:61 C/pref-scrolling.page:80
3016 #: C/pref-scrolling.page:99
3017 msgid ""
3018 "Select <guiseq><gui style=\"menu\">Edit</gui><gui style=\"menuitem\">Profile "
3019 "Preferences</gui><gui style=\"tab\">Scrolling</gui></guiseq>."
3020 msgstr ""
3021 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3022 "\">Preferências do perfil</gui> <gui style=\"tab\">Rolagem</gui></guiseq>."
3023
3024 #. (itstool) path: item/p
3025 #: C/pref-scrolling.page:45
3026 msgid "Uncheck <gui>Show scrollbar</gui>."
3027 msgstr "Desmarque a opção <gui>Mostrar barra de rolagem</gui>."
27943028
27953029 #. (itstool) path: section/p
2796 #: C/pref-scrolling.page:38
2797 msgid ""
2798 "You can set the location of the scrollbar, or disable it, in <app>Terminal</"
2799 "app>:"
2800 msgstr ""
2801 "Você pode definir a localização da barra de rolagem ou desabilidar isso em "
2802 "<app>Terminal</app>:"
2803
2804 #. (itstool) path: item/p
2805 #: C/pref-scrolling.page:43 C/pref-scrolling.page:83
2806 #, fuzzy
2807 msgid ""
2808 "Select <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
2809 "\">Profile Preferences</gui> <gui style=\"tab\">Scrolling</gui></guiseq>."
2810 msgstr ""
2811 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2812 "\">Preferências do perfil</gui> <gui style=\"tab\">Cores</gui></guiseq>."
2813
2814 #. (itstool) path: item/p
2815 #: C/pref-scrolling.page:48
2816 msgid "You can choose from the following options:"
2817 msgstr "Você pode escolher as seguintes opções:"
2818
2819 #. (itstool) path: item/p
2820 #: C/pref-scrolling.page:51
2821 msgid ""
2822 "<gui style=\"menuitem\">Always visible</gui>: Scrollbar is visible at all "
2823 "times."
2824 msgstr ""
2825 "<gui style=\"menuitem\">Sempre visível</gui>: A barra de rolagem é sempre "
2826 "visível."
2827
2828 #. (itstool) path: item/p
2829 #: C/pref-scrolling.page:57
2830 msgid ""
2831 "<gui style=\"menuitem\">Visible only when necessary</gui>: Scrollbar is "
2832 "visible only when terminal output exceeds the length of <app>Terminal</app> "
2833 "window size."
2834 msgstr ""
2835 "<gui style=\"menuitem\">Visível apenas quando necessário</gui>: A barra de "
2836 "rolagem somente é visível quando a saída do terminal excede o tamanho da "
2837 "janela do <app>Terminal</app>"
2838
2839 #. (itstool) path: item/p
2840 #: C/pref-scrolling.page:62
2841 msgid ""
2842 "<gui style=\"menuitem\">Hidden</gui>: Scrollbar is always hidden from view."
2843 msgstr ""
2844 "<gui style=\"menuitem\">Invisível</gui>: A barra de rolagem sempre estará "
2845 "invisível."
2846
2847 #. (itstool) path: item/p
2848 #: C/pref-scrolling.page:68
2849 msgid ""
2850 "Your preference is saved immediately. Click <gui style=\"button\">Close</"
2851 "gui> to return to <app>Terminal</app>."
2852 msgstr ""
2853 "Sua preferência é salva imediatamente. Clique em<gui style=\"button"
2854 "\">Fechar</gui> para returnar para o <app>Terminal</app>."
3030 #: C/pref-scrolling.page:49
3031 msgid "Your preference is saved immediately."
3032 msgstr "Sua alteração será salva imediatamente."
28553033
28563034 #. (itstool) path: section/title
2857 #: C/pref-scrolling.page:76
3035 #: C/pref-scrolling.page:54
3036 msgid "Scroll on output"
3037 msgstr "Rolagem com alguma saída"
3038
3039 #. (itstool) path: section/p
3040 #: C/pref-scrolling.page:56
3041 msgid ""
3042 "You can lock scrolling so that it always shows the newest output while a "
3043 "command executes."
3044 msgstr ""
3045 "Você pode configurar o terminal para rolar automaticamente a tela para a "
3046 "parte inferior quando há novas saídas enquanto de um comando sendo executado."
3047
3048 #. (itstool) path: item/p
3049 #: C/pref-scrolling.page:66
3050 msgid "Check <gui style=\"checkbox\">Scroll on output</gui>."
3051 msgstr "Selecione <gui style=\"checkbox\">Rolar com alguma saída</gui>."
3052
3053 #. (itstool) path: section/title
3054 #: C/pref-scrolling.page:73
3055 msgid "Scroll on input"
3056 msgstr "Rolar ao pressionar tecla"
3057
3058 #. (itstool) path: section/p
3059 #: C/pref-scrolling.page:75
3060 msgid ""
3061 "You can set the terminal to automatically scroll to the bottom of the window "
3062 "when you input text into the prompt."
3063 msgstr ""
3064 "Você pode configurar o terminal para rolar automaticamente a tela para a "
3065 "parte inferior quando você digita algo no prompt."
3066
3067 #. (itstool) path: item/p
3068 #: C/pref-scrolling.page:85
3069 msgid "Check <gui style=\"checkbox\">Scroll on keystroke</gui>."
3070 msgstr ""
3071 "Marque a opção <gui style=\"checkbox\">Rolar ao pressionar tecla</gui>."
3072
3073 #. (itstool) path: section/title
3074 #: C/pref-scrolling.page:91
28583075 msgid "Scrollback lines"
2859 msgstr "Rolagem de volta linhas"
3076 msgstr "Linhas de rolagem para trás"
28603077
28613078 #. (itstool) path: section/p
2862 #: C/pref-scrolling.page:78
2863 msgid ""
2864 "<gui>Scrollback</gui> lines indicate the number of <app>Terminal</app> "
2865 "output lines stored in memory for scrolling."
2866 msgstr ""
2867
2868 #. (itstool) path: item/p
2869 #: C/pref-scrolling.page:88
2870 msgid ""
2871 "In the input box next to <gui>Scrollback</gui>, input a number greater than "
2872 "0 to set the number of scrollback lines."
2873 msgstr ""
2874
2875 #. (itstool) path: item/p
2876 #: C/pref-scrolling.page:92
3079 #: C/pref-scrolling.page:93
3080 msgid ""
3081 "You can limit the number of lines of terminal output which are stored in "
3082 "memory. You may want to do this if you rarely restart your terminal so that "
3083 "there is a limit to how much memory the scrollback can use."
3084 msgstr ""
3085 "É possível limitar o número de linhas de saída do terminal que são "
3086 "armazenadas na memória. Você pode querer fazer isso se raramente reiniciar o "
3087 "terminal, de modo que seja limitada a quantidade de memória que a rolagem de "
3088 "volta usa."
3089
3090 #. (itstool) path: item/p
3091 #: C/pref-scrolling.page:104
3092 msgid ""
3093 "Check <gui>Limit scrollback to</gui> and enter a number of lines which is "
3094 "greater than 0 to limit scrollback."
3095 msgstr ""
3096 "Marque a opção <gui>Limitar rolagem para trás a</gui> e digite um número de "
3097 "linhas maior que 0 para limitar a rolagem para trás."
3098
3099 #. (itstool) path: item/p
3100 #: C/pref-scrolling.page:108
28773101 msgid ""
28783102 "Optionally, you can click on <gui style=\"button\">+</gui> to increase and "
28793103 "<gui style=\"button\">-</gui> to decrease lines."
28803104 msgstr ""
28813105 "Opcionalmente, você pode clicar em <gui style=\"button\">+</gui> para "
2882 "aumentar as linhas e <gui style=\"button\">-</gui> para diminuí-las."
2883
2884 #. (itstool) path: section/p
2885 #: C/pref-scrolling.page:97
2886 msgid ""
2887 "To have unlimited scrollback lines, check <gui style=\"checkbox\">Unlimited</"
2888 "gui> as your option."
2889 msgstr ""
3106 "aumentar a quantidade de linhas e em <gui style=\"button\">-</gui> para "
3107 "diminuí-las."
28903108
28913109 #. (itstool) path: note/p
2892 #: C/pref-scrolling.page:101
2893 msgid ""
2894 "<gui style=\"checkbox\">Unlimited</gui> scrollback lines could potentially "
2895 "overburden your computer's memory and make <app>Terminal</app> sluggish "
2896 "during scrolling!"
2897 msgstr ""
2898
2899 #. (itstool) path: section/title
2900 #: C/pref-scrolling.page:109
2901 msgid "Scroll on output"
2902 msgstr "Rolagem com alguma saída"
2903
2904 #. (itstool) path: section/p
2905 #: C/pref-scrolling.page:111
2906 msgid ""
2907 "<app>Terminal</app> can automatically scroll down to the latest output as a "
2908 "command executes."
2909 msgstr ""
2910 "<app>Terminal</app> pode automaticamente descer a barra de rolagem para a "
2911 "última linha."
2912
2913 #. (itstool) path: item/p
2914 #: C/pref-scrolling.page:116 C/pref-scrolling.page:136
2915 #, fuzzy
2916 msgid ""
2917 "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem\">Profile "
2918 "Preferences</gui> <gui style=\"tab\">Scrolling</gui></guiseq>."
2919 msgstr ""
2920 "Vá até <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
2921 "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>."
2922
2923 #. (itstool) path: item/p
2924 #: C/pref-scrolling.page:121
2925 msgid "Select <gui style=\"checkbox\">Scroll on output</gui>."
2926 msgstr "Selecione <gui style=\"checkbox\">Rolar com alguma saída</gui>."
2927
2928 #. (itstool) path: section/title
2929 #: C/pref-scrolling.page:128
2930 msgid "Scroll on keystroke"
2931 msgstr "Rolagem ao pressionar tecla"
2932
2933 #. (itstool) path: section/p
2934 #: C/pref-scrolling.page:130
2935 msgid ""
2936 "<gui style=\"checkbox\">Scroll on keystroke</gui>, when enabled allows the "
2937 "<app>Terminal</app> to scroll down to prompt, on press of any key that can "
2938 "be an input to prompt, such as an alphabet, numbers, tab key etc."
2939 msgstr ""
2940
2941 #. (itstool) path: item/p
2942 #: C/pref-scrolling.page:141
2943 msgid "Select <gui style=\"checkbox\">Scroll on keystroke</gui>."
2944 msgstr "Selecione <gui style=\"checkbox\">Rolar ao pressionar tecla</gui>."
3110 #: C/pref-scrolling.page:114
3111 msgid ""
3112 "Using unlimited scrollback can make your <app>Terminal</app> sluggish during "
3113 "scrolling!"
3114 msgstr ""
3115 "Não limitar o número de linhas da rolagem para trás pode fazer o "
3116 "<app>Terminal</app> ficar lento durante a rolagem!"
3117
3118 #. (itstool) path: credit/years
3119 #: C/pref-tab-window.page:15
3120 msgid "2014–2015"
3121 msgstr "2014–2015"
29453122
29463123 #. (itstool) path: info/desc
2947 #: C/pref-title.page:28
2948 msgid ""
2949 "Allow commands to set the title for a <app>Terminal</app> tab or window."
2950 msgstr ""
3124 #: C/pref-tab-window.page:25
3125 msgid "Choose whether to open a new window or a new tab by default."
3126 msgstr "Escolha entre abrir uma nova janela ou uma nova aba por padrão."
29513127
29523128 #. (itstool) path: page/title
2953 #: C/pref-title.page:32
2954 #, fuzzy
2955 msgid "<app>Terminal</app> title"
2956 msgstr "Define o título do terminal"
2957
2958 #. (itstool) path: page/p
2959 #: C/pref-title.page:34
2960 msgid ""
2961 "<app>Terminal</app> can allow commands to set the name of your "
2962 "<app>Terminal</app> tab or window. This title will display at startup or on "
2963 "opening a new tab."
2964 msgstr ""
2965
2966 #. (itstool) path: item/p
2967 #: C/pref-title.page:45
2968 msgid ""
2969 "Next to <gui>Initial title</gui>, enter the title that you wish "
2970 "<app>Terminal</app> to display."
2971 msgstr ""
2972
2973 #. (itstool) path: item/p
2974 #: C/pref-title.page:49
2975 msgid "Select one of the following options:"
2976 msgstr "Selecione uma das seguintes opções:"
2977
2978 #. (itstool) path: item/title
2979 #: C/pref-title.page:52
2980 msgid "<gui>Replace initial title</gui>"
2981 msgstr "<guilabel>Substituír título inicial</guilabel>"
2982
2983 #. (itstool) path: item/p
2984 #: C/pref-title.page:53
2985 msgid ""
2986 "Commands executed in <app>Terminal</app> are allowed to replace the initial "
2987 "title."
2988 msgstr ""
2989
2990 #. (itstool) path: item/title
2991 #: C/pref-title.page:57
2992 msgid "<gui>Append initial title</gui>"
2993 msgstr "<gui>Acrescentar título inicial</gui>"
2994
2995 #. (itstool) path: item/p
2996 #: C/pref-title.page:58
2997 msgid ""
2998 "The new title will consist of the title set by the currently executing "
2999 "command, followed by the initial title."
3000 msgstr ""
3001
3002 #. (itstool) path: item/title
3003 #: C/pref-title.page:62
3004 msgid "<gui>Prepend initial title</gui>"
3005 msgstr "<gui>Anteceder título inicial</gui>"
3006
3007 #. (itstool) path: item/p
3008 #: C/pref-title.page:63
3009 msgid ""
3010 "The new title will consist of the initial title followed by the title set by "
3011 "the currently executing command."
3012 msgstr ""
3013
3014 #. (itstool) path: item/title
3015 #: C/pref-title.page:67
3016 msgid "<gui>Keep initial title</gui>"
3017 msgstr "<gui>Manter título inicial</gui>"
3018
3019 #. (itstool) path: item/p
3020 #: C/pref-title.page:68
3021 msgid "The initial title which is set by the user will be retained."
3022 msgstr "O título inicial que foi definido pelo usuário será mantido."
3023
3024 #. (itstool) path: item/p
3025 #: C/pref-title.page:71
3026 msgid "Your selection will be saved and applied immediately."
3027 msgstr "Sua seleção será salva e aplicada imediatamente."
3028
3029 #. (itstool) path: item/p
3030 #: C/pref-title.page:74
3031 #, fuzzy
3032 msgid ""
3033 "Click <gui style=\"button\">Close</gui> to return to <app>Terminal</app>."
3034 msgstr ""
3035 "Para retornar para <app>Terminal</app>, clique <gui style=\"button\">Fechar</"
3036 "gui>."
3129 #: C/pref-tab-window.page:28
3130 msgid "Windows and tabs"
3131 msgstr "Janelas e abas"
3132
3133 #. (itstool) path: page/p
3134 #: C/pref-tab-window.page:30
3135 msgid ""
3136 "You can chose whether to open a new tab or a new <app>Terminal</app> window "
3137 "when you use <gui style=\"menuitem\">Open Terminal</gui>."
3138 msgstr ""
3139 "Você pode escolher se deseja abrir uma nova aba ou uma nova janela do "
3140 "<app>Terminal</app> quando você usa o item <gui style=\"menuitem\">Abrir "
3141 "terminal</gui> do menu."
3142
3143 #. (itstool) path: item/p
3144 #: C/pref-tab-window.page:35
3145 msgid ""
3146 "Select <guiseq><gui style=\"menu\">Edit</gui><gui style=\"menuitem"
3147 "\">Preferences</gui><gui style=\"tab\">General</gui></guiseq>."
3148 msgstr ""
3149 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3150 "\">Preferências</gui> <gui style=\"tab\">Geral</gui></guiseq>."
3151
3152 #. (itstool) path: item/p
3153 #: C/pref-tab-window.page:39
3154 msgid ""
3155 "Set <gui>Open new terminals in:</gui> to <gui>Tab</gui> or <gui>Window</gui>."
3156 msgstr ""
3157 "Escolha <gui>Janela</gui> ou <gui>Aba</gui> na opção <gui>Abrir novos "
3158 "terminais em</gui>."
3159
3160 #. (itstool) path: page/p
3161 #: C/pref-tab-window.page:44
3162 msgid ""
3163 "Once you have set the preference, you can use <key>Ctrl</key> to invert the "
3164 "preference. For example, if you have your preferences set to open a new "
3165 "terminal in a new tab, then pressing <gui style=\"menuitem\">New Terminal</"
3166 "gui> will open a new tab. On the other hand, if you hold down <key>Ctrl</"
3167 "key> and then press <gui style=\"menuitem\">New Terminal</gui>, then a new "
3168 "window will be opened instead."
3169 msgstr ""
3170 "Depois de ter definido a preferência, você pode usar <key>Ctrl</key> para "
3171 "inverter a preferência ao abrir. Por exemplo, se você tem em suas "
3172 "preferências configurado para abrir um novo terminal em uma aba, "
3173 "pressionando <gui style=\"menuitem\">Abrir terminal</gui> irá abrir uma nova "
3174 "aba. Por outro lado, se você segurar a tecla <key>Ctrl</key> e, então, "
3175 "pressionar <gui style=\"menuitem\">Novo terminal</gui> enquanto clica, uma "
3176 "nova janela será aberta ao invés da nova aba."
3177
3178 #. (itstool) path: info/desc
3179 #: C/pref-user-input.page:17
3180 msgid "Do not send user input to the application running in the terminal."
3181 msgstr ""
3182 "Impeça o envio de novas entradas para o aplicativo em execução no terminal."
3183
3184 #. (itstool) path: page/title
3185 #: C/pref-user-input.page:22
3186 msgid "Disable user input"
3187 msgstr "Desativando entradas do usuário"
3188
3189 #. (itstool) path: page/p
3190 #: C/pref-user-input.page:24
3191 msgid ""
3192 "You can prevent user input into the terminal from being passed to the "
3193 "application which is currently running in the terminal. This will prevent "
3194 "any keypresses, mouse clicks and mouse movement from affecting the "
3195 "application. You will still be able to interact with the terminal itself "
3196 "using the keyboard for scrolling and your mouse for selecting text. You will "
3197 "also be able to copy selected text from the terminal, but you will not be "
3198 "able to paste text into the terminal."
3199 msgstr ""
3200 "Você pode impedir que ações no terminal sejam passadas para o aplicativo que "
3201 "está sendo executado. Isso irá evitar quaisquer teclas pressionadas, cliques "
3202 "e movimentos do mouse de afetar o aplicativo. Você ainda será capaz de "
3203 "interagir com o próprio terminal usando o teclado para rolagem e seu mouse "
3204 "para selecionar texto. Você também será capaz de copiar o texto selecionado "
3205 "no terminal, mas você não será capaz de colar o texto no terminal."
3206
3207 #. (itstool) path: page/p
3208 #: C/pref-user-input.page:32
3209 msgid "To use the read only mode:"
3210 msgstr "Para usar o modo somente leitura:"
3211
3212 #. (itstool) path: item/p
3213 #: C/pref-user-input.page:36
3214 msgid ""
3215 "Right click in the <app>Terminal</app> window or select the <gui style=\"menu"
3216 "\">Terminal</gui> menu."
3217 msgstr ""
3218 "Clique com o botão direito na janela do <app>Terminal</app>, ou abra o menu "
3219 "<gui style=\"menu\">Terminal</gui>."
3220
3221 #. (itstool) path: item/p
3222 #: C/pref-user-input.page:40
3223 msgid "Select <gui style=\"menuitem\">Read-Only</gui> so that it is checked."
3224 msgstr "Marque a opção <gui style=\"menuitem\">Somente leitura</gui>."
3225
3226 #. (itstool) path: page/p
3227 #: C/pref-user-input.page:44
3228 msgid ""
3229 "You can disable the read only mode by unchecking <gui style=\"menuitem"
3230 "\">Read-Only</gui>."
3231 msgstr ""
3232 "Você pode desativar o modo de somente leitura desmarcando a opção <gui style="
3233 "\"menuitem\">Somente leitura</gui>."
30373234
30383235 #. (itstool) path: page/title
30393236 #: C/profile.page:18
30413238 msgstr "Preferências do perfil"
30423239
30433240 #. (itstool) path: info/desc
3241 #: C/prob-reset.page:23
3242 msgid ""
3243 "How do I recover my <app>Terminal</app> screen when it becomes stuck or has "
3244 "lot of strange symbols on it?"
3245 msgstr ""
3246 "Como faço para recuperar a tela do meu <app>Terminal</app> quando ela trava "
3247 "ou tem muitos símbolos estranhos?"
3248
3249 #. (itstool) path: page/title
3250 #: C/prob-reset.page:27
3251 msgid "Reset your <app>Terminal</app> output"
3252 msgstr "Redefinindo a saída do <app>Terminal</app>"
3253
3254 #. (itstool) path: page/p
3255 #: C/prob-reset.page:29
3256 msgid ""
3257 "After viewing a non-text file by mistake, or launching some command, it can "
3258 "happen the <app>Terminal</app> screen is unresponsive, has strange letters "
3259 "printed when you press keys. You can recover your <app>Terminal</app> in the "
3260 "following ways:"
3261 msgstr ""
3262 "Depois de ver um arquivo não-texto por engano, ou do lançamento de algum "
3263 "comando, pode acontecer da tela do <app>Terminal</app> não responder ou ter "
3264 "letras estranhas impressas quando você pressiona as teclas. Você pode "
3265 "recuperar o <app>Terminal</app> das seguintes maneiras:"
3266
3267 #. (itstool) path: section/title
3268 #: C/prob-reset.page:35
3269 msgid "Reset"
3270 msgstr "Redefinir"
3271
3272 #. (itstool) path: section/p
3273 #: C/prob-reset.page:37
3274 msgid "Reset <app>Terminal</app> screen."
3275 msgstr "Redefinir a tela do <app>Terminal</app>."
3276
3277 #. (itstool) path: item/p
3278 #: C/prob-reset.page:41
3279 msgid ""
3280 "Select <guiseq><gui style=\"menu\">Terminal</gui><gui style=\"menuitem"
3281 "\">Reset</gui></guiseq>."
3282 msgstr ""
3283 "Selecione <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
3284 "\">Redefinir</gui></guiseq>."
3285
3286 #. (itstool) path: item/p
3287 #: C/prob-reset.page:45 C/prob-reset.page:65
3288 msgid "To obtain the prompt press <key>Enter</key>."
3289 msgstr "Para ter o prompt pressione a tecla <key>Enter</key>."
3290
3291 #. (itstool) path: section/title
3292 #: C/prob-reset.page:52
3293 msgid "Reset and Clear"
3294 msgstr "Redefinir e limpar"
3295
3296 #. (itstool) path: section/p
3297 #: C/prob-reset.page:54
3298 msgid ""
3299 "In addition to resetting your <app>Terminal</app>, <gui style=\"menuitem"
3300 "\">Reset and Clear</gui> clears the visible <app>Terminal</app> screen space "
3301 "of all terminal output. To <gui style=\"menuitem\">Reset and Clear</gui> "
3302 "your <app>Terminal</app>:"
3303 msgstr ""
3304 "Além de redefinir seu <app>Terminal</app>, <gui style=\"menuitem\">Redefinir "
3305 "e limpar</gui> limpa todo o espaço usado na tela do <app>Terminal</app>. "
3306 "Para <gui style=\"menuitem\">Redefinir e limpar</gui> seu <app>Terminal</"
3307 "app>:"
3308
3309 #. (itstool) path: item/p
3310 #: C/prob-reset.page:61
3311 msgid ""
3312 "Select <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
3313 "\">Reset and Clear</gui></guiseq>."
3314 msgstr ""
3315 "Selecione <guiseq><gui style=\"menu\">Terminal</gui> <gui style=\"menuitem"
3316 "\">Redefinir e limpar</gui></guiseq>."
3317
3318 #. (itstool) path: note/p
3319 #: C/prob-reset.page:69
3320 msgid ""
3321 "<gui>Reset and clear</gui> provides the similar functionality than the "
3322 "terminal command <cmd>reset</cmd>."
3323 msgstr ""
3324 "<gui>Redefinir e limpar</gui> fornece a funcionalidade semelhante à do "
3325 "comando <cmd>reset</cmd> no terminal."
3326
3327 #. (itstool) path: info/desc
30443328 #: C/txt-copy-paste.page:28
30453329 msgid "Copy and paste text in <app>Terminal</app>."
3046 msgstr "Para copiar e colar texto no <app>Terminal</app>."
3330 msgstr "Copie e cole texto no <app>Terminal</app>."
30473331
30483332 #. (itstool) path: page/title
30493333 #: C/txt-copy-paste.page:32
3050 #, fuzzy
30513334 msgid "Copy and paste"
3052 msgstr "Copiar e colar arquivos"
3335 msgstr "Copiando e colando"
30533336
30543337 #. (itstool) path: page/p
30553338 #: C/txt-copy-paste.page:34
30563339 msgid ""
30573340 "You can copy and paste text in <app>Terminal</app> in a similar way to other "
3058 "applications. However, the keyboard shorcuts differ."
3059 msgstr ""
3341 "applications. However, the keyboard shortcuts differ."
3342 msgstr ""
3343 "Você pode copiar e colar texto no <app>Terminal</app> de forma parecida às "
3344 "outras aplicações. No entanto, os atalhos de teclado são diferentes."
30603345
30613346 #. (itstool) path: item/title
30623347 #: C/txt-copy-paste.page:39
30683353 msgid ""
30693354 "Highlight the text portions you wish to copy, then select <guiseq><gui style="
30703355 "\"menu\">Edit</gui> <gui style=\"menuitem\">Copy</gui></guiseq>. "
3071 "Alternatively, you can press <keyseq><key>Control</key><key>Shift</"
3072 "key><key>C</key></keyseq>."
3073 msgstr ""
3356 "Alternatively, you can press <keyseq><key>Ctrl</key><key>Shift</key><key>C</"
3357 "key></keyseq>."
3358 msgstr ""
3359 "Selecione o texto que você deseja copiar, e use o item <guiseq><gui style="
3360 "\"menu\">Editar</gui> <gui style=\"menuitem\">Copiar</gui></guiseq> do menu. "
3361 "Alternativamente, você pode usar as teclas <keyseq><key>Ctrl</"
3362 "key><key>Shift</key><key>C</key></keyseq>."
30743363
30753364 #. (itstool) path: item/title
30763365 #: C/txt-copy-paste.page:46
30803369 #. (itstool) path: item/p
30813370 #: C/txt-copy-paste.page:47
30823371 msgid ""
3083 "Right click in the <app>Terminal</app> and select <guiseq><gui style="
3084 "\"menuitem\">Paste</gui></guiseq>. Alternatively, you can press "
3085 "<keyseq><key>Control</key><key>Shift</key><key>V</key></keyseq>."
3086 msgstr ""
3372 "Right click in the <app>Terminal</app> and select <gui style=\"menuitem"
3373 "\">Paste</gui>. Alternatively, you can press <keyseq><key>Ctrl</"
3374 "key><key>Shift</key><key>V</key></keyseq>."
3375 msgstr ""
3376 "Clique com o botão direito do mouse no <app>Terminal</app> e use o item <gui "
3377 "style=\"menuitem\">Colar</gui> do menu de contexto. Alternativamente, você "
3378 "pode usar as teclas <keyseq><key>Ctrl</key><key>Shift</key><key>V</key></"
3379 "keyseq>."
30873380
30883381 #. (itstool) path: note/p
30893382 #: C/txt-copy-paste.page:55
30913384 "The standard keyboard shortcuts, such as <keyseq><key>Ctrl</key><key>C</"
30923385 "key></keyseq>, cannot be used to copy and paste text."
30933386 msgstr ""
3387 "Os atalhos de teclado padrão, como <keyseq><key>Ctrl</key><key>C</key></"
3388 "keyseq>, não podem ser usados para copiar e colar texto."
30943389
30953390 #. (itstool) path: info/desc
30963391 #: C/txt-links.page:27
30973392 msgid "Open links to web and email addresses."
3098 msgstr ""
3393 msgstr "Abra links para endereços da web e e-mail."
30993394
31003395 #. (itstool) path: page/title
31013396 #: C/txt-links.page:30
3102 #, fuzzy
31033397 msgid "Hyperlinks and email addresses"
3104 msgstr "- Cliente de e-mail e gerenciador de informações pessoais (PIM)"
3398 msgstr "Hiperlinks e endereços de e-mail"
31053399
31063400 #. (itstool) path: page/p
31073401 #: C/txt-links.page:32
31113405 "addresses are automatically highlighted when you point your cursor to the "
31123406 "text, indicating that the link can be opened in an application."
31133407 msgstr ""
3408 "O <app>Terminal</app> analisa a saída do terminal e automaticamente detecta "
3409 "trechos de texto que são hiperlinks ou endereços de e-mail. Os endereços da "
3410 "web e de e-mail são automaticamente realçados quando você passa o cursor "
3411 "pelo o texto, indicando que o link pode ser aberto em outro aplicativo."
31143412
31153413 #. (itstool) path: page/p
31163414 #: C/txt-links.page:37
31193417 "<output>[email protected]</output> generated as a part of terminal output "
31203418 "by programs such as <app>wget</app> or <app>curl</app>."
31213419 msgstr ""
3420 "Por exemplo, você pode ver o texto <output>http://www.gnome.org</output> ou "
3421 "<output>[email protected]</output> gerado como parte da saída do terminal "
3422 "por programas como o <app>wget</app> ou o <app>curl</app>."
31223423
31233424 #. (itstool) path: section/title
31243425 #: C/txt-links.page:42
31253426 msgid "Open or copy web addresses"
3126 msgstr "Abrindo ou copiando endereços web"
3427 msgstr "Abrir ou copiar endereços da web"
31273428
31283429 #. (itstool) path: section/p
31293430 #: C/txt-links.page:44
31313432 "Web addresses are also called hyperlinks. They can be copied to the system "
31323433 "clipboard or opened in your preferred web browser."
31333434 msgstr ""
3435 "Os endereços da web também são chamados de hiperlinks. Eles podem ser "
3436 "copiados para a área de transferência do sistema serem abertos em seu "
3437 "navegador."
31343438
31353439 #. (itstool) path: item/p
31363440 #: C/txt-links.page:49
3137 #, fuzzy
31383441 msgid "Copy a hyperlink:"
3139 msgstr "Cor do hyperlink"
3442 msgstr "Copiar um hiperlink:"
31403443
31413444 #. (itstool) path: item/p
31423445 #: C/txt-links.page:52
31433446 msgid "Right click on the link in <app>Terminal</app>."
3144 msgstr ""
3447 msgstr "Clique com o botão direito no link no <app>Terminal</app>."
31453448
31463449 #. (itstool) path: item/p
31473450 #: C/txt-links.page:55
3148 #, fuzzy
31493451 msgid "Select <gui style=\"menuitem\">Copy Link Address</gui>."
3150 msgstr ""
3151 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3152 "\">Copiar</gui></guiseq>."
3452 msgstr "Selecione <gui style=\"menuitem\">Copiar endereço de link</gui>."
31533453
31543454 #. (itstool) path: item/p
31553455 #: C/txt-links.page:60
3156 #, fuzzy
31573456 msgid "Open a hyperlink in your web browser:"
3158 msgstr "Compre MP3s da Amazon no seu navegador"
3457 msgstr "Abrir um hiperlink no seu navegador:"
31593458
31603459 #. (itstool) path: item/p
31613460 #: C/txt-links.page:63
31643463
31653464 #. (itstool) path: item/p
31663465 #: C/txt-links.page:66
3167 #, fuzzy
31683466 msgid "Select <gui style=\"menuitem\">Open Link</gui>."
3169 msgstr ""
3170 "Selecione <gui style=\"menuitem\">Trechos</gui> para habilitar o plug-in."
3467 msgstr "Selecione <gui style=\"menuitem\">Abrir link</gui>."
31713468
31723469 #. (itstool) path: section/title
31733470 #: C/txt-links.page:75
3174 #, fuzzy
31753471 msgid "Email or copy email addresses"
3176 msgstr "Assunto ou endereços contém"
3472 msgstr "Enviar e-mail ou copiar o endereço"
31773473
31783474 #. (itstool) path: section/p
31793475 #: C/txt-links.page:77
31863482
31873483 #. (itstool) path: item/p
31883484 #: C/txt-links.page:82
3189 #, fuzzy
31903485 msgid "Copy an email address:"
3191 msgstr "Copiar _endereço de e-mail"
3486 msgstr "Copiar um endereço de e-mail:"
31923487
31933488 #. (itstool) path: item/p
31943489 #: C/txt-links.page:85
3195 #, fuzzy
3196 msgid "Right click in <app>Terminal</app>."
3197 msgstr "Para copiar e colar texto no <app>Terminal</app>."
3490 msgid "Right click on the email address in <app>Terminal</app>."
3491 msgstr ""
3492 "Clique com o botão direito no endereço de e-mail no <app>Terminal</app>."
31983493
31993494 #. (itstool) path: item/p
32003495 #: C/txt-links.page:88
3201 #, fuzzy
32023496 msgid "Select <gui style=\"menuitem\">Copy E-mail Address</gui>."
3203 msgstr ""
3204 "Selecione <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3205 "\">Copiar</gui></guiseq>."
3497 msgstr "Selecione <gui style=\"menuitem\">Copiar endereço de e-mail</gui>."
32063498
32073499 #. (itstool) path: item/p
32083500 #: C/txt-links.page:93
32093501 msgid "Send mail to the email address using your email client:"
3210 msgstr "Envie um e-mail para o endereço usando o seu cliente de e-mail: "
3502 msgstr "Envie um e-mail para o endereço usando o seu cliente de e-mail:"
32113503
32123504 #. (itstool) path: item/p
32133505 #: C/txt-links.page:96
3214 #, fuzzy
32153506 msgid "Right click on the address."
3216 msgstr "Clique na cor certa"
3507 msgstr "Clique com o botão direito sobre o endereço."
32173508
32183509 #. (itstool) path: item/p
32193510 #: C/txt-links.page:99
32203511 msgid "Select <gui style=\"menuitem\">Sent Mail To…</gui>."
3221 msgstr ""
3512 msgstr "Selecione <gui style=\"menuitem\">Enviar e-mail para…</gui>."
32223513
32233514 #. (itstool) path: info/desc
32243515 #: C/txt-search.page:27
3225 #, fuzzy
32263516 msgid "Search the <app>Terminal</app> output."
3227 msgstr "Alterando o tamanho da janela do <app>Terminal</app>"
3517 msgstr "Procure por texto no <app>Terminal</app>."
32283518
32293519 #. (itstool) path: page/title
32303520 #: C/txt-search.page:31
32313521 msgid "Use <gui style=\"menuitem\">Find</gui>"
3232 msgstr "Use <gui style=\"menuitem\">Localizar</gui>"
3522 msgstr "Usando o <gui style=\"menuitem\">Localizar</gui>"
32333523
32343524 #. (itstool) path: page/p
32353525 #: C/txt-search.page:33
32363526 msgid "You can search text in the <app>Terminal</app> output:"
3237 msgstr ""
3527 msgstr "Você pode procurar textos na saída do <app>Terminal</app>:"
32383528
32393529 #. (itstool) path: item/p
32403530 #: C/txt-search.page:37
3241 #, fuzzy
32423531 msgid ""
32433532 "Select <guiseq><gui style=\"menu\">Search</gui> <gui style=\"menuitem\">Find…"
32443533 "</gui></guiseq>."
32453534 msgstr ""
3246 "Selecione <guiseq><gui style=\"menu\">Arquivo</gui> <gui style=\"menuitem"
3247 "\">Visualizar</gui></guiseq>."
3535 "Selecione <guiseq><gui style=\"menu\">Pesquisar</gui> <gui style=\"menuitem"
3536 "\">Localizar…</gui></guiseq>."
32483537
32493538 #. (itstool) path: item/p
32503539 #: C/txt-search.page:41
32523541 "Type in the search keyword and press <gui style=\"button\">Find</gui>. To "
32533542 "cancel, press <gui style=\"button\">Close</gui>."
32543543 msgstr ""
3544 "Digite o texto de pesquisa e pressione <gui style=\"button\">Localizar</"
3545 "gui>. Para cancelar, pressione <gui style=\"button\">Fechar</gui>."
32553546
32563547 #. (itstool) path: page/p
32573548 #: C/txt-search.page:46
32583549 msgid "You can search using the following options to narrow down your results:"
32593550 msgstr ""
3551 "Você pode pesquisar usando as seguintes opções para refinar os resultados:"
32603552
32613553 #. (itstool) path: item/title
32623554 #: C/txt-search.page:51
3263 #, fuzzy
32643555 msgid "<gui style=\"checkbox\">Match case</gui>"
3265 msgstr "Selecione <gui style=\"checkbox\">Campainha do terminal</gui>"
3556 msgstr "<gui style=\"checkbox\">Diferenciar maiúsculas/minúsculas</gui>"
32663557
32673558 #. (itstool) path: item/p
32683559 #: C/txt-search.page:52
32703561 "Make the search case sensitive: this restricts results to only those that "
32713562 "match the case of your search keyword."
32723563 msgstr ""
3564 "Faz a busca sensível à casa: restringe os resultados à apenas aqueles que "
3565 "correspondem às maiúsculas/minúsculas de seu texto de pesquisa."
32733566
32743567 #. (itstool) path: item/title
32753568 #: C/txt-search.page:56
32763569 msgid "<gui style=\"checkbox\">Match entire word only</gui>"
3277 msgstr ""
3570 msgstr "<gui style=\"checkbox\">Coincidir apenas com palavra completa</gui>"
32783571
32793572 #. (itstool) path: item/p
32803573 #: C/txt-search.page:57
32843577 "for \"gnome\", <app>Terminal</app> will show only results that match this "
32853578 "keyword exactly and omit results such as \"gnome-terminal\"."
32863579 msgstr ""
3580 "O <app>Terminal</app> vai ignorar os resultados que correspondem "
3581 "parcialmente a seu texto de pesquisa. Por exemplo, se você procurou \"gnome"
3582 "\", o <app>Terminal</app> irá mostrar apenas os resultados que correspondem "
3583 "a esta palavra inteira e omitir resultados como \"gnome-terminal\"."
32873584
32883585 #. (itstool) path: item/title
32893586 #: C/txt-search.page:64
32903587 msgid "<gui style=\"checkbox\">Match as regular expression</gui>"
3291 msgstr ""
3588 msgstr "<gui style=\"checkbox\">Coincidir como expressão regular</gui>"
32923589
32933590 #. (itstool) path: item/p
32943591 #: C/txt-search.page:65
32973594 "your search keywords. <app>Terminal</app> will display the results that "
32983595 "match these search terms."
32993596 msgstr ""
3597 "Você pode usar padrões de expressões regulares em seus textos de busca. O "
3598 "<app>Terminal</app> exibirá os resultados que correspondem a estes termos de "
3599 "busca."
33003600
33013601 #. (itstool) path: item/title
33023602 #: C/txt-search.page:70
3303 #, fuzzy
33043603 msgid "<gui style=\"checkbox\">Search backwards</gui>"
3305 msgstr "Selecione <gui style=\"checkbox\">Campainha do terminal</gui>"
3604 msgstr "<gui style=\"checkbox\">Pesquisar para trás</gui>"
33063605
33073606 #. (itstool) path: item/p
33083607 #: C/txt-search.page:71
33123611 "for a keyword that could have occurred recently, thus enabling you to find "
33133612 "the keyword quickly."
33143613 msgstr ""
3614 "O <app>Terminal</app> irá procurar o texto na da última saída e continuar a "
3615 "busca para cima. Essa opção é recomendada quando você está à procura de um "
3616 "texto que pode ter ocorrido recentemente, fazendo com que você encontre o "
3617 "texto rapidamente."
33153618
33163619 #. (itstool) path: item/title
33173620 #: C/txt-search.page:77
3318 #, fuzzy
33193621 msgid "<gui style=\"checkbox\">Wrap around</gui>"
3320 msgstr "Selecione <gui style=\"checkbox\">Campainha do terminal</gui>"
3622 msgstr "<gui style=\"checkbox\">Voltar ao início</gui>"
33213623
33223624 #. (itstool) path: item/p
33233625 #: C/txt-search.page:78
33263628 "the end of available terminal output and then restarts the search from the "
33273629 "top."
33283630 msgstr ""
3631 "O <app>Terminal</app> pesquisa da posição atual na rolagem até o fim da "
3632 "saída do disponível e, em seguida, reinicia a busca a partir do topo."
33293633
33303634 #. (itstool) path: note/p
33313635 #: C/txt-search.page:85
33323636 msgid ""
33333637 "If you expect to work with a lot of <app>Terminal</app> output, increase the "
3334 "<link xref=\"pref-scrolling#scrollback-lines\">scrollback lines</link> to a "
3335 "higher limit to allow <app>Terminal</app> to search further back."
3336 msgstr ""
3638 "<link xref=\"pref-scrolling#lines\">scrollback lines</link> to a higher "
3639 "limit to allow <app>Terminal</app> to search further back."
3640 msgstr ""
3641 "Se você espera trabalhar com um monte de saída do <app>Terminal</app>, "
3642 "aumente a quantidade de <link xref=\"pref-scrolling#lines\">linhas para "
3643 "trás</link> para permitir o <app>Terminal</app> buscar mais para trás."
3644
3645 #. (itstool) path: credit/years
3646 #: C/txt-select-text.page:21
3647 msgid "2013, 2015"
3648 msgstr "2013, 2015"
33373649
33383650 #. (itstool) path: info/desc
3339 #: C/txt-select-text.page:24
3340 msgid "Specify which characters should be considered as part of a word."
3341 msgstr ""
3342 "Especifique que caracteres devem ser considerados parte de uma palavra."
3651 #: C/txt-select-text.page:26
3652 msgid "Select individual words or lines in the terminal."
3653 msgstr "Selecione palavras ou linhas no terminal."
33433654
33443655 #. (itstool) path: page/title
3345 #: C/txt-select-text.page:28
3656 #: C/txt-select-text.page:30
33463657 msgid "Text selection"
33473658 msgstr "Seleção de texto"
33483659
33493660 #. (itstool) path: page/p
3350 #: C/txt-select-text.page:30
3351 msgid ""
3352 "You can define selection criteria for text in <app>Terminal</app>. You can "
3353 "allow <app>Terminal</app> to select only words consisting of letters or "
3354 "words with combinations of letters, numbers and special characters. To "
3355 "specify the range of characters that can be selected:"
3356 msgstr ""
3661 #: C/txt-select-text.page:32
3662 msgid ""
3663 "You can select a word or a sentence, or make a rectangular selection from "
3664 "your terminal output:"
3665 msgstr ""
3666 "Você pode selecionar uma palavra ou uma frase, ou fazer uma seleção "
3667 "retangular da saída do terminal:"
3668
3669 #. (itstool) path: item/title
3670 #: C/txt-select-text.page:37
3671 msgid "Select a word"
3672 msgstr "Selecionar uma palavra"
3673
3674 #. (itstool) path: item/p
3675 #: C/txt-select-text.page:38
3676 msgid "Double click on the word."
3677 msgstr "Dê um clique duplo na palavra."
3678
3679 #. (itstool) path: item/title
3680 #: C/txt-select-text.page:41
3681 msgid "Select a line"
3682 msgstr "Selecionar uma linha"
33573683
33583684 #. (itstool) path: item/p
33593685 #: C/txt-select-text.page:42
3360 msgid ""
3361 "Specify the characters or ranges that you wish to be considered part of "
3362 "words in the <gui>Select-by-word characters</gui> entry field. By default, "
3363 "text selection includes all characters with numbers and some special "
3364 "characters: <var>-A-Za-z0-9,./?%&amp;#:_=+@~</var>"
3365 msgstr ""
3686 msgid "Triple click on the line."
3687 msgstr "Dê um clique triplo na linha."
3688
3689 #. (itstool) path: item/title
3690 #: C/txt-select-text.page:45
3691 msgid "Make a rectangular selection"
3692 msgstr "Fazer uma seleção retangular"
33663693
33673694 #. (itstool) path: item/p
33683695 #: C/txt-select-text.page:46
3696 msgid ""
3697 "Hold down the <key>Ctrl</key>, click and hold down the left mouse button "
3698 "then drag the mouse."
3699 msgstr ""
3700 "Mantenha a tecla <key>Ctrl</key> pressionada enquanto usar o botão esquerdo "
3701 "do mouse para selecionar texto."
3702
3703 #. (itstool) path: note/p
3704 #: C/txt-select-text.page:52
3705 msgid ""
3706 "If you are running an application in <app>Terminal</app> which accepts mouse "
3707 "input, you need to use the <key>Shift</key> modifier for the <app>Terminal</"
3708 "app> to catch the mouse input."
3709 msgstr ""
3710 "Se você estiver executando um aplicativo no <app>Terminal</app> que aceita "
3711 "entrada do mouse, você precisa utilizar a tecla <key>Shift</key> para que o "
3712 "<app>Terminal</app> perceba e capture a entrada do mouse."
3713
3714 #~ msgctxt "_"
3715 #~ msgid ""
3716 #~ "external ref='figures/gnome-terminal-icon.png' "
3717 #~ "md5='eec073d5291ad14523f66f78811b505a'"
3718 #~ msgstr ""
3719 #~ "external ref='figures/gnome-terminal-icon.png' "
3720 #~ "md5='eec073d5291ad14523f66f78811b505a'"
3721
3722 #~ msgid "Use the command line."
3723 #~ msgstr "Usando a linha de comando."
3724
3725 #~ msgid ""
3726 #~ "<media type=\"image\" mime=\"image/png\" src=\"figures/gnome-terminal-"
3727 #~ "icon.png\"> </media> Terminal Help"
3728 #~ msgstr ""
3729 #~ "<media type=\"image\" mime=\"image/png\" src=\"figures/gnome-terminal-"
3730 #~ "icon.png\"> </media> Ajuda do terminal"
3731
3732 #~ msgid ""
3733 #~ "Mnemonic key combinations, such as <keyseq><key>Alt</key> <key>F</key></"
3734 #~ "keyseq> will not work. If you accidentally set one of these key "
3735 #~ "combinations as a shortcut, you may need to reset it before you can "
3736 #~ "change it to something else."
3737 #~ msgstr ""
3738 #~ "Combinações teclas mnemônicas, como <keyseq><key>Alt</key> <key>F</key></"
3739 #~ "keyseq>, não vão funcionar. Se você acidentalmente definir uma dessas "
3740 #~ "combinações de teclas como um atalho, você pode precisar reiniciá-la "
3741 #~ "antes de poder alterá-la para outra coisa."
3742
3743 #~ msgid "Switch to Tab 0"
3744 #~ msgstr "Alternar para a aba 0"
3745
3746 #~ msgid ""
3747 #~ "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
3748 #~ "\">Profile Preferences</gui> <gui style=\"tab\">General</gui></guiseq>"
3749 #~ msgstr ""
3750 #~ "Vá em <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3751 #~ "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>"
3752
3753 #~ msgid "Ekaterina Gerasimomva"
3754 #~ msgstr "Ekaterina Gerasimomva"
3755
3756 #~ msgid ""
3757 #~ "Programs can be installed to different locations on your computer. If "
3758 #~ "these locations are not added to the <code>PATH</code> variable of your "
3759 #~ "computer, you will need to specify the path to the program."
3760 #~ msgstr ""
3761 #~ "Programas podem ser instalados em diferentes locais do seu computador. Se "
3762 #~ "esses locais não foram adicionados a variável <code>PATH</code> do seu "
3763 #~ "computador, você vai precisar especificar o diretório para o programa."
3764
3765 #~ msgid ""
3766 #~ "Select <guiseq><gui style=\"menu\">File</gui> <gui style=\"menuitem"
3767 #~ "\">Open tab</gui></guiseq>."
3768 #~ msgstr ""
3769 #~ "Selecione <guiseq><gui style=\"menu\">Arquivo</gui> <gui style=\"menuitem"
3770 #~ "\">Abrir aba</gui></guiseq>."
3771
3772 #~ msgid "Rename a tab"
3773 #~ msgstr "Renomeando uma aba"
3774
3775 #~ msgid ""
3776 #~ "Each tab has an automatically assigned title. You can rename the tabs "
3777 #~ "individually:"
3778 #~ msgstr ""
3779 #~ "Cada aba tem um título atribuído automaticamente. Você pode renomear as "
3780 #~ "abas individualmente:"
3781
3782 #~ msgid ""
3783 #~ "Enter the <gui>Title</gui> that you wish to use, enter the desired name "
3784 #~ "for the tab. This will overwrite any titles that would be set by terminal "
3785 #~ "commands."
3786 #~ msgstr ""
3787 #~ "Insira o <gui>Título</gui> que você quiser, coloque o nome desejado para "
3788 #~ "a aba. Isso vai sobreescrever todos os títulos que foram definidos por "
3789 #~ "comandos do terminal."
3790
33693791 #, fuzzy
3370 msgid "Your preferences will be saved automatically."
3371 msgstr "Sua alteração será salva automaticamente."
3372
3373 #. (itstool) path: page/p
3374 #: C/txt-select-text.page:50
3375 msgid ""
3376 "Once you have set your selection preference, you can select text in "
3377 "<app>Terminal</app> in two different ways."
3378 msgstr ""
3379
3380 #. (itstool) path: page/p
3381 #: C/txt-select-text.page:53
3382 msgid "To select a word in <app>Terminal</app> output:"
3383 msgstr "Para selecionar uma palavra na saída do <app>Terminal</app>:"
3384
3385 #. (itstool) path: item/p
3386 #: C/txt-select-text.page:57
3792 #~ msgid "Click <gui style=\"button\">OK</gui>."
3793 #~ msgstr "Clique em <gui style=\"button\">Novo</gui>."
3794
3795 #~ msgid "What is <app>Terminal</app>?"
3796 #~ msgstr "O que é o <app>Terminal</app>?"
3797
3798 #~ msgid ""
3799 #~ "You can set the location of the scrollbar, or disable it, in "
3800 #~ "<app>Terminal</app>:"
3801 #~ msgstr ""
3802 #~ "Você pode definir a localização da barra de rolagem ou desabilidar isso "
3803 #~ "em <app>Terminal</app>:"
3804
3805 #~ msgid "You can choose from the following options:"
3806 #~ msgstr "Você pode escolher as seguintes opções:"
3807
3808 #~ msgid ""
3809 #~ "<gui style=\"menuitem\">Always visible</gui>: Scrollbar is visible at all "
3810 #~ "times."
3811 #~ msgstr ""
3812 #~ "<gui style=\"menuitem\">Sempre visível</gui>: A barra de rolagem é sempre "
3813 #~ "visível."
3814
3815 #~ msgid ""
3816 #~ "<gui style=\"menuitem\">Visible only when necessary</gui>: Scrollbar is "
3817 #~ "visible only when terminal output exceeds the length of <app>Terminal</"
3818 #~ "app> window size."
3819 #~ msgstr ""
3820 #~ "<gui style=\"menuitem\">Visível apenas quando necessário</gui>: A barra "
3821 #~ "de rolagem somente é visível quando a saída do terminal excede o tamanho "
3822 #~ "da janela do <app>Terminal</app>"
3823
3824 #~ msgid ""
3825 #~ "<gui style=\"menuitem\">Hidden</gui>: Scrollbar is always hidden from "
3826 #~ "view."
3827 #~ msgstr ""
3828 #~ "<gui style=\"menuitem\">Invisível</gui>: A barra de rolagem sempre estará "
3829 #~ "invisível."
3830
3831 #~ msgid ""
3832 #~ "Your preference is saved immediately. Click <gui style=\"button\">Close</"
3833 #~ "gui> to return to <app>Terminal</app>."
3834 #~ msgstr ""
3835 #~ "Sua preferência é salva imediatamente. Clique em<gui style=\"button"
3836 #~ "\">Fechar</gui> para returnar para o <app>Terminal</app>."
3837
33873838 #, fuzzy
3388 msgid "Double click on the desired word."
3389 msgstr "Clique duplo na palavra para consultá-la"
3390
3391 #. (itstool) path: page/p
3392 #: C/txt-select-text.page:61
3393 msgid "To select a line in <app>Terminal</app> output:"
3394 msgstr "Para selecionar uma linha na saída do <app>Terminal</app>:"
3395
3396 #. (itstool) path: item/p
3397 #: C/txt-select-text.page:65
3839 #~ msgid ""
3840 #~ "Go to <guiseq><gui style=\"menu\">Edit</gui> <gui style=\"menuitem"
3841 #~ "\">Profile Preferences</gui> <gui style=\"tab\">Scrolling</gui></guiseq>."
3842 #~ msgstr ""
3843 #~ "Vá até <guiseq><gui style=\"menu\">Editar</gui> <gui style=\"menuitem"
3844 #~ "\">Preferências do perfil</gui> <gui style=\"tab\">Geral</gui></guiseq>."
3845
3846 #~ msgid "Scroll on keystroke"
3847 #~ msgstr "Rolagem ao pressionar tecla"
3848
33983849 #, fuzzy
3399 msgid "Triple click on the desired line."
3400 msgstr "Clique na cor desejada na janela de seleção de cor."
3850 #~ msgid "<app>Terminal</app> title"
3851 #~ msgstr "Define o título do terminal"
3852
3853 #~ msgid "Select one of the following options:"
3854 #~ msgstr "Selecione uma das seguintes opções:"
3855
3856 #~ msgid "<gui>Replace initial title</gui>"
3857 #~ msgstr "<guilabel>Substituír título inicial</guilabel>"
3858
3859 #~ msgid "<gui>Append initial title</gui>"
3860 #~ msgstr "<gui>Acrescentar título inicial</gui>"
3861
3862 #~ msgid "<gui>Prepend initial title</gui>"
3863 #~ msgstr "<gui>Anteceder título inicial</gui>"
3864
3865 #~ msgid "<gui>Keep initial title</gui>"
3866 #~ msgstr "<gui>Manter título inicial</gui>"
3867
3868 #~ msgid "The initial title which is set by the user will be retained."
3869 #~ msgstr "O título inicial que foi definido pelo usuário será mantido."
3870
3871 #~ msgid "Your selection will be saved and applied immediately."
3872 #~ msgstr "Sua seleção será salva e aplicada imediatamente."
3873
3874 #, fuzzy
3875 #~ msgid ""
3876 #~ "Click <gui style=\"button\">Close</gui> to return to <app>Terminal</app>."
3877 #~ msgstr ""
3878 #~ "Para retornar para <app>Terminal</app>, clique <gui style=\"button"
3879 #~ "\">Fechar</gui>."
3880
3881 #~ msgid "Specify which characters should be considered as part of a word."
3882 #~ msgstr ""
3883 #~ "Especifique que caracteres devem ser considerados parte de uma palavra."
3884
3885 #~ msgid "To select a line in <app>Terminal</app> output:"
3886 #~ msgstr "Para selecionar uma linha na saída do <app>Terminal</app>:"
34013887
34023888 #~ msgctxt "_"
34033889 #~ msgid ""
help/ru/figures/gnome-terminal.png less more
Binary diff not shown
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2013-12-25.23; # UTC
3 scriptversion=2011-11-20.07; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
4040 # This script is compatible with the BSD install script, but was written
4141 # from scratch.
4242
43 tab=' '
4443 nl='
4544 '
46 IFS=" $tab$nl"
47
48 # Set DOITPROG to "echo" to test this script.
49
45 IFS=" "" $nl"
46
47 # set DOITPROG to echo to test this script
48
49 # Don't use :- since 4.3BSD and earlier shells don't like it.
5050 doit=${DOITPROG-}
51 doit_exec=${doit:-exec}
51 if test -z "$doit"; then
52 doit_exec=exec
53 else
54 doit_exec=$doit
55 fi
5256
5357 # Put in absolute file names if you don't have them in your path;
5458 # or use environment vars.
6367 rmprog=${RMPROG-rm}
6468 stripprog=${STRIPPROG-strip}
6569
70 posix_glob='?'
71 initialize_posix_glob='
72 test "$posix_glob" != "?" || {
73 if (set -f) 2>/dev/null; then
74 posix_glob=
75 else
76 posix_glob=:
77 fi
78 }
79 '
80
6681 posix_mkdir=
6782
6883 # Desired mode of installed file.
8196 dst_arg=
8297
8398 copy_on_change=false
84 is_target_a_directory=possibly
99 no_target_directory=
85100
86101 usage="\
87102 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
121136 -d) dir_arg=true;;
122137
123138 -g) chgrpcmd="$chgrpprog $2"
124 shift;;
139 shift;;
125140
126141 --help) echo "$usage"; exit $?;;
127142
128143 -m) mode=$2
129 case $mode in
130 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
131 echo "$0: invalid mode: $mode" >&2
132 exit 1;;
133 esac
134 shift;;
144 case $mode in
145 *' '* | *' '* | *'
146 '* | *'*'* | *'?'* | *'['*)
147 echo "$0: invalid mode: $mode" >&2
148 exit 1;;
149 esac
150 shift;;
135151
136152 -o) chowncmd="$chownprog $2"
137 shift;;
153 shift;;
138154
139155 -s) stripcmd=$stripprog;;
140156
141 -t)
142 is_target_a_directory=always
143 dst_arg=$2
144 # Protect names problematic for 'test' and other utilities.
145 case $dst_arg in
146 -* | [=\(\)!]) dst_arg=./$dst_arg;;
147 esac
148 shift;;
149
150 -T) is_target_a_directory=never;;
157 -t) dst_arg=$2
158 # Protect names problematic for 'test' and other utilities.
159 case $dst_arg in
160 -* | [=\(\)!]) dst_arg=./$dst_arg;;
161 esac
162 shift;;
163
164 -T) no_target_directory=true;;
151165
152166 --version) echo "$0 $scriptversion"; exit $?;;
153167
154 --) shift
155 break;;
156
157 -*) echo "$0: invalid option: $1" >&2
158 exit 1;;
168 --) shift
169 break;;
170
171 -*) echo "$0: invalid option: $1" >&2
172 exit 1;;
159173
160174 *) break;;
161175 esac
162176 shift
163177 done
164
165 # We allow the use of options -d and -T together, by making -d
166 # take the precedence; this is for compatibility with GNU install.
167
168 if test -n "$dir_arg"; then
169 if test -n "$dst_arg"; then
170 echo "$0: target directory not allowed when installing a directory." >&2
171 exit 1
172 fi
173 fi
174178
175179 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
176180 # When -d is used, all remaining arguments are directories to create.
203207 fi
204208
205209 if test -z "$dir_arg"; then
206 if test $# -gt 1 || test "$is_target_a_directory" = always; then
207 if test ! -d "$dst_arg"; then
208 echo "$0: $dst_arg: Is not a directory." >&2
209 exit 1
210 fi
211 fi
212 fi
213
214 if test -z "$dir_arg"; then
215210 do_exit='(exit $ret); exit $ret'
216211 trap "ret=129; $do_exit" 1
217212 trap "ret=130; $do_exit" 2
227222
228223 *[0-7])
229224 if test -z "$stripcmd"; then
230 u_plus_rw=
225 u_plus_rw=
231226 else
232 u_plus_rw='% 200'
227 u_plus_rw='% 200'
233228 fi
234229 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
235230 *)
236231 if test -z "$stripcmd"; then
237 u_plus_rw=
232 u_plus_rw=
238233 else
239 u_plus_rw=,u+rw
234 u_plus_rw=,u+rw
240235 fi
241236 cp_umask=$mode$u_plus_rw;;
242237 esac
273268 # If destination is a directory, append the input filename; won't work
274269 # if double slashes aren't ignored.
275270 if test -d "$dst"; then
276 if test "$is_target_a_directory" = never; then
277 echo "$0: $dst_arg: Is a directory" >&2
278 exit 1
271 if test -n "$no_target_directory"; then
272 echo "$0: $dst_arg: Is a directory" >&2
273 exit 1
279274 fi
280275 dstdir=$dst
281276 dst=$dstdir/`basename "$src"`
282277 dstdir_status=0
283278 else
284 dstdir=`dirname "$dst"`
279 # Prefer dirname, but fall back on a substitute if dirname fails.
280 dstdir=`
281 (dirname "$dst") 2>/dev/null ||
282 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
283 X"$dst" : 'X\(//\)[^/]' \| \
284 X"$dst" : 'X\(//\)$' \| \
285 X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
286 echo X"$dst" |
287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
288 s//\1/
289 q
290 }
291 /^X\(\/\/\)[^/].*/{
292 s//\1/
293 q
294 }
295 /^X\(\/\/\)$/{
296 s//\1/
297 q
298 }
299 /^X\(\/\).*/{
300 s//\1/
301 q
302 }
303 s/.*/./; q'
304 `
305
285306 test -d "$dstdir"
286307 dstdir_status=$?
287308 fi
292313 if test $dstdir_status != 0; then
293314 case $posix_mkdir in
294315 '')
295 # Create intermediate dirs using mode 755 as modified by the umask.
296 # This is like FreeBSD 'install' as of 1997-10-28.
297 umask=`umask`
298 case $stripcmd.$umask in
299 # Optimize common cases.
300 *[2367][2367]) mkdir_umask=$umask;;
301 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
302
303 *[0-7])
304 mkdir_umask=`expr $umask + 22 \
305 - $umask % 100 % 40 + $umask % 20 \
306 - $umask % 10 % 4 + $umask % 2
307 `;;
308 *) mkdir_umask=$umask,go-w;;
309 esac
310
311 # With -d, create the new directory with the user-specified mode.
312 # Otherwise, rely on $mkdir_umask.
313 if test -n "$dir_arg"; then
314 mkdir_mode=-m$mode
315 else
316 mkdir_mode=
317 fi
318
319 posix_mkdir=false
320 case $umask in
321 *[123567][0-7][0-7])
322 # POSIX mkdir -p sets u+wx bits regardless of umask, which
323 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324 ;;
325 *)
326 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
329 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
331 then
332 if test -z "$dir_arg" || {
333 # Check for POSIX incompatibilities with -m.
334 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335 # other-writable bit of parent directory when it shouldn't.
336 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
338 case $ls_ld_tmpdir in
339 d????-?r-*) different_mode=700;;
340 d????-?--*) different_mode=755;;
341 *) false;;
342 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
345 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346 }
347 }
348 then posix_mkdir=:
349 fi
350 rmdir "$tmpdir/d" "$tmpdir"
351 else
352 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
354 fi
355 trap '' 0;;
356 esac;;
316 # Create intermediate dirs using mode 755 as modified by the umask.
317 # This is like FreeBSD 'install' as of 1997-10-28.
318 umask=`umask`
319 case $stripcmd.$umask in
320 # Optimize common cases.
321 *[2367][2367]) mkdir_umask=$umask;;
322 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
323
324 *[0-7])
325 mkdir_umask=`expr $umask + 22 \
326 - $umask % 100 % 40 + $umask % 20 \
327 - $umask % 10 % 4 + $umask % 2
328 `;;
329 *) mkdir_umask=$umask,go-w;;
330 esac
331
332 # With -d, create the new directory with the user-specified mode.
333 # Otherwise, rely on $mkdir_umask.
334 if test -n "$dir_arg"; then
335 mkdir_mode=-m$mode
336 else
337 mkdir_mode=
338 fi
339
340 posix_mkdir=false
341 case $umask in
342 *[123567][0-7][0-7])
343 # POSIX mkdir -p sets u+wx bits regardless of umask, which
344 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
345 ;;
346 *)
347 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
348 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
349
350 if (umask $mkdir_umask &&
351 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
352 then
353 if test -z "$dir_arg" || {
354 # Check for POSIX incompatibilities with -m.
355 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
356 # other-writable bit of parent directory when it shouldn't.
357 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
358 ls_ld_tmpdir=`ls -ld "$tmpdir"`
359 case $ls_ld_tmpdir in
360 d????-?r-*) different_mode=700;;
361 d????-?--*) different_mode=755;;
362 *) false;;
363 esac &&
364 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
365 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
366 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
367 }
368 }
369 then posix_mkdir=:
370 fi
371 rmdir "$tmpdir/d" "$tmpdir"
372 else
373 # Remove any dirs left behind by ancient mkdir implementations.
374 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
375 fi
376 trap '' 0;;
377 esac;;
357378 esac
358379
359380 if
360381 $posix_mkdir && (
361 umask $mkdir_umask &&
362 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
382 umask $mkdir_umask &&
383 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
363384 )
364385 then :
365386 else
369390 # directory the slow way, step by step, checking for races as we go.
370391
371392 case $dstdir in
372 /*) prefix='/';;
373 [-=\(\)!]*) prefix='./';;
374 *) prefix='';;
393 /*) prefix='/';;
394 [-=\(\)!]*) prefix='./';;
395 *) prefix='';;
375396 esac
397
398 eval "$initialize_posix_glob"
376399
377400 oIFS=$IFS
378401 IFS=/
379 set -f
402 $posix_glob set -f
380403 set fnord $dstdir
381404 shift
382 set +f
405 $posix_glob set +f
383406 IFS=$oIFS
384407
385408 prefixes=
386409
387410 for d
388411 do
389 test X"$d" = X && continue
390
391 prefix=$prefix$d
392 if test -d "$prefix"; then
393 prefixes=
394 else
395 if $posix_mkdir; then
396 (umask=$mkdir_umask &&
397 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
398 # Don't fail if two instances are running concurrently.
399 test -d "$prefix" || exit 1
400 else
401 case $prefix in
402 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
403 *) qprefix=$prefix;;
404 esac
405 prefixes="$prefixes '$qprefix'"
406 fi
407 fi
408 prefix=$prefix/
412 test X"$d" = X && continue
413
414 prefix=$prefix$d
415 if test -d "$prefix"; then
416 prefixes=
417 else
418 if $posix_mkdir; then
419 (umask=$mkdir_umask &&
420 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
421 # Don't fail if two instances are running concurrently.
422 test -d "$prefix" || exit 1
423 else
424 case $prefix in
425 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
426 *) qprefix=$prefix;;
427 esac
428 prefixes="$prefixes '$qprefix'"
429 fi
430 fi
431 prefix=$prefix/
409432 done
410433
411434 if test -n "$prefixes"; then
412 # Don't fail if two instances are running concurrently.
413 (umask $mkdir_umask &&
414 eval "\$doit_exec \$mkdirprog $prefixes") ||
415 test -d "$dstdir" || exit 1
416 obsolete_mkdir_used=true
435 # Don't fail if two instances are running concurrently.
436 (umask $mkdir_umask &&
437 eval "\$doit_exec \$mkdirprog $prefixes") ||
438 test -d "$dstdir" || exit 1
439 obsolete_mkdir_used=true
417440 fi
418441 fi
419442 fi
448471
449472 # If -C, don't bother to copy if it wouldn't change the file.
450473 if $copy_on_change &&
451 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
452 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
453 set -f &&
474 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
475 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
476
477 eval "$initialize_posix_glob" &&
478 $posix_glob set -f &&
454479 set X $old && old=:$2:$4:$5:$6 &&
455480 set X $new && new=:$2:$4:$5:$6 &&
456 set +f &&
481 $posix_glob set +f &&
482
457483 test "$old" = "$new" &&
458484 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
459485 then
466492 # to itself, or perhaps because mv is so ancient that it does not
467493 # support -f.
468494 {
469 # Now remove or move aside any old file at destination location.
470 # We try this two ways since rm can't unlink itself on some
471 # systems and the destination file might be busy for other
472 # reasons. In this case, the final cleanup might fail but the new
473 # file should still install successfully.
474 {
475 test ! -f "$dst" ||
476 $doit $rmcmd -f "$dst" 2>/dev/null ||
477 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
478 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
479 } ||
480 { echo "$0: cannot unlink or rename $dst" >&2
481 (exit 1); exit 1
482 }
483 } &&
484
485 # Now rename the file to the real destination.
486 $doit $mvcmd "$dsttmp" "$dst"
495 # Now remove or move aside any old file at destination location.
496 # We try this two ways since rm can't unlink itself on some
497 # systems and the destination file might be busy for other
498 # reasons. In this case, the final cleanup might fail but the new
499 # file should still install successfully.
500 {
501 test ! -f "$dst" ||
502 $doit $rmcmd -f "$dst" 2>/dev/null ||
503 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
504 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
505 } ||
506 { echo "$0: cannot unlink or rename $dst" >&2
507 (exit 1); exit 1
508 }
509 } &&
510
511 # Now rename the file to the real destination.
512 $doit $mvcmd "$dsttmp" "$dst"
487513 }
488514 fi || exit 1
489515
+2149
-3641
ltmain.sh less more
0 #! /bin/sh
1 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
2 ## by inline-source v2014-01-03.01
3
4 # libtool (GNU libtool) 2.4.6
5 # Provide generalized library-building support services.
0
1 # libtool (GNU libtool) 2.4.2
62 # Written by Gordon Matzigkeit <[email protected]>, 1996
73
8 # Copyright (C) 1996-2015 Free Software Foundation, Inc.
4 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
5 # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
96 # This is free software; see the source for copying conditions. There is NO
107 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
118
2522 # General Public License for more details.
2623 #
2724 # You should have received a copy of the GNU General Public License
28 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
25 # along with GNU Libtool; see the file COPYING. If not, a copy
26 # can be downloaded from http://www.gnu.org/licenses/gpl.html,
27 # or obtained by writing to the Free Software Foundation, Inc.,
28 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29
30 # Usage: $progname [OPTION]... [MODE-ARG]...
31 #
32 # Provide generalized library-building support services.
33 #
34 # --config show all configuration variables
35 # --debug enable verbose shell tracing
36 # -n, --dry-run display commands without modifying any files
37 # --features display basic configuration information and exit
38 # --mode=MODE use operation mode MODE
39 # --preserve-dup-deps don't remove duplicate dependency libraries
40 # --quiet, --silent don't print informational messages
41 # --no-quiet, --no-silent
42 # print informational messages (default)
43 # --no-warn don't display warning messages
44 # --tag=TAG use configuration variables from tag TAG
45 # -v, --verbose print more informational messages than default
46 # --no-verbose don't print the extra informational messages
47 # --version print version information
48 # -h, --help, --help-all print short, long, or detailed help message
49 #
50 # MODE must be one of the following:
51 #
52 # clean remove files from the build directory
53 # compile compile a source file into a libtool object
54 # execute automatically set library path, then run a program
55 # finish complete the installation of libtool libraries
56 # install install libraries or executables
57 # link create a library or an executable
58 # uninstall remove libraries from an installed directory
59 #
60 # MODE-ARGS vary depending on the MODE. When passed as first option,
61 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
62 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
63 #
64 # When reporting a bug, please describe a test case to reproduce it and
65 # include the following information:
66 #
67 # host-triplet: $host
68 # shell: $SHELL
69 # compiler: $LTCC
70 # compiler flags: $LTCFLAGS
71 # linker: $LD (gnu? $with_gnu_ld)
72 # $progname: (GNU libtool) 2.4.2
73 # automake: $automake_version
74 # autoconf: $autoconf_version
75 #
76 # Report bugs to <[email protected]>.
77 # GNU libtool home page: <http://www.gnu.org/software/libtool/>.
78 # General help using GNU software: <http://www.gnu.org/gethelp/>.
3079
3180 PROGRAM=libtool
3281 PACKAGE=libtool
33 VERSION=2.4.6
34 package_revision=2.4.6
35
36
37 ## ------ ##
38 ## Usage. ##
39 ## ------ ##
40
41 # Run './libtool --help' for help with using this script from the
42 # command line.
43
44
45 ## ------------------------------- ##
46 ## User overridable command paths. ##
47 ## ------------------------------- ##
48
49 # After configure completes, it has a better idea of some of the
50 # shell tools we need than the defaults used by the functions shared
51 # with bootstrap, so set those here where they can still be over-
52 # ridden by the user, but otherwise take precedence.
53
54 : ${AUTOCONF="autoconf"}
55 : ${AUTOMAKE="automake"}
56
57
58 ## -------------------------- ##
59 ## Source external libraries. ##
60 ## -------------------------- ##
61
62 # Much of our low-level functionality needs to be sourced from external
63 # libraries, which are installed to $pkgauxdir.
64
65 # Set a version string for this script.
66 scriptversion=2015-01-20.17; # UTC
67
68 # General shell script boiler plate, and helper functions.
69 # Written by Gary V. Vaughan, 2004
70
71 # Copyright (C) 2004-2015 Free Software Foundation, Inc.
72 # This is free software; see the source for copying conditions. There is NO
73 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
74
75 # This program is free software; you can redistribute it and/or modify
76 # it under the terms of the GNU General Public License as published by
77 # the Free Software Foundation; either version 3 of the License, or
78 # (at your option) any later version.
79
80 # As a special exception to the GNU General Public License, if you distribute
81 # this file as part of a program or library that is built using GNU Libtool,
82 # you may include this file under the same distribution terms that you use
83 # for the rest of that program.
84
85 # This program is distributed in the hope that it will be useful,
86 # but WITHOUT ANY WARRANTY; without even the implied warranty of
87 # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
88 # General Public License for more details.
89
90 # You should have received a copy of the GNU General Public License
91 # along with this program. If not, see <http://www.gnu.org/licenses/>.
92
93 # Please report bugs or propose patches to [email protected].
94
95
96 ## ------ ##
97 ## Usage. ##
98 ## ------ ##
99
100 # Evaluate this file near the top of your script to gain access to
101 # the functions and variables defined here:
102 #
103 # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
104 #
105 # If you need to override any of the default environment variable
106 # settings, do that before evaluating this file.
107
108
109 ## -------------------- ##
110 ## Shell normalisation. ##
111 ## -------------------- ##
112
113 # Some shells need a little help to be as Bourne compatible as possible.
114 # Before doing anything else, make sure all that help has been provided!
115
116 DUALCASE=1; export DUALCASE # for MKS sh
117 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82 VERSION=2.4.2
83 TIMESTAMP=""
84 package_revision=1.3337
85
86 # Be Bourne compatible
87 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11888 emulate sh
11989 NULLCMD=:
120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
90 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12191 # is contrary to our usage. Disable this feature.
12292 alias -g '${1+"$@"}'='"$@"'
12393 setopt NO_GLOB_SUBST
12494 else
125 case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
95 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
12696 fi
127
128 # NLS nuisances: We save the old values in case they are required later.
129 _G_user_locale=
130 _G_safe_locale=
131 for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
97 BIN_SH=xpg4; export BIN_SH # for Tru64
98 DUALCASE=1; export DUALCASE # for MKS sh
99
100 # A function that is used when there is no print builtin or printf.
101 func_fallback_echo ()
102 {
103 eval 'cat <<_LTECHO_EOF
104 $1
105 _LTECHO_EOF'
106 }
107
108 # NLS nuisances: We save the old values to restore during execute mode.
109 lt_user_locale=
110 lt_safe_locale=
111 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
132112 do
133 eval "if test set = \"\${$_G_var+set}\"; then
134 save_$_G_var=\$$_G_var
135 $_G_var=C
136 export $_G_var
137 _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
138 _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
113 eval "if test \"\${$lt_var+set}\" = set; then
114 save_$lt_var=\$$lt_var
115 $lt_var=C
116 export $lt_var
117 lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
118 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
139119 fi"
140120 done
141
142 # CDPATH.
143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
144
145 # Make sure IFS has a sensible default
146 sp=' '
147 nl='
148 '
149 IFS="$sp $nl"
150
151 # There are apparently some retarded systems that use ';' as a PATH separator!
152 if test "${PATH_SEPARATOR+set}" != set; then
153 PATH_SEPARATOR=:
154 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
155 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
156 PATH_SEPARATOR=';'
157 }
158 fi
159
160
161
162 ## ------------------------- ##
163 ## Locate command utilities. ##
164 ## ------------------------- ##
165
166
167 # func_executable_p FILE
168 # ----------------------
169 # Check that FILE is an executable regular file.
170 func_executable_p ()
171 {
172 test -f "$1" && test -x "$1"
173 }
174
175
176 # func_path_progs PROGS_LIST CHECK_FUNC [PATH]
177 # --------------------------------------------
178 # Search for either a program that responds to --version with output
179 # containing "GNU", or else returned by CHECK_FUNC otherwise, by
180 # trying all the directories in PATH with each of the elements of
181 # PROGS_LIST.
182 #
183 # CHECK_FUNC should accept the path to a candidate program, and
184 # set $func_check_prog_result if it truncates its output less than
185 # $_G_path_prog_max characters.
186 func_path_progs ()
187 {
188 _G_progs_list=$1
189 _G_check_func=$2
190 _G_PATH=${3-"$PATH"}
191
192 _G_path_prog_max=0
193 _G_path_prog_found=false
194 _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
195 for _G_dir in $_G_PATH; do
196 IFS=$_G_save_IFS
197 test -z "$_G_dir" && _G_dir=.
198 for _G_prog_name in $_G_progs_list; do
199 for _exeext in '' .EXE; do
200 _G_path_prog=$_G_dir/$_G_prog_name$_exeext
201 func_executable_p "$_G_path_prog" || continue
202 case `"$_G_path_prog" --version 2>&1` in
203 *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
204 *) $_G_check_func $_G_path_prog
205 func_path_progs_result=$func_check_prog_result
206 ;;
207 esac
208 $_G_path_prog_found && break 3
209 done
210 done
211 done
212 IFS=$_G_save_IFS
213 test -z "$func_path_progs_result" && {
214 echo "no acceptable sed could be found in \$PATH" >&2
215 exit 1
216 }
217 }
218
219
220 # We want to be able to use the functions in this file before configure
221 # has figured out where the best binaries are kept, which means we have
222 # to search for them ourselves - except when the results are already set
223 # where we skip the searches.
224
225 # Unless the user overrides by setting SED, search the path for either GNU
226 # sed, or the sed that truncates its output the least.
227 test -z "$SED" && {
228 _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
229 for _G_i in 1 2 3 4 5 6 7; do
230 _G_sed_script=$_G_sed_script$nl$_G_sed_script
231 done
232 echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
233 _G_sed_script=
234
235 func_check_prog_sed ()
236 {
237 _G_path_prog=$1
238
239 _G_count=0
240 printf 0123456789 >conftest.in
241 while :
242 do
243 cat conftest.in conftest.in >conftest.tmp
244 mv conftest.tmp conftest.in
245 cp conftest.in conftest.nl
246 echo '' >> conftest.nl
247 "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
248 diff conftest.out conftest.nl >/dev/null 2>&1 || break
249 _G_count=`expr $_G_count + 1`
250 if test "$_G_count" -gt "$_G_path_prog_max"; then
251 # Best one so far, save it but keep looking for a better one
252 func_check_prog_result=$_G_path_prog
253 _G_path_prog_max=$_G_count
254 fi
255 # 10*(2^10) chars as input seems more than enough
256 test 10 -lt "$_G_count" && break
257 done
258 rm -f conftest.in conftest.tmp conftest.nl conftest.out
259 }
260
261 func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
262 rm -f conftest.sed
263 SED=$func_path_progs_result
264 }
265
266
267 # Unless the user overrides by setting GREP, search the path for either GNU
268 # grep, or the grep that truncates its output the least.
269 test -z "$GREP" && {
270 func_check_prog_grep ()
271 {
272 _G_path_prog=$1
273
274 _G_count=0
275 _G_path_prog_max=0
276 printf 0123456789 >conftest.in
277 while :
278 do
279 cat conftest.in conftest.in >conftest.tmp
280 mv conftest.tmp conftest.in
281 cp conftest.in conftest.nl
282 echo 'GREP' >> conftest.nl
283 "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
284 diff conftest.out conftest.nl >/dev/null 2>&1 || break
285 _G_count=`expr $_G_count + 1`
286 if test "$_G_count" -gt "$_G_path_prog_max"; then
287 # Best one so far, save it but keep looking for a better one
288 func_check_prog_result=$_G_path_prog
289 _G_path_prog_max=$_G_count
290 fi
291 # 10*(2^10) chars as input seems more than enough
292 test 10 -lt "$_G_count" && break
293 done
294 rm -f conftest.in conftest.tmp conftest.nl conftest.out
295 }
296
297 func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
298 GREP=$func_path_progs_result
299 }
300
301
302 ## ------------------------------- ##
303 ## User overridable command paths. ##
304 ## ------------------------------- ##
305
306 # All uppercase variable names are used for environment variables. These
307 # variables can be overridden by the user before calling a script that
308 # uses them if a suitable command of that name is not already available
309 # in the command search PATH.
121 LC_ALL=C
122 LANGUAGE=C
123 export LANGUAGE LC_ALL
124
125 $lt_unset CDPATH
126
127
128 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
129 # is ksh but when the shell is invoked as "sh" and the current value of
130 # the _XPG environment variable is not equal to 1 (one), the special
131 # positional parameter $0, within a function call, is the name of the
132 # function.
133 progpath="$0"
134
135
310136
311137 : ${CP="cp -f"}
312 : ${ECHO="printf %s\n"}
313 : ${EGREP="$GREP -E"}
314 : ${FGREP="$GREP -F"}
315 : ${LN_S="ln -s"}
138 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
316139 : ${MAKE="make"}
317140 : ${MKDIR="mkdir"}
318141 : ${MV="mv -f"}
319142 : ${RM="rm -f"}
320143 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
321
322
323 ## -------------------- ##
324 ## Useful sed snippets. ##
325 ## -------------------- ##
326
327 sed_dirname='s|/[^/]*$||'
328 sed_basename='s|^.*/||'
329
330 # Sed substitution that helps us do robust quoting. It backslashifies
331 # metacharacters that are still active within double-quoted strings.
332 sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
333
334 # Same as above, but do not quote variable references.
335 sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
336
337 # Sed substitution that turns a string into a regex matching for the
338 # string literally.
339 sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
340
341 # Sed substitution that converts a w32 file name or path
342 # that contains forward slashes, into one that contains
343 # (escaped) backslashes. A very naive implementation.
344 sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
345
346 # Re-'\' parameter expansions in output of sed_double_quote_subst that
347 # were '\'-ed in input to the same. If an odd number of '\' preceded a
348 # '$' in input to sed_double_quote_subst, that '$' was protected from
349 # expansion. Since each input '\' is now two '\'s, look for any number
350 # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
351 _G_bs='\\'
352 _G_bs2='\\\\'
353 _G_bs4='\\\\\\\\'
354 _G_dollar='\$'
355 sed_double_backslash="\
356 s/$_G_bs4/&\\
357 /g
358 s/^$_G_bs2$_G_dollar/$_G_bs&/
359 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360 s/\n//g"
361
362
363 ## ----------------- ##
364 ## Global variables. ##
365 ## ----------------- ##
366
367 # Except for the global variables explicitly listed below, the following
368 # functions in the '^func_' namespace, and the '^require_' namespace
369 # variables initialised in the 'Resource management' section, sourcing
370 # this file will not pollute your global namespace with anything
371 # else. There's no portable way to scope variables in Bourne shell
372 # though, so actually running these functions will sometimes place
373 # results into a variable named after the function, and often use
374 # temporary variables in the '^_G_' namespace. If you are careful to
375 # avoid using those namespaces casually in your sourcing script, things
376 # should continue to work as you expect. And, of course, you can freely
377 # overwrite any of the functions or variables defined here before
378 # calling anything to customize them.
379
144 : ${Xsed="$SED -e 1s/^X//"}
145
146 # Global variables:
380147 EXIT_SUCCESS=0
381148 EXIT_FAILURE=1
382149 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
383150 EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
384151
385 # Allow overriding, eg assuming that you follow the convention of
386 # putting '$debug_cmd' at the start of all your functions, you can get
387 # bash to show function call trace with:
388 #
389 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
390 debug_cmd=${debug_cmd-":"}
391 exit_cmd=:
392
393 # By convention, finish your script with:
394 #
395 # exit $exit_status
396 #
397 # so that you can set exit_status to non-zero if you want to indicate
398 # something went wrong during execution without actually bailing out at
399 # the point of failure.
400152 exit_status=$EXIT_SUCCESS
401153
402 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
403 # is ksh but when the shell is invoked as "sh" and the current value of
404 # the _XPG environment variable is not equal to 1 (one), the special
405 # positional parameter $0, within a function call, is the name of the
406 # function.
407 progpath=$0
408
409 # The name of this program.
410 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
411
412 # Make sure we have an absolute progpath for reexecution:
413 case $progpath in
414 [\\/]*|[A-Za-z]:\\*) ;;
415 *[\\/]*)
416 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
417 progdir=`cd "$progdir" && pwd`
418 progpath=$progdir/$progname
419 ;;
420 *)
421 _G_IFS=$IFS
422 IFS=${PATH_SEPARATOR-:}
423 for progdir in $PATH; do
424 IFS=$_G_IFS
425 test -x "$progdir/$progname" && break
426 done
427 IFS=$_G_IFS
428 test -n "$progdir" || progdir=`pwd`
429 progpath=$progdir/$progname
430 ;;
431 esac
432
433
434 ## ----------------- ##
435 ## Standard options. ##
436 ## ----------------- ##
437
438 # The following options affect the operation of the functions defined
439 # below, and should be set appropriately depending on run-time para-
440 # meters passed on the command line.
441
442 opt_dry_run=false
443 opt_quiet=false
444 opt_verbose=false
445
446 # Categories 'all' and 'none' are always available. Append any others
447 # you will pass as the first argument to func_warning from your own
448 # code.
449 warning_categories=
450
451 # By default, display warnings according to 'opt_warning_types'. Set
452 # 'warning_func' to ':' to elide all warnings, or func_fatal_error to
453 # treat the next displayed warning as a fatal error.
454 warning_func=func_warn_and_continue
455
456 # Set to 'all' to display all warnings, 'none' to suppress all
457 # warnings, or a space delimited list of some subset of
458 # 'warning_categories' to display only the listed warnings.
459 opt_warning_types=all
460
461
462 ## -------------------- ##
463 ## Resource management. ##
464 ## -------------------- ##
465
466 # This section contains definitions for functions that each ensure a
467 # particular resource (a file, or a non-empty configuration variable for
468 # example) is available, and if appropriate to extract default values
469 # from pertinent package files. Call them using their associated
470 # 'require_*' variable to ensure that they are executed, at most, once.
471 #
472 # It's entirely deliberate that calling these functions can set
473 # variables that don't obey the namespace limitations obeyed by the rest
474 # of this file, in order that that they be as useful as possible to
475 # callers.
476
477
478 # require_term_colors
479 # -------------------
480 # Allow display of bold text on terminals that support it.
481 require_term_colors=func_require_term_colors
482 func_require_term_colors ()
483 {
484 $debug_cmd
485
486 test -t 1 && {
487 # COLORTERM and USE_ANSI_COLORS environment variables take
488 # precedence, because most terminfo databases neglect to describe
489 # whether color sequences are supported.
490 test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
491
492 if test 1 = "$USE_ANSI_COLORS"; then
493 # Standard ANSI escape sequences
494 tc_reset=''
495 tc_bold=''; tc_standout=''
496 tc_red=''; tc_green=''
497 tc_blue=''; tc_cyan=''
498 else
499 # Otherwise trust the terminfo database after all.
500 test -n "`tput sgr0 2>/dev/null`" && {
501 tc_reset=`tput sgr0`
502 test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
503 tc_standout=$tc_bold
504 test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
505 test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
506 test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
507 test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
508 test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
509 }
510 fi
511 }
512
513 require_term_colors=:
514 }
515
516
517 ## ----------------- ##
518 ## Function library. ##
519 ## ----------------- ##
520
521 # This section contains a variety of useful functions to call in your
522 # scripts. Take note of the portable wrappers for features provided by
523 # some modern shells, which will fall back to slower equivalents on
524 # less featureful shells.
525
526
527 # func_append VAR VALUE
528 # ---------------------
529 # Append VALUE onto the existing contents of VAR.
530
531 # We should try to minimise forks, especially on Windows where they are
532 # unreasonably slow, so skip the feature probes when bash or zsh are
533 # being used:
534 if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
535 : ${_G_HAVE_ARITH_OP="yes"}
536 : ${_G_HAVE_XSI_OPS="yes"}
537 # The += operator was introduced in bash 3.1
538 case $BASH_VERSION in
539 [12].* | 3.0 | 3.0*) ;;
540 *)
541 : ${_G_HAVE_PLUSEQ_OP="yes"}
542 ;;
543 esac
544 fi
545
546 # _G_HAVE_PLUSEQ_OP
547 # Can be empty, in which case the shell is probed, "yes" if += is
548 # useable or anything else if it does not work.
549 test -z "$_G_HAVE_PLUSEQ_OP" \
550 && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
551 && _G_HAVE_PLUSEQ_OP=yes
552
553 if test yes = "$_G_HAVE_PLUSEQ_OP"
554 then
555 # This is an XSI compatible shell, allowing a faster implementation...
556 eval 'func_append ()
557 {
558 $debug_cmd
559
560 eval "$1+=\$2"
561 }'
562 else
563 # ...otherwise fall back to using expr, which is often a shell builtin.
564 func_append ()
565 {
566 $debug_cmd
567
568 eval "$1=\$$1\$2"
569 }
570 fi
571
572
573 # func_append_quoted VAR VALUE
574 # ----------------------------
575 # Quote VALUE and append to the end of shell variable VAR, separated
576 # by a space.
577 if test yes = "$_G_HAVE_PLUSEQ_OP"; then
578 eval 'func_append_quoted ()
579 {
580 $debug_cmd
581
582 func_quote_for_eval "$2"
583 eval "$1+=\\ \$func_quote_for_eval_result"
584 }'
585 else
586 func_append_quoted ()
587 {
588 $debug_cmd
589
590 func_quote_for_eval "$2"
591 eval "$1=\$$1\\ \$func_quote_for_eval_result"
592 }
593 fi
594
595
596 # func_append_uniq VAR VALUE
597 # --------------------------
598 # Append unique VALUE onto the existing contents of VAR, assuming
599 # entries are delimited by the first character of VALUE. For example:
600 #
601 # func_append_uniq options " --another-option option-argument"
602 #
603 # will only append to $options if " --another-option option-argument "
604 # is not already present somewhere in $options already (note spaces at
605 # each end implied by leading space in second argument).
606 func_append_uniq ()
607 {
608 $debug_cmd
609
610 eval _G_current_value='`$ECHO $'$1'`'
611 _G_delim=`expr "$2" : '\(.\)'`
612
613 case $_G_delim$_G_current_value$_G_delim in
614 *"$2$_G_delim"*) ;;
615 *) func_append "$@" ;;
616 esac
617 }
618
619
620 # func_arith TERM...
621 # ------------------
622 # Set func_arith_result to the result of evaluating TERMs.
623 test -z "$_G_HAVE_ARITH_OP" \
624 && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
625 && _G_HAVE_ARITH_OP=yes
626
627 if test yes = "$_G_HAVE_ARITH_OP"; then
628 eval 'func_arith ()
629 {
630 $debug_cmd
631
632 func_arith_result=$(( $* ))
633 }'
634 else
635 func_arith ()
636 {
637 $debug_cmd
638
639 func_arith_result=`expr "$@"`
640 }
641 fi
642
643
644 # func_basename FILE
645 # ------------------
646 # Set func_basename_result to FILE with everything up to and including
647 # the last / stripped.
648 if test yes = "$_G_HAVE_XSI_OPS"; then
649 # If this shell supports suffix pattern removal, then use it to avoid
650 # forking. Hide the definitions single quotes in case the shell chokes
651 # on unsupported syntax...
652 _b='func_basename_result=${1##*/}'
653 _d='case $1 in
654 */*) func_dirname_result=${1%/*}$2 ;;
655 * ) func_dirname_result=$3 ;;
656 esac'
657
658 else
659 # ...otherwise fall back to using sed.
660 _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
661 _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
662 if test "X$func_dirname_result" = "X$1"; then
663 func_dirname_result=$3
664 else
665 func_append func_dirname_result "$2"
666 fi'
667 fi
668
669 eval 'func_basename ()
670 {
671 $debug_cmd
672
673 '"$_b"'
674 }'
675
676
677 # func_dirname FILE APPEND NONDIR_REPLACEMENT
678 # -------------------------------------------
154 # Make sure IFS has a sensible default
155 lt_nl='
156 '
157 IFS=" $lt_nl"
158
159 dirname="s,/[^/]*$,,"
160 basename="s,^.*/,,"
161
162 # func_dirname file append nondir_replacement
679163 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
680164 # otherwise set result to NONDIR_REPLACEMENT.
681 eval 'func_dirname ()
682 {
683 $debug_cmd
684
685 '"$_d"'
686 }'
687
688
689 # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
690 # --------------------------------------------------------
691 # Perform func_basename and func_dirname in a single function
165 func_dirname ()
166 {
167 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
168 if test "X$func_dirname_result" = "X${1}"; then
169 func_dirname_result="${3}"
170 else
171 func_dirname_result="$func_dirname_result${2}"
172 fi
173 } # func_dirname may be replaced by extended shell implementation
174
175
176 # func_basename file
177 func_basename ()
178 {
179 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
180 } # func_basename may be replaced by extended shell implementation
181
182
183 # func_dirname_and_basename file append nondir_replacement
184 # perform func_basename and func_dirname in a single function
692185 # call:
693186 # dirname: Compute the dirname of FILE. If nonempty,
694187 # add APPEND to the result, otherwise set result
696189 # value returned in "$func_dirname_result"
697190 # basename: Compute filename of FILE.
698191 # value retuned in "$func_basename_result"
699 # For efficiency, we do not delegate to the functions above but instead
700 # duplicate the functionality here.
701 eval 'func_dirname_and_basename ()
702 {
703 $debug_cmd
704
705 '"$_b"'
706 '"$_d"'
707 }'
708
709
710 # func_echo ARG...
711 # ----------------
712 # Echo program name prefixed message.
713 func_echo ()
714 {
715 $debug_cmd
716
717 _G_message=$*
718
719 func_echo_IFS=$IFS
720 IFS=$nl
721 for _G_line in $_G_message; do
722 IFS=$func_echo_IFS
723 $ECHO "$progname: $_G_line"
724 done
725 IFS=$func_echo_IFS
726 }
727
728
729 # func_echo_all ARG...
730 # --------------------
731 # Invoke $ECHO with all args, space-separated.
732 func_echo_all ()
733 {
734 $ECHO "$*"
735 }
736
737
738 # func_echo_infix_1 INFIX ARG...
739 # ------------------------------
740 # Echo program name, followed by INFIX on the first line, with any
741 # additional lines not showing INFIX.
742 func_echo_infix_1 ()
743 {
744 $debug_cmd
745
746 $require_term_colors
747
748 _G_infix=$1; shift
749 _G_indent=$_G_infix
750 _G_prefix="$progname: $_G_infix: "
751 _G_message=$*
752
753 # Strip color escape sequences before counting printable length
754 for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
755 do
756 test -n "$_G_tc" && {
757 _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
758 _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
759 }
760 done
761 _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
762
763 func_echo_infix_1_IFS=$IFS
764 IFS=$nl
765 for _G_line in $_G_message; do
766 IFS=$func_echo_infix_1_IFS
767 $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
768 _G_prefix=$_G_indent
769 done
770 IFS=$func_echo_infix_1_IFS
771 }
772
773
774 # func_error ARG...
775 # -----------------
776 # Echo program name prefixed message to standard error.
777 func_error ()
778 {
779 $debug_cmd
780
781 $require_term_colors
782
783 func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
784 }
785
786
787 # func_fatal_error ARG...
788 # -----------------------
789 # Echo program name prefixed message to standard error, and exit.
790 func_fatal_error ()
791 {
792 $debug_cmd
793
794 func_error "$*"
795 exit $EXIT_FAILURE
796 }
797
798
799 # func_grep EXPRESSION FILENAME
800 # -----------------------------
801 # Check whether EXPRESSION matches any line of FILENAME, without output.
802 func_grep ()
803 {
804 $debug_cmd
805
806 $GREP "$1" "$2" >/dev/null 2>&1
807 }
808
809
810 # func_len STRING
811 # ---------------
812 # Set func_len_result to the length of STRING. STRING may not
813 # start with a hyphen.
814 test -z "$_G_HAVE_XSI_OPS" \
815 && (eval 'x=a/b/c;
816 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
817 && _G_HAVE_XSI_OPS=yes
818
819 if test yes = "$_G_HAVE_XSI_OPS"; then
820 eval 'func_len ()
821 {
822 $debug_cmd
823
824 func_len_result=${#1}
825 }'
826 else
827 func_len ()
828 {
829 $debug_cmd
830
831 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
832 }
833 fi
834
835
836 # func_mkdir_p DIRECTORY-PATH
837 # ---------------------------
838 # Make sure the entire path to DIRECTORY-PATH is available.
839 func_mkdir_p ()
840 {
841 $debug_cmd
842
843 _G_directory_path=$1
844 _G_dir_list=
845
846 if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
847
848 # Protect directory names starting with '-'
849 case $_G_directory_path in
850 -*) _G_directory_path=./$_G_directory_path ;;
851 esac
852
853 # While some portion of DIR does not yet exist...
854 while test ! -d "$_G_directory_path"; do
855 # ...make a list in topmost first order. Use a colon delimited
856 # list incase some portion of path contains whitespace.
857 _G_dir_list=$_G_directory_path:$_G_dir_list
858
859 # If the last portion added has no slash in it, the list is done
860 case $_G_directory_path in */*) ;; *) break ;; esac
861
862 # ...otherwise throw away the child directory and loop
863 _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
864 done
865 _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
866
867 func_mkdir_p_IFS=$IFS; IFS=:
868 for _G_dir in $_G_dir_list; do
869 IFS=$func_mkdir_p_IFS
870 # mkdir can fail with a 'File exist' error if two processes
871 # try to create one of the directories concurrently. Don't
872 # stop in that case!
873 $MKDIR "$_G_dir" 2>/dev/null || :
874 done
875 IFS=$func_mkdir_p_IFS
876
877 # Bail out if we (or some other process) failed to create a directory.
878 test -d "$_G_directory_path" || \
879 func_fatal_error "Failed to create '$1'"
192 # Implementation must be kept synchronized with func_dirname
193 # and func_basename. For efficiency, we do not delegate to
194 # those functions but instead duplicate the functionality here.
195 func_dirname_and_basename ()
196 {
197 # Extract subdirectory from the argument.
198 func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
199 if test "X$func_dirname_result" = "X${1}"; then
200 func_dirname_result="${3}"
201 else
202 func_dirname_result="$func_dirname_result${2}"
880203 fi
881 }
882
883
884 # func_mktempdir [BASENAME]
885 # -------------------------
886 # Make a temporary directory that won't clash with other running
887 # libtool processes, and avoids race conditions if possible. If
888 # given, BASENAME is the basename for that directory.
889 func_mktempdir ()
890 {
891 $debug_cmd
892
893 _G_template=${TMPDIR-/tmp}/${1-$progname}
894
895 if test : = "$opt_dry_run"; then
896 # Return a directory name, but don't create it in dry-run mode
897 _G_tmpdir=$_G_template-$$
898 else
899
900 # If mktemp works, use that first and foremost
901 _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
902
903 if test ! -d "$_G_tmpdir"; then
904 # Failing that, at least try and use $RANDOM to avoid a race
905 _G_tmpdir=$_G_template-${RANDOM-0}$$
906
907 func_mktempdir_umask=`umask`
908 umask 0077
909 $MKDIR "$_G_tmpdir"
910 umask $func_mktempdir_umask
911 fi
912
913 # If we're not in dry-run mode, bomb out on failure
914 test -d "$_G_tmpdir" || \
915 func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
916 fi
917
918 $ECHO "$_G_tmpdir"
919 }
920
204 func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
205 } # func_dirname_and_basename may be replaced by extended shell implementation
206
207
208 # func_stripname prefix suffix name
209 # strip PREFIX and SUFFIX off of NAME.
210 # PREFIX and SUFFIX must not contain globbing or regex special
211 # characters, hashes, percent signs, but SUFFIX may contain a leading
212 # dot (in which case that matches only a dot).
213 # func_strip_suffix prefix name
214 func_stripname ()
215 {
216 case ${2} in
217 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
218 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
219 esac
220 } # func_stripname may be replaced by extended shell implementation
221
222
223 # These SED scripts presuppose an absolute path with a trailing slash.
224 pathcar='s,^/\([^/]*\).*$,\1,'
225 pathcdr='s,^/[^/]*,,'
226 removedotparts=':dotsl
227 s@/\./@/@g
228 t dotsl
229 s,/\.$,/,'
230 collapseslashes='s@/\{1,\}@/@g'
231 finalslash='s,/*$,/,'
921232
922233 # func_normal_abspath PATH
923 # ------------------------
924234 # Remove doubled-up and trailing slashes, "." path components,
925235 # and cancel out any ".." path components in PATH after making
926236 # it an absolute path.
237 # value returned in "$func_normal_abspath_result"
927238 func_normal_abspath ()
928239 {
929 $debug_cmd
930
931 # These SED scripts presuppose an absolute path with a trailing slash.
932 _G_pathcar='s|^/\([^/]*\).*$|\1|'
933 _G_pathcdr='s|^/[^/]*||'
934 _G_removedotparts=':dotsl
935 s|/\./|/|g
936 t dotsl
937 s|/\.$|/|'
938 _G_collapseslashes='s|/\{1,\}|/|g'
939 _G_finalslash='s|/*$|/|'
940
941 # Start from root dir and reassemble the path.
942 func_normal_abspath_result=
943 func_normal_abspath_tpath=$1
944 func_normal_abspath_altnamespace=
945 case $func_normal_abspath_tpath in
240 # Start from root dir and reassemble the path.
241 func_normal_abspath_result=
242 func_normal_abspath_tpath=$1
243 func_normal_abspath_altnamespace=
244 case $func_normal_abspath_tpath in
245 "")
246 # Empty path, that just means $cwd.
247 func_stripname '' '/' "`pwd`"
248 func_normal_abspath_result=$func_stripname_result
249 return
250 ;;
251 # The next three entries are used to spot a run of precisely
252 # two leading slashes without using negated character classes;
253 # we take advantage of case's first-match behaviour.
254 ///*)
255 # Unusual form of absolute path, do nothing.
256 ;;
257 //*)
258 # Not necessarily an ordinary path; POSIX reserves leading '//'
259 # and for example Cygwin uses it to access remote file shares
260 # over CIFS/SMB, so we conserve a leading double slash if found.
261 func_normal_abspath_altnamespace=/
262 ;;
263 /*)
264 # Absolute path, do nothing.
265 ;;
266 *)
267 # Relative path, prepend $cwd.
268 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
269 ;;
270 esac
271 # Cancel out all the simple stuff to save iterations. We also want
272 # the path to end with a slash for ease of parsing, so make sure
273 # there is one (and only one) here.
274 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
275 -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
276 while :; do
277 # Processed it all yet?
278 if test "$func_normal_abspath_tpath" = / ; then
279 # If we ascended to the root using ".." the result may be empty now.
280 if test -z "$func_normal_abspath_result" ; then
281 func_normal_abspath_result=/
282 fi
283 break
284 fi
285 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
286 -e "$pathcar"`
287 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
288 -e "$pathcdr"`
289 # Figure out what to do with it
290 case $func_normal_abspath_tcomponent in
946291 "")
947 # Empty path, that just means $cwd.
948 func_stripname '' '/' "`pwd`"
949 func_normal_abspath_result=$func_stripname_result
950 return
292 # Trailing empty path component, ignore it.
293 ;;
294 ..)
295 # Parent dir; strip last assembled component from result.
296 func_dirname "$func_normal_abspath_result"
297 func_normal_abspath_result=$func_dirname_result
298 ;;
299 *)
300 # Actual path component, append it.
301 func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
302 ;;
303 esac
304 done
305 # Restore leading double-slash if one was found on entry.
306 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
307 }
308
309 # func_relative_path SRCDIR DSTDIR
310 # generates a relative path from SRCDIR to DSTDIR, with a trailing
311 # slash if non-empty, suitable for immediately appending a filename
312 # without needing to append a separator.
313 # value returned in "$func_relative_path_result"
314 func_relative_path ()
315 {
316 func_relative_path_result=
317 func_normal_abspath "$1"
318 func_relative_path_tlibdir=$func_normal_abspath_result
319 func_normal_abspath "$2"
320 func_relative_path_tbindir=$func_normal_abspath_result
321
322 # Ascend the tree starting from libdir
323 while :; do
324 # check if we have found a prefix of bindir
325 case $func_relative_path_tbindir in
326 $func_relative_path_tlibdir)
327 # found an exact match
328 func_relative_path_tcancelled=
329 break
951330 ;;
952 # The next three entries are used to spot a run of precisely
953 # two leading slashes without using negated character classes;
954 # we take advantage of case's first-match behaviour.
955 ///*)
956 # Unusual form of absolute path, do nothing.
957 ;;
958 //*)
959 # Not necessarily an ordinary path; POSIX reserves leading '//'
960 # and for example Cygwin uses it to access remote file shares
961 # over CIFS/SMB, so we conserve a leading double slash if found.
962 func_normal_abspath_altnamespace=/
963 ;;
964 /*)
965 # Absolute path, do nothing.
331 $func_relative_path_tlibdir*)
332 # found a matching prefix
333 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
334 func_relative_path_tcancelled=$func_stripname_result
335 if test -z "$func_relative_path_result"; then
336 func_relative_path_result=.
337 fi
338 break
966339 ;;
967340 *)
968 # Relative path, prepend $cwd.
969 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
341 func_dirname $func_relative_path_tlibdir
342 func_relative_path_tlibdir=${func_dirname_result}
343 if test "x$func_relative_path_tlibdir" = x ; then
344 # Have to descend all the way to the root!
345 func_relative_path_result=../$func_relative_path_result
346 func_relative_path_tcancelled=$func_relative_path_tbindir
347 break
348 fi
349 func_relative_path_result=../$func_relative_path_result
970350 ;;
971351 esac
972
973 # Cancel out all the simple stuff to save iterations. We also want
974 # the path to end with a slash for ease of parsing, so make sure
975 # there is one (and only one) here.
976 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
977 -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
978 while :; do
979 # Processed it all yet?
980 if test / = "$func_normal_abspath_tpath"; then
981 # If we ascended to the root using ".." the result may be empty now.
982 if test -z "$func_normal_abspath_result"; then
983 func_normal_abspath_result=/
984 fi
985 break
986 fi
987 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
988 -e "$_G_pathcar"`
989 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
990 -e "$_G_pathcdr"`
991 # Figure out what to do with it
992 case $func_normal_abspath_tcomponent in
993 "")
994 # Trailing empty path component, ignore it.
995 ;;
996 ..)
997 # Parent dir; strip last assembled component from result.
998 func_dirname "$func_normal_abspath_result"
999 func_normal_abspath_result=$func_dirname_result
1000 ;;
1001 *)
1002 # Actual path component, append it.
1003 func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
1004 ;;
1005 esac
1006 done
1007 # Restore leading double-slash if one was found on entry.
1008 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
1009 }
1010
1011
1012 # func_notquiet ARG...
1013 # --------------------
1014 # Echo program name prefixed message only when not in quiet mode.
1015 func_notquiet ()
1016 {
1017 $debug_cmd
1018
1019 $opt_quiet || func_echo ${1+"$@"}
352 done
353
354 # Now calculate path; take care to avoid doubling-up slashes.
355 func_stripname '' '/' "$func_relative_path_result"
356 func_relative_path_result=$func_stripname_result
357 func_stripname '/' '/' "$func_relative_path_tcancelled"
358 if test "x$func_stripname_result" != x ; then
359 func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
360 fi
361
362 # Normalisation. If bindir is libdir, return empty string,
363 # else relative path ending with a slash; either way, target
364 # file name can be directly appended.
365 if test ! -z "$func_relative_path_result"; then
366 func_stripname './' '' "$func_relative_path_result/"
367 func_relative_path_result=$func_stripname_result
368 fi
369 }
370
371 # The name of this program:
372 func_dirname_and_basename "$progpath"
373 progname=$func_basename_result
374
375 # Make sure we have an absolute path for reexecution:
376 case $progpath in
377 [\\/]*|[A-Za-z]:\\*) ;;
378 *[\\/]*)
379 progdir=$func_dirname_result
380 progdir=`cd "$progdir" && pwd`
381 progpath="$progdir/$progname"
382 ;;
383 *)
384 save_IFS="$IFS"
385 IFS=${PATH_SEPARATOR-:}
386 for progdir in $PATH; do
387 IFS="$save_IFS"
388 test -x "$progdir/$progname" && break
389 done
390 IFS="$save_IFS"
391 test -n "$progdir" || progdir=`pwd`
392 progpath="$progdir/$progname"
393 ;;
394 esac
395
396 # Sed substitution that helps us do robust quoting. It backslashifies
397 # metacharacters that are still active within double-quoted strings.
398 Xsed="${SED}"' -e 1s/^X//'
399 sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
400
401 # Same as above, but do not quote variable references.
402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
403
404 # Sed substitution that turns a string into a regex matching for the
405 # string literally.
406 sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
407
408 # Sed substitution that converts a w32 file name or path
409 # which contains forward slashes, into one that contains
410 # (escaped) backslashes. A very naive implementation.
411 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
412
413 # Re-`\' parameter expansions in output of double_quote_subst that were
414 # `\'-ed in input to the same. If an odd number of `\' preceded a '$'
415 # in input to double_quote_subst, that '$' was protected from expansion.
416 # Since each input `\' is now two `\'s, look for any number of runs of
417 # four `\'s followed by two `\'s and then a '$'. `\' that '$'.
418 bs='\\'
419 bs2='\\\\'
420 bs4='\\\\\\\\'
421 dollar='\$'
422 sed_double_backslash="\
423 s/$bs4/&\\
424 /g
425 s/^$bs2$dollar/$bs&/
426 s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
427 s/\n//g"
428
429 # Standard options:
430 opt_dry_run=false
431 opt_help=false
432 opt_quiet=false
433 opt_verbose=false
434 opt_warning=:
435
436 # func_echo arg...
437 # Echo program name prefixed message, along with the current mode
438 # name if it has been set yet.
439 func_echo ()
440 {
441 $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
442 }
443
444 # func_verbose arg...
445 # Echo program name prefixed message in verbose mode only.
446 func_verbose ()
447 {
448 $opt_verbose && func_echo ${1+"$@"}
1020449
1021450 # A bug in bash halts the script if the last line of a function
1022451 # fails when set -e is in force, so we need another command to
1024453 :
1025454 }
1026455
1027
1028 # func_relative_path SRCDIR DSTDIR
1029 # --------------------------------
1030 # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
1031 func_relative_path ()
1032 {
1033 $debug_cmd
1034
1035 func_relative_path_result=
1036 func_normal_abspath "$1"
1037 func_relative_path_tlibdir=$func_normal_abspath_result
1038 func_normal_abspath "$2"
1039 func_relative_path_tbindir=$func_normal_abspath_result
1040
1041 # Ascend the tree starting from libdir
1042 while :; do
1043 # check if we have found a prefix of bindir
1044 case $func_relative_path_tbindir in
1045 $func_relative_path_tlibdir)
1046 # found an exact match
1047 func_relative_path_tcancelled=
1048 break
1049 ;;
1050 $func_relative_path_tlibdir*)
1051 # found a matching prefix
1052 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
1053 func_relative_path_tcancelled=$func_stripname_result
1054 if test -z "$func_relative_path_result"; then
1055 func_relative_path_result=.
1056 fi
1057 break
1058 ;;
1059 *)
1060 func_dirname $func_relative_path_tlibdir
1061 func_relative_path_tlibdir=$func_dirname_result
1062 if test -z "$func_relative_path_tlibdir"; then
1063 # Have to descend all the way to the root!
1064 func_relative_path_result=../$func_relative_path_result
1065 func_relative_path_tcancelled=$func_relative_path_tbindir
1066 break
1067 fi
1068 func_relative_path_result=../$func_relative_path_result
1069 ;;
456 # func_echo_all arg...
457 # Invoke $ECHO with all args, space-separated.
458 func_echo_all ()
459 {
460 $ECHO "$*"
461 }
462
463 # func_error arg...
464 # Echo program name prefixed message to standard error.
465 func_error ()
466 {
467 $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
468 }
469
470 # func_warning arg...
471 # Echo program name prefixed warning message to standard error.
472 func_warning ()
473 {
474 $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
475
476 # bash bug again:
477 :
478 }
479
480 # func_fatal_error arg...
481 # Echo program name prefixed message to standard error, and exit.
482 func_fatal_error ()
483 {
484 func_error ${1+"$@"}
485 exit $EXIT_FAILURE
486 }
487
488 # func_fatal_help arg...
489 # Echo program name prefixed message to standard error, followed by
490 # a help hint, and exit.
491 func_fatal_help ()
492 {
493 func_error ${1+"$@"}
494 func_fatal_error "$help"
495 }
496 help="Try \`$progname --help' for more information." ## default
497
498
499 # func_grep expression filename
500 # Check whether EXPRESSION matches any line of FILENAME, without output.
501 func_grep ()
502 {
503 $GREP "$1" "$2" >/dev/null 2>&1
504 }
505
506
507 # func_mkdir_p directory-path
508 # Make sure the entire path to DIRECTORY-PATH is available.
509 func_mkdir_p ()
510 {
511 my_directory_path="$1"
512 my_dir_list=
513
514 if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
515
516 # Protect directory names starting with `-'
517 case $my_directory_path in
518 -*) my_directory_path="./$my_directory_path" ;;
1070519 esac
1071 done
1072
1073 # Now calculate path; take care to avoid doubling-up slashes.
1074 func_stripname '' '/' "$func_relative_path_result"
1075 func_relative_path_result=$func_stripname_result
1076 func_stripname '/' '/' "$func_relative_path_tcancelled"
1077 if test -n "$func_stripname_result"; then
1078 func_append func_relative_path_result "/$func_stripname_result"
520
521 # While some portion of DIR does not yet exist...
522 while test ! -d "$my_directory_path"; do
523 # ...make a list in topmost first order. Use a colon delimited
524 # list incase some portion of path contains whitespace.
525 my_dir_list="$my_directory_path:$my_dir_list"
526
527 # If the last portion added has no slash in it, the list is done
528 case $my_directory_path in */*) ;; *) break ;; esac
529
530 # ...otherwise throw away the child directory and loop
531 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
532 done
533 my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
534
535 save_mkdir_p_IFS="$IFS"; IFS=':'
536 for my_dir in $my_dir_list; do
537 IFS="$save_mkdir_p_IFS"
538 # mkdir can fail with a `File exist' error if two processes
539 # try to create one of the directories concurrently. Don't
540 # stop in that case!
541 $MKDIR "$my_dir" 2>/dev/null || :
542 done
543 IFS="$save_mkdir_p_IFS"
544
545 # Bail out if we (or some other process) failed to create a directory.
546 test -d "$my_directory_path" || \
547 func_fatal_error "Failed to create \`$1'"
1079548 fi
1080
1081 # Normalisation. If bindir is libdir, return '.' else relative path.
1082 if test -n "$func_relative_path_result"; then
1083 func_stripname './' '' "$func_relative_path_result"
1084 func_relative_path_result=$func_stripname_result
549 }
550
551
552 # func_mktempdir [string]
553 # Make a temporary directory that won't clash with other running
554 # libtool processes, and avoids race conditions if possible. If
555 # given, STRING is the basename for that directory.
556 func_mktempdir ()
557 {
558 my_template="${TMPDIR-/tmp}/${1-$progname}"
559
560 if test "$opt_dry_run" = ":"; then
561 # Return a directory name, but don't create it in dry-run mode
562 my_tmpdir="${my_template}-$$"
563 else
564
565 # If mktemp works, use that first and foremost
566 my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
567
568 if test ! -d "$my_tmpdir"; then
569 # Failing that, at least try and use $RANDOM to avoid a race
570 my_tmpdir="${my_template}-${RANDOM-0}$$"
571
572 save_mktempdir_umask=`umask`
573 umask 0077
574 $MKDIR "$my_tmpdir"
575 umask $save_mktempdir_umask
576 fi
577
578 # If we're not in dry-run mode, bomb out on failure
579 test -d "$my_tmpdir" || \
580 func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
1085581 fi
1086582
1087 test -n "$func_relative_path_result" || func_relative_path_result=.
1088
1089 :
1090 }
1091
1092
1093 # func_quote_for_eval ARG...
1094 # --------------------------
1095 # Aesthetically quote ARGs to be evaled later.
1096 # This function returns two values:
1097 # i) func_quote_for_eval_result
1098 # double-quoted, suitable for a subsequent eval
1099 # ii) func_quote_for_eval_unquoted_result
1100 # has all characters that are still active within double
1101 # quotes backslashified.
583 $ECHO "$my_tmpdir"
584 }
585
586
587 # func_quote_for_eval arg
588 # Aesthetically quote ARG to be evaled later.
589 # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
590 # is double-quoted, suitable for a subsequent eval, whereas
591 # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
592 # which are still active within double quotes backslashified.
1102593 func_quote_for_eval ()
1103594 {
1104 $debug_cmd
1105
1106 func_quote_for_eval_unquoted_result=
1107 func_quote_for_eval_result=
1108 while test 0 -lt $#; do
1109 case $1 in
1110 *[\\\`\"\$]*)
1111 _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
1112 *)
1113 _G_unquoted_arg=$1 ;;
1114 esac
1115 if test -n "$func_quote_for_eval_unquoted_result"; then
1116 func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
1117 else
1118 func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
1119 fi
1120
1121 case $_G_unquoted_arg in
1122 # Double-quote args containing shell metacharacters to delay
1123 # word splitting, command substitution and variable expansion
1124 # for a subsequent eval.
1125 # Many Bourne shells cannot handle close brackets correctly
1126 # in scan sets, so we specify it separately.
1127 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1128 _G_quoted_arg=\"$_G_unquoted_arg\"
1129 ;;
1130 *)
1131 _G_quoted_arg=$_G_unquoted_arg
1132 ;;
1133 esac
1134
1135 if test -n "$func_quote_for_eval_result"; then
1136 func_append func_quote_for_eval_result " $_G_quoted_arg"
1137 else
1138 func_append func_quote_for_eval_result "$_G_quoted_arg"
1139 fi
1140 shift
1141 done
1142 }
1143
1144
1145 # func_quote_for_expand ARG
1146 # -------------------------
595 case $1 in
596 *[\\\`\"\$]*)
597 func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
598 *)
599 func_quote_for_eval_unquoted_result="$1" ;;
600 esac
601
602 case $func_quote_for_eval_unquoted_result in
603 # Double-quote args containing shell metacharacters to delay
604 # word splitting, command substitution and and variable
605 # expansion for a subsequent eval.
606 # Many Bourne shells cannot handle close brackets correctly
607 # in scan sets, so we specify it separately.
608 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
609 func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
610 ;;
611 *)
612 func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
613 esac
614 }
615
616
617 # func_quote_for_expand arg
1147618 # Aesthetically quote ARG to be evaled later; same as above,
1148619 # but do not quote variable references.
1149620 func_quote_for_expand ()
1150621 {
1151 $debug_cmd
1152
1153622 case $1 in
1154623 *[\\\`\"]*)
1155 _G_arg=`$ECHO "$1" | $SED \
1156 -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
624 my_arg=`$ECHO "$1" | $SED \
625 -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
1157626 *)
1158 _G_arg=$1 ;;
627 my_arg="$1" ;;
1159628 esac
1160629
1161 case $_G_arg in
630 case $my_arg in
1162631 # Double-quote args containing shell metacharacters to delay
1163632 # word splitting and command substitution for a subsequent eval.
1164633 # Many Bourne shells cannot handle close brackets correctly
1165634 # in scan sets, so we specify it separately.
1166635 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1167 _G_arg=\"$_G_arg\"
636 my_arg="\"$my_arg\""
1168637 ;;
1169638 esac
1170639
1171 func_quote_for_expand_result=$_G_arg
1172 }
1173
1174
1175 # func_stripname PREFIX SUFFIX NAME
1176 # ---------------------------------
1177 # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
1178 # PREFIX and SUFFIX must not contain globbing or regex special
1179 # characters, hashes, percent signs, but SUFFIX may contain a leading
1180 # dot (in which case that matches only a dot).
1181 if test yes = "$_G_HAVE_XSI_OPS"; then
1182 eval 'func_stripname ()
1183 {
1184 $debug_cmd
1185
1186 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1187 # positional parameters, so assign one to ordinary variable first.
1188 func_stripname_result=$3
1189 func_stripname_result=${func_stripname_result#"$1"}
1190 func_stripname_result=${func_stripname_result%"$2"}
1191 }'
1192 else
1193 func_stripname ()
1194 {
1195 $debug_cmd
1196
1197 case $2 in
1198 .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
1199 *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
1200 esac
1201 }
1202 fi
1203
1204
1205 # func_show_eval CMD [FAIL_EXP]
1206 # -----------------------------
1207 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
640 func_quote_for_expand_result="$my_arg"
641 }
642
643
644 # func_show_eval cmd [fail_exp]
645 # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
1208646 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1209647 # is given, then evaluate it.
1210648 func_show_eval ()
1211649 {
1212 $debug_cmd
1213
1214 _G_cmd=$1
1215 _G_fail_exp=${2-':'}
1216
1217 func_quote_for_expand "$_G_cmd"
1218 eval "func_notquiet $func_quote_for_expand_result"
1219
1220 $opt_dry_run || {
1221 eval "$_G_cmd"
1222 _G_status=$?
1223 if test 0 -ne "$_G_status"; then
1224 eval "(exit $_G_status); $_G_fail_exp"
650 my_cmd="$1"
651 my_fail_exp="${2-:}"
652
653 ${opt_silent-false} || {
654 func_quote_for_expand "$my_cmd"
655 eval "func_echo $func_quote_for_expand_result"
656 }
657
658 if ${opt_dry_run-false}; then :; else
659 eval "$my_cmd"
660 my_status=$?
661 if test "$my_status" -eq 0; then :; else
662 eval "(exit $my_status); $my_fail_exp"
1225663 fi
1226 }
1227 }
1228
1229
1230 # func_show_eval_locale CMD [FAIL_EXP]
1231 # ------------------------------------
1232 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
664 fi
665 }
666
667
668 # func_show_eval_locale cmd [fail_exp]
669 # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
1233670 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1234671 # is given, then evaluate it. Use the saved locale for evaluation.
1235672 func_show_eval_locale ()
1236673 {
1237 $debug_cmd
1238
1239 _G_cmd=$1
1240 _G_fail_exp=${2-':'}
1241
1242 $opt_quiet || {
1243 func_quote_for_expand "$_G_cmd"
674 my_cmd="$1"
675 my_fail_exp="${2-:}"
676
677 ${opt_silent-false} || {
678 func_quote_for_expand "$my_cmd"
1244679 eval "func_echo $func_quote_for_expand_result"
1245680 }
1246681
1247 $opt_dry_run || {
1248 eval "$_G_user_locale
1249 $_G_cmd"
1250 _G_status=$?
1251 eval "$_G_safe_locale"
1252 if test 0 -ne "$_G_status"; then
1253 eval "(exit $_G_status); $_G_fail_exp"
682 if ${opt_dry_run-false}; then :; else
683 eval "$lt_user_locale
684 $my_cmd"
685 my_status=$?
686 eval "$lt_safe_locale"
687 if test "$my_status" -eq 0; then :; else
688 eval "(exit $my_status); $my_fail_exp"
1254689 fi
1255 }
1256 }
1257
690 fi
691 }
1258692
1259693 # func_tr_sh
1260 # ----------
1261694 # Turn $1 into a string suitable for a shell variable name.
1262695 # Result is stored in $func_tr_sh_result. All characters
1263696 # not in the set a-zA-Z0-9_ are replaced with '_'. Further,
1264697 # if $1 begins with a digit, a '_' is prepended as well.
1265698 func_tr_sh ()
1266699 {
1267 $debug_cmd
1268
1269 case $1 in
1270 [0-9]* | *[!a-zA-Z0-9_]*)
1271 func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
1272 ;;
1273 * )
1274 func_tr_sh_result=$1
1275 ;;
1276 esac
1277 }
1278
1279
1280 # func_verbose ARG...
1281 # -------------------
1282 # Echo program name prefixed message in verbose mode only.
1283 func_verbose ()
1284 {
1285 $debug_cmd
1286
1287 $opt_verbose && func_echo "$*"
1288
1289 :
1290 }
1291
1292
1293 # func_warn_and_continue ARG...
1294 # -----------------------------
1295 # Echo program name prefixed warning message to standard error.
1296 func_warn_and_continue ()
1297 {
1298 $debug_cmd
1299
1300 $require_term_colors
1301
1302 func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
1303 }
1304
1305
1306 # func_warning CATEGORY ARG...
1307 # ----------------------------
1308 # Echo program name prefixed warning message to standard error. Warning
1309 # messages can be filtered according to CATEGORY, where this function
1310 # elides messages where CATEGORY is not listed in the global variable
1311 # 'opt_warning_types'.
1312 func_warning ()
1313 {
1314 $debug_cmd
1315
1316 # CATEGORY must be in the warning_categories list!
1317 case " $warning_categories " in
1318 *" $1 "*) ;;
1319 *) func_internal_error "invalid warning category '$1'" ;;
1320 esac
1321
1322 _G_category=$1
1323 shift
1324
1325 case " $opt_warning_types " in
1326 *" $_G_category "*) $warning_func ${1+"$@"} ;;
1327 esac
1328 }
1329
1330
1331 # func_sort_ver VER1 VER2
1332 # -----------------------
1333 # 'sort -V' is not generally available.
1334 # Note this deviates from the version comparison in automake
1335 # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
1336 # but this should suffice as we won't be specifying old
1337 # version formats or redundant trailing .0 in bootstrap.conf.
1338 # If we did want full compatibility then we should probably
1339 # use m4_version_compare from autoconf.
1340 func_sort_ver ()
1341 {
1342 $debug_cmd
1343
1344 printf '%s\n%s\n' "$1" "$2" \
1345 | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
1346 }
1347
1348 # func_lt_ver PREV CURR
1349 # ---------------------
1350 # Return true if PREV and CURR are in the correct order according to
1351 # func_sort_ver, otherwise false. Use it like this:
1352 #
1353 # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
1354 func_lt_ver ()
1355 {
1356 $debug_cmd
1357
1358 test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
1359 }
1360
1361
1362 # Local variables:
1363 # mode: shell-script
1364 # sh-indentation: 2
1365 # eval: (add-hook 'before-save-hook 'time-stamp)
1366 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
1367 # time-stamp-time-zone: "UTC"
1368 # End:
1369 #! /bin/sh
1370
1371 # Set a version string for this script.
1372 scriptversion=2014-01-07.03; # UTC
1373
1374 # A portable, pluggable option parser for Bourne shell.
1375 # Written by Gary V. Vaughan, 2010
1376
1377 # Copyright (C) 2010-2015 Free Software Foundation, Inc.
1378 # This is free software; see the source for copying conditions. There is NO
1379 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1380
1381 # This program is free software: you can redistribute it and/or modify
1382 # it under the terms of the GNU General Public License as published by
1383 # the Free Software Foundation, either version 3 of the License, or
1384 # (at your option) any later version.
1385
1386 # This program is distributed in the hope that it will be useful,
1387 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1388 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1389 # GNU General Public License for more details.
1390
1391 # You should have received a copy of the GNU General Public License
1392 # along with this program. If not, see <http://www.gnu.org/licenses/>.
1393
1394 # Please report bugs or propose patches to [email protected].
1395
1396
1397 ## ------ ##
1398 ## Usage. ##
1399 ## ------ ##
1400
1401 # This file is a library for parsing options in your shell scripts along
1402 # with assorted other useful supporting features that you can make use
1403 # of too.
1404 #
1405 # For the simplest scripts you might need only:
1406 #
1407 # #!/bin/sh
1408 # . relative/path/to/funclib.sh
1409 # . relative/path/to/options-parser
1410 # scriptversion=1.0
1411 # func_options ${1+"$@"}
1412 # eval set dummy "$func_options_result"; shift
1413 # ...rest of your script...
1414 #
1415 # In order for the '--version' option to work, you will need to have a
1416 # suitably formatted comment like the one at the top of this file
1417 # starting with '# Written by ' and ending with '# warranty; '.
1418 #
1419 # For '-h' and '--help' to work, you will also need a one line
1420 # description of your script's purpose in a comment directly above the
1421 # '# Written by ' line, like the one at the top of this file.
1422 #
1423 # The default options also support '--debug', which will turn on shell
1424 # execution tracing (see the comment above debug_cmd below for another
1425 # use), and '--verbose' and the func_verbose function to allow your script
1426 # to display verbose messages only when your user has specified
1427 # '--verbose'.
1428 #
1429 # After sourcing this file, you can plug processing for additional
1430 # options by amending the variables from the 'Configuration' section
1431 # below, and following the instructions in the 'Option parsing'
1432 # section further down.
1433
1434 ## -------------- ##
1435 ## Configuration. ##
1436 ## -------------- ##
1437
1438 # You should override these variables in your script after sourcing this
1439 # file so that they reflect the customisations you have added to the
1440 # option parser.
1441
1442 # The usage line for option parsing errors and the start of '-h' and
1443 # '--help' output messages. You can embed shell variables for delayed
1444 # expansion at the time the message is displayed, but you will need to
1445 # quote other shell meta-characters carefully to prevent them being
1446 # expanded when the contents are evaled.
1447 usage='$progpath [OPTION]...'
1448
1449 # Short help message in response to '-h' and '--help'. Add to this or
1450 # override it after sourcing this library to reflect the full set of
1451 # options your script accepts.
1452 usage_message="\
1453 --debug enable verbose shell tracing
1454 -W, --warnings=CATEGORY
1455 report the warnings falling in CATEGORY [all]
1456 -v, --verbose verbosely report processing
1457 --version print version information and exit
1458 -h, --help print short or long help message and exit
1459 "
1460
1461 # Additional text appended to 'usage_message' in response to '--help'.
1462 long_help_message="
1463 Warning categories include:
1464 'all' show all warnings
1465 'none' turn off all the warnings
1466 'error' warnings are treated as fatal errors"
1467
1468 # Help message printed before fatal option parsing errors.
1469 fatal_help="Try '\$progname --help' for more information."
1470
1471
1472
1473 ## ------------------------- ##
1474 ## Hook function management. ##
1475 ## ------------------------- ##
1476
1477 # This section contains functions for adding, removing, and running hooks
1478 # to the main code. A hook is just a named list of of function, that can
1479 # be run in order later on.
1480
1481 # func_hookable FUNC_NAME
1482 # -----------------------
1483 # Declare that FUNC_NAME will run hooks added with
1484 # 'func_add_hook FUNC_NAME ...'.
1485 func_hookable ()
1486 {
1487 $debug_cmd
1488
1489 func_append hookable_fns " $1"
1490 }
1491
1492
1493 # func_add_hook FUNC_NAME HOOK_FUNC
1494 # ---------------------------------
1495 # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
1496 # first have been declared "hookable" by a call to 'func_hookable'.
1497 func_add_hook ()
1498 {
1499 $debug_cmd
1500
1501 case " $hookable_fns " in
1502 *" $1 "*) ;;
1503 *) func_fatal_error "'$1' does not accept hook functions." ;;
1504 esac
1505
1506 eval func_append ${1}_hooks '" $2"'
1507 }
1508
1509
1510 # func_remove_hook FUNC_NAME HOOK_FUNC
1511 # ------------------------------------
1512 # Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
1513 func_remove_hook ()
1514 {
1515 $debug_cmd
1516
1517 eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
1518 }
1519
1520
1521 # func_run_hooks FUNC_NAME [ARG]...
1522 # ---------------------------------
1523 # Run all hook functions registered to FUNC_NAME.
1524 # It is assumed that the list of hook functions contains nothing more
1525 # than a whitespace-delimited list of legal shell function names, and
1526 # no effort is wasted trying to catch shell meta-characters or preserve
1527 # whitespace.
1528 func_run_hooks ()
1529 {
1530 $debug_cmd
1531
1532 case " $hookable_fns " in
1533 *" $1 "*) ;;
1534 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1535 esac
1536
1537 eval _G_hook_fns=\$$1_hooks; shift
1538
1539 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1546 done
1547
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
1550 }
1551
1552
1553
1554 ## --------------- ##
1555 ## Option parsing. ##
1556 ## --------------- ##
1557
1558 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1563 #
1564 # my_options_prep ()
1565 # {
1566 # $debug_cmd
1567 #
1568 # # Extend the existing usage message.
1569 # usage_message=$usage_message'
1570 # -s, --silent don'\''t print informational messages
1571 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1575 # }
1576 # func_add_hook func_options_prep my_options_prep
1577 #
1578 #
1579 # my_silent_option ()
1580 # {
1581 # $debug_cmd
1582 #
1583 # # Note that for efficiency, we parse as many options as we can
1584 # # recognise in a loop before passing the remainder back to the
1585 # # caller on the first unrecognised argument we encounter.
1586 # while test $# -gt 0; do
1587 # opt=$1; shift
1588 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1590 # # Separate non-argument short options:
1591 # -s*) func_split_short_opt "$_G_opt"
1592 # set dummy "$func_split_short_opt_name" \
1593 # "-$func_split_short_opt_arg" ${1+"$@"}
1594 # shift
1595 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1597 # esac
1598 # done
1599 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1602 # }
1603 # func_add_hook func_parse_options my_silent_option
1604 #
1605 #
1606 # my_option_validation ()
1607 # {
1608 # $debug_cmd
1609 #
1610 # $opt_silent && $opt_verbose && func_fatal_help "\
1611 # '--silent' and '--verbose' options are mutually exclusive."
1612 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
1615 # }
1616 # func_add_hook func_validate_options my_option_validation
1617 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1619 # options you parse. It's preferable to append if you can, so that
1620 # multiple option parsing hooks can be added safely.
1621
1622
1623 # func_options [ARG]...
1624 # ---------------------
1625 # All the functions called inside func_options are hookable. See the
1626 # individual implementations for details.
1627 func_hookable func_options
1628 func_options ()
1629 {
1630 $debug_cmd
1631
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1643 }
1644
1645
1646 # func_options_prep [ARG]...
1647 # --------------------------
1648 # All initialisations required before starting the option parse loop.
1649 # Note that when calling hook functions, we pass through the list of
1650 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1652 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1654 func_hookable func_options_prep
1655 func_options_prep ()
1656 {
1657 $debug_cmd
1658
1659 # Option defaults:
1660 opt_verbose=false
1661 opt_warning_types=
1662
1663 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1667 }
1668
1669
1670 # func_parse_options [ARG]...
1671 # ---------------------------
1672 # The main option parsing loop.
1673 func_hookable func_parse_options
1674 func_parse_options ()
1675 {
1676 $debug_cmd
1677
1678 func_parse_options_result=
1679
1680 # this just eases exit handling
1681 while test $# -gt 0; do
1682 # Defer to hook functions for initial option parsing, so they
1683 # get priority in the event of reusing an option name.
1684 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1688
1689 # Break out of the loop if we already parsed every option.
1690 test $# -gt 0 || break
1691
1692 _G_opt=$1
1693 shift
1694 case $_G_opt in
1695 --debug|-x) debug_cmd='set -x'
1696 func_echo "enabling shell trace mode"
1697 $debug_cmd
1698 ;;
1699
1700 --no-warnings|--no-warning|--no-warn)
1701 set dummy --warnings none ${1+"$@"}
1702 shift
1703 ;;
1704
1705 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1707 case " $warning_categories $1" in
1708 *" $1 "*)
1709 # trailing space prevents matching last $1 above
1710 func_append_uniq opt_warning_types " $1"
1711 ;;
1712 *all)
1713 opt_warning_types=$warning_categories
1714 ;;
1715 *none)
1716 opt_warning_types=none
1717 warning_func=:
1718 ;;
1719 *error)
1720 opt_warning_types=$warning_categories
1721 warning_func=func_fatal_error
1722 ;;
1723 *)
1724 func_fatal_error \
1725 "unsupported warning category: '$1'"
1726 ;;
1727 esac
1728 shift
1729 ;;
1730
1731 --verbose|-v) opt_verbose=: ;;
1732 --version) func_version ;;
1733 -\?|-h) func_usage ;;
1734 --help) func_help ;;
1735
1736 # Separate optargs to long options (plugins may need this):
1737 --*=*) func_split_equals "$_G_opt"
1738 set dummy "$func_split_equals_lhs" \
1739 "$func_split_equals_rhs" ${1+"$@"}
1740 shift
1741 ;;
1742
1743 # Separate optargs to short options:
1744 -W*)
1745 func_split_short_opt "$_G_opt"
1746 set dummy "$func_split_short_opt_name" \
1747 "$func_split_short_opt_arg" ${1+"$@"}
1748 shift
1749 ;;
1750
1751 # Separate non-argument short options:
1752 -\?*|-h*|-v*|-x*)
1753 func_split_short_opt "$_G_opt"
1754 set dummy "$func_split_short_opt_name" \
1755 "-$func_split_short_opt_arg" ${1+"$@"}
1756 shift
1757 ;;
1758
1759 --) break ;;
1760 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1762 esac
1763 done
1764
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1768 }
1769
1770
1771 # func_validate_options [ARG]...
1772 # ------------------------------
1773 # Perform any sanity checks on option settings and/or unconsumed
1774 # arguments.
1775 func_hookable func_validate_options
1776 func_validate_options ()
1777 {
1778 $debug_cmd
1779
1780 # Display all warnings if -W was not given.
1781 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
1782
1783 func_run_hooks func_validate_options ${1+"$@"}
1784
1785 # Bail if the options were screwed!
1786 $exit_cmd $EXIT_FAILURE
1787
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
1790 }
1791
1792
1793
1794 ## ----------------- ##
1795 ## Helper functions. ##
1796 ## ----------------- ##
1797
1798 # This section contains the helper functions used by the rest of the
1799 # hookable option parser framework in ascii-betical order.
1800
1801
1802 # func_fatal_help ARG...
1803 # ----------------------
1804 # Echo program name prefixed message to standard error, followed by
1805 # a help hint, and exit.
1806 func_fatal_help ()
1807 {
1808 $debug_cmd
1809
1810 eval \$ECHO \""Usage: $usage"\"
1811 eval \$ECHO \""$fatal_help"\"
1812 func_error ${1+"$@"}
1813 exit $EXIT_FAILURE
1814 }
1815
1816
1817 # func_help
1818 # ---------
1819 # Echo long help message to standard output and exit.
700 case $1 in
701 [0-9]* | *[!a-zA-Z0-9_]*)
702 func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
703 ;;
704 * )
705 func_tr_sh_result=$1
706 ;;
707 esac
708 }
709
710
711 # func_version
712 # Echo version message to standard output and exit.
713 func_version ()
714 {
715 $opt_debug
716
717 $SED -n '/(C)/!b go
718 :more
719 /\./!{
720 N
721 s/\n# / /
722 b more
723 }
724 :go
725 /^# '$PROGRAM' (GNU /,/# warranty; / {
726 s/^# //
727 s/^# *$//
728 s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
729 p
730 }' < "$progpath"
731 exit $?
732 }
733
734 # func_usage
735 # Echo short help message to standard output and exit.
736 func_usage ()
737 {
738 $opt_debug
739
740 $SED -n '/^# Usage:/,/^# *.*--help/ {
741 s/^# //
742 s/^# *$//
743 s/\$progname/'$progname'/
744 p
745 }' < "$progpath"
746 echo
747 $ECHO "run \`$progname --help | more' for full usage"
748 exit $?
749 }
750
751 # func_help [NOEXIT]
752 # Echo long help message to standard output and exit,
753 # unless 'noexit' is passed as argument.
1820754 func_help ()
1821755 {
1822 $debug_cmd
1823
1824 func_usage_message
1825 $ECHO "$long_help_message"
1826 exit 0
1827 }
1828
1829
1830 # func_missing_arg ARGNAME
1831 # ------------------------
756 $opt_debug
757
758 $SED -n '/^# Usage:/,/# Report bugs to/ {
759 :print
760 s/^# //
761 s/^# *$//
762 s*\$progname*'$progname'*
763 s*\$host*'"$host"'*
764 s*\$SHELL*'"$SHELL"'*
765 s*\$LTCC*'"$LTCC"'*
766 s*\$LTCFLAGS*'"$LTCFLAGS"'*
767 s*\$LD*'"$LD"'*
768 s/\$with_gnu_ld/'"$with_gnu_ld"'/
769 s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
770 s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
771 p
772 d
773 }
774 /^# .* home page:/b print
775 /^# General help using/b print
776 ' < "$progpath"
777 ret=$?
778 if test -z "$1"; then
779 exit $ret
780 fi
781 }
782
783 # func_missing_arg argname
1832784 # Echo program name prefixed message to standard error and set global
1833785 # exit_cmd.
1834786 func_missing_arg ()
1835787 {
1836 $debug_cmd
1837
1838 func_error "Missing argument for '$1'."
788 $opt_debug
789
790 func_error "missing argument for $1."
1839791 exit_cmd=exit
1840792 }
1841793
1842794
1843 # func_split_equals STRING
1844 # ------------------------
1845 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1846 # splitting STRING at the '=' sign.
1847 test -z "$_G_HAVE_XSI_OPS" \
1848 && (eval 'x=a/b/c;
1849 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
1850 && _G_HAVE_XSI_OPS=yes
1851
1852 if test yes = "$_G_HAVE_XSI_OPS"
1853 then
1854 # This is an XSI compatible shell, allowing a faster implementation...
1855 eval 'func_split_equals ()
1856 {
1857 $debug_cmd
1858
1859 func_split_equals_lhs=${1%%=*}
1860 func_split_equals_rhs=${1#*=}
1861 test "x$func_split_equals_lhs" = "x$1" \
1862 && func_split_equals_rhs=
1863 }'
1864 else
1865 # ...otherwise fall back to using expr, which is often a shell builtin.
1866 func_split_equals ()
1867 {
1868 $debug_cmd
1869
1870 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
1871 func_split_equals_rhs=
1872 test "x$func_split_equals_lhs" = "x$1" \
1873 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
1874 }
1875 fi #func_split_equals
1876
1877
1878 # func_split_short_opt SHORTOPT
1879 # -----------------------------
795 # func_split_short_opt shortopt
1880796 # Set func_split_short_opt_name and func_split_short_opt_arg shell
1881797 # variables after splitting SHORTOPT after the 2nd character.
1882 if test yes = "$_G_HAVE_XSI_OPS"
1883 then
1884 # This is an XSI compatible shell, allowing a faster implementation...
1885 eval 'func_split_short_opt ()
1886 {
1887 $debug_cmd
1888
1889 func_split_short_opt_arg=${1#??}
1890 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
1891 }'
1892 else
1893 # ...otherwise fall back to using expr, which is often a shell builtin.
1894 func_split_short_opt ()
1895 {
1896 $debug_cmd
1897
1898 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
1899 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
1900 }
1901 fi #func_split_short_opt
1902
1903
1904 # func_usage
1905 # ----------
1906 # Echo short help message to standard output and exit.
1907 func_usage ()
1908 {
1909 $debug_cmd
1910
1911 func_usage_message
1912 $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
1913 exit 0
1914 }
1915
1916
1917 # func_usage_message
1918 # ------------------
1919 # Echo short help message to standard output.
1920 func_usage_message ()
1921 {
1922 $debug_cmd
1923
1924 eval \$ECHO \""Usage: $usage"\"
1925 echo
1926 $SED -n 's|^# ||
1927 /^Written by/{
1928 x;p;x
1929 }
1930 h
1931 /^Written by/q' < "$progpath"
1932 echo
1933 eval \$ECHO \""$usage_message"\"
1934 }
1935
1936
1937 # func_version
1938 # ------------
1939 # Echo version message to standard output and exit.
1940 func_version ()
1941 {
1942 $debug_cmd
1943
1944 printf '%s\n' "$progname $scriptversion"
1945 $SED -n '
1946 /(C)/!b go
1947 :more
1948 /\./!{
1949 N
1950 s|\n# | |
1951 b more
1952 }
1953 :go
1954 /^# Written by /,/# warranty; / {
1955 s|^# ||
1956 s|^# *$||
1957 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
1958 p
1959 }
1960 /^# Written by / {
1961 s|^# ||
1962 p
1963 }
1964 /^warranty; /q' < "$progpath"
1965
1966 exit $?
1967 }
1968
1969
1970 # Local variables:
1971 # mode: shell-script
1972 # sh-indentation: 2
1973 # eval: (add-hook 'before-save-hook 'time-stamp)
1974 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
1975 # time-stamp-time-zone: "UTC"
1976 # End:
1977
1978 # Set a version string.
1979 scriptversion='(GNU libtool) 2.4.6'
1980
1981
1982 # func_echo ARG...
1983 # ----------------
1984 # Libtool also displays the current mode in messages, so override
1985 # funclib.sh func_echo with this custom definition.
1986 func_echo ()
1987 {
1988 $debug_cmd
1989
1990 _G_message=$*
1991
1992 func_echo_IFS=$IFS
1993 IFS=$nl
1994 for _G_line in $_G_message; do
1995 IFS=$func_echo_IFS
1996 $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
1997 done
1998 IFS=$func_echo_IFS
1999 }
2000
2001
2002 # func_warning ARG...
2003 # -------------------
2004 # Libtool warnings are not categorized, so override funclib.sh
2005 # func_warning with this simpler definition.
2006 func_warning ()
2007 {
2008 $debug_cmd
2009
2010 $warning_func ${1+"$@"}
2011 }
2012
2013
2014 ## ---------------- ##
2015 ## Options parsing. ##
2016 ## ---------------- ##
2017
2018 # Hook in the functions to make sure our own options are parsed during
2019 # the option parsing loop.
2020
2021 usage='$progpath [OPTION]... [MODE-ARG]...'
2022
2023 # Short help message in response to '-h'.
2024 usage_message="Options:
2025 --config show all configuration variables
2026 --debug enable verbose shell tracing
2027 -n, --dry-run display commands without modifying any files
2028 --features display basic configuration information and exit
2029 --mode=MODE use operation mode MODE
2030 --no-warnings equivalent to '-Wnone'
2031 --preserve-dup-deps don't remove duplicate dependency libraries
2032 --quiet, --silent don't print informational messages
2033 --tag=TAG use configuration variables from tag TAG
2034 -v, --verbose print more informational messages than default
2035 --version print version information
2036 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
2037 -h, --help, --help-all print short, long, or detailed help message
2038 "
2039
2040 # Additional text appended to 'usage_message' in response to '--help'.
2041 func_help ()
2042 {
2043 $debug_cmd
2044
2045 func_usage_message
2046 $ECHO "$long_help_message
2047
2048 MODE must be one of the following:
2049
2050 clean remove files from the build directory
2051 compile compile a source file into a libtool object
2052 execute automatically set library path, then run a program
2053 finish complete the installation of libtool libraries
2054 install install libraries or executables
2055 link create a library or an executable
2056 uninstall remove libraries from an installed directory
2057
2058 MODE-ARGS vary depending on the MODE. When passed as first option,
2059 '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
2060 Try '$progname --help --mode=MODE' for a more detailed description of MODE.
2061
2062 When reporting a bug, please describe a test case to reproduce it and
2063 include the following information:
2064
2065 host-triplet: $host
2066 shell: $SHELL
2067 compiler: $LTCC
2068 compiler flags: $LTCFLAGS
2069 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2071 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
2072 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
2073
2074 Report bugs to <[email protected]>.
2075 GNU libtool home page: <http://www.gnu.org/software/libtool/>.
2076 General help using GNU software: <http://www.gnu.org/gethelp/>."
2077 exit 0
2078 }
2079
2080
2081 # func_lo2o OBJECT-NAME
2082 # ---------------------
2083 # Transform OBJECT-NAME from a '.lo' suffix to the platform specific
2084 # object suffix.
2085
2086 lo2o=s/\\.lo\$/.$objext/
2087 o2lo=s/\\.$objext\$/.lo/
2088
2089 if test yes = "$_G_HAVE_XSI_OPS"; then
2090 eval 'func_lo2o ()
2091 {
2092 case $1 in
2093 *.lo) func_lo2o_result=${1%.lo}.$objext ;;
2094 * ) func_lo2o_result=$1 ;;
2095 esac
2096 }'
2097
2098 # func_xform LIBOBJ-OR-SOURCE
2099 # ---------------------------
2100 # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
2101 # suffix to a '.lo' libtool-object suffix.
2102 eval 'func_xform ()
2103 {
2104 func_xform_result=${1%.*}.lo
2105 }'
2106 else
2107 # ...otherwise fall back to using sed.
2108 func_lo2o ()
2109 {
2110 func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
2111 }
2112
2113 func_xform ()
2114 {
2115 func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
2116 }
2117 fi
2118
2119
2120 # func_fatal_configuration ARG...
2121 # -------------------------------
798 func_split_short_opt ()
799 {
800 my_sed_short_opt='1s/^\(..\).*$/\1/;q'
801 my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
802
803 func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
804 func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
805 } # func_split_short_opt may be replaced by extended shell implementation
806
807
808 # func_split_long_opt longopt
809 # Set func_split_long_opt_name and func_split_long_opt_arg shell
810 # variables after splitting LONGOPT at the `=' sign.
811 func_split_long_opt ()
812 {
813 my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
814 my_sed_long_arg='1s/^--[^=]*=//'
815
816 func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
817 func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
818 } # func_split_long_opt may be replaced by extended shell implementation
819
820 exit_cmd=:
821
822
823
824
825
826 magic="%%%MAGIC variable%%%"
827 magic_exe="%%%MAGIC EXE variable%%%"
828
829 # Global variables.
830 nonopt=
831 preserve_args=
832 lo2o="s/\\.lo\$/.${objext}/"
833 o2lo="s/\\.${objext}\$/.lo/"
834 extracted_archives=
835 extracted_serial=0
836
837 # If this variable is set in any of the actions, the command in it
838 # will be execed at the end. This prevents here-documents from being
839 # left over by shells.
840 exec_cmd=
841
842 # func_append var value
843 # Append VALUE to the end of shell variable VAR.
844 func_append ()
845 {
846 eval "${1}=\$${1}\${2}"
847 } # func_append may be replaced by extended shell implementation
848
849 # func_append_quoted var value
850 # Quote VALUE and append to the end of shell variable VAR, separated
851 # by a space.
852 func_append_quoted ()
853 {
854 func_quote_for_eval "${2}"
855 eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
856 } # func_append_quoted may be replaced by extended shell implementation
857
858
859 # func_arith arithmetic-term...
860 func_arith ()
861 {
862 func_arith_result=`expr "${@}"`
863 } # func_arith may be replaced by extended shell implementation
864
865
866 # func_len string
867 # STRING may not start with a hyphen.
868 func_len ()
869 {
870 func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
871 } # func_len may be replaced by extended shell implementation
872
873
874 # func_lo2o object
875 func_lo2o ()
876 {
877 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
878 } # func_lo2o may be replaced by extended shell implementation
879
880
881 # func_xform libobj-or-source
882 func_xform ()
883 {
884 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
885 } # func_xform may be replaced by extended shell implementation
886
887
888 # func_fatal_configuration arg...
2122889 # Echo program name prefixed message to standard error, followed by
2123890 # a configuration failure hint, and exit.
2124891 func_fatal_configuration ()
2125892 {
2126 func__fatal_error ${1+"$@"} \
2127 "See the $PACKAGE documentation for more information." \
2128 "Fatal configuration error."
893 func_error ${1+"$@"}
894 func_error "See the $PACKAGE documentation for more information."
895 func_fatal_error "Fatal configuration error."
2129896 }
2130897
2131898
2132899 # func_config
2133 # -----------
2134900 # Display the configuration for all the tags in this script.
2135901 func_config ()
2136902 {
2148914 exit $?
2149915 }
2150916
2151
2152917 # func_features
2153 # -------------
2154918 # Display the features supported by this script.
2155919 func_features ()
2156920 {
2157921 echo "host: $host"
2158 if test yes = "$build_libtool_libs"; then
922 if test "$build_libtool_libs" = yes; then
2159923 echo "enable shared libraries"
2160924 else
2161925 echo "disable shared libraries"
2162926 fi
2163 if test yes = "$build_old_libs"; then
927 if test "$build_old_libs" = yes; then
2164928 echo "enable static libraries"
2165929 else
2166930 echo "disable static libraries"
2169933 exit $?
2170934 }
2171935
2172
2173 # func_enable_tag TAGNAME
2174 # -----------------------
936 # func_enable_tag tagname
2175937 # Verify that TAGNAME is valid, and either flag an error and exit, or
2176938 # enable the TAGNAME tag. We also add TAGNAME to the global $taglist
2177939 # variable here.
2178940 func_enable_tag ()
2179941 {
2180 # Global variable:
2181 tagname=$1
2182
2183 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
2184 re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
2185 sed_extractcf=/$re_begincf/,/$re_endcf/p
2186
2187 # Validate tagname.
2188 case $tagname in
2189 *[!-_A-Za-z0-9,/]*)
2190 func_fatal_error "invalid tag name: $tagname"
2191 ;;
2192 esac
2193
2194 # Don't test for the "default" C tag, as we know it's
2195 # there but not specially marked.
2196 case $tagname in
2197 CC) ;;
942 # Global variable:
943 tagname="$1"
944
945 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
946 re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
947 sed_extractcf="/$re_begincf/,/$re_endcf/p"
948
949 # Validate tagname.
950 case $tagname in
951 *[!-_A-Za-z0-9,/]*)
952 func_fatal_error "invalid tag name: $tagname"
953 ;;
954 esac
955
956 # Don't test for the "default" C tag, as we know it's
957 # there but not specially marked.
958 case $tagname in
959 CC) ;;
2198960 *)
2199 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
2200 taglist="$taglist $tagname"
2201
2202 # Evaluate the configuration. Be careful to quote the path
2203 # and the sed script, to avoid splitting on whitespace, but
2204 # also don't use non-portable quotes within backquotes within
2205 # quotes we have to do it in 2 steps:
2206 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
2207 eval "$extractedcf"
2208 else
2209 func_error "ignoring unknown tag $tagname"
2210 fi
2211 ;;
2212 esac
2213 }
2214
961 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
962 taglist="$taglist $tagname"
963
964 # Evaluate the configuration. Be careful to quote the path
965 # and the sed script, to avoid splitting on whitespace, but
966 # also don't use non-portable quotes within backquotes within
967 # quotes we have to do it in 2 steps:
968 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
969 eval "$extractedcf"
970 else
971 func_error "ignoring unknown tag $tagname"
972 fi
973 ;;
974 esac
975 }
2215976
2216977 # func_check_version_match
2217 # ------------------------
2218978 # Ensure that we are using m4 macros, and libtool script from the same
2219979 # release of libtool.
2220980 func_check_version_match ()
2221981 {
2222 if test "$package_revision" != "$macro_revision"; then
2223 if test "$VERSION" != "$macro_version"; then
2224 if test -z "$macro_version"; then
2225 cat >&2 <<_LT_EOF
982 if test "$package_revision" != "$macro_revision"; then
983 if test "$VERSION" != "$macro_version"; then
984 if test -z "$macro_version"; then
985 cat >&2 <<_LT_EOF
2226986 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2227987 $progname: definition of this LT_INIT comes from an older release.
2228988 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2229989 $progname: and run autoconf again.
2230990 _LT_EOF
2231 else
2232 cat >&2 <<_LT_EOF
991 else
992 cat >&2 <<_LT_EOF
2233993 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2234994 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2235995 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2236996 $progname: and run autoconf again.
2237997 _LT_EOF
2238 fi
2239 else
2240 cat >&2 <<_LT_EOF
998 fi
999 else
1000 cat >&2 <<_LT_EOF
22411001 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
22421002 $progname: but the definition of this LT_INIT comes from revision $macro_revision.
22431003 $progname: You should recreate aclocal.m4 with macros from revision $package_revision
22441004 $progname: of $PACKAGE $VERSION and run autoconf again.
22451005 _LT_EOF
2246 fi
2247
2248 exit $EXIT_MISMATCH
22491006 fi
2250 }
2251
2252
2253 # libtool_options_prep [ARG]...
2254 # -----------------------------
2255 # Preparation for options parsed by libtool.
2256 libtool_options_prep ()
2257 {
2258 $debug_mode
2259
2260 # Option defaults:
2261 opt_config=false
2262 opt_dlopen=
2263 opt_dry_run=false
2264 opt_help=false
2265 opt_mode=
2266 opt_preserve_dup_deps=false
2267 opt_quiet=false
2268
2269 nonopt=
2270 preserve_args=
2271
2272 # Shorthand for --mode=foo, only valid as the first argument
2273 case $1 in
2274 clean|clea|cle|cl)
2275 shift; set dummy --mode clean ${1+"$@"}; shift
1007
1008 exit $EXIT_MISMATCH
1009 fi
1010 }
1011
1012
1013 # Shorthand for --mode=foo, only valid as the first argument
1014 case $1 in
1015 clean|clea|cle|cl)
1016 shift; set dummy --mode clean ${1+"$@"}; shift
1017 ;;
1018 compile|compil|compi|comp|com|co|c)
1019 shift; set dummy --mode compile ${1+"$@"}; shift
1020 ;;
1021 execute|execut|execu|exec|exe|ex|e)
1022 shift; set dummy --mode execute ${1+"$@"}; shift
1023 ;;
1024 finish|finis|fini|fin|fi|f)
1025 shift; set dummy --mode finish ${1+"$@"}; shift
1026 ;;
1027 install|instal|insta|inst|ins|in|i)
1028 shift; set dummy --mode install ${1+"$@"}; shift
1029 ;;
1030 link|lin|li|l)
1031 shift; set dummy --mode link ${1+"$@"}; shift
1032 ;;
1033 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
1034 shift; set dummy --mode uninstall ${1+"$@"}; shift
1035 ;;
1036 esac
1037
1038
1039
1040 # Option defaults:
1041 opt_debug=:
1042 opt_dry_run=false
1043 opt_config=false
1044 opt_preserve_dup_deps=false
1045 opt_features=false
1046 opt_finish=false
1047 opt_help=false
1048 opt_help_all=false
1049 opt_silent=:
1050 opt_warning=:
1051 opt_verbose=:
1052 opt_silent=false
1053 opt_verbose=false
1054
1055
1056 # Parse options once, thoroughly. This comes as soon as possible in the
1057 # script to make things like `--version' happen as quickly as we can.
1058 {
1059 # this just eases exit handling
1060 while test $# -gt 0; do
1061 opt="$1"
1062 shift
1063 case $opt in
1064 --debug|-x) opt_debug='set -x'
1065 func_echo "enabling shell trace mode"
1066 $opt_debug
1067 ;;
1068 --dry-run|--dryrun|-n)
1069 opt_dry_run=:
1070 ;;
1071 --config)
1072 opt_config=:
1073 func_config
1074 ;;
1075 --dlopen|-dlopen)
1076 optarg="$1"
1077 opt_dlopen="${opt_dlopen+$opt_dlopen
1078 }$optarg"
1079 shift
1080 ;;
1081 --preserve-dup-deps)
1082 opt_preserve_dup_deps=:
1083 ;;
1084 --features)
1085 opt_features=:
1086 func_features
1087 ;;
1088 --finish)
1089 opt_finish=:
1090 set dummy --mode finish ${1+"$@"}; shift
1091 ;;
1092 --help)
1093 opt_help=:
1094 ;;
1095 --help-all)
1096 opt_help_all=:
1097 opt_help=': help-all'
1098 ;;
1099 --mode)
1100 test $# = 0 && func_missing_arg $opt && break
1101 optarg="$1"
1102 opt_mode="$optarg"
1103 case $optarg in
1104 # Valid mode arguments:
1105 clean|compile|execute|finish|install|link|relink|uninstall) ;;
1106
1107 # Catch anything else as an error
1108 *) func_error "invalid argument for $opt"
1109 exit_cmd=exit
1110 break
1111 ;;
1112 esac
1113 shift
1114 ;;
1115 --no-silent|--no-quiet)
1116 opt_silent=false
1117 func_append preserve_args " $opt"
1118 ;;
1119 --no-warning|--no-warn)
1120 opt_warning=false
1121 func_append preserve_args " $opt"
1122 ;;
1123 --no-verbose)
1124 opt_verbose=false
1125 func_append preserve_args " $opt"
1126 ;;
1127 --silent|--quiet)
1128 opt_silent=:
1129 func_append preserve_args " $opt"
1130 opt_verbose=false
1131 ;;
1132 --verbose|-v)
1133 opt_verbose=:
1134 func_append preserve_args " $opt"
1135 opt_silent=false
1136 ;;
1137 --tag)
1138 test $# = 0 && func_missing_arg $opt && break
1139 optarg="$1"
1140 opt_tag="$optarg"
1141 func_append preserve_args " $opt $optarg"
1142 func_enable_tag "$optarg"
1143 shift
1144 ;;
1145
1146 -\?|-h) func_usage ;;
1147 --help) func_help ;;
1148 --version) func_version ;;
1149
1150 # Separate optargs to long options:
1151 --*=*)
1152 func_split_long_opt "$opt"
1153 set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
1154 shift
1155 ;;
1156
1157 # Separate non-argument short options:
1158 -\?*|-h*|-n*|-v*)
1159 func_split_short_opt "$opt"
1160 set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
1161 shift
1162 ;;
1163
1164 --) break ;;
1165 -*) func_fatal_help "unrecognized option \`$opt'" ;;
1166 *) set dummy "$opt" ${1+"$@"}; shift; break ;;
1167 esac
1168 done
1169
1170 # Validate options:
1171
1172 # save first non-option argument
1173 if test "$#" -gt 0; then
1174 nonopt="$opt"
1175 shift
1176 fi
1177
1178 # preserve --debug
1179 test "$opt_debug" = : || func_append preserve_args " --debug"
1180
1181 case $host in
1182 *cygwin* | *mingw* | *pw32* | *cegcc*)
1183 # don't eliminate duplications in $postdeps and $predeps
1184 opt_duplicate_compiler_generated_deps=:
22761185 ;;
2277 compile|compil|compi|comp|com|co|c)
2278 shift; set dummy --mode compile ${1+"$@"}; shift
1186 *)
1187 opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
22791188 ;;
2280 execute|execut|execu|exec|exe|ex|e)
2281 shift; set dummy --mode execute ${1+"$@"}; shift
2282 ;;
2283 finish|finis|fini|fin|fi|f)
2284 shift; set dummy --mode finish ${1+"$@"}; shift
2285 ;;
2286 install|instal|insta|inst|ins|in|i)
2287 shift; set dummy --mode install ${1+"$@"}; shift
2288 ;;
2289 link|lin|li|l)
2290 shift; set dummy --mode link ${1+"$@"}; shift
2291 ;;
2292 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2293 shift; set dummy --mode uninstall ${1+"$@"}; shift
2294 ;;
2295 esac
2296
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2300 }
2301 func_add_hook func_options_prep libtool_options_prep
2302
2303
2304 # libtool_parse_options [ARG]...
2305 # ---------------------------------
2306 # Provide handling for libtool specific options.
2307 libtool_parse_options ()
2308 {
2309 $debug_cmd
2310
2311 # Perform our own loop to consume as many options as possible in
2312 # each iteration.
2313 while test $# -gt 0; do
2314 _G_opt=$1
2315 shift
2316 case $_G_opt in
2317 --dry-run|--dryrun|-n)
2318 opt_dry_run=:
2319 ;;
2320
2321 --config) func_config ;;
2322
2323 --dlopen|-dlopen)
2324 opt_dlopen="${opt_dlopen+$opt_dlopen
2325 }$1"
2326 shift
2327 ;;
2328
2329 --preserve-dup-deps)
2330 opt_preserve_dup_deps=: ;;
2331
2332 --features) func_features ;;
2333
2334 --finish) set dummy --mode finish ${1+"$@"}; shift ;;
2335
2336 --help) opt_help=: ;;
2337
2338 --help-all) opt_help=': help-all' ;;
2339
2340 --mode) test $# = 0 && func_missing_arg $_G_opt && break
2341 opt_mode=$1
2342 case $1 in
2343 # Valid mode arguments:
2344 clean|compile|execute|finish|install|link|relink|uninstall) ;;
2345
2346 # Catch anything else as an error
2347 *) func_error "invalid argument for $_G_opt"
2348 exit_cmd=exit
2349 break
2350 ;;
2351 esac
2352 shift
2353 ;;
2354
2355 --no-silent|--no-quiet)
2356 opt_quiet=false
2357 func_append preserve_args " $_G_opt"
2358 ;;
2359
2360 --no-warnings|--no-warning|--no-warn)
2361 opt_warning=false
2362 func_append preserve_args " $_G_opt"
2363 ;;
2364
2365 --no-verbose)
2366 opt_verbose=false
2367 func_append preserve_args " $_G_opt"
2368 ;;
2369
2370 --silent|--quiet)
2371 opt_quiet=:
2372 opt_verbose=false
2373 func_append preserve_args " $_G_opt"
2374 ;;
2375
2376 --tag) test $# = 0 && func_missing_arg $_G_opt && break
2377 opt_tag=$1
2378 func_append preserve_args " $_G_opt $1"
2379 func_enable_tag "$1"
2380 shift
2381 ;;
2382
2383 --verbose|-v) opt_quiet=false
2384 opt_verbose=:
2385 func_append preserve_args " $_G_opt"
2386 ;;
2387
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2390 esac
2391 done
2392
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2397 }
2398 func_add_hook func_parse_options libtool_parse_options
2399
2400
2401
2402 # libtool_validate_options [ARG]...
2403 # ---------------------------------
2404 # Perform any sanity checks on option settings and/or unconsumed
2405 # arguments.
2406 libtool_validate_options ()
2407 {
2408 # save first non-option argument
2409 if test 0 -lt $#; then
2410 nonopt=$1
2411 shift
1189 esac
1190
1191 $opt_help || {
1192 # Sanity checks first:
1193 func_check_version_match
1194
1195 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
1196 func_fatal_configuration "not configured to build any kind of library"
24121197 fi
24131198
2414 # preserve --debug
2415 test : = "$debug_cmd" || func_append preserve_args " --debug"
2416
2417 case $host in
2418 # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
2419 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
2420 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
2421 # don't eliminate duplications in $postdeps and $predeps
2422 opt_duplicate_compiler_generated_deps=:
2423 ;;
2424 *)
2425 opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
2426 ;;
2427 esac
2428
2429 $opt_help || {
2430 # Sanity checks first:
2431 func_check_version_match
2432
2433 test yes != "$build_libtool_libs" \
2434 && test yes != "$build_old_libs" \
2435 && func_fatal_configuration "not configured to build any kind of library"
2436
2437 # Darwin sucks
2438 eval std_shrext=\"$shrext_cmds\"
2439
2440 # Only execute mode is allowed to have -dlopen flags.
2441 if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
2442 func_error "unrecognized option '-dlopen'"
2443 $ECHO "$help" 1>&2
2444 exit $EXIT_FAILURE
2445 fi
2446
2447 # Change the help message to a mode-specific one.
2448 generic_help=$help
2449 help="Try '$progname --help --mode=$opt_mode' for more information."
2450 }
2451
2452 # Pass back the unparsed argument list
2453 func_quote_for_eval ${1+"$@"}
2454 libtool_validate_options_result=$func_quote_for_eval_result
2455 }
2456 func_add_hook func_validate_options libtool_validate_options
2457
2458
2459 # Process options as early as possible so that --help and --version
2460 # can return quickly.
2461 func_options ${1+"$@"}
2462 eval set dummy "$func_options_result"; shift
1199 # Darwin sucks
1200 eval std_shrext=\"$shrext_cmds\"
1201
1202 # Only execute mode is allowed to have -dlopen flags.
1203 if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
1204 func_error "unrecognized option \`-dlopen'"
1205 $ECHO "$help" 1>&2
1206 exit $EXIT_FAILURE
1207 fi
1208
1209 # Change the help message to a mode-specific one.
1210 generic_help="$help"
1211 help="Try \`$progname --help --mode=$opt_mode' for more information."
1212 }
1213
1214
1215 # Bail if the options were screwed
1216 $exit_cmd $EXIT_FAILURE
1217 }
1218
24631219
24641220
24651221
24671223 ## Main. ##
24681224 ## ----------- ##
24691225
2470 magic='%%%MAGIC variable%%%'
2471 magic_exe='%%%MAGIC EXE variable%%%'
2472
2473 # Global variables.
2474 extracted_archives=
2475 extracted_serial=0
2476
2477 # If this variable is set in any of the actions, the command in it
2478 # will be execed at the end. This prevents here-documents from being
2479 # left over by shells.
2480 exec_cmd=
2481
2482
2483 # A function that is used when there is no print builtin or printf.
2484 func_fallback_echo ()
2485 {
2486 eval 'cat <<_LTECHO_EOF
2487 $1
2488 _LTECHO_EOF'
2489 }
2490
2491 # func_generated_by_libtool
2492 # True iff stdin has been generated by Libtool. This function is only
2493 # a basic sanity check; it will hardly flush out determined imposters.
2494 func_generated_by_libtool_p ()
2495 {
2496 $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
2497 }
2498
24991226 # func_lalib_p file
2500 # True iff FILE is a libtool '.la' library or '.lo' object file.
1227 # True iff FILE is a libtool `.la' library or `.lo' object file.
25011228 # This function is only a basic sanity check; it will hardly flush out
25021229 # determined imposters.
25031230 func_lalib_p ()
25041231 {
25051232 test -f "$1" &&
2506 $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
1233 $SED -e 4q "$1" 2>/dev/null \
1234 | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
25071235 }
25081236
25091237 # func_lalib_unsafe_p file
2510 # True iff FILE is a libtool '.la' library or '.lo' object file.
1238 # True iff FILE is a libtool `.la' library or `.lo' object file.
25111239 # This function implements the same check as func_lalib_p without
25121240 # resorting to external programs. To this end, it redirects stdin and
25131241 # closes it afterwards, without saving the original file descriptor.
25141242 # As a safety measure, use it only where a negative result would be
2515 # fatal anyway. Works if 'file' does not exist.
1243 # fatal anyway. Works if `file' does not exist.
25161244 func_lalib_unsafe_p ()
25171245 {
25181246 lalib_p=no
25201248 for lalib_p_l in 1 2 3 4
25211249 do
25221250 read lalib_p_line
2523 case $lalib_p_line in
1251 case "$lalib_p_line" in
25241252 \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
25251253 esac
25261254 done
25271255 exec 0<&5 5<&-
25281256 fi
2529 test yes = "$lalib_p"
1257 test "$lalib_p" = yes
25301258 }
25311259
25321260 # func_ltwrapper_script_p file
25351263 # determined imposters.
25361264 func_ltwrapper_script_p ()
25371265 {
2538 test -f "$1" &&
2539 $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
1266 func_lalib_p "$1"
25401267 }
25411268
25421269 # func_ltwrapper_executable_p file
25611288 {
25621289 func_dirname_and_basename "$1" "" "."
25631290 func_stripname '' '.exe' "$func_basename_result"
2564 func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
1291 func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
25651292 }
25661293
25671294 # func_ltwrapper_p file
25801307 # FAIL_CMD may read-access the current command in variable CMD!
25811308 func_execute_cmds ()
25821309 {
2583 $debug_cmd
2584
1310 $opt_debug
25851311 save_ifs=$IFS; IFS='~'
25861312 for cmd in $1; do
2587 IFS=$sp$nl
1313 IFS=$save_ifs
25881314 eval cmd=\"$cmd\"
2589 IFS=$save_ifs
25901315 func_show_eval "$cmd" "${2-:}"
25911316 done
25921317 IFS=$save_ifs
25981323 # Note that it is not necessary on cygwin/mingw to append a dot to
25991324 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
26001325 # behavior happens only for exec(3), not for open(2)! Also, sourcing
2601 # 'FILE.' does not work on cygwin managed mounts.
1326 # `FILE.' does not work on cygwin managed mounts.
26021327 func_source ()
26031328 {
2604 $debug_cmd
2605
1329 $opt_debug
26061330 case $1 in
26071331 */* | *\\*) . "$1" ;;
26081332 *) . "./$1" ;;
26291353 # store the result into func_replace_sysroot_result.
26301354 func_replace_sysroot ()
26311355 {
2632 case $lt_sysroot:$1 in
1356 case "$lt_sysroot:$1" in
26331357 ?*:"$lt_sysroot"*)
26341358 func_stripname "$lt_sysroot" '' "$1"
2635 func_replace_sysroot_result='='$func_stripname_result
1359 func_replace_sysroot_result="=$func_stripname_result"
26361360 ;;
26371361 *)
26381362 # Including no sysroot.
26491373 # arg is usually of the form 'gcc ...'
26501374 func_infer_tag ()
26511375 {
2652 $debug_cmd
2653
1376 $opt_debug
26541377 if test -n "$available_tags" && test -z "$tagname"; then
26551378 CC_quoted=
26561379 for arg in $CC; do
26691392 for z in $available_tags; do
26701393 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
26711394 # Evaluate the configuration.
2672 eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
1395 eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
26731396 CC_quoted=
26741397 for arg in $CC; do
26751398 # Double-quote args containing other shell metacharacters.
26941417 # line option must be used.
26951418 if test -z "$tagname"; then
26961419 func_echo "unable to infer tagged configuration"
2697 func_fatal_error "specify a tag with '--tag'"
1420 func_fatal_error "specify a tag with \`--tag'"
26981421 # else
26991422 # func_verbose "using $tagname tagged configuration"
27001423 fi
27101433 # but don't create it if we're doing a dry run.
27111434 func_write_libtool_object ()
27121435 {
2713 write_libobj=$1
2714 if test yes = "$build_libtool_libs"; then
2715 write_lobj=\'$2\'
1436 write_libobj=${1}
1437 if test "$build_libtool_libs" = yes; then
1438 write_lobj=\'${2}\'
27161439 else
27171440 write_lobj=none
27181441 fi
27191442
2720 if test yes = "$build_old_libs"; then
2721 write_oldobj=\'$3\'
1443 if test "$build_old_libs" = yes; then
1444 write_oldobj=\'${3}\'
27221445 else
27231446 write_oldobj=none
27241447 fi
27261449 $opt_dry_run || {
27271450 cat >${write_libobj}T <<EOF
27281451 # $write_libobj - a libtool object file
2729 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
1452 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
27301453 #
27311454 # Please DO NOT delete this file!
27321455 # It is necessary for linking the library.
27381461 non_pic_object=$write_oldobj
27391462
27401463 EOF
2741 $MV "${write_libobj}T" "$write_libobj"
1464 $MV "${write_libobj}T" "${write_libobj}"
27421465 }
27431466 }
27441467
27581481 # be empty on error (or when ARG is empty)
27591482 func_convert_core_file_wine_to_w32 ()
27601483 {
2761 $debug_cmd
2762
2763 func_convert_core_file_wine_to_w32_result=$1
1484 $opt_debug
1485 func_convert_core_file_wine_to_w32_result="$1"
27641486 if test -n "$1"; then
27651487 # Unfortunately, winepath does not exit with a non-zero error code, so we
27661488 # are forced to check the contents of stdout. On the other hand, if the
27681490 # *an error message* to stdout. So we must check for both error code of
27691491 # zero AND non-empty stdout, which explains the odd construction:
27701492 func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
2771 if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
1493 if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
27721494 func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
2773 $SED -e "$sed_naive_backslashify"`
1495 $SED -e "$lt_sed_naive_backslashify"`
27741496 else
27751497 func_convert_core_file_wine_to_w32_result=
27761498 fi
27911513 # are convertible, then the result may be empty.
27921514 func_convert_core_path_wine_to_w32 ()
27931515 {
2794 $debug_cmd
2795
1516 $opt_debug
27961517 # unfortunately, winepath doesn't convert paths, only file names
2797 func_convert_core_path_wine_to_w32_result=
1518 func_convert_core_path_wine_to_w32_result=""
27981519 if test -n "$1"; then
27991520 oldIFS=$IFS
28001521 IFS=:
28011522 for func_convert_core_path_wine_to_w32_f in $1; do
28021523 IFS=$oldIFS
28031524 func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
2804 if test -n "$func_convert_core_file_wine_to_w32_result"; then
1525 if test -n "$func_convert_core_file_wine_to_w32_result" ; then
28051526 if test -z "$func_convert_core_path_wine_to_w32_result"; then
2806 func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
1527 func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
28071528 else
28081529 func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
28091530 fi
28321553 # environment variable; do not put it in $PATH.
28331554 func_cygpath ()
28341555 {
2835 $debug_cmd
2836
1556 $opt_debug
28371557 if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
28381558 func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
28391559 if test "$?" -ne 0; then
28421562 fi
28431563 else
28441564 func_cygpath_result=
2845 func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
1565 func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
28461566 fi
28471567 }
28481568 #end: func_cygpath
28531573 # result in func_convert_core_msys_to_w32_result.
28541574 func_convert_core_msys_to_w32 ()
28551575 {
2856 $debug_cmd
2857
1576 $opt_debug
28581577 # awkward: cmd appends spaces to result
28591578 func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
2860 $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
1579 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
28611580 }
28621581 #end: func_convert_core_msys_to_w32
28631582
28681587 # func_to_host_file_result to ARG1).
28691588 func_convert_file_check ()
28701589 {
2871 $debug_cmd
2872
2873 if test -z "$2" && test -n "$1"; then
1590 $opt_debug
1591 if test -z "$2" && test -n "$1" ; then
28741592 func_error "Could not determine host file name corresponding to"
2875 func_error " '$1'"
1593 func_error " \`$1'"
28761594 func_error "Continuing, but uninstalled executables may not work."
28771595 # Fallback:
2878 func_to_host_file_result=$1
1596 func_to_host_file_result="$1"
28791597 fi
28801598 }
28811599 # end func_convert_file_check
28871605 # func_to_host_file_result to a simplistic fallback value (see below).
28881606 func_convert_path_check ()
28891607 {
2890 $debug_cmd
2891
1608 $opt_debug
28921609 if test -z "$4" && test -n "$3"; then
28931610 func_error "Could not determine the host path corresponding to"
2894 func_error " '$3'"
1611 func_error " \`$3'"
28951612 func_error "Continuing, but uninstalled executables may not work."
28961613 # Fallback. This is a deliberately simplistic "conversion" and
28971614 # should not be "improved". See libtool.info.
29001617 func_to_host_path_result=`echo "$3" |
29011618 $SED -e "$lt_replace_pathsep_chars"`
29021619 else
2903 func_to_host_path_result=$3
1620 func_to_host_path_result="$3"
29041621 fi
29051622 fi
29061623 }
29121629 # and appending REPL if ORIG matches BACKPAT.
29131630 func_convert_path_front_back_pathsep ()
29141631 {
2915 $debug_cmd
2916
1632 $opt_debug
29171633 case $4 in
2918 $1 ) func_to_host_path_result=$3$func_to_host_path_result
1634 $1 ) func_to_host_path_result="$3$func_to_host_path_result"
29191635 ;;
29201636 esac
29211637 case $4 in
29291645 ##################################################
29301646 # $build to $host FILE NAME CONVERSION FUNCTIONS #
29311647 ##################################################
2932 # invoked via '$to_host_file_cmd ARG'
1648 # invoked via `$to_host_file_cmd ARG'
29331649 #
29341650 # In each case, ARG is the path to be converted from $build to $host format.
29351651 # Result will be available in $func_to_host_file_result.
29401656 # in func_to_host_file_result.
29411657 func_to_host_file ()
29421658 {
2943 $debug_cmd
2944
1659 $opt_debug
29451660 $to_host_file_cmd "$1"
29461661 }
29471662 # end func_to_host_file
29531668 # in (the comma separated) LAZY, no conversion takes place.
29541669 func_to_tool_file ()
29551670 {
2956 $debug_cmd
2957
1671 $opt_debug
29581672 case ,$2, in
29591673 *,"$to_tool_file_cmd",*)
29601674 func_to_tool_file_result=$1
29721686 # Copy ARG to func_to_host_file_result.
29731687 func_convert_file_noop ()
29741688 {
2975 func_to_host_file_result=$1
1689 func_to_host_file_result="$1"
29761690 }
29771691 # end func_convert_file_noop
29781692
29831697 # func_to_host_file_result.
29841698 func_convert_file_msys_to_w32 ()
29851699 {
2986 $debug_cmd
2987
2988 func_to_host_file_result=$1
1700 $opt_debug
1701 func_to_host_file_result="$1"
29891702 if test -n "$1"; then
29901703 func_convert_core_msys_to_w32 "$1"
2991 func_to_host_file_result=$func_convert_core_msys_to_w32_result
1704 func_to_host_file_result="$func_convert_core_msys_to_w32_result"
29921705 fi
29931706 func_convert_file_check "$1" "$func_to_host_file_result"
29941707 }
30001713 # func_to_host_file_result.
30011714 func_convert_file_cygwin_to_w32 ()
30021715 {
3003 $debug_cmd
3004
3005 func_to_host_file_result=$1
1716 $opt_debug
1717 func_to_host_file_result="$1"
30061718 if test -n "$1"; then
30071719 # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
30081720 # LT_CYGPATH in this case.
30181730 # and a working winepath. Returns result in func_to_host_file_result.
30191731 func_convert_file_nix_to_w32 ()
30201732 {
3021 $debug_cmd
3022
3023 func_to_host_file_result=$1
1733 $opt_debug
1734 func_to_host_file_result="$1"
30241735 if test -n "$1"; then
30251736 func_convert_core_file_wine_to_w32 "$1"
3026 func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
1737 func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
30271738 fi
30281739 func_convert_file_check "$1" "$func_to_host_file_result"
30291740 }
30351746 # Returns result in func_to_host_file_result.
30361747 func_convert_file_msys_to_cygwin ()
30371748 {
3038 $debug_cmd
3039
3040 func_to_host_file_result=$1
1749 $opt_debug
1750 func_to_host_file_result="$1"
30411751 if test -n "$1"; then
30421752 func_convert_core_msys_to_w32 "$1"
30431753 func_cygpath -u "$func_convert_core_msys_to_w32_result"
3044 func_to_host_file_result=$func_cygpath_result
1754 func_to_host_file_result="$func_cygpath_result"
30451755 fi
30461756 func_convert_file_check "$1" "$func_to_host_file_result"
30471757 }
30541764 # in func_to_host_file_result.
30551765 func_convert_file_nix_to_cygwin ()
30561766 {
3057 $debug_cmd
3058
3059 func_to_host_file_result=$1
1767 $opt_debug
1768 func_to_host_file_result="$1"
30601769 if test -n "$1"; then
30611770 # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
30621771 func_convert_core_file_wine_to_w32 "$1"
30631772 func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
3064 func_to_host_file_result=$func_cygpath_result
1773 func_to_host_file_result="$func_cygpath_result"
30651774 fi
30661775 func_convert_file_check "$1" "$func_to_host_file_result"
30671776 }
30711780 #############################################
30721781 # $build to $host PATH CONVERSION FUNCTIONS #
30731782 #############################################
3074 # invoked via '$to_host_path_cmd ARG'
1783 # invoked via `$to_host_path_cmd ARG'
30751784 #
30761785 # In each case, ARG is the path to be converted from $build to $host format.
30771786 # The result will be available in $func_to_host_path_result.
30951804 to_host_path_cmd=
30961805 func_init_to_host_path_cmd ()
30971806 {
3098 $debug_cmd
3099
1807 $opt_debug
31001808 if test -z "$to_host_path_cmd"; then
31011809 func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
3102 to_host_path_cmd=func_convert_path_$func_stripname_result
1810 to_host_path_cmd="func_convert_path_${func_stripname_result}"
31031811 fi
31041812 }
31051813
31091817 # in func_to_host_path_result.
31101818 func_to_host_path ()
31111819 {
3112 $debug_cmd
3113
1820 $opt_debug
31141821 func_init_to_host_path_cmd
31151822 $to_host_path_cmd "$1"
31161823 }
31211828 # Copy ARG to func_to_host_path_result.
31221829 func_convert_path_noop ()
31231830 {
3124 func_to_host_path_result=$1
1831 func_to_host_path_result="$1"
31251832 }
31261833 # end func_convert_path_noop
31271834
31321839 # func_to_host_path_result.
31331840 func_convert_path_msys_to_w32 ()
31341841 {
3135 $debug_cmd
3136
3137 func_to_host_path_result=$1
1842 $opt_debug
1843 func_to_host_path_result="$1"
31381844 if test -n "$1"; then
31391845 # Remove leading and trailing path separator characters from ARG. MSYS
31401846 # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
31421848 func_stripname : : "$1"
31431849 func_to_host_path_tmp1=$func_stripname_result
31441850 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3145 func_to_host_path_result=$func_convert_core_msys_to_w32_result
1851 func_to_host_path_result="$func_convert_core_msys_to_w32_result"
31461852 func_convert_path_check : ";" \
31471853 "$func_to_host_path_tmp1" "$func_to_host_path_result"
31481854 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
31561862 # func_to_host_file_result.
31571863 func_convert_path_cygwin_to_w32 ()
31581864 {
3159 $debug_cmd
3160
3161 func_to_host_path_result=$1
1865 $opt_debug
1866 func_to_host_path_result="$1"
31621867 if test -n "$1"; then
31631868 # See func_convert_path_msys_to_w32:
31641869 func_stripname : : "$1"
31771882 # a working winepath. Returns result in func_to_host_file_result.
31781883 func_convert_path_nix_to_w32 ()
31791884 {
3180 $debug_cmd
3181
3182 func_to_host_path_result=$1
1885 $opt_debug
1886 func_to_host_path_result="$1"
31831887 if test -n "$1"; then
31841888 # See func_convert_path_msys_to_w32:
31851889 func_stripname : : "$1"
31861890 func_to_host_path_tmp1=$func_stripname_result
31871891 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3188 func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
1892 func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
31891893 func_convert_path_check : ";" \
31901894 "$func_to_host_path_tmp1" "$func_to_host_path_result"
31911895 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
31991903 # Returns result in func_to_host_file_result.
32001904 func_convert_path_msys_to_cygwin ()
32011905 {
3202 $debug_cmd
3203
3204 func_to_host_path_result=$1
1906 $opt_debug
1907 func_to_host_path_result="$1"
32051908 if test -n "$1"; then
32061909 # See func_convert_path_msys_to_w32:
32071910 func_stripname : : "$1"
32081911 func_to_host_path_tmp1=$func_stripname_result
32091912 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
32101913 func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
3211 func_to_host_path_result=$func_cygpath_result
1914 func_to_host_path_result="$func_cygpath_result"
32121915 func_convert_path_check : : \
32131916 "$func_to_host_path_tmp1" "$func_to_host_path_result"
32141917 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
32231926 # func_to_host_file_result.
32241927 func_convert_path_nix_to_cygwin ()
32251928 {
3226 $debug_cmd
3227
3228 func_to_host_path_result=$1
1929 $opt_debug
1930 func_to_host_path_result="$1"
32291931 if test -n "$1"; then
32301932 # Remove leading and trailing path separator characters from
32311933 # ARG. msys behavior is inconsistent here, cygpath turns them
32341936 func_to_host_path_tmp1=$func_stripname_result
32351937 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
32361938 func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
3237 func_to_host_path_result=$func_cygpath_result
1939 func_to_host_path_result="$func_cygpath_result"
32381940 func_convert_path_check : : \
32391941 "$func_to_host_path_tmp1" "$func_to_host_path_result"
32401942 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
32431945 # end func_convert_path_nix_to_cygwin
32441946
32451947
3246 # func_dll_def_p FILE
3247 # True iff FILE is a Windows DLL '.def' file.
3248 # Keep in sync with _LT_DLL_DEF_P in libtool.m4
3249 func_dll_def_p ()
3250 {
3251 $debug_cmd
3252
3253 func_dll_def_p_tmp=`$SED -n \
3254 -e 's/^[ ]*//' \
3255 -e '/^\(;.*\)*$/d' \
3256 -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
3257 -e q \
3258 "$1"`
3259 test DEF = "$func_dll_def_p_tmp"
3260 }
3261
3262
32631948 # func_mode_compile arg...
32641949 func_mode_compile ()
32651950 {
3266 $debug_cmd
3267
1951 $opt_debug
32681952 # Get the compilation command and the source file.
32691953 base_compile=
3270 srcfile=$nonopt # always keep a non-empty value in "srcfile"
1954 srcfile="$nonopt" # always keep a non-empty value in "srcfile"
32711955 suppress_opt=yes
32721956 suppress_output=
32731957 arg_mode=normal
32801964 case $arg_mode in
32811965 arg )
32821966 # do not "continue". Instead, add this to base_compile
3283 lastarg=$arg
1967 lastarg="$arg"
32841968 arg_mode=normal
32851969 ;;
32861970
32871971 target )
3288 libobj=$arg
1972 libobj="$arg"
32891973 arg_mode=normal
32901974 continue
32911975 ;;
32951979 case $arg in
32961980 -o)
32971981 test -n "$libobj" && \
3298 func_fatal_error "you cannot specify '-o' more than once"
1982 func_fatal_error "you cannot specify \`-o' more than once"
32991983 arg_mode=target
33001984 continue
33011985 ;;
33242008 func_stripname '-Wc,' '' "$arg"
33252009 args=$func_stripname_result
33262010 lastarg=
3327 save_ifs=$IFS; IFS=,
2011 save_ifs="$IFS"; IFS=','
33282012 for arg in $args; do
3329 IFS=$save_ifs
2013 IFS="$save_ifs"
33302014 func_append_quoted lastarg "$arg"
33312015 done
3332 IFS=$save_ifs
2016 IFS="$save_ifs"
33332017 func_stripname ' ' '' "$lastarg"
33342018 lastarg=$func_stripname_result
33352019
33422026 # Accept the current argument as the source file.
33432027 # The previous "srcfile" becomes the current argument.
33442028 #
3345 lastarg=$srcfile
3346 srcfile=$arg
2029 lastarg="$srcfile"
2030 srcfile="$arg"
33472031 ;;
33482032 esac # case $arg
33492033 ;;
33582042 func_fatal_error "you must specify an argument for -Xcompile"
33592043 ;;
33602044 target)
3361 func_fatal_error "you must specify a target with '-o'"
2045 func_fatal_error "you must specify a target with \`-o'"
33622046 ;;
33632047 *)
33642048 # Get the name of the library object.
33652049 test -z "$libobj" && {
33662050 func_basename "$srcfile"
3367 libobj=$func_basename_result
2051 libobj="$func_basename_result"
33682052 }
33692053 ;;
33702054 esac
33842068 case $libobj in
33852069 *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
33862070 *)
3387 func_fatal_error "cannot determine name of library object from '$libobj'"
2071 func_fatal_error "cannot determine name of library object from \`$libobj'"
33882072 ;;
33892073 esac
33902074
33932077 for arg in $later; do
33942078 case $arg in
33952079 -shared)
3396 test yes = "$build_libtool_libs" \
3397 || func_fatal_configuration "cannot build a shared library"
2080 test "$build_libtool_libs" != yes && \
2081 func_fatal_configuration "can not build a shared library"
33982082 build_old_libs=no
33992083 continue
34002084 ;;
34202104 func_quote_for_eval "$libobj"
34212105 test "X$libobj" != "X$func_quote_for_eval_result" \
34222106 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
3423 && func_warning "libobj name '$libobj' may not contain shell special characters."
2107 && func_warning "libobj name \`$libobj' may not contain shell special characters."
34242108 func_dirname_and_basename "$obj" "/" ""
3425 objname=$func_basename_result
3426 xdir=$func_dirname_result
3427 lobj=$xdir$objdir/$objname
2109 objname="$func_basename_result"
2110 xdir="$func_dirname_result"
2111 lobj=${xdir}$objdir/$objname
34282112
34292113 test -z "$base_compile" && \
34302114 func_fatal_help "you must specify a compilation command"
34312115
34322116 # Delete any leftover library objects.
3433 if test yes = "$build_old_libs"; then
2117 if test "$build_old_libs" = yes; then
34342118 removelist="$obj $lobj $libobj ${libobj}T"
34352119 else
34362120 removelist="$lobj $libobj ${libobj}T"
34422126 pic_mode=default
34432127 ;;
34442128 esac
3445 if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
2129 if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
34462130 # non-PIC code in shared libraries is not supported
34472131 pic_mode=default
34482132 fi
34492133
34502134 # Calculate the filename of the output object if compiler does
34512135 # not support -o with -c
3452 if test no = "$compiler_c_o"; then
3453 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
3454 lockfile=$output_obj.lock
2136 if test "$compiler_c_o" = no; then
2137 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
2138 lockfile="$output_obj.lock"
34552139 else
34562140 output_obj=
34572141 need_locks=no
34602144
34612145 # Lock this critical section if it is needed
34622146 # We use this script file to make the link, it avoids creating a new file
3463 if test yes = "$need_locks"; then
2147 if test "$need_locks" = yes; then
34642148 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
34652149 func_echo "Waiting for $lockfile to be removed"
34662150 sleep 2
34672151 done
3468 elif test warn = "$need_locks"; then
2152 elif test "$need_locks" = warn; then
34692153 if test -f "$lockfile"; then
34702154 $ECHO "\
34712155 *** ERROR, $lockfile exists and contains:
34732157
34742158 This indicates that another process is trying to use the same
34752159 temporary object file, and libtool could not work around it because
3476 your compiler does not support '-c' and '-o' together. If you
2160 your compiler does not support \`-c' and \`-o' together. If you
34772161 repeat this compilation, it may succeed, by chance, but you had better
34782162 avoid parallel builds (make -j) in this platform, or get a better
34792163 compiler."
34952179 qsrcfile=$func_quote_for_eval_result
34962180
34972181 # Only build a PIC object if we are building libtool libraries.
3498 if test yes = "$build_libtool_libs"; then
2182 if test "$build_libtool_libs" = yes; then
34992183 # Without this assignment, base_compile gets emptied.
35002184 fbsd_hideous_sh_bug=$base_compile
35012185
3502 if test no != "$pic_mode"; then
2186 if test "$pic_mode" != no; then
35032187 command="$base_compile $qsrcfile $pic_flag"
35042188 else
35052189 # Don't build PIC code
35162200 func_show_eval_locale "$command" \
35172201 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
35182202
3519 if test warn = "$need_locks" &&
2203 if test "$need_locks" = warn &&
35202204 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
35212205 $ECHO "\
35222206 *** ERROR, $lockfile contains:
35272211
35282212 This indicates that another process is trying to use the same
35292213 temporary object file, and libtool could not work around it because
3530 your compiler does not support '-c' and '-o' together. If you
2214 your compiler does not support \`-c' and \`-o' together. If you
35312215 repeat this compilation, it may succeed, by chance, but you had better
35322216 avoid parallel builds (make -j) in this platform, or get a better
35332217 compiler."
35432227 fi
35442228
35452229 # Allow error messages only from the first compilation.
3546 if test yes = "$suppress_opt"; then
2230 if test "$suppress_opt" = yes; then
35472231 suppress_output=' >/dev/null 2>&1'
35482232 fi
35492233 fi
35502234
35512235 # Only build a position-dependent object if we build old libraries.
3552 if test yes = "$build_old_libs"; then
3553 if test yes != "$pic_mode"; then
2236 if test "$build_old_libs" = yes; then
2237 if test "$pic_mode" != yes; then
35542238 # Don't build PIC code
35552239 command="$base_compile $qsrcfile$pie_flag"
35562240 else
35572241 command="$base_compile $qsrcfile $pic_flag"
35582242 fi
3559 if test yes = "$compiler_c_o"; then
2243 if test "$compiler_c_o" = yes; then
35602244 func_append command " -o $obj"
35612245 fi
35622246
35652249 func_show_eval_locale "$command" \
35662250 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
35672251
3568 if test warn = "$need_locks" &&
2252 if test "$need_locks" = warn &&
35692253 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
35702254 $ECHO "\
35712255 *** ERROR, $lockfile contains:
35762260
35772261 This indicates that another process is trying to use the same
35782262 temporary object file, and libtool could not work around it because
3579 your compiler does not support '-c' and '-o' together. If you
2263 your compiler does not support \`-c' and \`-o' together. If you
35802264 repeat this compilation, it may succeed, by chance, but you had better
35812265 avoid parallel builds (make -j) in this platform, or get a better
35822266 compiler."
35962280 func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
35972281
35982282 # Unlock the critical section if it was locked
3599 if test no != "$need_locks"; then
2283 if test "$need_locks" != no; then
36002284 removelist=$lockfile
36012285 $RM "$lockfile"
36022286 fi
36062290 }
36072291
36082292 $opt_help || {
3609 test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
2293 test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
36102294 }
36112295
36122296 func_mode_help ()
36262310 Remove files from the build directory.
36272311
36282312 RM is the name of the program to use to delete files associated with each FILE
3629 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
2313 (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
36302314 to RM.
36312315
36322316 If FILE is a libtool library, object or program, all the files associated
36452329 -no-suppress do not suppress compiler output for multiple passes
36462330 -prefer-pic try to build PIC objects only
36472331 -prefer-non-pic try to build non-PIC objects only
3648 -shared do not build a '.o' file suitable for static linking
3649 -static only build a '.o' file suitable for static linking
2332 -shared do not build a \`.o' file suitable for static linking
2333 -static only build a \`.o' file suitable for static linking
36502334 -Wc,FLAG pass FLAG directly to the compiler
36512335
3652 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
2336 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
36532337 from the given SOURCEFILE.
36542338
36552339 The output file name is determined by removing the directory component from
3656 SOURCEFILE, then substituting the C source code suffix '.c' with the
3657 library object suffix, '.lo'."
2340 SOURCEFILE, then substituting the C source code suffix \`.c' with the
2341 library object suffix, \`.lo'."
36582342 ;;
36592343
36602344 execute)
36672351
36682352 -dlopen FILE add the directory containing FILE to the library path
36692353
3670 This mode sets the library path environment variable according to '-dlopen'
2354 This mode sets the library path environment variable according to \`-dlopen'
36712355 flags.
36722356
36732357 If any of the ARGS are libtool executable wrappers, then they are translated
36862370 Each LIBDIR is a directory that contains libtool libraries.
36872371
36882372 The commands that this mode executes may require superuser privileges. Use
3689 the '--dry-run' option if you just want to see what would be executed."
2373 the \`--dry-run' option if you just want to see what would be executed."
36902374 ;;
36912375
36922376 install)
36962380 Install executables or libraries.
36972381
36982382 INSTALL-COMMAND is the installation command. The first component should be
3699 either the 'install' or 'cp' program.
2383 either the \`install' or \`cp' program.
37002384
37012385 The following components of INSTALL-COMMAND are treated specially:
37022386
37222406 -avoid-version do not add a version suffix if possible
37232407 -bindir BINDIR specify path to binaries directory (for systems where
37242408 libraries must be found in the PATH setting at runtime)
3725 -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
2409 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
37262410 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
37272411 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
37282412 -export-symbols SYMFILE
37362420 -no-install link a not-installable executable
37372421 -no-undefined declare that a library does not refer to external symbols
37382422 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
3739 -objectlist FILE use a list of object files found in FILE to specify objects
3740 -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
2423 -objectlist FILE Use a list of object files found in FILE to specify objects
37412424 -precious-files-regex REGEX
37422425 don't remove output files matching REGEX
37432426 -release RELEASE specify package release information
37572440 -Xlinker FLAG pass linker-specific FLAG directly to the linker
37582441 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
37592442
3760 All other options (arguments beginning with '-') are ignored.
3761
3762 Every other argument is treated as a filename. Files ending in '.la' are
2443 All other options (arguments beginning with \`-') are ignored.
2444
2445 Every other argument is treated as a filename. Files ending in \`.la' are
37632446 treated as uninstalled libtool libraries, other files are standard or library
37642447 object files.
37652448
3766 If the OUTPUT-FILE ends in '.la', then a libtool library is created,
3767 only library objects ('.lo' files) may be specified, and '-rpath' is
2449 If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
2450 only library objects (\`.lo' files) may be specified, and \`-rpath' is
37682451 required, except when creating a convenience library.
37692452
3770 If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
3771 using 'ar' and 'ranlib', or on Windows using 'lib'.
3772
3773 If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
2453 If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
2454 using \`ar' and \`ranlib', or on Windows using \`lib'.
2455
2456 If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
37742457 is created, otherwise an executable program is created."
37752458 ;;
37762459
37812464 Remove libraries from an installation directory.
37822465
37832466 RM is the name of the program to use to delete files associated with each FILE
3784 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
2467 (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
37852468 to RM.
37862469
37872470 If FILE is a libtool library, all the files associated with it are deleted.
37892472 ;;
37902473
37912474 *)
3792 func_fatal_help "invalid operation mode '$opt_mode'"
2475 func_fatal_help "invalid operation mode \`$opt_mode'"
37932476 ;;
37942477 esac
37952478
37962479 echo
3797 $ECHO "Try '$progname --help' for more information about other modes."
2480 $ECHO "Try \`$progname --help' for more information about other modes."
37982481 }
37992482
38002483 # Now that we've collected a possible --mode arg, show help if necessary
38012484 if $opt_help; then
3802 if test : = "$opt_help"; then
2485 if test "$opt_help" = :; then
38032486 func_mode_help
38042487 else
38052488 {
38072490 for opt_mode in compile link execute install finish uninstall clean; do
38082491 func_mode_help
38092492 done
3810 } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
2493 } | sed -n '1p; 2,$s/^Usage:/ or: /p'
38112494 {
38122495 func_help noexit
38132496 for opt_mode in compile link execute install finish uninstall clean; do
38152498 func_mode_help
38162499 done
38172500 } |
3818 $SED '1d
2501 sed '1d
38192502 /^When reporting/,/^Report/{
38202503 H
38212504 d
38322515 # func_mode_execute arg...
38332516 func_mode_execute ()
38342517 {
3835 $debug_cmd
3836
2518 $opt_debug
38372519 # The first argument is the command name.
3838 cmd=$nonopt
2520 cmd="$nonopt"
38392521 test -z "$cmd" && \
38402522 func_fatal_help "you must specify a COMMAND"
38412523
38422524 # Handle -dlopen flags immediately.
38432525 for file in $opt_dlopen; do
38442526 test -f "$file" \
3845 || func_fatal_help "'$file' is not a file"
2527 || func_fatal_help "\`$file' is not a file"
38462528
38472529 dir=
38482530 case $file in
38522534
38532535 # Check to see that this really is a libtool archive.
38542536 func_lalib_unsafe_p "$file" \
3855 || func_fatal_help "'$lib' is not a valid libtool archive"
2537 || func_fatal_help "\`$lib' is not a valid libtool archive"
38562538
38572539 # Read the libtool library.
38582540 dlname=
38632545 if test -z "$dlname"; then
38642546 # Warn if it was a shared library.
38652547 test -n "$library_names" && \
3866 func_warning "'$file' was not linked with '-export-dynamic'"
2548 func_warning "\`$file' was not linked with \`-export-dynamic'"
38672549 continue
38682550 fi
38692551
38702552 func_dirname "$file" "" "."
3871 dir=$func_dirname_result
2553 dir="$func_dirname_result"
38722554
38732555 if test -f "$dir/$objdir/$dlname"; then
38742556 func_append dir "/$objdir"
38752557 else
38762558 if test ! -f "$dir/$dlname"; then
3877 func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
2559 func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
38782560 fi
38792561 fi
38802562 ;;
38822564 *.lo)
38832565 # Just add the directory containing the .lo file.
38842566 func_dirname "$file" "" "."
3885 dir=$func_dirname_result
2567 dir="$func_dirname_result"
38862568 ;;
38872569
38882570 *)
3889 func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
2571 func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
38902572 continue
38912573 ;;
38922574 esac
38932575
38942576 # Get the absolute pathname.
38952577 absdir=`cd "$dir" && pwd`
3896 test -n "$absdir" && dir=$absdir
2578 test -n "$absdir" && dir="$absdir"
38972579
38982580 # Now add the directory to shlibpath_var.
38992581 if eval "test -z \"\$$shlibpath_var\""; then
39052587
39062588 # This variable tells wrapper scripts just to set shlibpath_var
39072589 # rather than running their programs.
3908 libtool_execute_magic=$magic
2590 libtool_execute_magic="$magic"
39092591
39102592 # Check if any of the arguments is a wrapper script.
39112593 args=
39182600 if func_ltwrapper_script_p "$file"; then
39192601 func_source "$file"
39202602 # Transform arg to wrapped name.
3921 file=$progdir/$program
2603 file="$progdir/$program"
39222604 elif func_ltwrapper_executable_p "$file"; then
39232605 func_ltwrapper_scriptname "$file"
39242606 func_source "$func_ltwrapper_scriptname_result"
39252607 # Transform arg to wrapped name.
3926 file=$progdir/$program
2608 file="$progdir/$program"
39272609 fi
39282610 ;;
39292611 esac
39312613 func_append_quoted args "$file"
39322614 done
39332615
3934 if $opt_dry_run; then
3935 # Display what would be done.
3936 if test -n "$shlibpath_var"; then
3937 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
3938 echo "export $shlibpath_var"
3939 fi
3940 $ECHO "$cmd$args"
3941 exit $EXIT_SUCCESS
3942 else
2616 if test "X$opt_dry_run" = Xfalse; then
39432617 if test -n "$shlibpath_var"; then
39442618 # Export the shlibpath_var.
39452619 eval "export $shlibpath_var"
39562630 done
39572631
39582632 # Now prepare to actually exec the command.
3959 exec_cmd=\$cmd$args
2633 exec_cmd="\$cmd$args"
2634 else
2635 # Display what would be done.
2636 if test -n "$shlibpath_var"; then
2637 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
2638 echo "export $shlibpath_var"
2639 fi
2640 $ECHO "$cmd$args"
2641 exit $EXIT_SUCCESS
39602642 fi
39612643 }
39622644
3963 test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
2645 test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
39642646
39652647
39662648 # func_mode_finish arg...
39672649 func_mode_finish ()
39682650 {
3969 $debug_cmd
3970
2651 $opt_debug
39712652 libs=
39722653 libdirs=
39732654 admincmds=
39812662 if func_lalib_unsafe_p "$opt"; then
39822663 func_append libs " $opt"
39832664 else
3984 func_warning "'$opt' is not a valid libtool archive"
2665 func_warning "\`$opt' is not a valid libtool archive"
39852666 fi
39862667
39872668 else
3988 func_fatal_error "invalid argument '$opt'"
2669 func_fatal_error "invalid argument \`$opt'"
39892670 fi
39902671 done
39912672
40002681 # Remove sysroot references
40012682 if $opt_dry_run; then
40022683 for lib in $libs; do
4003 echo "removing references to $lt_sysroot and '=' prefixes from $lib"
2684 echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
40042685 done
40052686 else
40062687 tmpdir=`func_mktempdir`
40072688 for lib in $libs; do
4008 $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
2689 sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
40092690 > $tmpdir/tmp-la
40102691 mv -f $tmpdir/tmp-la $lib
40112692 done
40302711 fi
40312712
40322713 # Exit here if they wanted silent mode.
4033 $opt_quiet && exit $EXIT_SUCCESS
2714 $opt_silent && exit $EXIT_SUCCESS
40342715
40352716 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
40362717 echo "----------------------------------------------------------------------"
40412722 echo
40422723 echo "If you ever happen to want to link against installed libraries"
40432724 echo "in a given directory, LIBDIR, you must either use libtool, and"
4044 echo "specify the full pathname of the library, or use the '-LLIBDIR'"
2725 echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
40452726 echo "flag during linking and do at least one of the following:"
40462727 if test -n "$shlibpath_var"; then
4047 echo " - add LIBDIR to the '$shlibpath_var' environment variable"
2728 echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
40482729 echo " during execution"
40492730 fi
40502731 if test -n "$runpath_var"; then
4051 echo " - add LIBDIR to the '$runpath_var' environment variable"
2732 echo " - add LIBDIR to the \`$runpath_var' environment variable"
40522733 echo " during linking"
40532734 fi
40542735 if test -n "$hardcode_libdir_flag_spec"; then
40552736 libdir=LIBDIR
40562737 eval flag=\"$hardcode_libdir_flag_spec\"
40572738
4058 $ECHO " - use the '$flag' linker flag"
2739 $ECHO " - use the \`$flag' linker flag"
40592740 fi
40602741 if test -n "$admincmds"; then
40612742 $ECHO " - have your system administrator run these commands:$admincmds"
40622743 fi
40632744 if test -f /etc/ld.so.conf; then
4064 echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
2745 echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
40652746 fi
40662747 echo
40672748
40802761 exit $EXIT_SUCCESS
40812762 }
40822763
4083 test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
2764 test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
40842765
40852766
40862767 # func_mode_install arg...
40872768 func_mode_install ()
40882769 {
4089 $debug_cmd
4090
2770 $opt_debug
40912771 # There may be an optional sh(1) argument at the beginning of
40922772 # install_prog (especially on Windows NT).
4093 if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
2773 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
40942774 # Allow the use of GNU shtool's install command.
4095 case $nonopt in *shtool*) :;; *) false;; esac
4096 then
2775 case $nonopt in *shtool*) :;; *) false;; esac; then
40972776 # Aesthetically quote it.
40982777 func_quote_for_eval "$nonopt"
40992778 install_prog="$func_quote_for_eval_result "
41202799 opts=
41212800 prev=
41222801 install_type=
4123 isdir=false
2802 isdir=no
41242803 stripme=
41252804 no_mode=:
41262805 for arg
41332812 fi
41342813
41352814 case $arg in
4136 -d) isdir=: ;;
2815 -d) isdir=yes ;;
41372816 -f)
41382817 if $install_cp; then :; else
41392818 prev=$arg
41512830 *)
41522831 # If the previous option needed an argument, then skip it.
41532832 if test -n "$prev"; then
4154 if test X-m = "X$prev" && test -n "$install_override_mode"; then
2833 if test "x$prev" = x-m && test -n "$install_override_mode"; then
41552834 arg2=$install_override_mode
41562835 no_mode=false
41572836 fi
41762855 func_fatal_help "you must specify an install program"
41772856
41782857 test -n "$prev" && \
4179 func_fatal_help "the '$prev' option requires an argument"
2858 func_fatal_help "the \`$prev' option requires an argument"
41802859
41812860 if test -n "$install_override_mode" && $no_mode; then
41822861 if $install_cp; then :; else
41982877 dest=$func_stripname_result
41992878
42002879 # Check to see that the destination is a directory.
4201 test -d "$dest" && isdir=:
4202 if $isdir; then
4203 destdir=$dest
2880 test -d "$dest" && isdir=yes
2881 if test "$isdir" = yes; then
2882 destdir="$dest"
42042883 destname=
42052884 else
42062885 func_dirname_and_basename "$dest" "" "."
4207 destdir=$func_dirname_result
4208 destname=$func_basename_result
2886 destdir="$func_dirname_result"
2887 destname="$func_basename_result"
42092888
42102889 # Not a directory, so check to see that there is only one file specified.
42112890 set dummy $files; shift
42122891 test "$#" -gt 1 && \
4213 func_fatal_help "'$dest' is not a directory"
2892 func_fatal_help "\`$dest' is not a directory"
42142893 fi
42152894 case $destdir in
42162895 [\\/]* | [A-Za-z]:[\\/]*) ;;
42192898 case $file in
42202899 *.lo) ;;
42212900 *)
4222 func_fatal_help "'$destdir' must be an absolute directory name"
2901 func_fatal_help "\`$destdir' must be an absolute directory name"
42232902 ;;
42242903 esac
42252904 done
42282907
42292908 # This variable tells wrapper scripts just to set variables rather
42302909 # than running their programs.
4231 libtool_install_magic=$magic
2910 libtool_install_magic="$magic"
42322911
42332912 staticlibs=
42342913 future_libdirs=
42482927
42492928 # Check to see that this really is a libtool archive.
42502929 func_lalib_unsafe_p "$file" \
4251 || func_fatal_help "'$file' is not a valid libtool archive"
2930 || func_fatal_help "\`$file' is not a valid libtool archive"
42522931
42532932 library_names=
42542933 old_library=
42702949 fi
42712950
42722951 func_dirname "$file" "/" ""
4273 dir=$func_dirname_result
2952 dir="$func_dirname_result"
42742953 func_append dir "$objdir"
42752954
42762955 if test -n "$relink_command"; then
42842963 # are installed into $libdir/../bin (currently, that works fine)
42852964 # but it's something to keep an eye on.
42862965 test "$inst_prefix_dir" = "$destdir" && \
4287 func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
2966 func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
42882967
42892968 if test -n "$inst_prefix_dir"; then
42902969 # Stick the inst_prefix_dir data into the link command.
42932972 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
42942973 fi
42952974
4296 func_warning "relinking '$file'"
2975 func_warning "relinking \`$file'"
42972976 func_show_eval "$relink_command" \
4298 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
2977 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
42992978 fi
43002979
43012980 # See the names of the shared library.
43022981 set dummy $library_names; shift
43032982 if test -n "$1"; then
4304 realname=$1
2983 realname="$1"
43052984 shift
43062985
4307 srcname=$realname
4308 test -n "$relink_command" && srcname=${realname}T
2986 srcname="$realname"
2987 test -n "$relink_command" && srcname="$realname"T
43092988
43102989 # Install the shared library and build the symlinks.
43112990 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
43122991 'exit $?'
4313 tstripme=$stripme
2992 tstripme="$stripme"
43142993 case $host_os in
43152994 cygwin* | mingw* | pw32* | cegcc*)
43162995 case $realname in
43172996 *.dll.a)
4318 tstripme=
4319 ;;
4320 esac
4321 ;;
4322 os2*)
4323 case $realname in
4324 *_dll.a)
4325 tstripme=
2997 tstripme=""
43262998 ;;
43272999 esac
43283000 ;;
43333005
43343006 if test "$#" -gt 0; then
43353007 # Delete the old symlinks, and create new ones.
4336 # Try 'ln -sf' first, because the 'ln' binary might depend on
3008 # Try `ln -sf' first, because the `ln' binary might depend on
43373009 # the symlink we replace! Solaris /bin/ln does not understand -f,
43383010 # so we also need to try rm && ln -s.
43393011 for linkname
43443016 fi
43453017
43463018 # Do each command in the postinstall commands.
4347 lib=$destdir/$realname
3019 lib="$destdir/$realname"
43483020 func_execute_cmds "$postinstall_cmds" 'exit $?'
43493021 fi
43503022
43513023 # Install the pseudo-library for information purposes.
43523024 func_basename "$file"
4353 name=$func_basename_result
4354 instname=$dir/${name}i
3025 name="$func_basename_result"
3026 instname="$dir/$name"i
43553027 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
43563028
43573029 # Maybe install the static library, too.
43633035
43643036 # Figure out destination file name, if it wasn't already specified.
43653037 if test -n "$destname"; then
4366 destfile=$destdir/$destname
3038 destfile="$destdir/$destname"
43673039 else
43683040 func_basename "$file"
4369 destfile=$func_basename_result
4370 destfile=$destdir/$destfile
3041 destfile="$func_basename_result"
3042 destfile="$destdir/$destfile"
43713043 fi
43723044
43733045 # Deduce the name of the destination old-style object file.
43773049 staticdest=$func_lo2o_result
43783050 ;;
43793051 *.$objext)
4380 staticdest=$destfile
3052 staticdest="$destfile"
43813053 destfile=
43823054 ;;
43833055 *)
4384 func_fatal_help "cannot copy a libtool object to '$destfile'"
3056 func_fatal_help "cannot copy a libtool object to \`$destfile'"
43853057 ;;
43863058 esac
43873059
43903062 func_show_eval "$install_prog $file $destfile" 'exit $?'
43913063
43923064 # Install the old object if enabled.
4393 if test yes = "$build_old_libs"; then
3065 if test "$build_old_libs" = yes; then
43943066 # Deduce the name of the old-style object file.
43953067 func_lo2o "$file"
43963068 staticobj=$func_lo2o_result
44023074 *)
44033075 # Figure out destination file name, if it wasn't already specified.
44043076 if test -n "$destname"; then
4405 destfile=$destdir/$destname
3077 destfile="$destdir/$destname"
44063078 else
44073079 func_basename "$file"
4408 destfile=$func_basename_result
4409 destfile=$destdir/$destfile
3080 destfile="$func_basename_result"
3081 destfile="$destdir/$destfile"
44103082 fi
44113083
44123084 # If the file is missing, and there is a .exe on the end, strip it
44133085 # because it is most likely a libtool script we actually want to
44143086 # install
4415 stripped_ext=
3087 stripped_ext=""
44163088 case $file in
44173089 *.exe)
44183090 if test ! -f "$file"; then
44193091 func_stripname '' '.exe' "$file"
44203092 file=$func_stripname_result
4421 stripped_ext=.exe
3093 stripped_ext=".exe"
44223094 fi
44233095 ;;
44243096 esac
44463118
44473119 # Check the variables that should have been set.
44483120 test -z "$generated_by_libtool_version" && \
4449 func_fatal_error "invalid libtool wrapper script '$wrapper'"
4450
4451 finalize=:
3121 func_fatal_error "invalid libtool wrapper script \`$wrapper'"
3122
3123 finalize=yes
44523124 for lib in $notinst_deplibs; do
44533125 # Check to see that each library is installed.
44543126 libdir=
44553127 if test -f "$lib"; then
44563128 func_source "$lib"
44573129 fi
4458 libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
3130 libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
44593131 if test -n "$libdir" && test ! -f "$libfile"; then
4460 func_warning "'$lib' has not been installed in '$libdir'"
4461 finalize=false
3132 func_warning "\`$lib' has not been installed in \`$libdir'"
3133 finalize=no
44623134 fi
44633135 done
44643136
44663138 func_source "$wrapper"
44673139
44683140 outputname=
4469 if test no = "$fast_install" && test -n "$relink_command"; then
3141 if test "$fast_install" = no && test -n "$relink_command"; then
44703142 $opt_dry_run || {
4471 if $finalize; then
3143 if test "$finalize" = yes; then
44723144 tmpdir=`func_mktempdir`
44733145 func_basename "$file$stripped_ext"
4474 file=$func_basename_result
4475 outputname=$tmpdir/$file
3146 file="$func_basename_result"
3147 outputname="$tmpdir/$file"
44763148 # Replace the output file specification.
44773149 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
44783150
4479 $opt_quiet || {
3151 $opt_silent || {
44803152 func_quote_for_expand "$relink_command"
44813153 eval "func_echo $func_quote_for_expand_result"
44823154 }
44833155 if eval "$relink_command"; then :
44843156 else
4485 func_error "error: relink '$file' with the above command before installing it"
3157 func_error "error: relink \`$file' with the above command before installing it"
44863158 $opt_dry_run || ${RM}r "$tmpdir"
44873159 continue
44883160 fi
4489 file=$outputname
3161 file="$outputname"
44903162 else
4491 func_warning "cannot relink '$file'"
3163 func_warning "cannot relink \`$file'"
44923164 fi
44933165 }
44943166 else
45253197
45263198 for file in $staticlibs; do
45273199 func_basename "$file"
4528 name=$func_basename_result
3200 name="$func_basename_result"
45293201
45303202 # Set up the ranlib parameters.
4531 oldlib=$destdir/$name
3203 oldlib="$destdir/$name"
45323204 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
45333205 tool_oldlib=$func_to_tool_file_result
45343206
45433215 done
45443216
45453217 test -n "$future_libdirs" && \
4546 func_warning "remember to run '$progname --finish$future_libdirs'"
3218 func_warning "remember to run \`$progname --finish$future_libdirs'"
45473219
45483220 if test -n "$current_libdirs"; then
45493221 # Maybe just do a dry run.
45503222 $opt_dry_run && current_libdirs=" -n$current_libdirs"
4551 exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
3223 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
45523224 else
45533225 exit $EXIT_SUCCESS
45543226 fi
45553227 }
45563228
4557 test install = "$opt_mode" && func_mode_install ${1+"$@"}
3229 test "$opt_mode" = install && func_mode_install ${1+"$@"}
45583230
45593231
45603232 # func_generate_dlsyms outputname originator pic_p
45623234 # a dlpreopen symbol table.
45633235 func_generate_dlsyms ()
45643236 {
4565 $debug_cmd
4566
4567 my_outputname=$1
4568 my_originator=$2
4569 my_pic_p=${3-false}
4570 my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
3237 $opt_debug
3238 my_outputname="$1"
3239 my_originator="$2"
3240 my_pic_p="${3-no}"
3241 my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
45713242 my_dlsyms=
45723243
4573 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
3244 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
45743245 if test -n "$NM" && test -n "$global_symbol_pipe"; then
4575 my_dlsyms=${my_outputname}S.c
3246 my_dlsyms="${my_outputname}S.c"
45763247 else
45773248 func_error "not configured to extract global symbols from dlpreopened files"
45783249 fi
45833254 "") ;;
45843255 *.c)
45853256 # Discover the nlist of each of the dlfiles.
4586 nlist=$output_objdir/$my_outputname.nm
3257 nlist="$output_objdir/${my_outputname}.nm"
45873258
45883259 func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
45893260
45913262 func_verbose "creating $output_objdir/$my_dlsyms"
45923263
45933264 $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
4594 /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
4595 /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
3265 /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
3266 /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
45963267
45973268 #ifdef __cplusplus
45983269 extern \"C\" {
45993270 #endif
46003271
4601 #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
3272 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
46023273 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
46033274 #endif
46043275
46053276 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4606 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4607 /* DATA imports from DLLs on WIN32 can't be const, because runtime
3277 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
3278 /* DATA imports from DLLs on WIN32 con't be const, because runtime
46083279 relocations are performed -- see ld's documentation on pseudo-relocs. */
46093280 # define LT_DLSYM_CONST
4610 #elif defined __osf__
3281 #elif defined(__osf__)
46113282 /* This system does not cope well with relocations in const data. */
46123283 # define LT_DLSYM_CONST
46133284 #else
46143285 # define LT_DLSYM_CONST const
46153286 #endif
46163287
4617 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
4618
46193288 /* External symbol declarations for the compiler. */\
46203289 "
46213290
4622 if test yes = "$dlself"; then
4623 func_verbose "generating symbol list for '$output'"
3291 if test "$dlself" = yes; then
3292 func_verbose "generating symbol list for \`$output'"
46243293
46253294 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
46263295
46283297 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
46293298 for progfile in $progfiles; do
46303299 func_to_tool_file "$progfile" func_convert_file_msys_to_w32
4631 func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
3300 func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
46323301 $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
46333302 done
46343303
46483317
46493318 # Prepare the list of exported symbols
46503319 if test -z "$export_symbols"; then
4651 export_symbols=$output_objdir/$outputname.exp
3320 export_symbols="$output_objdir/$outputname.exp"
46523321 $opt_dry_run || {
46533322 $RM $export_symbols
4654 eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
3323 eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
46553324 case $host in
46563325 *cygwin* | *mingw* | *cegcc* )
46573326 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
46613330 }
46623331 else
46633332 $opt_dry_run || {
4664 eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
3333 eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
46653334 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
46663335 eval '$MV "$nlist"T "$nlist"'
46673336 case $host in
46753344 fi
46763345
46773346 for dlprefile in $dlprefiles; do
4678 func_verbose "extracting global C symbols from '$dlprefile'"
3347 func_verbose "extracting global C symbols from \`$dlprefile'"
46793348 func_basename "$dlprefile"
4680 name=$func_basename_result
3349 name="$func_basename_result"
46813350 case $host in
46823351 *cygwin* | *mingw* | *cegcc* )
46833352 # if an import library, we need to obtain dlname
46843353 if func_win32_import_lib_p "$dlprefile"; then
46853354 func_tr_sh "$dlprefile"
46863355 eval "curr_lafile=\$libfile_$func_tr_sh_result"
4687 dlprefile_dlbasename=
3356 dlprefile_dlbasename=""
46883357 if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
46893358 # Use subshell, to avoid clobbering current variable values
46903359 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
4691 if test -n "$dlprefile_dlname"; then
3360 if test -n "$dlprefile_dlname" ; then
46923361 func_basename "$dlprefile_dlname"
4693 dlprefile_dlbasename=$func_basename_result
3362 dlprefile_dlbasename="$func_basename_result"
46943363 else
46953364 # no lafile. user explicitly requested -dlpreopen <import library>.
46963365 $sharedlib_from_linklib_cmd "$dlprefile"
46983367 fi
46993368 fi
47003369 $opt_dry_run || {
4701 if test -n "$dlprefile_dlbasename"; then
3370 if test -n "$dlprefile_dlbasename" ; then
47023371 eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
47033372 else
47043373 func_warning "Could not compute DLL name from $name"
47543423 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
47553424 fi
47563425
4757 func_show_eval '$RM "${nlist}I"'
4758 if test -n "$global_symbol_to_import"; then
4759 eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
4760 fi
4761
47623426 echo >> "$output_objdir/$my_dlsyms" "\
47633427
47643428 /* The mapping between symbol names and symbols. */
47673431 void *address;
47683432 } lt_dlsymlist;
47693433 extern LT_DLSYM_CONST lt_dlsymlist
4770 lt_${my_prefix}_LTX_preloaded_symbols[];\
4771 "
4772
4773 if test -s "$nlist"I; then
4774 echo >> "$output_objdir/$my_dlsyms" "\
4775 static void lt_syminit(void)
4776 {
4777 LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
4778 for (; symbol->name; ++symbol)
4779 {"
4780 $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
4781 echo >> "$output_objdir/$my_dlsyms" "\
4782 }
4783 }"
4784 fi
4785 echo >> "$output_objdir/$my_dlsyms" "\
3434 lt_${my_prefix}_LTX_preloaded_symbols[];
47863435 LT_DLSYM_CONST lt_dlsymlist
47873436 lt_${my_prefix}_LTX_preloaded_symbols[] =
4788 { {\"$my_originator\", (void *) 0},"
4789
4790 if test -s "$nlist"I; then
4791 echo >> "$output_objdir/$my_dlsyms" "\
4792 {\"@INIT@\", (void *) &lt_syminit},"
4793 fi
3437 {\
3438 { \"$my_originator\", (void *) 0 },"
47943439
47953440 case $need_lib_prefix in
47963441 no)
48323477 *-*-hpux*)
48333478 pic_flag_for_symtable=" $pic_flag" ;;
48343479 *)
4835 $my_pic_p && pic_flag_for_symtable=" $pic_flag"
3480 if test "X$my_pic_p" != Xno; then
3481 pic_flag_for_symtable=" $pic_flag"
3482 fi
48363483 ;;
48373484 esac
48383485 ;;
48493496 func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
48503497
48513498 # Clean up the generated files.
4852 func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
3499 func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
48533500
48543501 # Transform the symbol file into the correct name.
4855 symfileobj=$output_objdir/${my_outputname}S.$objext
3502 symfileobj="$output_objdir/${my_outputname}S.$objext"
48563503 case $host in
48573504 *cygwin* | *mingw* | *cegcc* )
48583505 if test -f "$output_objdir/$my_outputname.def"; then
48703517 esac
48713518 ;;
48723519 *)
4873 func_fatal_error "unknown suffix for '$my_dlsyms'"
3520 func_fatal_error "unknown suffix for \`$my_dlsyms'"
48743521 ;;
48753522 esac
48763523 else
48823529 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
48833530 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
48843531 fi
4885 }
4886
4887 # func_cygming_gnu_implib_p ARG
4888 # This predicate returns with zero status (TRUE) if
4889 # ARG is a GNU/binutils-style import library. Returns
4890 # with nonzero status (FALSE) otherwise.
4891 func_cygming_gnu_implib_p ()
4892 {
4893 $debug_cmd
4894
4895 func_to_tool_file "$1" func_convert_file_msys_to_w32
4896 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
4897 test -n "$func_cygming_gnu_implib_tmp"
4898 }
4899
4900 # func_cygming_ms_implib_p ARG
4901 # This predicate returns with zero status (TRUE) if
4902 # ARG is an MS-style import library. Returns
4903 # with nonzero status (FALSE) otherwise.
4904 func_cygming_ms_implib_p ()
4905 {
4906 $debug_cmd
4907
4908 func_to_tool_file "$1" func_convert_file_msys_to_w32
4909 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
4910 test -n "$func_cygming_ms_implib_tmp"
49113532 }
49123533
49133534 # func_win32_libid arg
49193540 # Despite the name, also deal with 64 bit binaries.
49203541 func_win32_libid ()
49213542 {
4922 $debug_cmd
4923
4924 win32_libid_type=unknown
3543 $opt_debug
3544 win32_libid_type="unknown"
49253545 win32_fileres=`file -L $1 2>/dev/null`
49263546 case $win32_fileres in
49273547 *ar\ archive\ import\ library*) # definitely import
49313551 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
49323552 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
49333553 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
4934 case $nm_interface in
4935 "MS dumpbin")
4936 if func_cygming_ms_implib_p "$1" ||
4937 func_cygming_gnu_implib_p "$1"
4938 then
4939 win32_nmres=import
4940 else
4941 win32_nmres=
4942 fi
4943 ;;
4944 *)
4945 func_to_tool_file "$1" func_convert_file_msys_to_w32
4946 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
4947 $SED -n -e '
3554 func_to_tool_file "$1" func_convert_file_msys_to_w32
3555 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
3556 $SED -n -e '
49483557 1,100{
49493558 / I /{
4950 s|.*|import|
3559 s,.*,import,
49513560 p
49523561 q
49533562 }
49543563 }'`
4955 ;;
4956 esac
49573564 case $win32_nmres in
49583565 import*) win32_libid_type="x86 archive import";;
49593566 *) win32_libid_type="x86 archive static";;
49853592 # $sharedlib_from_linklib_result
49863593 func_cygming_dll_for_implib ()
49873594 {
4988 $debug_cmd
4989
3595 $opt_debug
49903596 sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
49913597 }
49923598
50033609 # specified import library.
50043610 func_cygming_dll_for_implib_fallback_core ()
50053611 {
5006 $debug_cmd
5007
3612 $opt_debug
50083613 match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
50093614 $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
50103615 $SED '/^Contents of section '"$match_literal"':/{
50403645 /./p' |
50413646 # we now have a list, one entry per line, of the stringified
50423647 # contents of the appropriate section of all members of the
5043 # archive that possess that section. Heuristic: eliminate
5044 # all those that have a first or second character that is
3648 # archive which possess that section. Heuristic: eliminate
3649 # all those which have a first or second character that is
50453650 # a '.' (that is, objdump's representation of an unprintable
50463651 # character.) This should work for all archives with less than
50473652 # 0x302f exports -- but will fail for DLLs whose name actually
50503655 #
50513656 # Of those that remain, print the first one.
50523657 $SED -e '/^\./d;/^.\./d;q'
3658 }
3659
3660 # func_cygming_gnu_implib_p ARG
3661 # This predicate returns with zero status (TRUE) if
3662 # ARG is a GNU/binutils-style import library. Returns
3663 # with nonzero status (FALSE) otherwise.
3664 func_cygming_gnu_implib_p ()
3665 {
3666 $opt_debug
3667 func_to_tool_file "$1" func_convert_file_msys_to_w32
3668 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
3669 test -n "$func_cygming_gnu_implib_tmp"
3670 }
3671
3672 # func_cygming_ms_implib_p ARG
3673 # This predicate returns with zero status (TRUE) if
3674 # ARG is an MS-style import library. Returns
3675 # with nonzero status (FALSE) otherwise.
3676 func_cygming_ms_implib_p ()
3677 {
3678 $opt_debug
3679 func_to_tool_file "$1" func_convert_file_msys_to_w32
3680 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
3681 test -n "$func_cygming_ms_implib_tmp"
50533682 }
50543683
50553684 # func_cygming_dll_for_implib_fallback ARG
50653694 # $sharedlib_from_linklib_result
50663695 func_cygming_dll_for_implib_fallback ()
50673696 {
5068 $debug_cmd
5069
5070 if func_cygming_gnu_implib_p "$1"; then
3697 $opt_debug
3698 if func_cygming_gnu_implib_p "$1" ; then
50713699 # binutils import library
50723700 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
5073 elif func_cygming_ms_implib_p "$1"; then
3701 elif func_cygming_ms_implib_p "$1" ; then
50743702 # ms-generated import library
50753703 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
50763704 else
50773705 # unknown
5078 sharedlib_from_linklib_result=
3706 sharedlib_from_linklib_result=""
50793707 fi
50803708 }
50813709
50833711 # func_extract_an_archive dir oldlib
50843712 func_extract_an_archive ()
50853713 {
5086 $debug_cmd
5087
5088 f_ex_an_ar_dir=$1; shift
5089 f_ex_an_ar_oldlib=$1
5090 if test yes = "$lock_old_archive_extraction"; then
3714 $opt_debug
3715 f_ex_an_ar_dir="$1"; shift
3716 f_ex_an_ar_oldlib="$1"
3717 if test "$lock_old_archive_extraction" = yes; then
50913718 lockfile=$f_ex_an_ar_oldlib.lock
50923719 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
50933720 func_echo "Waiting for $lockfile to be removed"
50963723 fi
50973724 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
50983725 'stat=$?; rm -f "$lockfile"; exit $stat'
5099 if test yes = "$lock_old_archive_extraction"; then
3726 if test "$lock_old_archive_extraction" = yes; then
51003727 $opt_dry_run || rm -f "$lockfile"
51013728 fi
51023729 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
51103737 # func_extract_archives gentop oldlib ...
51113738 func_extract_archives ()
51123739 {
5113 $debug_cmd
5114
5115 my_gentop=$1; shift
3740 $opt_debug
3741 my_gentop="$1"; shift
51163742 my_oldlibs=${1+"$@"}
5117 my_oldobjs=
5118 my_xlib=
5119 my_xabs=
5120 my_xdir=
3743 my_oldobjs=""
3744 my_xlib=""
3745 my_xabs=""
3746 my_xdir=""
51213747
51223748 for my_xlib in $my_oldlibs; do
51233749 # Extract the objects.
51243750 case $my_xlib in
5125 [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
3751 [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
51263752 *) my_xabs=`pwd`"/$my_xlib" ;;
51273753 esac
51283754 func_basename "$my_xlib"
5129 my_xlib=$func_basename_result
3755 my_xlib="$func_basename_result"
51303756 my_xlib_u=$my_xlib
51313757 while :; do
51323758 case " $extracted_archives " in
51383764 esac
51393765 done
51403766 extracted_archives="$extracted_archives $my_xlib_u"
5141 my_xdir=$my_gentop/$my_xlib_u
3767 my_xdir="$my_gentop/$my_xlib_u"
51423768
51433769 func_mkdir_p "$my_xdir"
51443770
51513777 cd $my_xdir || exit $?
51523778 darwin_archive=$my_xabs
51533779 darwin_curdir=`pwd`
5154 func_basename "$darwin_archive"
5155 darwin_base_archive=$func_basename_result
3780 darwin_base_archive=`basename "$darwin_archive"`
51563781 darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
51573782 if test -n "$darwin_arches"; then
51583783 darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
51593784 darwin_arch=
51603785 func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
5161 for darwin_arch in $darwin_arches; do
5162 func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
5163 $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
5164 cd "unfat-$$/$darwin_base_archive-$darwin_arch"
5165 func_extract_an_archive "`pwd`" "$darwin_base_archive"
3786 for darwin_arch in $darwin_arches ; do
3787 func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
3788 $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
3789 cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
3790 func_extract_an_archive "`pwd`" "${darwin_base_archive}"
51663791 cd "$darwin_curdir"
5167 $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
3792 $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
51683793 done # $darwin_arches
51693794 ## Okay now we've a bunch of thin objects, gotta fatten them up :)
5170 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
3795 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
51713796 darwin_file=
51723797 darwin_files=
51733798 for darwin_file in $darwin_filelist; do
51893814 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
51903815 done
51913816
5192 func_extract_archives_result=$my_oldobjs
3817 func_extract_archives_result="$my_oldobjs"
51933818 }
51943819
51953820
52043829 #
52053830 # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
52063831 # variable will take. If 'yes', then the emitted script
5207 # will assume that the directory where it is stored is
3832 # will assume that the directory in which it is stored is
52083833 # the $objdir directory. This is a cygwin/mingw-specific
52093834 # behavior.
52103835 func_emit_wrapper ()
52153840 #! $SHELL
52163841
52173842 # $output - temporary wrapper script for $objdir/$outputname
5218 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
3843 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
52193844 #
52203845 # The $output program cannot be directly executed until all the libtool
52213846 # libraries that it depends on are installed.
52723897
52733898 # Very basic option parsing. These options are (a) specific to
52743899 # the libtool wrapper, (b) are identical between the wrapper
5275 # /script/ and the wrapper /executable/ that is used only on
3900 # /script/ and the wrapper /executable/ which is used only on
52763901 # windows platforms, and (c) all begin with the string "--lt-"
5277 # (application programs are unlikely to have options that match
3902 # (application programs are unlikely to have options which match
52783903 # this pattern).
52793904 #
52803905 # There are only two supported options: --lt-debug and
53073932
53083933 # Print the debug banner immediately:
53093934 if test -n \"\$lt_option_debug\"; then
5310 echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
3935 echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
53113936 fi
53123937 }
53133938
53183943 lt_dump_args_N=1;
53193944 for lt_arg
53203945 do
5321 \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
3946 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
53223947 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
53233948 done
53243949 }
53323957 *-*-mingw | *-*-os2* | *-cegcc*)
53333958 $ECHO "\
53343959 if test -n \"\$lt_option_debug\"; then
5335 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
3960 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
53363961 func_lt_dump_args \${1+\"\$@\"} 1>&2
53373962 fi
53383963 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
53423967 *)
53433968 $ECHO "\
53443969 if test -n \"\$lt_option_debug\"; then
5345 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
3970 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
53463971 func_lt_dump_args \${1+\"\$@\"} 1>&2
53473972 fi
53483973 exec \"\$progdir/\$program\" \${1+\"\$@\"}
54174042 test -n \"\$absdir\" && thisdir=\"\$absdir\"
54184043 "
54194044
5420 if test yes = "$fast_install"; then
4045 if test "$fast_install" = yes; then
54214046 $ECHO "\
54224047 program=lt-'$outputname'$exeext
54234048 progdir=\"\$thisdir/$objdir\"
54244049
54254050 if test ! -f \"\$progdir/\$program\" ||
5426 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
4051 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
54274052 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
54284053
54294054 file=\"\$\$-\$program\"
54404065 if test -n \"\$relink_command\"; then
54414066 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
54424067 else
5443 \$ECHO \"\$relink_command_output\" >&2
4068 $ECHO \"\$relink_command_output\" >&2
54444069 $RM \"\$progdir/\$file\"
54454070 exit 1
54464071 fi
54754100 fi
54764101
54774102 # Export our shlibpath_var if we have one.
5478 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4103 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
54794104 $ECHO "\
54804105 # Add our own library path to $shlibpath_var
54814106 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
54954120 fi
54964121 else
54974122 # The program doesn't exist.
5498 \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
4123 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
54994124 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
55004125 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
55014126 exit 1
55144139 cat <<EOF
55154140
55164141 /* $cwrappersource - temporary wrapper executable for $objdir/$outputname
5517 Generated by $PROGRAM (GNU $PACKAGE) $VERSION
4142 Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
55184143
55194144 The $output program cannot be directly executed until all the libtool
55204145 libraries that it depends on are installed.
55494174 #include <fcntl.h>
55504175 #include <sys/stat.h>
55514176
5552 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
5553
55544177 /* declarations of non-ANSI functions */
5555 #if defined __MINGW32__
4178 #if defined(__MINGW32__)
55564179 # ifdef __STRICT_ANSI__
55574180 int _putenv (const char *);
55584181 # endif
5559 #elif defined __CYGWIN__
4182 #elif defined(__CYGWIN__)
55604183 # ifdef __STRICT_ANSI__
55614184 char *realpath (const char *, char *);
55624185 int putenv (char *);
55634186 int setenv (const char *, const char *, int);
55644187 # endif
5565 /* #elif defined other_platform || defined ... */
4188 /* #elif defined (other platforms) ... */
55664189 #endif
55674190
55684191 /* portability defines, excluding path handling macros */
5569 #if defined _MSC_VER
4192 #if defined(_MSC_VER)
55704193 # define setmode _setmode
55714194 # define stat _stat
55724195 # define chmod _chmod
55734196 # define getcwd _getcwd
55744197 # define putenv _putenv
55754198 # define S_IXUSR _S_IEXEC
5576 #elif defined __MINGW32__
4199 # ifndef _INTPTR_T_DEFINED
4200 # define _INTPTR_T_DEFINED
4201 # define intptr_t int
4202 # endif
4203 #elif defined(__MINGW32__)
55774204 # define setmode _setmode
55784205 # define stat _stat
55794206 # define chmod _chmod
55804207 # define getcwd _getcwd
55814208 # define putenv _putenv
5582 #elif defined __CYGWIN__
4209 #elif defined(__CYGWIN__)
55834210 # define HAVE_SETENV
55844211 # define FOPEN_WB "wb"
5585 /* #elif defined other platforms ... */
4212 /* #elif defined (other platforms) ... */
55864213 #endif
55874214
5588 #if defined PATH_MAX
4215 #if defined(PATH_MAX)
55894216 # define LT_PATHMAX PATH_MAX
5590 #elif defined MAXPATHLEN
4217 #elif defined(MAXPATHLEN)
55914218 # define LT_PATHMAX MAXPATHLEN
55924219 #else
55934220 # define LT_PATHMAX 1024
56064233 # define PATH_SEPARATOR ':'
56074234 #endif
56084235
5609 #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
5610 defined __OS2__
4236 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
4237 defined (__OS2__)
56114238 # define HAVE_DOS_BASED_FILE_SYSTEM
56124239 # define FOPEN_WB "wb"
56134240 # ifndef DIR_SEPARATOR_2
56404267
56414268 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
56424269 #define XFREE(stale) do { \
5643 if (stale) { free (stale); stale = 0; } \
4270 if (stale) { free ((void *) stale); stale = 0; } \
56444271 } while (0)
56454272
5646 #if defined LT_DEBUGWRAPPER
4273 #if defined(LT_DEBUGWRAPPER)
56474274 static int lt_debug = 1;
56484275 #else
56494276 static int lt_debug = 0;
56724299 EOF
56734300
56744301 cat <<EOF
5675 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5676 # define externally_visible volatile
5677 #else
5678 # define externally_visible __attribute__((externally_visible)) volatile
5679 #endif
5680 externally_visible const char * MAGIC_EXE = "$magic_exe";
4302 volatile const char * MAGIC_EXE = "$magic_exe";
56814303 const char * LIB_PATH_VARNAME = "$shlibpath_var";
56824304 EOF
56834305
5684 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4306 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
56854307 func_to_host_path "$temp_rpath"
56864308 cat <<EOF
56874309 const char * LIB_PATH_VALUE = "$func_to_host_path_result";
57054327 EOF
57064328 fi
57074329
5708 if test yes = "$fast_install"; then
4330 if test "$fast_install" = yes; then
57094331 cat <<EOF
57104332 const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
57114333 EOF
57344356 char *actual_cwrapper_name;
57354357 char *target_name;
57364358 char *lt_argv_zero;
5737 int rval = 127;
4359 intptr_t rval = 127;
57384360
57394361 int i;
57404362
57414363 program_name = (char *) xstrdup (base_name (argv[0]));
5742 newargz = XMALLOC (char *, (size_t) argc + 1);
4364 newargz = XMALLOC (char *, argc + 1);
57434365
57444366 /* very simple arg parsing; don't want to rely on getopt
57454367 * also, copy all non cwrapper options to newargz, except
57484370 newargc=0;
57494371 for (i = 1; i < argc; i++)
57504372 {
5751 if (STREQ (argv[i], dumpscript_opt))
4373 if (strcmp (argv[i], dumpscript_opt) == 0)
57524374 {
57534375 EOF
5754 case $host in
4376 case "$host" in
57554377 *mingw* | *cygwin* )
57564378 # make stdout use "unix" line endings
57574379 echo " setmode(1,_O_BINARY);"
57624384 lt_dump_script (stdout);
57634385 return 0;
57644386 }
5765 if (STREQ (argv[i], debug_opt))
4387 if (strcmp (argv[i], debug_opt) == 0)
57664388 {
57674389 lt_debug = 1;
57684390 continue;
57694391 }
5770 if (STREQ (argv[i], ltwrapper_option_prefix))
4392 if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
57714393 {
57724394 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
57734395 namespace, but it is not one of the ones we know about and
57904412 EOF
57914413 cat <<EOF
57924414 /* The GNU banner must be the first non-error debug message */
5793 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
4415 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
57944416 EOF
57954417 cat <<"EOF"
57964418 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
59014523 cat <<"EOF"
59024524 /* execv doesn't actually work on mingw as expected on unix */
59034525 newargz = prepare_spawn (newargz);
5904 rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
4526 rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
59054527 if (rval == -1)
59064528 {
59074529 /* failed to start process */
59464568 {
59474569 const char *base;
59484570
5949 #if defined HAVE_DOS_BASED_FILE_SYSTEM
4571 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
59504572 /* Skip over the disk name in MSDOS pathnames. */
59514573 if (isalpha ((unsigned char) name[0]) && name[1] == ':')
59524574 name += 2;
60054627 const char *p_next;
60064628 /* static buffer for getcwd */
60074629 char tmp[LT_PATHMAX + 1];
6008 size_t tmp_len;
4630 int tmp_len;
60094631 char *concat_name;
60104632
60114633 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
60154637 return NULL;
60164638
60174639 /* Absolute path? */
6018 #if defined HAVE_DOS_BASED_FILE_SYSTEM
4640 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
60194641 if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
60204642 {
60214643 concat_name = xstrdup (wrapper);
60334655 return concat_name;
60344656 XFREE (concat_name);
60354657 }
6036 #if defined HAVE_DOS_BASED_FILE_SYSTEM
4658 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
60374659 }
60384660 #endif
60394661
60564678 for (q = p; *q; q++)
60574679 if (IS_PATH_SEPARATOR (*q))
60584680 break;
6059 p_len = (size_t) (q - p);
4681 p_len = q - p;
60604682 p_next = (*q == '\0' ? q : q + 1);
60614683 if (p_len == 0)
60624684 {
61754797 if (patlen <= len)
61764798 {
61774799 str += len - patlen;
6178 if (STREQ (str, pat))
4800 if (strcmp (str, pat) == 0)
61794801 *str = '\0';
61804802 }
61814803 return str;
62404862 char *str = xstrdup (value);
62414863 setenv (name, str, 1);
62424864 #else
6243 size_t len = strlen (name) + 1 + strlen (value) + 1;
4865 int len = strlen (name) + 1 + strlen (value) + 1;
62444866 char *str = XMALLOC (char, len);
62454867 sprintf (str, "%s=%s", name, value);
62464868 if (putenv (str) != EXIT_SUCCESS)
62574879 char *new_value;
62584880 if (orig_value && *orig_value)
62594881 {
6260 size_t orig_value_len = strlen (orig_value);
6261 size_t add_len = strlen (add);
4882 int orig_value_len = strlen (orig_value);
4883 int add_len = strlen (add);
62624884 new_value = XMALLOC (char, add_len + orig_value_len + 1);
62634885 if (to_end)
62644886 {
62894911 {
62904912 char *new_value = lt_extend_str (getenv (name), value, 0);
62914913 /* some systems can't cope with a ':'-terminated path #' */
6292 size_t len = strlen (new_value);
6293 while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
4914 int len = strlen (new_value);
4915 while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
62944916 {
6295 new_value[--len] = '\0';
4917 new_value[len-1] = '\0';
62964918 }
62974919 lt_setenv (name, new_value);
62984920 XFREE (new_value);
64595081 # True if ARG is an import lib, as indicated by $file_magic_cmd
64605082 func_win32_import_lib_p ()
64615083 {
6462 $debug_cmd
6463
5084 $opt_debug
64645085 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
64655086 *import*) : ;;
64665087 *) false ;;
64675088 esac
64685089 }
64695090
6470 # func_suncc_cstd_abi
6471 # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
6472 # Several compiler flags select an ABI that is incompatible with the
6473 # Cstd library. Avoid specifying it if any are in CXXFLAGS.
6474 func_suncc_cstd_abi ()
6475 {
6476 $debug_cmd
6477
6478 case " $compile_command " in
6479 *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
6480 suncc_use_cstd_abi=no
6481 ;;
6482 *)
6483 suncc_use_cstd_abi=yes
6484 ;;
6485 esac
6486 }
6487
64885091 # func_mode_link arg...
64895092 func_mode_link ()
64905093 {
6491 $debug_cmd
6492
5094 $opt_debug
64935095 case $host in
64945096 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
64955097 # It is impossible to link a dll without this setting, and
64965098 # we shouldn't force the makefile maintainer to figure out
6497 # what system we are compiling for in order to pass an extra
5099 # which system we are compiling for in order to pass an extra
64985100 # flag for every libtool invocation.
64995101 # allow_undefined=no
65005102
65015103 # FIXME: Unfortunately, there are problems with the above when trying
6502 # to make a dll that has undefined symbols, in which case not
5104 # to make a dll which has undefined symbols, in which case not
65035105 # even a static library is built. For now, we need to specify
65045106 # -no-undefined on the libtool link line when we can be certain
65055107 # that all symbols are satisfied, otherwise we get a static library.
65435145 module=no
65445146 no_install=no
65455147 objs=
6546 os2dllname=
65475148 non_pic_objects=
65485149 precious_files_regex=
65495150 prefer_static_libs=no
6550 preload=false
5151 preload=no
65515152 prev=
65525153 prevarg=
65535154 release=
65595160 vinfo=
65605161 vinfo_number=no
65615162 weak_libs=
6562 single_module=$wl-single_module
5163 single_module="${wl}-single_module"
65635164 func_infer_tag $base_compile
65645165
65655166 # We need to know -static, to get the right output filenames.
65675168 do
65685169 case $arg in
65695170 -shared)
6570 test yes != "$build_libtool_libs" \
6571 && func_fatal_configuration "cannot build a shared library"
5171 test "$build_libtool_libs" != yes && \
5172 func_fatal_configuration "can not build a shared library"
65725173 build_old_libs=no
65735174 break
65745175 ;;
65755176 -all-static | -static | -static-libtool-libs)
65765177 case $arg in
65775178 -all-static)
6578 if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
5179 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
65795180 func_warning "complete static linking is impossible in this configuration"
65805181 fi
65815182 if test -n "$link_static_flag"; then
66085209
66095210 # Go through the arguments, transforming them on the way.
66105211 while test "$#" -gt 0; do
6611 arg=$1
5212 arg="$1"
66125213 shift
66135214 func_quote_for_eval "$arg"
66145215 qarg=$func_quote_for_eval_unquoted_result
66255226
66265227 case $prev in
66275228 bindir)
6628 bindir=$arg
5229 bindir="$arg"
66295230 prev=
66305231 continue
66315232 ;;
66325233 dlfiles|dlprefiles)
6633 $preload || {
5234 if test "$preload" = no; then
66345235 # Add the symbol object into the linking commands.
66355236 func_append compile_command " @SYMFILE@"
66365237 func_append finalize_command " @SYMFILE@"
6637 preload=:
6638 }
5238 preload=yes
5239 fi
66395240 case $arg in
66405241 *.la | *.lo) ;; # We handle these cases below.
66415242 force)
6642 if test no = "$dlself"; then
5243 if test "$dlself" = no; then
66435244 dlself=needless
66445245 export_dynamic=yes
66455246 fi
66475248 continue
66485249 ;;
66495250 self)
6650 if test dlprefiles = "$prev"; then
5251 if test "$prev" = dlprefiles; then
66515252 dlself=yes
6652 elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
5253 elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
66535254 dlself=yes
66545255 else
66555256 dlself=needless
66595260 continue
66605261 ;;
66615262 *)
6662 if test dlfiles = "$prev"; then
5263 if test "$prev" = dlfiles; then
66635264 func_append dlfiles " $arg"
66645265 else
66655266 func_append dlprefiles " $arg"
66705271 esac
66715272 ;;
66725273 expsyms)
6673 export_symbols=$arg
5274 export_symbols="$arg"
66745275 test -f "$arg" \
6675 || func_fatal_error "symbol file '$arg' does not exist"
5276 || func_fatal_error "symbol file \`$arg' does not exist"
66765277 prev=
66775278 continue
66785279 ;;
66795280 expsyms_regex)
6680 export_symbols_regex=$arg
5281 export_symbols_regex="$arg"
66815282 prev=
66825283 continue
66835284 ;;
66955296 continue
66965297 ;;
66975298 inst_prefix)
6698 inst_prefix_dir=$arg
6699 prev=
6700 continue
6701 ;;
6702 mllvm)
6703 # Clang does not use LLVM to link, so we can simply discard any
6704 # '-mllvm $arg' options when doing the link step.
5299 inst_prefix_dir="$arg"
67055300 prev=
67065301 continue
67075302 ;;
67255320
67265321 if test -z "$pic_object" ||
67275322 test -z "$non_pic_object" ||
6728 test none = "$pic_object" &&
6729 test none = "$non_pic_object"; then
6730 func_fatal_error "cannot find name of object for '$arg'"
5323 test "$pic_object" = none &&
5324 test "$non_pic_object" = none; then
5325 func_fatal_error "cannot find name of object for \`$arg'"
67315326 fi
67325327
67335328 # Extract subdirectory from the argument.
67345329 func_dirname "$arg" "/" ""
6735 xdir=$func_dirname_result
6736
6737 if test none != "$pic_object"; then
5330 xdir="$func_dirname_result"
5331
5332 if test "$pic_object" != none; then
67385333 # Prepend the subdirectory the object is found in.
6739 pic_object=$xdir$pic_object
6740
6741 if test dlfiles = "$prev"; then
6742 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
5334 pic_object="$xdir$pic_object"
5335
5336 if test "$prev" = dlfiles; then
5337 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
67435338 func_append dlfiles " $pic_object"
67445339 prev=
67455340 continue
67505345 fi
67515346
67525347 # CHECK ME: I think I busted this. -Ossama
6753 if test dlprefiles = "$prev"; then
5348 if test "$prev" = dlprefiles; then
67545349 # Preload the old-style object.
67555350 func_append dlprefiles " $pic_object"
67565351 prev=
67585353
67595354 # A PIC object.
67605355 func_append libobjs " $pic_object"
6761 arg=$pic_object
5356 arg="$pic_object"
67625357 fi
67635358
67645359 # Non-PIC object.
6765 if test none != "$non_pic_object"; then
5360 if test "$non_pic_object" != none; then
67665361 # Prepend the subdirectory the object is found in.
6767 non_pic_object=$xdir$non_pic_object
5362 non_pic_object="$xdir$non_pic_object"
67685363
67695364 # A standard non-PIC object
67705365 func_append non_pic_objects " $non_pic_object"
6771 if test -z "$pic_object" || test none = "$pic_object"; then
6772 arg=$non_pic_object
5366 if test -z "$pic_object" || test "$pic_object" = none ; then
5367 arg="$non_pic_object"
67735368 fi
67745369 else
67755370 # If the PIC object exists, use it instead.
67765371 # $xdir was prepended to $pic_object above.
6777 non_pic_object=$pic_object
5372 non_pic_object="$pic_object"
67785373 func_append non_pic_objects " $non_pic_object"
67795374 fi
67805375 else
67825377 if $opt_dry_run; then
67835378 # Extract subdirectory from the argument.
67845379 func_dirname "$arg" "/" ""
6785 xdir=$func_dirname_result
5380 xdir="$func_dirname_result"
67865381
67875382 func_lo2o "$arg"
67885383 pic_object=$xdir$objdir/$func_lo2o_result
67905385 func_append libobjs " $pic_object"
67915386 func_append non_pic_objects " $non_pic_object"
67925387 else
6793 func_fatal_error "'$arg' is not a valid libtool object"
5388 func_fatal_error "\`$arg' is not a valid libtool object"
67945389 fi
67955390 fi
67965391 done
67975392 else
6798 func_fatal_error "link input file '$arg' does not exist"
5393 func_fatal_error "link input file \`$arg' does not exist"
67995394 fi
68005395 arg=$save_arg
68015396 prev=
68025397 continue
68035398 ;;
6804 os2dllname)
6805 os2dllname=$arg
6806 prev=
6807 continue
6808 ;;
68095399 precious_regex)
6810 precious_files_regex=$arg
5400 precious_files_regex="$arg"
68115401 prev=
68125402 continue
68135403 ;;
68145404 release)
6815 release=-$arg
5405 release="-$arg"
68165406 prev=
68175407 continue
68185408 ;;
68245414 func_fatal_error "only absolute run-paths are allowed"
68255415 ;;
68265416 esac
6827 if test rpath = "$prev"; then
5417 if test "$prev" = rpath; then
68285418 case "$rpath " in
68295419 *" $arg "*) ;;
68305420 *) func_append rpath " $arg" ;;
68395429 continue
68405430 ;;
68415431 shrext)
6842 shrext_cmds=$arg
5432 shrext_cmds="$arg"
68435433 prev=
68445434 continue
68455435 ;;
68795469 esac
68805470 fi # test -n "$prev"
68815471
6882 prevarg=$arg
5472 prevarg="$arg"
68835473
68845474 case $arg in
68855475 -all-static)
68935483
68945484 -allow-undefined)
68955485 # FIXME: remove this flag sometime in the future.
6896 func_fatal_error "'-allow-undefined' must not be used because it is the default"
5486 func_fatal_error "\`-allow-undefined' must not be used because it is the default"
68975487 ;;
68985488
68995489 -avoid-version)
69255515 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
69265516 func_fatal_error "more than one -exported-symbols argument is not allowed"
69275517 fi
6928 if test X-export-symbols = "X$arg"; then
5518 if test "X$arg" = "X-export-symbols"; then
69295519 prev=expsyms
69305520 else
69315521 prev=expsyms_regex
69595549 func_stripname "-L" '' "$arg"
69605550 if test -z "$func_stripname_result"; then
69615551 if test "$#" -gt 0; then
6962 func_fatal_error "require no space between '-L' and '$1'"
5552 func_fatal_error "require no space between \`-L' and \`$1'"
69635553 else
6964 func_fatal_error "need path for '-L' option"
5554 func_fatal_error "need path for \`-L' option"
69655555 fi
69665556 fi
69675557 func_resolve_sysroot "$func_stripname_result"
69725562 *)
69735563 absdir=`cd "$dir" && pwd`
69745564 test -z "$absdir" && \
6975 func_fatal_error "cannot determine absolute directory name of '$dir'"
6976 dir=$absdir
5565 func_fatal_error "cannot determine absolute directory name of \`$dir'"
5566 dir="$absdir"
69775567 ;;
69785568 esac
69795569 case "$deplibs " in
70085598 ;;
70095599
70105600 -l*)
7011 if test X-lc = "X$arg" || test X-lm = "X$arg"; then
5601 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
70125602 case $host in
70135603 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
70145604 # These systems don't actually have a C or math library (as such)
70165606 ;;
70175607 *-*-os2*)
70185608 # These systems don't actually have a C library (as such)
7019 test X-lc = "X$arg" && continue
5609 test "X$arg" = "X-lc" && continue
70205610 ;;
7021 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
5611 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
70225612 # Do not include libc due to us having libc/libc_r.
7023 test X-lc = "X$arg" && continue
5613 test "X$arg" = "X-lc" && continue
70245614 ;;
70255615 *-*-rhapsody* | *-*-darwin1.[012])
70265616 # Rhapsody C and math libraries are in the System framework
70295619 ;;
70305620 *-*-sco3.2v5* | *-*-sco5v6*)
70315621 # Causes problems with __ctype
7032 test X-lc = "X$arg" && continue
5622 test "X$arg" = "X-lc" && continue
70335623 ;;
70345624 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
70355625 # Compiler inserts libc in the correct place for threads to work
7036 test X-lc = "X$arg" && continue
5626 test "X$arg" = "X-lc" && continue
70375627 ;;
70385628 esac
7039 elif test X-lc_r = "X$arg"; then
5629 elif test "X$arg" = "X-lc_r"; then
70405630 case $host in
7041 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
5631 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
70425632 # Do not include libc_r directly, use -pthread flag.
70435633 continue
70445634 ;;
70455635 esac
70465636 fi
70475637 func_append deplibs " $arg"
7048 continue
7049 ;;
7050
7051 -mllvm)
7052 prev=mllvm
70535638 continue
70545639 ;;
70555640
70825667 ;;
70835668
70845669 -multi_module)
7085 single_module=$wl-multi_module
5670 single_module="${wl}-multi_module"
70865671 continue
70875672 ;;
70885673
70965681 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
70975682 # The PATH hackery in wrapper scripts is required on Windows
70985683 # and Darwin in order for the loader to find any dlls it needs.
7099 func_warning "'-no-install' is ignored for $host"
7100 func_warning "assuming '-no-fast-install' instead"
5684 func_warning "\`-no-install' is ignored for $host"
5685 func_warning "assuming \`-no-fast-install' instead"
71015686 fast_install=no
71025687 ;;
71035688 *) no_install=yes ;;
71125697
71135698 -objectlist)
71145699 prev=objectlist
7115 continue
7116 ;;
7117
7118 -os2dllname)
7119 prev=os2dllname
71205700 continue
71215701 ;;
71225702
72075787 func_stripname '-Wc,' '' "$arg"
72085788 args=$func_stripname_result
72095789 arg=
7210 save_ifs=$IFS; IFS=,
5790 save_ifs="$IFS"; IFS=','
72115791 for flag in $args; do
7212 IFS=$save_ifs
5792 IFS="$save_ifs"
72135793 func_quote_for_eval "$flag"
72145794 func_append arg " $func_quote_for_eval_result"
72155795 func_append compiler_flags " $func_quote_for_eval_result"
72165796 done
7217 IFS=$save_ifs
5797 IFS="$save_ifs"
72185798 func_stripname ' ' '' "$arg"
72195799 arg=$func_stripname_result
72205800 ;;
72235803 func_stripname '-Wl,' '' "$arg"
72245804 args=$func_stripname_result
72255805 arg=
7226 save_ifs=$IFS; IFS=,
5806 save_ifs="$IFS"; IFS=','
72275807 for flag in $args; do
7228 IFS=$save_ifs
5808 IFS="$save_ifs"
72295809 func_quote_for_eval "$flag"
72305810 func_append arg " $wl$func_quote_for_eval_result"
72315811 func_append compiler_flags " $wl$func_quote_for_eval_result"
72325812 func_append linker_flags " $func_quote_for_eval_result"
72335813 done
7234 IFS=$save_ifs
5814 IFS="$save_ifs"
72355815 func_stripname ' ' '' "$arg"
72365816 arg=$func_stripname_result
72375817 ;;
72545834 # -msg_* for osf cc
72555835 -msg_*)
72565836 func_quote_for_eval "$arg"
7257 arg=$func_quote_for_eval_result
5837 arg="$func_quote_for_eval_result"
72585838 ;;
72595839
72605840 # Flags to be passed through unchanged, with rationale:
72665846 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
72675847 # -F/path path to uninstalled frameworks, gcc on darwin
72685848 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
7269 # -fstack-protector* stack protector flags for GCC
72705849 # @file GCC response files
72715850 # -tp=* Portland pgcc target processor selection
72725851 # --sysroot=* for sysroot support
7273 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7274 # -stdlib=* select c++ std lib with clang
5852 # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
72755853 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72765854 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
5855 -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
72785856 func_quote_for_eval "$arg"
7279 arg=$func_quote_for_eval_result
5857 arg="$func_quote_for_eval_result"
72805858 func_append compile_command " $arg"
72815859 func_append finalize_command " $arg"
72825860 func_append compiler_flags " $arg"
72835861 continue
72845862 ;;
72855863
7286 -Z*)
7287 if test os2 = "`expr $host : '.*\(os2\)'`"; then
7288 # OS/2 uses -Zxxx to specify OS/2-specific options
7289 compiler_flags="$compiler_flags $arg"
7290 func_append compile_command " $arg"
7291 func_append finalize_command " $arg"
7292 case $arg in
7293 -Zlinker | -Zstack)
7294 prev=xcompiler
7295 ;;
7296 esac
7297 continue
7298 else
7299 # Otherwise treat like 'Some other compiler flag' below
7300 func_quote_for_eval "$arg"
7301 arg=$func_quote_for_eval_result
7302 fi
7303 ;;
7304
73055864 # Some other compiler flag.
73065865 -* | +*)
73075866 func_quote_for_eval "$arg"
7308 arg=$func_quote_for_eval_result
5867 arg="$func_quote_for_eval_result"
73095868 ;;
73105869
73115870 *.$objext)
73265885
73275886 if test -z "$pic_object" ||
73285887 test -z "$non_pic_object" ||
7329 test none = "$pic_object" &&
7330 test none = "$non_pic_object"; then
7331 func_fatal_error "cannot find name of object for '$arg'"
5888 test "$pic_object" = none &&
5889 test "$non_pic_object" = none; then
5890 func_fatal_error "cannot find name of object for \`$arg'"
73325891 fi
73335892
73345893 # Extract subdirectory from the argument.
73355894 func_dirname "$arg" "/" ""
7336 xdir=$func_dirname_result
7337
7338 test none = "$pic_object" || {
5895 xdir="$func_dirname_result"
5896
5897 if test "$pic_object" != none; then
73395898 # Prepend the subdirectory the object is found in.
7340 pic_object=$xdir$pic_object
7341
7342 if test dlfiles = "$prev"; then
7343 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
5899 pic_object="$xdir$pic_object"
5900
5901 if test "$prev" = dlfiles; then
5902 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
73445903 func_append dlfiles " $pic_object"
73455904 prev=
73465905 continue
73515910 fi
73525911
73535912 # CHECK ME: I think I busted this. -Ossama
7354 if test dlprefiles = "$prev"; then
5913 if test "$prev" = dlprefiles; then
73555914 # Preload the old-style object.
73565915 func_append dlprefiles " $pic_object"
73575916 prev=
73595918
73605919 # A PIC object.
73615920 func_append libobjs " $pic_object"
7362 arg=$pic_object
7363 }
5921 arg="$pic_object"
5922 fi
73645923
73655924 # Non-PIC object.
7366 if test none != "$non_pic_object"; then
5925 if test "$non_pic_object" != none; then
73675926 # Prepend the subdirectory the object is found in.
7368 non_pic_object=$xdir$non_pic_object
5927 non_pic_object="$xdir$non_pic_object"
73695928
73705929 # A standard non-PIC object
73715930 func_append non_pic_objects " $non_pic_object"
7372 if test -z "$pic_object" || test none = "$pic_object"; then
7373 arg=$non_pic_object
5931 if test -z "$pic_object" || test "$pic_object" = none ; then
5932 arg="$non_pic_object"
73745933 fi
73755934 else
73765935 # If the PIC object exists, use it instead.
73775936 # $xdir was prepended to $pic_object above.
7378 non_pic_object=$pic_object
5937 non_pic_object="$pic_object"
73795938 func_append non_pic_objects " $non_pic_object"
73805939 fi
73815940 else
73835942 if $opt_dry_run; then
73845943 # Extract subdirectory from the argument.
73855944 func_dirname "$arg" "/" ""
7386 xdir=$func_dirname_result
5945 xdir="$func_dirname_result"
73875946
73885947 func_lo2o "$arg"
73895948 pic_object=$xdir$objdir/$func_lo2o_result
73915950 func_append libobjs " $pic_object"
73925951 func_append non_pic_objects " $non_pic_object"
73935952 else
7394 func_fatal_error "'$arg' is not a valid libtool object"
5953 func_fatal_error "\`$arg' is not a valid libtool object"
73955954 fi
73965955 fi
73975956 ;;
74075966 # A libtool-controlled library.
74085967
74095968 func_resolve_sysroot "$arg"
7410 if test dlfiles = "$prev"; then
5969 if test "$prev" = dlfiles; then
74115970 # This library was specified with -dlopen.
74125971 func_append dlfiles " $func_resolve_sysroot_result"
74135972 prev=
7414 elif test dlprefiles = "$prev"; then
5973 elif test "$prev" = dlprefiles; then
74155974 # The library was specified with -dlpreopen.
74165975 func_append dlprefiles " $func_resolve_sysroot_result"
74175976 prev=
74265985 # Unknown arguments in both finalize_command and compile_command need
74275986 # to be aesthetically quoted because they are evaled later.
74285987 func_quote_for_eval "$arg"
7429 arg=$func_quote_for_eval_result
5988 arg="$func_quote_for_eval_result"
74305989 ;;
74315990 esac # arg
74325991
74385997 done # argument parsing loop
74395998
74405999 test -n "$prev" && \
7441 func_fatal_help "the '$prevarg' option requires an argument"
7442
7443 if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
6000 func_fatal_help "the \`$prevarg' option requires an argument"
6001
6002 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
74446003 eval arg=\"$export_dynamic_flag_spec\"
74456004 func_append compile_command " $arg"
74466005 func_append finalize_command " $arg"
74496008 oldlibs=
74506009 # calculate the name of the file, without its directory
74516010 func_basename "$output"
7452 outputname=$func_basename_result
7453 libobjs_save=$libobjs
6011 outputname="$func_basename_result"
6012 libobjs_save="$libobjs"
74546013
74556014 if test -n "$shlibpath_var"; then
74566015 # get the directories listed in $shlibpath_var
7457 eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
6016 eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
74586017 else
74596018 shlib_search_path=
74606019 fi
74616020 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
74626021 eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
74636022
7464 # Definition is injected by LT_CONFIG during libtool generation.
7465 func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
7466
74676023 func_dirname "$output" "/" ""
7468 output_objdir=$func_dirname_result$objdir
6024 output_objdir="$func_dirname_result$objdir"
74696025 func_to_tool_file "$output_objdir/"
74706026 tool_output_objdir=$func_to_tool_file_result
74716027 # Create the object directory.
74886044 # Find all interdependent deplibs by searching for libraries
74896045 # that are linked more than once (e.g. -la -lb -la)
74906046 for deplib in $deplibs; do
7491 if $opt_preserve_dup_deps; then
6047 if $opt_preserve_dup_deps ; then
74926048 case "$libs " in
74936049 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
74946050 esac
74966052 func_append libs " $deplib"
74976053 done
74986054
7499 if test lib = "$linkmode"; then
6055 if test "$linkmode" = lib; then
75006056 libs="$predeps $libs $compiler_lib_search_path $postdeps"
75016057
75026058 # Compute libraries that are listed more than once in $predeps
75286084 case $file in
75296085 *.la) ;;
75306086 *)
7531 func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
6087 func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
75326088 ;;
75336089 esac
75346090 done
75366092 prog)
75376093 compile_deplibs=
75386094 finalize_deplibs=
7539 alldeplibs=false
6095 alldeplibs=no
75406096 newdlfiles=
75416097 newdlprefiles=
75426098 passes="conv scan dlopen dlpreopen link"
75486104 for pass in $passes; do
75496105 # The preopen pass in lib mode reverses $deplibs; put it back here
75506106 # so that -L comes before libs that need it for instance...
7551 if test lib,link = "$linkmode,$pass"; then
6107 if test "$linkmode,$pass" = "lib,link"; then
75526108 ## FIXME: Find the place where the list is rebuilt in the wrong
75536109 ## order, and fix it there properly
75546110 tmp_deplibs=
75556111 for deplib in $deplibs; do
75566112 tmp_deplibs="$deplib $tmp_deplibs"
75576113 done
7558 deplibs=$tmp_deplibs
6114 deplibs="$tmp_deplibs"
75596115 fi
75606116
7561 if test lib,link = "$linkmode,$pass" ||
7562 test prog,scan = "$linkmode,$pass"; then
7563 libs=$deplibs
6117 if test "$linkmode,$pass" = "lib,link" ||
6118 test "$linkmode,$pass" = "prog,scan"; then
6119 libs="$deplibs"
75646120 deplibs=
75656121 fi
7566 if test prog = "$linkmode"; then
6122 if test "$linkmode" = prog; then
75676123 case $pass in
7568 dlopen) libs=$dlfiles ;;
7569 dlpreopen) libs=$dlprefiles ;;
6124 dlopen) libs="$dlfiles" ;;
6125 dlpreopen) libs="$dlprefiles" ;;
75706126 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
75716127 esac
75726128 fi
7573 if test lib,dlpreopen = "$linkmode,$pass"; then
6129 if test "$linkmode,$pass" = "lib,dlpreopen"; then
75746130 # Collect and forward deplibs of preopened libtool libs
75756131 for lib in $dlprefiles; do
75766132 # Ignore non-libtool-libs
75916147 esac
75926148 done
75936149 done
7594 libs=$dlprefiles
6150 libs="$dlprefiles"
75956151 fi
7596 if test dlopen = "$pass"; then
6152 if test "$pass" = dlopen; then
75976153 # Collect dlpreopened libraries
7598 save_deplibs=$deplibs
6154 save_deplibs="$deplibs"
75996155 deplibs=
76006156 fi
76016157
76026158 for deplib in $libs; do
76036159 lib=
7604 found=false
6160 found=no
76056161 case $deplib in
76066162 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
76076163 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
7608 if test prog,link = "$linkmode,$pass"; then
6164 if test "$linkmode,$pass" = "prog,link"; then
76096165 compile_deplibs="$deplib $compile_deplibs"
76106166 finalize_deplibs="$deplib $finalize_deplibs"
76116167 else
76126168 func_append compiler_flags " $deplib"
7613 if test lib = "$linkmode"; then
6169 if test "$linkmode" = lib ; then
76146170 case "$new_inherited_linker_flags " in
76156171 *" $deplib "*) ;;
76166172 * ) func_append new_inherited_linker_flags " $deplib" ;;
76206176 continue
76216177 ;;
76226178 -l*)
7623 if test lib != "$linkmode" && test prog != "$linkmode"; then
7624 func_warning "'-l' is ignored for archives/objects"
6179 if test "$linkmode" != lib && test "$linkmode" != prog; then
6180 func_warning "\`-l' is ignored for archives/objects"
76256181 continue
76266182 fi
76276183 func_stripname '-l' '' "$deplib"
76286184 name=$func_stripname_result
7629 if test lib = "$linkmode"; then
6185 if test "$linkmode" = lib; then
76306186 searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
76316187 else
76326188 searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
76346190 for searchdir in $searchdirs; do
76356191 for search_ext in .la $std_shrext .so .a; do
76366192 # Search the libtool library
7637 lib=$searchdir/lib$name$search_ext
6193 lib="$searchdir/lib${name}${search_ext}"
76386194 if test -f "$lib"; then
7639 if test .la = "$search_ext"; then
7640 found=:
6195 if test "$search_ext" = ".la"; then
6196 found=yes
76416197 else
7642 found=false
6198 found=no
76436199 fi
76446200 break 2
76456201 fi
76466202 done
76476203 done
7648 if $found; then
7649 # deplib is a libtool library
6204 if test "$found" != yes; then
6205 # deplib doesn't seem to be a libtool library
6206 if test "$linkmode,$pass" = "prog,link"; then
6207 compile_deplibs="$deplib $compile_deplibs"
6208 finalize_deplibs="$deplib $finalize_deplibs"
6209 else
6210 deplibs="$deplib $deplibs"
6211 test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
6212 fi
6213 continue
6214 else # deplib is a libtool library
76506215 # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
76516216 # We need to do some special things here, and not later.
7652 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
6217 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
76536218 case " $predeps $postdeps " in
76546219 *" $deplib "*)
76556220 if func_lalib_p "$lib"; then
76576222 old_library=
76586223 func_source "$lib"
76596224 for l in $old_library $library_names; do
7660 ll=$l
6225 ll="$l"
76616226 done
7662 if test "X$ll" = "X$old_library"; then # only static version available
7663 found=false
6227 if test "X$ll" = "X$old_library" ; then # only static version available
6228 found=no
76646229 func_dirname "$lib" "" "."
7665 ladir=$func_dirname_result
6230 ladir="$func_dirname_result"
76666231 lib=$ladir/$old_library
7667 if test prog,link = "$linkmode,$pass"; then
6232 if test "$linkmode,$pass" = "prog,link"; then
76686233 compile_deplibs="$deplib $compile_deplibs"
76696234 finalize_deplibs="$deplib $finalize_deplibs"
76706235 else
76716236 deplibs="$deplib $deplibs"
7672 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
6237 test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
76736238 fi
76746239 continue
76756240 fi
76786243 *) ;;
76796244 esac
76806245 fi
7681 else
7682 # deplib doesn't seem to be a libtool library
7683 if test prog,link = "$linkmode,$pass"; then
7684 compile_deplibs="$deplib $compile_deplibs"
7685 finalize_deplibs="$deplib $finalize_deplibs"
7686 else
7687 deplibs="$deplib $deplibs"
7688 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
7689 fi
7690 continue
76916246 fi
76926247 ;; # -l
76936248 *.ltframework)
7694 if test prog,link = "$linkmode,$pass"; then
6249 if test "$linkmode,$pass" = "prog,link"; then
76956250 compile_deplibs="$deplib $compile_deplibs"
76966251 finalize_deplibs="$deplib $finalize_deplibs"
76976252 else
76986253 deplibs="$deplib $deplibs"
7699 if test lib = "$linkmode"; then
6254 if test "$linkmode" = lib ; then
77006255 case "$new_inherited_linker_flags " in
77016256 *" $deplib "*) ;;
77026257 * ) func_append new_inherited_linker_flags " $deplib" ;;
77096264 case $linkmode in
77106265 lib)
77116266 deplibs="$deplib $deplibs"
7712 test conv = "$pass" && continue
6267 test "$pass" = conv && continue
77136268 newdependency_libs="$deplib $newdependency_libs"
77146269 func_stripname '-L' '' "$deplib"
77156270 func_resolve_sysroot "$func_stripname_result"
77166271 func_append newlib_search_path " $func_resolve_sysroot_result"
77176272 ;;
77186273 prog)
7719 if test conv = "$pass"; then
6274 if test "$pass" = conv; then
77206275 deplibs="$deplib $deplibs"
77216276 continue
77226277 fi
7723 if test scan = "$pass"; then
6278 if test "$pass" = scan; then
77246279 deplibs="$deplib $deplibs"
77256280 else
77266281 compile_deplibs="$deplib $compile_deplibs"
77316286 func_append newlib_search_path " $func_resolve_sysroot_result"
77326287 ;;
77336288 *)
7734 func_warning "'-L' is ignored for archives/objects"
6289 func_warning "\`-L' is ignored for archives/objects"
77356290 ;;
77366291 esac # linkmode
77376292 continue
77386293 ;; # -L
77396294 -R*)
7740 if test link = "$pass"; then
6295 if test "$pass" = link; then
77416296 func_stripname '-R' '' "$deplib"
77426297 func_resolve_sysroot "$func_stripname_result"
77436298 dir=$func_resolve_sysroot_result
77556310 lib=$func_resolve_sysroot_result
77566311 ;;
77576312 *.$libext)
7758 if test conv = "$pass"; then
6313 if test "$pass" = conv; then
77596314 deplibs="$deplib $deplibs"
77606315 continue
77616316 fi
77666321 case " $dlpreconveniencelibs " in
77676322 *" $deplib "*) ;;
77686323 *)
7769 valid_a_lib=false
6324 valid_a_lib=no
77706325 case $deplibs_check_method in
77716326 match_pattern*)
77726327 set dummy $deplibs_check_method; shift
77736328 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
77746329 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
77756330 | $EGREP "$match_pattern_regex" > /dev/null; then
7776 valid_a_lib=:
6331 valid_a_lib=yes
77776332 fi
77786333 ;;
77796334 pass_all)
7780 valid_a_lib=:
6335 valid_a_lib=yes
77816336 ;;
77826337 esac
7783 if $valid_a_lib; then
7784 echo
7785 $ECHO "*** Warning: Linking the shared library $output against the"
7786 $ECHO "*** static library $deplib is not portable!"
7787 deplibs="$deplib $deplibs"
7788 else
6338 if test "$valid_a_lib" != yes; then
77896339 echo
77906340 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
77916341 echo "*** I have the capability to make that library automatically link in when"
77936343 echo "*** shared version of the library, which you do not appear to have"
77946344 echo "*** because the file extensions .$libext of this argument makes me believe"
77956345 echo "*** that it is just a static archive that I should not use here."
6346 else
6347 echo
6348 $ECHO "*** Warning: Linking the shared library $output against the"
6349 $ECHO "*** static library $deplib is not portable!"
6350 deplibs="$deplib $deplibs"
77966351 fi
77976352 ;;
77986353 esac
77996354 continue
78006355 ;;
78016356 prog)
7802 if test link != "$pass"; then
6357 if test "$pass" != link; then
78036358 deplibs="$deplib $deplibs"
78046359 else
78056360 compile_deplibs="$deplib $compile_deplibs"
78106365 esac # linkmode
78116366 ;; # *.$libext
78126367 *.lo | *.$objext)
7813 if test conv = "$pass"; then
6368 if test "$pass" = conv; then
78146369 deplibs="$deplib $deplibs"
7815 elif test prog = "$linkmode"; then
7816 if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
6370 elif test "$linkmode" = prog; then
6371 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
78176372 # If there is no dlopen support or we're linking statically,
78186373 # we need to preload.
78196374 func_append newdlprefiles " $deplib"
78266381 continue
78276382 ;;
78286383 %DEPLIBS%)
7829 alldeplibs=:
6384 alldeplibs=yes
78306385 continue
78316386 ;;
78326387 esac # case $deplib
78336388
7834 $found || test -f "$lib" \
7835 || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
6389 if test "$found" = yes || test -f "$lib"; then :
6390 else
6391 func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
6392 fi
78366393
78376394 # Check to see that this really is a libtool archive.
78386395 func_lalib_unsafe_p "$lib" \
7839 || func_fatal_error "'$lib' is not a valid libtool archive"
6396 || func_fatal_error "\`$lib' is not a valid libtool archive"
78406397
78416398 func_dirname "$lib" "" "."
7842 ladir=$func_dirname_result
6399 ladir="$func_dirname_result"
78436400
78446401 dlname=
78456402 dlopen=
78696426 done
78706427 fi
78716428 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7872 if test lib,link = "$linkmode,$pass" ||
7873 test prog,scan = "$linkmode,$pass" ||
7874 { test prog != "$linkmode" && test lib != "$linkmode"; }; then
6429 if test "$linkmode,$pass" = "lib,link" ||
6430 test "$linkmode,$pass" = "prog,scan" ||
6431 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
78756432 test -n "$dlopen" && func_append dlfiles " $dlopen"
78766433 test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
78776434 fi
78786435
7879 if test conv = "$pass"; then
6436 if test "$pass" = conv; then
78806437 # Only check for convenience libraries
78816438 deplibs="$lib $deplibs"
78826439 if test -z "$libdir"; then
78836440 if test -z "$old_library"; then
7884 func_fatal_error "cannot find name of link library for '$lib'"
6441 func_fatal_error "cannot find name of link library for \`$lib'"
78856442 fi
78866443 # It is a libtool convenience library, so add in its objects.
78876444 func_append convenience " $ladir/$objdir/$old_library"
78886445 func_append old_convenience " $ladir/$objdir/$old_library"
7889 elif test prog != "$linkmode" && test lib != "$linkmode"; then
7890 func_fatal_error "'$lib' is not a convenience library"
6446 elif test "$linkmode" != prog && test "$linkmode" != lib; then
6447 func_fatal_error "\`$lib' is not a convenience library"
78916448 fi
78926449 tmp_libs=
78936450 for deplib in $dependency_libs; do
78946451 deplibs="$deplib $deplibs"
7895 if $opt_preserve_dup_deps; then
6452 if $opt_preserve_dup_deps ; then
78966453 case "$tmp_libs " in
78976454 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
78986455 esac
79066463 # Get the name of the library we link against.
79076464 linklib=
79086465 if test -n "$old_library" &&
7909 { test yes = "$prefer_static_libs" ||
7910 test built,no = "$prefer_static_libs,$installed"; }; then
6466 { test "$prefer_static_libs" = yes ||
6467 test "$prefer_static_libs,$installed" = "built,no"; }; then
79116468 linklib=$old_library
79126469 else
79136470 for l in $old_library $library_names; do
7914 linklib=$l
6471 linklib="$l"
79156472 done
79166473 fi
79176474 if test -z "$linklib"; then
7918 func_fatal_error "cannot find name of link library for '$lib'"
6475 func_fatal_error "cannot find name of link library for \`$lib'"
79196476 fi
79206477
79216478 # This library was specified with -dlopen.
7922 if test dlopen = "$pass"; then
7923 test -z "$libdir" \
7924 && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
6479 if test "$pass" = dlopen; then
6480 if test -z "$libdir"; then
6481 func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
6482 fi
79256483 if test -z "$dlname" ||
7926 test yes != "$dlopen_support" ||
7927 test no = "$build_libtool_libs"
7928 then
6484 test "$dlopen_support" != yes ||
6485 test "$build_libtool_libs" = no; then
79296486 # If there is no dlname, no dlopen support or we're linking
79306487 # statically, we need to preload. We also need to preload any
79316488 # dependent libraries so libltdl's deplib preloader doesn't
79396496
79406497 # We need an absolute path.
79416498 case $ladir in
7942 [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
6499 [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
79436500 *)
79446501 abs_ladir=`cd "$ladir" && pwd`
79456502 if test -z "$abs_ladir"; then
7946 func_warning "cannot determine absolute directory name of '$ladir'"
6503 func_warning "cannot determine absolute directory name of \`$ladir'"
79476504 func_warning "passing it literally to the linker, although it might fail"
7948 abs_ladir=$ladir
6505 abs_ladir="$ladir"
79496506 fi
79506507 ;;
79516508 esac
79526509 func_basename "$lib"
7953 laname=$func_basename_result
6510 laname="$func_basename_result"
79546511
79556512 # Find the relevant object directory and library name.
7956 if test yes = "$installed"; then
6513 if test "X$installed" = Xyes; then
79576514 if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7958 func_warning "library '$lib' was moved."
7959 dir=$ladir
7960 absdir=$abs_ladir
7961 libdir=$abs_ladir
6515 func_warning "library \`$lib' was moved."
6516 dir="$ladir"
6517 absdir="$abs_ladir"
6518 libdir="$abs_ladir"
79626519 else
7963 dir=$lt_sysroot$libdir
7964 absdir=$lt_sysroot$libdir
6520 dir="$lt_sysroot$libdir"
6521 absdir="$lt_sysroot$libdir"
79656522 fi
7966 test yes = "$hardcode_automatic" && avoidtemprpath=yes
6523 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
79676524 else
79686525 if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7969 dir=$ladir
7970 absdir=$abs_ladir
6526 dir="$ladir"
6527 absdir="$abs_ladir"
79716528 # Remove this search path later
79726529 func_append notinst_path " $abs_ladir"
79736530 else
7974 dir=$ladir/$objdir
7975 absdir=$abs_ladir/$objdir
6531 dir="$ladir/$objdir"
6532 absdir="$abs_ladir/$objdir"
79766533 # Remove this search path later
79776534 func_append notinst_path " $abs_ladir"
79786535 fi
79816538 name=$func_stripname_result
79826539
79836540 # This library was specified with -dlpreopen.
7984 if test dlpreopen = "$pass"; then
7985 if test -z "$libdir" && test prog = "$linkmode"; then
7986 func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
6541 if test "$pass" = dlpreopen; then
6542 if test -z "$libdir" && test "$linkmode" = prog; then
6543 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
79876544 fi
7988 case $host in
6545 case "$host" in
79896546 # special handling for platforms with PE-DLLs.
79906547 *cygwin* | *mingw* | *cegcc* )
79916548 # Linker will automatically link against shared library if both
80296586
80306587 if test -z "$libdir"; then
80316588 # Link the convenience library
8032 if test lib = "$linkmode"; then
6589 if test "$linkmode" = lib; then
80336590 deplibs="$dir/$old_library $deplibs"
8034 elif test prog,link = "$linkmode,$pass"; then
6591 elif test "$linkmode,$pass" = "prog,link"; then
80356592 compile_deplibs="$dir/$old_library $compile_deplibs"
80366593 finalize_deplibs="$dir/$old_library $finalize_deplibs"
80376594 else
80416598 fi
80426599
80436600
8044 if test prog = "$linkmode" && test link != "$pass"; then
6601 if test "$linkmode" = prog && test "$pass" != link; then
80456602 func_append newlib_search_path " $ladir"
80466603 deplibs="$lib $deplibs"
80476604
8048 linkalldeplibs=false
8049 if test no != "$link_all_deplibs" || test -z "$library_names" ||
8050 test no = "$build_libtool_libs"; then
8051 linkalldeplibs=:
6605 linkalldeplibs=no
6606 if test "$link_all_deplibs" != no || test -z "$library_names" ||
6607 test "$build_libtool_libs" = no; then
6608 linkalldeplibs=yes
80526609 fi
80536610
80546611 tmp_libs=
80606617 ;;
80616618 esac
80626619 # Need to link against all dependency_libs?
8063 if $linkalldeplibs; then
6620 if test "$linkalldeplibs" = yes; then
80646621 deplibs="$deplib $deplibs"
80656622 else
80666623 # Need to hardcode shared library paths
80676624 # or/and link against static libraries
80686625 newdependency_libs="$deplib $newdependency_libs"
80696626 fi
8070 if $opt_preserve_dup_deps; then
6627 if $opt_preserve_dup_deps ; then
80716628 case "$tmp_libs " in
80726629 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
80736630 esac
80776634 continue
80786635 fi # $linkmode = prog...
80796636
8080 if test prog,link = "$linkmode,$pass"; then
6637 if test "$linkmode,$pass" = "prog,link"; then
80816638 if test -n "$library_names" &&
8082 { { test no = "$prefer_static_libs" ||
8083 test built,yes = "$prefer_static_libs,$installed"; } ||
6639 { { test "$prefer_static_libs" = no ||
6640 test "$prefer_static_libs,$installed" = "built,yes"; } ||
80846641 test -z "$old_library"; }; then
80856642 # We need to hardcode the library path
8086 if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
6643 if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
80876644 # Make sure the rpath contains only unique directories.
8088 case $temp_rpath: in
6645 case "$temp_rpath:" in
80896646 *"$absdir:"*) ;;
80906647 *) func_append temp_rpath "$absdir:" ;;
80916648 esac
81146671 esac
81156672 fi # $linkmode,$pass = prog,link...
81166673
8117 if $alldeplibs &&
8118 { test pass_all = "$deplibs_check_method" ||
8119 { test yes = "$build_libtool_libs" &&
6674 if test "$alldeplibs" = yes &&
6675 { test "$deplibs_check_method" = pass_all ||
6676 { test "$build_libtool_libs" = yes &&
81206677 test -n "$library_names"; }; }; then
81216678 # We only need to search for static libraries
81226679 continue
81256682
81266683 link_static=no # Whether the deplib will be linked statically
81276684 use_static_libs=$prefer_static_libs
8128 if test built = "$use_static_libs" && test yes = "$installed"; then
6685 if test "$use_static_libs" = built && test "$installed" = yes; then
81296686 use_static_libs=no
81306687 fi
81316688 if test -n "$library_names" &&
8132 { test no = "$use_static_libs" || test -z "$old_library"; }; then
6689 { test "$use_static_libs" = no || test -z "$old_library"; }; then
81336690 case $host in
8134 *cygwin* | *mingw* | *cegcc* | *os2*)
6691 *cygwin* | *mingw* | *cegcc*)
81356692 # No point in relinking DLLs because paths are not encoded
81366693 func_append notinst_deplibs " $lib"
81376694 need_relink=no
81386695 ;;
81396696 *)
8140 if test no = "$installed"; then
6697 if test "$installed" = no; then
81416698 func_append notinst_deplibs " $lib"
81426699 need_relink=yes
81436700 fi
81476704
81486705 # Warn about portability, can't link against -module's on some
81496706 # systems (darwin). Don't bleat about dlopened modules though!
8150 dlopenmodule=
6707 dlopenmodule=""
81516708 for dlpremoduletest in $dlprefiles; do
81526709 if test "X$dlpremoduletest" = "X$lib"; then
8153 dlopenmodule=$dlpremoduletest
6710 dlopenmodule="$dlpremoduletest"
81546711 break
81556712 fi
81566713 done
8157 if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
6714 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
81586715 echo
8159 if test prog = "$linkmode"; then
6716 if test "$linkmode" = prog; then
81606717 $ECHO "*** Warning: Linking the executable $output against the loadable module"
81616718 else
81626719 $ECHO "*** Warning: Linking the shared library $output against the loadable module"
81636720 fi
81646721 $ECHO "*** $linklib is not portable!"
81656722 fi
8166 if test lib = "$linkmode" &&
8167 test yes = "$hardcode_into_libs"; then
6723 if test "$linkmode" = lib &&
6724 test "$hardcode_into_libs" = yes; then
81686725 # Hardcode the library path.
81696726 # Skip directories that are in the system default run-time
81706727 # search path.
81926749 # figure out the soname
81936750 set dummy $library_names
81946751 shift
8195 realname=$1
6752 realname="$1"
81966753 shift
81976754 libname=`eval "\\$ECHO \"$libname_spec\""`
81986755 # use dlname if we got it. it's perfectly good, no?
81996756 if test -n "$dlname"; then
8200 soname=$dlname
6757 soname="$dlname"
82016758 elif test -n "$soname_spec"; then
82026759 # bleh windows
82036760 case $host in
8204 *cygwin* | mingw* | *cegcc* | *os2*)
6761 *cygwin* | mingw* | *cegcc*)
82056762 func_arith $current - $age
82066763 major=$func_arith_result
8207 versuffix=-$major
6764 versuffix="-$major"
82086765 ;;
82096766 esac
82106767 eval soname=\"$soname_spec\"
82116768 else
8212 soname=$realname
6769 soname="$realname"
82136770 fi
82146771
82156772 # Make a new name for the extract_expsyms_cmds to use
8216 soroot=$soname
6773 soroot="$soname"
82176774 func_basename "$soroot"
8218 soname=$func_basename_result
6775 soname="$func_basename_result"
82196776 func_stripname 'lib' '.dll' "$soname"
82206777 newlib=libimp-$func_stripname_result.a
82216778
82226779 # If the library has no export list, then create one now
82236780 if test -f "$output_objdir/$soname-def"; then :
82246781 else
8225 func_verbose "extracting exported symbol list from '$soname'"
6782 func_verbose "extracting exported symbol list from \`$soname'"
82266783 func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
82276784 fi
82286785
82296786 # Create $newlib
82306787 if test -f "$output_objdir/$newlib"; then :; else
8231 func_verbose "generating import library for '$soname'"
6788 func_verbose "generating import library for \`$soname'"
82326789 func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
82336790 fi
82346791 # make sure the library variables are pointing to the new library
82366793 linklib=$newlib
82376794 fi # test -n "$old_archive_from_expsyms_cmds"
82386795
8239 if test prog = "$linkmode" || test relink != "$opt_mode"; then
6796 if test "$linkmode" = prog || test "$opt_mode" != relink; then
82406797 add_shlibpath=
82416798 add_dir=
82426799 add=
82436800 lib_linked=yes
82446801 case $hardcode_action in
82456802 immediate | unsupported)
8246 if test no = "$hardcode_direct"; then
8247 add=$dir/$linklib
6803 if test "$hardcode_direct" = no; then
6804 add="$dir/$linklib"
82486805 case $host in
8249 *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
8250 *-*-sysv4*uw2*) add_dir=-L$dir ;;
6806 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
6807 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
82516808 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
8252 *-*-unixware7*) add_dir=-L$dir ;;
6809 *-*-unixware7*) add_dir="-L$dir" ;;
82536810 *-*-darwin* )
8254 # if the lib is a (non-dlopened) module then we cannot
6811 # if the lib is a (non-dlopened) module then we can not
82556812 # link against it, someone is ignoring the earlier warnings
82566813 if /usr/bin/file -L $add 2> /dev/null |
8257 $GREP ": [^:]* bundle" >/dev/null; then
6814 $GREP ": [^:]* bundle" >/dev/null ; then
82586815 if test "X$dlopenmodule" != "X$lib"; then
82596816 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
8260 if test -z "$old_library"; then
6817 if test -z "$old_library" ; then
82616818 echo
82626819 echo "*** And there doesn't seem to be a static archive available"
82636820 echo "*** The link will probably fail, sorry"
82646821 else
8265 add=$dir/$old_library
6822 add="$dir/$old_library"
82666823 fi
82676824 elif test -n "$old_library"; then
8268 add=$dir/$old_library
6825 add="$dir/$old_library"
82696826 fi
82706827 fi
82716828 esac
8272 elif test no = "$hardcode_minus_L"; then
6829 elif test "$hardcode_minus_L" = no; then
82736830 case $host in
8274 *-*-sunos*) add_shlibpath=$dir ;;
6831 *-*-sunos*) add_shlibpath="$dir" ;;
82756832 esac
8276 add_dir=-L$dir
8277 add=-l$name
8278 elif test no = "$hardcode_shlibpath_var"; then
8279 add_shlibpath=$dir
8280 add=-l$name
6833 add_dir="-L$dir"
6834 add="-l$name"
6835 elif test "$hardcode_shlibpath_var" = no; then
6836 add_shlibpath="$dir"
6837 add="-l$name"
82816838 else
82826839 lib_linked=no
82836840 fi
82846841 ;;
82856842 relink)
8286 if test yes = "$hardcode_direct" &&
8287 test no = "$hardcode_direct_absolute"; then
8288 add=$dir/$linklib
8289 elif test yes = "$hardcode_minus_L"; then
8290 add_dir=-L$absdir
6843 if test "$hardcode_direct" = yes &&
6844 test "$hardcode_direct_absolute" = no; then
6845 add="$dir/$linklib"
6846 elif test "$hardcode_minus_L" = yes; then
6847 add_dir="-L$absdir"
82916848 # Try looking first in the location we're being installed to.
82926849 if test -n "$inst_prefix_dir"; then
82936850 case $libdir in
82966853 ;;
82976854 esac
82986855 fi
8299 add=-l$name
8300 elif test yes = "$hardcode_shlibpath_var"; then
8301 add_shlibpath=$dir
8302 add=-l$name
6856 add="-l$name"
6857 elif test "$hardcode_shlibpath_var" = yes; then
6858 add_shlibpath="$dir"
6859 add="-l$name"
83036860 else
83046861 lib_linked=no
83056862 fi
83076864 *) lib_linked=no ;;
83086865 esac
83096866
8310 if test yes != "$lib_linked"; then
6867 if test "$lib_linked" != yes; then
83116868 func_fatal_configuration "unsupported hardcode properties"
83126869 fi
83136870
83176874 *) func_append compile_shlibpath "$add_shlibpath:" ;;
83186875 esac
83196876 fi
8320 if test prog = "$linkmode"; then
6877 if test "$linkmode" = prog; then
83216878 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
83226879 test -n "$add" && compile_deplibs="$add $compile_deplibs"
83236880 else
83246881 test -n "$add_dir" && deplibs="$add_dir $deplibs"
83256882 test -n "$add" && deplibs="$add $deplibs"
8326 if test yes != "$hardcode_direct" &&
8327 test yes != "$hardcode_minus_L" &&
8328 test yes = "$hardcode_shlibpath_var"; then
6883 if test "$hardcode_direct" != yes &&
6884 test "$hardcode_minus_L" != yes &&
6885 test "$hardcode_shlibpath_var" = yes; then
83296886 case :$finalize_shlibpath: in
83306887 *":$libdir:"*) ;;
83316888 *) func_append finalize_shlibpath "$libdir:" ;;
83346891 fi
83356892 fi
83366893
8337 if test prog = "$linkmode" || test relink = "$opt_mode"; then
6894 if test "$linkmode" = prog || test "$opt_mode" = relink; then
83386895 add_shlibpath=
83396896 add_dir=
83406897 add=
83416898 # Finalize command for both is simple: just hardcode it.
8342 if test yes = "$hardcode_direct" &&
8343 test no = "$hardcode_direct_absolute"; then
8344 add=$libdir/$linklib
8345 elif test yes = "$hardcode_minus_L"; then
8346 add_dir=-L$libdir
8347 add=-l$name
8348 elif test yes = "$hardcode_shlibpath_var"; then
6899 if test "$hardcode_direct" = yes &&
6900 test "$hardcode_direct_absolute" = no; then
6901 add="$libdir/$linklib"
6902 elif test "$hardcode_minus_L" = yes; then
6903 add_dir="-L$libdir"
6904 add="-l$name"
6905 elif test "$hardcode_shlibpath_var" = yes; then
83496906 case :$finalize_shlibpath: in
83506907 *":$libdir:"*) ;;
83516908 *) func_append finalize_shlibpath "$libdir:" ;;
83526909 esac
8353 add=-l$name
8354 elif test yes = "$hardcode_automatic"; then
6910 add="-l$name"
6911 elif test "$hardcode_automatic" = yes; then
83556912 if test -n "$inst_prefix_dir" &&
8356 test -f "$inst_prefix_dir$libdir/$linklib"; then
8357 add=$inst_prefix_dir$libdir/$linklib
6913 test -f "$inst_prefix_dir$libdir/$linklib" ; then
6914 add="$inst_prefix_dir$libdir/$linklib"
83586915 else
8359 add=$libdir/$linklib
6916 add="$libdir/$linklib"
83606917 fi
83616918 else
83626919 # We cannot seem to hardcode it, guess we'll fake it.
8363 add_dir=-L$libdir
6920 add_dir="-L$libdir"
83646921 # Try looking first in the location we're being installed to.
83656922 if test -n "$inst_prefix_dir"; then
83666923 case $libdir in
83696926 ;;
83706927 esac
83716928 fi
8372 add=-l$name
6929 add="-l$name"
83736930 fi
83746931
8375 if test prog = "$linkmode"; then
6932 if test "$linkmode" = prog; then
83766933 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
83776934 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
83786935 else
83806937 test -n "$add" && deplibs="$add $deplibs"
83816938 fi
83826939 fi
8383 elif test prog = "$linkmode"; then
6940 elif test "$linkmode" = prog; then
83846941 # Here we assume that one of hardcode_direct or hardcode_minus_L
83856942 # is not unsupported. This is valid on all known static and
83866943 # shared platforms.
8387 if test unsupported != "$hardcode_direct"; then
8388 test -n "$old_library" && linklib=$old_library
6944 if test "$hardcode_direct" != unsupported; then
6945 test -n "$old_library" && linklib="$old_library"
83896946 compile_deplibs="$dir/$linklib $compile_deplibs"
83906947 finalize_deplibs="$dir/$linklib $finalize_deplibs"
83916948 else
83926949 compile_deplibs="-l$name -L$dir $compile_deplibs"
83936950 finalize_deplibs="-l$name -L$dir $finalize_deplibs"
83946951 fi
8395 elif test yes = "$build_libtool_libs"; then
6952 elif test "$build_libtool_libs" = yes; then
83966953 # Not a shared library
8397 if test pass_all != "$deplibs_check_method"; then
6954 if test "$deplibs_check_method" != pass_all; then
83986955 # We're trying link a shared library against a static one
83996956 # but the system doesn't support it.
84006957
84016958 # Just print a warning and add the library to dependency_libs so
84026959 # that the program can be linked against the static library.
84036960 echo
8404 $ECHO "*** Warning: This system cannot link to static lib archive $lib."
6961 $ECHO "*** Warning: This system can not link to static lib archive $lib."
84056962 echo "*** I have the capability to make that library automatically link in when"
84066963 echo "*** you link to this library. But I can only do this if you have a"
84076964 echo "*** shared version of the library, which you do not appear to have."
8408 if test yes = "$module"; then
6965 if test "$module" = yes; then
84096966 echo "*** But as you try to build a module library, libtool will still create "
84106967 echo "*** a static module, that should work as long as the dlopening application"
84116968 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
84126969 if test -z "$global_symbol_pipe"; then
84136970 echo
84146971 echo "*** However, this would only work if libtool was able to extract symbol"
8415 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
6972 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
84166973 echo "*** not find such a program. So, this module is probably useless."
8417 echo "*** 'nm' from GNU binutils and a full rebuild may help."
6974 echo "*** \`nm' from GNU binutils and a full rebuild may help."
84186975 fi
8419 if test no = "$build_old_libs"; then
6976 if test "$build_old_libs" = no; then
84206977 build_libtool_libs=module
84216978 build_old_libs=yes
84226979 else
84296986 fi
84306987 fi # link shared/static library?
84316988
8432 if test lib = "$linkmode"; then
6989 if test "$linkmode" = lib; then
84336990 if test -n "$dependency_libs" &&
8434 { test yes != "$hardcode_into_libs" ||
8435 test yes = "$build_old_libs" ||
8436 test yes = "$link_static"; }; then
6991 { test "$hardcode_into_libs" != yes ||
6992 test "$build_old_libs" = yes ||
6993 test "$link_static" = yes; }; then
84376994 # Extract -R from dependency_libs
84386995 temp_deplibs=
84396996 for libdir in $dependency_libs; do
84477004 *) func_append temp_deplibs " $libdir";;
84487005 esac
84497006 done
8450 dependency_libs=$temp_deplibs
7007 dependency_libs="$temp_deplibs"
84517008 fi
84527009
84537010 func_append newlib_search_path " $absdir"
84547011 # Link against this library
8455 test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
7012 test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
84567013 # ... and its dependency_libs
84577014 tmp_libs=
84587015 for deplib in $dependency_libs; do
84627019 func_resolve_sysroot "$func_stripname_result";;
84637020 *) func_resolve_sysroot "$deplib" ;;
84647021 esac
8465 if $opt_preserve_dup_deps; then
7022 if $opt_preserve_dup_deps ; then
84667023 case "$tmp_libs " in
84677024 *" $func_resolve_sysroot_result "*)
84687025 func_append specialdeplibs " $func_resolve_sysroot_result" ;;
84717028 func_append tmp_libs " $func_resolve_sysroot_result"
84727029 done
84737030
8474 if test no != "$link_all_deplibs"; then
7031 if test "$link_all_deplibs" != no; then
84757032 # Add the search paths of all dependency libraries
84767033 for deplib in $dependency_libs; do
84777034 path=
84787035 case $deplib in
8479 -L*) path=$deplib ;;
7036 -L*) path="$deplib" ;;
84807037 *.la)
84817038 func_resolve_sysroot "$deplib"
84827039 deplib=$func_resolve_sysroot_result
84847041 dir=$func_dirname_result
84857042 # We need an absolute path.
84867043 case $dir in
8487 [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
7044 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
84887045 *)
84897046 absdir=`cd "$dir" && pwd`
84907047 if test -z "$absdir"; then
8491 func_warning "cannot determine absolute directory name of '$dir'"
8492 absdir=$dir
7048 func_warning "cannot determine absolute directory name of \`$dir'"
7049 absdir="$dir"
84937050 fi
84947051 ;;
84957052 esac
84977054 case $host in
84987055 *-*-darwin*)
84997056 depdepl=
8500 eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
8501 if test -n "$deplibrary_names"; then
8502 for tmp in $deplibrary_names; do
7057 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
7058 if test -n "$deplibrary_names" ; then
7059 for tmp in $deplibrary_names ; do
85037060 depdepl=$tmp
85047061 done
8505 if test -f "$absdir/$objdir/$depdepl"; then
8506 depdepl=$absdir/$objdir/$depdepl
8507 darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
7062 if test -f "$absdir/$objdir/$depdepl" ; then
7063 depdepl="$absdir/$objdir/$depdepl"
7064 darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
85087065 if test -z "$darwin_install_name"; then
8509 darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
7066 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
85107067 fi
8511 func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
8512 func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
7068 func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
7069 func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
85137070 path=
85147071 fi
85157072 fi
85167073 ;;
85177074 *)
8518 path=-L$absdir/$objdir
7075 path="-L$absdir/$objdir"
85197076 ;;
85207077 esac
85217078 else
8522 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
7079 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
85237080 test -z "$libdir" && \
8524 func_fatal_error "'$deplib' is not a valid libtool archive"
7081 func_fatal_error "\`$deplib' is not a valid libtool archive"
85257082 test "$absdir" != "$libdir" && \
8526 func_warning "'$deplib' seems to be moved"
8527
8528 path=-L$absdir
7083 func_warning "\`$deplib' seems to be moved"
7084
7085 path="-L$absdir"
85297086 fi
85307087 ;;
85317088 esac
85377094 fi # link_all_deplibs != no
85387095 fi # linkmode = lib
85397096 done # for deplib in $libs
8540 if test link = "$pass"; then
8541 if test prog = "$linkmode"; then
7097 if test "$pass" = link; then
7098 if test "$linkmode" = "prog"; then
85427099 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
85437100 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
85447101 else
85457102 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
85467103 fi
85477104 fi
8548 dependency_libs=$newdependency_libs
8549 if test dlpreopen = "$pass"; then
7105 dependency_libs="$newdependency_libs"
7106 if test "$pass" = dlpreopen; then
85507107 # Link the dlpreopened libraries before other libraries
85517108 for deplib in $save_deplibs; do
85527109 deplibs="$deplib $deplibs"
85537110 done
85547111 fi
8555 if test dlopen != "$pass"; then
8556 test conv = "$pass" || {
7112 if test "$pass" != dlopen; then
7113 if test "$pass" != conv; then
85577114 # Make sure lib_search_path contains only unique directories.
85587115 lib_search_path=
85597116 for dir in $newlib_search_path; do
85637120 esac
85647121 done
85657122 newlib_search_path=
8566 }
8567
8568 if test prog,link = "$linkmode,$pass"; then
7123 fi
7124
7125 if test "$linkmode,$pass" != "prog,link"; then
7126 vars="deplibs"
7127 else
85697128 vars="compile_deplibs finalize_deplibs"
8570 else
8571 vars=deplibs
85727129 fi
85737130 for var in $vars dependency_libs; do
85747131 # Add libraries to $var in reverse order
86267183 eval $var=\"$tmp_libs\"
86277184 done # for var
86287185 fi
8629
8630 # Add Sun CC postdeps if required:
8631 test CXX = "$tagname" && {
8632 case $host_os in
8633 linux*)
8634 case `$CC -V 2>&1 | sed 5q` in
8635 *Sun\ C*) # Sun C++ 5.9
8636 func_suncc_cstd_abi
8637
8638 if test no != "$suncc_use_cstd_abi"; then
8639 func_append postdeps ' -library=Cstd -library=Crun'
8640 fi
8641 ;;
8642 esac
8643 ;;
8644
8645 solaris*)
8646 func_cc_basename "$CC"
8647 case $func_cc_basename_result in
8648 CC* | sunCC*)
8649 func_suncc_cstd_abi
8650
8651 if test no != "$suncc_use_cstd_abi"; then
8652 func_append postdeps ' -library=Cstd -library=Crun'
8653 fi
8654 ;;
8655 esac
8656 ;;
8657 esac
8658 }
8659
86607186 # Last step: remove runtime libs from dependency_libs
86617187 # (they stay in deplibs)
86627188 tmp_libs=
8663 for i in $dependency_libs; do
7189 for i in $dependency_libs ; do
86647190 case " $predeps $postdeps $compiler_lib_search_path " in
86657191 *" $i "*)
8666 i=
7192 i=""
86677193 ;;
86687194 esac
8669 if test -n "$i"; then
7195 if test -n "$i" ; then
86707196 func_append tmp_libs " $i"
86717197 fi
86727198 done
86737199 dependency_libs=$tmp_libs
86747200 done # for pass
8675 if test prog = "$linkmode"; then
8676 dlfiles=$newdlfiles
7201 if test "$linkmode" = prog; then
7202 dlfiles="$newdlfiles"
86777203 fi
8678 if test prog = "$linkmode" || test lib = "$linkmode"; then
8679 dlprefiles=$newdlprefiles
7204 if test "$linkmode" = prog || test "$linkmode" = lib; then
7205 dlprefiles="$newdlprefiles"
86807206 fi
86817207
86827208 case $linkmode in
86837209 oldlib)
8684 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
8685 func_warning "'-dlopen' is ignored for archives"
7210 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
7211 func_warning "\`-dlopen' is ignored for archives"
86867212 fi
86877213
86887214 case " $deplibs" in
86897215 *\ -l* | *\ -L*)
8690 func_warning "'-l' and '-L' are ignored for archives" ;;
7216 func_warning "\`-l' and \`-L' are ignored for archives" ;;
86917217 esac
86927218
86937219 test -n "$rpath" && \
8694 func_warning "'-rpath' is ignored for archives"
7220 func_warning "\`-rpath' is ignored for archives"
86957221
86967222 test -n "$xrpath" && \
8697 func_warning "'-R' is ignored for archives"
7223 func_warning "\`-R' is ignored for archives"
86987224
86997225 test -n "$vinfo" && \
8700 func_warning "'-version-info/-version-number' is ignored for archives"
7226 func_warning "\`-version-info/-version-number' is ignored for archives"
87017227
87027228 test -n "$release" && \
8703 func_warning "'-release' is ignored for archives"
7229 func_warning "\`-release' is ignored for archives"
87047230
87057231 test -n "$export_symbols$export_symbols_regex" && \
8706 func_warning "'-export-symbols' is ignored for archives"
7232 func_warning "\`-export-symbols' is ignored for archives"
87077233
87087234 # Now set the variables for building old libraries.
87097235 build_libtool_libs=no
8710 oldlibs=$output
7236 oldlibs="$output"
87117237 func_append objs "$old_deplibs"
87127238 ;;
87137239
87147240 lib)
8715 # Make sure we only generate libraries of the form 'libNAME.la'.
7241 # Make sure we only generate libraries of the form `libNAME.la'.
87167242 case $outputname in
87177243 lib*)
87187244 func_stripname 'lib' '.la' "$outputname"
87217247 eval libname=\"$libname_spec\"
87227248 ;;
87237249 *)
8724 test no = "$module" \
8725 && func_fatal_help "libtool library '$output' must begin with 'lib'"
8726
8727 if test no != "$need_lib_prefix"; then
7250 test "$module" = no && \
7251 func_fatal_help "libtool library \`$output' must begin with \`lib'"
7252
7253 if test "$need_lib_prefix" != no; then
87287254 # Add the "lib" prefix for modules if required
87297255 func_stripname '' '.la' "$outputname"
87307256 name=$func_stripname_result
87387264 esac
87397265
87407266 if test -n "$objs"; then
8741 if test pass_all != "$deplibs_check_method"; then
8742 func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
7267 if test "$deplibs_check_method" != pass_all; then
7268 func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
87437269 else
87447270 echo
87457271 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
87487274 fi
87497275 fi
87507276
8751 test no = "$dlself" \
8752 || func_warning "'-dlopen self' is ignored for libtool libraries"
7277 test "$dlself" != no && \
7278 func_warning "\`-dlopen self' is ignored for libtool libraries"
87537279
87547280 set dummy $rpath
87557281 shift
8756 test 1 -lt "$#" \
8757 && func_warning "ignoring multiple '-rpath's for a libtool library"
8758
8759 install_libdir=$1
7282 test "$#" -gt 1 && \
7283 func_warning "ignoring multiple \`-rpath's for a libtool library"
7284
7285 install_libdir="$1"
87607286
87617287 oldlibs=
87627288 if test -z "$rpath"; then
8763 if test yes = "$build_libtool_libs"; then
7289 if test "$build_libtool_libs" = yes; then
87647290 # Building a libtool convenience library.
8765 # Some compilers have problems with a '.al' extension so
7291 # Some compilers have problems with a `.al' extension so
87667292 # convenience libraries should have the same extension an
87677293 # archive normally would.
87687294 oldlibs="$output_objdir/$libname.$libext $oldlibs"
87717297 fi
87727298
87737299 test -n "$vinfo" && \
8774 func_warning "'-version-info/-version-number' is ignored for convenience libraries"
7300 func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
87757301
87767302 test -n "$release" && \
8777 func_warning "'-release' is ignored for convenience libraries"
7303 func_warning "\`-release' is ignored for convenience libraries"
87787304 else
87797305
87807306 # Parse the version information argument.
8781 save_ifs=$IFS; IFS=:
7307 save_ifs="$IFS"; IFS=':'
87827308 set dummy $vinfo 0 0 0
87837309 shift
8784 IFS=$save_ifs
7310 IFS="$save_ifs"
87857311
87867312 test -n "$7" && \
8787 func_fatal_help "too many parameters to '-version-info'"
7313 func_fatal_help "too many parameters to \`-version-info'"
87887314
87897315 # convert absolute version numbers to libtool ages
87907316 # this retains compatibility with .la files and attempts
87927318
87937319 case $vinfo_number in
87947320 yes)
8795 number_major=$1
8796 number_minor=$2
8797 number_revision=$3
7321 number_major="$1"
7322 number_minor="$2"
7323 number_revision="$3"
87987324 #
87997325 # There are really only two kinds -- those that
88007326 # use the current revision as the major version
88017327 # and those that subtract age and use age as
88027328 # a minor version. But, then there is irix
8803 # that has an extra 1 added just for fun
7329 # which has an extra 1 added just for fun
88047330 #
88057331 case $version_type in
88067332 # correct linux to gnu/linux during the next big refactor
8807 darwin|freebsd-elf|linux|osf|windows|none)
7333 darwin|linux|osf|windows|none)
88087334 func_arith $number_major + $number_minor
88097335 current=$func_arith_result
8810 age=$number_minor
8811 revision=$number_revision
7336 age="$number_minor"
7337 revision="$number_revision"
88127338 ;;
8813 freebsd-aout|qnx|sunos)
8814 current=$number_major
8815 revision=$number_minor
8816 age=0
7339 freebsd-aout|freebsd-elf|qnx|sunos)
7340 current="$number_major"
7341 revision="$number_minor"
7342 age="0"
88177343 ;;
88187344 irix|nonstopux)
88197345 func_arith $number_major + $number_minor
88207346 current=$func_arith_result
8821 age=$number_minor
8822 revision=$number_minor
7347 age="$number_minor"
7348 revision="$number_minor"
88237349 lt_irix_increment=no
88247350 ;;
88257351 esac
88267352 ;;
88277353 no)
8828 current=$1
8829 revision=$2
8830 age=$3
7354 current="$1"
7355 revision="$2"
7356 age="$3"
88317357 ;;
88327358 esac
88337359
88357361 case $current in
88367362 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
88377363 *)
8838 func_error "CURRENT '$current' must be a nonnegative integer"
8839 func_fatal_error "'$vinfo' is not valid version information"
7364 func_error "CURRENT \`$current' must be a nonnegative integer"
7365 func_fatal_error "\`$vinfo' is not valid version information"
88407366 ;;
88417367 esac
88427368
88437369 case $revision in
88447370 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
88457371 *)
8846 func_error "REVISION '$revision' must be a nonnegative integer"
8847 func_fatal_error "'$vinfo' is not valid version information"
7372 func_error "REVISION \`$revision' must be a nonnegative integer"
7373 func_fatal_error "\`$vinfo' is not valid version information"
88487374 ;;
88497375 esac
88507376
88517377 case $age in
88527378 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
88537379 *)
8854 func_error "AGE '$age' must be a nonnegative integer"
8855 func_fatal_error "'$vinfo' is not valid version information"
7380 func_error "AGE \`$age' must be a nonnegative integer"
7381 func_fatal_error "\`$vinfo' is not valid version information"
88567382 ;;
88577383 esac
88587384
88597385 if test "$age" -gt "$current"; then
8860 func_error "AGE '$age' is greater than the current interface number '$current'"
8861 func_fatal_error "'$vinfo' is not valid version information"
7386 func_error "AGE \`$age' is greater than the current interface number \`$current'"
7387 func_fatal_error "\`$vinfo' is not valid version information"
88627388 fi
88637389
88647390 # Calculate the version variables.
88737399 # verstring for coding it into the library header
88747400 func_arith $current - $age
88757401 major=.$func_arith_result
8876 versuffix=$major.$age.$revision
7402 versuffix="$major.$age.$revision"
88777403 # Darwin ld doesn't like 0 for these options...
88787404 func_arith $current + 1
88797405 minor_current=$func_arith_result
8880 xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
7406 xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
88817407 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
8882 # On Darwin other compilers
8883 case $CC in
8884 nagfor*)
8885 verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
8886 ;;
8887 *)
8888 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
8889 ;;
8890 esac
88917408 ;;
88927409
88937410 freebsd-aout)
8894 major=.$current
8895 versuffix=.$current.$revision
7411 major=".$current"
7412 versuffix=".$current.$revision";
88967413 ;;
88977414
88987415 freebsd-elf)
8899 func_arith $current - $age
8900 major=.$func_arith_result
8901 versuffix=$major.$age.$revision
7416 major=".$current"
7417 versuffix=".$current"
89027418 ;;
89037419
89047420 irix | nonstopux)
8905 if test no = "$lt_irix_increment"; then
7421 if test "X$lt_irix_increment" = "Xno"; then
89067422 func_arith $current - $age
89077423 else
89087424 func_arith $current - $age + 1
89137429 nonstopux) verstring_prefix=nonstopux ;;
89147430 *) verstring_prefix=sgi ;;
89157431 esac
8916 verstring=$verstring_prefix$major.$revision
7432 verstring="$verstring_prefix$major.$revision"
89177433
89187434 # Add in all the interfaces that we are compatible with.
89197435 loop=$revision
8920 while test 0 -ne "$loop"; do
7436 while test "$loop" -ne 0; do
89217437 func_arith $revision - $loop
89227438 iface=$func_arith_result
89237439 func_arith $loop - 1
89247440 loop=$func_arith_result
8925 verstring=$verstring_prefix$major.$iface:$verstring
7441 verstring="$verstring_prefix$major.$iface:$verstring"
89267442 done
89277443
8928 # Before this point, $major must not contain '.'.
7444 # Before this point, $major must not contain `.'.
89297445 major=.$major
8930 versuffix=$major.$revision
7446 versuffix="$major.$revision"
89317447 ;;
89327448
89337449 linux) # correct to gnu/linux during the next big refactor
89347450 func_arith $current - $age
89357451 major=.$func_arith_result
8936 versuffix=$major.$age.$revision
7452 versuffix="$major.$age.$revision"
89377453 ;;
89387454
89397455 osf)
89407456 func_arith $current - $age
89417457 major=.$func_arith_result
8942 versuffix=.$current.$age.$revision
8943 verstring=$current.$age.$revision
7458 versuffix=".$current.$age.$revision"
7459 verstring="$current.$age.$revision"
89447460
89457461 # Add in all the interfaces that we are compatible with.
89467462 loop=$age
8947 while test 0 -ne "$loop"; do
7463 while test "$loop" -ne 0; do
89487464 func_arith $current - $loop
89497465 iface=$func_arith_result
89507466 func_arith $loop - 1
89517467 loop=$func_arith_result
8952 verstring=$verstring:$iface.0
7468 verstring="$verstring:${iface}.0"
89537469 done
89547470
89557471 # Make executables depend on our current version.
8956 func_append verstring ":$current.0"
7472 func_append verstring ":${current}.0"
89577473 ;;
89587474
89597475 qnx)
8960 major=.$current
8961 versuffix=.$current
7476 major=".$current"
7477 versuffix=".$current"
89627478 ;;
89637479
8964 sco)
8965 major=.$current
8966 versuffix=.$current
8967 ;;
8968
89697480 sunos)
8970 major=.$current
8971 versuffix=.$current.$revision
7481 major=".$current"
7482 versuffix=".$current.$revision"
89727483 ;;
89737484
89747485 windows)
89757486 # Use '-' rather than '.', since we only want one
8976 # extension on DOS 8.3 file systems.
7487 # extension on DOS 8.3 filesystems.
89777488 func_arith $current - $age
89787489 major=$func_arith_result
8979 versuffix=-$major
7490 versuffix="-$major"
89807491 ;;
89817492
89827493 *)
8983 func_fatal_configuration "unknown library version type '$version_type'"
7494 func_fatal_configuration "unknown library version type \`$version_type'"
89847495 ;;
89857496 esac
89867497
89947505 verstring=
89957506 ;;
89967507 *)
8997 verstring=0.0
7508 verstring="0.0"
89987509 ;;
89997510 esac
9000 if test no = "$need_version"; then
7511 if test "$need_version" = no; then
90017512 versuffix=
90027513 else
9003 versuffix=.0.0
7514 versuffix=".0.0"
90047515 fi
90057516 fi
90067517
90077518 # Remove version info from name if versioning should be avoided
9008 if test yes,no = "$avoid_version,$need_version"; then
7519 if test "$avoid_version" = yes && test "$need_version" = no; then
90097520 major=
90107521 versuffix=
9011 verstring=
7522 verstring=""
90127523 fi
90137524
90147525 # Check to see if the archive will have undefined symbols.
9015 if test yes = "$allow_undefined"; then
9016 if test unsupported = "$allow_undefined_flag"; then
9017 if test yes = "$build_old_libs"; then
9018 func_warning "undefined symbols not allowed in $host shared libraries; building static only"
9019 build_libtool_libs=no
9020 else
9021 func_fatal_error "can't build $host shared library unless -no-undefined is specified"
9022 fi
7526 if test "$allow_undefined" = yes; then
7527 if test "$allow_undefined_flag" = unsupported; then
7528 func_warning "undefined symbols not allowed in $host shared libraries"
7529 build_libtool_libs=no
7530 build_old_libs=yes
90237531 fi
90247532 else
90257533 # Don't allow undefined symbols.
9026 allow_undefined_flag=$no_undefined_flag
7534 allow_undefined_flag="$no_undefined_flag"
90277535 fi
90287536
90297537 fi
90307538
9031 func_generate_dlsyms "$libname" "$libname" :
7539 func_generate_dlsyms "$libname" "$libname" "yes"
90327540 func_append libobjs " $symfileobj"
9033 test " " = "$libobjs" && libobjs=
9034
9035 if test relink != "$opt_mode"; then
7541 test "X$libobjs" = "X " && libobjs=
7542
7543 if test "$opt_mode" != relink; then
90367544 # Remove our outputs, but don't remove object files since they
90377545 # may have been created when compiling PIC objects.
90387546 removelist=
90417549 case $p in
90427550 *.$objext | *.gcno)
90437551 ;;
9044 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
9045 if test -n "$precious_files_regex"; then
7552 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
7553 if test "X$precious_files_regex" != "X"; then
90467554 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
90477555 then
90487556 continue
90587566 fi
90597567
90607568 # Now set the variables for building old libraries.
9061 if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
7569 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
90627570 func_append oldlibs " $output_objdir/$libname.$libext"
90637571
90647572 # Transform .lo files to .o files.
9065 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
7573 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
90667574 fi
90677575
90687576 # Eliminate all temporary directories.
90837591 *) func_append finalize_rpath " $libdir" ;;
90847592 esac
90857593 done
9086 if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
7594 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
90877595 dependency_libs="$temp_xrpath $dependency_libs"
90887596 fi
90897597 fi
90907598
90917599 # Make sure dlfiles contains only unique files that won't be dlpreopened
9092 old_dlfiles=$dlfiles
7600 old_dlfiles="$dlfiles"
90937601 dlfiles=
90947602 for lib in $old_dlfiles; do
90957603 case " $dlprefiles $dlfiles " in
90997607 done
91007608
91017609 # Make sure dlprefiles contains only unique files
9102 old_dlprefiles=$dlprefiles
7610 old_dlprefiles="$dlprefiles"
91037611 dlprefiles=
91047612 for lib in $old_dlprefiles; do
91057613 case "$dlprefiles " in
91087616 esac
91097617 done
91107618
9111 if test yes = "$build_libtool_libs"; then
7619 if test "$build_libtool_libs" = yes; then
91127620 if test -n "$rpath"; then
91137621 case $host in
91147622 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
91327640 ;;
91337641 *)
91347642 # Add libc to deplibs on all other systems if necessary.
9135 if test yes = "$build_libtool_need_lc"; then
7643 if test "$build_libtool_need_lc" = "yes"; then
91367644 func_append deplibs " -lc"
91377645 fi
91387646 ;;
91487656 # I'm not sure if I'm treating the release correctly. I think
91497657 # release should show up in the -l (ie -lgmp5) so we don't want to
91507658 # add it in twice. Is that correct?
9151 release=
9152 versuffix=
9153 major=
7659 release=""
7660 versuffix=""
7661 major=""
91547662 newdeplibs=
91557663 droppeddeps=no
91567664 case $deplibs_check_method in
91797687 -l*)
91807688 func_stripname -l '' "$i"
91817689 name=$func_stripname_result
9182 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7690 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
91837691 case " $predeps $postdeps " in
91847692 *" $i "*)
91857693 func_append newdeplibs " $i"
9186 i=
7694 i=""
91877695 ;;
91887696 esac
91897697 fi
9190 if test -n "$i"; then
7698 if test -n "$i" ; then
91917699 libname=`eval "\\$ECHO \"$libname_spec\""`
91927700 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
91937701 set dummy $deplib_matches; shift
91947702 deplib_match=$1
9195 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
7703 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
91967704 func_append newdeplibs " $i"
91977705 else
91987706 droppeddeps=yes
92227730 $opt_dry_run || $RM conftest
92237731 if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
92247732 ldd_output=`ldd conftest`
9225 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7733 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
92267734 case " $predeps $postdeps " in
92277735 *" $i "*)
92287736 func_append newdeplibs " $i"
9229 i=
7737 i=""
92307738 ;;
92317739 esac
92327740 fi
9233 if test -n "$i"; then
7741 if test -n "$i" ; then
92347742 libname=`eval "\\$ECHO \"$libname_spec\""`
92357743 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
92367744 set dummy $deplib_matches; shift
92377745 deplib_match=$1
9238 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
7746 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
92397747 func_append newdeplibs " $i"
92407748 else
92417749 droppeddeps=yes
92727780 -l*)
92737781 func_stripname -l '' "$a_deplib"
92747782 name=$func_stripname_result
9275 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7783 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
92767784 case " $predeps $postdeps " in
92777785 *" $a_deplib "*)
92787786 func_append newdeplibs " $a_deplib"
9279 a_deplib=
7787 a_deplib=""
92807788 ;;
92817789 esac
92827790 fi
9283 if test -n "$a_deplib"; then
7791 if test -n "$a_deplib" ; then
92847792 libname=`eval "\\$ECHO \"$libname_spec\""`
92857793 if test -n "$file_magic_glob"; then
92867794 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
92877795 else
92887796 libnameglob=$libname
92897797 fi
9290 test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
7798 test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
92917799 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
9292 if test yes = "$want_nocaseglob"; then
7800 if test "$want_nocaseglob" = yes; then
92937801 shopt -s nocaseglob
92947802 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
92957803 $nocaseglob
93077815 # We might still enter an endless loop, since a link
93087816 # loop can be closed while we follow links,
93097817 # but so what?
9310 potlib=$potent_lib
7818 potlib="$potent_lib"
93117819 while test -h "$potlib" 2>/dev/null; do
9312 potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
7820 potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
93137821 case $potliblink in
9314 [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
9315 *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
7822 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
7823 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
93167824 esac
93177825 done
93187826 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
93197827 $SED -e 10q |
93207828 $EGREP "$file_magic_regex" > /dev/null; then
93217829 func_append newdeplibs " $a_deplib"
9322 a_deplib=
7830 a_deplib=""
93237831 break 2
93247832 fi
93257833 done
93267834 done
93277835 fi
9328 if test -n "$a_deplib"; then
7836 if test -n "$a_deplib" ; then
93297837 droppeddeps=yes
93307838 echo
93317839 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
93337841 echo "*** you link to this library. But I can only do this if you have a"
93347842 echo "*** shared version of the library, which you do not appear to have"
93357843 echo "*** because I did check the linker path looking for a file starting"
9336 if test -z "$potlib"; then
7844 if test -z "$potlib" ; then
93377845 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
93387846 else
93397847 $ECHO "*** with $libname and none of the candidates passed a file format test"
93567864 -l*)
93577865 func_stripname -l '' "$a_deplib"
93587866 name=$func_stripname_result
9359 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7867 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
93607868 case " $predeps $postdeps " in
93617869 *" $a_deplib "*)
93627870 func_append newdeplibs " $a_deplib"
9363 a_deplib=
7871 a_deplib=""
93647872 ;;
93657873 esac
93667874 fi
9367 if test -n "$a_deplib"; then
7875 if test -n "$a_deplib" ; then
93687876 libname=`eval "\\$ECHO \"$libname_spec\""`
93697877 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
93707878 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
93717879 for potent_lib in $potential_libs; do
9372 potlib=$potent_lib # see symlink-check above in file_magic test
7880 potlib="$potent_lib" # see symlink-check above in file_magic test
93737881 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
93747882 $EGREP "$match_pattern_regex" > /dev/null; then
93757883 func_append newdeplibs " $a_deplib"
9376 a_deplib=
7884 a_deplib=""
93777885 break 2
93787886 fi
93797887 done
93807888 done
93817889 fi
9382 if test -n "$a_deplib"; then
7890 if test -n "$a_deplib" ; then
93837891 droppeddeps=yes
93847892 echo
93857893 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
93877895 echo "*** you link to this library. But I can only do this if you have a"
93887896 echo "*** shared version of the library, which you do not appear to have"
93897897 echo "*** because I did check the linker path looking for a file starting"
9390 if test -z "$potlib"; then
7898 if test -z "$potlib" ; then
93917899 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
93927900 else
93937901 $ECHO "*** with $libname and none of the candidates passed a file format test"
94037911 done # Gone through all deplibs.
94047912 ;;
94057913 none | unknown | *)
9406 newdeplibs=
7914 newdeplibs=""
94077915 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
9408 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9409 for i in $predeps $postdeps; do
7916 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7917 for i in $predeps $postdeps ; do
94107918 # can't use Xsed below, because $i might contain '/'
9411 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
7919 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
94127920 done
94137921 fi
94147922 case $tmp_deplibs in
94157923 *[!\ \ ]*)
94167924 echo
9417 if test none = "$deplibs_check_method"; then
7925 if test "X$deplibs_check_method" = "Xnone"; then
94187926 echo "*** Warning: inter-library dependencies are not supported in this platform."
94197927 else
94207928 echo "*** Warning: inter-library dependencies are not known to be supported."
94387946 ;;
94397947 esac
94407948
9441 if test yes = "$droppeddeps"; then
9442 if test yes = "$module"; then
7949 if test "$droppeddeps" = yes; then
7950 if test "$module" = yes; then
94437951 echo
94447952 echo "*** Warning: libtool could not satisfy all declared inter-library"
94457953 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
94487956 if test -z "$global_symbol_pipe"; then
94497957 echo
94507958 echo "*** However, this would only work if libtool was able to extract symbol"
9451 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
7959 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
94527960 echo "*** not find such a program. So, this module is probably useless."
9453 echo "*** 'nm' from GNU binutils and a full rebuild may help."
7961 echo "*** \`nm' from GNU binutils and a full rebuild may help."
94547962 fi
9455 if test no = "$build_old_libs"; then
9456 oldlibs=$output_objdir/$libname.$libext
7963 if test "$build_old_libs" = no; then
7964 oldlibs="$output_objdir/$libname.$libext"
94577965 build_libtool_libs=module
94587966 build_old_libs=yes
94597967 else
94647972 echo "*** automatically added whenever a program is linked with this library"
94657973 echo "*** or is declared to -dlopen it."
94667974
9467 if test no = "$allow_undefined"; then
7975 if test "$allow_undefined" = no; then
94687976 echo
94697977 echo "*** Since this library must not contain undefined symbols,"
94707978 echo "*** because either the platform does not support them or"
94717979 echo "*** it was explicitly requested with -no-undefined,"
94727980 echo "*** libtool will only create a static version of it."
9473 if test no = "$build_old_libs"; then
9474 oldlibs=$output_objdir/$libname.$libext
7981 if test "$build_old_libs" = no; then
7982 oldlibs="$output_objdir/$libname.$libext"
94757983 build_libtool_libs=module
94767984 build_old_libs=yes
94777985 else
95178025 *) func_append new_libs " $deplib" ;;
95188026 esac
95198027 done
9520 deplibs=$new_libs
8028 deplibs="$new_libs"
95218029
95228030 # All the library-specific variables (install_libdir is set above).
95238031 library_names=
95258033 dlname=
95268034
95278035 # Test again, we may have decided not to build it any more
9528 if test yes = "$build_libtool_libs"; then
9529 # Remove $wl instances when linking with ld.
8036 if test "$build_libtool_libs" = yes; then
8037 # Remove ${wl} instances when linking with ld.
95308038 # FIXME: should test the right _cmds variable.
95318039 case $archive_cmds in
95328040 *\$LD\ *) wl= ;;
95338041 esac
9534 if test yes = "$hardcode_into_libs"; then
8042 if test "$hardcode_into_libs" = yes; then
95358043 # Hardcode the library paths
95368044 hardcode_libdirs=
95378045 dep_rpath=
9538 rpath=$finalize_rpath
9539 test relink = "$opt_mode" || rpath=$compile_rpath$rpath
8046 rpath="$finalize_rpath"
8047 test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
95408048 for libdir in $rpath; do
95418049 if test -n "$hardcode_libdir_flag_spec"; then
95428050 if test -n "$hardcode_libdir_separator"; then
95438051 func_replace_sysroot "$libdir"
95448052 libdir=$func_replace_sysroot_result
95458053 if test -z "$hardcode_libdirs"; then
9546 hardcode_libdirs=$libdir
8054 hardcode_libdirs="$libdir"
95478055 else
95488056 # Just accumulate the unique libdirs.
95498057 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
95688076 # Substitute the hardcoded libdirs into the rpath.
95698077 if test -n "$hardcode_libdir_separator" &&
95708078 test -n "$hardcode_libdirs"; then
9571 libdir=$hardcode_libdirs
8079 libdir="$hardcode_libdirs"
95728080 eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
95738081 fi
95748082 if test -n "$runpath_var" && test -n "$perm_rpath"; then
95828090 test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
95838091 fi
95848092
9585 shlibpath=$finalize_shlibpath
9586 test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
8093 shlibpath="$finalize_shlibpath"
8094 test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
95878095 if test -n "$shlibpath"; then
95888096 eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
95898097 fi
95938101 eval library_names=\"$library_names_spec\"
95948102 set dummy $library_names
95958103 shift
9596 realname=$1
8104 realname="$1"
95978105 shift
95988106
95998107 if test -n "$soname_spec"; then
96008108 eval soname=\"$soname_spec\"
96018109 else
9602 soname=$realname
8110 soname="$realname"
96038111 fi
96048112 if test -z "$dlname"; then
96058113 dlname=$soname
96068114 fi
96078115
9608 lib=$output_objdir/$realname
8116 lib="$output_objdir/$realname"
96098117 linknames=
96108118 for link
96118119 do
96198127 delfiles=
96208128 if test -n "$export_symbols" && test -n "$include_expsyms"; then
96218129 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
9622 export_symbols=$output_objdir/$libname.uexp
8130 export_symbols="$output_objdir/$libname.uexp"
96238131 func_append delfiles " $export_symbols"
96248132 fi
96258133
96288136 cygwin* | mingw* | cegcc*)
96298137 if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
96308138 # exporting using user supplied symfile
9631 func_dll_def_p "$export_symbols" || {
8139 if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
96328140 # and it's NOT already a .def file. Must figure out
96338141 # which of the given symbols are data symbols and tag
96348142 # them as such. So, trigger use of export_symbols_cmds.
96358143 # export_symbols gets reassigned inside the "prepare
96368144 # the list of exported symbols" if statement, so the
96378145 # include_expsyms logic still works.
9638 orig_export_symbols=$export_symbols
8146 orig_export_symbols="$export_symbols"
96398147 export_symbols=
96408148 always_export_symbols=yes
9641 }
8149 fi
96428150 fi
96438151 ;;
96448152 esac
96458153
96468154 # Prepare the list of exported symbols
96478155 if test -z "$export_symbols"; then
9648 if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
9649 func_verbose "generating symbol list for '$libname.la'"
9650 export_symbols=$output_objdir/$libname.exp
8156 if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
8157 func_verbose "generating symbol list for \`$libname.la'"
8158 export_symbols="$output_objdir/$libname.exp"
96518159 $opt_dry_run || $RM $export_symbols
96528160 cmds=$export_symbols_cmds
9653 save_ifs=$IFS; IFS='~'
8161 save_ifs="$IFS"; IFS='~'
96548162 for cmd1 in $cmds; do
9655 IFS=$save_ifs
8163 IFS="$save_ifs"
96568164 # Take the normal branch if the nm_file_list_spec branch
96578165 # doesn't work or if tool conversion is not needed.
96588166 case $nm_file_list_spec~$to_tool_file_cmd in
96668174 try_normal_branch=no
96678175 ;;
96688176 esac
9669 if test yes = "$try_normal_branch" \
8177 if test "$try_normal_branch" = yes \
96708178 && { test "$len" -lt "$max_cmd_len" \
96718179 || test "$max_cmd_len" -le -1; }
96728180 then
96778185 output_la=$func_basename_result
96788186 save_libobjs=$libobjs
96798187 save_output=$output
9680 output=$output_objdir/$output_la.nm
8188 output=${output_objdir}/${output_la}.nm
96818189 func_to_tool_file "$output"
96828190 libobjs=$nm_file_list_spec$func_to_tool_file_result
96838191 func_append delfiles " $output"
97008208 break
97018209 fi
97028210 done
9703 IFS=$save_ifs
9704 if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
8211 IFS="$save_ifs"
8212 if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
97058213 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
97068214 func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
97078215 fi
97098217 fi
97108218
97118219 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9712 tmp_export_symbols=$export_symbols
9713 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
8220 tmp_export_symbols="$export_symbols"
8221 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
97148222 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
97158223 fi
97168224
9717 if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
8225 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
97188226 # The given exports_symbols file has to be filtered, so filter it.
9719 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
8227 func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
97208228 # FIXME: $output_objdir/$libname.filter potentially contains lots of
9721 # 's' commands, which not all seds can handle. GNU sed should be fine
8229 # 's' commands which not all seds can handle. GNU sed should be fine
97228230 # though. Also, the filter scales superlinearly with the number of
97238231 # global variables. join(1) would be nice here, but unfortunately
97248232 # isn't a blessed tool.
97378245 ;;
97388246 esac
97398247 done
9740 deplibs=$tmp_deplibs
8248 deplibs="$tmp_deplibs"
97418249
97428250 if test -n "$convenience"; then
97438251 if test -n "$whole_archive_flag_spec" &&
9744 test yes = "$compiler_needs_object" &&
8252 test "$compiler_needs_object" = yes &&
97458253 test -z "$libobjs"; then
97468254 # extract the archives, so we have objects to list.
97478255 # TODO: could optimize this to just extract one archive.
97528260 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
97538261 test "X$libobjs" = "X " && libobjs=
97548262 else
9755 gentop=$output_objdir/${outputname}x
8263 gentop="$output_objdir/${outputname}x"
97568264 func_append generated " $gentop"
97578265
97588266 func_extract_archives $gentop $convenience
97618269 fi
97628270 fi
97638271
9764 if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
8272 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
97658273 eval flag=\"$thread_safe_flag_spec\"
97668274 func_append linker_flags " $flag"
97678275 fi
97688276
97698277 # Make a backup of the uninstalled library when relinking
9770 if test relink = "$opt_mode"; then
8278 if test "$opt_mode" = relink; then
97718279 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
97728280 fi
97738281
97748282 # Do each of the archive commands.
9775 if test yes = "$module" && test -n "$module_cmds"; then
8283 if test "$module" = yes && test -n "$module_cmds" ; then
97768284 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
97778285 eval test_cmds=\"$module_expsym_cmds\"
97788286 cmds=$module_expsym_cmds
97908298 fi
97918299 fi
97928300
9793 if test : != "$skipped_export" &&
8301 if test "X$skipped_export" != "X:" &&
97948302 func_len " $test_cmds" &&
97958303 len=$func_len_result &&
97968304 test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
98238331 last_robj=
98248332 k=1
98258333
9826 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
9827 output=$output_objdir/$output_la.lnkscript
8334 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
8335 output=${output_objdir}/${output_la}.lnkscript
98288336 func_verbose "creating GNU ld script: $output"
98298337 echo 'INPUT (' > $output
98308338 for obj in $save_libobjs
98368344 func_append delfiles " $output"
98378345 func_to_tool_file "$output"
98388346 output=$func_to_tool_file_result
9839 elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
9840 output=$output_objdir/$output_la.lnk
8347 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
8348 output=${output_objdir}/${output_la}.lnk
98418349 func_verbose "creating linker input file list: $output"
98428350 : > $output
98438351 set x $save_libobjs
98448352 shift
98458353 firstobj=
9846 if test yes = "$compiler_needs_object"; then
8354 if test "$compiler_needs_object" = yes; then
98478355 firstobj="$1 "
98488356 shift
98498357 fi
98588366 else
98598367 if test -n "$save_libobjs"; then
98608368 func_verbose "creating reloadable object files..."
9861 output=$output_objdir/$output_la-$k.$objext
8369 output=$output_objdir/$output_la-${k}.$objext
98628370 eval test_cmds=\"$reload_cmds\"
98638371 func_len " $test_cmds"
98648372 len0=$func_len_result
98708378 func_len " $obj"
98718379 func_arith $len + $func_len_result
98728380 len=$func_arith_result
9873 if test -z "$objlist" ||
8381 if test "X$objlist" = X ||
98748382 test "$len" -lt "$max_cmd_len"; then
98758383 func_append objlist " $obj"
98768384 else
98778385 # The command $test_cmds is almost too long, add a
98788386 # command to the queue.
9879 if test 1 -eq "$k"; then
8387 if test "$k" -eq 1 ; then
98808388 # The first file doesn't have a previous command to add.
98818389 reload_objs=$objlist
98828390 eval concat_cmds=\"$reload_cmds\"
98868394 reload_objs="$objlist $last_robj"
98878395 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
98888396 fi
9889 last_robj=$output_objdir/$output_la-$k.$objext
8397 last_robj=$output_objdir/$output_la-${k}.$objext
98908398 func_arith $k + 1
98918399 k=$func_arith_result
9892 output=$output_objdir/$output_la-$k.$objext
8400 output=$output_objdir/$output_la-${k}.$objext
98938401 objlist=" $obj"
98948402 func_len " $last_robj"
98958403 func_arith $len0 + $func_len_result
99018409 # files will link in the last one created.
99028410 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
99038411 reload_objs="$objlist $last_robj"
9904 eval concat_cmds=\"\$concat_cmds$reload_cmds\"
8412 eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
99058413 if test -n "$last_robj"; then
9906 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
8414 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
99078415 fi
99088416 func_append delfiles " $output"
99098417
99118419 output=
99128420 fi
99138421
9914 ${skipped_export-false} && {
9915 func_verbose "generating symbol list for '$libname.la'"
9916 export_symbols=$output_objdir/$libname.exp
8422 if ${skipped_export-false}; then
8423 func_verbose "generating symbol list for \`$libname.la'"
8424 export_symbols="$output_objdir/$libname.exp"
99178425 $opt_dry_run || $RM $export_symbols
99188426 libobjs=$output
99198427 # Append the command to create the export file.
99228430 if test -n "$last_robj"; then
99238431 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
99248432 fi
9925 }
8433 fi
99268434
99278435 test -n "$save_libobjs" &&
99288436 func_verbose "creating a temporary reloadable object file: $output"
99298437
99308438 # Loop through the commands generated above and execute them.
9931 save_ifs=$IFS; IFS='~'
8439 save_ifs="$IFS"; IFS='~'
99328440 for cmd in $concat_cmds; do
9933 IFS=$save_ifs
9934 $opt_quiet || {
8441 IFS="$save_ifs"
8442 $opt_silent || {
99358443 func_quote_for_expand "$cmd"
99368444 eval "func_echo $func_quote_for_expand_result"
99378445 }
99398447 lt_exit=$?
99408448
99418449 # Restore the uninstalled library and exit
9942 if test relink = "$opt_mode"; then
8450 if test "$opt_mode" = relink; then
99438451 ( cd "$output_objdir" && \
99448452 $RM "${realname}T" && \
99458453 $MV "${realname}U" "$realname" )
99488456 exit $lt_exit
99498457 }
99508458 done
9951 IFS=$save_ifs
8459 IFS="$save_ifs"
99528460
99538461 if test -n "$export_symbols_regex" && ${skipped_export-false}; then
99548462 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
99568464 fi
99578465 fi
99588466
9959 ${skipped_export-false} && {
8467 if ${skipped_export-false}; then
99608468 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9961 tmp_export_symbols=$export_symbols
9962 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
8469 tmp_export_symbols="$export_symbols"
8470 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
99638471 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
99648472 fi
99658473
99668474 if test -n "$orig_export_symbols"; then
99678475 # The given exports_symbols file has to be filtered, so filter it.
9968 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
8476 func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
99698477 # FIXME: $output_objdir/$libname.filter potentially contains lots of
9970 # 's' commands, which not all seds can handle. GNU sed should be fine
8478 # 's' commands which not all seds can handle. GNU sed should be fine
99718479 # though. Also, the filter scales superlinearly with the number of
99728480 # global variables. join(1) would be nice here, but unfortunately
99738481 # isn't a blessed tool.
99768484 export_symbols=$output_objdir/$libname.def
99778485 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
99788486 fi
9979 }
8487 fi
99808488
99818489 libobjs=$output
99828490 # Restore the value of output.
99908498 # value of $libobjs for piecewise linking.
99918499
99928500 # Do each of the archive commands.
9993 if test yes = "$module" && test -n "$module_cmds"; then
8501 if test "$module" = yes && test -n "$module_cmds" ; then
99948502 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
99958503 cmds=$module_expsym_cmds
99968504 else
100128520
100138521 # Add any objects from preloaded convenience libraries
100148522 if test -n "$dlprefiles"; then
10015 gentop=$output_objdir/${outputname}x
8523 gentop="$output_objdir/${outputname}x"
100168524 func_append generated " $gentop"
100178525
100188526 func_extract_archives $gentop $dlprefiles
100208528 test "X$libobjs" = "X " && libobjs=
100218529 fi
100228530
10023 save_ifs=$IFS; IFS='~'
8531 save_ifs="$IFS"; IFS='~'
100248532 for cmd in $cmds; do
10025 IFS=$sp$nl
8533 IFS="$save_ifs"
100268534 eval cmd=\"$cmd\"
10027 IFS=$save_ifs
10028 $opt_quiet || {
8535 $opt_silent || {
100298536 func_quote_for_expand "$cmd"
100308537 eval "func_echo $func_quote_for_expand_result"
100318538 }
100338540 lt_exit=$?
100348541
100358542 # Restore the uninstalled library and exit
10036 if test relink = "$opt_mode"; then
8543 if test "$opt_mode" = relink; then
100378544 ( cd "$output_objdir" && \
100388545 $RM "${realname}T" && \
100398546 $MV "${realname}U" "$realname" )
100428549 exit $lt_exit
100438550 }
100448551 done
10045 IFS=$save_ifs
8552 IFS="$save_ifs"
100468553
100478554 # Restore the uninstalled library and exit
10048 if test relink = "$opt_mode"; then
8555 if test "$opt_mode" = relink; then
100498556 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
100508557
100518558 if test -n "$convenience"; then
100658572 done
100668573
100678574 # If -module or -export-dynamic was specified, set the dlname.
10068 if test yes = "$module" || test yes = "$export_dynamic"; then
8575 if test "$module" = yes || test "$export_dynamic" = yes; then
100698576 # On all known operating systems, these are identical.
10070 dlname=$soname
8577 dlname="$soname"
100718578 fi
100728579 fi
100738580 ;;
100748581
100758582 obj)
10076 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
10077 func_warning "'-dlopen' is ignored for objects"
8583 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
8584 func_warning "\`-dlopen' is ignored for objects"
100788585 fi
100798586
100808587 case " $deplibs" in
100818588 *\ -l* | *\ -L*)
10082 func_warning "'-l' and '-L' are ignored for objects" ;;
8589 func_warning "\`-l' and \`-L' are ignored for objects" ;;
100838590 esac
100848591
100858592 test -n "$rpath" && \
10086 func_warning "'-rpath' is ignored for objects"
8593 func_warning "\`-rpath' is ignored for objects"
100878594
100888595 test -n "$xrpath" && \
10089 func_warning "'-R' is ignored for objects"
8596 func_warning "\`-R' is ignored for objects"
100908597
100918598 test -n "$vinfo" && \
10092 func_warning "'-version-info' is ignored for objects"
8599 func_warning "\`-version-info' is ignored for objects"
100938600
100948601 test -n "$release" && \
10095 func_warning "'-release' is ignored for objects"
8602 func_warning "\`-release' is ignored for objects"
100968603
100978604 case $output in
100988605 *.lo)
100998606 test -n "$objs$old_deplibs" && \
10100 func_fatal_error "cannot build library object '$output' from non-libtool objects"
8607 func_fatal_error "cannot build library object \`$output' from non-libtool objects"
101018608
101028609 libobj=$output
101038610 func_lo2o "$libobj"
101058612 ;;
101068613 *)
101078614 libobj=
10108 obj=$output
8615 obj="$output"
101098616 ;;
101108617 esac
101118618
101188625 # the extraction.
101198626 reload_conv_objs=
101208627 gentop=
10121 # if reload_cmds runs $LD directly, get rid of -Wl from
10122 # whole_archive_flag_spec and hope we can get by with turning comma
10123 # into space.
10124 case $reload_cmds in
10125 *\$LD[\ \$]*) wl= ;;
10126 esac
8628 # reload_cmds runs $LD directly, so let us get rid of
8629 # -Wl from whole_archive_flag_spec and hope we can get by with
8630 # turning comma into space..
8631 wl=
8632
101278633 if test -n "$convenience"; then
101288634 if test -n "$whole_archive_flag_spec"; then
101298635 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
10130 test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
10131 reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
8636 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
101328637 else
10133 gentop=$output_objdir/${obj}x
8638 gentop="$output_objdir/${obj}x"
101348639 func_append generated " $gentop"
101358640
101368641 func_extract_archives $gentop $convenience
101398644 fi
101408645
101418646 # If we're not building shared, we need to use non_pic_objs
10142 test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
8647 test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
101438648
101448649 # Create the old-style object.
10145 reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
10146
10147 output=$obj
8650 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
8651
8652 output="$obj"
101488653 func_execute_cmds "$reload_cmds" 'exit $?'
101498654
101508655 # Exit if we aren't doing a library object file.
101568661 exit $EXIT_SUCCESS
101578662 fi
101588663
10159 test yes = "$build_libtool_libs" || {
8664 if test "$build_libtool_libs" != yes; then
101608665 if test -n "$gentop"; then
101618666 func_show_eval '${RM}r "$gentop"'
101628667 fi
101668671 # $show "echo timestamp > $libobj"
101678672 # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
101688673 exit $EXIT_SUCCESS
10169 }
10170
10171 if test -n "$pic_flag" || test default != "$pic_mode"; then
8674 fi
8675
8676 if test -n "$pic_flag" || test "$pic_mode" != default; then
101728677 # Only do commands if we really have different PIC objects.
101738678 reload_objs="$libobjs $reload_conv_objs"
10174 output=$libobj
8679 output="$libobj"
101758680 func_execute_cmds "$reload_cmds" 'exit $?'
101768681 fi
101778682
101888693 output=$func_stripname_result.exe;;
101898694 esac
101908695 test -n "$vinfo" && \
10191 func_warning "'-version-info' is ignored for programs"
8696 func_warning "\`-version-info' is ignored for programs"
101928697
101938698 test -n "$release" && \
10194 func_warning "'-release' is ignored for programs"
10195
10196 $preload \
10197 && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
10198 && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
8699 func_warning "\`-release' is ignored for programs"
8700
8701 test "$preload" = yes \
8702 && test "$dlopen_support" = unknown \
8703 && test "$dlopen_self" = unknown \
8704 && test "$dlopen_self_static" = unknown && \
8705 func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
101998706
102008707 case $host in
102018708 *-*-rhapsody* | *-*-darwin1.[012])
102098716 *-*-darwin*)
102108717 # Don't allow lazy linking, it breaks C++ global constructors
102118718 # But is supposedly fixed on 10.4 or later (yay!).
10212 if test CXX = "$tagname"; then
8719 if test "$tagname" = CXX ; then
102138720 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
102148721 10.[0123])
10215 func_append compile_command " $wl-bind_at_load"
10216 func_append finalize_command " $wl-bind_at_load"
8722 func_append compile_command " ${wl}-bind_at_load"
8723 func_append finalize_command " ${wl}-bind_at_load"
102178724 ;;
102188725 esac
102198726 fi
102498756 *) func_append new_libs " $deplib" ;;
102508757 esac
102518758 done
10252 compile_deplibs=$new_libs
8759 compile_deplibs="$new_libs"
102538760
102548761
102558762 func_append compile_command " $compile_deplibs"
102738780 if test -n "$hardcode_libdir_flag_spec"; then
102748781 if test -n "$hardcode_libdir_separator"; then
102758782 if test -z "$hardcode_libdirs"; then
10276 hardcode_libdirs=$libdir
8783 hardcode_libdirs="$libdir"
102778784 else
102788785 # Just accumulate the unique libdirs.
102798786 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
102968803 fi
102978804 case $host in
102988805 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
10299 testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
8806 testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
103008807 case :$dllsearchpath: in
103018808 *":$libdir:"*) ;;
103028809 ::) dllsearchpath=$libdir;;
103138820 # Substitute the hardcoded libdirs into the rpath.
103148821 if test -n "$hardcode_libdir_separator" &&
103158822 test -n "$hardcode_libdirs"; then
10316 libdir=$hardcode_libdirs
8823 libdir="$hardcode_libdirs"
103178824 eval rpath=\" $hardcode_libdir_flag_spec\"
103188825 fi
10319 compile_rpath=$rpath
8826 compile_rpath="$rpath"
103208827
103218828 rpath=
103228829 hardcode_libdirs=
103248831 if test -n "$hardcode_libdir_flag_spec"; then
103258832 if test -n "$hardcode_libdir_separator"; then
103268833 if test -z "$hardcode_libdirs"; then
10327 hardcode_libdirs=$libdir
8834 hardcode_libdirs="$libdir"
103288835 else
103298836 # Just accumulate the unique libdirs.
103308837 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
103498856 # Substitute the hardcoded libdirs into the rpath.
103508857 if test -n "$hardcode_libdir_separator" &&
103518858 test -n "$hardcode_libdirs"; then
10352 libdir=$hardcode_libdirs
8859 libdir="$hardcode_libdirs"
103538860 eval rpath=\" $hardcode_libdir_flag_spec\"
103548861 fi
10355 finalize_rpath=$rpath
10356
10357 if test -n "$libobjs" && test yes = "$build_old_libs"; then
8862 finalize_rpath="$rpath"
8863
8864 if test -n "$libobjs" && test "$build_old_libs" = yes; then
103588865 # Transform all the library objects into standard objects.
103598866 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
103608867 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
103618868 fi
103628869
10363 func_generate_dlsyms "$outputname" "@PROGRAM@" false
8870 func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
103648871
103658872 # template prelinking step
103668873 if test -n "$prelink_cmds"; then
103678874 func_execute_cmds "$prelink_cmds" 'exit $?'
103688875 fi
103698876
10370 wrappers_required=:
8877 wrappers_required=yes
103718878 case $host in
103728879 *cegcc* | *mingw32ce*)
103738880 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
10374 wrappers_required=false
8881 wrappers_required=no
103758882 ;;
103768883 *cygwin* | *mingw* )
10377 test yes = "$build_libtool_libs" || wrappers_required=false
8884 if test "$build_libtool_libs" != yes; then
8885 wrappers_required=no
8886 fi
103788887 ;;
103798888 *)
10380 if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
10381 wrappers_required=false
8889 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
8890 wrappers_required=no
103828891 fi
103838892 ;;
103848893 esac
10385 $wrappers_required || {
8894 if test "$wrappers_required" = no; then
103868895 # Replace the output file specification.
103878896 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
10388 link_command=$compile_command$compile_rpath
8897 link_command="$compile_command$compile_rpath"
103898898
103908899 # We have no uninstalled library dependencies, so finalize right now.
103918900 exit_status=0
103988907 fi
103998908
104008909 # Delete the generated files.
10401 if test -f "$output_objdir/${outputname}S.$objext"; then
10402 func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
8910 if test -f "$output_objdir/${outputname}S.${objext}"; then
8911 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
104038912 fi
104048913
104058914 exit $exit_status
10406 }
8915 fi
104078916
104088917 if test -n "$compile_shlibpath$finalize_shlibpath"; then
104098918 compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
104338942 fi
104348943 fi
104358944
10436 if test yes = "$no_install"; then
8945 if test "$no_install" = yes; then
104378946 # We don't need to create a wrapper script.
10438 link_command=$compile_var$compile_command$compile_rpath
8947 link_command="$compile_var$compile_command$compile_rpath"
104398948 # Replace the output file specification.
104408949 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
104418950 # Delete the old output file.
104528961 exit $EXIT_SUCCESS
104538962 fi
104548963
10455 case $hardcode_action,$fast_install in
10456 relink,*)
10457 # Fast installation is not supported
10458 link_command=$compile_var$compile_command$compile_rpath
10459 relink_command=$finalize_var$finalize_command$finalize_rpath
10460
10461 func_warning "this platform does not like uninstalled shared libraries"
10462 func_warning "'$output' will be relinked during installation"
10463 ;;
10464 *,yes)
10465 link_command=$finalize_var$compile_command$finalize_rpath
10466 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
10467 ;;
10468 *,no)
10469 link_command=$compile_var$compile_command$compile_rpath
10470 relink_command=$finalize_var$finalize_command$finalize_rpath
10471 ;;
10472 *,needless)
10473 link_command=$finalize_var$compile_command$finalize_rpath
10474 relink_command=
10475 ;;
10476 esac
8964 if test "$hardcode_action" = relink; then
8965 # Fast installation is not supported
8966 link_command="$compile_var$compile_command$compile_rpath"
8967 relink_command="$finalize_var$finalize_command$finalize_rpath"
8968
8969 func_warning "this platform does not like uninstalled shared libraries"
8970 func_warning "\`$output' will be relinked during installation"
8971 else
8972 if test "$fast_install" != no; then
8973 link_command="$finalize_var$compile_command$finalize_rpath"
8974 if test "$fast_install" = yes; then
8975 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
8976 else
8977 # fast_install is set to needless
8978 relink_command=
8979 fi
8980 else
8981 link_command="$compile_var$compile_command$compile_rpath"
8982 relink_command="$finalize_var$finalize_command$finalize_rpath"
8983 fi
8984 fi
104778985
104788986 # Replace the output file specification.
104798987 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
105309038 func_dirname_and_basename "$output" "" "."
105319039 output_name=$func_basename_result
105329040 output_path=$func_dirname_result
10533 cwrappersource=$output_path/$objdir/lt-$output_name.c
10534 cwrapper=$output_path/$output_name.exe
9041 cwrappersource="$output_path/$objdir/lt-$output_name.c"
9042 cwrapper="$output_path/$output_name.exe"
105359043 $RM $cwrappersource $cwrapper
105369044 trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
105379045
105529060 trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
105539061 $opt_dry_run || {
105549062 # note: this script will not be executed, so do not chmod.
10555 if test "x$build" = "x$host"; then
9063 if test "x$build" = "x$host" ; then
105569064 $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
105579065 else
105589066 func_emit_wrapper no > $func_ltwrapper_scriptname_result
105759083 # See if we need to build an old-fashioned archive.
105769084 for oldlib in $oldlibs; do
105779085
10578 case $build_libtool_libs in
10579 convenience)
10580 oldobjs="$libobjs_save $symfileobj"
10581 addlibs=$convenience
9086 if test "$build_libtool_libs" = convenience; then
9087 oldobjs="$libobjs_save $symfileobj"
9088 addlibs="$convenience"
9089 build_libtool_libs=no
9090 else
9091 if test "$build_libtool_libs" = module; then
9092 oldobjs="$libobjs_save"
105829093 build_libtool_libs=no
10583 ;;
10584 module)
10585 oldobjs=$libobjs_save
10586 addlibs=$old_convenience
10587 build_libtool_libs=no
10588 ;;
10589 *)
9094 else
105909095 oldobjs="$old_deplibs $non_pic_objects"
10591 $preload && test -f "$symfileobj" \
10592 && func_append oldobjs " $symfileobj"
10593 addlibs=$old_convenience
10594 ;;
10595 esac
9096 if test "$preload" = yes && test -f "$symfileobj"; then
9097 func_append oldobjs " $symfileobj"
9098 fi
9099 fi
9100 addlibs="$old_convenience"
9101 fi
105969102
105979103 if test -n "$addlibs"; then
10598 gentop=$output_objdir/${outputname}x
9104 gentop="$output_objdir/${outputname}x"
105999105 func_append generated " $gentop"
106009106
106019107 func_extract_archives $gentop $addlibs
106039109 fi
106049110
106059111 # Do each command in the archive commands.
10606 if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
9112 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
106079113 cmds=$old_archive_from_new_cmds
106089114 else
106099115
106109116 # Add any objects from preloaded convenience libraries
106119117 if test -n "$dlprefiles"; then
10612 gentop=$output_objdir/${outputname}x
9118 gentop="$output_objdir/${outputname}x"
106139119 func_append generated " $gentop"
106149120
106159121 func_extract_archives $gentop $dlprefiles
106309136 :
106319137 else
106329138 echo "copying selected object files to avoid basename conflicts..."
10633 gentop=$output_objdir/${outputname}x
9139 gentop="$output_objdir/${outputname}x"
106349140 func_append generated " $gentop"
106359141 func_mkdir_p "$gentop"
106369142 save_oldobjs=$oldobjs
106399145 for obj in $save_oldobjs
106409146 do
106419147 func_basename "$obj"
10642 objbase=$func_basename_result
9148 objbase="$func_basename_result"
106439149 case " $oldobjs " in
106449150 " ") oldobjs=$obj ;;
106459151 *[\ /]"$objbase "*)
107089214 else
107099215 # the above command should be used before it gets too long
107109216 oldobjs=$objlist
10711 if test "$obj" = "$last_oldobj"; then
9217 if test "$obj" = "$last_oldobj" ; then
107129218 RANLIB=$save_RANLIB
107139219 fi
107149220 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
10715 eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
9221 eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
107169222 objlist=
107179223 len=$len0
107189224 fi
107199225 done
107209226 RANLIB=$save_RANLIB
107219227 oldobjs=$objlist
10722 if test -z "$oldobjs"; then
9228 if test "X$oldobjs" = "X" ; then
107239229 eval cmds=\"\$concat_cmds\"
107249230 else
107259231 eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
107369242 case $output in
107379243 *.la)
107389244 old_library=
10739 test yes = "$build_old_libs" && old_library=$libname.$libext
9245 test "$build_old_libs" = yes && old_library="$libname.$libext"
107409246 func_verbose "creating $output"
107419247
107429248 # Preserve any variables that may affect compiler behavior
107519257 fi
107529258 done
107539259 # Quote the link command for shipping.
10754 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
9260 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
107559261 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10756 if test yes = "$hardcode_automatic"; then
9262 if test "$hardcode_automatic" = yes ; then
107579263 relink_command=
107589264 fi
107599265
107609266 # Only create the output if not a dry run.
107619267 $opt_dry_run || {
107629268 for installed in no yes; do
10763 if test yes = "$installed"; then
9269 if test "$installed" = yes; then
107649270 if test -z "$install_libdir"; then
107659271 break
107669272 fi
10767 output=$output_objdir/${outputname}i
9273 output="$output_objdir/$outputname"i
107689274 # Replace all uninstalled libtool libraries with the installed ones
107699275 newdependency_libs=
107709276 for deplib in $dependency_libs; do
107719277 case $deplib in
107729278 *.la)
107739279 func_basename "$deplib"
10774 name=$func_basename_result
9280 name="$func_basename_result"
107759281 func_resolve_sysroot "$deplib"
10776 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
9282 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
107779283 test -z "$libdir" && \
10778 func_fatal_error "'$deplib' is not a valid libtool archive"
9284 func_fatal_error "\`$deplib' is not a valid libtool archive"
107799285 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
107809286 ;;
107819287 -L*)
107919297 *) func_append newdependency_libs " $deplib" ;;
107929298 esac
107939299 done
10794 dependency_libs=$newdependency_libs
9300 dependency_libs="$newdependency_libs"
107959301 newdlfiles=
107969302
107979303 for lib in $dlfiles; do
107989304 case $lib in
107999305 *.la)
108009306 func_basename "$lib"
10801 name=$func_basename_result
10802 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
9307 name="$func_basename_result"
9308 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
108039309 test -z "$libdir" && \
10804 func_fatal_error "'$lib' is not a valid libtool archive"
9310 func_fatal_error "\`$lib' is not a valid libtool archive"
108059311 func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
108069312 ;;
108079313 *) func_append newdlfiles " $lib" ;;
108089314 esac
108099315 done
10810 dlfiles=$newdlfiles
9316 dlfiles="$newdlfiles"
108119317 newdlprefiles=
108129318 for lib in $dlprefiles; do
108139319 case $lib in
108179323 # didn't already link the preopened objects directly into
108189324 # the library:
108199325 func_basename "$lib"
10820 name=$func_basename_result
10821 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
9326 name="$func_basename_result"
9327 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
108229328 test -z "$libdir" && \
10823 func_fatal_error "'$lib' is not a valid libtool archive"
9329 func_fatal_error "\`$lib' is not a valid libtool archive"
108249330 func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
108259331 ;;
108269332 esac
108279333 done
10828 dlprefiles=$newdlprefiles
9334 dlprefiles="$newdlprefiles"
108299335 else
108309336 newdlfiles=
108319337 for lib in $dlfiles; do
108329338 case $lib in
10833 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
9339 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
108349340 *) abs=`pwd`"/$lib" ;;
108359341 esac
108369342 func_append newdlfiles " $abs"
108379343 done
10838 dlfiles=$newdlfiles
9344 dlfiles="$newdlfiles"
108399345 newdlprefiles=
108409346 for lib in $dlprefiles; do
108419347 case $lib in
10842 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
9348 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
108439349 *) abs=`pwd`"/$lib" ;;
108449350 esac
108459351 func_append newdlprefiles " $abs"
108469352 done
10847 dlprefiles=$newdlprefiles
9353 dlprefiles="$newdlprefiles"
108489354 fi
108499355 $RM $output
108509356 # place dlname in correct position for cygwin
108609366 case $host,$output,$installed,$module,$dlname in
108619367 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
108629368 # If a -bindir argument was supplied, place the dll there.
10863 if test -n "$bindir"; then
9369 if test "x$bindir" != x ;
9370 then
108649371 func_relative_path "$install_libdir" "$bindir"
10865 tdlname=$func_relative_path_result/$dlname
9372 tdlname=$func_relative_path_result$dlname
108669373 else
108679374 # Otherwise fall back on heuristic.
108689375 tdlname=../bin/$dlname
108719378 esac
108729379 $ECHO > $output "\
108739380 # $outputname - a libtool library file
10874 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
9381 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
108759382 #
108769383 # Please DO NOT delete this file!
108779384 # It is necessary for linking the library.
108859392 # The name of the static archive.
108869393 old_library='$old_library'
108879394
10888 # Linker flags that cannot go in dependency_libs.
9395 # Linker flags that can not go in dependency_libs.
108899396 inherited_linker_flags='$new_inherited_linker_flags'
108909397
108919398 # Libraries that this one depends upon.
109119418
109129419 # Directory that this library needs to be installed in:
109139420 libdir='$install_libdir'"
10914 if test no,yes = "$installed,$need_relink"; then
9421 if test "$installed" = no && test "$need_relink" = yes; then
109159422 $ECHO >> $output "\
109169423 relink_command=\"$relink_command\""
109179424 fi
109269433 exit $EXIT_SUCCESS
109279434 }
109289435
10929 if test link = "$opt_mode" || test relink = "$opt_mode"; then
10930 func_mode_link ${1+"$@"}
10931 fi
9436 { test "$opt_mode" = link || test "$opt_mode" = relink; } &&
9437 func_mode_link ${1+"$@"}
109329438
109339439
109349440 # func_mode_uninstall arg...
109359441 func_mode_uninstall ()
109369442 {
10937 $debug_cmd
10938
10939 RM=$nonopt
9443 $opt_debug
9444 RM="$nonopt"
109409445 files=
10941 rmforce=false
9446 rmforce=
109429447 exit_status=0
109439448
109449449 # This variable tells wrapper scripts just to set variables rather
109459450 # than running their programs.
10946 libtool_install_magic=$magic
9451 libtool_install_magic="$magic"
109479452
109489453 for arg
109499454 do
109509455 case $arg in
10951 -f) func_append RM " $arg"; rmforce=: ;;
9456 -f) func_append RM " $arg"; rmforce=yes ;;
109529457 -*) func_append RM " $arg" ;;
109539458 *) func_append files " $arg" ;;
109549459 esac
109619466
109629467 for file in $files; do
109639468 func_dirname "$file" "" "."
10964 dir=$func_dirname_result
10965 if test . = "$dir"; then
10966 odir=$objdir
9469 dir="$func_dirname_result"
9470 if test "X$dir" = X.; then
9471 odir="$objdir"
109679472 else
10968 odir=$dir/$objdir
9473 odir="$dir/$objdir"
109699474 fi
109709475 func_basename "$file"
10971 name=$func_basename_result
10972 test uninstall = "$opt_mode" && odir=$dir
9476 name="$func_basename_result"
9477 test "$opt_mode" = uninstall && odir="$dir"
109739478
109749479 # Remember odir for removal later, being careful to avoid duplicates
10975 if test clean = "$opt_mode"; then
9480 if test "$opt_mode" = clean; then
109769481 case " $rmdirs " in
109779482 *" $odir "*) ;;
109789483 *) func_append rmdirs " $odir" ;;
109879492 elif test -d "$file"; then
109889493 exit_status=1
109899494 continue
10990 elif $rmforce; then
9495 elif test "$rmforce" = yes; then
109919496 continue
109929497 fi
109939498
10994 rmfiles=$file
9499 rmfiles="$file"
109959500
109969501 case $name in
109979502 *.la)
110059510 done
110069511 test -n "$old_library" && func_append rmfiles " $odir/$old_library"
110079512
11008 case $opt_mode in
9513 case "$opt_mode" in
110099514 clean)
110109515 case " $library_names " in
110119516 *" $dlname "*) ;;
110169521 uninstall)
110179522 if test -n "$library_names"; then
110189523 # Do each command in the postuninstall commands.
11019 func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
9524 func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
110209525 fi
110219526
110229527 if test -n "$old_library"; then
110239528 # Do each command in the old_postuninstall commands.
11024 func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
9529 func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
110259530 fi
110269531 # FIXME: should reinstall the best remaining shared library.
110279532 ;;
110379542 func_source $dir/$name
110389543
110399544 # Add PIC object to the list of files to remove.
11040 if test -n "$pic_object" && test none != "$pic_object"; then
9545 if test -n "$pic_object" &&
9546 test "$pic_object" != none; then
110419547 func_append rmfiles " $dir/$pic_object"
110429548 fi
110439549
110449550 # Add non-PIC object to the list of files to remove.
11045 if test -n "$non_pic_object" && test none != "$non_pic_object"; then
9551 if test -n "$non_pic_object" &&
9552 test "$non_pic_object" != none; then
110469553 func_append rmfiles " $dir/$non_pic_object"
110479554 fi
110489555 fi
110499556 ;;
110509557
110519558 *)
11052 if test clean = "$opt_mode"; then
9559 if test "$opt_mode" = clean ; then
110539560 noexename=$name
110549561 case $file in
110559562 *.exe)
110769583
110779584 # note $name still contains .exe if it was in $file originally
110789585 # as does the version of $file that was added into $rmfiles
11079 func_append rmfiles " $odir/$name $odir/${name}S.$objext"
11080 if test yes = "$fast_install" && test -n "$relink_command"; then
9586 func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
9587 if test "$fast_install" = yes && test -n "$relink_command"; then
110819588 func_append rmfiles " $odir/lt-$name"
110829589 fi
11083 if test "X$noexename" != "X$name"; then
11084 func_append rmfiles " $odir/lt-$noexename.c"
9590 if test "X$noexename" != "X$name" ; then
9591 func_append rmfiles " $odir/lt-${noexename}.c"
110859592 fi
110869593 fi
110879594 fi
110909597 func_show_eval "$RM $rmfiles" 'exit_status=1'
110919598 done
110929599
11093 # Try to remove the $objdir's in the directories where we deleted files
9600 # Try to remove the ${objdir}s in the directories where we deleted files
110949601 for dir in $rmdirs; do
110959602 if test -d "$dir"; then
110969603 func_show_eval "rmdir $dir >/dev/null 2>&1"
111009607 exit $exit_status
111019608 }
111029609
11103 if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
11104 func_mode_uninstall ${1+"$@"}
11105 fi
9610 { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
9611 func_mode_uninstall ${1+"$@"}
111069612
111079613 test -z "$opt_mode" && {
11108 help=$generic_help
9614 help="$generic_help"
111099615 func_fatal_help "you must specify a MODE"
111109616 }
111119617
111129618 test -z "$exec_cmd" && \
11113 func_fatal_help "invalid operation mode '$opt_mode'"
9619 func_fatal_help "invalid operation mode \`$opt_mode'"
111149620
111159621 if test -n "$exec_cmd"; then
111169622 eval exec "$exec_cmd"
111219627
111229628
111239629 # The TAGs below are defined such that we never get into a situation
11124 # where we disable both kinds of libraries. Given conflicting
9630 # in which we disable both kinds of libraries. Given conflicting
111259631 # choices, we go for a static library, that is the most portable,
111269632 # since we can't tell whether shared libraries were disabled because
111279633 # the user asked for that or because the platform doesn't support
111449650 # mode:shell-script
111459651 # sh-indentation:2
111469652 # End:
9653 # vi:sw=2
9654
0 ## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
1 ## Copyright (C) 2001 Eazel, Inc.
2 ## Author: Maciej Stachowiak <[email protected]>
3 ## Kenneth Christiansen <[email protected]>
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2 of the License, or
8 ## (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful, but
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ##
19 ## As a special exception to the GNU General Public License, if you
20 ## distribute this file as part of a program that contains a
21 ## configuration script generated by Autoconf, you may include it under
22 ## the same distribution terms that you use for the rest of that program.
23
24 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
25 # serial 42 IT_PROG_INTLTOOL
26 AC_DEFUN([IT_PROG_INTLTOOL], [
27 AC_PREREQ([2.50])dnl
28 AC_REQUIRE([AM_NLS])dnl
29
30 case "$am__api_version" in
31 1.[01234])
32 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
33 ;;
34 *)
35 ;;
36 esac
37
38 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
39 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
40 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
41 if test -n "$1"; then
42 AC_MSG_CHECKING([for intltool >= $1])
43 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
44 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
45 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
46 fi
47
48 AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
49 AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
50 AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
51 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
52 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
53 fi
54
55 if test -z "$AM_DEFAULT_VERBOSITY"; then
56 AM_DEFAULT_VERBOSITY=1
57 fi
58 AC_SUBST([AM_DEFAULT_VERBOSITY])
59
60 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
61 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
62 INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
63 AC_SUBST(INTLTOOL_V_MERGE)
64 AC_SUBST(INTLTOOL__v_MERGE_)
65 AC_SUBST(INTLTOOL__v_MERGE_0)
66
67 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
68 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
69 intltool__v_merge_options_0='-q'
70 AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
71 AC_SUBST(intltool__v_merge_options_)
72 AC_SUBST(intltool__v_merge_options_0)
73
74 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
75 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
76 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
77 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
78 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
79 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
80 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
81 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
82 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
83 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
84 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
85 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
86 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
87 else
88 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
89 fi
90 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
91 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
92 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
93 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
94 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
95 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
96 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
97
98 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
99 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
100 _IT_SUBST(INTLTOOL_KEYS_RULE)
101 _IT_SUBST(INTLTOOL_PROP_RULE)
102 _IT_SUBST(INTLTOOL_OAF_RULE)
103 _IT_SUBST(INTLTOOL_PONG_RULE)
104 _IT_SUBST(INTLTOOL_SERVER_RULE)
105 _IT_SUBST(INTLTOOL_SHEET_RULE)
106 _IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
107 _IT_SUBST(INTLTOOL_UI_RULE)
108 _IT_SUBST(INTLTOOL_XAM_RULE)
109 _IT_SUBST(INTLTOOL_KBD_RULE)
110 _IT_SUBST(INTLTOOL_XML_RULE)
111 _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
112 _IT_SUBST(INTLTOOL_CAVES_RULE)
113 _IT_SUBST(INTLTOOL_SCHEMAS_RULE)
114 _IT_SUBST(INTLTOOL_THEME_RULE)
115 _IT_SUBST(INTLTOOL_SERVICE_RULE)
116 _IT_SUBST(INTLTOOL_POLICY_RULE)
117
118 # Check the gettext tools to make sure they are GNU
119 AC_PATH_PROG(XGETTEXT, xgettext)
120 AC_PATH_PROG(MSGMERGE, msgmerge)
121 AC_PATH_PROG(MSGFMT, msgfmt)
122 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
123 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
124 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
125 fi
126 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
127 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
128 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
129 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
130 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
131 fi
132
133 AC_PATH_PROG(INTLTOOL_PERL, perl)
134 if test -z "$INTLTOOL_PERL"; then
135 AC_MSG_ERROR([perl not found])
136 fi
137 AC_MSG_CHECKING([for perl >= 5.8.1])
138 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
139 if test $? -ne 0; then
140 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
141 else
142 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
143 AC_MSG_RESULT([$IT_PERL_VERSION])
144 fi
145 if test "x$2" != "xno-xml"; then
146 AC_MSG_CHECKING([for XML::Parser])
147 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
148 AC_MSG_RESULT([ok])
149 else
150 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
151 fi
152 fi
153
154 # Substitute ALL_LINGUAS so we can use it in po/Makefile
155 AC_SUBST(ALL_LINGUAS)
156
157 # Set DATADIRNAME correctly if it is not set yet
158 # (copied from glib-gettext.m4)
159 if test -z "$DATADIRNAME"; then
160 AC_LINK_IFELSE(
161 [AC_LANG_PROGRAM([[]],
162 [[extern int _nl_msg_cat_cntr;
163 return _nl_msg_cat_cntr]])],
164 [DATADIRNAME=share],
165 [case $host in
166 *-*-solaris*)
167 dnl On Solaris, if bind_textdomain_codeset is in libc,
168 dnl GNU format message catalog is always supported,
169 dnl since both are added to the libc all together.
170 dnl Hence, we'd like to go with DATADIRNAME=share
171 dnl in this case.
172 AC_CHECK_FUNC(bind_textdomain_codeset,
173 [DATADIRNAME=share], [DATADIRNAME=lib])
174 ;;
175 *)
176 [DATADIRNAME=lib]
177 ;;
178 esac])
179 fi
180 AC_SUBST(DATADIRNAME)
181
182 IT_PO_SUBDIR([po])
183
184 ])
185
186
187 # IT_PO_SUBDIR(DIRNAME)
188 # ---------------------
189 # All po subdirs have to be declared with this macro; the subdir "po" is
190 # declared by IT_PROG_INTLTOOL.
191 #
192 AC_DEFUN([IT_PO_SUBDIR],
193 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
194 dnl
195 dnl The following CONFIG_COMMANDS should be executed at the very end
196 dnl of config.status.
197 AC_CONFIG_COMMANDS_PRE([
198 AC_CONFIG_COMMANDS([$1/stamp-it], [
199 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
200 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
201 fi
202 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
203 >"$1/stamp-it.tmp"
204 [sed '/^#/d
205 s/^[[].*] *//
206 /^[ ]*$/d
207 '"s|^| $ac_top_srcdir/|" \
208 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
209 ]
210 [sed '/^POTFILES =/,/[^\\]$/ {
211 /^POTFILES =/!d
212 r $1/POTFILES
213 }
214 ' "$1/Makefile.in" >"$1/Makefile"]
215 rm -f "$1/Makefile.tmp"
216 mv "$1/stamp-it.tmp" "$1/stamp-it"
217 ])
218 ])dnl
219 ])
220
221 # _IT_SUBST(VARIABLE)
222 # -------------------
223 # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
224 #
225 AC_DEFUN([_IT_SUBST],
226 [
227 AC_SUBST([$1])
228 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
229 ]
230 )
231
232 # deprecated macros
233 AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
234 # A hint is needed for aclocal from Automake <= 1.9.4:
235 # AC_DEFUN([AC_PROG_INTLTOOL], ...)
236
00 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
3 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
4 # Foundation, Inc.
35 # Written by Gordon Matzigkeit, 1996
46 #
57 # This file is free software; the Free Software Foundation gives
79 # modifications, as long as this notice is preserved.
810
911 m4_define([_LT_COPYING], [dnl
10 # Copyright (C) 2014 Free Software Foundation, Inc.
11 # This is free software; see the source for copying conditions. There is NO
12 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 # GNU Libtool is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 2 of of the License, or
17 # (at your option) any later version.
12 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14 # Foundation, Inc.
15 # Written by Gordon Matzigkeit, 1996
1816 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program or library that is built
21 # using GNU Libtool, you may include this file under the same
22 # distribution terms that you use for the rest of that program.
17 # This file is part of GNU Libtool.
2318 #
24 # GNU Libtool is distributed in the hope that it will be useful, but
25 # WITHOUT ANY WARRANTY; without even the implied warranty of
19 # GNU Libtool is free software; you can redistribute it and/or
20 # modify it under the terms of the GNU General Public License as
21 # published by the Free Software Foundation; either version 2 of
22 # the License, or (at your option) any later version.
23 #
24 # As a special exception to the GNU General Public License,
25 # if you distribute this file as part of a program or library that
26 # is built using GNU Libtool, you may include this file under the
27 # same distribution terms that you use for the rest of that program.
28 #
29 # GNU Libtool is distributed in the hope that it will be useful,
30 # but WITHOUT ANY WARRANTY; without even the implied warranty of
2631 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2732 # GNU General Public License for more details.
2833 #
2934 # You should have received a copy of the GNU General Public License
30 # along with this program. If not, see <http://www.gnu.org/licenses/>.
35 # along with GNU Libtool; see the file COPYING. If not, a copy
36 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
37 # obtained by writing to the Free Software Foundation, Inc.,
38 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3139 ])
3240
33 # serial 58 LT_INIT
41 # serial 57 LT_INIT
3442
3543
3644 # LT_PREREQ(VERSION)
5866 # LT_INIT([OPTIONS])
5967 # ------------------
6068 AC_DEFUN([LT_INIT],
61 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
69 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
6270 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
6371 AC_BEFORE([$0], [LT_LANG])dnl
6472 AC_BEFORE([$0], [LT_OUTPUT])dnl
8290 _LT_SET_OPTIONS([$0], [$1])
8391
8492 # This can be used to rebuild libtool when needed
85 LIBTOOL_DEPS=$ltmain
93 LIBTOOL_DEPS="$ltmain"
8694
8795 # Always use our own libtool.
8896 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
102110 dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
103111
104112
105 # _LT_PREPARE_CC_BASENAME
106 # -----------------------
107 m4_defun([_LT_PREPARE_CC_BASENAME], [
108 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
109 func_cc_basename ()
110 {
111 for cc_temp in @S|@*""; do
112 case $cc_temp in
113 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
114 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
115 \-*) ;;
116 *) break;;
117 esac
118 done
119 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
120 }
121 ])# _LT_PREPARE_CC_BASENAME
122
123
124113 # _LT_CC_BASENAME(CC)
125114 # -------------------
126 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
127 # but that macro is also expanded into generated libtool script, which
128 # arranges for $SED and $ECHO to be set by different means.
115 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
129116 m4_defun([_LT_CC_BASENAME],
130 [m4_require([_LT_PREPARE_CC_BASENAME])dnl
131 AC_REQUIRE([_LT_DECL_SED])dnl
132 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
133 func_cc_basename $1
134 cc_basename=$func_cc_basename_result
117 [for cc_temp in $1""; do
118 case $cc_temp in
119 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
120 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
121 \-*) ;;
122 *) break;;
123 esac
124 done
125 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
135126 ])
136127
137128
138129 # _LT_FILEUTILS_DEFAULTS
139130 # ----------------------
140131 # It is okay to use these file commands and assume they have been set
141 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
132 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
142133 m4_defun([_LT_FILEUTILS_DEFAULTS],
143134 [: ${CP="cp -f"}
144135 : ${MV="mv -f"}
185176 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
186177 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
187178 m4_require([_LT_WITH_SYSROOT])dnl
188 m4_require([_LT_CMD_TRUNCATE])dnl
189179
190180 _LT_CONFIG_LIBTOOL_INIT([
191 # See if we are running on zsh, and set the options that allow our
181 # See if we are running on zsh, and set the options which allow our
192182 # commands through without removal of \ escapes INIT.
193 if test -n "\${ZSH_VERSION+set}"; then
183 if test -n "\${ZSH_VERSION+set}" ; then
194184 setopt NO_GLOB_SUBST
195185 fi
196186 ])
197 if test -n "${ZSH_VERSION+set}"; then
187 if test -n "${ZSH_VERSION+set}" ; then
198188 setopt NO_GLOB_SUBST
199189 fi
200190
207197 # AIX sometimes has problems with the GCC collect2 program. For some
208198 # reason, if we set the COLLECT_NAMES environment variable, the problems
209199 # vanish in a puff of smoke.
210 if test set != "${COLLECT_NAMES+set}"; then
200 if test "X${COLLECT_NAMES+set}" != Xset; then
211201 COLLECT_NAMES=
212202 export COLLECT_NAMES
213203 fi
218208 ofile=libtool
219209 can_build_shared=yes
220210
221 # All known linkers require a '.a' archive for static linking (except MSVC,
211 # All known linkers require a `.a' archive for static linking (except MSVC,
222212 # which needs '.lib').
223213 libext=a
224214
225 with_gnu_ld=$lt_cv_prog_gnu_ld
226
227 old_CC=$CC
228 old_CFLAGS=$CFLAGS
215 with_gnu_ld="$lt_cv_prog_gnu_ld"
216
217 old_CC="$CC"
218 old_CFLAGS="$CFLAGS"
229219
230220 # Set sane defaults for various variables
231221 test -z "$CC" && CC=cc
278268
279269 # _LT_PROG_LTMAIN
280270 # ---------------
281 # Note that this code is called both from 'configure', and 'config.status'
271 # Note that this code is called both from `configure', and `config.status'
282272 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
283 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
273 # `config.status' has no value for ac_aux_dir unless we are using Automake,
284274 # so we pass a copy along to make sure it has a sensible value anyway.
285275 m4_defun([_LT_PROG_LTMAIN],
286276 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
287277 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
288 ltmain=$ac_aux_dir/ltmain.sh
278 ltmain="$ac_aux_dir/ltmain.sh"
289279 ])# _LT_PROG_LTMAIN
290280
291281
295285
296286 # So that we can recreate a full libtool script including additional
297287 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
298 # in macros and then make a single call at the end using the 'libtool'
288 # in macros and then make a single call at the end using the `libtool'
299289 # label.
300290
301291
430420
431421 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
432422 # ------------------------------------
433 # Quote a variable value, and forward it to 'config.status' so that its
434 # declaration there will have the same value as in 'configure'. VARNAME
423 # Quote a variable value, and forward it to `config.status' so that its
424 # declaration there will have the same value as in `configure'. VARNAME
435425 # must have a single quote delimited value for this to work.
436426 m4_define([_LT_CONFIG_STATUS_DECLARE],
437427 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
455445 # Output comment and list of tags supported by the script
456446 m4_defun([_LT_LIBTOOL_TAGS],
457447 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
458 available_tags='_LT_TAGS'dnl
448 available_tags="_LT_TAGS"dnl
459449 ])
460450
461451
483473 # _LT_LIBTOOL_CONFIG_VARS
484474 # -----------------------
485475 # Produce commented declarations of non-tagged libtool config variables
486 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
476 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
487477 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
488478 # section) are produced by _LT_LIBTOOL_TAG_VARS.
489479 m4_defun([_LT_LIBTOOL_CONFIG_VARS],
509499 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
510500 # variables for single and double quote escaping we saved from calls
511501 # to _LT_DECL, we can put quote escaped variables declarations
512 # into 'config.status', and then the shell code to quote escape them in
513 # for loops in 'config.status'. Finally, any additional code accumulated
502 # into `config.status', and then the shell code to quote escape them in
503 # for loops in `config.status'. Finally, any additional code accumulated
514504 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
515505 m4_defun([_LT_CONFIG_COMMANDS],
516506 [AC_PROVIDE_IFELSE([LT_OUTPUT],
556546 ]], lt_decl_quote_varnames); do
557547 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
558548 *[[\\\\\\\`\\"\\\$]]*)
559 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
549 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
560550 ;;
561551 *)
562552 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
569559 ]], lt_decl_dquote_varnames); do
570560 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
571561 *[[\\\\\\\`\\"\\\$]]*)
572 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
562 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
573563 ;;
574564 *)
575565 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
585575 # Generate a child script FILE with all initialization necessary to
586576 # reuse the environment learned by the parent script, and make the
587577 # file executable. If COMMENT is supplied, it is inserted after the
588 # '#!' sequence but before initialization text begins. After this
578 # `#!' sequence but before initialization text begins. After this
589579 # macro, additional text can be appended to FILE to form the body of
590580 # the child script. The macro ends with non-zero status if the
591581 # file could not be fully written (such as if the disk is full).
607597 _AS_PREPARE
608598 exec AS_MESSAGE_FD>&1
609599 _ASEOF
610 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
600 test $lt_write_fail = 0 && chmod +x $1[]dnl
611601 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
612602
613603 # LT_OUTPUT
630620 } >&AS_MESSAGE_LOG_FD
631621
632622 lt_cl_help="\
633 '$as_me' creates a local libtool stub from the current configuration,
623 \`$as_me' creates a local libtool stub from the current configuration,
634624 for use in further configure time tests before the real libtool is
635625 generated.
636626
652642 This config.lt script is free software; the Free Software Foundation
653643 gives unlimited permision to copy, distribute and modify it."
654644
655 while test 0 != $[#]
645 while test $[#] != 0
656646 do
657647 case $[1] in
658648 --version | --v* | -V )
665655 lt_cl_silent=: ;;
666656
667657 -*) AC_MSG_ERROR([unrecognized option: $[1]
668 Try '$[0] --help' for more information.]) ;;
658 Try \`$[0] --help' for more information.]) ;;
669659
670660 *) AC_MSG_ERROR([unrecognized argument: $[1]
671 Try '$[0] --help' for more information.]) ;;
661 Try \`$[0] --help' for more information.]) ;;
672662 esac
673663 shift
674664 done
694684 # open by configure. Here we exec the FD to /dev/null, effectively closing
695685 # config.log, so it can be properly (re)opened and appended to by config.lt.
696686 lt_cl_success=:
697 test yes = "$silent" &&
687 test "$silent" = yes &&
698688 lt_config_lt_args="$lt_config_lt_args --quiet"
699689 exec AS_MESSAGE_LOG_FD>/dev/null
700690 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
714704 _LT_CONFIG_SAVE_COMMANDS([
715705 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
716706 m4_if(_LT_TAG, [C], [
717 # See if we are running on zsh, and set the options that allow our
707 # See if we are running on zsh, and set the options which allow our
718708 # commands through without removal of \ escapes.
719 if test -n "${ZSH_VERSION+set}"; then
709 if test -n "${ZSH_VERSION+set}" ; then
720710 setopt NO_GLOB_SUBST
721711 fi
722712
723 cfgfile=${ofile}T
713 cfgfile="${ofile}T"
724714 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
725715 $RM "$cfgfile"
726716
727717 cat <<_LT_EOF >> "$cfgfile"
728718 #! $SHELL
729 # Generated automatically by $as_me ($PACKAGE) $VERSION
719
720 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
721 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
730722 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
731723 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
732
733 # Provide generalized library-building support services.
734 # Written by Gordon Matzigkeit, 1996
735
724 #
736725 _LT_COPYING
737726 _LT_LIBTOOL_TAGS
738
739 # Configured defaults for sys_lib_dlsearch_path munging.
740 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
741727
742728 # ### BEGIN LIBTOOL CONFIG
743729 _LT_LIBTOOL_CONFIG_VARS
744730 _LT_LIBTOOL_TAG_VARS
745731 # ### END LIBTOOL CONFIG
746
747 _LT_EOF
748
749 cat <<'_LT_EOF' >> "$cfgfile"
750
751 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
752
753 _LT_PREPARE_MUNGE_PATH_LIST
754 _LT_PREPARE_CC_BASENAME
755
756 # ### END FUNCTIONS SHARED WITH CONFIGURE
757732
758733 _LT_EOF
759734
763738 # AIX sometimes has problems with the GCC collect2 program. For some
764739 # reason, if we set the COLLECT_NAMES environment variable, the problems
765740 # vanish in a puff of smoke.
766 if test set != "${COLLECT_NAMES+set}"; then
741 if test "X${COLLECT_NAMES+set}" != Xset; then
767742 COLLECT_NAMES=
768743 export COLLECT_NAMES
769744 fi
779754 # is reportedly fixed, but why not run on old versions too?
780755 sed '$q' "$ltmain" >> "$cfgfile" \
781756 || (rm -f "$cfgfile"; exit 1)
757
758 _LT_PROG_REPLACE_SHELLFNS
782759
783760 mv -f "$cfgfile" "$ofile" ||
784761 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
797774 [m4_if([$1], [], [
798775 PACKAGE='$PACKAGE'
799776 VERSION='$VERSION'
777 TIMESTAMP='$TIMESTAMP'
800778 RM='$RM'
801779 ofile='$ofile'], [])
802780 ])dnl /_LT_CONFIG_SAVE_COMMANDS
995973
996974 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
997975 [lt_cv_apple_cc_single_mod=no
998 if test -z "$LT_MULTI_MODULE"; then
976 if test -z "${LT_MULTI_MODULE}"; then
999977 # By default we will add the -single_module flag. You can override
1000978 # by either setting the environment variable LT_MULTI_MODULE
1001979 # non-empty at configure time, or by adding -multi_module to the
1013991 cat conftest.err >&AS_MESSAGE_LOG_FD
1014992 # Otherwise, if the output was created with a 0 exit code from
1015993 # the compiler, it worked.
1016 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
994 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1017995 lt_cv_apple_cc_single_mod=yes
1018996 else
1019997 cat conftest.err >&AS_MESSAGE_LOG_FD
10311009 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
10321010 [lt_cv_ld_exported_symbols_list=yes],
10331011 [lt_cv_ld_exported_symbols_list=no])
1034 LDFLAGS=$save_LDFLAGS
1012 LDFLAGS="$save_LDFLAGS"
10351013 ])
10361014
10371015 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
10531031 _lt_result=$?
10541032 if test -s conftest.err && $GREP force_load conftest.err; then
10551033 cat conftest.err >&AS_MESSAGE_LOG_FD
1056 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1034 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10571035 lt_cv_ld_force_load=yes
10581036 else
10591037 cat conftest.err >&AS_MESSAGE_LOG_FD
10631041 ])
10641042 case $host_os in
10651043 rhapsody* | darwin1.[[012]])
1066 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1044 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10671045 darwin1.*)
1068 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1046 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10691047 darwin*) # darwin 5.x on
10701048 # if running on 10.5 or later, the deployment target defaults
10711049 # to the OS version, if on x86, and 10.4, the deployment
10721050 # target defaults to 10.4. Don't you love it?
10731051 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10741052 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1076 10.[[012]][[,.]]*)
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1053 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1054 10.[[012]]*)
1055 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10781056 10.*)
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1057 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10801058 esac
10811059 ;;
10821060 esac
1083 if test yes = "$lt_cv_apple_cc_single_mod"; then
1061 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10841062 _lt_dar_single_mod='$single_module'
10851063 fi
1086 if test yes = "$lt_cv_ld_exported_symbols_list"; then
1087 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1064 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1065 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10881066 else
1089 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1067 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10901068 fi
1091 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1069 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10921070 _lt_dsymutil='~$DSYMUTIL $lib || :'
10931071 else
10941072 _lt_dsymutil=
11081086 _LT_TAGVAR(hardcode_direct, $1)=no
11091087 _LT_TAGVAR(hardcode_automatic, $1)=yes
11101088 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1111 if test yes = "$lt_cv_ld_force_load"; then
1112 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1089 if test "$lt_cv_ld_force_load" = "yes"; then
1090 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11131091 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
11141092 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
11151093 else
11161094 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
11171095 fi
11181096 _LT_TAGVAR(link_all_deplibs, $1)=yes
1119 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1097 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
11201098 case $cc_basename in
1121 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1099 ifort*) _lt_dar_can_shared=yes ;;
11221100 *) _lt_dar_can_shared=$GCC ;;
11231101 esac
1124 if test yes = "$_lt_dar_can_shared"; then
1102 if test "$_lt_dar_can_shared" = "yes"; then
11251103 output_verbose_link_cmd=func_echo_all
1126 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
1127 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1128 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1129 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1104 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1105 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1106 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1107 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11301108 m4_if([$1], [CXX],
1131 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
1132 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
1133 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
1109 [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1110 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1111 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11341112 fi
11351113 ],[])
11361114 else
11501128 # Allow to override them for all tags through lt_cv_aix_libpath.
11511129 m4_defun([_LT_SYS_MODULE_PATH_AIX],
11521130 [m4_require([_LT_DECL_SED])dnl
1153 if test set = "${lt_cv_aix_libpath+set}"; then
1131 if test "${lt_cv_aix_libpath+set}" = set; then
11541132 aix_libpath=$lt_cv_aix_libpath
11551133 else
11561134 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
11681146 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11691147 fi],[])
11701148 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1171 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1149 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
11721150 fi
11731151 ])
11741152 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
11881166 # -----------------------
11891167 # Find how we can fake an echo command that does not interpret backslash.
11901168 # In particular, with Autoconf 2.60 or later we add some code to the start
1191 # of the generated configure script that will find a shell with a builtin
1192 # printf (that we can use as an echo command).
1169 # of the generated configure script which will find a shell with a builtin
1170 # printf (which we can use as an echo command).
11931171 m4_defun([_LT_PROG_ECHO_BACKSLASH],
11941172 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11951173 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
12171195 # Invoke $ECHO with all args, space-separated.
12181196 func_echo_all ()
12191197 {
1220 $ECHO "$*"
1198 $ECHO "$*"
12211199 }
12221200
1223 case $ECHO in
1201 case "$ECHO" in
12241202 printf*) AC_MSG_RESULT([printf]) ;;
12251203 print*) AC_MSG_RESULT([print -r]) ;;
12261204 *) AC_MSG_RESULT([cat]) ;;
12461224 AC_DEFUN([_LT_WITH_SYSROOT],
12471225 [AC_MSG_CHECKING([for sysroot])
12481226 AC_ARG_WITH([sysroot],
1249 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1250 [Search for dependent libraries within DIR (or the compiler's sysroot
1251 if not specified).])],
1227 [ --with-sysroot[=DIR] Search for dependent libraries within DIR
1228 (or the compiler's sysroot if not specified).],
12521229 [], [with_sysroot=no])
12531230
12541231 dnl lt_sysroot will always be passed unquoted. We quote it here
12551232 dnl in case the user passed a directory name.
12561233 lt_sysroot=
1257 case $with_sysroot in #(
1234 case ${with_sysroot} in #(
12581235 yes)
1259 if test yes = "$GCC"; then
1236 if test "$GCC" = yes; then
12601237 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
12611238 fi
12621239 ;; #(
12661243 no|'')
12671244 ;; #(
12681245 *)
1269 AC_MSG_RESULT([$with_sysroot])
1246 AC_MSG_RESULT([${with_sysroot}])
12701247 AC_MSG_ERROR([The sysroot must be an absolute path.])
12711248 ;;
12721249 esac
12731250
12741251 AC_MSG_RESULT([${lt_sysroot:-no}])
12751252 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1276 [dependent libraries, and where our libraries should be installed.])])
1253 [dependent libraries, and in which our libraries should be installed.])])
12771254
12781255 # _LT_ENABLE_LOCK
12791256 # ---------------
12811258 [AC_ARG_ENABLE([libtool-lock],
12821259 [AS_HELP_STRING([--disable-libtool-lock],
12831260 [avoid locking (might break parallel builds)])])
1284 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1261 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12851262
12861263 # Some flags need to be propagated to the compiler or linker for good
12871264 # libtool support.
12881265 case $host in
12891266 ia64-*-hpux*)
1290 # Find out what ABI is being produced by ac_compile, and set mode
1291 # options accordingly.
1267 # Find out which ABI we are using.
12921268 echo 'int i;' > conftest.$ac_ext
12931269 if AC_TRY_EVAL(ac_compile); then
12941270 case `/usr/bin/file conftest.$ac_objext` in
12951271 *ELF-32*)
1296 HPUX_IA64_MODE=32
1272 HPUX_IA64_MODE="32"
12971273 ;;
12981274 *ELF-64*)
1299 HPUX_IA64_MODE=64
1275 HPUX_IA64_MODE="64"
13001276 ;;
13011277 esac
13021278 fi
13031279 rm -rf conftest*
13041280 ;;
13051281 *-*-irix6*)
1306 # Find out what ABI is being produced by ac_compile, and set linker
1307 # options accordingly.
1282 # Find out which ABI we are using.
13081283 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13091284 if AC_TRY_EVAL(ac_compile); then
1310 if test yes = "$lt_cv_prog_gnu_ld"; then
1285 if test "$lt_cv_prog_gnu_ld" = yes; then
13111286 case `/usr/bin/file conftest.$ac_objext` in
13121287 *32-bit*)
13131288 LD="${LD-ld} -melf32bsmip"
13361311 rm -rf conftest*
13371312 ;;
13381313
1339 mips64*-*linux*)
1340 # Find out what ABI is being produced by ac_compile, and set linker
1341 # options accordingly.
1342 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1343 if AC_TRY_EVAL(ac_compile); then
1344 emul=elf
1345 case `/usr/bin/file conftest.$ac_objext` in
1346 *32-bit*)
1347 emul="${emul}32"
1348 ;;
1349 *64-bit*)
1350 emul="${emul}64"
1351 ;;
1352 esac
1353 case `/usr/bin/file conftest.$ac_objext` in
1354 *MSB*)
1355 emul="${emul}btsmip"
1356 ;;
1357 *LSB*)
1358 emul="${emul}ltsmip"
1359 ;;
1360 esac
1361 case `/usr/bin/file conftest.$ac_objext` in
1362 *N32*)
1363 emul="${emul}n32"
1364 ;;
1365 esac
1366 LD="${LD-ld} -m $emul"
1367 fi
1368 rm -rf conftest*
1369 ;;
1370
13711314 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
13721315 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1373 # Find out what ABI is being produced by ac_compile, and set linker
1374 # options accordingly. Note that the listed cases only cover the
1375 # situations where additional linker options are needed (such as when
1376 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1377 # vice versa); the common cases where no linker options are needed do
1378 # not appear in the list.
1316 # Find out which ABI we are using.
13791317 echo 'int i;' > conftest.$ac_ext
13801318 if AC_TRY_EVAL(ac_compile); then
13811319 case `/usr/bin/file conftest.o` in
13851323 LD="${LD-ld} -m elf_i386_fbsd"
13861324 ;;
13871325 x86_64-*linux*)
1388 case `/usr/bin/file conftest.o` in
1389 *x86-64*)
1390 LD="${LD-ld} -m elf32_x86_64"
1391 ;;
1392 *)
1393 LD="${LD-ld} -m elf_i386"
1394 ;;
1395 esac
1326 LD="${LD-ld} -m elf_i386"
13961327 ;;
13971328 powerpc64le-*linux*)
13981329 LD="${LD-ld} -m elf32lppclinux"
14371368
14381369 *-*-sco3.2v5*)
14391370 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1440 SAVE_CFLAGS=$CFLAGS
1371 SAVE_CFLAGS="$CFLAGS"
14411372 CFLAGS="$CFLAGS -belf"
14421373 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
14431374 [AC_LANG_PUSH(C)
14441375 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
14451376 AC_LANG_POP])
1446 if test yes != "$lt_cv_cc_needs_belf"; then
1377 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14471378 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1448 CFLAGS=$SAVE_CFLAGS
1379 CFLAGS="$SAVE_CFLAGS"
14491380 fi
14501381 ;;
14511382 *-*solaris*)
1452 # Find out what ABI is being produced by ac_compile, and set linker
1453 # options accordingly.
1383 # Find out which ABI we are using.
14541384 echo 'int i;' > conftest.$ac_ext
14551385 if AC_TRY_EVAL(ac_compile); then
14561386 case `/usr/bin/file conftest.o` in
14581388 case $lt_cv_prog_gnu_ld in
14591389 yes*)
14601390 case $host in
1461 i?86-*-solaris*|x86_64-*-solaris*)
1391 i?86-*-solaris*)
14621392 LD="${LD-ld} -m elf_x86_64"
14631393 ;;
14641394 sparc*-*-solaris*)
14671397 esac
14681398 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
14691399 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1470 LD=${LD-ld}_sol2
1400 LD="${LD-ld}_sol2"
14711401 fi
14721402 ;;
14731403 *)
14831413 ;;
14841414 esac
14851415
1486 need_locks=$enable_libtool_lock
1416 need_locks="$enable_libtool_lock"
14871417 ])# _LT_ENABLE_LOCK
14881418
14891419
15021432 [echo conftest.$ac_objext > conftest.lst
15031433 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
15041434 AC_TRY_EVAL([lt_ar_try])
1505 if test 0 -eq "$ac_status"; then
1435 if test "$ac_status" -eq 0; then
15061436 # Ensure the archiver fails upon bogus file names.
15071437 rm -f conftest.$ac_objext libconftest.a
15081438 AC_TRY_EVAL([lt_ar_try])
1509 if test 0 -ne "$ac_status"; then
1439 if test "$ac_status" -ne 0; then
15101440 lt_cv_ar_at_file=@
15111441 fi
15121442 fi
15141444 ])
15151445 ])
15161446
1517 if test no = "$lt_cv_ar_at_file"; then
1447 if test "x$lt_cv_ar_at_file" = xno; then
15181448 archiver_list_spec=
15191449 else
15201450 archiver_list_spec=$lt_cv_ar_at_file
15451475
15461476 if test -n "$RANLIB"; then
15471477 case $host_os in
1548 bitrig* | openbsd*)
1478 openbsd*)
15491479 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
15501480 ;;
15511481 *)
15811511 [$2=no
15821512 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
15831513 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1584 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
1514 lt_compiler_flag="$3"
15851515 # Insert the option either (1) after the last *FLAGS variable, or
15861516 # (2) before a word containing "conftest.", or (3) at the end.
15871517 # Note that $ac_compile itself does not contain backslashes and begins
16081538 $RM conftest*
16091539 ])
16101540
1611 if test yes = "[$]$2"; then
1541 if test x"[$]$2" = xyes; then
16121542 m4_if([$5], , :, [$5])
16131543 else
16141544 m4_if([$6], , :, [$6])
16301560 m4_require([_LT_DECL_SED])dnl
16311561 AC_CACHE_CHECK([$1], [$2],
16321562 [$2=no
1633 save_LDFLAGS=$LDFLAGS
1563 save_LDFLAGS="$LDFLAGS"
16341564 LDFLAGS="$LDFLAGS $3"
16351565 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16361566 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16491579 fi
16501580 fi
16511581 $RM -r conftest*
1652 LDFLAGS=$save_LDFLAGS
1582 LDFLAGS="$save_LDFLAGS"
16531583 ])
16541584
1655 if test yes = "[$]$2"; then
1585 if test x"[$]$2" = xyes; then
16561586 m4_if([$4], , :, [$4])
16571587 else
16581588 m4_if([$5], , :, [$5])
16731603 AC_MSG_CHECKING([the maximum length of command line arguments])
16741604 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
16751605 i=0
1676 teststring=ABCD
1606 teststring="ABCD"
16771607
16781608 case $build_os in
16791609 msdosdjgpp*)
17131643 lt_cv_sys_max_cmd_len=8192;
17141644 ;;
17151645
1716 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1646 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
17171647 # This has been around since 386BSD, at least. Likely further.
17181648 if test -x /sbin/sysctl; then
17191649 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17631693 ;;
17641694 *)
17651695 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1766 if test -n "$lt_cv_sys_max_cmd_len" && \
1767 test undefined != "$lt_cv_sys_max_cmd_len"; then
1696 if test -n "$lt_cv_sys_max_cmd_len"; then
17681697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
17691698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
17701699 else
17711700 # Make teststring a little bigger before we do anything with it.
17721701 # a 1K string should be a reasonable start.
1773 for i in 1 2 3 4 5 6 7 8; do
1702 for i in 1 2 3 4 5 6 7 8 ; do
17741703 teststring=$teststring$teststring
17751704 done
17761705 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
17771706 # If test is not a shell built-in, we'll probably end up computing a
17781707 # maximum length that is only half of the actual maximum length, but
17791708 # we can't tell.
1780 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1709 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
17811710 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1782 test 17 != "$i" # 1/2 MB should be enough
1711 test $i != 17 # 1/2 MB should be enough
17831712 do
17841713 i=`expr $i + 1`
17851714 teststring=$teststring$teststring
17951724 ;;
17961725 esac
17971726 ])
1798 if test -n "$lt_cv_sys_max_cmd_len"; then
1727 if test -n $lt_cv_sys_max_cmd_len ; then
17991728 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
18001729 else
18011730 AC_MSG_RESULT(none)
18231752 # ----------------------------------------------------------------
18241753 m4_defun([_LT_TRY_DLOPEN_SELF],
18251754 [m4_require([_LT_HEADER_DLFCN])dnl
1826 if test yes = "$cross_compiling"; then :
1755 if test "$cross_compiling" = yes; then :
18271756 [$4]
18281757 else
18291758 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18701799 # endif
18711800 #endif
18721801
1873 /* When -fvisibility=hidden is used, assume the code has been annotated
1802 /* When -fvisbility=hidden is used, assume the code has been annotated
18741803 correspondingly for the symbols needed. */
1875 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1804 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
18761805 int fnord () __attribute__((visibility("default")));
18771806 #endif
18781807
18981827 return status;
18991828 }]
19001829 _LT_EOF
1901 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1830 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
19021831 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
19031832 lt_status=$?
19041833 case x$lt_status in
19191848 # ------------------
19201849 AC_DEFUN([LT_SYS_DLOPEN_SELF],
19211850 [m4_require([_LT_HEADER_DLFCN])dnl
1922 if test yes != "$enable_dlopen"; then
1851 if test "x$enable_dlopen" != xyes; then
19231852 enable_dlopen=unknown
19241853 enable_dlopen_self=unknown
19251854 enable_dlopen_self_static=unknown
19291858
19301859 case $host_os in
19311860 beos*)
1932 lt_cv_dlopen=load_add_on
1861 lt_cv_dlopen="load_add_on"
19331862 lt_cv_dlopen_libs=
19341863 lt_cv_dlopen_self=yes
19351864 ;;
19361865
19371866 mingw* | pw32* | cegcc*)
1938 lt_cv_dlopen=LoadLibrary
1867 lt_cv_dlopen="LoadLibrary"
19391868 lt_cv_dlopen_libs=
19401869 ;;
19411870
19421871 cygwin*)
1943 lt_cv_dlopen=dlopen
1872 lt_cv_dlopen="dlopen"
19441873 lt_cv_dlopen_libs=
19451874 ;;
19461875
19471876 darwin*)
1948 # if libdl is installed we need to link against it
1877 # if libdl is installed we need to link against it
19491878 AC_CHECK_LIB([dl], [dlopen],
1950 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1951 lt_cv_dlopen=dyld
1879 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1880 lt_cv_dlopen="dyld"
19521881 lt_cv_dlopen_libs=
19531882 lt_cv_dlopen_self=yes
19541883 ])
19551884 ;;
19561885
1957 tpf*)
1958 # Don't try to run any link tests for TPF. We know it's impossible
1959 # because TPF is a cross-compiler, and we know how we open DSOs.
1960 lt_cv_dlopen=dlopen
1961 lt_cv_dlopen_libs=
1962 lt_cv_dlopen_self=no
1963 ;;
1964
19651886 *)
19661887 AC_CHECK_FUNC([shl_load],
1967 [lt_cv_dlopen=shl_load],
1888 [lt_cv_dlopen="shl_load"],
19681889 [AC_CHECK_LIB([dld], [shl_load],
1969 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1890 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
19701891 [AC_CHECK_FUNC([dlopen],
1971 [lt_cv_dlopen=dlopen],
1892 [lt_cv_dlopen="dlopen"],
19721893 [AC_CHECK_LIB([dl], [dlopen],
1973 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1894 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
19741895 [AC_CHECK_LIB([svld], [dlopen],
1975 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1896 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
19761897 [AC_CHECK_LIB([dld], [dld_link],
1977 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1898 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
19781899 ])
19791900 ])
19801901 ])
19831904 ;;
19841905 esac
19851906
1986 if test no = "$lt_cv_dlopen"; then
1907 if test "x$lt_cv_dlopen" != xno; then
1908 enable_dlopen=yes
1909 else
19871910 enable_dlopen=no
1988 else
1989 enable_dlopen=yes
19901911 fi
19911912
19921913 case $lt_cv_dlopen in
19931914 dlopen)
1994 save_CPPFLAGS=$CPPFLAGS
1995 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1996
1997 save_LDFLAGS=$LDFLAGS
1915 save_CPPFLAGS="$CPPFLAGS"
1916 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1917
1918 save_LDFLAGS="$LDFLAGS"
19981919 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19991920
2000 save_LIBS=$LIBS
1921 save_LIBS="$LIBS"
20011922 LIBS="$lt_cv_dlopen_libs $LIBS"
20021923
20031924 AC_CACHE_CHECK([whether a program can dlopen itself],
20071928 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
20081929 ])
20091930
2010 if test yes = "$lt_cv_dlopen_self"; then
1931 if test "x$lt_cv_dlopen_self" = xyes; then
20111932 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
20121933 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
20131934 lt_cv_dlopen_self_static, [dnl
20171938 ])
20181939 fi
20191940
2020 CPPFLAGS=$save_CPPFLAGS
2021 LDFLAGS=$save_LDFLAGS
2022 LIBS=$save_LIBS
1941 CPPFLAGS="$save_CPPFLAGS"
1942 LDFLAGS="$save_LDFLAGS"
1943 LIBS="$save_LIBS"
20231944 ;;
20241945 esac
20251946
21112032 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21122033 _LT_COMPILER_C_O([$1])
21132034
2114 hard_links=nottested
2115 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2035 hard_links="nottested"
2036 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
21162037 # do not overwrite the value of need_locks provided by the user
21172038 AC_MSG_CHECKING([if we can lock with hard links])
21182039 hard_links=yes
21222043 ln conftest.a conftest.b 2>&5 || hard_links=no
21232044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21242045 AC_MSG_RESULT([$hard_links])
2125 if test no = "$hard_links"; then
2126 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2046 if test "$hard_links" = no; then
2047 AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
21272048 need_locks=warn
21282049 fi
21292050 else
21502071 _LT_DECL([], [objdir], [0],
21512072 [The name of the directory that contains temporary libtool files])dnl
21522073 m4_pattern_allow([LT_OBJDIR])dnl
2153 AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
2154 [Define to the sub-directory where libtool stores uninstalled libraries.])
2074 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
2075 [Define to the sub-directory in which libtool stores uninstalled libraries.])
21552076 ])# _LT_CHECK_OBJDIR
21562077
21572078
21632084 _LT_TAGVAR(hardcode_action, $1)=
21642085 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
21652086 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2166 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
2087 test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
21672088
21682089 # We can hardcode non-existent directories.
2169 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2090 if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
21702091 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21712092 # have to relink, otherwise we might link with an installed library
21722093 # when we should be linking with a yet-to-be-installed one
2173 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2174 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2094 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2095 test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
21752096 # Linking always hardcodes the temporary library directory.
21762097 _LT_TAGVAR(hardcode_action, $1)=relink
21772098 else
21852106 fi
21862107 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
21872108
2188 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
2189 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
2109 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
2110 test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
21902111 # Fast installation is not supported
21912112 enable_fast_install=no
2192 elif test yes = "$shlibpath_overrides_runpath" ||
2193 test no = "$enable_shared"; then
2113 elif test "$shlibpath_overrides_runpath" = yes ||
2114 test "$enable_shared" = no; then
21942115 # Fast installation is not necessary
21952116 enable_fast_install=needless
21962117 fi
22142135 # FIXME - insert some real tests, host_os isn't really good enough
22152136 case $host_os in
22162137 darwin*)
2217 if test -n "$STRIP"; then
2138 if test -n "$STRIP" ; then
22182139 striplib="$STRIP -x"
22192140 old_striplib="$STRIP -S"
22202141 AC_MSG_RESULT([yes])
22322153 ])# _LT_CMD_STRIPLIB
22332154
22342155
2235 # _LT_PREPARE_MUNGE_PATH_LIST
2236 # ---------------------------
2237 # Make sure func_munge_path_list() is defined correctly.
2238 m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
2239 [[# func_munge_path_list VARIABLE PATH
2240 # -----------------------------------
2241 # VARIABLE is name of variable containing _space_ separated list of
2242 # directories to be munged by the contents of PATH, which is string
2243 # having a format:
2244 # "DIR[:DIR]:"
2245 # string "DIR[ DIR]" will be prepended to VARIABLE
2246 # ":DIR[:DIR]"
2247 # string "DIR[ DIR]" will be appended to VARIABLE
2248 # "DIRP[:DIRP]::[DIRA:]DIRA"
2249 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
2250 # "DIRA[ DIRA]" will be appended to VARIABLE
2251 # "DIR[:DIR]"
2252 # VARIABLE will be replaced by "DIR[ DIR]"
2253 func_munge_path_list ()
2254 {
2255 case x@S|@2 in
2256 x)
2257 ;;
2258 *:)
2259 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2260 ;;
2261 x:*)
2262 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2263 ;;
2264 *::*)
2265 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2266 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2267 ;;
2268 *)
2269 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2270 ;;
2271 esac
2272 }
2273 ]])# _LT_PREPARE_PATH_LIST
2274
2275
22762156 # _LT_SYS_DYNAMIC_LINKER([TAG])
22772157 # -----------------------------
22782158 # PORTME Fill in your ld.so characteristics
22832163 m4_require([_LT_DECL_OBJDUMP])dnl
22842164 m4_require([_LT_DECL_SED])dnl
22852165 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2286 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
22872166 AC_MSG_CHECKING([dynamic linker characteristics])
22882167 m4_if([$1],
22892168 [], [
2290 if test yes = "$GCC"; then
2169 if test "$GCC" = yes; then
22912170 case $host_os in
2292 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
2293 *) lt_awk_arg='/^libraries:/' ;;
2171 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2172 *) lt_awk_arg="/^libraries:/" ;;
22942173 esac
22952174 case $host_os in
2296 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2297 *) lt_sed_strip_eq='s|=/|/|g' ;;
2175 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2176 *) lt_sed_strip_eq="s,=/,/,g" ;;
22982177 esac
22992178 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
23002179 case $lt_search_path_spec in
23102189 ;;
23112190 esac
23122191 # Ok, now we have the path, separated by spaces, we can step through it
2313 # and add multilib dir if necessary...
2192 # and add multilib dir if necessary.
23142193 lt_tmp_lt_search_path_spec=
2315 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2316 # ...but if some path component already ends with the multilib dir we assume
2317 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2318 case "$lt_multi_os_dir; $lt_search_path_spec " in
2319 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
2320 lt_multi_os_dir=
2321 ;;
2322 esac
2194 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
23232195 for lt_sys_path in $lt_search_path_spec; do
2324 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2325 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
2326 elif test -n "$lt_multi_os_dir"; then
2196 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2197 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2198 else
23272199 test -d "$lt_sys_path" && \
23282200 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
23292201 fi
23302202 done
23312203 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2332 BEGIN {RS = " "; FS = "/|\n";} {
2333 lt_foo = "";
2334 lt_count = 0;
2204 BEGIN {RS=" "; FS="/|\n";} {
2205 lt_foo="";
2206 lt_count=0;
23352207 for (lt_i = NF; lt_i > 0; lt_i--) {
23362208 if ($lt_i != "" && $lt_i != ".") {
23372209 if ($lt_i == "..") {
23382210 lt_count++;
23392211 } else {
23402212 if (lt_count == 0) {
2341 lt_foo = "/" $lt_i lt_foo;
2213 lt_foo="/" $lt_i lt_foo;
23422214 } else {
23432215 lt_count--;
23442216 }
23522224 # for these hosts.
23532225 case $host_os in
23542226 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2355 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2227 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
23562228 esac
23572229 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
23582230 else
23612233 library_names_spec=
23622234 libname_spec='lib$name'
23632235 soname_spec=
2364 shrext_cmds=.so
2236 shrext_cmds=".so"
23652237 postinstall_cmds=
23662238 postuninstall_cmds=
23672239 finish_cmds=
23782250 # flags to be left without arguments
23792251 need_version=unknown
23802252
2381 AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
2382 [User-defined run-time library search path.])
2383
23842253 case $host_os in
23852254 aix3*)
23862255 version_type=linux # correct to gnu/linux during the next big refactor
2387 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
2256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23882257 shlibpath_var=LIBPATH
23892258
23902259 # AIX 3 has no versioning support, so we append a major version to the name.
2391 soname_spec='$libname$release$shared_ext$major'
2260 soname_spec='${libname}${release}${shared_ext}$major'
23922261 ;;
23932262
23942263 aix[[4-9]]*)
23962265 need_lib_prefix=no
23972266 need_version=no
23982267 hardcode_into_libs=yes
2399 if test ia64 = "$host_cpu"; then
2268 if test "$host_cpu" = ia64; then
24002269 # AIX 5 supports IA64
2401 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
2270 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
24022271 shlibpath_var=LD_LIBRARY_PATH
24032272 else
24042273 # With GCC up to 2.95.x, collect2 would create an import file
24052274 # for dependence libraries. The import file would start with
2406 # the line '#! .'. This would cause the generated library to
2407 # depend on '.', always an invalid library. This was fixed in
2275 # the line `#! .'. This would cause the generated library to
2276 # depend on `.', always an invalid library. This was fixed in
24082277 # development snapshots of GCC prior to 3.0.
24092278 case $host_os in
24102279 aix4 | aix4.[[01]] | aix4.[[01]].*)
24112280 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
24122281 echo ' yes '
2413 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2282 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
24142283 :
24152284 else
24162285 can_build_shared=no
24172286 fi
24182287 ;;
24192288 esac
2420 # Using Import Files as archive members, it is possible to support
2421 # filename-based versioning of shared library archives on AIX. While
2422 # this would work for both with and without runtime linking, it will
2423 # prevent static linking of such archives. So we do filename-based
2424 # shared library versioning with .so extension only, which is used
2425 # when both runtime linking and shared linking is enabled.
2426 # Unfortunately, runtime linking may impact performance, so we do
2427 # not want this to be the default eventually. Also, we use the
2428 # versioned .so libs for executables only if there is the -brtl
2429 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2430 # To allow for filename-based versioning support, we need to create
2431 # libNAME.so.V as an archive file, containing:
2432 # *) an Import File, referring to the versioned filename of the
2433 # archive as well as the shared archive member, telling the
2434 # bitwidth (32 or 64) of that shared object, and providing the
2435 # list of exported symbols of that shared object, eventually
2436 # decorated with the 'weak' keyword
2437 # *) the shared object with the F_LOADONLY flag set, to really avoid
2438 # it being seen by the linker.
2439 # At run time we better use the real file rather than another symlink,
2440 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2441
2442 case $with_aix_soname,$aix_use_runtimelinking in
2443 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
2289 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
24442290 # soname into executable. Probably we can add versioning support to
24452291 # collect2, so additional links can be useful in future.
2446 aix,yes) # traditional libtool
2447 dynamic_linker='AIX unversionable lib.so'
2292 if test "$aix_use_runtimelinking" = yes; then
24482293 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
24492294 # instead of lib<name>.a to let people know that these are not
24502295 # typical AIX shared libraries.
2451 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2452 ;;
2453 aix,no) # traditional AIX only
2454 dynamic_linker='AIX lib.a[(]lib.so.V[)]'
2296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2297 else
24552298 # We preserve .a as extension for shared libraries through AIX4.2
24562299 # and later when we are not doing run time linking.
2457 library_names_spec='$libname$release.a $libname.a'
2458 soname_spec='$libname$release$shared_ext$major'
2459 ;;
2460 svr4,*) # full svr4 only
2461 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
2462 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2463 # We do not specify a path in Import Files, so LIBPATH fires.
2464 shlibpath_overrides_runpath=yes
2465 ;;
2466 *,yes) # both, prefer svr4
2467 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
2468 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2469 # unpreferred sharedlib libNAME.a needs extra handling
2470 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
2471 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
2472 # We do not specify a path in Import Files, so LIBPATH fires.
2473 shlibpath_overrides_runpath=yes
2474 ;;
2475 *,no) # both, prefer aix
2476 dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
2477 library_names_spec='$libname$release.a $libname.a'
2478 soname_spec='$libname$release$shared_ext$major'
2479 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
2480 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
2481 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
2482 ;;
2483 esac
2300 library_names_spec='${libname}${release}.a $libname.a'
2301 soname_spec='${libname}${release}${shared_ext}$major'
2302 fi
24842303 shlibpath_var=LIBPATH
24852304 fi
24862305 ;;
24902309 powerpc)
24912310 # Since July 2007 AmigaOS4 officially supports .so libraries.
24922311 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24942313 ;;
24952314 m68k)
24962315 library_names_spec='$libname.ixlibrary $libname.a'
24972316 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2498 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $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'
2317 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
24992318 ;;
25002319 esac
25012320 ;;
25022321
25032322 beos*)
2504 library_names_spec='$libname$shared_ext'
2323 library_names_spec='${libname}${shared_ext}'
25052324 dynamic_linker="$host_os ld.so"
25062325 shlibpath_var=LIBRARY_PATH
25072326 ;;
25092328 bsdi[[45]]*)
25102329 version_type=linux # correct to gnu/linux during the next big refactor
25112330 need_version=no
2512 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2513 soname_spec='$libname$release$shared_ext$major'
2331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2332 soname_spec='${libname}${release}${shared_ext}$major'
25142333 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25152334 shlibpath_var=LD_LIBRARY_PATH
25162335 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25222341
25232342 cygwin* | mingw* | pw32* | cegcc*)
25242343 version_type=windows
2525 shrext_cmds=.dll
2344 shrext_cmds=".dll"
25262345 need_version=no
25272346 need_lib_prefix=no
25282347
25312350 # gcc
25322351 library_names_spec='$libname.dll.a'
25332352 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2534 postinstall_cmds='base_file=`basename \$file`~
2535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2353 postinstall_cmds='base_file=`basename \${file}`~
2354 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
25362355 dldir=$destdir/`dirname \$dlpath`~
25372356 test -d \$dldir || mkdir -p \$dldir~
25382357 $install_prog $dir/$dlname \$dldir/$dlname~
25482367 case $host_os in
25492368 cygwin*)
25502369 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2551 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2370 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
25522371 m4_if([$1], [],[
25532372 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
25542373 ;;
25552374 mingw* | cegcc*)
25562375 # MinGW DLLs use traditional 'lib' prefix
2557 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2376 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
25582377 ;;
25592378 pw32*)
25602379 # pw32 DLLs use 'pw' prefix rather than 'lib'
2561 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
25622381 ;;
25632382 esac
25642383 dynamic_linker='Win32 ld.exe'
25672386 *,cl*)
25682387 # Native MSVC
25692388 libname_spec='$name'
2570 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 library_names_spec='$libname.dll.lib'
2389 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2390 library_names_spec='${libname}.dll.lib'
25722391
25732392 case $build_os in
25742393 mingw*)
25952414 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25962415 ;;
25972416 *)
2598 sys_lib_search_path_spec=$LIB
2417 sys_lib_search_path_spec="$LIB"
25992418 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
26002419 # It is most probably a Windows format PATH.
26012420 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26082427 esac
26092428
26102429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2611 postinstall_cmds='base_file=`basename \$file`~
2612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2430 postinstall_cmds='base_file=`basename \${file}`~
2431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
26132432 dldir=$destdir/`dirname \$dlpath`~
26142433 test -d \$dldir || mkdir -p \$dldir~
26152434 $install_prog $dir/$dlname \$dldir/$dlname'
26222441
26232442 *)
26242443 # Assume MSVC wrapper
2625 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
2444 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
26262445 dynamic_linker='Win32 ld.exe'
26272446 ;;
26282447 esac
26352454 version_type=darwin
26362455 need_lib_prefix=no
26372456 need_version=no
2638 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
2639 soname_spec='$libname$release$major$shared_ext'
2457 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2458 soname_spec='${libname}${release}${major}$shared_ext'
26402459 shlibpath_overrides_runpath=yes
26412460 shlibpath_var=DYLD_LIBRARY_PATH
26422461 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26492468 version_type=linux # correct to gnu/linux during the next big refactor
26502469 need_lib_prefix=no
26512470 need_version=no
2652 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2653 soname_spec='$libname$release$shared_ext$major'
2471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2472 soname_spec='${libname}${release}${shared_ext}$major'
26542473 shlibpath_var=LD_LIBRARY_PATH
26552474 ;;
26562475
26682487 version_type=freebsd-$objformat
26692488 case $version_type in
26702489 freebsd-elf*)
2671 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2672 soname_spec='$libname$release$shared_ext$major'
2490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26732491 need_version=no
26742492 need_lib_prefix=no
26752493 ;;
26762494 freebsd-*)
2677 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2495 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
26782496 need_version=yes
26792497 ;;
26802498 esac
26992517 esac
27002518 ;;
27012519
2520 gnu*)
2521 version_type=linux # correct to gnu/linux during the next big refactor
2522 need_lib_prefix=no
2523 need_version=no
2524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2525 soname_spec='${libname}${release}${shared_ext}$major'
2526 shlibpath_var=LD_LIBRARY_PATH
2527 shlibpath_overrides_runpath=no
2528 hardcode_into_libs=yes
2529 ;;
2530
27022531 haiku*)
27032532 version_type=linux # correct to gnu/linux during the next big refactor
27042533 need_lib_prefix=no
27052534 need_version=no
27062535 dynamic_linker="$host_os runtime_loader"
2707 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2708 soname_spec='$libname$release$shared_ext$major'
2536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2537 soname_spec='${libname}${release}${shared_ext}$major'
27092538 shlibpath_var=LIBRARY_PATH
2710 shlibpath_overrides_runpath=no
2539 shlibpath_overrides_runpath=yes
27112540 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
27122541 hardcode_into_libs=yes
27132542 ;;
27252554 dynamic_linker="$host_os dld.so"
27262555 shlibpath_var=LD_LIBRARY_PATH
27272556 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2728 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2729 soname_spec='$libname$release$shared_ext$major'
2730 if test 32 = "$HPUX_IA64_MODE"; then
2557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2558 soname_spec='${libname}${release}${shared_ext}$major'
2559 if test "X$HPUX_IA64_MODE" = X32; then
27312560 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2732 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
27332561 else
27342562 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2735 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
27362563 fi
2564 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
27372565 ;;
27382566 hppa*64*)
27392567 shrext_cmds='.sl'
27412569 dynamic_linker="$host_os dld.sl"
27422570 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
27432571 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2745 soname_spec='$libname$release$shared_ext$major'
2572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2573 soname_spec='${libname}${release}${shared_ext}$major'
27462574 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
27472575 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
27482576 ;;
27512579 dynamic_linker="$host_os dld.sl"
27522580 shlibpath_var=SHLIB_PATH
27532581 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2754 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2755 soname_spec='$libname$release$shared_ext$major'
2582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2583 soname_spec='${libname}${release}${shared_ext}$major'
27562584 ;;
27572585 esac
27582586 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
27652593 version_type=linux # correct to gnu/linux during the next big refactor
27662594 need_lib_prefix=no
27672595 need_version=no
2768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2769 soname_spec='$libname$release$shared_ext$major'
2596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2597 soname_spec='${libname}${release}${shared_ext}$major'
27702598 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
27712599 shlibpath_var=LD_LIBRARY_PATH
27722600 shlibpath_overrides_runpath=no
27772605 case $host_os in
27782606 nonstopux*) version_type=nonstopux ;;
27792607 *)
2780 if test yes = "$lt_cv_prog_gnu_ld"; then
2608 if test "$lt_cv_prog_gnu_ld" = yes; then
27812609 version_type=linux # correct to gnu/linux during the next big refactor
27822610 else
27832611 version_type=irix
27852613 esac
27862614 need_lib_prefix=no
27872615 need_version=no
2788 soname_spec='$libname$release$shared_ext$major'
2789 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
2616 soname_spec='${libname}${release}${shared_ext}$major'
2617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
27902618 case $host_os in
27912619 irix5* | nonstopux*)
27922620 libsuff= shlibsuff=
28052633 esac
28062634 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
28072635 shlibpath_overrides_runpath=no
2808 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
2809 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
2636 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2637 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
28102638 hardcode_into_libs=yes
28112639 ;;
28122640
28152643 dynamic_linker=no
28162644 ;;
28172645
2818 linux*android*)
2819 version_type=none # Android doesn't support versioned libraries.
2820 need_lib_prefix=no
2821 need_version=no
2822 library_names_spec='$libname$release$shared_ext'
2823 soname_spec='$libname$release$shared_ext'
2824 finish_cmds=
2825 shlibpath_var=LD_LIBRARY_PATH
2826 shlibpath_overrides_runpath=yes
2827
2828 # This implies no fast_install, which is unacceptable.
2829 # Some rework will be needed to allow for fast_install
2830 # before this can be enabled.
2831 hardcode_into_libs=yes
2832
2833 dynamic_linker='Android linker'
2834 # Don't embed -rpath directories since the linker doesn't support them.
2835 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2836 ;;
2837
28382646 # This must be glibc/ELF.
2839 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2647 linux* | k*bsd*-gnu | kopensolaris*-gnu)
28402648 version_type=linux # correct to gnu/linux during the next big refactor
28412649 need_lib_prefix=no
28422650 need_version=no
2843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2844 soname_spec='$libname$release$shared_ext$major'
2651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2652 soname_spec='${libname}${release}${shared_ext}$major'
28452653 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
28462654 shlibpath_var=LD_LIBRARY_PATH
28472655 shlibpath_overrides_runpath=no
28692677 # Add ABI-specific directories to the system library path.
28702678 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
28712679
2872 # Ideally, we could use ldconfig to report *all* directores which are
2873 # searched for libraries, however this is still not possible. Aside from not
2874 # being certain /sbin/ldconfig is available, command
2875 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2876 # even though it is searched at run-time. Try to do the best guess by
2877 # appending ld.so.conf contents (and includes) to the search path.
2680 # Append ld.so.conf contents to the search path
28782681 if test -f /etc/ld.so.conf; then
28792682 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
28802683 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2684
28812685 fi
28822686
28832687 # We used to test for /lib/ld.so.1 and disable shared libraries on
28942698 need_lib_prefix=no
28952699 need_version=no
28962700 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2897 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28982702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28992703 dynamic_linker='NetBSD (a.out) ld.so'
29002704 else
2901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2902 soname_spec='$libname$release$shared_ext$major'
2705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2706 soname_spec='${libname}${release}${shared_ext}$major'
29032707 dynamic_linker='NetBSD ld.elf_so'
29042708 fi
29052709 shlibpath_var=LD_LIBRARY_PATH
29092713
29102714 newsos6)
29112715 version_type=linux # correct to gnu/linux during the next big refactor
2912 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29132717 shlibpath_var=LD_LIBRARY_PATH
29142718 shlibpath_overrides_runpath=yes
29152719 ;;
29182722 version_type=qnx
29192723 need_lib_prefix=no
29202724 need_version=no
2921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2922 soname_spec='$libname$release$shared_ext$major'
2725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2726 soname_spec='${libname}${release}${shared_ext}$major'
29232727 shlibpath_var=LD_LIBRARY_PATH
29242728 shlibpath_overrides_runpath=no
29252729 hardcode_into_libs=yes
29262730 dynamic_linker='ldqnx.so'
29272731 ;;
29282732
2929 openbsd* | bitrig*)
2733 openbsd*)
29302734 version_type=sunos
2931 sys_lib_dlsearch_path_spec=/usr/lib
2735 sys_lib_dlsearch_path_spec="/usr/lib"
29322736 need_lib_prefix=no
2933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2934 need_version=no
2935 else
2936 need_version=yes
2937 fi
2938 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2737 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2738 case $host_os in
2739 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2740 *) need_version=no ;;
2741 esac
2742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
29392743 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
29402744 shlibpath_var=LD_LIBRARY_PATH
2941 shlibpath_overrides_runpath=yes
2745 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2746 case $host_os in
2747 openbsd2.[[89]] | openbsd2.[[89]].*)
2748 shlibpath_overrides_runpath=no
2749 ;;
2750 *)
2751 shlibpath_overrides_runpath=yes
2752 ;;
2753 esac
2754 else
2755 shlibpath_overrides_runpath=yes
2756 fi
29422757 ;;
29432758
29442759 os2*)
29452760 libname_spec='$name'
2946 version_type=windows
2947 shrext_cmds=.dll
2948 need_version=no
2761 shrext_cmds=".dll"
29492762 need_lib_prefix=no
2950 # OS/2 can only load a DLL with a base name of 8 characters or less.
2951 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2952 v=$($ECHO $release$versuffix | tr -d .-);
2953 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2954 $ECHO $n$v`$shared_ext'
2955 library_names_spec='${libname}_dll.$libext'
2763 library_names_spec='$libname${shared_ext} $libname.a'
29562764 dynamic_linker='OS/2 ld.exe'
2957 shlibpath_var=BEGINLIBPATH
2958 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2959 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2960 postinstall_cmds='base_file=`basename \$file`~
2961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2962 dldir=$destdir/`dirname \$dlpath`~
2963 test -d \$dldir || mkdir -p \$dldir~
2964 $install_prog $dir/$dlname \$dldir/$dlname~
2965 chmod a+x \$dldir/$dlname~
2966 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2967 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2968 fi'
2969 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
2970 dlpath=$dir/\$dldll~
2971 $RM \$dlpath'
2765 shlibpath_var=LIBPATH
29722766 ;;
29732767
29742768 osf3* | osf4* | osf5*)
29752769 version_type=osf
29762770 need_lib_prefix=no
29772771 need_version=no
2978 soname_spec='$libname$release$shared_ext$major'
2979 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2772 soname_spec='${libname}${release}${shared_ext}$major'
2773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29802774 shlibpath_var=LD_LIBRARY_PATH
29812775 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2982 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2776 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
29832777 ;;
29842778
29852779 rdos*)
29902784 version_type=linux # correct to gnu/linux during the next big refactor
29912785 need_lib_prefix=no
29922786 need_version=no
2993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2994 soname_spec='$libname$release$shared_ext$major'
2787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2788 soname_spec='${libname}${release}${shared_ext}$major'
29952789 shlibpath_var=LD_LIBRARY_PATH
29962790 shlibpath_overrides_runpath=yes
29972791 hardcode_into_libs=yes
30012795
30022796 sunos4*)
30032797 version_type=sunos
3004 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
30052799 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
30062800 shlibpath_var=LD_LIBRARY_PATH
30072801 shlibpath_overrides_runpath=yes
3008 if test yes = "$with_gnu_ld"; then
2802 if test "$with_gnu_ld" = yes; then
30092803 need_lib_prefix=no
30102804 fi
30112805 need_version=yes
30132807
30142808 sysv4 | sysv4.3*)
30152809 version_type=linux # correct to gnu/linux during the next big refactor
3016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3017 soname_spec='$libname$release$shared_ext$major'
2810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2811 soname_spec='${libname}${release}${shared_ext}$major'
30182812 shlibpath_var=LD_LIBRARY_PATH
30192813 case $host_vendor in
30202814 sni)
30352829 ;;
30362830
30372831 sysv4*MP*)
3038 if test -d /usr/nec; then
2832 if test -d /usr/nec ;then
30392833 version_type=linux # correct to gnu/linux during the next big refactor
3040 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
3041 soname_spec='$libname$shared_ext.$major'
2834 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2835 soname_spec='$libname${shared_ext}.$major'
30422836 shlibpath_var=LD_LIBRARY_PATH
30432837 fi
30442838 ;;
30452839
30462840 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3047 version_type=sco
2841 version_type=freebsd-elf
30482842 need_lib_prefix=no
30492843 need_version=no
3050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
3051 soname_spec='$libname$release$shared_ext$major'
2844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2845 soname_spec='${libname}${release}${shared_ext}$major'
30522846 shlibpath_var=LD_LIBRARY_PATH
30532847 shlibpath_overrides_runpath=yes
30542848 hardcode_into_libs=yes
3055 if test yes = "$with_gnu_ld"; then
2849 if test "$with_gnu_ld" = yes; then
30562850 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
30572851 else
30582852 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
30702864 version_type=linux # correct to gnu/linux during the next big refactor
30712865 need_lib_prefix=no
30722866 need_version=no
3073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30742868 shlibpath_var=LD_LIBRARY_PATH
30752869 shlibpath_overrides_runpath=no
30762870 hardcode_into_libs=yes
30782872
30792873 uts4*)
30802874 version_type=linux # correct to gnu/linux during the next big refactor
3081 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3082 soname_spec='$libname$release$shared_ext$major'
2875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2876 soname_spec='${libname}${release}${shared_ext}$major'
30832877 shlibpath_var=LD_LIBRARY_PATH
30842878 ;;
30852879
30882882 ;;
30892883 esac
30902884 AC_MSG_RESULT([$dynamic_linker])
3091 test no = "$dynamic_linker" && can_build_shared=no
2885 test "$dynamic_linker" = no && can_build_shared=no
30922886
30932887 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3094 if test yes = "$GCC"; then
2888 if test "$GCC" = yes; then
30952889 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
30962890 fi
30972891
3098 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
3099 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
2892 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2893 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
31002894 fi
3101
3102 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
3103 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
2895 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
2896 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
31042897 fi
3105
3106 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
3107 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
3108
3109 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3110 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
3111
3112 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
3113 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
31142898
31152899 _LT_DECL([], [variables_saved_for_relink], [1],
31162900 [Variables whose values should be saved in libtool wrapper scripts and
31442928 [Whether we should hardcode library paths into libraries])
31452929 _LT_DECL([], [sys_lib_search_path_spec], [2],
31462930 [Compile-time system search path for libraries])
3147 _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
3148 [Detected run-time system search path for libraries])
3149 _LT_DECL([], [configure_time_lt_sys_library_path], [2],
3150 [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
2931 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
2932 [Run-time system search path for libraries])
31512933 ])# _LT_SYS_DYNAMIC_LINKER
31522934
31532935
31542936 # _LT_PATH_TOOL_PREFIX(TOOL)
31552937 # --------------------------
3156 # find a file program that can recognize shared library
2938 # find a file program which can recognize shared library
31572939 AC_DEFUN([_LT_PATH_TOOL_PREFIX],
31582940 [m4_require([_LT_DECL_EGREP])dnl
31592941 AC_MSG_CHECKING([for $1])
31602942 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
31612943 [case $MAGIC_CMD in
31622944 [[\\/*] | ?:[\\/]*])
3163 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
2945 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
31642946 ;;
31652947 *)
3166 lt_save_MAGIC_CMD=$MAGIC_CMD
3167 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2948 lt_save_MAGIC_CMD="$MAGIC_CMD"
2949 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
31682950 dnl $ac_dummy forces splitting on constant user-supplied paths.
31692951 dnl POSIX.2 word splitting is done only on the output of word expansions,
31702952 dnl not every word. This closes a longstanding sh security hole.
31712953 ac_dummy="m4_if([$2], , $PATH, [$2])"
31722954 for ac_dir in $ac_dummy; do
3173 IFS=$lt_save_ifs
2955 IFS="$lt_save_ifs"
31742956 test -z "$ac_dir" && ac_dir=.
3175 if test -f "$ac_dir/$1"; then
3176 lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
2957 if test -f $ac_dir/$1; then
2958 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
31772959 if test -n "$file_magic_test_file"; then
31782960 case $deplibs_check_method in
31792961 "file_magic "*)
31802962 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3181 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2963 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
31822964 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
31832965 $EGREP "$file_magic_regex" > /dev/null; then
31842966 :
32012983 break
32022984 fi
32032985 done
3204 IFS=$lt_save_ifs
3205 MAGIC_CMD=$lt_save_MAGIC_CMD
2986 IFS="$lt_save_ifs"
2987 MAGIC_CMD="$lt_save_MAGIC_CMD"
32062988 ;;
32072989 esac])
3208 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
32092991 if test -n "$MAGIC_CMD"; then
32102992 AC_MSG_RESULT($MAGIC_CMD)
32112993 else
32233005
32243006 # _LT_PATH_MAGIC
32253007 # --------------
3226 # find a file program that can recognize a shared library
3008 # find a file program which can recognize a shared library
32273009 m4_defun([_LT_PATH_MAGIC],
32283010 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
32293011 if test -z "$lt_cv_path_MAGIC_CMD"; then
32503032 AC_ARG_WITH([gnu-ld],
32513033 [AS_HELP_STRING([--with-gnu-ld],
32523034 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3253 [test no = "$withval" || with_gnu_ld=yes],
3035 [test "$withval" = no || with_gnu_ld=yes],
32543036 [with_gnu_ld=no])dnl
32553037
32563038 ac_prog=ld
3257 if test yes = "$GCC"; then
3039 if test "$GCC" = yes; then
32583040 # Check if gcc -print-prog-name=ld gives a path.
32593041 AC_MSG_CHECKING([for ld used by $CC])
32603042 case $host in
32613043 *-*-mingw*)
3262 # gcc leaves a trailing carriage return, which upsets mingw
3044 # gcc leaves a trailing carriage return which upsets mingw
32633045 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
32643046 *)
32653047 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
32733055 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
32743056 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
32753057 done
3276 test -z "$LD" && LD=$ac_prog
3058 test -z "$LD" && LD="$ac_prog"
32773059 ;;
32783060 "")
32793061 # If it fails, then pretend we aren't using GCC.
32843066 with_gnu_ld=unknown
32853067 ;;
32863068 esac
3287 elif test yes = "$with_gnu_ld"; then
3069 elif test "$with_gnu_ld" = yes; then
32883070 AC_MSG_CHECKING([for GNU ld])
32893071 else
32903072 AC_MSG_CHECKING([for non-GNU ld])
32913073 fi
32923074 AC_CACHE_VAL(lt_cv_path_LD,
32933075 [if test -z "$LD"; then
3294 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
32953077 for ac_dir in $PATH; do
3296 IFS=$lt_save_ifs
3078 IFS="$lt_save_ifs"
32973079 test -z "$ac_dir" && ac_dir=.
32983080 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3299 lt_cv_path_LD=$ac_dir/$ac_prog
3081 lt_cv_path_LD="$ac_dir/$ac_prog"
33003082 # Check to see if the program is GNU ld. I'd rather use --version,
33013083 # but apparently some variants of GNU ld only accept -v.
33023084 # Break only if it was the GNU/non-GNU ld that we prefer.
33033085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
33043086 *GNU* | *'with BFD'*)
3305 test no != "$with_gnu_ld" && break
3087 test "$with_gnu_ld" != no && break
33063088 ;;
33073089 *)
3308 test yes != "$with_gnu_ld" && break
3090 test "$with_gnu_ld" != yes && break
33093091 ;;
33103092 esac
33113093 fi
33123094 done
3313 IFS=$lt_save_ifs
3095 IFS="$lt_save_ifs"
33143096 else
3315 lt_cv_path_LD=$LD # Let the user override the test with a path.
3097 lt_cv_path_LD="$LD" # Let the user override the test with a path.
33163098 fi])
3317 LD=$lt_cv_path_LD
3099 LD="$lt_cv_path_LD"
33183100 if test -n "$LD"; then
33193101 AC_MSG_RESULT($LD)
33203102 else
33683150 reload_cmds='$LD$reload_flag -o $output$reload_objs'
33693151 case $host_os in
33703152 cygwin* | mingw* | pw32* | cegcc*)
3371 if test yes != "$GCC"; then
3153 if test "$GCC" != yes; then
33723154 reload_cmds=false
33733155 fi
33743156 ;;
33753157 darwin*)
3376 if test yes = "$GCC"; then
3377 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3158 if test "$GCC" = yes; then
3159 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
33783160 else
33793161 reload_cmds='$LD$reload_flag -o $output$reload_objs'
33803162 fi
33833165 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
33843166 _LT_TAGDECL([], [reload_cmds], [2])dnl
33853167 ])# _LT_CMD_RELOAD
3386
3387
3388 # _LT_PATH_DD
3389 # -----------
3390 # find a working dd
3391 m4_defun([_LT_PATH_DD],
3392 [AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
3393 [printf 0123456789abcdef0123456789abcdef >conftest.i
3394 cat conftest.i conftest.i >conftest2.i
3395 : ${lt_DD:=$DD}
3396 AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
3397 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3398 cmp -s conftest.i conftest.out \
3399 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
3400 fi])
3401 rm -f conftest.i conftest2.i conftest.out])
3402 ])# _LT_PATH_DD
3403
3404
3405 # _LT_CMD_TRUNCATE
3406 # ----------------
3407 # find command to truncate a binary pipe
3408 m4_defun([_LT_CMD_TRUNCATE],
3409 [m4_require([_LT_PATH_DD])
3410 AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
3411 [printf 0123456789abcdef0123456789abcdef >conftest.i
3412 cat conftest.i conftest.i >conftest2.i
3413 lt_cv_truncate_bin=
3414 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3415 cmp -s conftest.i conftest.out \
3416 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
3417 fi
3418 rm -f conftest.i conftest2.i conftest.out
3419 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3420 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
3421 [Command to truncate a binary pipe])
3422 ])# _LT_CMD_TRUNCATE
34233168
34243169
34253170 # _LT_CHECK_MAGIC_METHOD
34373182 # Need to set the preceding variable on all platforms that support
34383183 # interlibrary dependencies.
34393184 # 'none' -- dependencies not supported.
3440 # 'unknown' -- same as none, but documents that we really don't know.
3185 # `unknown' -- same as none, but documents that we really don't know.
34413186 # 'pass_all' -- all dependencies passed with no checks.
34423187 # 'test_compile' -- check by making test program.
34433188 # 'file_magic [[regex]]' -- check by looking for files in library path
3444 # that responds to the $file_magic_cmd with a given extended regex.
3445 # If you have 'file' or equivalent on your system and you're not sure
3446 # whether 'pass_all' will *always* work, you probably want this one.
3189 # which responds to the $file_magic_cmd with a given extended regex.
3190 # If you have `file' or equivalent on your system and you're not sure
3191 # whether `pass_all' will *always* work, you probably want this one.
34473192
34483193 case $host_os in
34493194 aix[[4-9]]*)
34703215 # Base MSYS/MinGW do not provide the 'file' command needed by
34713216 # func_win32_libid shell function, so use a weaker test based on 'objdump',
34723217 # unless we find 'file', for example because we are cross-compiling.
3473 if ( file / ) >/dev/null 2>&1; then
3218 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
3219 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
34743220 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
34753221 lt_cv_file_magic_cmd='func_win32_libid'
34763222 else
35043250 else
35053251 lt_cv_deplibs_check_method=pass_all
35063252 fi
3253 ;;
3254
3255 gnu*)
3256 lt_cv_deplibs_check_method=pass_all
35073257 ;;
35083258
35093259 haiku*)
35443294 ;;
35453295
35463296 # This must be glibc/ELF.
3547 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3297 linux* | k*bsd*-gnu | kopensolaris*-gnu)
35483298 lt_cv_deplibs_check_method=pass_all
35493299 ;;
35503300
35663316 lt_cv_deplibs_check_method=pass_all
35673317 ;;
35683318
3569 openbsd* | bitrig*)
3570 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3319 openbsd*)
3320 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
35713321 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
35723322 else
35733323 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
36203370 tpf*)
36213371 lt_cv_deplibs_check_method=pass_all
36223372 ;;
3623 os2*)
3624 lt_cv_deplibs_check_method=pass_all
3625 ;;
36263373 esac
36273374 ])
36283375
36633410 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
36643411 [if test -n "$NM"; then
36653412 # Let the user override the test.
3666 lt_cv_path_NM=$NM
3413 lt_cv_path_NM="$NM"
36673414 else
3668 lt_nm_to_check=${ac_tool_prefix}nm
3415 lt_nm_to_check="${ac_tool_prefix}nm"
36693416 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
36703417 lt_nm_to_check="$lt_nm_to_check nm"
36713418 fi
36723419 for lt_tmp_nm in $lt_nm_to_check; do
3673 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
36743421 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3675 IFS=$lt_save_ifs
3422 IFS="$lt_save_ifs"
36763423 test -z "$ac_dir" && ac_dir=.
3677 tmp_nm=$ac_dir/$lt_tmp_nm
3678 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3424 tmp_nm="$ac_dir/$lt_tmp_nm"
3425 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
36793426 # Check to see if the nm accepts a BSD-compat flag.
3680 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3427 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
36813428 # nm: unknown option "B" ignored
36823429 # Tru64's nm complains that /dev/null is an invalid object file
3683 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3684 case $build_os in
3685 mingw*) lt_bad_file=conftest.nm/nofile ;;
3686 *) lt_bad_file=/dev/null ;;
3687 esac
3688 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3689 *$lt_bad_file* | *'Invalid file or object type'*)
3430 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3431 */dev/null* | *'Invalid file or object type'*)
36903432 lt_cv_path_NM="$tmp_nm -B"
3691 break 2
3433 break
36923434 ;;
36933435 *)
36943436 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
36953437 */dev/null*)
36963438 lt_cv_path_NM="$tmp_nm -p"
3697 break 2
3439 break
36983440 ;;
36993441 *)
37003442 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
37053447 esac
37063448 fi
37073449 done
3708 IFS=$lt_save_ifs
3450 IFS="$lt_save_ifs"
37093451 done
37103452 : ${lt_cv_path_NM=no}
37113453 fi])
3712 if test no != "$lt_cv_path_NM"; then
3713 NM=$lt_cv_path_NM
3454 if test "$lt_cv_path_NM" != "no"; then
3455 NM="$lt_cv_path_NM"
37143456 else
37153457 # Didn't find any BSD compatible name lister, look for dumpbin.
37163458 if test -n "$DUMPBIN"; then :
37173459 # Let the user override the test.
37183460 else
37193461 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3720 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3462 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
37213463 *COFF*)
3722 DUMPBIN="$DUMPBIN -symbols -headers"
3464 DUMPBIN="$DUMPBIN -symbols"
37233465 ;;
37243466 *)
37253467 DUMPBIN=:
37273469 esac
37283470 fi
37293471 AC_SUBST([DUMPBIN])
3730 if test : != "$DUMPBIN"; then
3731 NM=$DUMPBIN
3472 if test "$DUMPBIN" != ":"; then
3473 NM="$DUMPBIN"
37323474 fi
37333475 fi
37343476 test -z "$NM" && NM=nm
37743516
37753517 case $host_os in
37763518 cygwin* | mingw* | pw32* | cegcc*)
3777 # two different shell functions defined in ltmain.sh;
3778 # decide which one to use based on capabilities of $DLLTOOL
3519 # two different shell functions defined in ltmain.sh
3520 # decide which to use based on capabilities of $DLLTOOL
37793521 case `$DLLTOOL --help 2>&1` in
37803522 *--identify-strict*)
37813523 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
37873529 ;;
37883530 *)
37893531 # fallback: assume linklib IS sharedlib
3790 lt_cv_sharedlib_from_linklib_cmd=$ECHO
3532 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
37913533 ;;
37923534 esac
37933535 ])
38143556 lt_cv_path_mainfest_tool=yes
38153557 fi
38163558 rm -f conftest*])
3817 if test yes != "$lt_cv_path_mainfest_tool"; then
3559 if test "x$lt_cv_path_mainfest_tool" != xyes; then
38183560 MANIFEST_TOOL=:
38193561 fi
38203562 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
38213563 ])# _LT_PATH_MANIFEST_TOOL
3822
3823
3824 # _LT_DLL_DEF_P([FILE])
3825 # ---------------------
3826 # True iff FILE is a Windows DLL '.def' file.
3827 # Keep in sync with func_dll_def_p in the libtool script
3828 AC_DEFUN([_LT_DLL_DEF_P],
3829 [dnl
3830 test DEF = "`$SED -n dnl
3831 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3832 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3833 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3834 -e q dnl Only consider the first "real" line
3835 $1`" dnl
3836 ])# _LT_DLL_DEF_P
38373564
38383565
38393566 # LT_LIB_M
38473574 # These system don't have libm, or don't need it
38483575 ;;
38493576 *-ncr-sysv4.3*)
3850 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3577 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
38513578 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
38523579 ;;
38533580 *)
3854 AC_CHECK_LIB(m, cos, LIBM=-lm)
3581 AC_CHECK_LIB(m, cos, LIBM="-lm")
38553582 ;;
38563583 esac
38573584 AC_SUBST([LIBM])
38703597
38713598 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
38723599
3873 if test yes = "$GCC"; then
3600 if test "$GCC" = yes; then
38743601 case $cc_basename in
38753602 nvcc*)
38763603 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
39223649 symcode='[[ABCDGISTW]]'
39233650 ;;
39243651 hpux*)
3925 if test ia64 = "$host_cpu"; then
3652 if test "$host_cpu" = ia64; then
39263653 symcode='[[ABCDEGRST]]'
39273654 fi
39283655 ;;
39553682 symcode='[[ABCDGIRSTW]]' ;;
39563683 esac
39573684
3958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3959 # Gets list of data symbols to import.
3960 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3961 # Adjust the below global symbol transforms to fixup imported variables.
3962 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3963 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3964 lt_c_name_lib_hook="\
3965 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3966 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3967 else
3968 # Disable hooks by default.
3969 lt_cv_sys_global_symbol_to_import=
3970 lt_cdecl_hook=
3971 lt_c_name_hook=
3972 lt_c_name_lib_hook=
3973 fi
3974
39753685 # Transform an extracted symbol line into a proper C declaration.
39763686 # Some systems (esp. on ia64) link data and code symbols differently,
39773687 # so use this general approach.
3978 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3979 $lt_cdecl_hook\
3980 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3981 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3688 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
39823689
39833690 # Transform an extracted symbol line into symbol name and symbol address
3984 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3985 $lt_c_name_hook\
3986 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3987 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
3988
3989 # Transform an extracted symbol line into symbol name with lib prefix and
3990 # symbol address.
3991 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
3992 $lt_c_name_lib_hook\
3993 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3994 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
3995 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
3691 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
3692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
39963693
39973694 # Handle CRLF in mingw tool chain
39983695 opt_cr=
40103707
40113708 # Write the raw and C identifiers.
40123709 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4013 # Fake it for dumpbin and say T for any non-static function,
4014 # D for any global variable and I for any imported variable.
3710 # Fake it for dumpbin and say T for any non-static function
3711 # and D for any global variable.
40153712 # Also find C++ and __fastcall symbols from MSVC++,
40163713 # which start with @ or ?.
40173714 lt_cv_sys_global_symbol_pipe="$AWK ['"\
40183715 " {last_section=section; section=\$ 3};"\
40193716 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
40203717 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4021 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
4022 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
4023 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
40243718 " \$ 0!~/External *\|/{next};"\
40253719 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
40263720 " {if(hide[section]) next};"\
4027 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
4028 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
4029 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4030 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
3721 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
3722 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
3723 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
3724 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
40313725 " ' prfx=^$ac_symprfx]"
40323726 else
40333727 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
40673761 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
40683762 cat <<_LT_EOF > conftest.$ac_ext
40693763 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4070 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4071 /* DATA imports from DLLs on WIN32 can't be const, because runtime
3764 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
3765 /* DATA imports from DLLs on WIN32 con't be const, because runtime
40723766 relocations are performed -- see ld's documentation on pseudo-relocs. */
40733767 # define LT@&t@_DLSYM_CONST
4074 #elif defined __osf__
3768 #elif defined(__osf__)
40753769 /* This system does not cope well with relocations in const data. */
40763770 # define LT@&t@_DLSYM_CONST
40773771 #else
40973791 {
40983792 { "@PROGRAM@", (void *) 0 },
40993793 _LT_EOF
4100 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
3794 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
41013795 cat <<\_LT_EOF >> conftest.$ac_ext
41023796 {0, (void *) 0}
41033797 };
41173811 mv conftest.$ac_objext conftstm.$ac_objext
41183812 lt_globsym_save_LIBS=$LIBS
41193813 lt_globsym_save_CFLAGS=$CFLAGS
4120 LIBS=conftstm.$ac_objext
3814 LIBS="conftstm.$ac_objext"
41213815 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4122 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
3816 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
41233817 pipe_works=yes
41243818 fi
41253819 LIBS=$lt_globsym_save_LIBS
41403834 rm -rf conftest* conftst*
41413835
41423836 # Do not use the global_symbol_pipe unless it works.
4143 if test yes = "$pipe_works"; then
3837 if test "$pipe_works" = yes; then
41443838 break
41453839 else
41463840 lt_cv_sys_global_symbol_pipe=
41673861 [Take the output of nm and produce a listing of raw symbols and C names])
41683862 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
41693863 [Transform the output of nm in a proper C declaration])
4170 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
4171 [Transform the output of nm into a list of symbols to manually relocate])
41723864 _LT_DECL([global_symbol_to_c_name_address],
41733865 [lt_cv_sys_global_symbol_to_c_name_address], [1],
41743866 [Transform the output of nm in a C name address pair])
41753867 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
41763868 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
41773869 [Transform the output of nm in a C name address pair when lib prefix is needed])
4178 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
4179 [The name lister interface])
41803870 _LT_DECL([], [nm_file_list_spec], [1],
41813871 [Specify filename containing input files for $NM])
41823872 ]) # _LT_CMD_GLOBAL_SYMBOLS
41923882
41933883 m4_if([$1], [CXX], [
41943884 # C++ specific cases for pic, static, wl, etc.
4195 if test yes = "$GXX"; then
3885 if test "$GXX" = yes; then
41963886 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
41973887 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
41983888
41993889 case $host_os in
42003890 aix*)
42013891 # All AIX code is PIC.
4202 if test ia64 = "$host_cpu"; then
3892 if test "$host_cpu" = ia64; then
42033893 # AIX 5 now supports IA64 processor
42043894 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
42053895 fi
4206 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
42073896 ;;
42083897
42093898 amigaos*)
42143903 ;;
42153904 m68k)
42163905 # FIXME: we need at least 68020 code to build shared libraries, but
4217 # adding the '-m68020' flag to GCC prevents building anything better,
4218 # like '-m68040'.
3906 # adding the `-m68020' flag to GCC prevents building anything better,
3907 # like `-m68040'.
42193908 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
42203909 ;;
42213910 esac
42313920 # (--disable-auto-import) libraries
42323921 m4_if([$1], [GCJ], [],
42333922 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4234 case $host_os in
4235 os2*)
4236 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4237 ;;
4238 esac
42393923 ;;
42403924 darwin* | rhapsody*)
42413925 # PIC is the default on this platform
42853969 case $host_os in
42863970 aix[[4-9]]*)
42873971 # All AIX code is PIC.
4288 if test ia64 = "$host_cpu"; then
3972 if test "$host_cpu" = ia64; then
42893973 # AIX 5 now supports IA64 processor
42903974 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
42913975 else
43264010 case $cc_basename in
43274011 CC*)
43284012 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4329 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4330 if test ia64 != "$host_cpu"; then
4013 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4014 if test "$host_cpu" != ia64; then
43314015 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
43324016 fi
43334017 ;;
43344018 aCC*)
43354019 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4336 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4020 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
43374021 case $host_cpu in
43384022 hppa*64*|ia64*)
43394023 # +Z the default
43624046 ;;
43634047 esac
43644048 ;;
4365 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4049 linux* | k*bsd*-gnu | kopensolaris*-gnu)
43664050 case $cc_basename in
43674051 KCC*)
43684052 # KAI C++ Compiler
43704054 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
43714055 ;;
43724056 ecpc* )
4373 # old Intel C++ for x86_64, which still supported -KPIC.
4057 # old Intel C++ for x86_64 which still supported -KPIC.
43744058 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
43754059 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
43764060 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
45154199 fi
45164200 ],
45174201 [
4518 if test yes = "$GCC"; then
4202 if test "$GCC" = yes; then
45194203 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
45204204 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
45214205
45224206 case $host_os in
45234207 aix*)
45244208 # All AIX code is PIC.
4525 if test ia64 = "$host_cpu"; then
4209 if test "$host_cpu" = ia64; then
45264210 # AIX 5 now supports IA64 processor
45274211 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
45284212 fi
4529 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
45304213 ;;
45314214
45324215 amigaos*)
45374220 ;;
45384221 m68k)
45394222 # FIXME: we need at least 68020 code to build shared libraries, but
4540 # adding the '-m68020' flag to GCC prevents building anything better,
4541 # like '-m68040'.
4223 # adding the `-m68020' flag to GCC prevents building anything better,
4224 # like `-m68040'.
45424225 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
45434226 ;;
45444227 esac
45554238 # (--disable-auto-import) libraries
45564239 m4_if([$1], [GCJ], [],
45574240 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4558 case $host_os in
4559 os2*)
4560 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4561 ;;
4562 esac
45634241 ;;
45644242
45654243 darwin* | rhapsody*)
46304308 case $host_os in
46314309 aix*)
46324310 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4633 if test ia64 = "$host_cpu"; then
4311 if test "$host_cpu" = ia64; then
46344312 # AIX 5 now supports IA64 processor
46354313 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
46364314 else
46384316 fi
46394317 ;;
46404318
4641 darwin* | rhapsody*)
4642 # PIC is the default on this platform
4643 # Common symbols not allowed in MH_DYLIB files
4644 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4645 case $cc_basename in
4646 nagfor*)
4647 # NAG Fortran compiler
4648 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4649 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4650 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4651 ;;
4652 esac
4653 ;;
4654
46554319 mingw* | cygwin* | pw32* | os2* | cegcc*)
46564320 # This hack is so that the source file can tell whether it is being
46574321 # built for inclusion in a dll (and should export symbols for example).
46584322 m4_if([$1], [GCJ], [],
46594323 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4660 case $host_os in
4661 os2*)
4662 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4663 ;;
4664 esac
46654324 ;;
46664325
46674326 hpux9* | hpux10* | hpux11*)
46774336 ;;
46784337 esac
46794338 # Is there a better lt_prog_compiler_static that works with the bundled CC?
4680 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4339 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
46814340 ;;
46824341
46834342 irix5* | irix6* | nonstopux*)
46864345 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
46874346 ;;
46884347
4689 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
46904349 case $cc_basename in
4691 # old Intel for x86_64, which still supported -KPIC.
4350 # old Intel for x86_64 which still supported -KPIC.
46924351 ecc*)
46934352 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
46944353 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47124371 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
47134372 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
47144373 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4715 ;;
4716 tcc*)
4717 # Fabrice Bellard et al's Tiny C Compiler
4718 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4719 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4720 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
47214374 ;;
47224375 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
47234376 # Portland Group compilers (*not* the Pentium gcc compiler,
48164469 ;;
48174470
48184471 sysv4*MP*)
4819 if test -d /usr/nec; then
4472 if test -d /usr/nec ;then
48204473 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
48214474 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
48224475 fi
48454498 fi
48464499 ])
48474500 case $host_os in
4848 # For platforms that do not support PIC, -DPIC is meaningless:
4501 # For platforms which do not support PIC, -DPIC is meaningless:
48494502 *djgpp*)
48504503 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
48514504 ;;
49114564 case $host_os in
49124565 aix[[4-9]]*)
49134566 # If we're using GNU nm, then we don't want the "-C" option.
4914 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4915 # Without the "-l" option, or with the "-B" option, AIX nm treats
4916 # weak defined symbols like other global defined symbols, whereas
4917 # GNU nm marks them as "W".
4918 # While the 'weak' keyword is ignored in the Export File, we need
4919 # it in the Import File for the 'aix-soname' feature, so we have
4920 # to replace the "-B" option with "-P" for AIX nm.
4567 # -C means demangle to AIX nm, but means don't demangle with GNU nm
4568 # Also, AIX nm treats weak defined symbols like other global defined
4569 # symbols, whereas GNU nm marks them as "W".
49214570 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4922 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
4571 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
49234572 else
4924 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
4573 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
49254574 fi
49264575 ;;
49274576 pw32*)
4928 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
4577 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
49294578 ;;
49304579 cygwin* | mingw* | cegcc*)
49314580 case $cc_basename in
49714620 # included in the symbol list
49724621 _LT_TAGVAR(include_expsyms, $1)=
49734622 # exclude_expsyms can be an extended regexp of symbols to exclude
4974 # it will be wrapped by ' (' and ')$', so one must not match beginning or
4975 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
4976 # as well as any symbol that contains 'd'.
4623 # it will be wrapped by ` (' and `)$', so one must not match beginning or
4624 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
4625 # as well as any symbol that contains `d'.
49774626 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
49784627 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
49794628 # platforms (ab)use it in PIC code, but their linkers get confused if
49894638 # FIXME: the MSVC++ port hasn't been tested in a loooong time
49904639 # When not using gcc, we currently assume that we are using
49914640 # Microsoft Visual C++.
4992 if test yes != "$GCC"; then
4641 if test "$GCC" != yes; then
49934642 with_gnu_ld=no
49944643 fi
49954644 ;;
49974646 # we just hope/assume this is gcc and not c89 (= MSVC++)
49984647 with_gnu_ld=yes
49994648 ;;
5000 openbsd* | bitrig*)
4649 openbsd*)
50014650 with_gnu_ld=no
50024651 ;;
50034652 esac
50074656 # On some targets, GNU ld is compatible enough with the native linker
50084657 # that we're better off using the native interface for both.
50094658 lt_use_gnu_ld_interface=no
5010 if test yes = "$with_gnu_ld"; then
4659 if test "$with_gnu_ld" = yes; then
50114660 case $host_os in
50124661 aix*)
50134662 # The AIX port of GNU ld has always aspired to compatibility
50294678 esac
50304679 fi
50314680
5032 if test yes = "$lt_use_gnu_ld_interface"; then
4681 if test "$lt_use_gnu_ld_interface" = yes; then
50334682 # If archive_cmds runs LD, not CC, wlarc should be empty
5034 wlarc='$wl'
4683 wlarc='${wl}'
50354684
50364685 # Set some defaults for GNU ld with shared library support. These
50374686 # are reset later if shared libraries are not supported. Putting them
50384687 # here allows them to be overridden if necessary.
50394688 runpath_var=LD_RUN_PATH
5040 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5041 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
4689 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4690 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
50424691 # ancient GNU ld didn't support --whole-archive et. al.
50434692 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5044 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
4693 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
50454694 else
50464695 _LT_TAGVAR(whole_archive_flag_spec, $1)=
50474696 fi
50484697 supports_anon_versioning=no
5049 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
4698 case `$LD -v 2>&1` in
50504699 *GNU\ gold*) supports_anon_versioning=yes ;;
50514700 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
50524701 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
50594708 case $host_os in
50604709 aix[[3-9]]*)
50614710 # On AIX/PPC, the GNU linker is very broken
5062 if test ia64 != "$host_cpu"; then
4711 if test "$host_cpu" != ia64; then
50634712 _LT_TAGVAR(ld_shlibs, $1)=no
50644713 cat <<_LT_EOF 1>&2
50654714
50784727 case $host_cpu in
50794728 powerpc)
50804729 # see comment about AmigaOS4 .so support
5081 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
4730 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
50824731 _LT_TAGVAR(archive_expsym_cmds, $1)=''
50834732 ;;
50844733 m68k)
50944743 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
50954744 # Joseph Beckenbach <[email protected]> says some releases of gcc
50964745 # support --undefined. This deserves some investigation. FIXME
5097 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
4746 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
50984747 else
50994748 _LT_TAGVAR(ld_shlibs, $1)=no
51004749 fi
51044753 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
51054754 # as there is no search path for DLLs.
51064755 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5107 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
4756 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
51084757 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
51094758 _LT_TAGVAR(always_export_symbols, $1)=no
51104759 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
51124761 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
51134762
51144763 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5115 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5116 # If the export-symbols file already is a .def file, use it as
5117 # is; otherwise, prepend EXPORTS...
5118 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5119 cp $export_symbols $output_objdir/$soname.def;
5120 else
5121 echo EXPORTS > $output_objdir/$soname.def;
5122 cat $export_symbols >> $output_objdir/$soname.def;
5123 fi~
5124 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4764 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4765 # If the export-symbols file already is a .def file (1st line
4766 # is EXPORTS), use it as is; otherwise, prepend...
4767 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4768 cp $export_symbols $output_objdir/$soname.def;
4769 else
4770 echo EXPORTS > $output_objdir/$soname.def;
4771 cat $export_symbols >> $output_objdir/$soname.def;
4772 fi~
4773 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
51254774 else
51264775 _LT_TAGVAR(ld_shlibs, $1)=no
51274776 fi
51284777 ;;
51294778
51304779 haiku*)
5131 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
4780 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
51324781 _LT_TAGVAR(link_all_deplibs, $1)=yes
5133 ;;
5134
5135 os2*)
5136 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5137 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5138 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5139 shrext_cmds=.dll
5140 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5141 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5142 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5143 $ECHO EXPORTS >> $output_objdir/$libname.def~
5144 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5145 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5146 emximp -o $lib $output_objdir/$libname.def'
5147 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5148 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5149 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5150 $ECHO EXPORTS >> $output_objdir/$libname.def~
5151 prefix_cmds="$SED"~
5152 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5153 prefix_cmds="$prefix_cmds -e 1d";
5154 fi~
5155 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5156 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5157 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5158 emximp -o $lib $output_objdir/$libname.def'
5159 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5160 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
51614782 ;;
51624783
51634784 interix[[3-9]]*)
51644785 _LT_TAGVAR(hardcode_direct, $1)=no
51654786 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5166 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5167 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
4787 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4788 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
51684789 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
51694790 # Instead, shared libraries are loaded at an image base (0x10000000 by
51704791 # default) and relocated if they conflict, which is a slow very memory
51714792 # consuming and fragmenting process. To avoid this, we pick a random,
51724793 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
51734794 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5174 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5175 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4795 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4796 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
51764797 ;;
51774798
51784799 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
51794800 tmp_diet=no
5180 if test linux-dietlibc = "$host_os"; then
4801 if test "$host_os" = linux-dietlibc; then
51814802 case $cc_basename in
51824803 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
51834804 esac
51844805 fi
51854806 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5186 && test no = "$tmp_diet"
4807 && test "$tmp_diet" = no
51874808 then
51884809 tmp_addflag=' $pic_flag'
51894810 tmp_sharedflag='-shared'
51904811 case $cc_basename,$host_cpu in
51914812 pgcc*) # Portland Group C compiler
5192 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
4813 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
51934814 tmp_addflag=' $pic_flag'
51944815 ;;
51954816 pgf77* | pgf90* | pgf95* | pgfortran*)
51964817 # Portland Group f77 and f90 compilers
5197 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
4818 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
51984819 tmp_addflag=' $pic_flag -Mnomain' ;;
51994820 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
52004821 tmp_addflag=' -i_dynamic' ;;
52054826 lf95*) # Lahey Fortran 8.1
52064827 _LT_TAGVAR(whole_archive_flag_spec, $1)=
52074828 tmp_sharedflag='--shared' ;;
5208 nagfor*) # NAGFOR 5.3
5209 tmp_sharedflag='-Wl,-shared' ;;
52104829 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
52114830 tmp_sharedflag='-qmkshrobj'
52124831 tmp_addflag= ;;
52134832 nvcc*) # Cuda Compiler Driver 2.2
5214 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
4833 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
52154834 _LT_TAGVAR(compiler_needs_object, $1)=yes
52164835 ;;
52174836 esac
52184837 case `$CC -V 2>&1 | sed 5q` in
52194838 *Sun\ C*) # Sun C 5.9
5220 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
4839 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
52214840 _LT_TAGVAR(compiler_needs_object, $1)=yes
52224841 tmp_sharedflag='-G' ;;
52234842 *Sun\ F*) # Sun Fortran 8.3
52244843 tmp_sharedflag='-G' ;;
52254844 esac
5226 _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5227
5228 if test yes = "$supports_anon_versioning"; then
4845 _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4846
4847 if test "x$supports_anon_versioning" = xyes; then
52294848 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5230 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5231 echo "local: *; };" >> $output_objdir/$libname.ver~
5232 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
4849 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4850 echo "local: *; };" >> $output_objdir/$libname.ver~
4851 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
52334852 fi
52344853
52354854 case $cc_basename in
5236 tcc*)
5237 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5238 ;;
52394855 xlf* | bgf* | bgxlf* | mpixlf*)
52404856 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
52414857 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5242 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
4858 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
52434859 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5244 if test yes = "$supports_anon_versioning"; then
4860 if test "x$supports_anon_versioning" = xyes; then
52454861 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5247 echo "local: *; };" >> $output_objdir/$libname.ver~
5248 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4863 echo "local: *; };" >> $output_objdir/$libname.ver~
4864 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52494865 fi
52504866 ;;
52514867 esac
52594875 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
52604876 wlarc=
52614877 else
5262 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5263 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
4878 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4879 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
52644880 fi
52654881 ;;
52664882
52784894
52794895 _LT_EOF
52804896 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5281 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5282 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
4897 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4898 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
52834899 else
52844900 _LT_TAGVAR(ld_shlibs, $1)=no
52854901 fi
52914907 _LT_TAGVAR(ld_shlibs, $1)=no
52924908 cat <<_LT_EOF 1>&2
52934909
5294 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
4910 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
52954911 *** reliably create shared libraries on SCO systems. Therefore, libtool
52964912 *** is disabling shared libraries support. We urge you to upgrade GNU
52974913 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
53064922 # DT_RUNPATH tag from executables and libraries. But doing so
53074923 # requires that you compile everything twice, which is a pain.
53084924 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5309 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5310 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5311 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
4925 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4926 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4927 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
53124928 else
53134929 _LT_TAGVAR(ld_shlibs, $1)=no
53144930 fi
53254941
53264942 *)
53274943 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5328 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5329 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
4944 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4945 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
53304946 else
53314947 _LT_TAGVAR(ld_shlibs, $1)=no
53324948 fi
53334949 ;;
53344950 esac
53354951
5336 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
4952 if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
53374953 runpath_var=
53384954 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
53394955 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
53494965 # Note: this linker hardcodes the directories in LIBPATH if there
53504966 # are no directories specified by -L.
53514967 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5352 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
4968 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
53534969 # Neither direct hardcoding nor static linking is supported with a
53544970 # broken collect2.
53554971 _LT_TAGVAR(hardcode_direct, $1)=unsupported
53574973 ;;
53584974
53594975 aix[[4-9]]*)
5360 if test ia64 = "$host_cpu"; then
4976 if test "$host_cpu" = ia64; then
53614977 # On IA64, the linker does run time linking by default, so we don't
53624978 # have to do anything special.
53634979 aix_use_runtimelinking=no
53644980 exp_sym_flag='-Bexport'
5365 no_entry_flag=
4981 no_entry_flag=""
53664982 else
53674983 # If we're using GNU nm, then we don't want the "-C" option.
5368 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5369 # Without the "-l" option, or with the "-B" option, AIX nm treats
5370 # weak defined symbols like other global defined symbols, whereas
5371 # GNU nm marks them as "W".
5372 # While the 'weak' keyword is ignored in the Export File, we need
5373 # it in the Import File for the 'aix-soname' feature, so we have
5374 # to replace the "-B" option with "-P" for AIX nm.
4984 # -C means demangle to AIX nm, but means don't demangle with GNU nm
4985 # Also, AIX nm treats weak defined symbols like other global
4986 # defined symbols, whereas GNU nm marks them as "W".
53754987 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5376 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
4988 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
53774989 else
5378 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
4990 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
53794991 fi
53804992 aix_use_runtimelinking=no
53814993
53824994 # Test if we are trying to use run time linking or normal
53834995 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5384 # have runtime linking enabled, and use it for executables.
5385 # For shared libraries, we enable/disable runtime linking
5386 # depending on the kind of the shared library created -
5387 # when "with_aix_soname,aix_use_runtimelinking" is:
5388 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
5389 # "aix,yes" lib.so shared, rtl:yes, for executables
5390 # lib.a static archive
5391 # "both,no" lib.so.V(shr.o) shared, rtl:yes
5392 # lib.a(lib.so.V) shared, rtl:no, for executables
5393 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
5394 # lib.a(lib.so.V) shared, rtl:no
5395 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
5396 # lib.a static archive
4996 # need to do runtime linking.
53974997 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
53984998 for ld_flag in $LDFLAGS; do
5399 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
4999 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
54005000 aix_use_runtimelinking=yes
54015001 break
54025002 fi
54035003 done
5404 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
5405 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5406 # so we don't have lib.a shared libs to link our executables.
5407 # We have to force runtime linking in this case.
5408 aix_use_runtimelinking=yes
5409 LDFLAGS="$LDFLAGS -Wl,-brtl"
5410 fi
54115004 ;;
54125005 esac
54135006
54265019 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
54275020 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
54285021 _LT_TAGVAR(link_all_deplibs, $1)=yes
5429 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5430 case $with_aix_soname,$aix_use_runtimelinking in
5431 aix,*) ;; # traditional, no import file
5432 svr4,* | *,yes) # use import file
5433 # The Import File defines what to hardcode.
5434 _LT_TAGVAR(hardcode_direct, $1)=no
5435 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5436 ;;
5437 esac
5438
5439 if test yes = "$GCC"; then
5022 _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
5023
5024 if test "$GCC" = yes; then
54405025 case $host_os in aix4.[[012]]|aix4.[[012]].*)
54415026 # We only want to do this on AIX 4.2 and lower, the check
54425027 # below for broken collect2 doesn't work under 4.3+
5443 collect2name=`$CC -print-prog-name=collect2`
5028 collect2name=`${CC} -print-prog-name=collect2`
54445029 if test -f "$collect2name" &&
54455030 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
54465031 then
54595044 ;;
54605045 esac
54615046 shared_flag='-shared'
5462 if test yes = "$aix_use_runtimelinking"; then
5463 shared_flag="$shared_flag "'$wl-G'
5047 if test "$aix_use_runtimelinking" = yes; then
5048 shared_flag="$shared_flag "'${wl}-G'
54645049 fi
5465 # Need to ensure runtime linking is disabled for the traditional
5466 # shared library, or the linker may eventually find shared libraries
5467 # /with/ Import File - we do not want to mix them.
5468 shared_flag_aix='-shared'
5469 shared_flag_svr4='-shared $wl-G'
54705050 else
54715051 # not using gcc
5472 if test ia64 = "$host_cpu"; then
5052 if test "$host_cpu" = ia64; then
54735053 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
54745054 # chokes on -Wl,-G. The following line is correct:
54755055 shared_flag='-G'
54765056 else
5477 if test yes = "$aix_use_runtimelinking"; then
5478 shared_flag='$wl-G'
5057 if test "$aix_use_runtimelinking" = yes; then
5058 shared_flag='${wl}-G'
54795059 else
5480 shared_flag='$wl-bM:SRE'
5060 shared_flag='${wl}-bM:SRE'
54815061 fi
5482 shared_flag_aix='$wl-bM:SRE'
5483 shared_flag_svr4='$wl-G'
54845062 fi
54855063 fi
54865064
5487 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5065 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
54885066 # It seems that -bexpall does not export symbols beginning with
54895067 # underscore (_), so it is better to generate a list of symbols to export.
54905068 _LT_TAGVAR(always_export_symbols, $1)=yes
5491 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
5069 if test "$aix_use_runtimelinking" = yes; then
54925070 # Warning - without using the other runtime loading flags (-brtl),
54935071 # -berok will link without error, but may produce a broken library.
54945072 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
54955073 # Determine the default libpath from the value encoded in an
54965074 # empty executable.
54975075 _LT_SYS_MODULE_PATH_AIX([$1])
5498 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5499 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
5076 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5077 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
55005078 else
5501 if test ia64 = "$host_cpu"; then
5502 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5079 if test "$host_cpu" = ia64; then
5080 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
55035081 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5504 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
5082 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
55055083 else
55065084 # Determine the default libpath from the value encoded in an
55075085 # empty executable.
55085086 _LT_SYS_MODULE_PATH_AIX([$1])
5509 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5087 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
55105088 # Warning - without using the other run time loading flags,
55115089 # -berok will link without error, but may produce a broken library.
5512 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5513 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5514 if test yes = "$with_gnu_ld"; then
5090 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5091 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5092 if test "$with_gnu_ld" = yes; then
55155093 # We only use this code for GNU lds that support --whole-archive.
5516 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5094 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
55175095 else
55185096 # Exported symbols can be pulled into shared objects from archives
55195097 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
55205098 fi
55215099 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5522 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
5523 # -brtl affects multiple linker settings, -berok does not and is overridden later
5524 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
5525 if test svr4 != "$with_aix_soname"; then
5526 # This is similar to how AIX traditionally builds its shared libraries.
5527 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
5528 fi
5529 if test aix != "$with_aix_soname"; then
5530 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
5531 else
5532 # used by -dlpreopen to get the symbols
5533 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
5534 fi
5535 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
5100 # This is similar to how AIX traditionally builds its shared libraries.
5101 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
55365102 fi
55375103 fi
55385104 ;;
55415107 case $host_cpu in
55425108 powerpc)
55435109 # see comment about AmigaOS4 .so support
5544 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5110 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
55455111 _LT_TAGVAR(archive_expsym_cmds, $1)=''
55465112 ;;
55475113 m68k)
55715137 # Tell ltmain to make .lib files, not .a files.
55725138 libext=lib
55735139 # Tell ltmain to make .dll files, not .so files.
5574 shrext_cmds=.dll
5140 shrext_cmds=".dll"
55755141 # FIXME: Setting linknames here is a bad hack.
5576 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
5577 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5578 cp "$export_symbols" "$output_objdir/$soname.def";
5579 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
5580 else
5581 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5582 fi~
5583 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
5584 linknames='
5142 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
5143 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5144 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
5145 else
5146 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
5147 fi~
5148 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
5149 linknames='
55855150 # The linker will not automatically build a static lib if we build a DLL.
55865151 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
55875152 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
55905155 # Don't use ranlib
55915156 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
55925157 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5593 lt_tool_outputfile="@TOOL_OUTPUT@"~
5594 case $lt_outputfile in
5595 *.exe|*.EXE) ;;
5596 *)
5597 lt_outputfile=$lt_outputfile.exe
5598 lt_tool_outputfile=$lt_tool_outputfile.exe
5599 ;;
5600 esac~
5601 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5602 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
5603 $RM "$lt_outputfile.manifest";
5604 fi'
5158 lt_tool_outputfile="@TOOL_OUTPUT@"~
5159 case $lt_outputfile in
5160 *.exe|*.EXE) ;;
5161 *)
5162 lt_outputfile="$lt_outputfile.exe"
5163 lt_tool_outputfile="$lt_tool_outputfile.exe"
5164 ;;
5165 esac~
5166 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
5167 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
5168 $RM "$lt_outputfile.manifest";
5169 fi'
56055170 ;;
56065171 *)
56075172 # Assume MSVC wrapper
56105175 # Tell ltmain to make .lib files, not .a files.
56115176 libext=lib
56125177 # Tell ltmain to make .dll files, not .so files.
5613 shrext_cmds=.dll
5178 shrext_cmds=".dll"
56145179 # FIXME: Setting linknames here is a bad hack.
56155180 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
56165181 # The linker will automatically build a .lib file if we build a DLL.
56605225 ;;
56615226
56625227 hpux9*)
5663 if test yes = "$GCC"; then
5664 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5228 if test "$GCC" = yes; then
5229 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
56655230 else
5666 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5231 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
56675232 fi
5668 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5233 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
56695234 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
56705235 _LT_TAGVAR(hardcode_direct, $1)=yes
56715236
56725237 # hardcode_minus_L: Not really in the search PATH,
56735238 # but as the default location of the library.
56745239 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5675 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5240 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
56765241 ;;
56775242
56785243 hpux10*)
5679 if test yes,no = "$GCC,$with_gnu_ld"; then
5680 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5244 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
5245 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
56815246 else
56825247 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
56835248 fi
5684 if test no = "$with_gnu_ld"; then
5685 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5249 if test "$with_gnu_ld" = no; then
5250 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
56865251 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
56875252 _LT_TAGVAR(hardcode_direct, $1)=yes
56885253 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5689 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5254 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
56905255 # hardcode_minus_L: Not really in the search PATH,
56915256 # but as the default location of the library.
56925257 _LT_TAGVAR(hardcode_minus_L, $1)=yes
56945259 ;;
56955260
56965261 hpux11*)
5697 if test yes,no = "$GCC,$with_gnu_ld"; then
5262 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
56985263 case $host_cpu in
56995264 hppa*64*)
5700 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5265 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
57015266 ;;
57025267 ia64*)
5703 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5268 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
57045269 ;;
57055270 *)
5706 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5271 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
57075272 ;;
57085273 esac
57095274 else
57105275 case $host_cpu in
57115276 hppa*64*)
5712 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5277 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
57135278 ;;
57145279 ia64*)
5715 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5280 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
57165281 ;;
57175282 *)
57185283 m4_if($1, [], [
57205285 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
57215286 _LT_LINKER_OPTION([if $CC understands -b],
57225287 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5723 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
5288 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
57245289 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
5725 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
5290 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
57265291 ;;
57275292 esac
57285293 fi
5729 if test no = "$with_gnu_ld"; then
5730 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5294 if test "$with_gnu_ld" = no; then
5295 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
57315296 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
57325297
57335298 case $host_cpu in
57385303 *)
57395304 _LT_TAGVAR(hardcode_direct, $1)=yes
57405305 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5741 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5306 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
57425307
57435308 # hardcode_minus_L: Not really in the search PATH,
57445309 # but as the default location of the library.
57495314 ;;
57505315
57515316 irix5* | irix6* | nonstopux*)
5752 if test yes = "$GCC"; then
5753 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5317 if test "$GCC" = yes; then
5318 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
57545319 # Try to use the -exported_symbol ld option, if it does not
57555320 # work, assume that -exports_file does not work either and
57565321 # implicitly export all symbols.
57575322 # This should be the same for all languages, so no per-tag cache variable.
57585323 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
57595324 [lt_cv_irix_exported_symbol],
5760 [save_LDFLAGS=$LDFLAGS
5761 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5325 [save_LDFLAGS="$LDFLAGS"
5326 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
57625327 AC_LINK_IFELSE(
57635328 [AC_LANG_SOURCE(
57645329 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
57715336 end]])])],
57725337 [lt_cv_irix_exported_symbol=yes],
57735338 [lt_cv_irix_exported_symbol=no])
5774 LDFLAGS=$save_LDFLAGS])
5775 if test yes = "$lt_cv_irix_exported_symbol"; then
5776 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
5339 LDFLAGS="$save_LDFLAGS"])
5340 if test "$lt_cv_irix_exported_symbol" = yes; then
5341 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
57775342 fi
57785343 else
5779 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5780 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
5344 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5345 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
57815346 fi
57825347 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5783 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5348 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
57845349 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
57855350 _LT_TAGVAR(inherit_rpath, $1)=yes
57865351 _LT_TAGVAR(link_all_deplibs, $1)=yes
5787 ;;
5788
5789 linux*)
5790 case $cc_basename in
5791 tcc*)
5792 # Fabrice Bellard et al's Tiny C Compiler
5793 _LT_TAGVAR(ld_shlibs, $1)=yes
5794 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5795 ;;
5796 esac
57975352 ;;
57985353
57995354 netbsd*)
58105365 newsos6)
58115366 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
58125367 _LT_TAGVAR(hardcode_direct, $1)=yes
5813 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5368 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
58145369 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
58155370 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
58165371 ;;
58185373 *nto* | *qnx*)
58195374 ;;
58205375
5821 openbsd* | bitrig*)
5376 openbsd*)
58225377 if test -f /usr/libexec/ld.so; then
58235378 _LT_TAGVAR(hardcode_direct, $1)=yes
58245379 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
58255380 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
58275382 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5828 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
5829 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5830 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5383 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5384 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5385 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
58315386 else
5832 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5833 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5387 case $host_os in
5388 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5389 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5390 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5391 ;;
5392 *)
5393 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5394 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5395 ;;
5396 esac
58345397 fi
58355398 else
58365399 _LT_TAGVAR(ld_shlibs, $1)=no
58415404 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
58425405 _LT_TAGVAR(hardcode_minus_L, $1)=yes
58435406 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5844 shrext_cmds=.dll
5845 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5846 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5847 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5848 $ECHO EXPORTS >> $output_objdir/$libname.def~
5849 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5850 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5851 emximp -o $lib $output_objdir/$libname.def'
5852 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5853 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5854 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5855 $ECHO EXPORTS >> $output_objdir/$libname.def~
5856 prefix_cmds="$SED"~
5857 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5858 prefix_cmds="$prefix_cmds -e 1d";
5859 fi~
5860 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5861 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5863 emximp -o $lib $output_objdir/$libname.def'
5864 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5865 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5407 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5408 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
58665409 ;;
58675410
58685411 osf3*)
5869 if test yes = "$GCC"; then
5870 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5871 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5412 if test "$GCC" = yes; then
5413 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5414 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
58725415 else
58735416 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5874 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5417 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
58755418 fi
58765419 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5877 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5420 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
58785421 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
58795422 ;;
58805423
58815424 osf4* | osf5*) # as osf3* with the addition of -msym flag
5882 if test yes = "$GCC"; then
5883 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5884 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5425 if test "$GCC" = yes; then
5426 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5427 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5428 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
58865429 else
58875430 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5888 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5431 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
58895432 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5890 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
5433 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
58915434
58925435 # Both c and cxx compiler support -rpath directly
58935436 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
58985441
58995442 solaris*)
59005443 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5901 if test yes = "$GCC"; then
5902 wlarc='$wl'
5903 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5444 if test "$GCC" = yes; then
5445 wlarc='${wl}'
5446 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
59045447 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5905 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5448 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
59065449 else
59075450 case `$CC -V 2>&1` in
59085451 *"Compilers 5.0"*)
59095452 wlarc=''
5910 _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
5453 _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
59115454 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5912 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
5455 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
59135456 ;;
59145457 *)
5915 wlarc='$wl'
5916 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
5458 wlarc='${wl}'
5459 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
59175460 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5918 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5461 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
59195462 ;;
59205463 esac
59215464 fi
59255468 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
59265469 *)
59275470 # The compiler driver will combine and reorder linker options,
5928 # but understands '-z linker_flag'. GCC discards it without '$wl',
5471 # but understands `-z linker_flag'. GCC discards it without `$wl',
59295472 # but is careful enough not to reorder.
59305473 # Supported since Solaris 2.6 (maybe 2.5.1?)
5931 if test yes = "$GCC"; then
5932 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
5474 if test "$GCC" = yes; then
5475 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
59335476 else
59345477 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
59355478 fi
59395482 ;;
59405483
59415484 sunos4*)
5942 if test sequent = "$host_vendor"; then
5485 if test "x$host_vendor" = xsequent; then
59435486 # Use $CC to link under sequent, because it throws in some extra .o
59445487 # files that make .init and .fini sections work.
5945 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5488 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
59465489 else
59475490 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
59485491 fi
59915534 ;;
59925535
59935536 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5994 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
5537 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
59955538 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
59965539 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
59975540 runpath_var='LD_RUN_PATH'
59985541
5999 if test yes = "$GCC"; then
6000 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6001 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5542 if test "$GCC" = yes; then
5543 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5544 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
60025545 else
6003 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6004 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5546 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5547 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
60055548 fi
60065549 ;;
60075550
60085551 sysv5* | sco3.2v5* | sco5v6*)
6009 # Note: We CANNOT use -z defs as we might desire, because we do not
5552 # Note: We can NOT use -z defs as we might desire, because we do not
60105553 # link with -lc, and that would cause any symbols used from libc to
60115554 # always be unresolved, which means just about no library would
60125555 # ever link correctly. If we're not using GNU ld we use -z text
60135556 # though, which does catch some bad symbols but isn't as heavy-handed
60145557 # as -z defs.
6015 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6016 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
5558 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5559 _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
60175560 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
60185561 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6019 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
5562 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
60205563 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
60215564 _LT_TAGVAR(link_all_deplibs, $1)=yes
6022 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
5565 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
60235566 runpath_var='LD_RUN_PATH'
60245567
6025 if test yes = "$GCC"; then
6026 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6027 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5568 if test "$GCC" = yes; then
5569 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5570 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
60285571 else
6029 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6030 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5572 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5573 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
60315574 fi
60325575 ;;
60335576
60425585 ;;
60435586 esac
60445587
6045 if test sni = "$host_vendor"; then
5588 if test x$host_vendor = xsni; then
60465589 case $host in
60475590 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6048 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
5591 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
60495592 ;;
60505593 esac
60515594 fi
60525595 fi
60535596 ])
60545597 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6055 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
5598 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
60565599
60575600 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
60585601
60695612 # Assume -lc should be added
60705613 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
60715614
6072 if test yes,yes = "$GCC,$enable_shared"; then
5615 if test "$enable_shared" = yes && test "$GCC" = yes; then
60735616 case $_LT_TAGVAR(archive_cmds, $1) in
60745617 *'~'*)
60755618 # FIXME: we may have to deal with multi-command sequences.
61495692 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
61505693 [Whether we need a single "-rpath" flag with a separated argument])
61515694 _LT_TAGDECL([], [hardcode_direct], [0],
6152 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
5695 [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
61535696 DIR into the resulting binary])
61545697 _LT_TAGDECL([], [hardcode_direct_absolute], [0],
6155 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
5698 [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
61565699 DIR into the resulting binary and the resulting library dependency is
6157 "absolute", i.e impossible to change by setting $shlibpath_var if the
5700 "absolute", i.e impossible to change by setting ${shlibpath_var} if the
61585701 library is relocated])
61595702 _LT_TAGDECL([], [hardcode_minus_L], [0],
61605703 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61955738 # ------------------------
61965739 # Ensure that the configuration variables for a C compiler are suitably
61975740 # defined. These variables are subsequently used by _LT_CONFIG to write
6198 # the compiler configuration to 'libtool'.
5741 # the compiler configuration to `libtool'.
61995742 m4_defun([_LT_LANG_C_CONFIG],
62005743 [m4_require([_LT_DECL_EGREP])dnl
6201 lt_save_CC=$CC
5744 lt_save_CC="$CC"
62025745 AC_LANG_PUSH(C)
62035746
62045747 # Source file extension for C test sources.
62385781 LT_SYS_DLOPEN_SELF
62395782 _LT_CMD_STRIPLIB
62405783
6241 # Report what library types will actually be built
5784 # Report which library types will actually be built
62425785 AC_MSG_CHECKING([if libtool supports shared libraries])
62435786 AC_MSG_RESULT([$can_build_shared])
62445787
62455788 AC_MSG_CHECKING([whether to build shared libraries])
6246 test no = "$can_build_shared" && enable_shared=no
5789 test "$can_build_shared" = "no" && enable_shared=no
62475790
62485791 # On AIX, shared libraries and static libraries use the same namespace, and
62495792 # are all built from PIC.
62505793 case $host_os in
62515794 aix3*)
6252 test yes = "$enable_shared" && enable_static=no
5795 test "$enable_shared" = yes && enable_static=no
62535796 if test -n "$RANLIB"; then
62545797 archive_cmds="$archive_cmds~\$RANLIB \$lib"
62555798 postinstall_cmds='$RANLIB $lib'
62575800 ;;
62585801
62595802 aix[[4-9]]*)
6260 if test ia64 != "$host_cpu"; then
6261 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
6262 yes,aix,yes) ;; # shared object as lib.so file only
6263 yes,svr4,*) ;; # shared object as lib.so archive member only
6264 yes,*) enable_static=no ;; # shared object in lib.a archive as well
6265 esac
5803 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5804 test "$enable_shared" = yes && enable_static=no
62665805 fi
62675806 ;;
62685807 esac
62705809
62715810 AC_MSG_CHECKING([whether to build static libraries])
62725811 # Make sure either enable_shared or enable_static is yes.
6273 test yes = "$enable_shared" || enable_static=yes
5812 test "$enable_shared" = yes || enable_static=yes
62745813 AC_MSG_RESULT([$enable_static])
62755814
62765815 _LT_CONFIG($1)
62775816 fi
62785817 AC_LANG_POP
6279 CC=$lt_save_CC
5818 CC="$lt_save_CC"
62805819 ])# _LT_LANG_C_CONFIG
62815820
62825821
62845823 # --------------------------
62855824 # Ensure that the configuration variables for a C++ compiler are suitably
62865825 # defined. These variables are subsequently used by _LT_CONFIG to write
6287 # the compiler configuration to 'libtool'.
5826 # the compiler configuration to `libtool'.
62885827 m4_defun([_LT_LANG_CXX_CONFIG],
62895828 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
62905829 m4_require([_LT_DECL_EGREP])dnl
62915830 m4_require([_LT_PATH_MANIFEST_TOOL])dnl
6292 if test -n "$CXX" && ( test no != "$CXX" &&
6293 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6294 (test g++ != "$CXX"))); then
5831 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5832 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5833 (test "X$CXX" != "Xg++"))) ; then
62955834 AC_PROG_CXXCPP
62965835 else
62975836 _lt_caught_CXX_error=yes
63335872 # the CXX compiler isn't working. Some variables (like enable_shared)
63345873 # are currently assumed to apply to all compilers on this platform,
63355874 # and will be corrupted by setting them based on a non-working compiler.
6336 if test yes != "$_lt_caught_CXX_error"; then
5875 if test "$_lt_caught_CXX_error" != yes; then
63375876 # Code to be used in simple compile tests
63385877 lt_simple_compile_test_code="int some_variable = 0;"
63395878
63755914 if test -n "$compiler"; then
63765915 # We don't want -fno-exception when compiling C++ code, so set the
63775916 # no_builtin_flag separately
6378 if test yes = "$GXX"; then
5917 if test "$GXX" = yes; then
63795918 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
63805919 else
63815920 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
63825921 fi
63835922
6384 if test yes = "$GXX"; then
5923 if test "$GXX" = yes; then
63855924 # Set up default GNU C++ configuration
63865925
63875926 LT_PATH_LD
63885927
63895928 # Check if GNU C++ uses GNU ld as the underlying linker, since the
63905929 # archiving commands below assume that GNU ld is being used.
6391 if test yes = "$with_gnu_ld"; then
6392 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6393 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6394
6395 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6396 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5930 if test "$with_gnu_ld" = yes; then
5931 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5932 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5933
5934 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5935 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
63975936
63985937 # If archive_cmds runs LD, not CC, wlarc should be empty
63995938 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
64005939 # investigate it a little bit more. (MM)
6401 wlarc='$wl'
5940 wlarc='${wl}'
64025941
64035942 # ancient GNU ld didn't support --whole-archive et. al.
64045943 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
64055944 $GREP 'no-whole-archive' > /dev/null; then
6406 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
5945 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
64075946 else
64085947 _LT_TAGVAR(whole_archive_flag_spec, $1)=
64095948 fi
64395978 _LT_TAGVAR(ld_shlibs, $1)=no
64405979 ;;
64415980 aix[[4-9]]*)
6442 if test ia64 = "$host_cpu"; then
5981 if test "$host_cpu" = ia64; then
64435982 # On IA64, the linker does run time linking by default, so we don't
64445983 # have to do anything special.
64455984 aix_use_runtimelinking=no
64465985 exp_sym_flag='-Bexport'
6447 no_entry_flag=
5986 no_entry_flag=""
64485987 else
64495988 aix_use_runtimelinking=no
64505989
64515990 # Test if we are trying to use run time linking or normal
64525991 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6453 # have runtime linking enabled, and use it for executables.
6454 # For shared libraries, we enable/disable runtime linking
6455 # depending on the kind of the shared library created -
6456 # when "with_aix_soname,aix_use_runtimelinking" is:
6457 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
6458 # "aix,yes" lib.so shared, rtl:yes, for executables
6459 # lib.a static archive
6460 # "both,no" lib.so.V(shr.o) shared, rtl:yes
6461 # lib.a(lib.so.V) shared, rtl:no, for executables
6462 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
6463 # lib.a(lib.so.V) shared, rtl:no
6464 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
6465 # lib.a static archive
5992 # need to do runtime linking.
64665993 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
64675994 for ld_flag in $LDFLAGS; do
64685995 case $ld_flag in
64725999 ;;
64736000 esac
64746001 done
6475 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
6476 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6477 # so we don't have lib.a shared libs to link our executables.
6478 # We have to force runtime linking in this case.
6479 aix_use_runtimelinking=yes
6480 LDFLAGS="$LDFLAGS -Wl,-brtl"
6481 fi
64826002 ;;
64836003 esac
64846004
64976017 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
64986018 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
64996019 _LT_TAGVAR(link_all_deplibs, $1)=yes
6500 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6501 case $with_aix_soname,$aix_use_runtimelinking in
6502 aix,*) ;; # no import file
6503 svr4,* | *,yes) # use import file
6504 # The Import File defines what to hardcode.
6505 _LT_TAGVAR(hardcode_direct, $1)=no
6506 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6507 ;;
6508 esac
6509
6510 if test yes = "$GXX"; then
6020 _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
6021
6022 if test "$GXX" = yes; then
65116023 case $host_os in aix4.[[012]]|aix4.[[012]].*)
65126024 # We only want to do this on AIX 4.2 and lower, the check
65136025 # below for broken collect2 doesn't work under 4.3+
6514 collect2name=`$CC -print-prog-name=collect2`
6026 collect2name=`${CC} -print-prog-name=collect2`
65156027 if test -f "$collect2name" &&
65166028 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
65176029 then
65296041 fi
65306042 esac
65316043 shared_flag='-shared'
6532 if test yes = "$aix_use_runtimelinking"; then
6533 shared_flag=$shared_flag' $wl-G'
6044 if test "$aix_use_runtimelinking" = yes; then
6045 shared_flag="$shared_flag "'${wl}-G'
65346046 fi
6535 # Need to ensure runtime linking is disabled for the traditional
6536 # shared library, or the linker may eventually find shared libraries
6537 # /with/ Import File - we do not want to mix them.
6538 shared_flag_aix='-shared'
6539 shared_flag_svr4='-shared $wl-G'
65406047 else
65416048 # not using gcc
6542 if test ia64 = "$host_cpu"; then
6049 if test "$host_cpu" = ia64; then
65436050 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
65446051 # chokes on -Wl,-G. The following line is correct:
65456052 shared_flag='-G'
65466053 else
6547 if test yes = "$aix_use_runtimelinking"; then
6548 shared_flag='$wl-G'
6054 if test "$aix_use_runtimelinking" = yes; then
6055 shared_flag='${wl}-G'
65496056 else
6550 shared_flag='$wl-bM:SRE'
6057 shared_flag='${wl}-bM:SRE'
65516058 fi
6552 shared_flag_aix='$wl-bM:SRE'
6553 shared_flag_svr4='$wl-G'
65546059 fi
65556060 fi
65566061
6557 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6062 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
65586063 # It seems that -bexpall does not export symbols beginning with
65596064 # underscore (_), so it is better to generate a list of symbols to
65606065 # export.
65616066 _LT_TAGVAR(always_export_symbols, $1)=yes
6562 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
6067 if test "$aix_use_runtimelinking" = yes; then
65636068 # Warning - without using the other runtime loading flags (-brtl),
65646069 # -berok will link without error, but may produce a broken library.
6565 # The "-G" linker flag allows undefined symbols.
6566 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6070 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
65676071 # Determine the default libpath from the value encoded in an empty
65686072 # executable.
65696073 _LT_SYS_MODULE_PATH_AIX([$1])
6570 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6571
6572 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
6074 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6075
6076 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
65736077 else
6574 if test ia64 = "$host_cpu"; then
6575 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6078 if test "$host_cpu" = ia64; then
6079 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
65766080 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6577 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
6081 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
65786082 else
65796083 # Determine the default libpath from the value encoded in an
65806084 # empty executable.
65816085 _LT_SYS_MODULE_PATH_AIX([$1])
6582 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6086 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
65836087 # Warning - without using the other run time loading flags,
65846088 # -berok will link without error, but may produce a broken library.
6585 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6586 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6587 if test yes = "$with_gnu_ld"; then
6089 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6090 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6091 if test "$with_gnu_ld" = yes; then
65886092 # We only use this code for GNU lds that support --whole-archive.
6589 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6093 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
65906094 else
65916095 # Exported symbols can be pulled into shared objects from archives
65926096 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
65936097 fi
65946098 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6595 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
6596 # -brtl affects multiple linker settings, -berok does not and is overridden later
6597 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
6598 if test svr4 != "$with_aix_soname"; then
6599 # This is similar to how AIX traditionally builds its shared
6600 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6601 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
6602 fi
6603 if test aix != "$with_aix_soname"; then
6604 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
6605 else
6606 # used by -dlpreopen to get the symbols
6607 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
6608 fi
6609 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
6099 # This is similar to how AIX traditionally builds its shared
6100 # libraries.
6101 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
66106102 fi
66116103 fi
66126104 ;;
66166108 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
66176109 # Joseph Beckenbach <[email protected]> says some releases of gcc
66186110 # support --undefined. This deserves some investigation. FIXME
6619 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6111 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
66206112 else
66216113 _LT_TAGVAR(ld_shlibs, $1)=no
66226114 fi
66446136 # Tell ltmain to make .lib files, not .a files.
66456137 libext=lib
66466138 # Tell ltmain to make .dll files, not .so files.
6647 shrext_cmds=.dll
6139 shrext_cmds=".dll"
66486140 # FIXME: Setting linknames here is a bad hack.
6649 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
6650 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6651 cp "$export_symbols" "$output_objdir/$soname.def";
6652 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
6653 else
6654 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6655 fi~
6656 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
6657 linknames='
6141 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
6142 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6143 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
6144 else
6145 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
6146 fi~
6147 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
6148 linknames='
66586149 # The linker will not automatically build a static lib if we build a DLL.
66596150 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
66606151 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
66616152 # Don't use ranlib
66626153 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
66636154 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6664 lt_tool_outputfile="@TOOL_OUTPUT@"~
6665 case $lt_outputfile in
6666 *.exe|*.EXE) ;;
6667 *)
6668 lt_outputfile=$lt_outputfile.exe
6669 lt_tool_outputfile=$lt_tool_outputfile.exe
6670 ;;
6671 esac~
6672 func_to_tool_file "$lt_outputfile"~
6673 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6674 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
6675 $RM "$lt_outputfile.manifest";
6676 fi'
6155 lt_tool_outputfile="@TOOL_OUTPUT@"~
6156 case $lt_outputfile in
6157 *.exe|*.EXE) ;;
6158 *)
6159 lt_outputfile="$lt_outputfile.exe"
6160 lt_tool_outputfile="$lt_tool_outputfile.exe"
6161 ;;
6162 esac~
6163 func_to_tool_file "$lt_outputfile"~
6164 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
6165 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
6166 $RM "$lt_outputfile.manifest";
6167 fi'
66776168 ;;
66786169 *)
66796170 # g++
66806171 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
66816172 # as there is no search path for DLLs.
66826173 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6683 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6174 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
66846175 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
66856176 _LT_TAGVAR(always_export_symbols, $1)=no
66866177 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
66876178
66886179 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6689 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6690 # If the export-symbols file already is a .def file, use it as
6691 # is; otherwise, prepend EXPORTS...
6692 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6693 cp $export_symbols $output_objdir/$soname.def;
6694 else
6695 echo EXPORTS > $output_objdir/$soname.def;
6696 cat $export_symbols >> $output_objdir/$soname.def;
6697 fi~
6698 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6180 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6181 # If the export-symbols file already is a .def file (1st line
6182 # is EXPORTS), use it as is; otherwise, prepend...
6183 _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6184 cp $export_symbols $output_objdir/$soname.def;
6185 else
6186 echo EXPORTS > $output_objdir/$soname.def;
6187 cat $export_symbols >> $output_objdir/$soname.def;
6188 fi~
6189 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
66996190 else
67006191 _LT_TAGVAR(ld_shlibs, $1)=no
67016192 fi
67046195 ;;
67056196 darwin* | rhapsody*)
67066197 _LT_DARWIN_LINKER_FEATURES($1)
6707 ;;
6708
6709 os2*)
6710 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6711 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6712 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6713 shrext_cmds=.dll
6714 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6715 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6716 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6717 $ECHO EXPORTS >> $output_objdir/$libname.def~
6718 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
6719 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6720 emximp -o $lib $output_objdir/$libname.def'
6721 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6722 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6723 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6724 $ECHO EXPORTS >> $output_objdir/$libname.def~
6725 prefix_cmds="$SED"~
6726 if test EXPORTS = "`$SED 1q $export_symbols`"; then
6727 prefix_cmds="$prefix_cmds -e 1d";
6728 fi~
6729 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6730 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
6731 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6732 emximp -o $lib $output_objdir/$libname.def'
6733 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
6734 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
67356198 ;;
67366199
67376200 dgux*)
67686231 _LT_TAGVAR(ld_shlibs, $1)=yes
67696232 ;;
67706233
6234 gnu*)
6235 ;;
6236
67716237 haiku*)
6772 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6238 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
67736239 _LT_TAGVAR(link_all_deplibs, $1)=yes
67746240 ;;
67756241
67766242 hpux9*)
6777 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6243 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
67786244 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6779 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6245 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
67806246 _LT_TAGVAR(hardcode_direct, $1)=yes
67816247 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
67826248 # but as the default
67886254 _LT_TAGVAR(ld_shlibs, $1)=no
67896255 ;;
67906256 aCC*)
6791 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6257 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
67926258 # Commands to make compiler produce verbose output that lists
67936259 # what "hidden" libraries, object files and flags are used when
67946260 # linking a shared library.
67976263 # explicitly linking system object files so we need to strip them
67986264 # from the output so that they don't get included in the library
67996265 # dependencies.
6800 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6266 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
68016267 ;;
68026268 *)
6803 if test yes = "$GXX"; then
6804 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6269 if test "$GXX" = yes; then
6270 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
68056271 else
68066272 # FIXME: insert proper C++ library support
68076273 _LT_TAGVAR(ld_shlibs, $1)=no
68116277 ;;
68126278
68136279 hpux10*|hpux11*)
6814 if test no = "$with_gnu_ld"; then
6815 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6280 if test $with_gnu_ld = no; then
6281 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
68166282 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
68176283
68186284 case $host_cpu in
68196285 hppa*64*|ia64*)
68206286 ;;
68216287 *)
6822 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6288 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
68236289 ;;
68246290 esac
68256291 fi
68456311 aCC*)
68466312 case $host_cpu in
68476313 hppa*64*)
6848 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6314 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68496315 ;;
68506316 ia64*)
6851 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6317 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68526318 ;;
68536319 *)
6854 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6320 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68556321 ;;
68566322 esac
68576323 # Commands to make compiler produce verbose output that lists
68626328 # explicitly linking system object files so we need to strip them
68636329 # from the output so that they don't get included in the library
68646330 # dependencies.
6865 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6331 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
68666332 ;;
68676333 *)
6868 if test yes = "$GXX"; then
6869 if test no = "$with_gnu_ld"; then
6334 if test "$GXX" = yes; then
6335 if test $with_gnu_ld = no; then
68706336 case $host_cpu in
68716337 hppa*64*)
6872 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6338 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68736339 ;;
68746340 ia64*)
6875 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6341 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68766342 ;;
68776343 *)
6878 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6344 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68796345 ;;
68806346 esac
68816347 fi
68906356 interix[[3-9]]*)
68916357 _LT_TAGVAR(hardcode_direct, $1)=no
68926358 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6893 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6894 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6359 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6360 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
68956361 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
68966362 # Instead, shared libraries are loaded at an image base (0x10000000 by
68976363 # default) and relocated if they conflict, which is a slow very memory
68986364 # consuming and fragmenting process. To avoid this, we pick a random,
68996365 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
69006366 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6901 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6902 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6367 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6368 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
69036369 ;;
69046370 irix5* | irix6*)
69056371 case $cc_basename in
69066372 CC*)
69076373 # SGI C++
6908 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
6374 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
69096375
69106376 # Archives containing C++ object files must be created using
69116377 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
69146380 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
69156381 ;;
69166382 *)
6917 if test yes = "$GXX"; then
6918 if test no = "$with_gnu_ld"; then
6919 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
6383 if test "$GXX" = yes; then
6384 if test "$with_gnu_ld" = no; then
6385 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
69206386 else
6921 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
6387 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
69226388 fi
69236389 fi
69246390 _LT_TAGVAR(link_all_deplibs, $1)=yes
69256391 ;;
69266392 esac
6927 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6393 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
69286394 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
69296395 _LT_TAGVAR(inherit_rpath, $1)=yes
69306396 ;;
69316397
6932 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6398 linux* | k*bsd*-gnu | kopensolaris*-gnu)
69336399 case $cc_basename in
69346400 KCC*)
69356401 # Kuck and Associates, Inc. (KAI) C++ Compiler
69376403 # KCC will only create a shared library if the output file
69386404 # ends with ".so" (or ".sl" for HP-UX), so rename the library
69396405 # to its proper name (with version) after linking.
6940 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6941 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
6406 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6407 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
69426408 # Commands to make compiler produce verbose output that lists
69436409 # what "hidden" libraries, object files and flags are used when
69446410 # linking a shared library.
69476413 # explicitly linking system object files so we need to strip them
69486414 # from the output so that they don't get included in the library
69496415 # dependencies.
6950 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6951
6952 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6953 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6416 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6417
6418 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6419 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
69546420
69556421 # Archives containing C++ object files must be created using
69566422 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
69646430 # earlier do not add the objects themselves.
69656431 case `$CC -V 2>&1` in
69666432 *"Version 7."*)
6967 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6968 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6433 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6434 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
69696435 ;;
69706436 *) # Version 8.0 or newer
69716437 tmp_idyn=
69726438 case $host_cpu in
69736439 ia64*) tmp_idyn=' -i_dynamic';;
69746440 esac
6975 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6976 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6441 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6442 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
69776443 ;;
69786444 esac
69796445 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6980 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6981 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6982 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6446 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6447 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6448 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
69836449 ;;
69846450 pgCC* | pgcpp*)
69856451 # Portland Group C++ compiler
69866452 case `$CC -V` in
69876453 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
69886454 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6989 rm -rf $tpldir~
6990 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6991 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6455 rm -rf $tpldir~
6456 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6457 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
69926458 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6993 rm -rf $tpldir~
6994 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6995 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6996 $RANLIB $oldlib'
6459 rm -rf $tpldir~
6460 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6461 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6462 $RANLIB $oldlib'
69976463 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
6998 rm -rf $tpldir~
6999 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7000 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6464 rm -rf $tpldir~
6465 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6466 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
70016467 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
7002 rm -rf $tpldir~
7003 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7004 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6468 rm -rf $tpldir~
6469 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6470 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
70056471 ;;
70066472 *) # Version 6 and above use weak symbols
7007 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7008 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6473 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6474 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
70096475 ;;
70106476 esac
70116477
7012 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7013 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7014 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
6478 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6479 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6480 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
70156481 ;;
70166482 cxx*)
70176483 # Compaq C++
7018 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7019 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
6484 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6485 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
70206486
70216487 runpath_var=LD_RUN_PATH
70226488 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
70306496 # explicitly linking system object files so we need to strip them
70316497 # from the output so that they don't get included in the library
70326498 # dependencies.
7033 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
6499 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
70346500 ;;
70356501 xl* | mpixl* | bgxl*)
70366502 # IBM XL 8.0 on PPC, with GNU ld
7037 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7038 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7039 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
7040 if test yes = "$supports_anon_versioning"; then
6503 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6504 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6505 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6506 if test "x$supports_anon_versioning" = xyes; then
70416507 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7043 echo "local: *; };" >> $output_objdir/$libname.ver~
7044 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
6508 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6509 echo "local: *; };" >> $output_objdir/$libname.ver~
6510 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
70456511 fi
70466512 ;;
70476513 *)
70496515 *Sun\ C*)
70506516 # Sun C++ 5.9
70516517 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7052 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7053 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
6518 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6519 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
70546520 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7055 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
6521 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
70566522 _LT_TAGVAR(compiler_needs_object, $1)=yes
70576523
70586524 # Not sure whether something based on
71106576 _LT_TAGVAR(ld_shlibs, $1)=yes
71116577 ;;
71126578
7113 openbsd* | bitrig*)
6579 openbsd2*)
6580 # C++ shared libraries are fairly broken
6581 _LT_TAGVAR(ld_shlibs, $1)=no
6582 ;;
6583
6584 openbsd*)
71146585 if test -f /usr/libexec/ld.so; then
71156586 _LT_TAGVAR(hardcode_direct, $1)=yes
71166587 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
71176588 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
71186589 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7119 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7120 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7121 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
7122 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7123 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
6590 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6591 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6592 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
6593 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6594 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
71246595 fi
71256596 output_verbose_link_cmd=func_echo_all
71266597 else
71366607 # KCC will only create a shared library if the output file
71376608 # ends with ".so" (or ".sl" for HP-UX), so rename the library
71386609 # to its proper name (with version) after linking.
7139 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
7140
7141 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6610 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6611
6612 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
71426613 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
71436614
71446615 # Archives containing C++ object files must be created using
71566627 cxx*)
71576628 case $host in
71586629 osf3*)
7159 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7160 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
7161 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6630 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6631 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6632 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
71626633 ;;
71636634 *)
71646635 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7165 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
6636 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
71666637 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
7167 echo "-hidden">> $lib.exp~
7168 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
7169 $RM $lib.exp'
6638 echo "-hidden">> $lib.exp~
6639 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
6640 $RM $lib.exp'
71706641 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
71716642 ;;
71726643 esac
71816652 # explicitly linking system object files so we need to strip them
71826653 # from the output so that they don't get included in the library
71836654 # dependencies.
7184 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6655 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
71856656 ;;
71866657 *)
7187 if test yes,no = "$GXX,$with_gnu_ld"; then
7188 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
6658 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6659 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
71896660 case $host in
71906661 osf3*)
7191 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
6662 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
71926663 ;;
71936664 *)
7194 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
6665 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
71956666 ;;
71966667 esac
71976668
7198 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6669 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
71996670 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
72006671
72016672 # Commands to make compiler produce verbose output that lists
72416712 # Sun C++ 4.2, 5.x and Centerline C++
72426713 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
72436714 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7244 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6715 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
72456716 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7246 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6717 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
72476718
72486719 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
72496720 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
72516722 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
72526723 *)
72536724 # The compiler driver will combine and reorder linker options,
7254 # but understands '-z linker_flag'.
6725 # but understands `-z linker_flag'.
72556726 # Supported since Solaris 2.6 (maybe 2.5.1?)
72566727 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
72576728 ;;
72686739 ;;
72696740 gcx*)
72706741 # Green Hills C++ Compiler
7271 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
6742 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
72726743
72736744 # The C++ compiler must be used to create the archive.
72746745 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
72756746 ;;
72766747 *)
72776748 # GNU C++ compiler with Solaris linker
7278 if test yes,no = "$GXX,$with_gnu_ld"; then
7279 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
6749 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6750 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
72806751 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7281 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
6752 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
72826753 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7283 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6754 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
72846755
72856756 # Commands to make compiler produce verbose output that lists
72866757 # what "hidden" libraries, object files and flags are used when
72876758 # linking a shared library.
72886759 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
72896760 else
7290 # g++ 2.7 appears to require '-G' NOT '-shared' on this
6761 # g++ 2.7 appears to require `-G' NOT `-shared' on this
72916762 # platform.
7292 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
6763 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
72936764 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7294 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6765 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
72956766
72966767 # Commands to make compiler produce verbose output that lists
72976768 # what "hidden" libraries, object files and flags are used when
72996770 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
73006771 fi
73016772
7302 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
6773 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
73036774 case $host_os in
73046775 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
73056776 *)
7306 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
6777 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
73076778 ;;
73086779 esac
73096780 fi
73126783 ;;
73136784
73146785 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7315 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6786 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
73166787 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
73176788 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
73186789 runpath_var='LD_RUN_PATH'
73196790
73206791 case $cc_basename in
73216792 CC*)
7322 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7323 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6793 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6794 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
73246795 ;;
73256796 *)
7326 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7327 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6797 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6798 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
73286799 ;;
73296800 esac
73306801 ;;
73316802
73326803 sysv5* | sco3.2v5* | sco5v6*)
7333 # Note: We CANNOT use -z defs as we might desire, because we do not
6804 # Note: We can NOT use -z defs as we might desire, because we do not
73346805 # link with -lc, and that would cause any symbols used from libc to
73356806 # always be unresolved, which means just about no library would
73366807 # ever link correctly. If we're not using GNU ld we use -z text
73376808 # though, which does catch some bad symbols but isn't as heavy-handed
73386809 # as -z defs.
7339 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7340 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6810 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6811 _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
73416812 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
73426813 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7343 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6814 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
73446815 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
73456816 _LT_TAGVAR(link_all_deplibs, $1)=yes
7346 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6817 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
73476818 runpath_var='LD_RUN_PATH'
73486819
73496820 case $cc_basename in
73506821 CC*)
7351 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7352 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6822 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6823 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
73536824 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7354 '"$_LT_TAGVAR(old_archive_cmds, $1)"
6825 '"$_LT_TAGVAR(old_archive_cmds, $1)"
73556826 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7356 '"$_LT_TAGVAR(reload_cmds, $1)"
6827 '"$_LT_TAGVAR(reload_cmds, $1)"
73576828 ;;
73586829 *)
7359 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7360 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6830 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6831 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
73616832 ;;
73626833 esac
73636834 ;;
73886859 esac
73896860
73906861 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
7391 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7392
7393 _LT_TAGVAR(GCC, $1)=$GXX
7394 _LT_TAGVAR(LD, $1)=$LD
6862 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6863
6864 _LT_TAGVAR(GCC, $1)="$GXX"
6865 _LT_TAGVAR(LD, $1)="$LD"
73956866
73966867 ## CAVEAT EMPTOR:
73976868 ## There is no encapsulation within the following macros, do not change
74186889 lt_cv_path_LD=$lt_save_path_LD
74196890 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
74206891 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
7421 fi # test yes != "$_lt_caught_CXX_error"
6892 fi # test "$_lt_caught_CXX_error" != yes
74226893
74236894 AC_LANG_POP
74246895 ])# _LT_LANG_CXX_CONFIG
74406911 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
74416912 func_stripname_cnf ()
74426913 {
7443 case @S|@2 in
7444 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7445 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
6914 case ${2} in
6915 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
6916 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74466917 esac
74476918 } # func_stripname_cnf
74486919 ])# _LT_FUNC_STRIPNAME_CNF
7449
74506920
74516921 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
74526922 # ---------------------------------
75317001 pre_test_object_deps_done=no
75327002
75337003 for p in `eval "$output_verbose_link_cmd"`; do
7534 case $prev$p in
7004 case ${prev}${p} in
75357005
75367006 -L* | -R* | -l*)
75377007 # Some compilers place space between "-{L,R}" and the path.
75387008 # Remove the space.
7539 if test x-L = "$p" ||
7540 test x-R = "$p"; then
7009 if test $p = "-L" ||
7010 test $p = "-R"; then
75417011 prev=$p
75427012 continue
75437013 fi
75537023 case $p in
75547024 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
75557025 esac
7556 if test no = "$pre_test_object_deps_done"; then
7557 case $prev in
7026 if test "$pre_test_object_deps_done" = no; then
7027 case ${prev} in
75587028 -L | -R)
75597029 # Internal compiler library paths should come after those
75607030 # provided the user. The postdeps already come after the
75617031 # user supplied libs so there is no need to process them.
75627032 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7563 _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
7033 _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
75647034 else
7565 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
7035 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
75667036 fi
75677037 ;;
75687038 # The "-l" case would never come before the object being
75707040 esac
75717041 else
75727042 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7573 _LT_TAGVAR(postdeps, $1)=$prev$p
7043 _LT_TAGVAR(postdeps, $1)="${prev}${p}"
75747044 else
7575 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
7045 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
75767046 fi
75777047 fi
75787048 prev=
75877057 continue
75887058 fi
75897059
7590 if test no = "$pre_test_object_deps_done"; then
7060 if test "$pre_test_object_deps_done" = no; then
75917061 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7592 _LT_TAGVAR(predep_objects, $1)=$p
7062 _LT_TAGVAR(predep_objects, $1)="$p"
75937063 else
75947064 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
75957065 fi
75967066 else
75977067 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7598 _LT_TAGVAR(postdep_objects, $1)=$p
7068 _LT_TAGVAR(postdep_objects, $1)="$p"
75997069 else
76007070 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
76017071 fi
76267096 _LT_TAGVAR(postdep_objects,$1)=
76277097 _LT_TAGVAR(postdeps,$1)=
76287098 ;;
7099
7100 linux*)
7101 case `$CC -V 2>&1 | sed 5q` in
7102 *Sun\ C*)
7103 # Sun C++ 5.9
7104
7105 # The more standards-conforming stlport4 library is
7106 # incompatible with the Cstd library. Avoid specifying
7107 # it if it's in CXXFLAGS. Ignore libCrun as
7108 # -library=stlport4 depends on it.
7109 case " $CXX $CXXFLAGS " in
7110 *" -library=stlport4 "*)
7111 solaris_use_stlport4=yes
7112 ;;
7113 esac
7114
7115 if test "$solaris_use_stlport4" != yes; then
7116 _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
7117 fi
7118 ;;
7119 esac
7120 ;;
7121
7122 solaris*)
7123 case $cc_basename in
7124 CC* | sunCC*)
7125 # The more standards-conforming stlport4 library is
7126 # incompatible with the Cstd library. Avoid specifying
7127 # it if it's in CXXFLAGS. Ignore libCrun as
7128 # -library=stlport4 depends on it.
7129 case " $CXX $CXXFLAGS " in
7130 *" -library=stlport4 "*)
7131 solaris_use_stlport4=yes
7132 ;;
7133 esac
7134
7135 # Adding this requires a known-good setup of shared libraries for
7136 # Sun compiler versions before 5.6, else PIC objects from an old
7137 # archive will be linked into the output, leading to subtle bugs.
7138 if test "$solaris_use_stlport4" != yes; then
7139 _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
7140 fi
7141 ;;
7142 esac
7143 ;;
76297144 esac
76307145 ])
76317146
76347149 esac
76357150 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
76367151 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7637 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7152 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
76387153 fi
76397154 _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
76407155 [The directories searched by this compiler when creating a shared library])
76547169 # --------------------------
76557170 # Ensure that the configuration variables for a Fortran 77 compiler are
76567171 # suitably defined. These variables are subsequently used by _LT_CONFIG
7657 # to write the compiler configuration to 'libtool'.
7172 # to write the compiler configuration to `libtool'.
76587173 m4_defun([_LT_LANG_F77_CONFIG],
76597174 [AC_LANG_PUSH(Fortran 77)
7660 if test -z "$F77" || test no = "$F77"; then
7175 if test -z "$F77" || test "X$F77" = "Xno"; then
76617176 _lt_disable_F77=yes
76627177 fi
76637178
76947209 # the F77 compiler isn't working. Some variables (like enable_shared)
76957210 # are currently assumed to apply to all compilers on this platform,
76967211 # and will be corrupted by setting them based on a non-working compiler.
7697 if test yes != "$_lt_disable_F77"; then
7212 if test "$_lt_disable_F77" != yes; then
76987213 # Code to be used in simple compile tests
76997214 lt_simple_compile_test_code="\
77007215 subroutine t
77167231 _LT_LINKER_BOILERPLATE
77177232
77187233 # Allow CC to be a program name with arguments.
7719 lt_save_CC=$CC
7234 lt_save_CC="$CC"
77207235 lt_save_GCC=$GCC
77217236 lt_save_CFLAGS=$CFLAGS
77227237 CC=${F77-"f77"}
77307245 AC_MSG_RESULT([$can_build_shared])
77317246
77327247 AC_MSG_CHECKING([whether to build shared libraries])
7733 test no = "$can_build_shared" && enable_shared=no
7248 test "$can_build_shared" = "no" && enable_shared=no
77347249
77357250 # On AIX, shared libraries and static libraries use the same namespace, and
77367251 # are all built from PIC.
77377252 case $host_os in
77387253 aix3*)
7739 test yes = "$enable_shared" && enable_static=no
7254 test "$enable_shared" = yes && enable_static=no
77407255 if test -n "$RANLIB"; then
77417256 archive_cmds="$archive_cmds~\$RANLIB \$lib"
77427257 postinstall_cmds='$RANLIB $lib'
77437258 fi
77447259 ;;
77457260 aix[[4-9]]*)
7746 if test ia64 != "$host_cpu"; then
7747 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7748 yes,aix,yes) ;; # shared object as lib.so file only
7749 yes,svr4,*) ;; # shared object as lib.so archive member only
7750 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7751 esac
7261 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7262 test "$enable_shared" = yes && enable_static=no
77527263 fi
77537264 ;;
77547265 esac
77567267
77577268 AC_MSG_CHECKING([whether to build static libraries])
77587269 # Make sure either enable_shared or enable_static is yes.
7759 test yes = "$enable_shared" || enable_static=yes
7270 test "$enable_shared" = yes || enable_static=yes
77607271 AC_MSG_RESULT([$enable_static])
77617272
7762 _LT_TAGVAR(GCC, $1)=$G77
7763 _LT_TAGVAR(LD, $1)=$LD
7273 _LT_TAGVAR(GCC, $1)="$G77"
7274 _LT_TAGVAR(LD, $1)="$LD"
77647275
77657276 ## CAVEAT EMPTOR:
77667277 ## There is no encapsulation within the following macros, do not change
77777288 fi # test -n "$compiler"
77787289
77797290 GCC=$lt_save_GCC
7780 CC=$lt_save_CC
7781 CFLAGS=$lt_save_CFLAGS
7782 fi # test yes != "$_lt_disable_F77"
7291 CC="$lt_save_CC"
7292 CFLAGS="$lt_save_CFLAGS"
7293 fi # test "$_lt_disable_F77" != yes
77837294
77847295 AC_LANG_POP
77857296 ])# _LT_LANG_F77_CONFIG
77897300 # -------------------------
77907301 # Ensure that the configuration variables for a Fortran compiler are
77917302 # suitably defined. These variables are subsequently used by _LT_CONFIG
7792 # to write the compiler configuration to 'libtool'.
7303 # to write the compiler configuration to `libtool'.
77937304 m4_defun([_LT_LANG_FC_CONFIG],
77947305 [AC_LANG_PUSH(Fortran)
77957306
7796 if test -z "$FC" || test no = "$FC"; then
7307 if test -z "$FC" || test "X$FC" = "Xno"; then
77977308 _lt_disable_FC=yes
77987309 fi
77997310
78307341 # the FC compiler isn't working. Some variables (like enable_shared)
78317342 # are currently assumed to apply to all compilers on this platform,
78327343 # and will be corrupted by setting them based on a non-working compiler.
7833 if test yes != "$_lt_disable_FC"; then
7344 if test "$_lt_disable_FC" != yes; then
78347345 # Code to be used in simple compile tests
78357346 lt_simple_compile_test_code="\
78367347 subroutine t
78527363 _LT_LINKER_BOILERPLATE
78537364
78547365 # Allow CC to be a program name with arguments.
7855 lt_save_CC=$CC
7366 lt_save_CC="$CC"
78567367 lt_save_GCC=$GCC
78577368 lt_save_CFLAGS=$CFLAGS
78587369 CC=${FC-"f95"}
78687379 AC_MSG_RESULT([$can_build_shared])
78697380
78707381 AC_MSG_CHECKING([whether to build shared libraries])
7871 test no = "$can_build_shared" && enable_shared=no
7382 test "$can_build_shared" = "no" && enable_shared=no
78727383
78737384 # On AIX, shared libraries and static libraries use the same namespace, and
78747385 # are all built from PIC.
78757386 case $host_os in
78767387 aix3*)
7877 test yes = "$enable_shared" && enable_static=no
7388 test "$enable_shared" = yes && enable_static=no
78787389 if test -n "$RANLIB"; then
78797390 archive_cmds="$archive_cmds~\$RANLIB \$lib"
78807391 postinstall_cmds='$RANLIB $lib'
78817392 fi
78827393 ;;
78837394 aix[[4-9]]*)
7884 if test ia64 != "$host_cpu"; then
7885 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7886 yes,aix,yes) ;; # shared object as lib.so file only
7887 yes,svr4,*) ;; # shared object as lib.so archive member only
7888 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7889 esac
7395 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7396 test "$enable_shared" = yes && enable_static=no
78907397 fi
78917398 ;;
78927399 esac
78947401
78957402 AC_MSG_CHECKING([whether to build static libraries])
78967403 # Make sure either enable_shared or enable_static is yes.
7897 test yes = "$enable_shared" || enable_static=yes
7404 test "$enable_shared" = yes || enable_static=yes
78987405 AC_MSG_RESULT([$enable_static])
78997406
7900 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
7901 _LT_TAGVAR(LD, $1)=$LD
7407 _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
7408 _LT_TAGVAR(LD, $1)="$LD"
79027409
79037410 ## CAVEAT EMPTOR:
79047411 ## There is no encapsulation within the following macros, do not change
79187425 GCC=$lt_save_GCC
79197426 CC=$lt_save_CC
79207427 CFLAGS=$lt_save_CFLAGS
7921 fi # test yes != "$_lt_disable_FC"
7428 fi # test "$_lt_disable_FC" != yes
79227429
79237430 AC_LANG_POP
79247431 ])# _LT_LANG_FC_CONFIG
79287435 # --------------------------
79297436 # Ensure that the configuration variables for the GNU Java Compiler compiler
79307437 # are suitably defined. These variables are subsequently used by _LT_CONFIG
7931 # to write the compiler configuration to 'libtool'.
7438 # to write the compiler configuration to `libtool'.
79327439 m4_defun([_LT_LANG_GCJ_CONFIG],
79337440 [AC_REQUIRE([LT_PROG_GCJ])dnl
79347441 AC_LANG_SAVE
79627469 CFLAGS=$GCJFLAGS
79637470 compiler=$CC
79647471 _LT_TAGVAR(compiler, $1)=$CC
7965 _LT_TAGVAR(LD, $1)=$LD
7472 _LT_TAGVAR(LD, $1)="$LD"
79667473 _LT_CC_BASENAME([$compiler])
79677474
79687475 # GCJ did not exist at the time GCC didn't implicitly link libc in.
79997506 # --------------------------
80007507 # Ensure that the configuration variables for the GNU Go compiler
80017508 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8002 # to write the compiler configuration to 'libtool'.
7509 # to write the compiler configuration to `libtool'.
80037510 m4_defun([_LT_LANG_GO_CONFIG],
80047511 [AC_REQUIRE([LT_PROG_GO])dnl
80057512 AC_LANG_SAVE
80337540 CFLAGS=$GOFLAGS
80347541 compiler=$CC
80357542 _LT_TAGVAR(compiler, $1)=$CC
8036 _LT_TAGVAR(LD, $1)=$LD
7543 _LT_TAGVAR(LD, $1)="$LD"
80377544 _LT_CC_BASENAME([$compiler])
80387545
80397546 # Go did not exist at the time GCC didn't implicitly link libc in.
80707577 # -------------------------
80717578 # Ensure that the configuration variables for the Windows resource compiler
80727579 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8073 # to write the compiler configuration to 'libtool'.
7580 # to write the compiler configuration to `libtool'.
80747581 m4_defun([_LT_LANG_RC_CONFIG],
80757582 [AC_REQUIRE([LT_PROG_RC])dnl
80767583 AC_LANG_SAVE
80867593 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
80877594
80887595 # Code to be used in simple link tests
8089 lt_simple_link_test_code=$lt_simple_compile_test_code
7596 lt_simple_link_test_code="$lt_simple_compile_test_code"
80907597
80917598 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
80927599 _LT_TAG_COMPILER
80967603 _LT_LINKER_BOILERPLATE
80977604
80987605 # Allow CC to be a program name with arguments.
8099 lt_save_CC=$CC
7606 lt_save_CC="$CC"
81007607 lt_save_CFLAGS=$CFLAGS
81017608 lt_save_GCC=$GCC
81027609 GCC=
81257632 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
81267633 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
81277634 [AC_CHECK_TOOL(GCJ, gcj,)
8128 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
7635 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
81297636 AC_SUBST(GCJFLAGS)])])[]dnl
81307637 ])
81317638
82367743 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
82377744 # along with /bin/sed that truncates output.
82387745 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8239 test ! -f "$lt_ac_sed" && continue
7746 test ! -f $lt_ac_sed && continue
82407747 cat /dev/null > conftest.in
82417748 lt_ac_count=0
82427749 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
82537760 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
82547761 cmp -s conftest.out conftest.nl || break
82557762 # 10000 chars as input seems more than enough
8256 test 10 -lt "$lt_ac_count" && break
7763 test $lt_ac_count -gt 10 && break
82577764 lt_ac_count=`expr $lt_ac_count + 1`
8258 if test "$lt_ac_count" -gt "$lt_ac_max"; then
7765 if test $lt_ac_count -gt $lt_ac_max; then
82597766 lt_ac_max=$lt_ac_count
82607767 lt_cv_path_SED=$lt_ac_sed
82617768 fi
82797786 # Find out whether the shell is Bourne or XSI compatible,
82807787 # or has some other useful features.
82817788 m4_defun([_LT_CHECK_SHELL_FEATURES],
8282 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7789 [AC_MSG_CHECKING([whether the shell understands some XSI constructs])
7790 # Try some XSI features
7791 xsi_shell=no
7792 ( _lt_dummy="a/b/c"
7793 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7794 = c,a/b,b/c, \
7795 && eval 'test $(( 1 + 1 )) -eq 2 \
7796 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7797 && xsi_shell=yes
7798 AC_MSG_RESULT([$xsi_shell])
7799 _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
7800
7801 AC_MSG_CHECKING([whether the shell understands "+="])
7802 lt_shell_append=no
7803 ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
7804 >/dev/null 2>&1 \
7805 && lt_shell_append=yes
7806 AC_MSG_RESULT([$lt_shell_append])
7807 _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
7808
7809 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82837810 lt_unset=unset
82847811 else
82857812 lt_unset=false
83037830 ])# _LT_CHECK_SHELL_FEATURES
83047831
83057832
7833 # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
7834 # ------------------------------------------------------
7835 # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
7836 # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
7837 m4_defun([_LT_PROG_FUNCTION_REPLACE],
7838 [dnl {
7839 sed -e '/^$1 ()$/,/^} # $1 /c\
7840 $1 ()\
7841 {\
7842 m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
7843 } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
7844 && mv -f "$cfgfile.tmp" "$cfgfile" \
7845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7846 test 0 -eq $? || _lt_function_replace_fail=:
7847 ])
7848
7849
7850 # _LT_PROG_REPLACE_SHELLFNS
7851 # -------------------------
7852 # Replace existing portable implementations of several shell functions with
7853 # equivalent extended shell implementations where those features are available..
7854 m4_defun([_LT_PROG_REPLACE_SHELLFNS],
7855 [if test x"$xsi_shell" = xyes; then
7856 _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
7857 case ${1} in
7858 */*) func_dirname_result="${1%/*}${2}" ;;
7859 * ) func_dirname_result="${3}" ;;
7860 esac])
7861
7862 _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
7863 func_basename_result="${1##*/}"])
7864
7865 _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
7866 case ${1} in
7867 */*) func_dirname_result="${1%/*}${2}" ;;
7868 * ) func_dirname_result="${3}" ;;
7869 esac
7870 func_basename_result="${1##*/}"])
7871
7872 _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
7873 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
7874 # positional parameters, so assign one to ordinary parameter first.
7875 func_stripname_result=${3}
7876 func_stripname_result=${func_stripname_result#"${1}"}
7877 func_stripname_result=${func_stripname_result%"${2}"}])
7878
7879 _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
7880 func_split_long_opt_name=${1%%=*}
7881 func_split_long_opt_arg=${1#*=}])
7882
7883 _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
7884 func_split_short_opt_arg=${1#??}
7885 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
7886
7887 _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
7888 case ${1} in
7889 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
7890 *) func_lo2o_result=${1} ;;
7891 esac])
7892
7893 _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
7894
7895 _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
7896
7897 _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
7898 fi
7899
7900 if test x"$lt_shell_append" = xyes; then
7901 _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
7902
7903 _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
7904 func_quote_for_eval "${2}"
7905 dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
7906 eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
7907
7908 # Save a `func_append' function call where possible by direct use of '+='
7909 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
7910 && mv -f "$cfgfile.tmp" "$cfgfile" \
7911 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7912 test 0 -eq $? || _lt_function_replace_fail=:
7913 else
7914 # Save a `func_append' function call even when '+=' is not available
7915 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
7916 && mv -f "$cfgfile.tmp" "$cfgfile" \
7917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
7918 test 0 -eq $? || _lt_function_replace_fail=:
7919 fi
7920
7921 if test x"$_lt_function_replace_fail" = x":"; then
7922 AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
7923 fi
7924 ])
7925
83067926 # _LT_PATH_CONVERSION_FUNCTIONS
83077927 # -----------------------------
8308 # Determine what file name conversion functions should be used by
7928 # Determine which file name conversion functions should be used by
83097929 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed
83107930 # for certain cross-compile configurations and native mingw.
83117931 m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
00 # Helper functions for option handling. -*- Autoconf -*-
11 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3 # Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
66 # This file is free software; the Free Software Foundation gives
77 # unlimited permission to copy and/or distribute it, with or without
88 # modifications, as long as this notice is preserved.
99
10 # serial 8 ltoptions.m4
10 # serial 7 ltoptions.m4
1111
1212 # This is to help aclocal find these macros, as it can't see m4_define.
1313 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
2828 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
2929 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
3030 _LT_MANGLE_DEFUN([$1], [$2]),
31 [m4_warning([Unknown $1 option '$2'])])[]dnl
31 [m4_warning([Unknown $1 option `$2'])])[]dnl
3232 ])
3333
3434
7474 dnl
7575 dnl If no reference was made to various pairs of opposing options, then
7676 dnl we run the default mode handler for the pair. For example, if neither
77 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
77 dnl `shared' nor `disable-shared' was passed, we enable building of shared
7878 dnl archives by default:
7979 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
8080 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
8181 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
8282 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
83 [_LT_ENABLE_FAST_INSTALL])
84 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
85 [_LT_WITH_AIX_SONAME([aix])])
83 [_LT_ENABLE_FAST_INSTALL])
8684 ])
8785 ])# _LT_SET_OPTIONS
8886
113111 [_LT_SET_OPTION([LT_INIT], [dlopen])
114112 AC_DIAGNOSE([obsolete],
115113 [$0: Remove this warning and the call to _LT_SET_OPTION when you
116 put the 'dlopen' option into LT_INIT's first parameter.])
114 put the `dlopen' option into LT_INIT's first parameter.])
117115 ])
118116
119117 dnl aclocal-1.4 backwards compatibility:
149147 _LT_SET_OPTION([LT_INIT], [win32-dll])
150148 AC_DIAGNOSE([obsolete],
151149 [$0: Remove this warning and the call to _LT_SET_OPTION when you
152 put the 'win32-dll' option into LT_INIT's first parameter.])
150 put the `win32-dll' option into LT_INIT's first parameter.])
153151 ])
154152
155153 dnl aclocal-1.4 backwards compatibility:
158156
159157 # _LT_ENABLE_SHARED([DEFAULT])
160158 # ----------------------------
161 # implement the --enable-shared flag, and supports the 'shared' and
162 # 'disable-shared' LT_INIT options.
163 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
159 # implement the --enable-shared flag, and supports the `shared' and
160 # `disable-shared' LT_INIT options.
161 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
164162 m4_define([_LT_ENABLE_SHARED],
165163 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
166164 AC_ARG_ENABLE([shared],
173171 *)
174172 enable_shared=no
175173 # Look at the argument we got. We use all the common list separators.
176 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
174 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
177175 for pkg in $enableval; do
178 IFS=$lt_save_ifs
176 IFS="$lt_save_ifs"
179177 if test "X$pkg" = "X$p"; then
180178 enable_shared=yes
181179 fi
182180 done
183 IFS=$lt_save_ifs
181 IFS="$lt_save_ifs"
184182 ;;
185183 esac],
186184 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
212210
213211 # _LT_ENABLE_STATIC([DEFAULT])
214212 # ----------------------------
215 # implement the --enable-static flag, and support the 'static' and
216 # 'disable-static' LT_INIT options.
217 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
213 # implement the --enable-static flag, and support the `static' and
214 # `disable-static' LT_INIT options.
215 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
218216 m4_define([_LT_ENABLE_STATIC],
219217 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
220218 AC_ARG_ENABLE([static],
227225 *)
228226 enable_static=no
229227 # Look at the argument we got. We use all the common list separators.
230 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
228 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
231229 for pkg in $enableval; do
232 IFS=$lt_save_ifs
230 IFS="$lt_save_ifs"
233231 if test "X$pkg" = "X$p"; then
234232 enable_static=yes
235233 fi
236234 done
237 IFS=$lt_save_ifs
235 IFS="$lt_save_ifs"
238236 ;;
239237 esac],
240238 [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
266264
267265 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
268266 # ----------------------------------
269 # implement the --enable-fast-install flag, and support the 'fast-install'
270 # and 'disable-fast-install' LT_INIT options.
271 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
267 # implement the --enable-fast-install flag, and support the `fast-install'
268 # and `disable-fast-install' LT_INIT options.
269 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
272270 m4_define([_LT_ENABLE_FAST_INSTALL],
273271 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
274272 AC_ARG_ENABLE([fast-install],
281279 *)
282280 enable_fast_install=no
283281 # Look at the argument we got. We use all the common list separators.
284 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
282 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
285283 for pkg in $enableval; do
286 IFS=$lt_save_ifs
284 IFS="$lt_save_ifs"
287285 if test "X$pkg" = "X$p"; then
288286 enable_fast_install=yes
289287 fi
290288 done
291 IFS=$lt_save_ifs
289 IFS="$lt_save_ifs"
292290 ;;
293291 esac],
294292 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
305303 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
306304 AC_DIAGNOSE([obsolete],
307305 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
308 the 'fast-install' option into LT_INIT's first parameter.])
306 the `fast-install' option into LT_INIT's first parameter.])
309307 ])
310308
311309 AU_DEFUN([AC_DISABLE_FAST_INSTALL],
312310 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
313311 AC_DIAGNOSE([obsolete],
314312 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
315 the 'disable-fast-install' option into LT_INIT's first parameter.])
313 the `disable-fast-install' option into LT_INIT's first parameter.])
316314 ])
317315
318316 dnl aclocal-1.4 backwards compatibility:
320318 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
321319
322320
323 # _LT_WITH_AIX_SONAME([DEFAULT])
324 # ----------------------------------
325 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
326 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
327 # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
328 m4_define([_LT_WITH_AIX_SONAME],
329 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
330 shared_archive_member_spec=
331 case $host,$enable_shared in
332 power*-*-aix[[5-9]]*,yes)
333 AC_MSG_CHECKING([which variant of shared library versioning to provide])
334 AC_ARG_WITH([aix-soname],
335 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
336 [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
337 [case $withval in
338 aix|svr4|both)
339 ;;
340 *)
341 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
342 ;;
343 esac
344 lt_cv_with_aix_soname=$with_aix_soname],
345 [AC_CACHE_VAL([lt_cv_with_aix_soname],
346 [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
347 with_aix_soname=$lt_cv_with_aix_soname])
348 AC_MSG_RESULT([$with_aix_soname])
349 if test aix != "$with_aix_soname"; then
350 # For the AIX way of multilib, we name the shared archive member
351 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
352 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
353 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
354 # the AIX toolchain works better with OBJECT_MODE set (default 32).
355 if test 64 = "${OBJECT_MODE-32}"; then
356 shared_archive_member_spec=shr_64
357 else
358 shared_archive_member_spec=shr
359 fi
360 fi
361 ;;
362 *)
363 with_aix_soname=aix
364 ;;
365 esac
366
367 _LT_DECL([], [shared_archive_member_spec], [0],
368 [Shared archive member basename, for filename based shared library versioning on AIX])dnl
369 ])# _LT_WITH_AIX_SONAME
370
371 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
372 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
373 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
374
375
376321 # _LT_WITH_PIC([MODE])
377322 # --------------------
378 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
323 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
379324 # LT_INIT options.
380 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
325 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
381326 m4_define([_LT_WITH_PIC],
382327 [AC_ARG_WITH([pic],
383328 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
388333 *)
389334 pic_mode=default
390335 # Look at the argument we got. We use all the common list separators.
391 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
336 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
392337 for lt_pkg in $withval; do
393 IFS=$lt_save_ifs
338 IFS="$lt_save_ifs"
394339 if test "X$lt_pkg" = "X$lt_p"; then
395340 pic_mode=yes
396341 fi
397342 done
398 IFS=$lt_save_ifs
343 IFS="$lt_save_ifs"
399344 ;;
400345 esac],
401 [pic_mode=m4_default([$1], [default])])
346 [pic_mode=default])
347
348 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
402349
403350 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
404351 ])# _LT_WITH_PIC
411358 [_LT_SET_OPTION([LT_INIT], [pic-only])
412359 AC_DIAGNOSE([obsolete],
413360 [$0: Remove this warning and the call to _LT_SET_OPTION when you
414 put the 'pic-only' option into LT_INIT's first parameter.])
361 put the `pic-only' option into LT_INIT's first parameter.])
415362 ])
416363
417364 dnl aclocal-1.4 backwards compatibility:
00 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
43 # Written by Gary V. Vaughan, 2004
54 #
65 # This file is free software; the Free Software Foundation gives
3332 # ------------
3433 # Manipulate m4 lists.
3534 # These macros are necessary as long as will still need to support
36 # Autoconf-2.59, which quotes differently.
35 # Autoconf-2.59 which quotes differently.
3736 m4_define([lt_car], [[$1]])
3837 m4_define([lt_cdr],
3938 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
4443
4544 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
4645 # ------------------------------------------
47 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
46 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
4847 # Note that neither SEPARATOR nor STRING are expanded; they are appended
4948 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
5049 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
00 # ltversion.m4 -- version numbers -*- Autoconf -*-
11 #
2 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
2 # Copyright (C) 2004 Free Software Foundation, Inc.
33 # Written by Scott James Remnant, 2004
44 #
55 # This file is free software; the Free Software Foundation gives
88
99 # @configure_input@
1010
11 # serial 4179 ltversion.m4
11 # serial 3337 ltversion.m4
1212 # This file is part of GNU Libtool
1313
14 m4_define([LT_PACKAGE_VERSION], [2.4.6])
15 m4_define([LT_PACKAGE_REVISION], [2.4.6])
14 m4_define([LT_PACKAGE_VERSION], [2.4.2])
15 m4_define([LT_PACKAGE_REVISION], [1.3337])
1616
1717 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.4.6'
19 macro_revision='2.4.6'
18 [macro_version='2.4.2'
19 macro_revision='1.3337'
2020 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2121 _LT_DECL(, macro_revision, 0)
2222 ])
00 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
43 # Written by Scott James Remnant, 2004.
54 #
65 # This file is free software; the Free Software Foundation gives
1110
1211 # These exist entirely to fool aclocal when bootstrapping libtool.
1312 #
14 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
13 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
1514 # which have later been changed to m4_define as they aren't part of the
1615 # exported API, or moved to Autoconf or Automake where they belong.
1716 #
2524 # included after everything else. This provides aclocal with the
2625 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
2726 # because those macros already exist, or will be overwritten later.
28 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
27 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
2928 #
3029 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3130 # Yes, that means every name once taken will need to remain here until
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2012-06-26.16; # UTC
4
5 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
159159 ;;
160160 autom4te*)
161161 echo "You might have modified some maintainer files that require"
162 echo "the 'autom4te' program to be rebuilt."
162 echo "the 'automa4te' program to be rebuilt."
163163 program_details 'autom4te'
164164 ;;
165165 bison*|yacc*)
3232 datadir = @datadir@
3333 datarootdir = @datarootdir@
3434 libdir = @libdir@
35 localedir = @localedir@
35 DATADIRNAME = @DATADIRNAME@
36 itlocaledir = $(prefix)/$(DATADIRNAME)/locale
3637 subdir = po
3738 install_sh = @install_sh@
3839 # Automake >= 1.8 provides @mkdir_p@.
7879
7980 .po.pox:
8081 $(MAKE) $(GETTEXT_PACKAGE).pot
81 $(MSGMERGE) $* $(GETTEXT_PACKAGE).pot -o $*.pox
82 $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
8283
8384 .po.mo:
8485 $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
106107 install-data-yes: all
107108 linguas="$(USE_LINGUAS)"; \
108109 for lang in $$linguas; do \
109 dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
110 dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
110111 $(mkdir_p) $$dir; \
111112 if test -r $$lang.gmo; then \
112113 $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
140141 uninstall:
141142 linguas="$(USE_LINGUAS)"; \
142143 for lang in $$linguas; do \
143 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
144 rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
144 rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
145 rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
145146 done
146147
147148 check: all $(GETTEXT_PACKAGE).pot
252252 #: ../src/org.gnome.Terminal.gschema.xml.h:1
253253 msgctxt "visible-name"
254254 msgid "'Unnamed'"
255 msgstr "\"Без назвы\""
255 msgstr "'Без назвы'"
256256
257257 #: ../src/org.gnome.Terminal.gschema.xml.h:2
258258 msgid "Human-readable name of the profile"
298298 #: ../src/org.gnome.Terminal.gschema.xml.h:2
299299 msgctxt "visible-name"
300300 msgid "'Unnamed'"
301 msgstr "«Sense nom»"
301 msgstr "'Sense nom'"
302302
303303 #: ../src/org.gnome.Terminal.gschema.xml.h:3
304304 msgid "Human-readable name of the profile"
13411341 # _k wg. _Zurücksetzen im _Terminal-Menü
13421342 #: ../src/profile-preferences.ui.h:97
13431343 msgid "_Encoding:"
1344 msgstr "Zeichen_kodierung"
1344 msgstr "Zeichen_kodierung:"
13451345
13461346 #: ../src/profile-preferences.ui.h:98
13471347 msgid "Ambiguous-_width characters:"
309309 #: ../src/org.gnome.Terminal.gschema.xml.h:2
310310 msgctxt "visible-name"
311311 msgid "'Unnamed'"
312 msgstr "\"Nimetön\""
312 msgstr "'Nimetön'"
313313
314314 #: ../src/org.gnome.Terminal.gschema.xml.h:3
315315 msgid "Human-readable name of the profile"
289289 #: ../src/org.gnome.Terminal.gschema.xml.h:2
290290 msgctxt "visible-name"
291291 msgid "'Unnamed'"
292 msgstr "\"Атаусыз\""
292 msgstr "'Атаусыз'"
293293
294294 #: ../src/org.gnome.Terminal.gschema.xml.h:3
295295 msgid "Human-readable name of the profile"
77 msgid ""
88 msgstr ""
99 "Project-Id-Version: lv\n"
10 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-te"
11 "rminal&keywords=I18N+L10N&component=general\n"
12 "POT-Creation-Date: 2016-03-04 22:41+0000\n"
13 "PO-Revision-Date: 2016-03-05 13:11+0200\n"
10 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
11 "terminal&keywords=I18N+L10N&component=general\n"
12 "POT-Creation-Date: 2016-04-24 10:03+0000\n"
13 "PO-Revision-Date: 2016-04-24 16:11+0200\n"
1414 "Last-Translator: Rūdolfs Mazurs <[email protected]>\n"
1515 "Language-Team: Latvian <[email protected]>\n"
1616 "Language: lv\n"
293293 #: ../src/org.gnome.Terminal.gschema.xml.h:2
294294 msgctxt "visible-name"
295295 msgid "'Unnamed'"
296 msgstr "“Nenosaukts”"
296 msgstr "'Nenosaukts'"
297297
298298 #: ../src/org.gnome.Terminal.gschema.xml.h:3
299299 msgid "Human-readable name of the profile"
332332 msgstr "Noklusējuma treknā teksta krāsa terminālī"
333333
334334 #: ../src/org.gnome.Terminal.gschema.xml.h:10
335 #| msgid ""
336 #| "Default color of bold text in the terminal, as a color specification (can "
337 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
338 #| "ignored if bold_color_same_as_fg is true."
339335 msgid ""
340336 "Default color of bold text in the terminal, as a color specification (can be "
341337 "HTML-style hex digits, or a color name such as \"red\"). This is ignored if "
357353 "kā parasts teksts."
358354
359355 #: ../src/org.gnome.Terminal.gschema.xml.h:13
360 #| msgid "Whether to blink the cursor"
361356 msgid "Whether to use custom cursor colors"
362357 msgstr "Vai izmantot pielāgotas kursora krāsas"
363358
366361 msgstr "Ja patiess, izmantot kursora krāsas no profila."
367362
368363 #: ../src/org.gnome.Terminal.gschema.xml.h:15
369 #| msgid "_Background color:"
370364 msgid "Cursor background color"
371365 msgstr "Kursora fona krāsa"
372366
373367 #: ../src/org.gnome.Terminal.gschema.xml.h:16
374 #| msgid ""
375 #| "Default color of bold text in the terminal, as a color specification (can "
376 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
377 #| "ignored if bold_color_same_as_fg is true."
378368 msgid ""
379369 "Custom color of the background of the terminal's cursor, as a color "
380370 "specification (can be HTML-style hex digits, or a color name such as \"red"
381371 "\"). This is ignored if cursor-colors-set is false."
382372 msgstr ""
383 "Pielāgota termināļa kursora fona krāsa, kā krāsu specifikācija (var būt "
384 "HTML-stila heksadecimāli cipari vai krāsas vārds kā piemēram “red” ). Tiek "
373 "Pielāgota termināļa kursora fona krāsa, kā krāsu specifikācija (var būt HTML-"
374 "stila heksadecimāli cipari vai krāsas vārds kā piemēram “red” ). Tiek "
385375 "ignorēts, ja cursor-colors-set ir aplams."
386376
387377 #: ../src/org.gnome.Terminal.gschema.xml.h:17
389379 msgstr "Kursora priekšplāna krāsa"
390380
391381 #: ../src/org.gnome.Terminal.gschema.xml.h:18
392 #| msgid ""
393 #| "Default color of bold text in the terminal, as a color specification (can "
394 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
395 #| "ignored if bold_color_same_as_fg is true."
396382 msgid ""
397383 "Custom color for the foreground of the text character at the terminal's "
398384 "cursor position, as a color specification (can be HTML-style hex digits, or "
399385 "a color name such as \"red\"). This is ignored if cursor-colors-set is false."
400386 msgstr ""
401 "Pielāgota termināļa kursora pozīcijas priekšplāna krāsa teksta rakstzīmēm, kā "
402 "krāsu specifikācija (var būt HTML-stila heksadecimāli cipari vai krāsas vārds "
403 "kā piemēram “red” ). Tiek ignorēts, ja cursor-colors-set ir aplams."
387 "Pielāgota termināļa kursora pozīcijas priekšplāna krāsa teksta rakstzīmēm, "
388 "kā krāsu specifikācija (var būt HTML-stila heksadecimāli cipari vai krāsas "
389 "vārds kā piemēram “red” ). Tiek ignorēts, ja cursor-colors-set ir aplams."
404390
405391 #: ../src/org.gnome.Terminal.gschema.xml.h:19
406392 msgid "Whether to use custom highlight colors"
411397 msgstr "Ja patiess, izmantot izcelšanas krāsas no profila."
412398
413399 #: ../src/org.gnome.Terminal.gschema.xml.h:21
414 #| msgid "_Background color:"
415400 msgid "Highlight background color"
416401 msgstr "Izelšanas fona krāsa"
417402
418403 #: ../src/org.gnome.Terminal.gschema.xml.h:22
419 #| msgid ""
420 #| "Default color of bold text in the terminal, as a color specification (can "
421 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
422 #| "ignored if bold_color_same_as_fg is true."
423404 msgid ""
424405 "Custom color of the background of the terminal's highlight, as a color "
425406 "specification (can be HTML-style hex digits, or a color name such as \"red"
434415 msgstr "Izcelšanas priekšplāna krāsa"
435416
436417 #: ../src/org.gnome.Terminal.gschema.xml.h:24
437 #| msgid ""
438 #| "Default color of bold text in the terminal, as a color specification (can "
439 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
440 #| "ignored if bold_color_same_as_fg is true."
441418 msgid ""
442419 "Custom color for the foreground of the text character at the terminal's "
443420 "highlight position, as a color specification (can be HTML-style hex digits, "
444421 "or a color name such as \"red\"). This is ignored if highlight-colors-set is "
445422 "false."
446423 msgstr ""
447 "Pielāgota termināļa izcelšanas pozīcijas priekšplāna krāsa teksta rakstzīmēm, "
448 "kā krāsu specifikācija (var būt HTML-stila heksadecimāli cipari vai krāsas "
449 "vārds kā piemēram “red” ). Tiek ignorēts, ja highlight-colors-set ir aplams."
424 "Pielāgota termināļa izcelšanas pozīcijas priekšplāna krāsa teksta "
425 "rakstzīmēm, kā krāsu specifikācija (var būt HTML-stila heksadecimāli cipari "
426 "vai krāsas vārds kā piemēram “red” ). Tiek ignorēts, ja highlight-colors-set "
427 "ir aplams."
450428
451429 #: ../src/org.gnome.Terminal.gschema.xml.h:25
452430 msgid "Whether to allow bold text"
923901 msgstr "Īsinājumtaustiņi"
924902
925903 #: ../src/preferences.ui.h:17
904 msgid "_Clone"
905 msgstr "_Klonēt"
906
907 #: ../src/preferences.ui.h:18
926908 msgid "_Profile used when launching a new terminal:"
927909 msgstr "Lietojamais _profils, palaižot jaunu termināli:"
928910
929 #: ../src/preferences.ui.h:18
911 #: ../src/preferences.ui.h:19
930912 msgid "Profiles"
931913 msgstr "Profili"
932914
933 #: ../src/preferences.ui.h:19
915 #: ../src/preferences.ui.h:20
934916 msgid "E_ncodings shown in menu:"
935917 msgstr "Izvēlnē _parādītie kodējumi:"
936918
937 #: ../src/preferences.ui.h:20
919 #: ../src/preferences.ui.h:21
938920 msgid "Encodings"
939921 msgstr "Kodējumi"
940922
11481130 msgstr "Mainot izmē_ru, no jauna aplauzt"
11491131
11501132 #: ../src/profile-preferences.ui.h:58
1151 #| msgid "_Custom font"
11521133 msgid "_Custom font:"
11531134 msgstr "_Pielāgots fonts:"
11541135
11971178 msgstr "Teksts"
11981179
11991180 #: ../src/profile-preferences.ui.h:71
1200 #| msgid "_Background color:"
12011181 msgid "Background"
12021182 msgstr "Fons"
12031183
12041184 #: ../src/profile-preferences.ui.h:72
1205 #| msgid "_Text color:"
12061185 msgid "_Default color:"
12071186 msgstr "_Noklusējuma krāsa:"
12081187
12151194 msgstr "Izvēlieties termināļa fona krāsu"
12161195
12171196 #: ../src/profile-preferences.ui.h:75
1218 #| msgid "Choose Terminal Text Color"
12191197 msgid "Choose Terminal Bold Text Color"
12201198 msgstr "Izvēlieties termināļa treknraksta teksta krāsu"
12211199
12221200 #: ../src/profile-preferences.ui.h:76
1223 #| msgid "Choose Terminal Text Color"
12241201 msgid "Choose Terminal Underlined Text Color"
12251202 msgstr "Izvēlieties termināļa pasvītrojuma teksta krāsu"
12261203
12271204 #: ../src/profile-preferences.ui.h:77
1228 #| msgid "_Background color:"
12291205 msgid "Cu_rsor color:"
12301206 msgstr "Ku_rsora krāsa:"
12311207
12321208 #: ../src/profile-preferences.ui.h:78
1233 #| msgid "Choose Terminal Background Color"
12341209 msgid "Choose Terminal Cursor Foreground Color"
12351210 msgstr "Izvēlieties termināļa kursora priekšplāna krāsu"
12361211
12371212 #: ../src/profile-preferences.ui.h:79
1238 #| msgid "Choose Terminal Background Color"
12391213 msgid "Choose Terminal Cursor Background Color"
12401214 msgstr "Izvēlieties termināļa kursora fona krāsu"
12411215
12441218 msgstr "Pasvītroj_uma krāsa:"
12451219
12461220 #: ../src/profile-preferences.ui.h:81
1247 #| msgid "Bol_d color:"
12481221 msgid "Bo_ld color:"
12491222 msgstr "_Treknraksta krāsa:"
12501223
12511224 #: ../src/profile-preferences.ui.h:82
1252 #| msgid "_Text color:"
12531225 msgid "_Highlight color:"
12541226 msgstr "Iz_celšanas krāsa:"
12551227
17391711
17401712 #: ../src/terminal-options.c:222
17411713 #, c-format
1742 #| msgid ""
1743 #| "Option \"%s\" is no longer supported in this version of gnome-terminal."
17441714 msgid ""
17451715 "Option \"%s\" is deprecated and might be removed in a later version of gnome-"
17461716 "terminal."
18451815 msgstr "PROFILA-NOSAUKUMS"
18461816
18471817 #: ../src/terminal-options.c:1202
1848 #| msgid "Initial terminal si_ze:"
18491818 msgid "Set the initial terminal title"
18501819 msgstr "Sākotnējais termināļa virsraksts"
18511820
22602229 #: ../src/terminal-window.c:3727
22612230 msgid "C_lose Window"
22622231 msgstr "Aizvērt _logu"
2232
+542
-385
po/pt.po less more
44 # António Lima <[email protected]>, 2013.
55 # Tiago S. <[email protected]>, 2015.
66 # Pedro Albuquerque <[email protected]>, 2015.
7 # Sérgio Cardeira <cardeira dot sergio at gmail dot com>, 2016.
78 #
89 msgid ""
910 msgstr ""
1011 "Project-Id-Version: 3.12\n"
1112 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
1213 "terminal&keywords=I18N+L10N&component=general\n"
13 "POT-Creation-Date: 2015-11-21 10:34+0000\n"
14 "PO-Revision-Date: 2015-11-22 08:53+0000\n"
15 "Last-Translator: Bruno Ramalhete <[email protected]>\n"
16 "Language-Team: Portuguese <[email protected]>\n"
14 "POT-Creation-Date: 2016-02-20 12:52+0000\n"
15 "PO-Revision-Date: 2016-02-20 20:25-0100\n"
16 "Last-Translator: Sérgio Cardeira <cardeira dot sergio at gmail dot com>\n"
17 "Language-Team: Português <>\n"
1718 "Language: pt\n"
1819 "MIME-Version: 1.0\n"
1920 "Content-Type: text/plain; charset=UTF-8\n"
2021 "Content-Transfer-Encoding: 8bit\n"
2122 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22 "X-Generator: Poedit 1.8.4\n"
23 "X-Generator: Gtranslator 2.91.7\n"
2324 "X-Language: pt_PT\n"
2425 "X-Source-Language: C\n"
2526
2728 #: ../org.gnome.Terminal.desktop.in.in.h:1 ../src/server.c:168
2829 #: ../src/terminal-accels.c:234 ../src/terminal.c:240
2930 #: ../src/terminal-tab-label.c:81 ../src/terminal-tabs-menu.c:180
30 #: ../src/terminal-window.c:2683 ../src/terminal-window.c:3039
31 #: ../src/terminal-window.c:2648 ../src/terminal-window.c:2991
3132 msgid "Terminal"
3233 msgstr "Terminal"
3334
5354 "Suporta vários perfis, múltiplos separadores e implementa vários atalhos de "
5455 "teclado."
5556
57 #: ../org.gnome.Terminal.Nautilus.appdata.xml.in.h:1
58 #| msgid "Terminal options:"
59 msgid "Terminal plugin for Files"
60 msgstr "Plugins do terminal para Ficheiros"
61
62 #: ../org.gnome.Terminal.Nautilus.appdata.xml.in.h:2
63 #| msgid "Open a terminal"
64 msgid "Open a terminal from Files"
65 msgstr "Abrir um terminal a partir de Ficheiros"
66
67 #: ../org.gnome.Terminal.Nautilus.appdata.xml.in.h:3
68 msgid ""
69 "Open Terminal is a plugin for the Files application that adds a menu item to "
70 "the context menu to open a terminal in the currently browsed directory."
71 msgstr ""
72 "Abrir Terminal é um plugin para a aplicação Ficheiros que adiciona no menu "
73 "de contexto abrir terminal na pasta atual."
74
5675 #: ../org.gnome.Terminal.desktop.in.in.h:3
5776 msgid "shell;prompt;command;commandline;cmd;"
5877 msgstr "consola;linha;comando;terminal;"
152171 msgid "Maximise the window"
153172 msgstr "Maximizar a janela"
154173
155 #: ../src/gterminal.vala:220 ../src/terminal-options.c:1100
174 #: ../src/gterminal.vala:220 ../src/terminal-options.c:1144
156175 msgid "Full-screen the window"
157176 msgstr "Janela em modo de ecrã completo"
158177
159 #: ../src/gterminal.vala:222 ../src/terminal-options.c:1109
178 #: ../src/gterminal.vala:222 ../src/terminal-options.c:1153
160179 msgid ""
161180 "Set the window size; for example: 80x24, or 80x24+200+200 (COLSxROWS+X+Y)"
162181 msgstr ""
163182 "Define o tamanho da janela; por exemplo: 80x24, ou 80x24+200+200 "
164183 "(LINHASxCOLUNAS+X+Y)"
165184
166 #: ../src/gterminal.vala:223 ../src/terminal-options.c:1110
185 #: ../src/gterminal.vala:223 ../src/terminal-options.c:1154
167186 msgid "GEOMETRY"
168187 msgstr "GEOMETRIA"
169188
170 #: ../src/gterminal.vala:225 ../src/terminal-options.c:1118
189 #: ../src/gterminal.vala:225 ../src/terminal-options.c:1162
171190 msgid "Set the window role"
172191 msgstr "Definir o papel da janela"
173192
174 #: ../src/gterminal.vala:225 ../src/terminal-options.c:1119
193 #: ../src/gterminal.vala:225 ../src/terminal-options.c:1163
175194 msgid "ROLE"
176195 msgstr "PAPEL"
177196
188207 msgid "May only use option %s once"
189208 msgstr "Só pode usar a opção %s uma vez"
190209
191 #: ../src/gterminal.vala:264 ../src/terminal-options.c:676
210 #: ../src/gterminal.vala:264 ../src/terminal-options.c:717
192211 #, c-format
193212 msgid "\"%s\" is not a valid zoom factor"
194213 msgstr "\"%s\" não é um fator de ampliação válido"
198217 msgid "Zoom value \"%s\" is outside allowed range"
199218 msgstr "Valor de ampliação \"%s\" fora do intervalo permitido"
200219
201 #: ../src/gterminal.vala:277 ../src/terminal-options.c:1149
220 #: ../src/gterminal.vala:277 ../src/terminal-options.c:1193
202221 msgid "Use the given profile instead of the default profile"
203222 msgstr "Utilizar o perfil indicado em vez do perfil predefinido"
204223
206225 msgid "UUID"
207226 msgstr "UUID"
208227
209 #: ../src/gterminal.vala:280 ../src/terminal-options.c:1166
228 #: ../src/gterminal.vala:280 ../src/terminal-options.c:1211
210229 msgid "Set the working directory"
211230 msgstr "Definir a pasta de trabalho"
212231
213 #: ../src/gterminal.vala:280 ../src/terminal-options.c:1167
232 #: ../src/gterminal.vala:280 ../src/terminal-options.c:1212
214233 msgid "DIRNAME"
215234 msgstr "NOMEPASTA"
216235
217 #: ../src/gterminal.vala:282 ../src/terminal-options.c:1175
236 #: ../src/gterminal.vala:282 ../src/terminal-options.c:1220
218237 msgid "Set the terminal's zoom factor (1.0 = normal size)"
219238 msgstr "Definir o fator de ampliação do terminal (1.0 = tamanho normal)"
220239
221 #: ../src/gterminal.vala:283 ../src/terminal-options.c:1176
240 #: ../src/gterminal.vala:283 ../src/terminal-options.c:1221
222241 msgid "ZOOM"
223242 msgstr "AMPLIAÇÃO"
224243
226245 msgid "Terminal options:"
227246 msgstr "Opções de terminal:"
228247
229 #: ../src/gterminal.vala:291 ../src/terminal-options.c:1282
248 #: ../src/gterminal.vala:291 ../src/terminal-options.c:1327
230249 msgid "Show terminal options"
231250 msgstr "Mostrar as opções de terminal"
232251
283302 #: ../src/org.gnome.Terminal.gschema.xml.h:2
284303 msgctxt "visible-name"
285304 msgid "'Unnamed'"
286 msgstr "\"Sem nome\""
305 msgstr "'Sem nome'"
287306
288307 #: ../src/org.gnome.Terminal.gschema.xml.h:3
289308 msgid "Human-readable name of the profile"
322341 msgstr "Cor predefinida do texto negrito no terminal"
323342
324343 #: ../src/org.gnome.Terminal.gschema.xml.h:10
344 #| msgid ""
345 #| "Default color of bold text in the terminal, as a color specification (can "
346 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
347 #| "ignored if bold_color_same_as_fg is true."
325348 msgid ""
326349 "Default color of bold text in the terminal, as a color specification (can be "
327350 "HTML-style hex digits, or a color name such as \"red\"). This is ignored if "
328 "bold_color_same_as_fg is true."
351 "bold-color-same-as-fg is true."
329352 msgstr ""
330353 "Cor predefinida do texto negrito no terminal, como uma especificação de cor "
331354 "(podem ser dígitos hexadecimais estilo HTML ou um nome de cor tal como \"red"
343366 "normal."
344367
345368 #: ../src/org.gnome.Terminal.gschema.xml.h:13
369 #| msgid "Whether to use custom terminal size for new windows"
370 msgid "Whether to use custom cursor colors"
371 msgstr "Se utilizar ou não cores personalizadas no cursor"
372
373 #: ../src/org.gnome.Terminal.gschema.xml.h:14
374 msgid "If true, use the cursor colors from the profile."
375 msgstr "Se verdadeiro, utilizar as cores do perfil no cursor."
376
377 #: ../src/org.gnome.Terminal.gschema.xml.h:15
378 #| msgid "_Background color:"
379 msgid "Cursor background color"
380 msgstr "A cor do fundo do cursor"
381
382 #: ../src/org.gnome.Terminal.gschema.xml.h:16
383 #| msgid ""
384 #| "Default color of bold text in the terminal, as a color specification (can "
385 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
386 #| "ignored if bold_color_same_as_fg is true."
387 msgid ""
388 "Custom color of the background of the terminal's cursor, as a color "
389 "specification (can be HTML-style hex digits, or a color name such as \"red"
390 "\"). This is ignored if cursor-colors-set is false."
391 msgstr ""
392 "Cor predefinida do texto negrito no terminal, como uma especificação de cor "
393 "(podem ser dígitos hexadecimais estilo HTML ou um nome de cor tal como \"red"
394 "\"). Esta escolha é ignorada se bold_color_same_as_fg for verdadeiro."
395
396 #: ../src/org.gnome.Terminal.gschema.xml.h:17
397 msgid "Cursor foreground colour"
398 msgstr "Cor do cursor"
399
400 #: ../src/org.gnome.Terminal.gschema.xml.h:18
401 #| msgid ""
402 #| "Default color of bold text in the terminal, as a color specification (can "
403 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
404 #| "ignored if bold_color_same_as_fg is true."
405 msgid ""
406 "Custom color for the foreground of the text character at the terminal's "
407 "cursor position, as a color specification (can be HTML-style hex digits, or "
408 "a color name such as \"red\"). This is ignored if cursor-colors-set is false."
409 msgstr ""
410 "Cor predefinida do texto negrito no terminal, como uma especificação de cor "
411 "(podem ser dígitos hexadecimais estilo HTML ou um nome de cor tal como \"red"
412 "\"). Esta escolha é ignorada se bold_color_same_as_fg for verdadeiro."
413
414 #: ../src/org.gnome.Terminal.gschema.xml.h:19
415 #| msgid "Whether to use custom terminal size for new windows"
416 msgid "Whether to use custom highlight colors"
417 msgstr "Se utilizar ou não a personalização de cores de realce"
418
419 #: ../src/org.gnome.Terminal.gschema.xml.h:20
420 msgid "If true, use the highlight colors from the profile."
421 msgstr "Se verdadeiro, utilizar as cores de realce do perfil"
422
423 #: ../src/org.gnome.Terminal.gschema.xml.h:21
424 #| msgid "_Background color:"
425 msgid "Highlight background color"
426 msgstr "Cor de fundo do realce"
427
428 #: ../src/org.gnome.Terminal.gschema.xml.h:22
429 #| msgid ""
430 #| "Default color of bold text in the terminal, as a color specification (can "
431 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
432 #| "ignored if bold_color_same_as_fg is true."
433 msgid ""
434 "Custom color of the background of the terminal's highlight, as a color "
435 "specification (can be HTML-style hex digits, or a color name such as \"red"
436 "\"). This is ignored if highlight-colors-set is false."
437 msgstr ""
438 "Cor predefinida de fundo do realce no terminal, como uma especificação de "
439 "cor (podem ser dígitos hexadecimais estilo HTML ou um nome de cor tal como "
440 "\"red\"). Esta escolha é ignorada se bold_color_same_as_fg for verdadeiro."
441
442 #: ../src/org.gnome.Terminal.gschema.xml.h:23
443 msgid "Highlight foreground colour"
444 msgstr "Cor do realce"
445
446 #: ../src/org.gnome.Terminal.gschema.xml.h:24
447 #| msgid ""
448 #| "Default color of bold text in the terminal, as a color specification (can "
449 #| "be HTML-style hex digits, or a color name such as \"red\"). This is "
450 #| "ignored if bold_color_same_as_fg is true."
451 msgid ""
452 "Custom color for the foreground of the text character at the terminal's "
453 "highlight position, as a color specification (can be HTML-style hex digits, "
454 "or a color name such as \"red\"). This is ignored if highlight-colors-set is "
455 "false."
456 msgstr ""
457 "Cor predefinida do realce no terminal, como uma especificação de cor (podem "
458 "ser dígitos hexadecimais estilo HTML ou um nome de cor tal como \"red\"). "
459 "Esta escolha é ignorada se bold_color_same_as_fg for verdadeiro."
460
461 #: ../src/org.gnome.Terminal.gschema.xml.h:25
346462 msgid "Whether to allow bold text"
347463 msgstr "Se permitir ou não texto negrito"
348464
349 #: ../src/org.gnome.Terminal.gschema.xml.h:14
465 #: ../src/org.gnome.Terminal.gschema.xml.h:26
350466 msgid "If true, allow applications in the terminal to make text boldface."
351467 msgstr ""
352468 "Se verdadeiro, permitir que aplicações no terminal tornem o texto negrito."
353469
354 #: ../src/org.gnome.Terminal.gschema.xml.h:15
470 #: ../src/org.gnome.Terminal.gschema.xml.h:27
355471 msgid "Whether to ring the terminal bell"
356472 msgstr "Se tocar ou não a campainha de terminal"
357473
358 #: ../src/org.gnome.Terminal.gschema.xml.h:16
474 #: ../src/org.gnome.Terminal.gschema.xml.h:28
359475 msgid ""
360476 "List of ASCII punctuation characters that are not to be treated as part of a "
361477 "word when doing word-wise selection"
363479 "Lista de caracteres ASCII de pontuação que não devem ser tratados como "
364480 "parte da palavra ao fazer seleção inteligente de palavras"
365481
366 #: ../src/org.gnome.Terminal.gschema.xml.h:17
482 #: ../src/org.gnome.Terminal.gschema.xml.h:29
367483 msgid "Whether to show menubar in new windows/tabs"
368484 msgstr "Se mostrar ou não a barra de menu em novas janelas/separadores"
369485
370 #: ../src/org.gnome.Terminal.gschema.xml.h:18
486 #: ../src/org.gnome.Terminal.gschema.xml.h:30
371487 msgid "True if the menubar should be shown in new window"
372488 msgstr "Verdadeiro se a barra de menu deve ser mostrada na nova janela"
373489
374 #: ../src/org.gnome.Terminal.gschema.xml.h:19
490 #: ../src/org.gnome.Terminal.gschema.xml.h:31
375491 msgid "Default number of columns"
376492 msgstr "Número predefinido de colunas"
377493
378 #: ../src/org.gnome.Terminal.gschema.xml.h:20
494 #: ../src/org.gnome.Terminal.gschema.xml.h:32
379495 msgid ""
380496 "Number of columns in newly created terminal windows. Has no effect if "
381497 "use_custom_default_size is not enabled."
383499 "Número de colunas nas novas janelas de terminal. Não tem efeito se a chave "
384500 "use_custom_default_size não estiver ativa."
385501
386 #: ../src/org.gnome.Terminal.gschema.xml.h:21
502 #: ../src/org.gnome.Terminal.gschema.xml.h:33
387503 msgid "Default number of rows"
388504 msgstr "Número predefinido de linhas"
389505
390 #: ../src/org.gnome.Terminal.gschema.xml.h:22
506 #: ../src/org.gnome.Terminal.gschema.xml.h:34
391507 msgid ""
392508 "Number of rows in newly created terminal windows. Has no effect if "
393509 "use_custom_default_size is not enabled."
395511 "Número de linhas nas novas janelas de terminal. Não tem efeito se a chave "
396512 "use_custom_default_size não estiver ativa."
397513
398 #: ../src/org.gnome.Terminal.gschema.xml.h:23
514 #: ../src/org.gnome.Terminal.gschema.xml.h:35
399515 msgid "When to show the scrollbar"
400516 msgstr "Quando mostrar a barra de rolamento"
401517
402 #: ../src/org.gnome.Terminal.gschema.xml.h:24
518 #: ../src/org.gnome.Terminal.gschema.xml.h:36
403519 msgid "Number of lines to keep in scrollback"
404520 msgstr "Número de linhas a manter para rolar atrás"
405521
406 #: ../src/org.gnome.Terminal.gschema.xml.h:25
522 #: ../src/org.gnome.Terminal.gschema.xml.h:37
407523 msgid ""
408524 "Number of scrollback lines to keep around. You can scroll back in the "
409525 "terminal by this number of lines; lines that don't fit in the scrollback are "
413529 "este número de linhas; linhas que não caibam na pilha de rolar atrás são "
414530 "descartadas. Se scrollback_unlimited for verdadeira, este valor é ignorado."
415531
416 #: ../src/org.gnome.Terminal.gschema.xml.h:26
532 #: ../src/org.gnome.Terminal.gschema.xml.h:38
417533 msgid "Whether an unlimited number of lines should be kept in scrollback"
418534 msgstr ""
419535 "Se deverá ou não ser mantido um número ilimitado de linhas para rolar atrás"
420536
421 #: ../src/org.gnome.Terminal.gschema.xml.h:27
537 #: ../src/org.gnome.Terminal.gschema.xml.h:39
422538 msgid ""
423539 "If true, scrollback lines will never be discarded. The scrollback history is "
424540 "stored on disk temporarily, so this may cause the system to run out of disk "
429545 "sistema poderá ficar sem espaço em disco caso seja escrito muito texto no "
430546 "terminal."
431547
432 #: ../src/org.gnome.Terminal.gschema.xml.h:28
548 #: ../src/org.gnome.Terminal.gschema.xml.h:40
433549 msgid "Whether to scroll to the bottom when a key is pressed"
434550 msgstr "Se rolar ou não para o fundo ao premir uma tecla"
435551
436 #: ../src/org.gnome.Terminal.gschema.xml.h:29
552 #: ../src/org.gnome.Terminal.gschema.xml.h:41
437553 msgid "If true, pressing a key jumps the scrollbar to the bottom."
438554 msgstr "Se verdadeiro, premir uma tecla coloca a barra de rolamento no fundo."
439555
440 #: ../src/org.gnome.Terminal.gschema.xml.h:30
556 #: ../src/org.gnome.Terminal.gschema.xml.h:42
441557 msgid "Whether to scroll to the bottom when there's new output"
442558 msgstr "Se rolar ou não para o fundo quando existem novos resultados"
443559
444 #: ../src/org.gnome.Terminal.gschema.xml.h:31
560 #: ../src/org.gnome.Terminal.gschema.xml.h:43
445561 msgid ""
446562 "If true, whenever there's new output the terminal will scroll to the bottom."
447563 msgstr ""
448564 "Se verdadeiro, sempre que existirem novos resultados o terminal irá rolar "
449565 "até ao fundo."
450566
451 #: ../src/org.gnome.Terminal.gschema.xml.h:32
567 #: ../src/org.gnome.Terminal.gschema.xml.h:44
452568 msgid "What to do with the terminal when the child command exits"
453569 msgstr "O que fazer com o terminal quando o comando filho termina"
454570
455 #: ../src/org.gnome.Terminal.gschema.xml.h:33
571 #: ../src/org.gnome.Terminal.gschema.xml.h:45
456572 msgid ""
457573 "Possible values are \"close\" to close the terminal, \"restart\" to restart "
458574 "the command, and \"hold\" to keep the terminal open with no command running "
462578 "reiniciar o comando, e \"hold\" para deixar o terminal aberto sem nenhum "
463579 "comando em execução no interior."
464580
465 #: ../src/org.gnome.Terminal.gschema.xml.h:34
581 #: ../src/org.gnome.Terminal.gschema.xml.h:46
466582 msgid "Whether to launch the command in the terminal as a login shell"
467583 msgstr ""
468584 "Se iniciar ou não o comando dentro do terminal como um início de sessão"
469585
470 #: ../src/org.gnome.Terminal.gschema.xml.h:35
586 #: ../src/org.gnome.Terminal.gschema.xml.h:47
471587 msgid ""
472588 "If true, the command inside the terminal will be launched as a login shell "
473589 "(argv[0] will have a hyphen in front of it)."
475591 "Se verdadeiro, o comando dentro do terminal será iniciado como um terminal "
476592 "de início de sessão (argv[0] terá um hífen à sua frente)."
477593
478 #: ../src/org.gnome.Terminal.gschema.xml.h:36
594 #: ../src/org.gnome.Terminal.gschema.xml.h:48
479595 msgid "Whether to run a custom command instead of the shell"
480596 msgstr "Se executar ou não um comando personalizado em vez do terminal"
481597
482 #: ../src/org.gnome.Terminal.gschema.xml.h:37
598 #: ../src/org.gnome.Terminal.gschema.xml.h:49
483599 msgid ""
484600 "If true, the value of the custom_command setting will be used in place of "
485601 "running a shell."
487603 "Se verdadeiro, o valor da definição de custom_command será utilizado em vez "
488604 "de iniciar um terminal."
489605
490 #: ../src/org.gnome.Terminal.gschema.xml.h:38
606 #: ../src/org.gnome.Terminal.gschema.xml.h:50
491607 msgid "Whether to blink the cursor"
492608 msgstr "Se piscar ou não o cursor"
493609
494 #: ../src/org.gnome.Terminal.gschema.xml.h:39
610 #: ../src/org.gnome.Terminal.gschema.xml.h:51
495611 msgid ""
496612 "The possible values are \"system\" to use the global cursor blinking "
497613 "settings, or \"on\" or \"off\" to set the mode explicitly."
499615 "Os valores possíveis são \"system\" para utilizar as definições globais de "
500616 "piscar de cursor, ou \"on\" ou \"off\" para definir o modo explicitamente."
501617
502 #: ../src/org.gnome.Terminal.gschema.xml.h:40
618 #: ../src/org.gnome.Terminal.gschema.xml.h:52
503619 msgid "The cursor appearance"
504620 msgstr "A aparência do cursor"
505621
506 #: ../src/org.gnome.Terminal.gschema.xml.h:41
622 #: ../src/org.gnome.Terminal.gschema.xml.h:53
507623 msgid "Custom command to use instead of the shell"
508624 msgstr "Comando personalizado a utilizar em vez do terminal"
509625
510 #: ../src/org.gnome.Terminal.gschema.xml.h:42
626 #: ../src/org.gnome.Terminal.gschema.xml.h:54
511627 msgid "Run this command in place of the shell, if use_custom_command is true."
512628 msgstr ""
513629 "Executar este comando em vez do terminal, se use_custom_command for "
514630 "verdadeiro."
515631
516 #: ../src/org.gnome.Terminal.gschema.xml.h:43
632 #: ../src/org.gnome.Terminal.gschema.xml.h:55
517633 msgid "Palette for terminal applications"
518634 msgstr "Paleta para aplicações de terminal"
519635
520 #: ../src/org.gnome.Terminal.gschema.xml.h:44
636 #: ../src/org.gnome.Terminal.gschema.xml.h:56
521637 msgid "A Pango font name and size"
522638 msgstr "Um nome e dimensão de letra Pango"
523639
524 #: ../src/org.gnome.Terminal.gschema.xml.h:45
640 #: ../src/org.gnome.Terminal.gschema.xml.h:57
525641 msgid "The code sequence the Backspace key generates"
526642 msgstr "A sequência de código que a tecla Backspace gera"
527643
528 #: ../src/org.gnome.Terminal.gschema.xml.h:46
644 #: ../src/org.gnome.Terminal.gschema.xml.h:58
529645 msgid "The code sequence the Delete key generates"
530646 msgstr "A sequência de código que a tecla Delete gera"
531647
532 #: ../src/org.gnome.Terminal.gschema.xml.h:47
648 #: ../src/org.gnome.Terminal.gschema.xml.h:59
533649 msgid "Whether to use the colors from the theme for the terminal widget"
534650 msgstr "Se utilizar ou não as cores do tema para o widget de terminal"
535651
536 #: ../src/org.gnome.Terminal.gschema.xml.h:48
652 #: ../src/org.gnome.Terminal.gschema.xml.h:60
537653 msgid "Whether to use the system monospace font"
538654 msgstr "Se utilizar ou não a fonte monospace de sistema"
539655
540 #: ../src/org.gnome.Terminal.gschema.xml.h:49
656 #: ../src/org.gnome.Terminal.gschema.xml.h:61
541657 msgid "Whether to rewrap the terminal contents on window resize"
542658 msgstr "Se reajustar ou não o conteúdo do terminal ao redimensionar a janela"
543659
544 #: ../src/org.gnome.Terminal.gschema.xml.h:50
660 #: ../src/org.gnome.Terminal.gschema.xml.h:62
545661 msgid "Which encoding to use"
546662 msgstr "Que codificação utilizar"
547663
548 #: ../src/org.gnome.Terminal.gschema.xml.h:51
664 #: ../src/org.gnome.Terminal.gschema.xml.h:63
549665 msgid ""
550666 "Whether ambiguous-width characters are narrow or wide when using UTF-8 "
551667 "encoding"
553669 "Se caracteres com largura ambígua são largos ou estreitos usando codificação "
554670 "UTF-8"
555671
556 #: ../src/org.gnome.Terminal.gschema.xml.h:52
672 #: ../src/org.gnome.Terminal.gschema.xml.h:64
557673 msgid "Keyboard shortcut to open a new tab"
558674 msgstr "Atalho de teclado para abrir um novo separador"
559675
560 #: ../src/org.gnome.Terminal.gschema.xml.h:53
676 #: ../src/org.gnome.Terminal.gschema.xml.h:65
561677 msgid "Keyboard shortcut to open a new window"
562678 msgstr "Atalho de teclado para abrir uma nova janela"
563679
564 #: ../src/org.gnome.Terminal.gschema.xml.h:54
680 #: ../src/org.gnome.Terminal.gschema.xml.h:66
565681 msgid "Keyboard shortcut to create a new profile"
566682 msgstr "Atalho de teclado para criar um novo perfil"
567683
568 #: ../src/org.gnome.Terminal.gschema.xml.h:55
684 #: ../src/org.gnome.Terminal.gschema.xml.h:67
569685 msgid "Keyboard shortcut to save the current tab contents to file"
570686 msgstr ""
571687 "Atalho de teclado para gravar o conteúdo do separador atual num ficheiro"
572688
573 #: ../src/org.gnome.Terminal.gschema.xml.h:56
689 #: ../src/org.gnome.Terminal.gschema.xml.h:68
574690 msgid "Keyboard shortcut to close a tab"
575691 msgstr "Atalho de teclado para fechar um separador"
576692
577 #: ../src/org.gnome.Terminal.gschema.xml.h:57
693 #: ../src/org.gnome.Terminal.gschema.xml.h:69
578694 msgid "Keyboard shortcut to close a window"
579695 msgstr "Atalho de teclado para fechar uma janela"
580696
581 #: ../src/org.gnome.Terminal.gschema.xml.h:58
697 #: ../src/org.gnome.Terminal.gschema.xml.h:70
582698 msgid "Keyboard shortcut to copy text"
583699 msgstr "Atalho de teclado para copiar texto"
584700
585 #: ../src/org.gnome.Terminal.gschema.xml.h:59
701 #: ../src/org.gnome.Terminal.gschema.xml.h:71
586702 msgid "Keyboard shortcut to paste text"
587703 msgstr "Atalho de teclado para colar texto"
588704
589 #: ../src/org.gnome.Terminal.gschema.xml.h:60
705 #: ../src/org.gnome.Terminal.gschema.xml.h:72
590706 msgid "Keyboard shortcut to select all text"
591707 msgstr "Atalho de teclado para selecionar todo o texto"
592708
593 #: ../src/org.gnome.Terminal.gschema.xml.h:61
709 #: ../src/org.gnome.Terminal.gschema.xml.h:73
594710 msgid "Keyboard shortcut to open the Preferences dialog"
595711 msgstr "Atalho de teclado para abrir o diálogo Preferências"
596712
597 #: ../src/org.gnome.Terminal.gschema.xml.h:62
713 #: ../src/org.gnome.Terminal.gschema.xml.h:74
598714 msgid "Keyboard shortcut to open the current profile's Preferences dialog"
599715 msgstr "Atalho de teclado para abrir o diálogo de preferências do perfil atual"
600716
601 #: ../src/org.gnome.Terminal.gschema.xml.h:63
717 #: ../src/org.gnome.Terminal.gschema.xml.h:75
602718 msgid "Keyboard shortcut to toggle full screen mode"
603719 msgstr "Atalho de teclado para alternar modo de ecrã completo"
604720
605 #: ../src/org.gnome.Terminal.gschema.xml.h:64
721 #: ../src/org.gnome.Terminal.gschema.xml.h:76
606722 msgid "Keyboard shortcut to toggle the visibility of the menubar"
607723 msgstr "Atalho de teclado para alternar a visibilidade da barra de menu"
608724
609 #: ../src/org.gnome.Terminal.gschema.xml.h:65
725 #: ../src/org.gnome.Terminal.gschema.xml.h:77
610726 msgid "Keyboard shortcut to toggle the read-only state"
611727 msgstr "Atalho de teclado para alternar o atributo Só de leitura"
612728
613 #: ../src/org.gnome.Terminal.gschema.xml.h:66
729 #: ../src/org.gnome.Terminal.gschema.xml.h:78
614730 msgid "Keyboard shortcut to reset the terminal"
615731 msgstr "Atalho de teclado para reiniciar o terminal"
616732
617 #: ../src/org.gnome.Terminal.gschema.xml.h:67
733 #: ../src/org.gnome.Terminal.gschema.xml.h:79
618734 msgid "Keyboard shortcut to reset and clear the terminal"
619735 msgstr "Atalho de teclado para reiniciar e limpar o terminal"
620736
621 #: ../src/org.gnome.Terminal.gschema.xml.h:68
737 #: ../src/org.gnome.Terminal.gschema.xml.h:80
622738 msgid "Keyboard shortcut to open the search dialog"
623739 msgstr "Atalho de teclado para abrir o diálogo de procura"
624740
625 #: ../src/org.gnome.Terminal.gschema.xml.h:69
741 #: ../src/org.gnome.Terminal.gschema.xml.h:81
626742 msgid "Keyboard shortcut to find the next occurrence of the search term"
627743 msgstr ""
628744 "Atalho de teclado para localizar a ocorrência seguinte do termo de procura"
629745
630 #: ../src/org.gnome.Terminal.gschema.xml.h:70
746 #: ../src/org.gnome.Terminal.gschema.xml.h:82
631747 msgid "Keyboard shortcut to find the previous occurrence of the search term"
632748 msgstr ""
633749 "Atalho de teclado para localizar a ocorrência anterior do termo de procura"
634750
635 #: ../src/org.gnome.Terminal.gschema.xml.h:71
751 #: ../src/org.gnome.Terminal.gschema.xml.h:83
636752 msgid "Keyboard shortcut to clear the find highlighting"
637753 msgstr "Atalho de teclado para limpar o realce de localização"
638754
639 #: ../src/org.gnome.Terminal.gschema.xml.h:72
755 #: ../src/org.gnome.Terminal.gschema.xml.h:84
640756 msgid "Keyboard shortcut to switch to the previous tab"
641757 msgstr "Atalho de teclado para ir para o separador anterior"
642758
643 #: ../src/org.gnome.Terminal.gschema.xml.h:73
759 #: ../src/org.gnome.Terminal.gschema.xml.h:85
644760 msgid "Keyboard shortcut to switch to the next tab"
645761 msgstr "Atalho de teclado para ir para o separador seguinte"
646762
647 #: ../src/org.gnome.Terminal.gschema.xml.h:74
763 #: ../src/org.gnome.Terminal.gschema.xml.h:86
648764 msgid "Keyboard shortcut to move the current tab to the left"
649765 msgstr "Atalho de teclado para mover o separador atual para a esquerda"
650766
651 #: ../src/org.gnome.Terminal.gschema.xml.h:75
767 #: ../src/org.gnome.Terminal.gschema.xml.h:87
652768 msgid "Keyboard shortcut to move the current tab to the right"
653769 msgstr "Atalho de teclado para mover o separador atual para a direita"
654770
655 #: ../src/org.gnome.Terminal.gschema.xml.h:76
771 #: ../src/org.gnome.Terminal.gschema.xml.h:88
656772 msgid "Keyboard shortcut to detach current tab"
657773 msgstr "Atalho de teclado para destacar o separador atual"
658774
659 #: ../src/org.gnome.Terminal.gschema.xml.h:77
775 #: ../src/org.gnome.Terminal.gschema.xml.h:89
660776 msgid "Keyboard shortcut to switch to the numbered tab"
661777 msgstr "Atalho de teclado para ir para o separador numerado"
662778
663 #: ../src/org.gnome.Terminal.gschema.xml.h:78
779 #: ../src/org.gnome.Terminal.gschema.xml.h:90
664780 msgid "Keyboard shortcut to launch help"
665781 msgstr "Atalho de teclado para iniciar a ajuda"
666782
667 #: ../src/org.gnome.Terminal.gschema.xml.h:79
783 #: ../src/org.gnome.Terminal.gschema.xml.h:91
668784 msgid "Keyboard shortcut to make font larger"
669785 msgstr "Atalho de teclado para aumentar o tamanho da letra"
670786
671 #: ../src/org.gnome.Terminal.gschema.xml.h:80
787 #: ../src/org.gnome.Terminal.gschema.xml.h:92
672788 msgid "Keyboard shortcut to make font smaller"
673789 msgstr "Atalho de teclado para reduzir o tamanho da letra"
674790
675 #: ../src/org.gnome.Terminal.gschema.xml.h:81
791 #: ../src/org.gnome.Terminal.gschema.xml.h:93
676792 msgid "Keyboard shortcut to make font normal-size"
677793 msgstr "Atalho de teclado para repor tamanho normal da letra"
678794
679 #: ../src/org.gnome.Terminal.gschema.xml.h:82
795 #: ../src/org.gnome.Terminal.gschema.xml.h:94
680796 msgid "Whether the menubar has access keys"
681797 msgstr "Se a barra de menu tem teclas de acesso"
682798
683 #: ../src/org.gnome.Terminal.gschema.xml.h:83
799 #: ../src/org.gnome.Terminal.gschema.xml.h:95
684800 msgid ""
685801 "Whether to have Alt+letter access keys for the menubar. They may interfere "
686802 "with some applications run inside the terminal so it's possible to turn them "
690806 "com algumas aplicações em execução dentro do terminal pelo que é possível "
691807 "desativar."
692808
693 #: ../src/org.gnome.Terminal.gschema.xml.h:84
809 #: ../src/org.gnome.Terminal.gschema.xml.h:96
694810 msgid "Whether shortcuts are enabled"
695811 msgstr "Se os atalhos estão ativos"
696812
697 #: ../src/org.gnome.Terminal.gschema.xml.h:85
813 #: ../src/org.gnome.Terminal.gschema.xml.h:97
698814 msgid ""
699815 "Whether shortcuts are enabled. They may interfere with some applications run "
700816 "inside the terminal so it's possible to turn them off."
702818 "Se os atalhos estão ativos. Isto pode interferir com algumas aplicações em "
703819 "execução dentro do terminal pelo que é possível desativar."
704820
705 #: ../src/org.gnome.Terminal.gschema.xml.h:86
821 #: ../src/org.gnome.Terminal.gschema.xml.h:98
706822 msgid "Whether the standard GTK shortcut for menubar access is enabled"
707823 msgstr "Se o atalho predefinido GTK de acesso à barra de menu está ativo"
708824
709 #: ../src/org.gnome.Terminal.gschema.xml.h:87
825 #: ../src/org.gnome.Terminal.gschema.xml.h:99
710826 msgid ""
711827 "Normally you can access the menubar with F10. This can also be customized "
712828 "via gtkrc (gtk-menu-bar-accel = \"whatever\"). This option allows the "
716832 "personalizado via gtkrc (gtk-menu-bar-accel = \"whatever\"). Esta opção "
717833 "permite que o atalho padrão da barra de menus seja desativado."
718834
719 #: ../src/org.gnome.Terminal.gschema.xml.h:88
835 #: ../src/org.gnome.Terminal.gschema.xml.h:100
720836 msgid "Whether the shell integration is enabled"
721837 msgstr "Se a integração de terminal está ativa"
722838
723 #: ../src/org.gnome.Terminal.gschema.xml.h:89
839 #: ../src/org.gnome.Terminal.gschema.xml.h:101
724840 msgid "List of available encodings"
725841 msgstr "Lista de codificações disponíveis"
726842
727 #: ../src/org.gnome.Terminal.gschema.xml.h:90
843 #: ../src/org.gnome.Terminal.gschema.xml.h:102
728844 msgid ""
729845 "A subset of possible encodings are presented in the Encoding submenu. This "
730846 "is a list of encodings to appear there."
734850 "codificação especial \"current\" significa mostrar a codificação da "
735851 "configuração regional atual."
736852
737 #: ../src/org.gnome.Terminal.gschema.xml.h:91
853 #: ../src/org.gnome.Terminal.gschema.xml.h:103
738854 msgid "Whether to ask for confirmation before closing a terminal"
739855 msgstr "Se pedir ou não confirmação antes de fechar um terminal"
740856
741 #: ../src/org.gnome.Terminal.gschema.xml.h:92
857 #: ../src/org.gnome.Terminal.gschema.xml.h:104
742858 msgid "Whether to show the menubar in new windows"
743859 msgstr "Se mostrar ou não a barra de menu em novas janelas"
744860
745 #: ../src/org.gnome.Terminal.gschema.xml.h:93
861 #: ../src/org.gnome.Terminal.gschema.xml.h:105
746862 msgid "Whether to open new terminals as windows or tabs"
747863 msgstr "Se abrir novos terminais como janelas ou separadores"
748864
749 #: ../src/org.gnome.Terminal.gschema.xml.h:94
865 #: ../src/org.gnome.Terminal.gschema.xml.h:106
750866 msgid "When to show the tabs bar"
751867 msgstr "Quando mostrar a barra de separadores"
752868
753 #: ../src/org.gnome.Terminal.gschema.xml.h:95
869 #: ../src/org.gnome.Terminal.gschema.xml.h:107
754870 msgid "The position of the tab bar"
755871 msgstr "A posição da barra de separadores"
756872
757 #: ../src/org.gnome.Terminal.gschema.xml.h:96
873 #: ../src/org.gnome.Terminal.gschema.xml.h:108
758874 msgid "Which theme variant to use"
759875 msgstr "Que variação do tema a utilizar"
760876
797913
798914 #: ../src/preferences.ui.h:11
799915 msgid "Enable the _menu accelerator key (F10 by default)"
800 msgstr "Ativar a tecla de atalho de _Menu (predefinição F10)"
916 msgstr "Ativar a tecla de atalho de _menu (predefinição F10)"
801917
802918 #: ../src/preferences.ui.h:12
803919 msgid "Theme _variant:"
820936 msgstr "Atalhos"
821937
822938 #: ../src/preferences.ui.h:17
823 msgid "_Clone"
824 msgstr "_Clonar"
825
826 #: ../src/preferences.ui.h:18
827939 msgid "_Profile used when launching a new terminal:"
828940 msgstr "_Perfil utilizado ao iniciar um novo terminal:"
829941
830 #: ../src/preferences.ui.h:19
942 #: ../src/preferences.ui.h:18
831943 msgid "Profiles"
832944 msgstr "Perfis"
833945
946 #: ../src/preferences.ui.h:19
947 msgid "E_ncodings shown in menu:"
948 msgstr "Codificações mostradas _no menu:"
949
834950 #: ../src/preferences.ui.h:20
835 msgid "E_ncodings shown in menu:"
836 msgstr "Codificações mostradas _No menu:"
837
838 #: ../src/preferences.ui.h:21
839951 msgid "Encodings"
840952 msgstr "Codificações"
841953
842 #: ../src/profile-editor.c:48
954 #: ../src/profile-editor.c:49
843955 msgid "Black on light yellow"
844956 msgstr "Preto sobre amarelo suave"
845957
846 #: ../src/profile-editor.c:52
958 #: ../src/profile-editor.c:53
847959 msgid "Black on white"
848960 msgstr "Preto sobre branco"
849961
850 #: ../src/profile-editor.c:56
962 #: ../src/profile-editor.c:57
851963 msgid "Gray on black"
852964 msgstr "Cinzento sobre preto"
853965
854 #: ../src/profile-editor.c:60
966 #: ../src/profile-editor.c:61
855967 msgid "Green on black"
856968 msgstr "Verde sobre preto"
857969
858 #: ../src/profile-editor.c:64
970 #: ../src/profile-editor.c:65
859971 msgid "White on black"
860972 msgstr "Branco sobre preto"
861973
862974 #. Translators: "Solarized" is the name of a colour scheme, "light" can be translated
863 #: ../src/profile-editor.c:69
975 #: ../src/profile-editor.c:70
864976 msgid "Solarized light"
865977 msgstr "Bronzeado leve"
866978
867979 #. Translators: "Solarized" is the name of a colour scheme, "dark" can be translated
868 #: ../src/profile-editor.c:74
980 #: ../src/profile-editor.c:75
869981 msgid "Solarized dark"
870982 msgstr "Bronzeado escuro"
871983
875987 msgstr "Erro ao processar o comando: %s"
876988
877989 #. This is the name of a colour scheme
878 #: ../src/profile-editor.c:479 ../src/profile-preferences.ui.h:32
990 #: ../src/profile-editor.c:479 ../src/profile-preferences.ui.h:36
879991 msgid "Custom"
880992 msgstr "Personalizado"
881993
884996 msgid "Editing Profile “%s”"
885997 msgstr "A editar o perfil “%s”"
886998
887 #: ../src/profile-editor.c:884
999 #: ../src/profile-editor.c:894
8881000 #, c-format
8891001 msgid "Choose Palette Color %u"
8901002 msgstr "Selecione a cor de paleta %u"
8911003
892 #: ../src/profile-editor.c:888
1004 #: ../src/profile-editor.c:898
8931005 #, c-format
8941006 msgid "Palette entry %u"
8951007 msgstr "Entrada de paleta %u"
8961008
1009 #. ambiguous-width characers are
1010 #: ../src/profile-preferences.ui.h:2
1011 msgid "Narrow"
1012 msgstr "Estreito"
1013
1014 #. ambiguous-width characers are
1015 #: ../src/profile-preferences.ui.h:4
1016 msgid "Wide"
1017 msgstr "Largo"
1018
8971019 #. Cursor shape
898 #: ../src/profile-preferences.ui.h:2
1020 #: ../src/profile-preferences.ui.h:6
8991021 msgid "Block"
9001022 msgstr "Bloco"
9011023
9021024 #. Cursor shape
903 #: ../src/profile-preferences.ui.h:4
1025 #: ../src/profile-preferences.ui.h:8
9041026 msgid "I-Beam"
9051027 msgstr "I-Beam"
9061028
9071029 #. Cursor shape
908 #: ../src/profile-preferences.ui.h:6
1030 #: ../src/profile-preferences.ui.h:10
9091031 msgid "Underline"
9101032 msgstr "Sublinhado"
9111033
9121034 #. When terminal commands set their own titles
913 #: ../src/profile-preferences.ui.h:8
1035 #: ../src/profile-preferences.ui.h:12
9141036 msgid "Replace initial title"
9151037 msgstr "Substituir o título inicial"
9161038
9171039 #. When terminal commands set their own titles
918 #: ../src/profile-preferences.ui.h:10
1040 #: ../src/profile-preferences.ui.h:14
9191041 msgid "Append initial title"
9201042 msgstr "Anexar ao título inicial"
9211043
9221044 #. When terminal commands set their own titles
923 #: ../src/profile-preferences.ui.h:12
1045 #: ../src/profile-preferences.ui.h:16
9241046 msgid "Prepend initial title"
9251047 msgstr "Prefixar ao título inicial"
9261048
9271049 #. When terminal commands set their own titles
928 #: ../src/profile-preferences.ui.h:14
1050 #: ../src/profile-preferences.ui.h:18
9291051 msgid "Keep initial title"
9301052 msgstr "Manter o título inicial"
9311053
9321054 #. When command exits
933 #: ../src/profile-preferences.ui.h:16
1055 #: ../src/profile-preferences.ui.h:20
9341056 msgid "Exit the terminal"
9351057 msgstr "Sair do terminal"
9361058
9371059 #. When command exits
938 #: ../src/profile-preferences.ui.h:18
1060 #: ../src/profile-preferences.ui.h:22
9391061 msgid "Restart the command"
9401062 msgstr "Reinicia o comando"
9411063
9421064 #. When command exits
943 #: ../src/profile-preferences.ui.h:20
1065 #: ../src/profile-preferences.ui.h:24
9441066 msgid "Hold the terminal open"
9451067 msgstr "Manter o terminal aberto"
9461068
9471069 #. This is the name of a colour scheme
948 #: ../src/profile-preferences.ui.h:22
1070 #: ../src/profile-preferences.ui.h:26
9491071 msgid "Tango"
9501072 msgstr "Tango"
9511073
9521074 #. This is the name of a colour scheme
953 #: ../src/profile-preferences.ui.h:24
1075 #: ../src/profile-preferences.ui.h:28
9541076 msgid "Linux console"
9551077 msgstr "Consola Linux"
9561078
9571079 #. This is the name of a colour scheme
958 #: ../src/profile-preferences.ui.h:26
1080 #: ../src/profile-preferences.ui.h:30
9591081 msgid "XTerm"
9601082 msgstr "XTerm"
9611083
9621084 #. This is the name of a colour scheme
963 #: ../src/profile-preferences.ui.h:28
1085 #: ../src/profile-preferences.ui.h:32
9641086 msgid "Rxvt"
9651087 msgstr "Rxvt"
9661088
9671089 #. This is the name of a colour scheme
968 #: ../src/profile-preferences.ui.h:30
1090 #: ../src/profile-preferences.ui.h:34
9691091 msgid "Solarized"
9701092 msgstr "Bronzeado"
9711093
9721094 #. This refers to the Delete keybinding option
973 #: ../src/profile-preferences.ui.h:34
1095 #: ../src/profile-preferences.ui.h:38
9741096 msgid "Automatic"
9751097 msgstr "Automático"
9761098
9771099 #. This refers to the Delete keybinding option
978 #: ../src/profile-preferences.ui.h:36
1100 #: ../src/profile-preferences.ui.h:40
9791101 msgid "Control-H"
9801102 msgstr "Ctrl-H"
9811103
9821104 #. This refers to the Delete keybinding option
983 #: ../src/profile-preferences.ui.h:38
1105 #: ../src/profile-preferences.ui.h:42
9841106 msgid "ASCII DEL"
9851107 msgstr "Delete ASCII"
9861108
9871109 #. This refers to the Delete keybinding option
988 #: ../src/profile-preferences.ui.h:40
1110 #: ../src/profile-preferences.ui.h:44
9891111 msgid "Escape sequence"
9901112 msgstr "Sequência de escape"
9911113
9921114 #. This refers to the Delete keybinding option
993 #: ../src/profile-preferences.ui.h:42
1115 #: ../src/profile-preferences.ui.h:46
9941116 msgid "TTY Erase"
9951117 msgstr "Apagar TTY"
996
997 #. ambiguous-width characers are
998 #: ../src/profile-preferences.ui.h:44
999 msgid "Narrow"
1000 msgstr "Estreito"
1001
1002 #. ambiguous-width characers are
1003 #: ../src/profile-preferences.ui.h:46
1004 msgid "Wide"
1005 msgstr "Largo"
10061118
10071119 #: ../src/profile-preferences.ui.h:47
10081120 msgid "Profile Editor"
10291141 msgstr "linhas"
10301142
10311143 #: ../src/profile-preferences.ui.h:53
1144 msgid "Cursor _shape:"
1145 msgstr "_Forma do cursor:"
1146
1147 #: ../src/profile-preferences.ui.h:54
1148 msgid "Terminal _bell"
1149 msgstr "_Beep de terminal"
1150
1151 #: ../src/profile-preferences.ui.h:55
1152 msgid "Text Appearance"
1153 msgstr "Aparência do texto"
1154
1155 #: ../src/profile-preferences.ui.h:56
1156 msgid "_Allow bold text"
1157 msgstr "Permitir texto ne_grito"
1158
1159 #: ../src/profile-preferences.ui.h:57
1160 msgid "_Rewrap on resize"
1161 msgstr "_Reajustar ao redimensionar"
1162
1163 #: ../src/profile-preferences.ui.h:58
1164 #| msgid "_Custom font"
1165 msgid "_Custom font:"
1166 msgstr "_Letra personalizada:"
1167
1168 #: ../src/profile-preferences.ui.h:59
1169 msgid "Choose A Terminal Font"
1170 msgstr "Selecione uma letra de terminal"
1171
1172 #: ../src/profile-preferences.ui.h:60
10321173 msgid "Rese_t"
10331174 msgstr "_Repor"
10341175
1035 #: ../src/profile-preferences.ui.h:54
1036 msgid "Cursor _shape:"
1037 msgstr "_Forma do cursor:"
1038
1039 #: ../src/profile-preferences.ui.h:55
1040 msgid "Terminal _bell"
1041 msgstr "_Beep de terminal"
1042
1043 #: ../src/profile-preferences.ui.h:56
1044 msgid "Text Appearance"
1045 msgstr "Aparência do texto"
1046
1047 #: ../src/profile-preferences.ui.h:57
1048 msgid "_Allow bold text"
1049 msgstr "Permitir texto ne_Grito"
1050
1051 #: ../src/profile-preferences.ui.h:58
1052 msgid "_Rewrap on resize"
1053 msgstr "_Reajustar ao redimensionar"
1054
1055 #: ../src/profile-preferences.ui.h:59
1056 msgid "_Custom font"
1057 msgstr "_Letra personalizada"
1058
1059 #: ../src/profile-preferences.ui.h:60
1060 msgid "Choose A Terminal Font"
1061 msgstr "Selecione uma letra de terminal"
1062
10631176 #: ../src/profile-preferences.ui.h:62
10641177 msgid "_Run command as a login shell"
1065 msgstr "Executa_R comando como terminal de início de sessão"
1178 msgstr "Executa_r comando como terminal de início de sessão"
10661179
10671180 #: ../src/profile-preferences.ui.h:63
10681181 msgid "Ru_n a custom command instead of my shell"
1069 msgstr "Executar um coma_Ndo personalizado em vez do terminal"
1182 msgstr "Executar um coma_ndo personalizado em vez do terminal"
10701183
10711184 #: ../src/profile-preferences.ui.h:64
10721185 msgid "Custom co_mmand:"
1073 msgstr "Co_Mando personalizado:"
1186 msgstr "Co_mando personalizado:"
10741187
10751188 #: ../src/profile-preferences.ui.h:65
10761189 msgid "When command _exits:"
1077 msgstr "Ao t_Erminar comando:"
1190 msgstr "Ao t_erminar comando:"
10781191
10791192 #: ../src/profile-preferences.ui.h:66
10801193 msgid "Command"
10931206 msgstr "Esque_mas internos:"
10941207
10951208 #: ../src/profile-preferences.ui.h:70
1096 msgid "_Text color:"
1097 msgstr "Cor do _Texto:"
1209 msgid "Text"
1210 msgstr "Texto"
10981211
10991212 #: ../src/profile-preferences.ui.h:71
1100 msgid "_Background color:"
1101 msgstr "Cor de _Fundo:"
1213 msgid "Background"
1214 msgstr "Fundo"
11021215
11031216 #: ../src/profile-preferences.ui.h:72
1104 msgid "Choose Terminal Background Color"
1105 msgstr "Selecione a cor de fundo do terminal"
1217 #| msgid "_Text color:"
1218 msgid "_Default color:"
1219 msgstr "Cor do pre_definida:"
11061220
11071221 #: ../src/profile-preferences.ui.h:73
11081222 msgid "Choose Terminal Text Color"
11091223 msgstr "Selecione a cor do texto do terminal"
11101224
11111225 #: ../src/profile-preferences.ui.h:74
1226 msgid "Choose Terminal Background Color"
1227 msgstr "Selecione a cor de fundo do terminal"
1228
1229 #: ../src/profile-preferences.ui.h:75
1230 #| msgid "Choose Terminal Text Color"
1231 msgid "Choose Terminal Bold Text Color"
1232 msgstr "Selecione a cor do texto a negrito do terminal"
1233
1234 #: ../src/profile-preferences.ui.h:76
1235 #| msgid "Choose Terminal Text Color"
1236 msgid "Choose Terminal Underlined Text Color"
1237 msgstr "Selecione a cor do texto sublinhado do terminal"
1238
1239 #: ../src/profile-preferences.ui.h:77
1240 #| msgid "_Background color:"
1241 msgid "Cu_rsor color:"
1242 msgstr "Cor do cursor:"
1243
1244 #: ../src/profile-preferences.ui.h:78
1245 #| msgid "Choose Terminal Background Color"
1246 msgid "Choose Terminal Cursor Foreground Color"
1247 msgstr "Selecione a cor do cursor"
1248
1249 #: ../src/profile-preferences.ui.h:79
1250 #| msgid "Choose Terminal Background Color"
1251 msgid "Choose Terminal Cursor Background Color"
1252 msgstr "Selecione a cor de fundo do cursor"
1253
1254 #: ../src/profile-preferences.ui.h:80
11121255 msgid "_Underline color:"
1113 msgstr "Cor de s_Ublinhado:"
1114
1115 #: ../src/profile-preferences.ui.h:75
1116 msgid "_Same as text color"
1117 msgstr "Me_Sma que a cor do texto"
1118
1119 #: ../src/profile-preferences.ui.h:76
1120 msgid "Bol_d color:"
1121 msgstr "Cor _Do negrito:"
1122
1123 #: ../src/profile-preferences.ui.h:77
1256 msgstr "Cor de s_ublinhado:"
1257
1258 #: ../src/profile-preferences.ui.h:81
1259 #| msgid "Bol_d color:"
1260 msgid "Bo_ld color:"
1261 msgstr "Cor _do negrito:"
1262
1263 #: ../src/profile-preferences.ui.h:82
1264 #| msgid "_Text color:"
1265 msgid "_Highlight color:"
1266 msgstr "Cor do _realce:"
1267
1268 #: ../src/profile-preferences.ui.h:83
11241269 msgid "Palette"
11251270 msgstr "Paleta"
11261271
1127 #: ../src/profile-preferences.ui.h:78
1272 #: ../src/profile-preferences.ui.h:84
11281273 msgid "Built-in _schemes:"
1129 msgstr "E_Squemas internos:"
1130
1131 #: ../src/profile-preferences.ui.h:79
1274 msgstr "E_squemas internos:"
1275
1276 #: ../src/profile-preferences.ui.h:85
11321277 msgid "<b>Note:</b> Terminal applications have these colors available to them."
11331278 msgstr "<b>Nota:</b> aplicações de terminal têm estas cores disponíveis."
11341279
1135 #: ../src/profile-preferences.ui.h:80
1280 #: ../src/profile-preferences.ui.h:86
11361281 msgid "Color p_alette:"
1137 msgstr "P_Aleta de cores:"
1138
1139 #: ../src/profile-preferences.ui.h:81
1282 msgstr "P_aleta de cores:"
1283
1284 #: ../src/profile-preferences.ui.h:87
11401285 msgid "Colors"
11411286 msgstr "Cores"
11421287
1143 #: ../src/profile-preferences.ui.h:82
1288 #: ../src/profile-preferences.ui.h:88
11441289 msgid "Scroll on _keystroke"
1145 msgstr "Rolar ao premir o _Teclado"
1146
1147 #: ../src/profile-preferences.ui.h:83
1290 msgstr "Rolar ao premir o _teclado"
1291
1292 #: ../src/profile-preferences.ui.h:89
11481293 msgid "Scroll on _output"
1149 msgstr "R_Olar com as mensagens"
1150
1151 #: ../src/profile-preferences.ui.h:84
1294 msgstr "R_olar com as mensagens"
1295
1296 #: ../src/profile-preferences.ui.h:90
11521297 msgid "_Limit scrollback to:"
1153 msgstr "_Limitar Rolar atrás a:"
1154
1155 #: ../src/profile-preferences.ui.h:85
1298 msgstr "_Limitar rolar atrás a:"
1299
1300 #: ../src/profile-preferences.ui.h:91
11561301 msgid "lines"
11571302 msgstr "linhas"
11581303
1159 #: ../src/profile-preferences.ui.h:86
1304 #: ../src/profile-preferences.ui.h:92
11601305 msgid "_Show scrollbar"
1161 msgstr "Mo_Strar barra de rolamento"
1162
1163 #: ../src/profile-preferences.ui.h:87
1306 msgstr "Mo_strar barra de rolamento"
1307
1308 #: ../src/profile-preferences.ui.h:93
11641309 msgid "Scrolling"
11651310 msgstr "Rolamento"
11661311
1167 #: ../src/profile-preferences.ui.h:88
1312 #: ../src/profile-preferences.ui.h:94
11681313 msgid ""
11691314 "<b>Note:</b> These options may cause some applications to behave "
11701315 "incorrectly. They are only here to allow you to work around certain "
11751320 "aplicações e sistemas operativos que esperam comportamentos diferentes do "
11761321 "terminal."
11771322
1178 #: ../src/profile-preferences.ui.h:89
1323 #: ../src/profile-preferences.ui.h:95
11791324 msgid "_Delete key generates:"
11801325 msgstr "Tecla _Delete gera:"
11811326
1182 #: ../src/profile-preferences.ui.h:90
1327 #: ../src/profile-preferences.ui.h:96
11831328 msgid "_Backspace key generates:"
11841329 msgstr "Tecla _Backspace gera:"
11851330
1186 #: ../src/profile-preferences.ui.h:91
1331 #: ../src/profile-preferences.ui.h:97
11871332 msgid "_Encoding:"
11881333 msgstr "_Codificação:"
11891334
1190 #: ../src/profile-preferences.ui.h:92
1335 #: ../src/profile-preferences.ui.h:98
11911336 msgid "Ambiguous-_width characters:"
1192 msgstr "Carateres com larg_Ura ambígua:"
1193
1194 #: ../src/profile-preferences.ui.h:93
1337 msgstr "Carateres com larg_ura ambígua:"
1338
1339 #: ../src/profile-preferences.ui.h:99
11951340 msgid "_Reset Compatibility Options to Defaults"
11961341 msgstr "_Repor opções de compatibilidade na predefinição"
11971342
1198 #: ../src/profile-preferences.ui.h:94
1343 #: ../src/profile-preferences.ui.h:100
11991344 msgid "Compatibility"
12001345 msgstr "Compatibilidade"
12011346
12211366
12221367 #: ../src/search-popover.ui.h:6
12231368 msgid "Match _entire word only"
1224 msgstr "Comparar _Só palavra completa"
1369 msgstr "Comparar _só palavra completa"
12251370
12261371 #: ../src/search-popover.ui.h:7
12271372 msgid "Match as _regular expression"
1228 msgstr "Comparar como expressão _Regular"
1373 msgstr "Comparar como expressão _regular"
12291374
12301375 #: ../src/search-popover.ui.h:8
12311376 msgid "_Wrap around"
12561401 msgstr "Fechar todos os terminais"
12571402
12581403 #. Edit menu
1259 #: ../src/terminal-accels.c:167 ../src/terminal-window.c:2496
1260 #: ../src/terminal-window.c:2616
1404 #: ../src/terminal-accels.c:167 ../src/terminal-window.c:2462
1405 #: ../src/terminal-window.c:2582
12611406 msgid "Copy"
12621407 msgstr "Copiar"
12631408
1264 #: ../src/terminal-accels.c:168 ../src/terminal-window.c:2499
1265 #: ../src/terminal-window.c:2619
1409 #: ../src/terminal-accels.c:168 ../src/terminal-window.c:2465
1410 #: ../src/terminal-window.c:2585
12661411 msgid "Paste"
12671412 msgstr "Colar"
12681413
1269 #: ../src/terminal-accels.c:169 ../src/terminal-window.c:2505
1414 #: ../src/terminal-accels.c:169 ../src/terminal-window.c:2471
12701415 msgid "Select All"
12711416 msgstr "Selecionar tudo"
12721417
12991444 msgstr "Ecrã completo"
13001445
13011446 #. View menu
1302 #: ../src/terminal-accels.c:184 ../src/terminal-window.c:2516
1447 #: ../src/terminal-accels.c:184 ../src/terminal-window.c:2482
13031448 msgid "Zoom In"
13041449 msgstr "Ampliar"
13051450
1306 #: ../src/terminal-accels.c:185 ../src/terminal-window.c:2519
1451 #: ../src/terminal-accels.c:185 ../src/terminal-window.c:2485
13071452 msgid "Zoom Out"
13081453 msgstr "Reduzir"
13091454
1310 #: ../src/terminal-accels.c:186 ../src/terminal-window.c:2522
1455 #: ../src/terminal-accels.c:186 ../src/terminal-window.c:2488
13111456 msgid "Normal Size"
13121457 msgstr "Tamanho normal"
13131458
13801525 msgid "Shortcut _Key"
13811526 msgstr "_Tecla de atalho"
13821527
1383 #: ../src/terminal-app.c:745
1528 #: ../src/terminal-app.c:746
13841529 msgid "User Defined"
13851530 msgstr "Definido pelo utilizador"
13861531
15381683 msgid "_Preferences"
15391684 msgstr "_Preferências"
15401685
1541 #: ../src/terminal-menus.ui.h:3 ../src/terminal-window.c:2467
1686 #: ../src/terminal-menus.ui.h:3 ../src/terminal-window.c:2433
15421687 msgid "_Help"
1543 msgstr "A_Juda"
1544
1545 #: ../src/terminal-menus.ui.h:4 ../src/terminal-window.c:2584
1688 msgstr "A_juda"
1689
1690 #: ../src/terminal-menus.ui.h:4 ../src/terminal-window.c:2550
15461691 msgid "_About"
15471692 msgstr "_Sobre"
15481693
15521697
15531698 #: ../src/terminal-nautilus.c:602
15541699 msgid "Open in _Remote Terminal"
1555 msgstr "Abrir em terminal _Remoto"
1700 msgstr "Abrir em terminal _remoto"
15561701
15571702 #: ../src/terminal-nautilus.c:604
15581703 msgid "Open in _Local Terminal"
1559 msgstr "Abrir em terminal _Local"
1704 msgstr "Abrir em terminal _local"
15601705
15611706 #: ../src/terminal-nautilus.c:608 ../src/terminal-nautilus.c:619
15621707 msgid "Open the currently selected folder in a terminal"
15691714
15701715 #: ../src/terminal-nautilus.c:616 ../src/terminal-nautilus.c:630
15711716 msgid "Open in T_erminal"
1572 msgstr "Abrir num t_Erminal"
1717 msgstr "Abrir num t_erminal"
15731718
15741719 #: ../src/terminal-nautilus.c:627
15751720 msgid "Open T_erminal"
1576 msgstr "Abrir t_Erminal"
1721 msgstr "Abrir t_erminal"
15771722
15781723 #: ../src/terminal-nautilus.c:628
15791724 msgid "Open a terminal"
16071752 msgid "Open the terminal file manager Midnight Commander"
16081753 msgstr "Abrir o gestor de ficheiros de terminal Midnight Commander"
16091754
1610 #: ../src/terminal-options.c:222 ../src/terminal-options.c:235
1755 #: ../src/terminal-options.c:222
1756 #, c-format
1757 #| msgid ""
1758 #| "Option \"%s\" is no longer supported in this version of gnome-terminal."
1759 msgid ""
1760 "Option \"%s\" is deprecated and might be removed in a later version of gnome-"
1761 "terminal."
1762 msgstr ""
1763 "A opção \"%s\" já não é suportada e poderá ser removida numa versão "
1764 "atualizada do terminal GNOME."
1765
1766 #: ../src/terminal-options.c:233 ../src/terminal-options.c:246
16111767 #, c-format
16121768 msgid "Option \"%s\" is no longer supported in this version of gnome-terminal."
16131769 msgstr "A opção \"%s\" já não é suportada nesta versão do terminal GNOME."
16141770
1615 #: ../src/terminal-options.c:247 ../src/terminal-util.c:230
1771 #: ../src/terminal-options.c:258 ../src/terminal-util.c:230
16161772 msgid "GNOME Terminal"
16171773 msgstr "Terminal GNOME"
16181774
1619 #: ../src/terminal-options.c:287
1775 #: ../src/terminal-options.c:298
16201776 #, c-format
16211777 msgid "Argument to \"%s\" is not a valid command: %s"
16221778 msgstr "Argumento para \"%s\" não é um comando válido: %s"
16231779
1624 #: ../src/terminal-options.c:455
1780 #: ../src/terminal-options.c:466
16251781 msgid "Two roles given for one window"
16261782 msgstr "Indicados dois papeis para uma janela"
16271783
1628 #: ../src/terminal-options.c:476 ../src/terminal-options.c:509
1784 #: ../src/terminal-options.c:487 ../src/terminal-options.c:520
16291785 #, c-format
16301786 msgid "\"%s\" option given twice for the same window\n"
16311787 msgstr "Opção \"%s\" indicada duas vezes para a mesma janela\n"
16321788
1633 #: ../src/terminal-options.c:683
1789 #: ../src/terminal-options.c:724
16341790 #, c-format
16351791 msgid "Zoom factor \"%g\" is too small, using %g\n"
16361792 msgstr "Fator de ampliação \"%g\" demasiado pequeno, a usar %g\n"
16371793
1638 #: ../src/terminal-options.c:691
1794 #: ../src/terminal-options.c:732
16391795 #, c-format
16401796 msgid "Zoom factor \"%g\" is too large, using %g\n"
16411797 msgstr "Fator de ampliação \"%g\" demasiado grande, a usar %g\n"
16421798
1643 #: ../src/terminal-options.c:729
1799 #: ../src/terminal-options.c:770
16441800 #, c-format
16451801 msgid ""
16461802 "Option \"%s\" requires specifying the command to run on the rest of the "
16491805 "Opção \"%s\" requer a especificação do comando a executar no resto da linha "
16501806 "de comando"
16511807
1652 #: ../src/terminal-options.c:863
1808 #: ../src/terminal-options.c:905
16531809 msgid "Not a valid terminal config file."
16541810 msgstr "Não é um ficheiro de configuração de terminal válido."
16551811
1656 #: ../src/terminal-options.c:876
1812 #: ../src/terminal-options.c:918
16571813 msgid "Incompatible terminal config file version."
16581814 msgstr "Versão de ficheiro de configuração de terminal incompatível."
16591815
1660 #: ../src/terminal-options.c:1020
1816 #: ../src/terminal-options.c:1064
16611817 msgid ""
16621818 "Do not register with the activation nameserver, do not re-use an active "
16631819 "terminal"
16651821 "Não registar perante o servidor de nomes de ativação, não reutilizar um "
16661822 "terminal ativo"
16671823
1668 #: ../src/terminal-options.c:1029
1824 #: ../src/terminal-options.c:1073
16691825 msgid "Load a terminal configuration file"
16701826 msgstr "Ler um ficheiro de configuração de terminal"
16711827
1672 #: ../src/terminal-options.c:1030
1828 #: ../src/terminal-options.c:1074
16731829 msgid "FILE"
16741830 msgstr "FICHEIRO"
16751831
1676 #: ../src/terminal-options.c:1051
1832 #: ../src/terminal-options.c:1095
16771833 msgid "Open a new window containing a tab with the default profile"
16781834 msgstr "Abrir uma nova janela contendo um separador com o perfil predefinido"
16791835
1680 #: ../src/terminal-options.c:1060
1836 #: ../src/terminal-options.c:1104
16811837 msgid "Open a new tab in the last-opened window with the default profile"
16821838 msgstr ""
16831839 "Abrir um novo separador na última janela aberta com o perfil predefinido"
16841840
1685 #: ../src/terminal-options.c:1073
1841 #: ../src/terminal-options.c:1117
16861842 msgid "Turn on the menubar"
16871843 msgstr "Ativar a barra de menu"
16881844
1689 #: ../src/terminal-options.c:1082
1845 #: ../src/terminal-options.c:1126
16901846 msgid "Turn off the menubar"
16911847 msgstr "Desativar a barra de menu"
16921848
1693 #: ../src/terminal-options.c:1091
1849 #: ../src/terminal-options.c:1135
16941850 msgid "Maximize the window"
16951851 msgstr "Maximizar a janela"
16961852
1697 #: ../src/terminal-options.c:1127
1853 #: ../src/terminal-options.c:1171
16981854 msgid "Set the last specified tab as the active one in its window"
16991855 msgstr "Definir o último separador especificado como o ativo nessa janela"
17001856
1701 #: ../src/terminal-options.c:1140
1857 #: ../src/terminal-options.c:1184
17021858 msgid "Execute the argument to this option inside the terminal"
17031859 msgstr "Executar o argumento para esta opção dentro do terminal"
17041860
1705 #: ../src/terminal-options.c:1150
1861 #: ../src/terminal-options.c:1194
17061862 msgid "PROFILE-NAME"
17071863 msgstr "NOME-PERFIL"
17081864
1709 #: ../src/terminal-options.c:1264 ../src/terminal-options.c:1270
1865 #: ../src/terminal-options.c:1202
1866 #| msgid "Set the terminal title"
1867 msgid "Set the initial terminal title"
1868 msgstr "Definir o título do terminal"
1869
1870 #: ../src/terminal-options.c:1203
1871 msgid "TITLE"
1872 msgstr "TÍTULO"
1873
1874 #: ../src/terminal-options.c:1309 ../src/terminal-options.c:1315
17101875 msgid "GNOME Terminal Emulator"
17111876 msgstr "Emulador de terminal GNOME"
17121877
1713 #: ../src/terminal-options.c:1271
1878 #: ../src/terminal-options.c:1316
17141879 msgid "Show GNOME Terminal options"
17151880 msgstr "Mostrar as opções do terminal GNOME"
17161881
1717 #: ../src/terminal-options.c:1281
1882 #: ../src/terminal-options.c:1326
17181883 msgid ""
17191884 "Options to open new windows or terminal tabs; more than one of these may be "
17201885 "specified:"
17221887 "Opções para abrir novas janelas ou separadores de terminal; pode ser "
17231888 "especificada mais do que uma:"
17241889
1725 #: ../src/terminal-options.c:1290
1890 #: ../src/terminal-options.c:1335
17261891 msgid ""
17271892 "Window options; if used before the first --window or --tab argument, sets "
17281893 "the default for all windows:"
17301895 "Opções de janela; se usada antes do primeiro argumento --window ou --tab, é "
17311896 "predefinição para todas as janelas:"
17321897
1733 #: ../src/terminal-options.c:1291
1898 #: ../src/terminal-options.c:1336
17341899 msgid "Show per-window options"
17351900 msgstr "Mostrar as opções por janela"
17361901
1737 #: ../src/terminal-options.c:1299
1902 #: ../src/terminal-options.c:1344
17381903 msgid ""
17391904 "Terminal options; if used before the first --window or --tab argument, sets "
17401905 "the default for all terminals:"
17421907 "Opções de terminal; se utilizadas antes do primeiro argumento --window ou --"
17431908 "tab, são predefinição para todos os terminais:"
17441909
1745 #: ../src/terminal-options.c:1300
1910 #: ../src/terminal-options.c:1345
17461911 msgid "Show per-terminal options"
17471912 msgstr "Mostrar as opções por terminal"
17481913
17791944 msgid "_Encoding"
17801945 msgstr "_Codificação"
17811946
1782 #: ../src/terminal-screen.c:1121
1947 #: ../src/terminal-screen.c:1181
17831948 msgid "No command supplied nor shell requested"
17841949 msgstr "Nenhum comando indicado nem terminal pedido"
17851950
1786 #: ../src/terminal-screen.c:1371 ../src/terminal-window.c:2511
1951 #: ../src/terminal-screen.c:1431 ../src/terminal-window.c:2477
17871952 msgid "_Profile Preferences"
17881953 msgstr "_Preferências de perfil"
17891954
1790 #: ../src/terminal-screen.c:1372 ../src/terminal-screen.c:1650
1955 #: ../src/terminal-screen.c:1432 ../src/terminal-screen.c:1710
17911956 msgid "_Relaunch"
17921957 msgstr "_Reiniciar"
17931958
1794 #: ../src/terminal-screen.c:1375
1959 #: ../src/terminal-screen.c:1435
17951960 msgid "There was an error creating the child process for this terminal"
17961961 msgstr "Ocorreu um erro ao criar o processo filho para este terminal"
17971962
1798 #: ../src/terminal-screen.c:1654
1963 #: ../src/terminal-screen.c:1714
17991964 #, c-format
18001965 msgid "The child process exited normally with status %d."
18011966 msgstr "O processo filho terminou normalmente com o estado %d."
18021967
1803 #: ../src/terminal-screen.c:1657
1968 #: ../src/terminal-screen.c:1717
18041969 #, c-format
18051970 msgid "The child process was aborted by signal %d."
18061971 msgstr "O processo filho foi abortado pelo sinal %d."
18071972
1808 #: ../src/terminal-screen.c:1660
1973 #: ../src/terminal-screen.c:1720
18091974 msgid "The child process was aborted."
18101975 msgstr "O processo filho foi abortado."
18111976
18952060 #. * _%u is used as the accelerator (with u between 1 and 9), and
18962061 #. * the %s is the name of the terminal profile.
18972062 #.
1898 #: ../src/terminal-window.c:1258
2063 #: ../src/terminal-window.c:1260
18992064 #, c-format
19002065 msgid "_%u. %s"
19012066 msgstr "_%u. %s"
19042069 #. * _%c is used as the accelerator (it will be a character between A and Z),
19052070 #. * and the %s is the name of the terminal profile.
19062071 #.
1907 #: ../src/terminal-window.c:1264
2072 #: ../src/terminal-window.c:1266
19082073 #, c-format
19092074 msgid "_%c. %s"
19102075 msgstr "_%c. %s"
19112076
19122077 #. Toplevel
1913 #: ../src/terminal-window.c:2460
2078 #: ../src/terminal-window.c:2426
19142079 msgid "_File"
19152080 msgstr "_Ficheiro"
19162081
19172082 #. File menu
1918 #: ../src/terminal-window.c:2461 ../src/terminal-window.c:2473
1919 #: ../src/terminal-window.c:2479 ../src/terminal-window.c:2625
2083 #: ../src/terminal-window.c:2427 ../src/terminal-window.c:2439
2084 #: ../src/terminal-window.c:2445 ../src/terminal-window.c:2591
19202085 msgid "Open _Terminal"
19212086 msgstr "Abrir _Terminal"
19222087
1923 #: ../src/terminal-window.c:2462
2088 #: ../src/terminal-window.c:2428
19242089 msgid "_Edit"
19252090 msgstr "_Editar"
19262091
1927 #: ../src/terminal-window.c:2463
2092 #: ../src/terminal-window.c:2429
19282093 msgid "_View"
19292094 msgstr "_Ver"
19302095
1931 #: ../src/terminal-window.c:2464
2096 #: ../src/terminal-window.c:2430
19322097 msgid "_Search"
19332098 msgstr "_Procurar"
19342099
1935 #: ../src/terminal-window.c:2465
2100 #: ../src/terminal-window.c:2431
19362101 msgid "_Terminal"
19372102 msgstr "_Terminal"
19382103
1939 #: ../src/terminal-window.c:2466
2104 #: ../src/terminal-window.c:2432
19402105 msgid "Ta_bs"
1941 msgstr "Separa_Dores"
1942
1943 #: ../src/terminal-window.c:2476
2106 msgstr "Separa_dores"
2107
2108 #: ../src/terminal-window.c:2442
19442109 msgid "Open Ta_b"
1945 msgstr "Abrir _Separador"
1946
1947 #: ../src/terminal-window.c:2482
2110 msgstr "Abrir _separador"
2111
2112 #: ../src/terminal-window.c:2448
19482113 msgid "New _Profile"
1949 msgstr "Novo _Perfil"
1950
1951 #: ../src/terminal-window.c:2485
2114 msgstr "Novo _perfil"
2115
2116 #: ../src/terminal-window.c:2451
19522117 msgid "_Save Contents"
19532118 msgstr "_Gravar o conteúdo"
19542119
1955 #: ../src/terminal-window.c:2488 ../src/terminal-window.c:3775
2120 #: ../src/terminal-window.c:2454 ../src/terminal-window.c:3727
19562121 msgid "C_lose Terminal"
1957 msgstr "Fechar termina_L"
1958
1959 #: ../src/terminal-window.c:2491
2122 msgstr "Fechar termina_l"
2123
2124 #: ../src/terminal-window.c:2457
19602125 msgid "_Close All Terminals"
1961 msgstr "Fe_Char todos os terminais"
1962
1963 #: ../src/terminal-window.c:2502 ../src/terminal-window.c:2622
2126 msgstr "Fe_char todos os terminais"
2127
2128 #: ../src/terminal-window.c:2468 ../src/terminal-window.c:2588
19642129 msgid "Paste _Filenames"
1965 msgstr "Colar nomes de _Ficheiros"
1966
1967 #: ../src/terminal-window.c:2508
2130 msgstr "Colar nomes de _ficheiros"
2131
2132 #: ../src/terminal-window.c:2474
19682133 msgid "Pre_ferences"
1969 msgstr "Pre_Ferências"
2134 msgstr "Pre_ferências"
19702135
19712136 #. Search menu
1972 #: ../src/terminal-window.c:2527
2137 #: ../src/terminal-window.c:2493
19732138 msgid "_Find…"
19742139 msgstr "_Localizar…"
19752140
1976 #: ../src/terminal-window.c:2530
2141 #: ../src/terminal-window.c:2496
19772142 msgid "Find Ne_xt"
1978 msgstr "Localizar _Seguinte"
1979
1980 #: ../src/terminal-window.c:2533
2143 msgstr "Localizar _seguinte"
2144
2145 #: ../src/terminal-window.c:2499
19812146 msgid "Find Pre_vious"
1982 msgstr "Localizar _Anterior"
1983
1984 #: ../src/terminal-window.c:2536
2147 msgstr "Localizar _anterior"
2148
2149 #: ../src/terminal-window.c:2502
19852150 msgid "_Clear Highlight"
19862151 msgstr "_Limpar realce"
19872152
1988 #: ../src/terminal-window.c:2540
2153 #: ../src/terminal-window.c:2506
19892154 msgid "Go to _Line..."
1990 msgstr "Ir para a _Linha..."
1991
1992 #: ../src/terminal-window.c:2543
2155 msgstr "Ir para a _linha..."
2156
2157 #: ../src/terminal-window.c:2509
19932158 msgid "_Incremental Search..."
1994 msgstr "Procura _Incremental..."
2159 msgstr "Procura _incremental..."
19952160
19962161 #. Terminal menu
1997 #: ../src/terminal-window.c:2549
2162 #: ../src/terminal-window.c:2515
19982163 msgid "Change _Profile"
1999 msgstr "Alterar _Perfil"
2000
2001 #: ../src/terminal-window.c:2550
2164 msgstr "Alterar _perfil"
2165
2166 #: ../src/terminal-window.c:2516
20022167 msgid "Set _Character Encoding"
2003 msgstr "Definir codificação de _Caracteres"
2004
2005 #: ../src/terminal-window.c:2551
2168 msgstr "Definir codificação de _caracteres"
2169
2170 #: ../src/terminal-window.c:2517
20062171 msgid "_Reset"
20072172 msgstr "_Repor"
20082173
2009 #: ../src/terminal-window.c:2554
2174 #: ../src/terminal-window.c:2520
20102175 msgid "Reset and C_lear"
2011 msgstr "Repor e _Limpar"
2176 msgstr "Repor e _limpar"
20122177
20132178 #. Terminal/Encodings menu
2014 #: ../src/terminal-window.c:2559
2179 #: ../src/terminal-window.c:2525
20152180 msgid "_Add or Remove…"
20162181 msgstr "_Adicionar ou remover…"
20172182
20182183 #. Tabs menu
2019 #: ../src/terminal-window.c:2564
2184 #: ../src/terminal-window.c:2530
20202185 msgid "_Previous Terminal"
20212186 msgstr "Terminal _anterior"
20222187
2023 #: ../src/terminal-window.c:2567
2188 #: ../src/terminal-window.c:2533
20242189 msgid "_Next Terminal"
20252190 msgstr "Terminal _seguinte"
20262191
2027 #: ../src/terminal-window.c:2570
2192 #: ../src/terminal-window.c:2536
20282193 msgid "Move Terminal _Left"
20292194 msgstr "Mover terminal à _esquerda"
20302195
2031 #: ../src/terminal-window.c:2573
2196 #: ../src/terminal-window.c:2539
20322197 msgid "Move Terminal _Right"
20332198 msgstr "Mover terminal à _direita"
20342199
2035 #: ../src/terminal-window.c:2576
2200 #: ../src/terminal-window.c:2542
20362201 msgid "_Detach Terminal"
20372202 msgstr "_Destacar terminal"
20382203
20392204 #. Help menu
2040 #: ../src/terminal-window.c:2581
2205 #: ../src/terminal-window.c:2547
20412206 msgid "_Contents"
20422207 msgstr "_Conteúdo"
20432208
2044 #: ../src/terminal-window.c:2588
2209 #: ../src/terminal-window.c:2554
20452210 msgid "_Inspector"
20462211 msgstr "_Inspetor"
20472212
20482213 #. Popup menu
2049 #: ../src/terminal-window.c:2594
2214 #: ../src/terminal-window.c:2560
20502215 msgid "_Send Mail To…"
20512216 msgstr "_Enviar mensagem para…"
20522217
2053 #: ../src/terminal-window.c:2597
2218 #: ../src/terminal-window.c:2563
20542219 msgid "_Copy E-mail Address"
20552220 msgstr "_Copiar endereço eletrónico"
20562221
2057 #: ../src/terminal-window.c:2600
2222 #: ../src/terminal-window.c:2566
20582223 msgid "C_all To…"
20592224 msgstr "Telefon_ar para…"
20602225
2061 #: ../src/terminal-window.c:2603
2226 #: ../src/terminal-window.c:2569
20622227 msgid "_Copy Call Address"
20632228 msgstr "_Copiar endereço de chamada"
20642229
2065 #: ../src/terminal-window.c:2606
2230 #: ../src/terminal-window.c:2572
20662231 msgid "_Open Link"
2067 msgstr "Abrir ligaçã_O"
2068
2069 #: ../src/terminal-window.c:2609
2232 msgstr "Abrir ligaçã_o"
2233
2234 #: ../src/terminal-window.c:2575
20702235 msgid "_Copy Link Address"
20712236 msgstr "_Copiar endereço da ligação"
20722237
2073 #: ../src/terminal-window.c:2615
2238 #: ../src/terminal-window.c:2581
20742239 msgid "P_rofiles"
2075 msgstr "Pe_Rfis"
2076
2077 #: ../src/terminal-window.c:2628
2240 msgstr "Pe_rfis"
2241
2242 #: ../src/terminal-window.c:2594
20782243 msgid "L_eave Full Screen"
2079 msgstr "Sair do _Ecrã completo"
2244 msgstr "Sair do _ecrã completo"
20802245
20812246 #. View Menu
2082 #: ../src/terminal-window.c:2636
2247 #: ../src/terminal-window.c:2602
20832248 msgid "Show _Menubar"
20842249 msgstr "Mostrar barra de _menu"
20852250
2086 #: ../src/terminal-window.c:2640
2251 #: ../src/terminal-window.c:2606
20872252 msgid "_Full Screen"
20882253 msgstr "_Ecrã completo"
20892254
20902255 #. Terminal menu
2091 #: ../src/terminal-window.c:2645
2256 #: ../src/terminal-window.c:2611
20922257 msgid "Read-_Only"
2093 msgstr "Só de leit_Ura"
2094
2095 #: ../src/terminal-window.c:3762
2258 msgstr "Só de leit_ura"
2259
2260 #: ../src/terminal-window.c:3714
20962261 msgid "Close this window?"
20972262 msgstr "Fechar esta janela?"
20982263
2099 #: ../src/terminal-window.c:3762
2264 #: ../src/terminal-window.c:3714
21002265 msgid "Close this terminal?"
21012266 msgstr "Fechar este terminal?"
21022267
2103 #: ../src/terminal-window.c:3766
2268 #: ../src/terminal-window.c:3718
21042269 msgid ""
21052270 "There are still processes running in some terminals in this window. Closing "
21062271 "the window will kill all of them."
21082273 "Existem processos em execução em alguns terminais desta janela. Fechar a "
21092274 "janela irá matá-los a todos."
21102275
2111 #: ../src/terminal-window.c:3770
2276 #: ../src/terminal-window.c:3722
21122277 msgid ""
21132278 "There is still a process running in this terminal. Closing the terminal will "
21142279 "kill it."
21152280 msgstr ""
21162281 "Existe um processo em execução neste terminal. Fechar o terminal irá matá-lo."
21172282
2118 #: ../src/terminal-window.c:3775
2283 #: ../src/terminal-window.c:3727
21192284 msgid "C_lose Window"
2120 msgstr "Fechar jane_La"
2285 msgstr "Fechar jane_la"
2286
2287 #~ msgid "_Clone"
2288 #~ msgstr "_Clonar"
2289
2290 #~ msgid "_Same as text color"
2291 #~ msgstr "Me_Sma que a cor do texto"
21212292
21222293 #~ msgid "_Search for:"
21232294 #~ msgstr "_Procurar por: "
21482319
21492320 #~ msgid "_Update login records when command is launched"
21502321 #~ msgstr "_Atualizar os registos de início de sessão ao executar um comando"
2151
2152 #~ msgid "Set the terminal title"
2153 #~ msgstr "Definir o título do terminal"
2154
2155 #~ msgid "TITLE"
2156 #~ msgstr "TÍTULO"
21572322
21582323 #~ msgid "COMMAND"
21592324 #~ msgstr "COMANDO"
22082373 #~ "literais (que não exprimam um intervalo) deverão ser o primeiro caracter "
22092374 #~ "indicado."
22102375
2211 #~ msgid "Whether to use custom terminal size for new windows"
2212 #~ msgstr ""
2213 #~ "Se utilizar ou não o tamanho personalizado de terminal para as novas "
2214 #~ "janelas"
2215
22162376 #~ msgid ""
22172377 #~ "If true, newly created terminal windows will have custom size specified "
22182378 #~ "by default_size_columns and default_size_rows."
30433203
30443204 #~ msgid "<small><i>Maximum</i></small>"
30453205 #~ msgstr "<small><i>Máximo</i></small>"
3046
3047 #~ msgid "Background"
3048 #~ msgstr "Fundo"
30493206
30503207 #~ msgid ""
30513208 #~ "On the left side\n"
309309 #: ../src/org.gnome.Terminal.gschema.xml.h:2
310310 msgctxt "visible-name"
311311 msgid "'Unnamed'"
312 msgstr "\"Sem nome\""
312 msgstr "'Sem nome'"
313313
314314 #: ../src/org.gnome.Terminal.gschema.xml.h:3
315315 msgid "Human-readable name of the profile"
1414 # Terminal server
1515
1616 dbusservice_DATA = org.gnome.Terminal.service
17
18 # It is correct for this to be in ${prefix}/lib, even on systems where that
19 # does not match ${libdir}. This is what systemd uses on such platforms.
20 systemduserdir = $(prefix)/lib/systemd/user
21 nodist_systemduser_DATA = gnome-terminal-server.service
1722
1823 gnome_terminal_server_built = \
1924 terminal-marshal.c \
139144 org.gnome.Terminal.service: Makefile
140145 $(AM_V_GEN) ( echo "[D-BUS Service]"; \
141146 echo "Name=org.gnome.Terminal"; \
147 echo "SystemdService=gnome-terminal-server.service"; \
142148 echo "Exec=${libexecdir}/gnome-terminal-server") > $@
149
150 gnome-terminal-server.service: Makefile
151 $(AM_V_GEN) ( echo "[Unit]"; \
152 echo "Description=GNOME Terminal Server"; \
153 echo "[Service]"; \
154 echo "KillMode=process"; \
155 echo "Type=dbus"; \
156 echo "BusName=org.gnome.Terminal"; \
157 echo "ExecStart=${libexecdir}/gnome-terminal-server") > $@
143158
144159 terminal-gdbus-generated.c terminal-gdbus-generated.h: org.gnome.Terminal.xml Makefile
145160 $(AM_V_GEN) $(GDBUS_CODEGEN) \
395410 gnome-terminal.schemas \
396411 stamp-terminal-type-builtins.h \
397412 org.gnome.Terminal.service \
413 gnome-terminal-server.service \
398414 $(BUILT_SOURCES)
399415
400416 EXTRA_DIST = \
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
1616
1717
1818 VPATH = @srcdir@
19 am__is_gnu_make = { \
20 if test -z '$(MAKELEVEL)'; then \
21 false; \
22 elif test -n '$(MAKE_HOST)'; then \
23 true; \
24 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25 true; \
26 else \
27 false; \
28 fi; \
29 }
19 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
3020 am__make_running_with_option = \
3121 case $${target_option-} in \
3222 ?) ;; \
111101 @ENABLE_SEARCH_PROVIDER_TRUE@ $(NULL)
112102
113103 subdir = src
104 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
105 $(srcdir)/terminal-version.h.in gterminal.c \
106 $(top_srcdir)/depcomp $(srcdir)/gterminal_vala.stamp \
107 $(am__dist_searchprovider_DATA_DIST) $(top_srcdir)/test-driver
114108 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
115 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
116 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
117 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
118 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
109 am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
110 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
111 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
112 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
113 $(top_srcdir)/configure.ac
119114 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
120115 $(ACLOCAL_M4)
121 DIST_COMMON = $(srcdir)/Makefile.am \
122 $(am__dist_searchprovider_DATA_DIST) $(am__DIST_COMMON)
123116 mkinstalldirs = $(install_sh) -d
124117 CONFIG_HEADER = $(top_builddir)/config.h
125118 CONFIG_CLEAN_FILES = terminal-version.h
153146 }
154147 am__installdirs = "$(DESTDIR)$(nautilusextensiondir)" \
155148 "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
156 "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(searchproviderdir)"
149 "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(searchproviderdir)" \
150 "$(DESTDIR)$(systemduserdir)"
157151 LTLIBRARIES = $(nautilusextension_LTLIBRARIES)
158152 am__DEPENDENCIES_1 =
159153 libterminal_nautilus_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
378372 esac
379373 am__dist_searchprovider_DATA_DIST = \
380374 gnome-terminal-search-provider.ini
381 DATA = $(dbusservice_DATA) $(dist_searchprovider_DATA)
375 DATA = $(dbusservice_DATA) $(dist_searchprovider_DATA) \
376 $(nodist_systemduser_DATA)
382377 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
383378 # Read a list of newline-separated strings from the standard input,
384379 # and print each of them once, without duplicates. Input order is
576571 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
577572 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
578573 $(TEST_LOG_FLAGS)
579 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gterminal_vala.stamp \
580 $(srcdir)/terminal-version.h.in $(top_srcdir)/depcomp \
581 $(top_srcdir)/test-driver gterminal.c
582574 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
583575 ACLOCAL = @ACLOCAL@
584576 ALL_LINGUAS = @ALL_LINGUAS@
651643 LIPO = @LIPO@
652644 LN_S = @LN_S@
653645 LTLIBOBJS = @LTLIBOBJS@
654 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
655646 MAINT = @MAINT@
656647 MAKEINFO = @MAKEINFO@
657648 MANIFEST_TOOL = @MANIFEST_TOOL@
770761
771762 # Terminal server
772763 dbusservice_DATA = org.gnome.Terminal.service
764
765 # It is correct for this to be in ${prefix}/lib, even on systems where that
766 # does not match ${libdir}. This is what systemd uses on such platforms.
767 systemduserdir = $(prefix)/lib/systemd/user
768 nodist_systemduser_DATA = gnome-terminal-server.service
773769 gnome_terminal_server_built = terminal-marshal.c terminal-marshal.h \
774770 terminal-type-builtins.c terminal-type-builtins.h \
775771 terminal-gdbus-generated.c terminal-gdbus-generated.h \
10281024 gnome-terminal.schemas \
10291025 stamp-terminal-type-builtins.h \
10301026 org.gnome.Terminal.service \
1027 gnome-terminal-server.service \
10311028 $(BUILT_SOURCES)
10321029
10331030 EXTRA_DIST = \
10681065 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
10691066 $(am__cd) $(top_srcdir) && \
10701067 $(AUTOMAKE) --foreign src/Makefile
1068 .PRECIOUS: Makefile
10711069 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
10721070 @case '$?' in \
10731071 *config.status*) \
13291327 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
13301328 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13311329 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1332 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1330 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
13331331
13341332 .c.obj:
13351333 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
13361334 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
13371335 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13381336 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1339 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1337 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
13401338
13411339 .c.lo:
13421340 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
21362134 @list='$(dist_searchprovider_DATA)'; test -n "$(searchproviderdir)" || list=; \
21372135 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
21382136 dir='$(DESTDIR)$(searchproviderdir)'; $(am__uninstall_files_from_dir)
2137 install-nodist_systemduserDATA: $(nodist_systemduser_DATA)
2138 @$(NORMAL_INSTALL)
2139 @list='$(nodist_systemduser_DATA)'; test -n "$(systemduserdir)" || list=; \
2140 if test -n "$$list"; then \
2141 echo " $(MKDIR_P) '$(DESTDIR)$(systemduserdir)'"; \
2142 $(MKDIR_P) "$(DESTDIR)$(systemduserdir)" || exit 1; \
2143 fi; \
2144 for p in $$list; do \
2145 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
2146 echo "$$d$$p"; \
2147 done | $(am__base_list) | \
2148 while read files; do \
2149 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(systemduserdir)'"; \
2150 $(INSTALL_DATA) $$files "$(DESTDIR)$(systemduserdir)" || exit $$?; \
2151 done
2152
2153 uninstall-nodist_systemduserDATA:
2154 @$(NORMAL_UNINSTALL)
2155 @list='$(nodist_systemduser_DATA)'; test -n "$(systemduserdir)" || list=; \
2156 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
2157 dir='$(DESTDIR)$(systemduserdir)'; $(am__uninstall_files_from_dir)
21392158
21402159 ID: $(am__tagged_files)
21412160 $(am__define_uniq_tagged_files); mkid -fID $$unique
22192238 if test -n "$$am__remaking_logs"; then \
22202239 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
22212240 "recursion detected" >&2; \
2222 elif test -n "$$redo_logs"; then \
2241 else \
22232242 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
22242243 fi; \
22252244 if $(am__make_dryrun); then :; else \
23892408 $(MAKE) $(AM_MAKEFLAGS) check-am
23902409 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA)
23912410 installdirs:
2392 for dir in "$(DESTDIR)$(nautilusextensiondir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(searchproviderdir)"; do \
2411 for dir in "$(DESTDIR)$(nautilusextensiondir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(searchproviderdir)" "$(DESTDIR)$(systemduserdir)"; do \
23932412 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
23942413 done
23952414 install: $(BUILT_SOURCES)
24582477
24592478 install-data-am: install-dbusserviceDATA \
24602479 install-dist_searchproviderDATA \
2461 install-nautilusextensionLTLIBRARIES
2480 install-nautilusextensionLTLIBRARIES \
2481 install-nodist_systemduserDATA
24622482
24632483 install-dvi: install-dvi-am
24642484
25062526
25072527 uninstall-am: uninstall-binPROGRAMS uninstall-dbusserviceDATA \
25082528 uninstall-dist_searchproviderDATA uninstall-libexecPROGRAMS \
2509 uninstall-nautilusextensionLTLIBRARIES
2529 uninstall-nautilusextensionLTLIBRARIES \
2530 uninstall-nodist_systemduserDATA
25102531
25112532 .MAKE: all check check-am install install-am install-strip
25122533
25222543 install-dvi install-dvi-am install-exec install-exec-am \
25232544 install-html install-html-am install-info install-info-am \
25242545 install-libexecPROGRAMS install-man \
2525 install-nautilusextensionLTLIBRARIES install-pdf \
2526 install-pdf-am install-ps install-ps-am install-strip \
2527 installcheck installcheck-am installdirs maintainer-clean \
2546 install-nautilusextensionLTLIBRARIES \
2547 install-nodist_systemduserDATA install-pdf install-pdf-am \
2548 install-ps install-ps-am install-strip installcheck \
2549 installcheck-am installdirs maintainer-clean \
25282550 maintainer-clean-generic mostlyclean mostlyclean-compile \
25292551 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
25302552 recheck tags tags-am uninstall uninstall-am \
25312553 uninstall-binPROGRAMS uninstall-dbusserviceDATA \
25322554 uninstall-dist_searchproviderDATA uninstall-libexecPROGRAMS \
2533 uninstall-nautilusextensionLTLIBRARIES
2534
2535 .PRECIOUS: Makefile
2555 uninstall-nautilusextensionLTLIBRARIES \
2556 uninstall-nodist_systemduserDATA
25362557
25372558
25382559 terminal-type-builtins.h: stamp-terminal-type-builtins.h
25672588 org.gnome.Terminal.service: Makefile
25682589 $(AM_V_GEN) ( echo "[D-BUS Service]"; \
25692590 echo "Name=org.gnome.Terminal"; \
2591 echo "SystemdService=gnome-terminal-server.service"; \
25702592 echo "Exec=${libexecdir}/gnome-terminal-server") > $@
2593
2594 gnome-terminal-server.service: Makefile
2595 $(AM_V_GEN) ( echo "[Unit]"; \
2596 echo "Description=GNOME Terminal Server"; \
2597 echo "[Service]"; \
2598 echo "KillMode=process"; \
2599 echo "Type=dbus"; \
2600 echo "BusName=org.gnome.Terminal"; \
2601 echo "ExecStart=${libexecdir}/gnome-terminal-server") > $@
25712602
25722603 terminal-gdbus-generated.c terminal-gdbus-generated.h: org.gnome.Terminal.xml Makefile
25732604 $(AM_V_GEN) $(GDBUS_CODEGEN) \
0 /* gterminal.c generated by valac 0.30.0, the Vala compiler
0 /* gterminal.c generated by valac 0.30.0.3-b11d, the Vala compiler
11 * generated from gterminal.vala, do not modify */
22
33 /*
232232 GFile *file;
233233 char **argv;
234234 int argc;
235 char *host_name, *path, *user_name, *unescaped_path, *quoted_path;
235 char *host_name, *path, *user_name, *quoted_path;
236236 guint host_port;
237237
238238 g_assert (uri != NULL);
260260 }
261261
262262 /* FIXME to we have to consider the remote file encoding? */
263 unescaped_path = g_uri_unescape_string (path, NULL);
264 quoted_path = g_shell_quote (unescaped_path);
263 quoted_path = g_shell_quote (path);
265264
266265 if (run_in_mc) {
267266 argv[argc++] = g_strdup_printf ("cd %s && exec %s", quoted_path, "mc");
271270 }
272271
273272 g_free (path);
274 g_free (unescaped_path);
275273 g_free (quoted_path);
276274
277275 *argcp = argc;
2323
2424 #define TERMINAL_MAJOR_VERSION (3)
2525 #define TERMINAL_MINOR_VERSION (20)
26 #define TERMINAL_MICRO_VERSION (1)
26 #define TERMINAL_MICRO_VERSION (2)
2727
2828 #define TERMINAL_CHECK_VERSION(major,minor,micro) \
2929 (TERMINAL_MAJOR_VERSION > (major) || \
9090 /* Workaround until gtk+ bug #535557 is fixed */
9191 guint icon_title_set : 1;
9292 };
93
94 #define TERMINAL_WINDOW_CSS_NAME "terminal-window"
9395
9496 #define PROFILE_DATA_KEY "GT::Profile"
9597
22312233 gtk_widget_set_halign (menu, GTK_ALIGN_END);
22322234
22332235 button = gtk_menu_button_new ();
2234 gtk_button_set_relief (GTK_BUTTON (button), FALSE);
2236 gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
22352237 gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
22362238 gtk_menu_button_set_popup (GTK_MENU_BUTTON (button), menu);
22372239
28282830 g_type_class_add_private (object_class, sizeof (TerminalWindowPrivate));
28292831
28302832 gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/terminal/ui/window.ui");
2833
2834 #if GTK_CHECK_VERSION(3, 19, 5)
2835 gtk_widget_class_set_css_name(widget_class, TERMINAL_WINDOW_CSS_NAME);
2836 #else
2837 if (gtk_check_version(3, 19, 5) == NULL)
2838 g_printerr("gnome-terminal needs to be recompiled against a newer gtk+ version.\n");
2839 #endif
28312840 }
28322841
28332842 static void
00 #! /bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2013-07-13.22; # UTC
3 scriptversion=2012-06-27.10; # UTC
44
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2013 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
4343 Usage:
4444 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
4545 [--expect-failure={yes|no}] [--color-tests={yes|no}]
46 [--enable-hard-errors={yes|no}] [--]
47 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
46 [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
4847 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
4948 END
5049 }
5150
51 # TODO: better error handling in option parsing (in particular, ensure
52 # TODO: $log_file, $trs_file and $test_name are defined).
5253 test_name= # Used for reporting.
5354 log_file= # Where to save the output of the test script.
5455 trs_file= # Where to save the metadata of the test run.
6768 --enable-hard-errors) enable_hard_errors=$2; shift;;
6869 --) shift; break;;
6970 -*) usage_error "invalid option: '$1'";;
70 *) break;;
7171 esac
7272 shift
7373 done
74
75 missing_opts=
76 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
77 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
78 test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
79 if test x"$missing_opts" != x; then
80 usage_error "the following mandatory options are missing:$missing_opts"
81 fi
82
83 if test $# -eq 0; then
84 usage_error "missing argument"
85 fi
8674
8775 if test $color_tests = yes; then
8876 # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
10593 # Test script is run here.
10694 "$@" >$log_file 2>&1
10795 estatus=$?
108
10996 if test $enable_hard_errors = no && test $estatus -eq 99; then
110 tweaked_estatus=1
111 else
112 tweaked_estatus=$estatus
97 estatus=1
11398 fi
11499
115 case $tweaked_estatus:$expect_failure in
100 case $estatus:$expect_failure in
116101 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
117102 0:*) col=$grn res=PASS recheck=no gcopy=no;;
118103 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
120105 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
121106 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
122107 esac
123
124 # Report the test outcome and exit status in the logs, so that one can
125 # know whether the test passed or failed simply by looking at the '.log'
126 # file, without the need of also peaking into the corresponding '.trs'
127 # file (automake bug#11814).
128 echo "$res $test_name (exit status: $estatus)" >>$log_file
129108
130109 # Report outcome to console.
131110 echo "${col}${res}${std}: $test_name"