Merge lp:~noskcaj/ubuntu/vivid/caribou/0.4.17 into lp:ubuntu/vivid/caribou

Proposed by Jackson Doak
Status: Needs review
Proposed branch: lp:~noskcaj/ubuntu/vivid/caribou/0.4.17
Merge into: lp:ubuntu/vivid/caribou
Diff against target: 25384 lines (+8774/-4958)
95 files modified
Makefile.in (+4/-0)
NEWS (+22/-0)
aclocal.m4 (+216/-217)
bin/Makefile.in (+4/-0)
bin/antler-keyboard.in (+1/-3)
caribou/Makefile.in (+4/-0)
caribou/antler/Makefile.in (+4/-0)
caribou/antler/__init__.py (+1/-1)
caribou/antler/keyboard_view.py (+12/-7)
caribou/antler/main.py (+44/-7)
caribou/antler/window.py (+1/-3)
caribou/settings/Makefile.in (+4/-0)
caribou/settings/__init__.py (+1/-1)
caribou/settings/setting_types.py (+1/-1)
config.sub (+7/-3)
configure (+1267/-864)
configure.ac (+16/-1)
daemon/Makefile.am (+0/-3)
daemon/Makefile.in (+4/-3)
daemon/daemon.c (+97/-130)
daemon/daemon.vala (+19/-21)
data/Makefile.in (+4/-0)
data/antler/Makefile.in (+4/-0)
data/layouts/Makefile.in (+4/-0)
data/layouts/fullscale/Makefile.in (+4/-0)
data/layouts/fullscale/common/qwerty.xml (+2/-2)
data/layouts/fullscale/common/symbols.xml (+2/-2)
data/layouts/scan/Makefile.in (+4/-0)
data/layouts/touch/Makefile.am (+2/-0)
data/layouts/touch/Makefile.in (+6/-0)
data/layouts/touch/common/azerty.xml (+175/-0)
data/layouts/touch/fr.xml.in (+8/-0)
debian/changelog (+7/-0)
debian/control (+2/-1)
debian/control.in (+2/-1)
debian/libcaribou0.symbols (+2/-0)
docs/Makefile.in (+4/-0)
libcaribou/Makefile.am (+1/-0)
libcaribou/Makefile.in (+5/-0)
libcaribou/_Caribou-1.0.gir (+489/-35)
libcaribou/caribou-1.0.vapi (+3/-2)
libcaribou/caribou-internals-1.0.vapi (+4/-2)
libcaribou/caribou-internals.h (+4/-1)
libcaribou/caribou.h (+3/-1)
libcaribou/column-model.c (+1/-1)
libcaribou/display-adapter.c (+1/-1)
libcaribou/group-model.c (+1/-1)
libcaribou/ikeyboard-object.c (+1/-1)
libcaribou/iscannable-group.c (+1/-1)
libcaribou/iscannable-item.c (+1/-1)
libcaribou/key-model.c (+94/-12)
libcaribou/key-model.vala (+34/-7)
libcaribou/keyboard-model.c (+96/-21)
libcaribou/keyboard-model.vala (+23/-7)
libcaribou/keyboard-service.c (+1/-1)
libcaribou/level-model.c (+1/-1)
libcaribou/libcaribou.symbols (+2/-0)
libcaribou/row-model.c (+1/-1)
libcaribou/scannable-group.c (+4/-1)
libcaribou/scanner.c (+1/-1)
libcaribou/xadapter.c (+1/-1)
libcaribou/xml-deserializer.c (+327/-201)
libcaribou/xml-deserializer.vala (+29/-7)
ltmain.sh (+3569/-2090)
m4/libtool.m4 (+1457/-1090)
m4/ltoptions.m4 (+90/-37)
m4/ltsugar.m4 (+4/-3)
m4/ltversion.m4 (+6/-6)
m4/lt~obsolete.m4 (+4/-3)
modules/Makefile.in (+4/-0)
modules/gtk2/Makefile.in (+4/-0)
modules/gtk2/caribou-gtk-module.c (+1/-1)
modules/gtk2/caribou-gtk-module.h (+1/-1)
modules/gtk3/Makefile.in (+4/-0)
modules/gtk3/caribou-gtk-module.c (+1/-1)
modules/gtk3/caribou-gtk-module.h (+1/-1)
po/LINGUAS (+1/-0)
po/cs.po (+4/-4)
po/de.po (+5/-5)
po/es.po (+10/-10)
po/fr.po (+6/-5)
po/hu.po (+11/-8)
po/id.po (+6/-8)
po/lt.po (+7/-6)
po/nb.po (+7/-7)
po/ne.po (+272/-0)
po/pa.po (+28/-34)
po/pl.po (+11/-13)
po/sk.po (+10/-3)
po/sl.po (+5/-7)
po/tr.po (+34/-36)
tools/Makefile.am (+1/-0)
tools/Makefile.in (+5/-0)
tools/convert_cldr.py (+111/-0)
vapi/Makefile.in (+4/-0)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/vivid/caribou/0.4.17
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+249882@code.launchpad.net

Description of the change

New upstream release

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Unmerged revisions

20. By Jackson Doak

Add new symbols

19. By Jackson Doak

New upstream release 0.4.17

18. By Jackson Doak

Add new symbol

17. By Jackson Doak

New upstream release.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile.in'
--- Makefile.in 2014-09-24 12:25:21 +0000
+++ Makefile.in 2015-02-16 20:09:11 +0000
@@ -276,6 +276,10 @@
276LIPO = @LIPO@276LIPO = @LIPO@
277LN_S = @LN_S@277LN_S = @LN_S@
278LTLIBOBJS = @LTLIBOBJS@278LTLIBOBJS = @LTLIBOBJS@
279LT_AGE = @LT_AGE@
280LT_CURRENT = @LT_CURRENT@
281LT_REVISION = @LT_REVISION@
282LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
279MAINT = @MAINT@283MAINT = @MAINT@
280MAKEINFO = @MAKEINFO@284MAKEINFO = @MAKEINFO@
281MANIFEST_TOOL = @MANIFEST_TOOL@285MANIFEST_TOOL = @MANIFEST_TOOL@
282286
=== modified file 'NEWS'
--- NEWS 2014-09-24 12:25:21 +0000
+++ NEWS 2015-02-16 20:09:11 +0000
@@ -1,4 +1,26 @@
1=============1=============
2Version 0.4.17
3=============
4- Bundle tools to generate and manipulate keyboard layout files.
5 See https://wiki.gnome.org/Projects/Caribou/NewLayout for details
6- Bug 691811 - Add support for azerty layout as seen in french
7- Bug 743267 - Caribou does 100-130 syscalls for each keypress
8- Bug 743880 - String that is hard to understand
9- Translation updates (Turkish, Czech, Polish, German, Lithuanian,
10 Hungarian, Spanish, Norwegian bokmål, French, Indonesian, Slovenian)
11
12=============
13Version 0.4.16
14=============
15- Stop using deprecated accessibility events ("focus:*")
16- Bug 739837 - Allow label overwrite in keyboard layout
17- Bug 739716 - Add more keys to label_map
18- Bug 739711 - Escape key does not work in us layout.
19- Bug 739526 - Some buttons do not have a label.
20- Bug 722634 - [regression] build failure: ImportError: No module named 'caribou_settings'
21- Translation updates (Punjabi, Nepali, Slovak)
22
23=============
2Version 0.4.1524Version 0.4.15
3=============25=============
4- Fix race condition when invoking OSK through D-Bus (see comment in26- Fix race condition when invoking OSK through D-Bus (see comment in
527
=== modified file 'aclocal.m4'
--- aclocal.m4 2014-09-03 17:53:54 +0000
+++ aclocal.m4 2015-02-16 20:09:11 +0000
@@ -53,221 +53,6 @@
53 AC_SUBST([USE_NLS])53 AC_SUBST([USE_NLS])
54])54])
5555
56# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
57# serial 1 (pkg-config-0.24)
58#
59# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
60#
61# This program is free software; you can redistribute it and/or modify
62# it under the terms of the GNU General Public License as published by
63# the Free Software Foundation; either version 2 of the License, or
64# (at your option) any later version.
65#
66# This program is distributed in the hope that it will be useful, but
67# WITHOUT ANY WARRANTY; without even the implied warranty of
68# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
69# General Public License for more details.
70#
71# You should have received a copy of the GNU General Public License
72# along with this program; if not, write to the Free Software
73# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
74#
75# As a special exception to the GNU General Public License, if you
76# distribute this file as part of a program that contains a
77# configuration script generated by Autoconf, you may include it under
78# the same distribution terms that you use for the rest of that program.
79
80# PKG_PROG_PKG_CONFIG([MIN-VERSION])
81# ----------------------------------
82AC_DEFUN([PKG_PROG_PKG_CONFIG],
83[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
84m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
85m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
86AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
87AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
88AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
89
90if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
91 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
92fi
93if test -n "$PKG_CONFIG"; then
94 _pkg_min_version=m4_default([$1], [0.9.0])
95 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
96 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
97 AC_MSG_RESULT([yes])
98 else
99 AC_MSG_RESULT([no])
100 PKG_CONFIG=""
101 fi
102fi[]dnl
103])# PKG_PROG_PKG_CONFIG
104
105# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
106#
107# Check to see whether a particular set of modules exists. Similar
108# to PKG_CHECK_MODULES(), but does not set variables or print errors.
109#
110# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
111# only at the first occurence in configure.ac, so if the first place
112# it's called might be skipped (such as if it is within an "if", you
113# have to call PKG_CHECK_EXISTS manually
114# --------------------------------------------------------------
115AC_DEFUN([PKG_CHECK_EXISTS],
116[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
117if test -n "$PKG_CONFIG" && \
118 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
119 m4_default([$2], [:])
120m4_ifvaln([$3], [else
121 $3])dnl
122fi])
123
124# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
125# ---------------------------------------------
126m4_define([_PKG_CONFIG],
127[if test -n "$$1"; then
128 pkg_cv_[]$1="$$1"
129 elif test -n "$PKG_CONFIG"; then
130 PKG_CHECK_EXISTS([$3],
131 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
132 test "x$?" != "x0" && pkg_failed=yes ],
133 [pkg_failed=yes])
134 else
135 pkg_failed=untried
136fi[]dnl
137])# _PKG_CONFIG
138
139# _PKG_SHORT_ERRORS_SUPPORTED
140# -----------------------------
141AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
142[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
143if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
144 _pkg_short_errors_supported=yes
145else
146 _pkg_short_errors_supported=no
147fi[]dnl
148])# _PKG_SHORT_ERRORS_SUPPORTED
149
150
151# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
152# [ACTION-IF-NOT-FOUND])
153#
154#
155# Note that if there is a possibility the first call to
156# PKG_CHECK_MODULES might not happen, you should be sure to include an
157# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
158#
159#
160# --------------------------------------------------------------
161AC_DEFUN([PKG_CHECK_MODULES],
162[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
163AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
164AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
165
166pkg_failed=no
167AC_MSG_CHECKING([for $1])
168
169_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
170_PKG_CONFIG([$1][_LIBS], [libs], [$2])
171
172m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
173and $1[]_LIBS to avoid the need to call pkg-config.
174See the pkg-config man page for more details.])
175
176if test $pkg_failed = yes; then
177 AC_MSG_RESULT([no])
178 _PKG_SHORT_ERRORS_SUPPORTED
179 if test $_pkg_short_errors_supported = yes; then
180 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
181 else
182 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
183 fi
184 # Put the nasty error message in config.log where it belongs
185 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
186
187 m4_default([$4], [AC_MSG_ERROR(
188[Package requirements ($2) were not met:
189
190$$1_PKG_ERRORS
191
192Consider adjusting the PKG_CONFIG_PATH environment variable if you
193installed software in a non-standard prefix.
194
195_PKG_TEXT])[]dnl
196 ])
197elif test $pkg_failed = untried; then
198 AC_MSG_RESULT([no])
199 m4_default([$4], [AC_MSG_FAILURE(
200[The pkg-config script could not be found or is too old. Make sure it
201is in your PATH or set the PKG_CONFIG environment variable to the full
202path to pkg-config.
203
204_PKG_TEXT
205
206To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
207 ])
208else
209 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
210 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
211 AC_MSG_RESULT([yes])
212 $3
213fi[]dnl
214])# PKG_CHECK_MODULES
215
216
217# PKG_INSTALLDIR(DIRECTORY)
218# -------------------------
219# Substitutes the variable pkgconfigdir as the location where a module
220# should install pkg-config .pc files. By default the directory is
221# $libdir/pkgconfig, but the default can be changed by passing
222# DIRECTORY. The user can override through the --with-pkgconfigdir
223# parameter.
224AC_DEFUN([PKG_INSTALLDIR],
225[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
226m4_pushdef([pkg_description],
227 [pkg-config installation directory @<:@]pkg_default[@:>@])
228AC_ARG_WITH([pkgconfigdir],
229 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
230 [with_pkgconfigdir=]pkg_default)
231AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
232m4_popdef([pkg_default])
233m4_popdef([pkg_description])
234]) dnl PKG_INSTALLDIR
235
236
237# PKG_NOARCH_INSTALLDIR(DIRECTORY)
238# -------------------------
239# Substitutes the variable noarch_pkgconfigdir as the location where a
240# module should install arch-independent pkg-config .pc files. By
241# default the directory is $datadir/pkgconfig, but the default can be
242# changed by passing DIRECTORY. The user can override through the
243# --with-noarch-pkgconfigdir parameter.
244AC_DEFUN([PKG_NOARCH_INSTALLDIR],
245[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
246m4_pushdef([pkg_description],
247 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
248AC_ARG_WITH([noarch-pkgconfigdir],
249 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
250 [with_noarch_pkgconfigdir=]pkg_default)
251AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
252m4_popdef([pkg_default])
253m4_popdef([pkg_description])
254]) dnl PKG_NOARCH_INSTALLDIR
255
256
257# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
258# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
259# -------------------------------------------
260# Retrieves the value of the pkg-config variable for the given module.
261AC_DEFUN([PKG_CHECK_VAR],
262[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
263AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
264
265_PKG_CONFIG([$1], [variable="][$3]["], [$2])
266AS_VAR_COPY([$1], [pkg_cv_][$1])
267
268AS_VAR_IF([$1], [""], [$5], [$4])dnl
269])# PKG_CHECK_VAR
270
271# Configure paths for GLIB56# Configure paths for GLIB
272# Owen Taylor 1997-200157# Owen Taylor 1997-2001
27358
@@ -1097,6 +882,221 @@
1097 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])882 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
1098])883])
1099884
885# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
886# serial 1 (pkg-config-0.24)
887#
888# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
889#
890# This program is free software; you can redistribute it and/or modify
891# it under the terms of the GNU General Public License as published by
892# the Free Software Foundation; either version 2 of the License, or
893# (at your option) any later version.
894#
895# This program is distributed in the hope that it will be useful, but
896# WITHOUT ANY WARRANTY; without even the implied warranty of
897# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
898# General Public License for more details.
899#
900# You should have received a copy of the GNU General Public License
901# along with this program; if not, write to the Free Software
902# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
903#
904# As a special exception to the GNU General Public License, if you
905# distribute this file as part of a program that contains a
906# configuration script generated by Autoconf, you may include it under
907# the same distribution terms that you use for the rest of that program.
908
909# PKG_PROG_PKG_CONFIG([MIN-VERSION])
910# ----------------------------------
911AC_DEFUN([PKG_PROG_PKG_CONFIG],
912[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
913m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
914m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
915AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
916AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
917AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
918
919if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
920 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
921fi
922if test -n "$PKG_CONFIG"; then
923 _pkg_min_version=m4_default([$1], [0.9.0])
924 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
925 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
926 AC_MSG_RESULT([yes])
927 else
928 AC_MSG_RESULT([no])
929 PKG_CONFIG=""
930 fi
931fi[]dnl
932])# PKG_PROG_PKG_CONFIG
933
934# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
935#
936# Check to see whether a particular set of modules exists. Similar
937# to PKG_CHECK_MODULES(), but does not set variables or print errors.
938#
939# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
940# only at the first occurence in configure.ac, so if the first place
941# it's called might be skipped (such as if it is within an "if", you
942# have to call PKG_CHECK_EXISTS manually
943# --------------------------------------------------------------
944AC_DEFUN([PKG_CHECK_EXISTS],
945[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
946if test -n "$PKG_CONFIG" && \
947 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
948 m4_default([$2], [:])
949m4_ifvaln([$3], [else
950 $3])dnl
951fi])
952
953# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
954# ---------------------------------------------
955m4_define([_PKG_CONFIG],
956[if test -n "$$1"; then
957 pkg_cv_[]$1="$$1"
958 elif test -n "$PKG_CONFIG"; then
959 PKG_CHECK_EXISTS([$3],
960 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
961 test "x$?" != "x0" && pkg_failed=yes ],
962 [pkg_failed=yes])
963 else
964 pkg_failed=untried
965fi[]dnl
966])# _PKG_CONFIG
967
968# _PKG_SHORT_ERRORS_SUPPORTED
969# -----------------------------
970AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
971[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
972if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
973 _pkg_short_errors_supported=yes
974else
975 _pkg_short_errors_supported=no
976fi[]dnl
977])# _PKG_SHORT_ERRORS_SUPPORTED
978
979
980# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
981# [ACTION-IF-NOT-FOUND])
982#
983#
984# Note that if there is a possibility the first call to
985# PKG_CHECK_MODULES might not happen, you should be sure to include an
986# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
987#
988#
989# --------------------------------------------------------------
990AC_DEFUN([PKG_CHECK_MODULES],
991[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
992AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
993AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
994
995pkg_failed=no
996AC_MSG_CHECKING([for $1])
997
998_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
999_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1000
1001m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1002and $1[]_LIBS to avoid the need to call pkg-config.
1003See the pkg-config man page for more details.])
1004
1005if test $pkg_failed = yes; then
1006 AC_MSG_RESULT([no])
1007 _PKG_SHORT_ERRORS_SUPPORTED
1008 if test $_pkg_short_errors_supported = yes; then
1009 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
1010 else
1011 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
1012 fi
1013 # Put the nasty error message in config.log where it belongs
1014 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1015
1016 m4_default([$4], [AC_MSG_ERROR(
1017[Package requirements ($2) were not met:
1018
1019$$1_PKG_ERRORS
1020
1021Consider adjusting the PKG_CONFIG_PATH environment variable if you
1022installed software in a non-standard prefix.
1023
1024_PKG_TEXT])[]dnl
1025 ])
1026elif test $pkg_failed = untried; then
1027 AC_MSG_RESULT([no])
1028 m4_default([$4], [AC_MSG_FAILURE(
1029[The pkg-config script could not be found or is too old. Make sure it
1030is in your PATH or set the PKG_CONFIG environment variable to the full
1031path to pkg-config.
1032
1033_PKG_TEXT
1034
1035To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
1036 ])
1037else
1038 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1039 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1040 AC_MSG_RESULT([yes])
1041 $3
1042fi[]dnl
1043])# PKG_CHECK_MODULES
1044
1045
1046# PKG_INSTALLDIR(DIRECTORY)
1047# -------------------------
1048# Substitutes the variable pkgconfigdir as the location where a module
1049# should install pkg-config .pc files. By default the directory is
1050# $libdir/pkgconfig, but the default can be changed by passing
1051# DIRECTORY. The user can override through the --with-pkgconfigdir
1052# parameter.
1053AC_DEFUN([PKG_INSTALLDIR],
1054[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
1055m4_pushdef([pkg_description],
1056 [pkg-config installation directory @<:@]pkg_default[@:>@])
1057AC_ARG_WITH([pkgconfigdir],
1058 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
1059 [with_pkgconfigdir=]pkg_default)
1060AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
1061m4_popdef([pkg_default])
1062m4_popdef([pkg_description])
1063]) dnl PKG_INSTALLDIR
1064
1065
1066# PKG_NOARCH_INSTALLDIR(DIRECTORY)
1067# -------------------------
1068# Substitutes the variable noarch_pkgconfigdir as the location where a
1069# module should install arch-independent pkg-config .pc files. By
1070# default the directory is $datadir/pkgconfig, but the default can be
1071# changed by passing DIRECTORY. The user can override through the
1072# --with-noarch-pkgconfigdir parameter.
1073AC_DEFUN([PKG_NOARCH_INSTALLDIR],
1074[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
1075m4_pushdef([pkg_description],
1076 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
1077AC_ARG_WITH([noarch-pkgconfigdir],
1078 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
1079 [with_noarch_pkgconfigdir=]pkg_default)
1080AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
1081m4_popdef([pkg_default])
1082m4_popdef([pkg_description])
1083]) dnl PKG_NOARCH_INSTALLDIR
1084
1085
1086# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
1087# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1088# -------------------------------------------
1089# Retrieves the value of the pkg-config variable for the given module.
1090AC_DEFUN([PKG_CHECK_VAR],
1091[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1092AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
1093
1094_PKG_CONFIG([$1], [variable="][$3]["], [$2])
1095AS_VAR_COPY([$1], [pkg_cv_][$1])
1096
1097AS_VAR_IF([$1], [""], [$5], [$4])dnl
1098])# PKG_CHECK_VAR
1099
1100# Copyright (C) 2002-2013 Free Software Foundation, Inc.1100# Copyright (C) 2002-2013 Free Software Foundation, Inc.
1101#1101#
1102# This file is free software; the Free Software Foundation1102# This file is free software; the Free Software Foundation
@@ -1650,8 +1650,7 @@
1650END1650END
1651 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])1651 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1652 fi1652 fi
1653fi1653fi])
1654])
16551654
1656dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not1655dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1657dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further1656dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
16581657
=== modified file 'bin/Makefile.in'
--- bin/Makefile.in 2014-09-03 17:53:54 +0000
+++ bin/Makefile.in 2015-02-16 20:09:11 +0000
@@ -223,6 +223,10 @@
223LIPO = @LIPO@223LIPO = @LIPO@
224LN_S = @LN_S@224LN_S = @LN_S@
225LTLIBOBJS = @LTLIBOBJS@225LTLIBOBJS = @LTLIBOBJS@
226LT_AGE = @LT_AGE@
227LT_CURRENT = @LT_CURRENT@
228LT_REVISION = @LT_REVISION@
229LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
226MAINT = @MAINT@230MAINT = @MAINT@
227MAKEINFO = @MAKEINFO@231MAKEINFO = @MAKEINFO@
228MANIFEST_TOOL = @MANIFEST_TOOL@232MANIFEST_TOOL = @MANIFEST_TOOL@
229233
=== modified file 'bin/antler-keyboard.in'
--- bin/antler-keyboard.in 2013-03-06 18:31:12 +0000
+++ bin/antler-keyboard.in 2015-02-16 20:09:11 +0000
@@ -38,6 +38,4 @@
38 export ANTLER_THEME_PATH="$(dirname $script_dir)/data"38 export ANTLER_THEME_PATH="$(dirname $script_dir)/data"
39fi39fi
4040
41@PYTHON@ -c "41@PYTHON@ -m caribou.antler.main "$@"
42from caribou.antler.main import AntlerKeyboardService
43AntlerKeyboardService().run()"
4442
=== modified file 'caribou/Makefile.in'
--- caribou/Makefile.in 2014-09-03 17:53:54 +0000
+++ caribou/Makefile.in 2015-02-16 20:09:11 +0000
@@ -286,6 +286,10 @@
286LIPO = @LIPO@286LIPO = @LIPO@
287LN_S = @LN_S@287LN_S = @LN_S@
288LTLIBOBJS = @LTLIBOBJS@288LTLIBOBJS = @LTLIBOBJS@
289LT_AGE = @LT_AGE@
290LT_CURRENT = @LT_CURRENT@
291LT_REVISION = @LT_REVISION@
292LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
289MAINT = @MAINT@293MAINT = @MAINT@
290MAKEINFO = @MAKEINFO@294MAKEINFO = @MAKEINFO@
291MANIFEST_TOOL = @MANIFEST_TOOL@295MANIFEST_TOOL = @MANIFEST_TOOL@
292296
=== modified file 'caribou/antler/Makefile.in'
--- caribou/antler/Makefile.in 2014-09-03 17:53:54 +0000
+++ caribou/antler/Makefile.in 2015-02-16 20:09:11 +0000
@@ -225,6 +225,10 @@
225LIPO = @LIPO@225LIPO = @LIPO@
226LN_S = @LN_S@226LN_S = @LN_S@
227LTLIBOBJS = @LTLIBOBJS@227LTLIBOBJS = @LTLIBOBJS@
228LT_AGE = @LT_AGE@
229LT_CURRENT = @LT_CURRENT@
230LT_REVISION = @LT_REVISION@
231LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
228MAINT = @MAINT@232MAINT = @MAINT@
229MAKEINFO = @MAKEINFO@233MAKEINFO = @MAKEINFO@
230MANIFEST_TOOL = @MANIFEST_TOOL@234MANIFEST_TOOL = @MANIFEST_TOOL@
231235
=== modified file 'caribou/antler/__init__.py'
--- caribou/antler/__init__.py 2011-11-27 19:08:28 +0000
+++ caribou/antler/__init__.py 2015-02-16 20:09:11 +0000
@@ -1,1 +1,1 @@
1from antler_settings import AntlerSettings1from .antler_settings import AntlerSettings
22
=== modified file 'caribou/antler/keyboard_view.py'
--- caribou/antler/keyboard_view.py 2013-03-06 18:31:12 +0000
+++ caribou/antler/keyboard_view.py 2015-02-16 20:09:11 +0000
@@ -215,7 +215,8 @@
215 self.add_row([c.get_children() for c in row.get_columns()], row_num)215 self.add_row([c.get_children() for c in row.get_columns()], row_num)
216216
217class AntlerKeyboardView(Gtk.Notebook):217class AntlerKeyboardView(Gtk.Notebook):
218 def __init__(self, keyboard_type):218 def __init__(self, keyboard_type='touch', keyboard_file=None,
219 keyboard_level=None):
219 GObject.GObject.__init__(self)220 GObject.GObject.__init__(self)
220 settings = AntlerSettings()221 settings = AntlerSettings()
221 self.set_show_tabs(False)222 self.set_show_tabs(False)
@@ -244,10 +245,11 @@
244 Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + 1)245 Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + 1)
245246
246 self.scanner = Caribou.Scanner()247 self.scanner = Caribou.Scanner()
247 self.set_keyboard_model(keyboard_type)248 self.set_keyboard_model(keyboard_type, keyboard_file, keyboard_level)
248249
249 def set_keyboard_model(self, keyboard_type):250 def set_keyboard_model(self, keyboard_type, keyboard_file, keyboard_level):
250 self.keyboard_model = Caribou.KeyboardModel(keyboard_type=keyboard_type)251 self.keyboard_model = Caribou.KeyboardModel(keyboard_type=keyboard_type,
252 keyboard_file=keyboard_file)
251253
252 self.scanner.set_keyboard(self.keyboard_model)254 self.scanner.set_keyboard(self.keyboard_model)
253 self.keyboard_model.connect("notify::active-group", self._on_group_changed)255 self.keyboard_model.connect("notify::active-group", self._on_group_changed)
@@ -265,7 +267,7 @@
265 layout.show()267 layout.show()
266 self.layers[gname][lname] = self.append_page(layout, None)268 self.layers[gname][lname] = self.append_page(layout, None)
267269
268 self._set_to_active_layer()270 self._set_to_active_layer(keyboard_level=keyboard_level)
269271
270 def _on_key_clicked(self, model, key):272 def _on_key_clicked(self, model, key):
271 if key.props.name == "Caribou_Prefs":273 if key.props.name == "Caribou_Prefs":
@@ -301,10 +303,13 @@
301 def _on_group_changed(self, kb, prop):303 def _on_group_changed(self, kb, prop):
302 self._set_to_active_layer()304 self._set_to_active_layer()
303305
304 def _set_to_active_layer(self):306 def _set_to_active_layer(self, keyboard_level=None):
305 active_group_name = self.keyboard_model.props.active_group307 active_group_name = self.keyboard_model.props.active_group
306 active_group = self.keyboard_model.get_group(active_group_name)308 active_group = self.keyboard_model.get_group(active_group_name)
307 active_level_name = active_group.props.active_level309 if keyboard_level:
310 active_level_name = keyboard_level
311 else:
312 active_level_name = active_group.props.active_level
308313
309 self.set_current_page(self.layers[active_group_name][active_level_name])314 self.set_current_page(self.layers[active_group_name][active_level_name])
310315
311316
=== modified file 'caribou/antler/main.py'
--- caribou/antler/main.py 2013-03-06 18:31:12 +0000
+++ caribou/antler/main.py 2015-02-16 20:09:11 +0000
@@ -1,10 +1,14 @@
1from gi.repository import Caribou, GObject1from gi.repository import Caribou, GLib, GObject, Gtk
2from window import AntlerWindowEntry2from .window import AntlerWindowEntry
3from keyboard_view import AntlerKeyboardView3from .keyboard_view import AntlerKeyboardView
4import sys4import sys
55
6class AntlerKeyboardService(Caribou.KeyboardService):6class AntlerKeyboardCommand(object):
7 def __init__(self):7 def run(self):
8 pass
9
10class AntlerKeyboardService(Caribou.KeyboardService, AntlerKeyboardCommand):
11 def __init__(self, args=None):
8 GObject.GObject.__init__(self)12 GObject.GObject.__init__(self)
9 self.register_keyboard("Antler")13 self.register_keyboard("Antler")
10 self.window = AntlerWindowEntry(AntlerKeyboardView)14 self.window = AntlerWindowEntry(AntlerKeyboardView)
@@ -29,6 +33,39 @@
29 sys.stderr.write("Another service acquired %s, quitting..\n" % name)33 sys.stderr.write("Another service acquired %s, quitting..\n" % name)
30 sys.exit(0)34 sys.exit(0)
3135
36class AntlerKeyboardPreview(Gtk.Window, AntlerKeyboardCommand):
37 def __init__(self, args=None):
38 GObject.GObject.__init__(self)
39 if not args or not args.file:
40 sys.stderr.write("Specify keyboard file with -f option.\n")
41 sys.exit(1)
42 self.window = Gtk.Window()
43 self.window.add(AntlerKeyboardView(keyboard_file=args.file,
44 keyboard_level=args.level))
45
46 def run(self):
47 self.window.show_all()
48 Gtk.main()
49
32if __name__ == "__main__":50if __name__ == "__main__":
33 antler_keyboard_service = AntlerKeyboardService()51 import argparse
34 antler_keyboard_service.run()52 import signal
53 signal.signal(signal.SIGINT, signal.SIG_DFL)
54
55 GLib.set_prgname('antler-keyboard')
56
57 parser = argparse.ArgumentParser(description='antler-keyboard')
58 parser.add_argument('-c', '--command', type=str, default='service',
59 help='command (service or preview, default: service)')
60 parser.add_argument('-f', '--file', type=str,
61 help='keyboard file')
62 parser.add_argument('-l', '--level', type=str,
63 help='shift level')
64 args = parser.parse_args()
65
66 command = globals().get('AntlerKeyboard%s' % args.command.capitalize())
67 if command:
68 command(args).run()
69 else:
70 sys.stderr.write("Unknown command: %s\n" % args.command)
71 sys.exit(1)
3572
=== modified file 'caribou/antler/window.py'
--- caribou/antler/window.py 2011-11-27 19:08:28 +0000
+++ caribou/antler/window.py 2015-02-16 20:09:11 +0000
@@ -29,8 +29,6 @@
29import os29import os
30import sys30import sys
3131
32Clutter.init("antler")
33
3432
35class AnimatedWindowBase(Gtk.Window, Clutter.Animatable):33class AnimatedWindowBase(Gtk.Window, Clutter.Animatable):
36 __gproperties__ = {34 __gproperties__ = {
@@ -220,7 +218,7 @@
220 self.add(self._vbox)218 self.add(self._vbox)
221219
222 self.keyboard_view_factory = keyboard_view_factory220 self.keyboard_view_factory = keyboard_view_factory
223 self.keyboard_view = keyboard_view_factory (settings.keyboard_type.value)221 self.keyboard_view = keyboard_view_factory (keyboard_type=settings.keyboard_type.value)
224222
225 self._vbox.pack_start(self.keyboard_view, True, True, 0)223 self._vbox.pack_start(self.keyboard_view, True, True, 0)
226224
227225
=== modified file 'caribou/settings/Makefile.in'
--- caribou/settings/Makefile.in 2014-09-03 17:53:54 +0000
+++ caribou/settings/Makefile.in 2015-02-16 20:09:11 +0000
@@ -225,6 +225,10 @@
225LIPO = @LIPO@225LIPO = @LIPO@
226LN_S = @LN_S@226LN_S = @LN_S@
227LTLIBOBJS = @LTLIBOBJS@227LTLIBOBJS = @LTLIBOBJS@
228LT_AGE = @LT_AGE@
229LT_CURRENT = @LT_CURRENT@
230LT_REVISION = @LT_REVISION@
231LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
228MAINT = @MAINT@232MAINT = @MAINT@
229MAKEINFO = @MAKEINFO@233MAKEINFO = @MAKEINFO@
230MANIFEST_TOOL = @MANIFEST_TOOL@234MANIFEST_TOOL = @MANIFEST_TOOL@
231235
=== modified file 'caribou/settings/__init__.py'
--- caribou/settings/__init__.py 2011-11-27 19:08:28 +0000
+++ caribou/settings/__init__.py 2015-02-16 20:09:11 +0000
@@ -1,5 +1,5 @@
1GSETTINGS_SCHEMA = "org.gnome.caribou"1GSETTINGS_SCHEMA = "org.gnome.caribou"
22
3from caribou_settings import CaribouSettings3from .caribou_settings import CaribouSettings
44
5AllSettings = [CaribouSettings]5AllSettings = [CaribouSettings]
66
=== modified file 'caribou/settings/setting_types.py'
--- caribou/settings/setting_types.py 2011-11-27 19:08:28 +0000
+++ caribou/settings/setting_types.py 2015-02-16 20:09:11 +0000
@@ -93,7 +93,7 @@
93 def value(self, val):93 def value(self, val):
94 _val = self.convert_value(val)94 _val = self.convert_value(val)
95 if self.allowed and _val not in [a for a, b in self.allowed]:95 if self.allowed and _val not in [a for a, b in self.allowed]:
96 raise ValueError, "'%s' not a valid value" % _val96 raise ValueError("'%s' not a valid value" % _val)
97 self._value = _val97 self._value = _val
98 if not self.hush:98 if not self.hush:
99 self.emit('value-changed', _val)99 self.emit('value-changed', _val)
100100
=== modified file 'config.sub'
--- config.sub 2014-09-03 17:53:54 +0000
+++ config.sub 2015-02-16 20:09:11 +0000
@@ -2,7 +2,7 @@
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright 1992-2014 Free Software Foundation, Inc.3# Copyright 1992-2014 Free Software Foundation, Inc.
44
5timestamp='2014-05-01'5timestamp='2014-07-28'
66
7# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
@@ -828,6 +828,10 @@
828 basic_machine=powerpc-unknown828 basic_machine=powerpc-unknown
829 os=-morphos829 os=-morphos
830 ;;830 ;;
831 moxiebox)
832 basic_machine=moxie-unknown
833 os=-moxiebox
834 ;;
831 msdos)835 msdos)
832 basic_machine=i386-pc836 basic_machine=i386-pc
833 os=-msdos837 os=-msdos
@@ -1012,7 +1016,7 @@
1012 ;;1016 ;;
1013 ppc64) basic_machine=powerpc64-unknown1017 ppc64) basic_machine=powerpc64-unknown
1014 ;;1018 ;;
1015 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`1019 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1016 ;;1020 ;;
1017 ppc64le | powerpc64little | ppc64-le | powerpc64-little)1021 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1018 basic_machine=powerpc64le-unknown1022 basic_machine=powerpc64le-unknown
@@ -1373,7 +1377,7 @@
1373 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1377 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1374 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \1378 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1375 | -linux-newlib* | -linux-musl* | -linux-uclibc* \1379 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1376 | -uxpv* | -beos* | -mpeix* | -udk* \1380 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1377 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1381 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1378 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1382 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1379 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \1383 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13801384
=== modified file 'configure'
--- configure 2014-09-24 12:25:21 +0000
+++ configure 2015-02-16 20:09:11 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for caribou 0.4.15.3# Generated by GNU Autoconf 2.69 for caribou 0.4.17.
4#4#
5# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=caribou>.5# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=caribou>.
6#6#
@@ -651,8 +651,8 @@
651# Identity of this package.651# Identity of this package.
652PACKAGE_NAME='caribou'652PACKAGE_NAME='caribou'
653PACKAGE_TARNAME='caribou'653PACKAGE_TARNAME='caribou'
654PACKAGE_VERSION='0.4.15'654PACKAGE_VERSION='0.4.17'
655PACKAGE_STRING='caribou 0.4.15'655PACKAGE_STRING='caribou 0.4.17'
656PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=caribou'656PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=caribou'
657PACKAGE_URL=''657PACKAGE_URL=''
658658
@@ -839,7 +839,11 @@
839INSTALL_DATA839INSTALL_DATA
840INSTALL_SCRIPT840INSTALL_SCRIPT
841INSTALL_PROGRAM841INSTALL_PROGRAM
842LT_AGE
843LT_REVISION
844LT_CURRENT
842CPP845CPP
846LT_SYS_LIBRARY_PATH
843OTOOL64847OTOOL64
844OTOOL848OTOOL
845LIPO849LIPO
@@ -923,6 +927,7 @@
923enable_static927enable_static
924with_pic928with_pic
925enable_fast_install929enable_fast_install
930with_aix_soname
926with_gnu_ld931with_gnu_ld
927with_sysroot932with_sysroot
928enable_libtool_lock933enable_libtool_lock
@@ -944,6 +949,7 @@
944LDFLAGS949LDFLAGS
945LIBS950LIBS
946CPPFLAGS951CPPFLAGS
952LT_SYS_LIBRARY_PATH
947CPP953CPP
948PKG_CONFIG954PKG_CONFIG
949PKG_CONFIG_PATH955PKG_CONFIG_PATH
@@ -1499,7 +1505,7 @@
1499 # Omit some internal or obsolete options to make the list less imposing.1505 # Omit some internal or obsolete options to make the list less imposing.
1500 # This message is too long to be a string in the A/UX 3.1 sh.1506 # This message is too long to be a string in the A/UX 3.1 sh.
1501 cat <<_ACEOF1507 cat <<_ACEOF
1502\`configure' configures caribou 0.4.15 to adapt to many kinds of systems.1508\`configure' configures caribou 0.4.17 to adapt to many kinds of systems.
15031509
1504Usage: $0 [OPTION]... [VAR=VALUE]...1510Usage: $0 [OPTION]... [VAR=VALUE]...
15051511
@@ -1569,7 +1575,7 @@
15691575
1570if test -n "$ac_init_help"; then1576if test -n "$ac_init_help"; then
1571 case $ac_init_help in1577 case $ac_init_help in
1572 short | recursive ) echo "Configuration of caribou 0.4.15:";;1578 short | recursive ) echo "Configuration of caribou 0.4.17:";;
1573 esac1579 esac
1574 cat <<\_ACEOF1580 cat <<\_ACEOF
15751581
@@ -1604,9 +1610,12 @@
1604 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)1610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1605 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use1611 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1606 both]1612 both]
1613 --with-aix-soname=aix|svr4|both
1614 shared library versioning (aka "SONAME") variant to
1615 provide on AIX, [default=aix].
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-sysroot=DIR Search for dependent libraries within DIR1617 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1609 (or the compiler's sysroot if not specified).1618 compiler's sysroot if not specified).
16101619
1611Some influential environment variables:1620Some influential environment variables:
1612 CC C compiler command1621 CC C compiler command
@@ -1616,6 +1625,8 @@
1616 LIBS libraries to pass to the linker, e.g. -l<library>1625 LIBS libraries to pass to the linker, e.g. -l<library>
1617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if1626 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1618 you have headers in a nonstandard directory <include dir>1627 you have headers in a nonstandard directory <include dir>
1628 LT_SYS_LIBRARY_PATH
1629 User-defined run-time library search path.
1619 CPP C preprocessor1630 CPP C preprocessor
1620 PKG_CONFIG path to pkg-config utility1631 PKG_CONFIG path to pkg-config utility
1621 PKG_CONFIG_PATH1632 PKG_CONFIG_PATH
@@ -1706,7 +1717,7 @@
1706test -n "$ac_init_help" && exit $ac_status1717test -n "$ac_init_help" && exit $ac_status
1707if $ac_init_version; then1718if $ac_init_version; then
1708 cat <<\_ACEOF1719 cat <<\_ACEOF
1709caribou configure 0.4.151720caribou configure 0.4.17
1710generated by GNU Autoconf 2.691721generated by GNU Autoconf 2.69
17111722
1712Copyright (C) 2012 Free Software Foundation, Inc.1723Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2075,7 +2086,7 @@
2075This file contains any messages produced by compilers while2086This file contains any messages produced by compilers while
2076running configure, to aid debugging if configure makes a mistake.2087running configure, to aid debugging if configure makes a mistake.
20772088
2078It was created by caribou $as_me 0.4.15, which was2089It was created by caribou $as_me 0.4.17, which was
2079generated by GNU Autoconf 2.69. Invocation command line was2090generated by GNU Autoconf 2.69. Invocation command line was
20802091
2081 $ $0 $@2092 $ $0 $@
@@ -2463,22 +2474,22 @@
24632474
24642475
24652476
2466macro_version='2.4.2'2477macro_version='2.4.5'
2467macro_revision='1.3337'2478macro_revision='2.4.5'
24682479
24692480
24702481
24712482
24722483
24732484
24742485
24752486
24762487
24772488
24782489
24792490
24802491
2481ltmain="$ac_aux_dir/ltmain.sh"2492ltmain=$ac_aux_dir/ltmain.sh
24822493
2483# Make sure we can run config.sub.2494# Make sure we can run config.sub.
2484$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||2495$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
@@ -2598,7 +2609,7 @@
2598 $ECHO ""2609 $ECHO ""
2599}2610}
26002611
2601case "$ECHO" in2612case $ECHO in
2602 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&52613 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2603$as_echo "printf" >&6; } ;;2614$as_echo "printf" >&6; } ;;
2604 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&52615 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
@@ -3772,19 +3783,19 @@
37723783
3773# Check whether --with-gnu-ld was given.3784# Check whether --with-gnu-ld was given.
3774if test "${with_gnu_ld+set}" = set; then :3785if test "${with_gnu_ld+set}" = set; then :
3775 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes3786 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
3776else3787else
3777 with_gnu_ld=no3788 with_gnu_ld=no
3778fi3789fi
37793790
3780ac_prog=ld3791ac_prog=ld
3781if test "$GCC" = yes; then3792if test yes = "$GCC"; then
3782 # Check if gcc -print-prog-name=ld gives a path.3793 # Check if gcc -print-prog-name=ld gives a path.
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&53794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3784$as_echo_n "checking for ld used by $CC... " >&6; }3795$as_echo_n "checking for ld used by $CC... " >&6; }
3785 case $host in3796 case $host in
3786 *-*-mingw*)3797 *-*-mingw*)
3787 # gcc leaves a trailing carriage return which upsets mingw3798 # gcc leaves a trailing carriage return, which upsets mingw
3788 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;3799 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3789 *)3800 *)
3790 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;3801 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
@@ -3798,7 +3809,7 @@
3798 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do3809 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3799 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`3810 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3800 done3811 done
3801 test -z "$LD" && LD="$ac_prog"3812 test -z "$LD" && LD=$ac_prog
3802 ;;3813 ;;
3803 "")3814 "")
3804 # If it fails, then pretend we aren't using GCC.3815 # If it fails, then pretend we aren't using GCC.
@@ -3809,7 +3820,7 @@
3809 with_gnu_ld=unknown3820 with_gnu_ld=unknown
3810 ;;3821 ;;
3811 esac3822 esac
3812elif test "$with_gnu_ld" = yes; then3823elif test yes = "$with_gnu_ld"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&53824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3814$as_echo_n "checking for GNU ld... " >&6; }3825$as_echo_n "checking for GNU ld... " >&6; }
3815else3826else
@@ -3820,32 +3831,32 @@
3820 $as_echo_n "(cached) " >&63831 $as_echo_n "(cached) " >&6
3821else3832else
3822 if test -z "$LD"; then3833 if test -z "$LD"; then
3823 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR3834 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3824 for ac_dir in $PATH; do3835 for ac_dir in $PATH; do
3825 IFS="$lt_save_ifs"3836 IFS=$lt_save_ifs
3826 test -z "$ac_dir" && ac_dir=.3837 test -z "$ac_dir" && ac_dir=.
3827 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then3838 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3828 lt_cv_path_LD="$ac_dir/$ac_prog"3839 lt_cv_path_LD=$ac_dir/$ac_prog
3829 # Check to see if the program is GNU ld. I'd rather use --version,3840 # Check to see if the program is GNU ld. I'd rather use --version,
3830 # but apparently some variants of GNU ld only accept -v.3841 # but apparently some variants of GNU ld only accept -v.
3831 # Break only if it was the GNU/non-GNU ld that we prefer.3842 # Break only if it was the GNU/non-GNU ld that we prefer.
3832 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in3843 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3833 *GNU* | *'with BFD'*)3844 *GNU* | *'with BFD'*)
3834 test "$with_gnu_ld" != no && break3845 test no != "$with_gnu_ld" && break
3835 ;;3846 ;;
3836 *)3847 *)
3837 test "$with_gnu_ld" != yes && break3848 test yes != "$with_gnu_ld" && break
3838 ;;3849 ;;
3839 esac3850 esac
3840 fi3851 fi
3841 done3852 done
3842 IFS="$lt_save_ifs"3853 IFS=$lt_save_ifs
3843else3854else
3844 lt_cv_path_LD="$LD" # Let the user override the test with a path.3855 lt_cv_path_LD=$LD # Let the user override the test with a path.
3845fi3856fi
3846fi3857fi
38473858
3848LD="$lt_cv_path_LD"3859LD=$lt_cv_path_LD
3849if test -n "$LD"; then3860if test -n "$LD"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&53861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3851$as_echo "$LD" >&6; }3862$as_echo "$LD" >&6; }
@@ -3888,33 +3899,38 @@
3888else3899else
3889 if test -n "$NM"; then3900 if test -n "$NM"; then
3890 # Let the user override the test.3901 # Let the user override the test.
3891 lt_cv_path_NM="$NM"3902 lt_cv_path_NM=$NM
3892else3903else
3893 lt_nm_to_check="${ac_tool_prefix}nm"3904 lt_nm_to_check=${ac_tool_prefix}nm
3894 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then3905 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3895 lt_nm_to_check="$lt_nm_to_check nm"3906 lt_nm_to_check="$lt_nm_to_check nm"
3896 fi3907 fi
3897 for lt_tmp_nm in $lt_nm_to_check; do3908 for lt_tmp_nm in $lt_nm_to_check; do
3898 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR3909 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3899 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do3910 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3900 IFS="$lt_save_ifs"3911 IFS=$lt_save_ifs
3901 test -z "$ac_dir" && ac_dir=.3912 test -z "$ac_dir" && ac_dir=.
3902 tmp_nm="$ac_dir/$lt_tmp_nm"3913 tmp_nm=$ac_dir/$lt_tmp_nm
3903 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then3914 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3904 # Check to see if the nm accepts a BSD-compat flag.3915 # Check to see if the nm accepts a BSD-compat flag.
3905 # Adding the `sed 1q' prevents false positives on HP-UX, which says:3916 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3906 # nm: unknown option "B" ignored3917 # nm: unknown option "B" ignored
3907 # Tru64's nm complains that /dev/null is an invalid object file3918 # Tru64's nm complains that /dev/null is an invalid object file
3908 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in3919 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3909 */dev/null* | *'Invalid file or object type'*)3920 case $build_os in
3921 mingw*) lt_bad_file=conftest.nm/nofile ;;
3922 *) lt_bad_file=/dev/null ;;
3923 esac
3924 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3925 *$lt_bad_file* | *'Invalid file or object type'*)
3910 lt_cv_path_NM="$tmp_nm -B"3926 lt_cv_path_NM="$tmp_nm -B"
3911 break3927 break 2
3912 ;;3928 ;;
3913 *)3929 *)
3914 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in3930 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3915 */dev/null*)3931 */dev/null*)
3916 lt_cv_path_NM="$tmp_nm -p"3932 lt_cv_path_NM="$tmp_nm -p"
3917 break3933 break 2
3918 ;;3934 ;;
3919 *)3935 *)
3920 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but3936 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
@@ -3925,15 +3941,15 @@
3925 esac3941 esac
3926 fi3942 fi
3927 done3943 done
3928 IFS="$lt_save_ifs"3944 IFS=$lt_save_ifs
3929 done3945 done
3930 : ${lt_cv_path_NM=no}3946 : ${lt_cv_path_NM=no}
3931fi3947fi
3932fi3948fi
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&53949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3934$as_echo "$lt_cv_path_NM" >&6; }3950$as_echo "$lt_cv_path_NM" >&6; }
3935if test "$lt_cv_path_NM" != "no"; then3951if test no != "$lt_cv_path_NM"; then
3936 NM="$lt_cv_path_NM"3952 NM=$lt_cv_path_NM
3937else3953else
3938 # Didn't find any BSD compatible name lister, look for dumpbin.3954 # Didn't find any BSD compatible name lister, look for dumpbin.
3939 if test -n "$DUMPBIN"; then :3955 if test -n "$DUMPBIN"; then :
@@ -4039,9 +4055,9 @@
4039 fi4055 fi
4040fi4056fi
40414057
4042 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in4058 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4043 *COFF*)4059 *COFF*)
4044 DUMPBIN="$DUMPBIN -symbols"4060 DUMPBIN="$DUMPBIN -symbols -headers"
4045 ;;4061 ;;
4046 *)4062 *)
4047 DUMPBIN=:4063 DUMPBIN=:
@@ -4049,8 +4065,8 @@
4049 esac4065 esac
4050 fi4066 fi
40514067
4052 if test "$DUMPBIN" != ":"; then4068 if test : != "$DUMPBIN"; then
4053 NM="$DUMPBIN"4069 NM=$DUMPBIN
4054 fi4070 fi
4055fi4071fi
4056test -z "$NM" && NM=nm4072test -z "$NM" && NM=nm
@@ -4101,7 +4117,7 @@
4101 $as_echo_n "(cached) " >&64117 $as_echo_n "(cached) " >&6
4102else4118else
4103 i=04119 i=0
4104 teststring="ABCD"4120 teststring=ABCD
41054121
4106 case $build_os in4122 case $build_os in
4107 msdosdjgpp*)4123 msdosdjgpp*)
@@ -4141,7 +4157,7 @@
4141 lt_cv_sys_max_cmd_len=8192;4157 lt_cv_sys_max_cmd_len=8192;
4142 ;;4158 ;;
41434159
4144 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)4160 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4145 # This has been around since 386BSD, at least. Likely further.4161 # This has been around since 386BSD, at least. Likely further.
4146 if test -x /sbin/sysctl; then4162 if test -x /sbin/sysctl; then
4147 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`4163 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -4192,22 +4208,22 @@
4192 *)4208 *)
4193 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`4209 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4194 if test -n "$lt_cv_sys_max_cmd_len" && \4210 if test -n "$lt_cv_sys_max_cmd_len" && \
4195 test undefined != "$lt_cv_sys_max_cmd_len"; then4211 test undefined != "$lt_cv_sys_max_cmd_len"; then
4196 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`4212 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4197 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`4213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4198 else4214 else
4199 # Make teststring a little bigger before we do anything with it.4215 # Make teststring a little bigger before we do anything with it.
4200 # a 1K string should be a reasonable start.4216 # a 1K string should be a reasonable start.
4201 for i in 1 2 3 4 5 6 7 8 ; do4217 for i in 1 2 3 4 5 6 7 8; do
4202 teststring=$teststring$teststring4218 teststring=$teststring$teststring
4203 done4219 done
4204 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}4220 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4205 # If test is not a shell built-in, we'll probably end up computing a4221 # If test is not a shell built-in, we'll probably end up computing a
4206 # maximum length that is only half of the actual maximum length, but4222 # maximum length that is only half of the actual maximum length, but
4207 # we can't tell.4223 # we can't tell.
4208 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \4224 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4209 = "X$teststring$teststring"; } >/dev/null 2>&1 &&4225 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4210 test $i != 17 # 1/2 MB should be enough4226 test 17 != "$i" # 1/2 MB should be enough
4211 do4227 do
4212 i=`expr $i + 1`4228 i=`expr $i + 1`
4213 teststring=$teststring$teststring4229 teststring=$teststring$teststring
@@ -4225,7 +4241,7 @@
42254241
4226fi4242fi
42274243
4228if test -n $lt_cv_sys_max_cmd_len ; then4244if test -n "$lt_cv_sys_max_cmd_len"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&54245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4230$as_echo "$lt_cv_sys_max_cmd_len" >&6; }4246$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4231else4247else
@@ -4243,30 +4259,6 @@
4243: ${MV="mv -f"}4259: ${MV="mv -f"}
4244: ${RM="rm -f"}4260: ${RM="rm -f"}
42454261
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4247$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4248# Try some XSI features
4249xsi_shell=no
4250( _lt_dummy="a/b/c"
4251 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4252 = c,a/b,b/c, \
4253 && eval 'test $(( 1 + 1 )) -eq 2 \
4254 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4255 && xsi_shell=yes
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4257$as_echo "$xsi_shell" >&6; }
4258
4259
4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4261$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4262lt_shell_append=no
4263( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4264 >/dev/null 2>&1 \
4265 && lt_shell_append=yes
4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4267$as_echo "$lt_shell_append" >&6; }
4268
4269
4270if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then4262if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4271 lt_unset=unset4263 lt_unset=unset
4272else4264else
@@ -4389,13 +4381,13 @@
4389reload_cmds='$LD$reload_flag -o $output$reload_objs'4381reload_cmds='$LD$reload_flag -o $output$reload_objs'
4390case $host_os in4382case $host_os in
4391 cygwin* | mingw* | pw32* | cegcc*)4383 cygwin* | mingw* | pw32* | cegcc*)
4392 if test "$GCC" != yes; then4384 if test yes != "$GCC"; then
4393 reload_cmds=false4385 reload_cmds=false
4394 fi4386 fi
4395 ;;4387 ;;
4396 darwin*)4388 darwin*)
4397 if test "$GCC" = yes; then4389 if test yes = "$GCC"; then
4398 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'4390 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4399 else4391 else
4400 reload_cmds='$LD$reload_flag -o $output$reload_objs'4392 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4401 fi4393 fi
@@ -4523,13 +4515,13 @@
4523# Need to set the preceding variable on all platforms that support4515# Need to set the preceding variable on all platforms that support
4524# interlibrary dependencies.4516# interlibrary dependencies.
4525# 'none' -- dependencies not supported.4517# 'none' -- dependencies not supported.
4526# `unknown' -- same as none, but documents that we really don't know.4518# 'unknown' -- same as none, but documents that we really don't know.
4527# 'pass_all' -- all dependencies passed with no checks.4519# 'pass_all' -- all dependencies passed with no checks.
4528# 'test_compile' -- check by making test program.4520# 'test_compile' -- check by making test program.
4529# 'file_magic [[regex]]' -- check by looking for files in library path4521# 'file_magic [[regex]]' -- check by looking for files in library path
4530# which responds to the $file_magic_cmd with a given extended regex.4522# that responds to the $file_magic_cmd with a given extended regex.
4531# If you have `file' or equivalent on your system and you're not sure4523# If you have 'file' or equivalent on your system and you're not sure
4532# whether `pass_all' will *always* work, you probably want this one.4524# whether 'pass_all' will *always* work, you probably want this one.
45334525
4534case $host_os in4526case $host_os in
4535aix[4-9]*)4527aix[4-9]*)
@@ -4556,8 +4548,7 @@
4556 # Base MSYS/MinGW do not provide the 'file' command needed by4548 # Base MSYS/MinGW do not provide the 'file' command needed by
4557 # func_win32_libid shell function, so use a weaker test based on 'objdump',4549 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4558 # unless we find 'file', for example because we are cross-compiling.4550 # unless we find 'file', for example because we are cross-compiling.
4559 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.4551 if ( file / ) >/dev/null 2>&1; then
4560 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4561 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'4552 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4562 lt_cv_file_magic_cmd='func_win32_libid'4553 lt_cv_file_magic_cmd='func_win32_libid'
4563 else4554 else
@@ -4635,7 +4626,7 @@
4635 lt_cv_deplibs_check_method=pass_all4626 lt_cv_deplibs_check_method=pass_all
4636 ;;4627 ;;
46374628
4638netbsd* | netbsdelf*-gnu)4629netbsd*)
4639 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then4630 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'4631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4641 else4632 else
@@ -4653,8 +4644,8 @@
4653 lt_cv_deplibs_check_method=pass_all4644 lt_cv_deplibs_check_method=pass_all
4654 ;;4645 ;;
46554646
4656openbsd*)4647openbsd* | bitrig*)
4657 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then4648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'4649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4659 else4650 else
4660 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'4651 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
@@ -4707,6 +4698,9 @@
4707tpf*)4698tpf*)
4708 lt_cv_deplibs_check_method=pass_all4699 lt_cv_deplibs_check_method=pass_all
4709 ;;4700 ;;
4701os2*)
4702 lt_cv_deplibs_check_method=pass_all
4703 ;;
4710esac4704esac
47114705
4712fi4706fi
@@ -4864,8 +4858,8 @@
48644858
4865case $host_os in4859case $host_os in
4866cygwin* | mingw* | pw32* | cegcc*)4860cygwin* | mingw* | pw32* | cegcc*)
4867 # two different shell functions defined in ltmain.sh4861 # two different shell functions defined in ltmain.sh;
4868 # decide which to use based on capabilities of $DLLTOOL4862 # decide which one to use based on capabilities of $DLLTOOL
4869 case `$DLLTOOL --help 2>&1` in4863 case `$DLLTOOL --help 2>&1` in
4870 *--identify-strict*)4864 *--identify-strict*)
4871 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib4865 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
@@ -4877,7 +4871,7 @@
4877 ;;4871 ;;
4878*)4872*)
4879 # fallback: assume linklib IS sharedlib4873 # fallback: assume linklib IS sharedlib
4880 lt_cv_sharedlib_from_linklib_cmd="$ECHO"4874 lt_cv_sharedlib_from_linklib_cmd=$ECHO
4881 ;;4875 ;;
4882esac4876esac
48834877
@@ -5032,7 +5026,7 @@
5032 ac_status=$?5026 ac_status=$?
5033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5034 test $ac_status = 0; }5028 test $ac_status = 0; }
5035 if test "$ac_status" -eq 0; then5029 if test 0 -eq "$ac_status"; then
5036 # Ensure the archiver fails upon bogus file names.5030 # Ensure the archiver fails upon bogus file names.
5037 rm -f conftest.$ac_objext libconftest.a5031 rm -f conftest.$ac_objext libconftest.a
5038 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&55032 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
@@ -5040,7 +5034,7 @@
5040 ac_status=$?5034 ac_status=$?
5041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5042 test $ac_status = 0; }5036 test $ac_status = 0; }
5043 if test "$ac_status" -ne 0; then5037 if test 0 -ne "$ac_status"; then
5044 lt_cv_ar_at_file=@5038 lt_cv_ar_at_file=@
5045 fi5039 fi
5046 fi5040 fi
@@ -5053,7 +5047,7 @@
5053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&55047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5054$as_echo "$lt_cv_ar_at_file" >&6; }5048$as_echo "$lt_cv_ar_at_file" >&6; }
50555049
5056if test "x$lt_cv_ar_at_file" = xno; then5050if test no = "$lt_cv_ar_at_file"; then
5057 archiver_list_spec=5051 archiver_list_spec=
5058else5052else
5059 archiver_list_spec=$lt_cv_ar_at_file5053 archiver_list_spec=$lt_cv_ar_at_file
@@ -5270,7 +5264,7 @@
52705264
5271if test -n "$RANLIB"; then5265if test -n "$RANLIB"; then
5272 case $host_os in5266 case $host_os in
5273 openbsd*)5267 bitrig* | openbsd*)
5274 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"5268 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5275 ;;5269 ;;
5276 *)5270 *)
@@ -5402,7 +5396,7 @@
5402 symcode='[ABCDGISTW]'5396 symcode='[ABCDGISTW]'
5403 ;;5397 ;;
5404hpux*)5398hpux*)
5405 if test "$host_cpu" = ia64; then5399 if test ia64 = "$host_cpu"; then
5406 symcode='[ABCDEGRST]'5400 symcode='[ABCDEGRST]'
5407 fi5401 fi
5408 ;;5402 ;;
@@ -5435,14 +5429,44 @@
5435 symcode='[ABCDGIRSTW]' ;;5429 symcode='[ABCDGIRSTW]' ;;
5436esac5430esac
54375431
5432if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5433 # Gets list of data symbols to import.
5434 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5435 # Adjust the below global symbol transforms to fixup imported variables.
5436 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5437 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5438 lt_c_name_lib_hook="\
5439 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5440 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5441else
5442 # Disable hooks by default.
5443 lt_cv_sys_global_symbol_to_import=
5444 lt_cdecl_hook=
5445 lt_c_name_hook=
5446 lt_c_name_lib_hook=
5447fi
5448
5438# Transform an extracted symbol line into a proper C declaration.5449# Transform an extracted symbol line into a proper C declaration.
5439# Some systems (esp. on ia64) link data and code symbols differently,5450# Some systems (esp. on ia64) link data and code symbols differently,
5440# so use this general approach.5451# so use this general approach.
5441lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"5452lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5453$lt_cdecl_hook\
5454" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5455" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
54425456
5443# Transform an extracted symbol line into symbol name and symbol address5457# Transform an extracted symbol line into symbol name and symbol address
5444lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"5458lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5445lt_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'"5459$lt_c_name_hook\
5460" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5461" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5462
5463# Transform an extracted symbol line into symbol name with lib prefix and
5464# symbol address.
5465lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5466$lt_c_name_lib_hook\
5467" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5468" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5469" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
54465470
5447# Handle CRLF in mingw tool chain5471# Handle CRLF in mingw tool chain
5448opt_cr=5472opt_cr=
@@ -5460,21 +5484,24 @@
54605484
5461 # Write the raw and C identifiers.5485 # Write the raw and C identifiers.
5462 if test "$lt_cv_nm_interface" = "MS dumpbin"; then5486 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5463 # Fake it for dumpbin and say T for any non-static function5487 # Fake it for dumpbin and say T for any non-static function,
5464 # and D for any global variable.5488 # D for any global variable and I for any imported variable.
5465 # Also find C++ and __fastcall symbols from MSVC++,5489 # Also find C++ and __fastcall symbols from MSVC++,
5466 # which start with @ or ?.5490 # which start with @ or ?.
5467 lt_cv_sys_global_symbol_pipe="$AWK '"\5491 lt_cv_sys_global_symbol_pipe="$AWK '"\
5468" {last_section=section; section=\$ 3};"\5492" {last_section=section; section=\$ 3};"\
5469" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\5493" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5470" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\5494" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5495" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5496" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5497" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5471" \$ 0!~/External *\|/{next};"\5498" \$ 0!~/External *\|/{next};"\
5472" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\5499" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5473" {if(hide[section]) next};"\5500" {if(hide[section]) next};"\
5474" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\5501" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5475" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\5502" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5476" s[1]~/^[@?]/{print s[1], s[1]; next};"\5503" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5477" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\5504" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5478" ' prfx=^$ac_symprfx"5505" ' prfx=^$ac_symprfx"
5479 else5506 else
5480 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"5507 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
@@ -5522,11 +5549,11 @@
5522 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then5549 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5523 cat <<_LT_EOF > conftest.$ac_ext5550 cat <<_LT_EOF > conftest.$ac_ext
5524/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */5551/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5525#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)5552#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5526/* DATA imports from DLLs on WIN32 con't be const, because runtime5553/* DATA imports from DLLs on WIN32 can't be const, because runtime
5527 relocations are performed -- see ld's documentation on pseudo-relocs. */5554 relocations are performed -- see ld's documentation on pseudo-relocs. */
5528# define LT_DLSYM_CONST5555# define LT_DLSYM_CONST
5529#elif defined(__osf__)5556#elif defined __osf__
5530/* This system does not cope well with relocations in const data. */5557/* This system does not cope well with relocations in const data. */
5531# define LT_DLSYM_CONST5558# define LT_DLSYM_CONST
5532#else5559#else
@@ -5552,7 +5579,7 @@
5552{5579{
5553 { "@PROGRAM@", (void *) 0 },5580 { "@PROGRAM@", (void *) 0 },
5554_LT_EOF5581_LT_EOF
5555 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext5582 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5556 cat <<\_LT_EOF >> conftest.$ac_ext5583 cat <<\_LT_EOF >> conftest.$ac_ext
5557 {0, (void *) 0}5584 {0, (void *) 0}
5558};5585};
@@ -5572,13 +5599,13 @@
5572 mv conftest.$ac_objext conftstm.$ac_objext5599 mv conftest.$ac_objext conftstm.$ac_objext
5573 lt_globsym_save_LIBS=$LIBS5600 lt_globsym_save_LIBS=$LIBS
5574 lt_globsym_save_CFLAGS=$CFLAGS5601 lt_globsym_save_CFLAGS=$CFLAGS
5575 LIBS="conftstm.$ac_objext"5602 LIBS=conftstm.$ac_objext
5576 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&55604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5578 (eval $ac_link) 2>&55605 (eval $ac_link) 2>&5
5579 ac_status=$?5606 ac_status=$?
5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5581 test $ac_status = 0; } && test -s conftest${ac_exeext}; then5608 test $ac_status = 0; } && test -s conftest$ac_exeext; then
5582 pipe_works=yes5609 pipe_works=yes
5583 fi5610 fi
5584 LIBS=$lt_globsym_save_LIBS5611 LIBS=$lt_globsym_save_LIBS
@@ -5599,7 +5626,7 @@
5599 rm -rf conftest* conftst*5626 rm -rf conftest* conftst*
56005627
5601 # Do not use the global_symbol_pipe unless it works.5628 # Do not use the global_symbol_pipe unless it works.
5602 if test "$pipe_works" = yes; then5629 if test yes = "$pipe_works"; then
5603 break5630 break
5604 else5631 else
5605 lt_cv_sys_global_symbol_pipe=5632 lt_cv_sys_global_symbol_pipe=
@@ -5652,6 +5679,16 @@
56525679
56535680
56545681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&55692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5656$as_echo_n "checking for sysroot... " >&6; }5693$as_echo_n "checking for sysroot... " >&6; }
56575694
@@ -5664,9 +5701,9 @@
56645701
56655702
5666lt_sysroot=5703lt_sysroot=
5667case ${with_sysroot} in #(5704case $with_sysroot in #(
5668 yes)5705 yes)
5669 if test "$GCC" = yes; then5706 if test yes = "$GCC"; then
5670 lt_sysroot=`$CC --print-sysroot 2>/dev/null`5707 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5671 fi5708 fi
5672 ;; #(5709 ;; #(
@@ -5676,8 +5713,8 @@
5676 no|'')5713 no|'')
5677 ;; #(5714 ;; #(
5678 *)5715 *)
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&55716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5680$as_echo "${with_sysroot}" >&6; }5717$as_echo "$with_sysroot" >&6; }
5681 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 55718 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5682 ;;5719 ;;
5683esac5720esac
@@ -5689,18 +5726,99 @@
56895726
56905727
56915728
5729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5730$as_echo_n "checking for a working dd... " >&6; }
5731if ${ac_cv_path_lt_DD+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733else
5734 printf 0123456789abcdef0123456789abcdef >conftest.i
5735cat conftest.i conftest.i >conftest2.i
5736: ${lt_DD:=$DD}
5737if test -z "$lt_DD"; then
5738 ac_path_lt_DD_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741for as_dir in $PATH
5742do
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in dd; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
5748 as_fn_executable_p "$ac_path_lt_DD" || continue
5749if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
5750 cmp -s conftest.i conftest.out \
5751 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
5752fi
5753 $ac_path_lt_DD_found && break 3
5754 done
5755 done
5756 done
5757IFS=$as_save_IFS
5758 if test -z "$ac_cv_path_lt_DD"; then
5759 :
5760 fi
5761else
5762 ac_cv_path_lt_DD=$lt_DD
5763fi
5764
5765rm -f conftest.i conftest2.i conftest.out
5766fi
5767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5768$as_echo "$ac_cv_path_lt_DD" >&6; }
5769
5770
5771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5772$as_echo_n "checking how to truncate binary pipes... " >&6; }
5773if ${lt_cv_truncate_bin+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775else
5776 printf 0123456789abcdef0123456789abcdef >conftest.i
5777cat conftest.i conftest.i >conftest2.i
5778lt_cv_truncate_bin=
5779if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
5780 cmp -s conftest.i conftest.out \
5781 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
5782fi
5783rm -f conftest.i conftest2.i conftest.out
5784test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
5785fi
5786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5787$as_echo "$lt_cv_truncate_bin" >&6; }
5788
5789
5790
5791
5792
5793
5794
5795# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
5796func_cc_basename ()
5797{
5798 for cc_temp in $*""; do
5799 case $cc_temp in
5800 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5801 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5802 \-*) ;;
5803 *) break;;
5804 esac
5805 done
5806 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5807}
5808
5692# Check whether --enable-libtool-lock was given.5809# Check whether --enable-libtool-lock was given.
5693if test "${enable_libtool_lock+set}" = set; then :5810if test "${enable_libtool_lock+set}" = set; then :
5694 enableval=$enable_libtool_lock;5811 enableval=$enable_libtool_lock;
5695fi5812fi
56965813
5697test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes5814test no = "$enable_libtool_lock" || enable_libtool_lock=yes
56985815
5699# Some flags need to be propagated to the compiler or linker for good5816# Some flags need to be propagated to the compiler or linker for good
5700# libtool support.5817# libtool support.
5701case $host in5818case $host in
5702ia64-*-hpux*)5819ia64-*-hpux*)
5703 # Find out which ABI we are using.5820 # Find out what ABI is being produced by ac_compile, and set mode
5821 # options accordingly.
5704 echo 'int i;' > conftest.$ac_ext5822 echo 'int i;' > conftest.$ac_ext
5705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&55823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5706 (eval $ac_compile) 2>&55824 (eval $ac_compile) 2>&5
@@ -5709,24 +5827,25 @@
5709 test $ac_status = 0; }; then5827 test $ac_status = 0; }; then
5710 case `/usr/bin/file conftest.$ac_objext` in5828 case `/usr/bin/file conftest.$ac_objext` in
5711 *ELF-32*)5829 *ELF-32*)
5712 HPUX_IA64_MODE="32"5830 HPUX_IA64_MODE=32
5713 ;;5831 ;;
5714 *ELF-64*)5832 *ELF-64*)
5715 HPUX_IA64_MODE="64"5833 HPUX_IA64_MODE=64
5716 ;;5834 ;;
5717 esac5835 esac
5718 fi5836 fi
5719 rm -rf conftest*5837 rm -rf conftest*
5720 ;;5838 ;;
5721*-*-irix6*)5839*-*-irix6*)
5722 # Find out which ABI we are using.5840 # Find out what ABI is being produced by ac_compile, and set linker
5841 # options accordingly.
5723 echo '#line '$LINENO' "configure"' > conftest.$ac_ext5842 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&55843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5725 (eval $ac_compile) 2>&55844 (eval $ac_compile) 2>&5
5726 ac_status=$?5845 ac_status=$?
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; }; then5847 test $ac_status = 0; }; then
5729 if test "$lt_cv_prog_gnu_ld" = yes; then5848 if test yes = "$lt_cv_prog_gnu_ld"; then
5730 case `/usr/bin/file conftest.$ac_objext` in5849 case `/usr/bin/file conftest.$ac_objext` in
5731 *32-bit*)5850 *32-bit*)
5732 LD="${LD-ld} -melf32bsmip"5851 LD="${LD-ld} -melf32bsmip"
@@ -5755,9 +5874,50 @@
5755 rm -rf conftest*5874 rm -rf conftest*
5756 ;;5875 ;;
57575876
5877mips64*-*linux*)
5878 # Find out what ABI is being produced by ac_compile, and set linker
5879 # options accordingly.
5880 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5882 (eval $ac_compile) 2>&5
5883 ac_status=$?
5884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885 test $ac_status = 0; }; then
5886 emul=elf
5887 case `/usr/bin/file conftest.$ac_objext` in
5888 *32-bit*)
5889 emul="${emul}32"
5890 ;;
5891 *64-bit*)
5892 emul="${emul}64"
5893 ;;
5894 esac
5895 case `/usr/bin/file conftest.$ac_objext` in
5896 *MSB*)
5897 emul="${emul}btsmip"
5898 ;;
5899 *LSB*)
5900 emul="${emul}ltsmip"
5901 ;;
5902 esac
5903 case `/usr/bin/file conftest.$ac_objext` in
5904 *N32*)
5905 emul="${emul}n32"
5906 ;;
5907 esac
5908 LD="${LD-ld} -m $emul"
5909 fi
5910 rm -rf conftest*
5911 ;;
5912
5758x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \5913x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
5759s390*-*linux*|s390*-*tpf*|sparc*-*linux*)5914s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5760 # Find out which ABI we are using.5915 # Find out what ABI is being produced by ac_compile, and set linker
5916 # options accordingly. Note that the listed cases only cover the
5917 # situations where additional linker options are needed (such as when
5918 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5919 # vice versa); the common cases where no linker options are needed do
5920 # not appear in the list.
5761 echo 'int i;' > conftest.$ac_ext5921 echo 'int i;' > conftest.$ac_ext
5762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&55922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5763 (eval $ac_compile) 2>&55923 (eval $ac_compile) 2>&5
@@ -5780,10 +5940,10 @@
5780 ;;5940 ;;
5781 esac5941 esac
5782 ;;5942 ;;
5783 powerpc64le-*)5943 powerpc64le-*linux*)
5784 LD="${LD-ld} -m elf32lppclinux"5944 LD="${LD-ld} -m elf32lppclinux"
5785 ;;5945 ;;
5786 powerpc64-*)5946 powerpc64-*linux*)
5787 LD="${LD-ld} -m elf32ppclinux"5947 LD="${LD-ld} -m elf32ppclinux"
5788 ;;5948 ;;
5789 s390x-*linux*)5949 s390x-*linux*)
@@ -5802,10 +5962,10 @@
5802 x86_64-*linux*)5962 x86_64-*linux*)
5803 LD="${LD-ld} -m elf_x86_64"5963 LD="${LD-ld} -m elf_x86_64"
5804 ;;5964 ;;
5805 powerpcle-*)5965 powerpcle-*linux*)
5806 LD="${LD-ld} -m elf64lppc"5966 LD="${LD-ld} -m elf64lppc"
5807 ;;5967 ;;
5808 powerpc-*)5968 powerpc-*linux*)
5809 LD="${LD-ld} -m elf64ppc"5969 LD="${LD-ld} -m elf64ppc"
5810 ;;5970 ;;
5811 s390*-*linux*|s390*-*tpf*)5971 s390*-*linux*|s390*-*tpf*)
@@ -5823,7 +5983,7 @@
58235983
5824*-*-sco3.2v5*)5984*-*-sco3.2v5*)
5825 # On SCO OpenServer 5, we need -belf to get full-featured binaries.5985 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5826 SAVE_CFLAGS="$CFLAGS"5986 SAVE_CFLAGS=$CFLAGS
5827 CFLAGS="$CFLAGS -belf"5987 CFLAGS="$CFLAGS -belf"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&55988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5829$as_echo_n "checking whether the C compiler needs -belf... " >&6; }5989$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
@@ -5863,13 +6023,14 @@
5863fi6023fi
5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&56024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5865$as_echo "$lt_cv_cc_needs_belf" >&6; }6025$as_echo "$lt_cv_cc_needs_belf" >&6; }
5866 if test x"$lt_cv_cc_needs_belf" != x"yes"; then6026 if test yes != "$lt_cv_cc_needs_belf"; then
5867 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf6027 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5868 CFLAGS="$SAVE_CFLAGS"6028 CFLAGS=$SAVE_CFLAGS
5869 fi6029 fi
5870 ;;6030 ;;
5871*-*solaris*)6031*-*solaris*)
5872 # Find out which ABI we are using.6032 # Find out what ABI is being produced by ac_compile, and set linker
6033 # options accordingly.
5873 echo 'int i;' > conftest.$ac_ext6034 echo 'int i;' > conftest.$ac_ext
5874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5875 (eval $ac_compile) 2>&56036 (eval $ac_compile) 2>&5
@@ -5881,7 +6042,7 @@
5881 case $lt_cv_prog_gnu_ld in6042 case $lt_cv_prog_gnu_ld in
5882 yes*)6043 yes*)
5883 case $host in6044 case $host in
5884 i?86-*-solaris*)6045 i?86-*-solaris*|x86_64-*-solaris*)
5885 LD="${LD-ld} -m elf_x86_64"6046 LD="${LD-ld} -m elf_x86_64"
5886 ;;6047 ;;
5887 sparc*-*-solaris*)6048 sparc*-*-solaris*)
@@ -5890,7 +6051,7 @@
5890 esac6051 esac
5891 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.6052 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5892 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then6053 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
5893 LD="${LD-ld}_sol2"6054 LD=${LD-ld}_sol2
5894 fi6055 fi
5895 ;;6056 ;;
5896 *)6057 *)
@@ -5906,7 +6067,7 @@
5906 ;;6067 ;;
5907esac6068esac
59086069
5909need_locks="$enable_libtool_lock"6070need_locks=$enable_libtool_lock
59106071
5911if test -n "$ac_tool_prefix"; then6072if test -n "$ac_tool_prefix"; then
5912 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.6073 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
@@ -6017,7 +6178,7 @@
6017fi6178fi
6018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&56179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6019$as_echo "$lt_cv_path_mainfest_tool" >&6; }6180$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6020if test "x$lt_cv_path_mainfest_tool" != xyes; then6181if test yes != "$lt_cv_path_mainfest_tool"; then
6021 MANIFEST_TOOL=:6182 MANIFEST_TOOL=:
6022fi6183fi
60236184
@@ -6520,7 +6681,7 @@
6520 $as_echo_n "(cached) " >&66681 $as_echo_n "(cached) " >&6
6521else6682else
6522 lt_cv_apple_cc_single_mod=no6683 lt_cv_apple_cc_single_mod=no
6523 if test -z "${LT_MULTI_MODULE}"; then6684 if test -z "$LT_MULTI_MODULE"; then
6524 # By default we will add the -single_module flag. You can override6685 # By default we will add the -single_module flag. You can override
6525 # by either setting the environment variable LT_MULTI_MODULE6686 # by either setting the environment variable LT_MULTI_MODULE
6526 # non-empty at configure time, or by adding -multi_module to the6687 # non-empty at configure time, or by adding -multi_module to the
@@ -6538,7 +6699,7 @@
6538 cat conftest.err >&56699 cat conftest.err >&5
6539 # Otherwise, if the output was created with a 0 exit code from6700 # Otherwise, if the output was created with a 0 exit code from
6540 # the compiler, it worked.6701 # the compiler, it worked.
6541 elif test -f libconftest.dylib && test $_lt_result -eq 0; then6702 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
6542 lt_cv_apple_cc_single_mod=yes6703 lt_cv_apple_cc_single_mod=yes
6543 else6704 else
6544 cat conftest.err >&56705 cat conftest.err >&5
@@ -6577,7 +6738,7 @@
6577fi6738fi
6578rm -f core conftest.err conftest.$ac_objext \6739rm -f core conftest.err conftest.$ac_objext \
6579 conftest$ac_exeext conftest.$ac_ext6740 conftest$ac_exeext conftest.$ac_ext
6580 LDFLAGS="$save_LDFLAGS"6741 LDFLAGS=$save_LDFLAGS
65816742
6582fi6743fi
6583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&56744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
@@ -6606,7 +6767,7 @@
6606 _lt_result=$?6767 _lt_result=$?
6607 if test -s conftest.err && $GREP force_load conftest.err; then6768 if test -s conftest.err && $GREP force_load conftest.err; then
6608 cat conftest.err >&56769 cat conftest.err >&5
6609 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then6770 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
6610 lt_cv_ld_force_load=yes6771 lt_cv_ld_force_load=yes
6611 else6772 else
6612 cat conftest.err >&56773 cat conftest.err >&5
@@ -6619,32 +6780,32 @@
6619$as_echo "$lt_cv_ld_force_load" >&6; }6780$as_echo "$lt_cv_ld_force_load" >&6; }
6620 case $host_os in6781 case $host_os in
6621 rhapsody* | darwin1.[012])6782 rhapsody* | darwin1.[012])
6622 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;6783 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
6623 darwin1.*)6784 darwin1.*)
6624 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;6785 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6625 darwin*) # darwin 5.x on6786 darwin*) # darwin 5.x on
6626 # if running on 10.5 or later, the deployment target defaults6787 # if running on 10.5 or later, the deployment target defaults
6627 # to the OS version, if on x86, and 10.4, the deployment6788 # to the OS version, if on x86, and 10.4, the deployment
6628 # target defaults to 10.4. Don't you love it?6789 # target defaults to 10.4. Don't you love it?
6629 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in6790 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6630 10.0,*86*-darwin8*|10.0,*-darwin[91]*)6791 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6631 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;6792 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
6632 10.[012]*)6793 10.[012][,.]*)
6633 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;6794 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6634 10.*)6795 10.*)
6635 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;6796 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
6636 esac6797 esac
6637 ;;6798 ;;
6638 esac6799 esac
6639 if test "$lt_cv_apple_cc_single_mod" = "yes"; then6800 if test yes = "$lt_cv_apple_cc_single_mod"; then
6640 _lt_dar_single_mod='$single_module'6801 _lt_dar_single_mod='$single_module'
6641 fi6802 fi
6642 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then6803 if test yes = "$lt_cv_ld_exported_symbols_list"; then
6643 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'6804 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6644 else6805 else
6645 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'6806 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6646 fi6807 fi
6647 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then6808 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
6648 _lt_dsymutil='~$DSYMUTIL $lib || :'6809 _lt_dsymutil='~$DSYMUTIL $lib || :'
6649 else6810 else
6650 _lt_dsymutil=6811 _lt_dsymutil=
@@ -6652,6 +6813,41 @@
6652 ;;6813 ;;
6653 esac6814 esac
66546815
6816# func_munge_path_list VARIABLE PATH
6817# -----------------------------------
6818# VARIABLE is name of variable containing _space_ separated list of
6819# directories to be munged by the contents of PATH, which is string
6820# having a format:
6821# "DIR[:DIR]:"
6822# string "DIR[ DIR]" will be prepended to VARIABLE
6823# ":DIR[:DIR]"
6824# string "DIR[ DIR]" will be appended to VARIABLE
6825# "DIRP[:DIRP]::[DIRA:]DIRA"
6826# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6827# "DIRA[ DIRA]" will be appended to VARIABLE
6828# "DIR[:DIR]"
6829# VARIABLE will be replaced by "DIR[ DIR]"
6830func_munge_path_list ()
6831{
6832 case x$2 in
6833 x)
6834 ;;
6835 *:)
6836 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
6837 ;;
6838 x:*)
6839 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6840 ;;
6841 *::*)
6842 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6843 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
6844 ;;
6845 *)
6846 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6847 ;;
6848 esac
6849}
6850
6655ac_ext=c6851ac_ext=c
6656ac_cpp='$CPP $CPPFLAGS'6852ac_cpp='$CPP $CPPFLAGS'
6657ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -6955,14 +7151,14 @@
6955 *)7151 *)
6956 enable_shared=no7152 enable_shared=no
6957 # Look at the argument we got. We use all the common list separators.7153 # Look at the argument we got. We use all the common list separators.
6958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"7154 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
6959 for pkg in $enableval; do7155 for pkg in $enableval; do
6960 IFS="$lt_save_ifs"7156 IFS=$lt_save_ifs
6961 if test "X$pkg" = "X$p"; then7157 if test "X$pkg" = "X$p"; then
6962 enable_shared=yes7158 enable_shared=yes
6963 fi7159 fi
6964 done7160 done
6965 IFS="$lt_save_ifs"7161 IFS=$lt_save_ifs
6966 ;;7162 ;;
6967 esac7163 esac
6968else7164else
@@ -6986,14 +7182,14 @@
6986 *)7182 *)
6987 enable_static=no7183 enable_static=no
6988 # Look at the argument we got. We use all the common list separators.7184 # Look at the argument we got. We use all the common list separators.
6989 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"7185 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
6990 for pkg in $enableval; do7186 for pkg in $enableval; do
6991 IFS="$lt_save_ifs"7187 IFS=$lt_save_ifs
6992 if test "X$pkg" = "X$p"; then7188 if test "X$pkg" = "X$p"; then
6993 enable_static=yes7189 enable_static=yes
6994 fi7190 fi
6995 done7191 done
6996 IFS="$lt_save_ifs"7192 IFS=$lt_save_ifs
6997 ;;7193 ;;
6998 esac7194 esac
6999else7195else
@@ -7017,14 +7213,14 @@
7017 *)7213 *)
7018 pic_mode=default7214 pic_mode=default
7019 # Look at the argument we got. We use all the common list separators.7215 # Look at the argument we got. We use all the common list separators.
7020 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"7216 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7021 for lt_pkg in $withval; do7217 for lt_pkg in $withval; do
7022 IFS="$lt_save_ifs"7218 IFS=$lt_save_ifs
7023 if test "X$lt_pkg" = "X$lt_p"; then7219 if test "X$lt_pkg" = "X$lt_p"; then
7024 pic_mode=yes7220 pic_mode=yes
7025 fi7221 fi
7026 done7222 done
7027 IFS="$lt_save_ifs"7223 IFS=$lt_save_ifs
7028 ;;7224 ;;
7029 esac7225 esac
7030else7226else
@@ -7032,8 +7228,6 @@
7032fi7228fi
70337229
70347230
7035test -z "$pic_mode" && pic_mode=default
7036
70377231
70387232
70397233
@@ -7049,14 +7243,14 @@
7049 *)7243 *)
7050 enable_fast_install=no7244 enable_fast_install=no
7051 # Look at the argument we got. We use all the common list separators.7245 # Look at the argument we got. We use all the common list separators.
7052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"7246 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7053 for pkg in $enableval; do7247 for pkg in $enableval; do
7054 IFS="$lt_save_ifs"7248 IFS=$lt_save_ifs
7055 if test "X$pkg" = "X$p"; then7249 if test "X$pkg" = "X$p"; then
7056 enable_fast_install=yes7250 enable_fast_install=yes
7057 fi7251 fi
7058 done7252 done
7059 IFS="$lt_save_ifs"7253 IFS=$lt_save_ifs
7060 ;;7254 ;;
7061 esac7255 esac
7062else7256else
@@ -7070,11 +7264,63 @@
70707264
70717265
70727266
7267 shared_archive_member_spec=
7268case $host,$enable_shared in
7269power*-*-aix[5-9]*,yes)
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7271$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7272
7273# Check whether --with-aix-soname was given.
7274if test "${with_aix_soname+set}" = set; then :
7275 withval=$with_aix_soname; case $withval in
7276 aix|svr4|both)
7277 ;;
7278 *)
7279 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7280 ;;
7281 esac
7282 lt_cv_with_aix_soname=$with_aix_soname
7283else
7284 if ${lt_cv_with_aix_soname+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286else
7287 lt_cv_with_aix_soname=aix
7288fi
7289
7290 with_aix_soname=$lt_cv_with_aix_soname
7291fi
7292
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7294$as_echo "$with_aix_soname" >&6; }
7295 if test aix != "$with_aix_soname"; then
7296 # For the AIX way of multilib, we name the shared archive member
7297 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7298 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7299 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7300 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7301 if test 64 = "${OBJECT_MODE-32}"; then
7302 shared_archive_member_spec=shr_64
7303 else
7304 shared_archive_member_spec=shr
7305 fi
7306 fi
7307 ;;
7308*)
7309 with_aix_soname=aix
7310 ;;
7311esac
7312
7313
7314
7315
7316
7317
7318
70737319
70747320
70757321
7076# This can be used to rebuild libtool when needed7322# This can be used to rebuild libtool when needed
7077LIBTOOL_DEPS="$ltmain"7323LIBTOOL_DEPS=$ltmain
70787324
7079# Always use our own libtool.7325# Always use our own libtool.
7080LIBTOOL='$(SHELL) $(top_builddir)/libtool'7326LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -7123,7 +7369,7 @@
71237369
71247370
71257371
7126if test -n "${ZSH_VERSION+set}" ; then7372if test -n "${ZSH_VERSION+set}"; then
7127 setopt NO_GLOB_SUBST7373 setopt NO_GLOB_SUBST
7128fi7374fi
71297375
@@ -7162,7 +7408,7 @@
7162 # AIX sometimes has problems with the GCC collect2 program. For some7408 # AIX sometimes has problems with the GCC collect2 program. For some
7163 # reason, if we set the COLLECT_NAMES environment variable, the problems7409 # reason, if we set the COLLECT_NAMES environment variable, the problems
7164 # vanish in a puff of smoke.7410 # vanish in a puff of smoke.
7165 if test "X${COLLECT_NAMES+set}" != Xset; then7411 if test set != "${COLLECT_NAMES+set}"; then
7166 COLLECT_NAMES=7412 COLLECT_NAMES=
7167 export COLLECT_NAMES7413 export COLLECT_NAMES
7168 fi7414 fi
@@ -7173,14 +7419,14 @@
7173ofile=libtool7419ofile=libtool
7174can_build_shared=yes7420can_build_shared=yes
71757421
7176# All known linkers require a `.a' archive for static linking (except MSVC,7422# All known linkers require a '.a' archive for static linking (except MSVC,
7177# which needs '.lib').7423# which needs '.lib').
7178libext=a7424libext=a
71797425
7180with_gnu_ld="$lt_cv_prog_gnu_ld"7426with_gnu_ld=$lt_cv_prog_gnu_ld
71817427
7182old_CC="$CC"7428old_CC=$CC
7183old_CFLAGS="$CFLAGS"7429old_CFLAGS=$CFLAGS
71847430
7185# Set sane defaults for various variables7431# Set sane defaults for various variables
7186test -z "$CC" && CC=cc7432test -z "$CC" && CC=cc
@@ -7189,15 +7435,8 @@
7189test -z "$LD" && LD=ld7435test -z "$LD" && LD=ld
7190test -z "$ac_objext" && ac_objext=o7436test -z "$ac_objext" && ac_objext=o
71917437
7192for cc_temp in $compiler""; do7438func_cc_basename $compiler
7193 case $cc_temp in7439cc_basename=$func_cc_basename_result
7194 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7195 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7196 \-*) ;;
7197 *) break;;
7198 esac
7199done
7200cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
72017440
72027441
7203# Only perform the check for file, if the check method requires it7442# Only perform the check for file, if the check method requires it
@@ -7212,22 +7451,22 @@
7212else7451else
7213 case $MAGIC_CMD in7452 case $MAGIC_CMD in
7214[\\/*] | ?:[\\/]*)7453[\\/*] | ?:[\\/]*)
7215 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.7454 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7216 ;;7455 ;;
7217*)7456*)
7218 lt_save_MAGIC_CMD="$MAGIC_CMD"7457 lt_save_MAGIC_CMD=$MAGIC_CMD
7219 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR7458 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7220 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"7459 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7221 for ac_dir in $ac_dummy; do7460 for ac_dir in $ac_dummy; do
7222 IFS="$lt_save_ifs"7461 IFS=$lt_save_ifs
7223 test -z "$ac_dir" && ac_dir=.7462 test -z "$ac_dir" && ac_dir=.
7224 if test -f $ac_dir/${ac_tool_prefix}file; then7463 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7225 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"7464 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7226 if test -n "$file_magic_test_file"; then7465 if test -n "$file_magic_test_file"; then
7227 case $deplibs_check_method in7466 case $deplibs_check_method in
7228 "file_magic "*)7467 "file_magic "*)
7229 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`7468 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"7469 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7231 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |7470 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7232 $EGREP "$file_magic_regex" > /dev/null; then7471 $EGREP "$file_magic_regex" > /dev/null; then
7233 :7472 :
@@ -7250,13 +7489,13 @@
7250 break7489 break
7251 fi7490 fi
7252 done7491 done
7253 IFS="$lt_save_ifs"7492 IFS=$lt_save_ifs
7254 MAGIC_CMD="$lt_save_MAGIC_CMD"7493 MAGIC_CMD=$lt_save_MAGIC_CMD
7255 ;;7494 ;;
7256esac7495esac
7257fi7496fi
72587497
7259MAGIC_CMD="$lt_cv_path_MAGIC_CMD"7498MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7260if test -n "$MAGIC_CMD"; then7499if test -n "$MAGIC_CMD"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&57500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7262$as_echo "$MAGIC_CMD" >&6; }7501$as_echo "$MAGIC_CMD" >&6; }
@@ -7278,22 +7517,22 @@
7278else7517else
7279 case $MAGIC_CMD in7518 case $MAGIC_CMD in
7280[\\/*] | ?:[\\/]*)7519[\\/*] | ?:[\\/]*)
7281 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.7520 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7282 ;;7521 ;;
7283*)7522*)
7284 lt_save_MAGIC_CMD="$MAGIC_CMD"7523 lt_save_MAGIC_CMD=$MAGIC_CMD
7285 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR7524 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7286 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"7525 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7287 for ac_dir in $ac_dummy; do7526 for ac_dir in $ac_dummy; do
7288 IFS="$lt_save_ifs"7527 IFS=$lt_save_ifs
7289 test -z "$ac_dir" && ac_dir=.7528 test -z "$ac_dir" && ac_dir=.
7290 if test -f $ac_dir/file; then7529 if test -f "$ac_dir/file"; then
7291 lt_cv_path_MAGIC_CMD="$ac_dir/file"7530 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
7292 if test -n "$file_magic_test_file"; then7531 if test -n "$file_magic_test_file"; then
7293 case $deplibs_check_method in7532 case $deplibs_check_method in
7294 "file_magic "*)7533 "file_magic "*)
7295 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`7534 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7296 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"7535 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7297 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |7536 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7298 $EGREP "$file_magic_regex" > /dev/null; then7537 $EGREP "$file_magic_regex" > /dev/null; then
7299 :7538 :
@@ -7316,13 +7555,13 @@
7316 break7555 break
7317 fi7556 fi
7318 done7557 done
7319 IFS="$lt_save_ifs"7558 IFS=$lt_save_ifs
7320 MAGIC_CMD="$lt_save_MAGIC_CMD"7559 MAGIC_CMD=$lt_save_MAGIC_CMD
7321 ;;7560 ;;
7322esac7561esac
7323fi7562fi
73247563
7325MAGIC_CMD="$lt_cv_path_MAGIC_CMD"7564MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7326if test -n "$MAGIC_CMD"; then7565if test -n "$MAGIC_CMD"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&57566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7328$as_echo "$MAGIC_CMD" >&6; }7567$as_echo "$MAGIC_CMD" >&6; }
@@ -7343,7 +7582,7 @@
73437582
7344# Use C for the default configuration in the libtool script7583# Use C for the default configuration in the libtool script
73457584
7346lt_save_CC="$CC"7585lt_save_CC=$CC
7347ac_ext=c7586ac_ext=c
7348ac_cpp='$CPP $CPPFLAGS'7587ac_cpp='$CPP $CPPFLAGS'
7349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'7588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -7405,7 +7644,7 @@
74057644
7406lt_prog_compiler_no_builtin_flag=7645lt_prog_compiler_no_builtin_flag=
74077646
7408if test "$GCC" = yes; then7647if test yes = "$GCC"; then
7409 case $cc_basename in7648 case $cc_basename in
7410 nvcc*)7649 nvcc*)
7411 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;7650 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
@@ -7421,7 +7660,7 @@
7421 lt_cv_prog_compiler_rtti_exceptions=no7660 lt_cv_prog_compiler_rtti_exceptions=no
7422 ac_outfile=conftest.$ac_objext7661 ac_outfile=conftest.$ac_objext
7423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext7662 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7424 lt_compiler_flag="-fno-rtti -fno-exceptions"7663 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7425 # Insert the option either (1) after the last *FLAGS variable, or7664 # Insert the option either (1) after the last *FLAGS variable, or
7426 # (2) before a word containing "conftest.", or (3) at the end.7665 # (2) before a word containing "conftest.", or (3) at the end.
7427 # Note that $ac_compile itself does not contain backslashes and begins7666 # Note that $ac_compile itself does not contain backslashes and begins
@@ -7451,7 +7690,7 @@
7451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&57690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7452$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }7691$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
74537692
7454if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then7693if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7455 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"7694 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7456else7695else
7457 :7696 :
@@ -7469,17 +7708,18 @@
7469lt_prog_compiler_static=7708lt_prog_compiler_static=
74707709
74717710
7472 if test "$GCC" = yes; then7711 if test yes = "$GCC"; then
7473 lt_prog_compiler_wl='-Wl,'7712 lt_prog_compiler_wl='-Wl,'
7474 lt_prog_compiler_static='-static'7713 lt_prog_compiler_static='-static'
74757714
7476 case $host_os in7715 case $host_os in
7477 aix*)7716 aix*)
7478 # All AIX code is PIC.7717 # All AIX code is PIC.
7479 if test "$host_cpu" = ia64; then7718 if test ia64 = "$host_cpu"; then
7480 # AIX 5 now supports IA64 processor7719 # AIX 5 now supports IA64 processor
7481 lt_prog_compiler_static='-Bstatic'7720 lt_prog_compiler_static='-Bstatic'
7482 fi7721 fi
7722 lt_prog_compiler_pic='-fPIC'
7483 ;;7723 ;;
74847724
7485 amigaos*)7725 amigaos*)
@@ -7490,8 +7730,8 @@
7490 ;;7730 ;;
7491 m68k)7731 m68k)
7492 # FIXME: we need at least 68020 code to build shared libraries, but7732 # FIXME: we need at least 68020 code to build shared libraries, but
7493 # adding the `-m68020' flag to GCC prevents building anything better,7733 # adding the '-m68020' flag to GCC prevents building anything better,
7494 # like `-m68040'.7734 # like '-m68040'.
7495 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'7735 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7496 ;;7736 ;;
7497 esac7737 esac
@@ -7507,6 +7747,11 @@
7507 # Although the cygwin gcc ignores -fPIC, still need this for old-style7747 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7508 # (--disable-auto-import) libraries7748 # (--disable-auto-import) libraries
7509 lt_prog_compiler_pic='-DDLL_EXPORT'7749 lt_prog_compiler_pic='-DDLL_EXPORT'
7750 case $host_os in
7751 os2*)
7752 lt_prog_compiler_static='$wl-static'
7753 ;;
7754 esac
7510 ;;7755 ;;
75117756
7512 darwin* | rhapsody*)7757 darwin* | rhapsody*)
@@ -7577,7 +7822,7 @@
7577 case $host_os in7822 case $host_os in
7578 aix*)7823 aix*)
7579 lt_prog_compiler_wl='-Wl,'7824 lt_prog_compiler_wl='-Wl,'
7580 if test "$host_cpu" = ia64; then7825 if test ia64 = "$host_cpu"; then
7581 # AIX 5 now supports IA64 processor7826 # AIX 5 now supports IA64 processor
7582 lt_prog_compiler_static='-Bstatic'7827 lt_prog_compiler_static='-Bstatic'
7583 else7828 else
@@ -7585,10 +7830,29 @@
7585 fi7830 fi
7586 ;;7831 ;;
75877832
7833 darwin* | rhapsody*)
7834 # PIC is the default on this platform
7835 # Common symbols not allowed in MH_DYLIB files
7836 lt_prog_compiler_pic='-fno-common'
7837 case $cc_basename in
7838 nagfor*)
7839 # NAG Fortran compiler
7840 lt_prog_compiler_wl='-Wl,-Wl,,'
7841 lt_prog_compiler_pic='-PIC'
7842 lt_prog_compiler_static='-Bstatic'
7843 ;;
7844 esac
7845 ;;
7846
7588 mingw* | cygwin* | pw32* | os2* | cegcc*)7847 mingw* | cygwin* | pw32* | os2* | cegcc*)
7589 # This hack is so that the source file can tell whether it is being7848 # This hack is so that the source file can tell whether it is being
7590 # built for inclusion in a dll (and should export symbols for example).7849 # built for inclusion in a dll (and should export symbols for example).
7591 lt_prog_compiler_pic='-DDLL_EXPORT'7850 lt_prog_compiler_pic='-DDLL_EXPORT'
7851 case $host_os in
7852 os2*)
7853 lt_prog_compiler_static='$wl-static'
7854 ;;
7855 esac
7592 ;;7856 ;;
75937857
7594 hpux9* | hpux10* | hpux11*)7858 hpux9* | hpux10* | hpux11*)
@@ -7604,7 +7868,7 @@
7604 ;;7868 ;;
7605 esac7869 esac
7606 # Is there a better lt_prog_compiler_static that works with the bundled CC?7870 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7607 lt_prog_compiler_static='${wl}-a ${wl}archive'7871 lt_prog_compiler_static='$wl-a ${wl}archive'
7608 ;;7872 ;;
76097873
7610 irix5* | irix6* | nonstopux*)7874 irix5* | irix6* | nonstopux*)
@@ -7615,7 +7879,7 @@
76157879
7616 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)7880 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7617 case $cc_basename in7881 case $cc_basename in
7618 # old Intel for x86_64 which still supported -KPIC.7882 # old Intel for x86_64, which still supported -KPIC.
7619 ecc*)7883 ecc*)
7620 lt_prog_compiler_wl='-Wl,'7884 lt_prog_compiler_wl='-Wl,'
7621 lt_prog_compiler_pic='-KPIC'7885 lt_prog_compiler_pic='-KPIC'
@@ -7640,6 +7904,12 @@
7640 lt_prog_compiler_pic='-PIC'7904 lt_prog_compiler_pic='-PIC'
7641 lt_prog_compiler_static='-Bstatic'7905 lt_prog_compiler_static='-Bstatic'
7642 ;;7906 ;;
7907 tcc*)
7908 # Fabrice Bellard et al's Tiny C Compiler
7909 lt_prog_compiler_wl='-Wl,'
7910 lt_prog_compiler_pic='-fPIC'
7911 lt_prog_compiler_static='-static'
7912 ;;
7643 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)7913 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7644 # Portland Group compilers (*not* the Pentium gcc compiler,7914 # Portland Group compilers (*not* the Pentium gcc compiler,
7645 # which looks to be a dead project)7915 # which looks to be a dead project)
@@ -7737,7 +8007,7 @@
7737 ;;8007 ;;
77388008
7739 sysv4*MP*)8009 sysv4*MP*)
7740 if test -d /usr/nec ;then8010 if test -d /usr/nec; then
7741 lt_prog_compiler_pic='-Kconform_pic'8011 lt_prog_compiler_pic='-Kconform_pic'
7742 lt_prog_compiler_static='-Bstatic'8012 lt_prog_compiler_static='-Bstatic'
7743 fi8013 fi
@@ -7766,7 +8036,7 @@
7766 fi8036 fi
77678037
7768case $host_os in8038case $host_os in
7769 # For platforms which do not support PIC, -DPIC is meaningless:8039 # For platforms that do not support PIC, -DPIC is meaningless:
7770 *djgpp*)8040 *djgpp*)
7771 lt_prog_compiler_pic=8041 lt_prog_compiler_pic=
7772 ;;8042 ;;
@@ -7798,7 +8068,7 @@
7798 lt_cv_prog_compiler_pic_works=no8068 lt_cv_prog_compiler_pic_works=no
7799 ac_outfile=conftest.$ac_objext8069 ac_outfile=conftest.$ac_objext
7800 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8070 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7801 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"8071 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
7802 # Insert the option either (1) after the last *FLAGS variable, or8072 # Insert the option either (1) after the last *FLAGS variable, or
7803 # (2) before a word containing "conftest.", or (3) at the end.8073 # (2) before a word containing "conftest.", or (3) at the end.
7804 # Note that $ac_compile itself does not contain backslashes and begins8074 # Note that $ac_compile itself does not contain backslashes and begins
@@ -7828,7 +8098,7 @@
7828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&58098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7829$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }8099$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
78308100
7831if test x"$lt_cv_prog_compiler_pic_works" = xyes; then8101if test yes = "$lt_cv_prog_compiler_pic_works"; then
7832 case $lt_prog_compiler_pic in8102 case $lt_prog_compiler_pic in
7833 "" | " "*) ;;8103 "" | " "*) ;;
7834 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;8104 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
@@ -7860,7 +8130,7 @@
7860 $as_echo_n "(cached) " >&68130 $as_echo_n "(cached) " >&6
7861else8131else
7862 lt_cv_prog_compiler_static_works=no8132 lt_cv_prog_compiler_static_works=no
7863 save_LDFLAGS="$LDFLAGS"8133 save_LDFLAGS=$LDFLAGS
7864 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"8134 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7865 echo "$lt_simple_link_test_code" > conftest.$ac_ext8135 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7866 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then8136 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
@@ -7879,13 +8149,13 @@
7879 fi8149 fi
7880 fi8150 fi
7881 $RM -r conftest*8151 $RM -r conftest*
7882 LDFLAGS="$save_LDFLAGS"8152 LDFLAGS=$save_LDFLAGS
78838153
7884fi8154fi
7885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&58155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7886$as_echo "$lt_cv_prog_compiler_static_works" >&6; }8156$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
78878157
7888if test x"$lt_cv_prog_compiler_static_works" = xyes; then8158if test yes = "$lt_cv_prog_compiler_static_works"; then
7889 :8159 :
7890else8160else
7891 lt_prog_compiler_static=8161 lt_prog_compiler_static=
@@ -8005,8 +8275,8 @@
80058275
80068276
80078277
8008hard_links="nottested"8278hard_links=nottested
8009if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then8279if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8010 # do not overwrite the value of need_locks provided by the user8280 # do not overwrite the value of need_locks provided by the user
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&58281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8012$as_echo_n "checking if we can lock with hard links... " >&6; }8282$as_echo_n "checking if we can lock with hard links... " >&6; }
@@ -8018,9 +8288,9 @@
8018 ln conftest.a conftest.b 2>/dev/null && hard_links=no8288 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8020$as_echo "$hard_links" >&6; }8290$as_echo "$hard_links" >&6; }
8021 if test "$hard_links" = no; then8291 if test no = "$hard_links"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&58292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8023$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}8293$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8024 need_locks=warn8294 need_locks=warn
8025 fi8295 fi
8026else8296else
@@ -8063,9 +8333,9 @@
8063 # included in the symbol list8333 # included in the symbol list
8064 include_expsyms=8334 include_expsyms=
8065 # exclude_expsyms can be an extended regexp of symbols to exclude8335 # exclude_expsyms can be an extended regexp of symbols to exclude
8066 # it will be wrapped by ` (' and `)$', so one must not match beginning or8336 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8067 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',8337 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8068 # as well as any symbol that contains `d'.8338 # as well as any symbol that contains 'd'.
8069 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'8339 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8070 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out8340 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8071 # platforms (ab)use it in PIC code, but their linkers get confused if8341 # platforms (ab)use it in PIC code, but their linkers get confused if
@@ -8080,7 +8350,7 @@
8080 # FIXME: the MSVC++ port hasn't been tested in a loooong time8350 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8081 # When not using gcc, we currently assume that we are using8351 # When not using gcc, we currently assume that we are using
8082 # Microsoft Visual C++.8352 # Microsoft Visual C++.
8083 if test "$GCC" != yes; then8353 if test yes != "$GCC"; then
8084 with_gnu_ld=no8354 with_gnu_ld=no
8085 fi8355 fi
8086 ;;8356 ;;
@@ -8088,12 +8358,9 @@
8088 # we just hope/assume this is gcc and not c89 (= MSVC++)8358 # we just hope/assume this is gcc and not c89 (= MSVC++)
8089 with_gnu_ld=yes8359 with_gnu_ld=yes
8090 ;;8360 ;;
8091 openbsd*)8361 openbsd* | bitrig*)
8092 with_gnu_ld=no8362 with_gnu_ld=no
8093 ;;8363 ;;
8094 linux* | k*bsd*-gnu | gnu*)
8095 link_all_deplibs=no
8096 ;;
8097 esac8364 esac
80988365
8099 ld_shlibs=yes8366 ld_shlibs=yes
@@ -8101,7 +8368,7 @@
8101 # On some targets, GNU ld is compatible enough with the native linker8368 # On some targets, GNU ld is compatible enough with the native linker
8102 # that we're better off using the native interface for both.8369 # that we're better off using the native interface for both.
8103 lt_use_gnu_ld_interface=no8370 lt_use_gnu_ld_interface=no
8104 if test "$with_gnu_ld" = yes; then8371 if test yes = "$with_gnu_ld"; then
8105 case $host_os in8372 case $host_os in
8106 aix*)8373 aix*)
8107 # The AIX port of GNU ld has always aspired to compatibility8374 # The AIX port of GNU ld has always aspired to compatibility
@@ -8123,24 +8390,24 @@
8123 esac8390 esac
8124 fi8391 fi
81258392
8126 if test "$lt_use_gnu_ld_interface" = yes; then8393 if test yes = "$lt_use_gnu_ld_interface"; then
8127 # If archive_cmds runs LD, not CC, wlarc should be empty8394 # If archive_cmds runs LD, not CC, wlarc should be empty
8128 wlarc='${wl}'8395 wlarc='$wl'
81298396
8130 # Set some defaults for GNU ld with shared library support. These8397 # Set some defaults for GNU ld with shared library support. These
8131 # are reset later if shared libraries are not supported. Putting them8398 # are reset later if shared libraries are not supported. Putting them
8132 # here allows them to be overridden if necessary.8399 # here allows them to be overridden if necessary.
8133 runpath_var=LD_RUN_PATH8400 runpath_var=LD_RUN_PATH
8134 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'8401 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8135 export_dynamic_flag_spec='${wl}--export-dynamic'8402 export_dynamic_flag_spec='$wl--export-dynamic'
8136 # ancient GNU ld didn't support --whole-archive et. al.8403 # ancient GNU ld didn't support --whole-archive et. al.
8137 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then8404 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8138 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'8405 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8139 else8406 else
8140 whole_archive_flag_spec=8407 whole_archive_flag_spec=
8141 fi8408 fi
8142 supports_anon_versioning=no8409 supports_anon_versioning=no
8143 case `$LD -v 2>&1` in8410 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8144 *GNU\ gold*) supports_anon_versioning=yes ;;8411 *GNU\ gold*) supports_anon_versioning=yes ;;
8145 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.118412 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8146 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...8413 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
@@ -8153,7 +8420,7 @@
8153 case $host_os in8420 case $host_os in
8154 aix[3-9]*)8421 aix[3-9]*)
8155 # On AIX/PPC, the GNU linker is very broken8422 # On AIX/PPC, the GNU linker is very broken
8156 if test "$host_cpu" != ia64; then8423 if test ia64 != "$host_cpu"; then
8157 ld_shlibs=no8424 ld_shlibs=no
8158 cat <<_LT_EOF 1>&28425 cat <<_LT_EOF 1>&2
81598426
@@ -8172,7 +8439,7 @@
8172 case $host_cpu in8439 case $host_cpu in
8173 powerpc)8440 powerpc)
8174 # see comment about AmigaOS4 .so support8441 # see comment about AmigaOS4 .so support
8175 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8176 archive_expsym_cmds=''8443 archive_expsym_cmds=''
8177 ;;8444 ;;
8178 m68k)8445 m68k)
@@ -8188,7 +8455,7 @@
8188 allow_undefined_flag=unsupported8455 allow_undefined_flag=unsupported
8189 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc8456 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8190 # support --undefined. This deserves some investigation. FIXME8457 # support --undefined. This deserves some investigation. FIXME
8191 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8458 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8192 else8459 else
8193 ld_shlibs=no8460 ld_shlibs=no
8194 fi8461 fi
@@ -8198,7 +8465,7 @@
8198 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,8465 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8199 # as there is no search path for DLLs.8466 # as there is no search path for DLLs.
8200 hardcode_libdir_flag_spec='-L$libdir'8467 hardcode_libdir_flag_spec='-L$libdir'
8201 export_dynamic_flag_spec='${wl}--export-all-symbols'8468 export_dynamic_flag_spec='$wl--export-all-symbols'
8202 allow_undefined_flag=unsupported8469 allow_undefined_flag=unsupported
8203 always_export_symbols=no8470 always_export_symbols=no
8204 enable_shared_with_static_runtimes=yes8471 enable_shared_with_static_runtimes=yes
@@ -8206,61 +8473,89 @@
8206 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'8473 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
82078474
8208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then8475 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'8476 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8210 # If the export-symbols file already is a .def file (1st line8477 # If the export-symbols file already is a .def file, use it as
8211 # is EXPORTS), use it as is; otherwise, prepend...8478 # is; otherwise, prepend EXPORTS...
8212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then8479 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8213 cp $export_symbols $output_objdir/$soname.def;8480 cp $export_symbols $output_objdir/$soname.def;
8214 else8481 else
8215 echo EXPORTS > $output_objdir/$soname.def;8482 echo EXPORTS > $output_objdir/$soname.def;
8216 cat $export_symbols >> $output_objdir/$soname.def;8483 cat $export_symbols >> $output_objdir/$soname.def;
8217 fi~8484 fi~
8218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'8485 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8219 else8486 else
8220 ld_shlibs=no8487 ld_shlibs=no
8221 fi8488 fi
8222 ;;8489 ;;
82238490
8224 haiku*)8491 haiku*)
8225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8226 link_all_deplibs=yes8493 link_all_deplibs=yes
8227 ;;8494 ;;
82288495
8496 os2*)
8497 hardcode_libdir_flag_spec='-L$libdir'
8498 hardcode_minus_L=yes
8499 allow_undefined_flag=unsupported
8500 shrext_cmds=.dll
8501 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8502 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8503 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8504 $ECHO EXPORTS >> $output_objdir/$libname.def~
8505 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8506 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8507 emximp -o $lib $output_objdir/$libname.def'
8508 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8509 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8510 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8511 $ECHO EXPORTS >> $output_objdir/$libname.def~
8512 prefix_cmds="$SED"~
8513 if test EXPORTS = "`$SED 1q $export_symbols`"; then
8514 prefix_cmds="$prefix_cmds -e 1d";
8515 fi~
8516 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8517 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8518 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8519 emximp -o $lib $output_objdir/$libname.def'
8520 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8521 enable_shared_with_static_runtimes=yes
8522 ;;
8523
8229 interix[3-9]*)8524 interix[3-9]*)
8230 hardcode_direct=no8525 hardcode_direct=no
8231 hardcode_shlibpath_var=no8526 hardcode_shlibpath_var=no
8232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'8527 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8233 export_dynamic_flag_spec='${wl}-E'8528 export_dynamic_flag_spec='$wl-E'
8234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.8529 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8235 # Instead, shared libraries are loaded at an image base (0x10000000 by8530 # Instead, shared libraries are loaded at an image base (0x10000000 by
8236 # default) and relocated if they conflict, which is a slow very memory8531 # default) and relocated if they conflict, which is a slow very memory
8237 # consuming and fragmenting process. To avoid this, we pick a random,8532 # consuming and fragmenting process. To avoid this, we pick a random,
8238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link8533 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.8534 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'8535 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8241 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'8536 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'
8242 ;;8537 ;;
82438538
8244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)8539 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8245 tmp_diet=no8540 tmp_diet=no
8246 if test "$host_os" = linux-dietlibc; then8541 if test linux-dietlibc = "$host_os"; then
8247 case $cc_basename in8542 case $cc_basename in
8248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)8543 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8249 esac8544 esac
8250 fi8545 fi
8251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \8546 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8252 && test "$tmp_diet" = no8547 && test no = "$tmp_diet"
8253 then8548 then
8254 tmp_addflag=' $pic_flag'8549 tmp_addflag=' $pic_flag'
8255 tmp_sharedflag='-shared'8550 tmp_sharedflag='-shared'
8256 case $cc_basename,$host_cpu in8551 case $cc_basename,$host_cpu in
8257 pgcc*) # Portland Group C compiler8552 pgcc*) # Portland Group C compiler
8258 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'8553 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'
8259 tmp_addflag=' $pic_flag'8554 tmp_addflag=' $pic_flag'
8260 ;;8555 ;;
8261 pgf77* | pgf90* | pgf95* | pgfortran*)8556 pgf77* | pgf90* | pgf95* | pgfortran*)
8262 # Portland Group f77 and f90 compilers8557 # Portland Group f77 and f90 compilers
8263 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'8558 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'
8264 tmp_addflag=' $pic_flag -Mnomain' ;;8559 tmp_addflag=' $pic_flag -Mnomain' ;;
8265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia648560 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8266 tmp_addflag=' -i_dynamic' ;;8561 tmp_addflag=' -i_dynamic' ;;
@@ -8271,42 +8566,47 @@
8271 lf95*) # Lahey Fortran 8.18566 lf95*) # Lahey Fortran 8.1
8272 whole_archive_flag_spec=8567 whole_archive_flag_spec=
8273 tmp_sharedflag='--shared' ;;8568 tmp_sharedflag='--shared' ;;
8569 nagfor*) # NAGFOR 5.3
8570 tmp_sharedflag='-Wl,-shared' ;;
8274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)8571 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8275 tmp_sharedflag='-qmkshrobj'8572 tmp_sharedflag='-qmkshrobj'
8276 tmp_addflag= ;;8573 tmp_addflag= ;;
8277 nvcc*) # Cuda Compiler Driver 2.28574 nvcc*) # Cuda Compiler Driver 2.2
8278 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'8575 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'
8279 compiler_needs_object=yes8576 compiler_needs_object=yes
8280 ;;8577 ;;
8281 esac8578 esac
8282 case `$CC -V 2>&1 | sed 5q` in8579 case `$CC -V 2>&1 | sed 5q` in
8283 *Sun\ C*) # Sun C 5.98580 *Sun\ C*) # Sun C 5.9
8284 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'8581 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'
8285 compiler_needs_object=yes8582 compiler_needs_object=yes
8286 tmp_sharedflag='-G' ;;8583 tmp_sharedflag='-G' ;;
8287 *Sun\ F*) # Sun Fortran 8.38584 *Sun\ F*) # Sun Fortran 8.3
8288 tmp_sharedflag='-G' ;;8585 tmp_sharedflag='-G' ;;
8289 esac8586 esac
8290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8587 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
82918588
8292 if test "x$supports_anon_versioning" = xyes; then8589 if test yes = "$supports_anon_versioning"; then
8293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~8590 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~8591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8295 echo "local: *; };" >> $output_objdir/$libname.ver~8592 echo "local: *; };" >> $output_objdir/$libname.ver~
8296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'8593 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8297 fi8594 fi
82988595
8299 case $cc_basename in8596 case $cc_basename in
8597 tcc*)
8598 export_dynamic_flag_spec='-rdynamic'
8599 ;;
8300 xlf* | bgf* | bgxlf* | mpixlf*)8600 xlf* | bgf* | bgxlf* | mpixlf*)
8301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself8601 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'8602 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'8603 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8304 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'8604 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8305 if test "x$supports_anon_versioning" = xyes; then8605 if test yes = "$supports_anon_versioning"; then
8306 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~8606 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8307 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~8607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8308 echo "local: *; };" >> $output_objdir/$libname.ver~8608 echo "local: *; };" >> $output_objdir/$libname.ver~
8309 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'8609 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8310 fi8610 fi
8311 ;;8611 ;;
8312 esac8612 esac
@@ -8315,13 +8615,13 @@
8315 fi8615 fi
8316 ;;8616 ;;
83178617
8318 netbsd* | netbsdelf*-gnu)8618 netbsd*)
8319 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then8619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8320 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'8620 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8321 wlarc=8621 wlarc=
8322 else8622 else
8323 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8623 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8324 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'8624 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8325 fi8625 fi
8326 ;;8626 ;;
83278627
@@ -8339,8 +8639,8 @@
83398639
8340_LT_EOF8640_LT_EOF
8341 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then8641 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8342 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8642 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8343 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'8643 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8344 else8644 else
8345 ld_shlibs=no8645 ld_shlibs=no
8346 fi8646 fi
@@ -8352,7 +8652,7 @@
8352 ld_shlibs=no8652 ld_shlibs=no
8353 cat <<_LT_EOF 1>&28653 cat <<_LT_EOF 1>&2
83548654
8355*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not8655*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8356*** reliably create shared libraries on SCO systems. Therefore, libtool8656*** reliably create shared libraries on SCO systems. Therefore, libtool
8357*** is disabling shared libraries support. We urge you to upgrade GNU8657*** is disabling shared libraries support. We urge you to upgrade GNU
8358*** binutils to release 2.16.91.0.3 or newer. Another option is to modify8658*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
@@ -8367,9 +8667,9 @@
8367 # DT_RUNPATH tag from executables and libraries. But doing so8667 # DT_RUNPATH tag from executables and libraries. But doing so
8368 # requires that you compile everything twice, which is a pain.8668 # requires that you compile everything twice, which is a pain.
8369 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then8669 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8370 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'8670 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8371 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8372 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'8672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8373 else8673 else
8374 ld_shlibs=no8674 ld_shlibs=no
8375 fi8675 fi
@@ -8386,15 +8686,15 @@
83868686
8387 *)8687 *)
8388 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then8688 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8389 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8689 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8390 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'8690 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8391 else8691 else
8392 ld_shlibs=no8692 ld_shlibs=no
8393 fi8693 fi
8394 ;;8694 ;;
8395 esac8695 esac
83968696
8397 if test "$ld_shlibs" = no; then8697 if test no = "$ld_shlibs"; then
8398 runpath_var=8698 runpath_var=
8399 hardcode_libdir_flag_spec=8699 hardcode_libdir_flag_spec=
8400 export_dynamic_flag_spec=8700 export_dynamic_flag_spec=
@@ -8410,7 +8710,7 @@
8410 # Note: this linker hardcodes the directories in LIBPATH if there8710 # Note: this linker hardcodes the directories in LIBPATH if there
8411 # are no directories specified by -L.8711 # are no directories specified by -L.
8412 hardcode_minus_L=yes8712 hardcode_minus_L=yes
8413 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then8713 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8414 # Neither direct hardcoding nor static linking is supported with a8714 # Neither direct hardcoding nor static linking is supported with a
8415 # broken collect2.8715 # broken collect2.
8416 hardcode_direct=unsupported8716 hardcode_direct=unsupported
@@ -8418,34 +8718,57 @@
8418 ;;8718 ;;
84198719
8420 aix[4-9]*)8720 aix[4-9]*)
8421 if test "$host_cpu" = ia64; then8721 if test ia64 = "$host_cpu"; then
8422 # On IA64, the linker does run time linking by default, so we don't8722 # On IA64, the linker does run time linking by default, so we don't
8423 # have to do anything special.8723 # have to do anything special.
8424 aix_use_runtimelinking=no8724 aix_use_runtimelinking=no
8425 exp_sym_flag='-Bexport'8725 exp_sym_flag='-Bexport'
8426 no_entry_flag=""8726 no_entry_flag=
8427 else8727 else
8428 # If we're using GNU nm, then we don't want the "-C" option.8728 # If we're using GNU nm, then we don't want the "-C" option.
8429 # -C means demangle to AIX nm, but means don't demangle with GNU nm8729 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
8430 # Also, AIX nm treats weak defined symbols like other global8730 # Without the "-l" option, or with the "-B" option, AIX nm treats
8431 # defined symbols, whereas GNU nm marks them as "W".8731 # weak defined symbols like other global defined symbols, whereas
8732 # GNU nm marks them as "W".
8733 # While the 'weak' keyword is ignored in the Export File, we need
8734 # it in the Import File for the 'aix-soname' feature, so we have
8735 # to replace the "-B" option with "-P" for AIX nm.
8432 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then8736 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8433 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'8737 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'
8434 else8738 else
8435 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'8739 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'
8436 fi8740 fi
8437 aix_use_runtimelinking=no8741 aix_use_runtimelinking=no
84388742
8439 # Test if we are trying to use run time linking or normal8743 # Test if we are trying to use run time linking or normal
8440 # AIX style linking. If -brtl is somewhere in LDFLAGS, we8744 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8441 # need to do runtime linking.8745 # have runtime linking enabled, and use it for executables.
8746 # For shared libraries, we enable/disable runtime linking
8747 # depending on the kind of the shared library created -
8748 # when "with_aix_soname,aix_use_runtimelinking" is:
8749 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
8750 # "aix,yes" lib.so shared, rtl:yes, for executables
8751 # lib.a static archive
8752 # "both,no" lib.so.V(shr.o) shared, rtl:yes
8753 # lib.a(lib.so.V) shared, rtl:no, for executables
8754 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8755 # lib.a(lib.so.V) shared, rtl:no
8756 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
8757 # lib.a static archive
8442 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)8758 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8443 for ld_flag in $LDFLAGS; do8759 for ld_flag in $LDFLAGS; do
8444 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then8760 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
8445 aix_use_runtimelinking=yes8761 aix_use_runtimelinking=yes
8446 break8762 break
8447 fi8763 fi
8448 done8764 done
8765 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
8766 # With aix-soname=svr4, we create the lib.so.V shared archives only,
8767 # so we don't have lib.a shared libs to link our executables.
8768 # We have to force runtime linking in this case.
8769 aix_use_runtimelinking=yes
8770 LDFLAGS="$LDFLAGS -Wl,-brtl"
8771 fi
8449 ;;8772 ;;
8450 esac8773 esac
84518774
@@ -8464,13 +8787,21 @@
8464 hardcode_direct_absolute=yes8787 hardcode_direct_absolute=yes
8465 hardcode_libdir_separator=':'8788 hardcode_libdir_separator=':'
8466 link_all_deplibs=yes8789 link_all_deplibs=yes
8467 file_list_spec='${wl}-f,'8790 file_list_spec='$wl-f,'
8791 case $with_aix_soname,$aix_use_runtimelinking in
8792 aix,*) ;; # traditional, no import file
8793 svr4,* | *,yes) # use import file
8794 # The Import File defines what to hardcode.
8795 hardcode_direct=no
8796 hardcode_direct_absolute=no
8797 ;;
8798 esac
84688799
8469 if test "$GCC" = yes; then8800 if test yes = "$GCC"; then
8470 case $host_os in aix4.[012]|aix4.[012].*)8801 case $host_os in aix4.[012]|aix4.[012].*)
8471 # We only want to do this on AIX 4.2 and lower, the check8802 # We only want to do this on AIX 4.2 and lower, the check
8472 # below for broken collect2 doesn't work under 4.3+8803 # below for broken collect2 doesn't work under 4.3+
8473 collect2name=`${CC} -print-prog-name=collect2`8804 collect2name=`$CC -print-prog-name=collect2`
8474 if test -f "$collect2name" &&8805 if test -f "$collect2name" &&
8475 strings "$collect2name" | $GREP resolve_lib_name >/dev/null8806 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8476 then8807 then
@@ -8489,36 +8820,42 @@
8489 ;;8820 ;;
8490 esac8821 esac
8491 shared_flag='-shared'8822 shared_flag='-shared'
8492 if test "$aix_use_runtimelinking" = yes; then8823 if test yes = "$aix_use_runtimelinking"; then
8493 shared_flag="$shared_flag "'${wl}-G'8824 shared_flag="$shared_flag "'$wl-G'
8494 fi8825 fi
8495 link_all_deplibs=no8826 # Need to ensure runtime linking is disabled for the traditional
8827 # shared library, or the linker may eventually find shared libraries
8828 # /with/ Import File - we do not want to mix them.
8829 shared_flag_aix='-shared'
8830 shared_flag_svr4='-shared $wl-G'
8496 else8831 else
8497 # not using gcc8832 # not using gcc
8498 if test "$host_cpu" = ia64; then8833 if test ia64 = "$host_cpu"; then
8499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release8834 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8500 # chokes on -Wl,-G. The following line is correct:8835 # chokes on -Wl,-G. The following line is correct:
8501 shared_flag='-G'8836 shared_flag='-G'
8502 else8837 else
8503 if test "$aix_use_runtimelinking" = yes; then8838 if test yes = "$aix_use_runtimelinking"; then
8504 shared_flag='${wl}-G'8839 shared_flag='$wl-G'
8505 else8840 else
8506 shared_flag='${wl}-bM:SRE'8841 shared_flag='$wl-bM:SRE'
8507 fi8842 fi
8843 shared_flag_aix='$wl-bM:SRE'
8844 shared_flag_svr4='$wl-G'
8508 fi8845 fi
8509 fi8846 fi
85108847
8511 export_dynamic_flag_spec='${wl}-bexpall'8848 export_dynamic_flag_spec='$wl-bexpall'
8512 # It seems that -bexpall does not export symbols beginning with8849 # It seems that -bexpall does not export symbols beginning with
8513 # underscore (_), so it is better to generate a list of symbols to export.8850 # underscore (_), so it is better to generate a list of symbols to export.
8514 always_export_symbols=yes8851 always_export_symbols=yes
8515 if test "$aix_use_runtimelinking" = yes; then8852 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8516 # Warning - without using the other runtime loading flags (-brtl),8853 # Warning - without using the other runtime loading flags (-brtl),
8517 # -berok will link without error, but may produce a broken library.8854 # -berok will link without error, but may produce a broken library.
8518 allow_undefined_flag='-berok'8855 allow_undefined_flag='-berok'
8519 # Determine the default libpath from the value encoded in an8856 # Determine the default libpath from the value encoded in an
8520 # empty executable.8857 # empty executable.
8521 if test "${lt_cv_aix_libpath+set}" = set; then8858 if test set = "${lt_cv_aix_libpath+set}"; then
8522 aix_libpath=$lt_cv_aix_libpath8859 aix_libpath=$lt_cv_aix_libpath
8523else8860else
8524 if ${lt_cv_aix_libpath_+:} false; then :8861 if ${lt_cv_aix_libpath_+:} false; then :
@@ -8553,7 +8890,7 @@
8553rm -f core conftest.err conftest.$ac_objext \8890rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext8891 conftest$ac_exeext conftest.$ac_ext
8555 if test -z "$lt_cv_aix_libpath_"; then8892 if test -z "$lt_cv_aix_libpath_"; then
8556 lt_cv_aix_libpath_="/usr/lib:/lib"8893 lt_cv_aix_libpath_=/usr/lib:/lib
8557 fi8894 fi
85588895
8559fi8896fi
@@ -8561,17 +8898,17 @@
8561 aix_libpath=$lt_cv_aix_libpath_8898 aix_libpath=$lt_cv_aix_libpath_
8562fi8899fi
85638900
8564 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"8901 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
8565 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"8902 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
8566 else8903 else
8567 if test "$host_cpu" = ia64; then8904 if test ia64 = "$host_cpu"; then
8568 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'8905 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
8569 allow_undefined_flag="-z nodefs"8906 allow_undefined_flag="-z nodefs"
8570 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"8907 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"
8571 else8908 else
8572 # Determine the default libpath from the value encoded in an8909 # Determine the default libpath from the value encoded in an
8573 # empty executable.8910 # empty executable.
8574 if test "${lt_cv_aix_libpath+set}" = set; then8911 if test set = "${lt_cv_aix_libpath+set}"; then
8575 aix_libpath=$lt_cv_aix_libpath8912 aix_libpath=$lt_cv_aix_libpath
8576else8913else
8577 if ${lt_cv_aix_libpath_+:} false; then :8914 if ${lt_cv_aix_libpath_+:} false; then :
@@ -8606,7 +8943,7 @@
8606rm -f core conftest.err conftest.$ac_objext \8943rm -f core conftest.err conftest.$ac_objext \
8607 conftest$ac_exeext conftest.$ac_ext8944 conftest$ac_exeext conftest.$ac_ext
8608 if test -z "$lt_cv_aix_libpath_"; then8945 if test -z "$lt_cv_aix_libpath_"; then
8609 lt_cv_aix_libpath_="/usr/lib:/lib"8946 lt_cv_aix_libpath_=/usr/lib:/lib
8610 fi8947 fi
86118948
8612fi8949fi
@@ -8614,21 +8951,33 @@
8614 aix_libpath=$lt_cv_aix_libpath_8951 aix_libpath=$lt_cv_aix_libpath_
8615fi8952fi
86168953
8617 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"8954 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
8618 # Warning - without using the other run time loading flags,8955 # Warning - without using the other run time loading flags,
8619 # -berok will link without error, but may produce a broken library.8956 # -berok will link without error, but may produce a broken library.
8620 no_undefined_flag=' ${wl}-bernotok'8957 no_undefined_flag=' $wl-bernotok'
8621 allow_undefined_flag=' ${wl}-berok'8958 allow_undefined_flag=' $wl-berok'
8622 if test "$with_gnu_ld" = yes; then8959 if test yes = "$with_gnu_ld"; then
8623 # We only use this code for GNU lds that support --whole-archive.8960 # We only use this code for GNU lds that support --whole-archive.
8624 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'8961 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
8625 else8962 else
8626 # Exported symbols can be pulled into shared objects from archives8963 # Exported symbols can be pulled into shared objects from archives
8627 whole_archive_flag_spec='$convenience'8964 whole_archive_flag_spec='$convenience'
8628 fi8965 fi
8629 archive_cmds_need_lc=yes8966 archive_cmds_need_lc=yes
8630 # This is similar to how AIX traditionally builds its shared libraries.8967 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8631 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'8968 # -brtl affects multiple linker settings, -berok does not and is overridden later
8969 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8970 if test svr4 != "$with_aix_soname"; then
8971 # This is similar to how AIX traditionally builds its shared libraries.
8972 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'
8973 fi
8974 if test aix != "$with_aix_soname"; then
8975 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'
8976 else
8977 # used by -dlpreopen to get the symbols
8978 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
8979 fi
8980 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
8632 fi8981 fi
8633 fi8982 fi
8634 ;;8983 ;;
@@ -8637,7 +8986,7 @@
8637 case $host_cpu in8986 case $host_cpu in
8638 powerpc)8987 powerpc)
8639 # see comment about AmigaOS4 .so support8988 # see comment about AmigaOS4 .so support
8640 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'8989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8641 archive_expsym_cmds=''8990 archive_expsym_cmds=''
8642 ;;8991 ;;
8643 m68k)8992 m68k)
@@ -8667,16 +9016,17 @@
8667 # Tell ltmain to make .lib files, not .a files.9016 # Tell ltmain to make .lib files, not .a files.
8668 libext=lib9017 libext=lib
8669 # Tell ltmain to make .dll files, not .so files.9018 # Tell ltmain to make .dll files, not .so files.
8670 shrext_cmds=".dll"9019 shrext_cmds=.dll
8671 # FIXME: Setting linknames here is a bad hack.9020 # FIXME: Setting linknames here is a bad hack.
8672 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='9021 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
8673 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then9022 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8674 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;9023 cp "$export_symbols" "$output_objdir/$soname.def";
8675 else9024 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
8676 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;9025 else
8677 fi~9026 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
8678 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~9027 fi~
8679 linknames='9028 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9029 linknames='
8680 # The linker will not automatically build a static lib if we build a DLL.9030 # The linker will not automatically build a static lib if we build a DLL.
8681 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'9031 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8682 enable_shared_with_static_runtimes=yes9032 enable_shared_with_static_runtimes=yes
@@ -8685,18 +9035,18 @@
8685 # Don't use ranlib9035 # Don't use ranlib
8686 old_postinstall_cmds='chmod 644 $oldlib'9036 old_postinstall_cmds='chmod 644 $oldlib'
8687 postlink_cmds='lt_outputfile="@OUTPUT@"~9037 postlink_cmds='lt_outputfile="@OUTPUT@"~
8688 lt_tool_outputfile="@TOOL_OUTPUT@"~9038 lt_tool_outputfile="@TOOL_OUTPUT@"~
8689 case $lt_outputfile in9039 case $lt_outputfile in
8690 *.exe|*.EXE) ;;9040 *.exe|*.EXE) ;;
8691 *)9041 *)
8692 lt_outputfile="$lt_outputfile.exe"9042 lt_outputfile=$lt_outputfile.exe
8693 lt_tool_outputfile="$lt_tool_outputfile.exe"9043 lt_tool_outputfile=$lt_tool_outputfile.exe
8694 ;;9044 ;;
8695 esac~9045 esac~
8696 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then9046 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
8697 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;9047 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8698 $RM "$lt_outputfile.manifest";9048 $RM "$lt_outputfile.manifest";
8699 fi'9049 fi'
8700 ;;9050 ;;
8701 *)9051 *)
8702 # Assume MSVC wrapper9052 # Assume MSVC wrapper
@@ -8705,7 +9055,7 @@
8705 # Tell ltmain to make .lib files, not .a files.9055 # Tell ltmain to make .lib files, not .a files.
8706 libext=lib9056 libext=lib
8707 # Tell ltmain to make .dll files, not .so files.9057 # Tell ltmain to make .dll files, not .so files.
8708 shrext_cmds=".dll"9058 shrext_cmds=.dll
8709 # FIXME: Setting linknames here is a bad hack.9059 # FIXME: Setting linknames here is a bad hack.
8710 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='9060 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8711 # The linker will automatically build a .lib file if we build a DLL.9061 # The linker will automatically build a .lib file if we build a DLL.
@@ -8724,24 +9074,24 @@
8724 hardcode_direct=no9074 hardcode_direct=no
8725 hardcode_automatic=yes9075 hardcode_automatic=yes
8726 hardcode_shlibpath_var=unsupported9076 hardcode_shlibpath_var=unsupported
8727 if test "$lt_cv_ld_force_load" = "yes"; then9077 if test yes = "$lt_cv_ld_force_load"; then
8728 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\"`'9078 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\"`'
87299079
8730 else9080 else
8731 whole_archive_flag_spec=''9081 whole_archive_flag_spec=''
8732 fi9082 fi
8733 link_all_deplibs=yes9083 link_all_deplibs=yes
8734 allow_undefined_flag="$_lt_dar_allow_undefined"9084 allow_undefined_flag=$_lt_dar_allow_undefined
8735 case $cc_basename in9085 case $cc_basename in
8736 ifort*) _lt_dar_can_shared=yes ;;9086 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
8737 *) _lt_dar_can_shared=$GCC ;;9087 *) _lt_dar_can_shared=$GCC ;;
8738 esac9088 esac
8739 if test "$_lt_dar_can_shared" = "yes"; then9089 if test yes = "$_lt_dar_can_shared"; then
8740 output_verbose_link_cmd=func_echo_all9090 output_verbose_link_cmd=func_echo_all
8741 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"9091 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
8742 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"9092 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
8743 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}"9093 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"
8744 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}"9094 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"
87459095
8746 else9096 else
8747 ld_shlibs=no9097 ld_shlibs=no
@@ -8783,33 +9133,33 @@
8783 ;;9133 ;;
87849134
8785 hpux9*)9135 hpux9*)
8786 if test "$GCC" = yes; then9136 if test yes = "$GCC"; then
8787 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'9137 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'
8788 else9138 else
8789 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'9139 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'
8790 fi9140 fi
8791 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'9141 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
8792 hardcode_libdir_separator=:9142 hardcode_libdir_separator=:
8793 hardcode_direct=yes9143 hardcode_direct=yes
87949144
8795 # hardcode_minus_L: Not really in the search PATH,9145 # hardcode_minus_L: Not really in the search PATH,
8796 # but as the default location of the library.9146 # but as the default location of the library.
8797 hardcode_minus_L=yes9147 hardcode_minus_L=yes
8798 export_dynamic_flag_spec='${wl}-E'9148 export_dynamic_flag_spec='$wl-E'
8799 ;;9149 ;;
88009150
8801 hpux10*)9151 hpux10*)
8802 if test "$GCC" = yes && test "$with_gnu_ld" = no; then9152 if test yes,no = "$GCC,$with_gnu_ld"; then
8803 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9153 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8804 else9154 else
8805 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9155 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8806 fi9156 fi
8807 if test "$with_gnu_ld" = no; then9157 if test no = "$with_gnu_ld"; then
8808 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'9158 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
8809 hardcode_libdir_separator=:9159 hardcode_libdir_separator=:
8810 hardcode_direct=yes9160 hardcode_direct=yes
8811 hardcode_direct_absolute=yes9161 hardcode_direct_absolute=yes
8812 export_dynamic_flag_spec='${wl}-E'9162 export_dynamic_flag_spec='$wl-E'
8813 # hardcode_minus_L: Not really in the search PATH,9163 # hardcode_minus_L: Not really in the search PATH,
8814 # but as the default location of the library.9164 # but as the default location of the library.
8815 hardcode_minus_L=yes9165 hardcode_minus_L=yes
@@ -8817,25 +9167,25 @@
8817 ;;9167 ;;
88189168
8819 hpux11*)9169 hpux11*)
8820 if test "$GCC" = yes && test "$with_gnu_ld" = no; then9170 if test yes,no = "$GCC,$with_gnu_ld"; then
8821 case $host_cpu in9171 case $host_cpu in
8822 hppa*64*)9172 hppa*64*)
8823 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'9173 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8824 ;;9174 ;;
8825 ia64*)9175 ia64*)
8826 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9176 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8827 ;;9177 ;;
8828 *)9178 *)
8829 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9179 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8830 ;;9180 ;;
8831 esac9181 esac
8832 else9182 else
8833 case $host_cpu in9183 case $host_cpu in
8834 hppa*64*)9184 hppa*64*)
8835 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'9185 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8836 ;;9186 ;;
8837 ia64*)9187 ia64*)
8838 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9188 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8839 ;;9189 ;;
8840 *)9190 *)
88419191
@@ -8847,7 +9197,7 @@
8847 $as_echo_n "(cached) " >&69197 $as_echo_n "(cached) " >&6
8848else9198else
8849 lt_cv_prog_compiler__b=no9199 lt_cv_prog_compiler__b=no
8850 save_LDFLAGS="$LDFLAGS"9200 save_LDFLAGS=$LDFLAGS
8851 LDFLAGS="$LDFLAGS -b"9201 LDFLAGS="$LDFLAGS -b"
8852 echo "$lt_simple_link_test_code" > conftest.$ac_ext9202 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8853 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then9203 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
@@ -8866,14 +9216,14 @@
8866 fi9216 fi
8867 fi9217 fi
8868 $RM -r conftest*9218 $RM -r conftest*
8869 LDFLAGS="$save_LDFLAGS"9219 LDFLAGS=$save_LDFLAGS
88709220
8871fi9221fi
8872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&59222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8873$as_echo "$lt_cv_prog_compiler__b" >&6; }9223$as_echo "$lt_cv_prog_compiler__b" >&6; }
88749224
8875if test x"$lt_cv_prog_compiler__b" = xyes; then9225if test yes = "$lt_cv_prog_compiler__b"; then
8876 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9226 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8877else9227else
8878 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9228 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8879fi9229fi
@@ -8881,8 +9231,8 @@
8881 ;;9231 ;;
8882 esac9232 esac
8883 fi9233 fi
8884 if test "$with_gnu_ld" = no; then9234 if test no = "$with_gnu_ld"; then
8885 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'9235 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
8886 hardcode_libdir_separator=:9236 hardcode_libdir_separator=:
88879237
8888 case $host_cpu in9238 case $host_cpu in
@@ -8893,7 +9243,7 @@
8893 *)9243 *)
8894 hardcode_direct=yes9244 hardcode_direct=yes
8895 hardcode_direct_absolute=yes9245 hardcode_direct_absolute=yes
8896 export_dynamic_flag_spec='${wl}-E'9246 export_dynamic_flag_spec='$wl-E'
88979247
8898 # hardcode_minus_L: Not really in the search PATH,9248 # hardcode_minus_L: Not really in the search PATH,
8899 # but as the default location of the library.9249 # but as the default location of the library.
@@ -8904,8 +9254,8 @@
8904 ;;9254 ;;
89059255
8906 irix5* | irix6* | nonstopux*)9256 irix5* | irix6* | nonstopux*)
8907 if test "$GCC" = yes; then9257 if test yes = "$GCC"; then
8908 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'9258 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'
8909 # Try to use the -exported_symbol ld option, if it does not9259 # Try to use the -exported_symbol ld option, if it does not
8910 # work, assume that -exports_file does not work either and9260 # work, assume that -exports_file does not work either and
8911 # implicitly export all symbols.9261 # implicitly export all symbols.
@@ -8915,8 +9265,8 @@
8915if ${lt_cv_irix_exported_symbol+:} false; then :9265if ${lt_cv_irix_exported_symbol+:} false; then :
8916 $as_echo_n "(cached) " >&69266 $as_echo_n "(cached) " >&6
8917else9267else
8918 save_LDFLAGS="$LDFLAGS"9268 save_LDFLAGS=$LDFLAGS
8919 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"9269 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921/* end confdefs.h. */9271/* end confdefs.h. */
8922int foo (void) { return 0; }9272int foo (void) { return 0; }
@@ -8928,25 +9278,35 @@
8928fi9278fi
8929rm -f core conftest.err conftest.$ac_objext \9279rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext9280 conftest$ac_exeext conftest.$ac_ext
8931 LDFLAGS="$save_LDFLAGS"9281 LDFLAGS=$save_LDFLAGS
8932fi9282fi
8933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&59283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8934$as_echo "$lt_cv_irix_exported_symbol" >&6; }9284$as_echo "$lt_cv_irix_exported_symbol" >&6; }
8935 if test "$lt_cv_irix_exported_symbol" = yes; then9285 if test yes = "$lt_cv_irix_exported_symbol"; then
8936 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'9286 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'
8937 fi9287 fi
8938 else9288 else
8939 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'9289 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'
8940 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'9290 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'
8941 fi9291 fi
8942 archive_cmds_need_lc='no'9292 archive_cmds_need_lc='no'
8943 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9293 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8944 hardcode_libdir_separator=:9294 hardcode_libdir_separator=:
8945 inherit_rpath=yes9295 inherit_rpath=yes
8946 link_all_deplibs=yes9296 link_all_deplibs=yes
8947 ;;9297 ;;
89489298
8949 netbsd* | netbsdelf*-gnu)9299 linux*)
9300 case $cc_basename in
9301 tcc*)
9302 # Fabrice Bellard et al's Tiny C Compiler
9303 ld_shlibs=yes
9304 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9305 ;;
9306 esac
9307 ;;
9308
9309 netbsd*)
8950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then9310 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out9311 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8952 else9312 else
@@ -8960,7 +9320,7 @@
8960 newsos6)9320 newsos6)
8961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'9321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8962 hardcode_direct=yes9322 hardcode_direct=yes
8963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9323 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8964 hardcode_libdir_separator=:9324 hardcode_libdir_separator=:
8965 hardcode_shlibpath_var=no9325 hardcode_shlibpath_var=no
8966 ;;9326 ;;
@@ -8968,27 +9328,19 @@
8968 *nto* | *qnx*)9328 *nto* | *qnx*)
8969 ;;9329 ;;
89709330
8971 openbsd*)9331 openbsd* | bitrig*)
8972 if test -f /usr/libexec/ld.so; then9332 if test -f /usr/libexec/ld.so; then
8973 hardcode_direct=yes9333 hardcode_direct=yes
8974 hardcode_shlibpath_var=no9334 hardcode_shlibpath_var=no
8975 hardcode_direct_absolute=yes9335 hardcode_direct_absolute=yes
8976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then9336 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8977 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'9337 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8978 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'9338 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
8979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'9339 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8980 export_dynamic_flag_spec='${wl}-E'9340 export_dynamic_flag_spec='$wl-E'
8981 else9341 else
8982 case $host_os in9342 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8983 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)9343 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8984 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8985 hardcode_libdir_flag_spec='-R$libdir'
8986 ;;
8987 *)
8988 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8989 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8990 ;;
8991 esac
8992 fi9344 fi
8993 else9345 else
8994 ld_shlibs=no9346 ld_shlibs=no
@@ -8999,33 +9351,53 @@
8999 hardcode_libdir_flag_spec='-L$libdir'9351 hardcode_libdir_flag_spec='-L$libdir'
9000 hardcode_minus_L=yes9352 hardcode_minus_L=yes
9001 allow_undefined_flag=unsupported9353 allow_undefined_flag=unsupported
9002 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'9354 shrext_cmds=.dll
9003 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'9355 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9356 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9357 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9358 $ECHO EXPORTS >> $output_objdir/$libname.def~
9359 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9360 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9361 emximp -o $lib $output_objdir/$libname.def'
9362 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9363 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9364 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9365 $ECHO EXPORTS >> $output_objdir/$libname.def~
9366 prefix_cmds="$SED"~
9367 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9368 prefix_cmds="$prefix_cmds -e 1d";
9369 fi~
9370 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9371 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9372 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9373 emximp -o $lib $output_objdir/$libname.def'
9374 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9375 enable_shared_with_static_runtimes=yes
9004 ;;9376 ;;
90059377
9006 osf3*)9378 osf3*)
9007 if test "$GCC" = yes; then9379 if test yes = "$GCC"; then
9008 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'9380 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9009 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'9381 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'
9010 else9382 else
9011 allow_undefined_flag=' -expect_unresolved \*'9383 allow_undefined_flag=' -expect_unresolved \*'
9012 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'9384 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'
9013 fi9385 fi
9014 archive_cmds_need_lc='no'9386 archive_cmds_need_lc='no'
9015 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9387 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9016 hardcode_libdir_separator=:9388 hardcode_libdir_separator=:
9017 ;;9389 ;;
90189390
9019 osf4* | osf5*) # as osf3* with the addition of -msym flag9391 osf4* | osf5*) # as osf3* with the addition of -msym flag
9020 if test "$GCC" = yes; then9392 if test yes = "$GCC"; then
9021 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'9393 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9022 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'9394 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'
9023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9395 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9024 else9396 else
9025 allow_undefined_flag=' -expect_unresolved \*'9397 allow_undefined_flag=' -expect_unresolved \*'
9026 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'9398 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'
9027 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~9399 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~
9028 $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'9400 $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'
90299401
9030 # Both c and cxx compiler support -rpath directly9402 # Both c and cxx compiler support -rpath directly
9031 hardcode_libdir_flag_spec='-rpath $libdir'9403 hardcode_libdir_flag_spec='-rpath $libdir'
@@ -9036,24 +9408,24 @@
90369408
9037 solaris*)9409 solaris*)
9038 no_undefined_flag=' -z defs'9410 no_undefined_flag=' -z defs'
9039 if test "$GCC" = yes; then9411 if test yes = "$GCC"; then
9040 wlarc='${wl}'9412 wlarc='$wl'
9041 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'9413 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~9414 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9043 $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'9415 $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'
9044 else9416 else
9045 case `$CC -V 2>&1` in9417 case `$CC -V 2>&1` in
9046 *"Compilers 5.0"*)9418 *"Compilers 5.0"*)
9047 wlarc=''9419 wlarc=''
9048 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'9420 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9049 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~9421 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9050 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'9422 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9051 ;;9423 ;;
9052 *)9424 *)
9053 wlarc='${wl}'9425 wlarc='$wl'
9054 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'9426 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~9427 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9056 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'9428 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9057 ;;9429 ;;
9058 esac9430 esac
9059 fi9431 fi
@@ -9063,11 +9435,11 @@
9063 solaris2.[0-5] | solaris2.[0-5].*) ;;9435 solaris2.[0-5] | solaris2.[0-5].*) ;;
9064 *)9436 *)
9065 # The compiler driver will combine and reorder linker options,9437 # The compiler driver will combine and reorder linker options,
9066 # but understands `-z linker_flag'. GCC discards it without `$wl',9438 # but understands '-z linker_flag'. GCC discards it without '$wl',
9067 # but is careful enough not to reorder.9439 # but is careful enough not to reorder.
9068 # Supported since Solaris 2.6 (maybe 2.5.1?)9440 # Supported since Solaris 2.6 (maybe 2.5.1?)
9069 if test "$GCC" = yes; then9441 if test yes = "$GCC"; then
9070 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'9442 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9071 else9443 else
9072 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'9444 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9073 fi9445 fi
@@ -9077,10 +9449,10 @@
9077 ;;9449 ;;
90789450
9079 sunos4*)9451 sunos4*)
9080 if test "x$host_vendor" = xsequent; then9452 if test sequent = "$host_vendor"; then
9081 # Use $CC to link under sequent, because it throws in some extra .o9453 # Use $CC to link under sequent, because it throws in some extra .o
9082 # files that make .init and .fini sections work.9454 # files that make .init and .fini sections work.
9083 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'9455 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9084 else9456 else
9085 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'9457 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9086 fi9458 fi
@@ -9129,43 +9501,43 @@
9129 ;;9501 ;;
91309502
9131 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)9503 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9132 no_undefined_flag='${wl}-z,text'9504 no_undefined_flag='$wl-z,text'
9133 archive_cmds_need_lc=no9505 archive_cmds_need_lc=no
9134 hardcode_shlibpath_var=no9506 hardcode_shlibpath_var=no
9135 runpath_var='LD_RUN_PATH'9507 runpath_var='LD_RUN_PATH'
91369508
9137 if test "$GCC" = yes; then9509 if test yes = "$GCC"; then
9138 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9510 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9139 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9511 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140 else9512 else
9141 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9513 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9142 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9514 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 fi9515 fi
9144 ;;9516 ;;
91459517
9146 sysv5* | sco3.2v5* | sco5v6*)9518 sysv5* | sco3.2v5* | sco5v6*)
9147 # Note: We can NOT use -z defs as we might desire, because we do not9519 # Note: We CANNOT use -z defs as we might desire, because we do not
9148 # link with -lc, and that would cause any symbols used from libc to9520 # link with -lc, and that would cause any symbols used from libc to
9149 # always be unresolved, which means just about no library would9521 # always be unresolved, which means just about no library would
9150 # ever link correctly. If we're not using GNU ld we use -z text9522 # ever link correctly. If we're not using GNU ld we use -z text
9151 # though, which does catch some bad symbols but isn't as heavy-handed9523 # though, which does catch some bad symbols but isn't as heavy-handed
9152 # as -z defs.9524 # as -z defs.
9153 no_undefined_flag='${wl}-z,text'9525 no_undefined_flag='$wl-z,text'
9154 allow_undefined_flag='${wl}-z,nodefs'9526 allow_undefined_flag='$wl-z,nodefs'
9155 archive_cmds_need_lc=no9527 archive_cmds_need_lc=no
9156 hardcode_shlibpath_var=no9528 hardcode_shlibpath_var=no
9157 hardcode_libdir_flag_spec='${wl}-R,$libdir'9529 hardcode_libdir_flag_spec='$wl-R,$libdir'
9158 hardcode_libdir_separator=':'9530 hardcode_libdir_separator=':'
9159 link_all_deplibs=yes9531 link_all_deplibs=yes
9160 export_dynamic_flag_spec='${wl}-Bexport'9532 export_dynamic_flag_spec='$wl-Bexport'
9161 runpath_var='LD_RUN_PATH'9533 runpath_var='LD_RUN_PATH'
91629534
9163 if test "$GCC" = yes; then9535 if test yes = "$GCC"; then
9164 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9536 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9537 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9166 else9538 else
9167 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9539 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'9540 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169 fi9541 fi
9170 ;;9542 ;;
91719543
@@ -9180,10 +9552,10 @@
9180 ;;9552 ;;
9181 esac9553 esac
91829554
9183 if test x$host_vendor = xsni; then9555 if test sni = "$host_vendor"; then
9184 case $host in9556 case $host in
9185 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)9557 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9186 export_dynamic_flag_spec='${wl}-Blargedynsym'9558 export_dynamic_flag_spec='$wl-Blargedynsym'
9187 ;;9559 ;;
9188 esac9560 esac
9189 fi9561 fi
@@ -9191,7 +9563,7 @@
91919563
9192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&59564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9193$as_echo "$ld_shlibs" >&6; }9565$as_echo "$ld_shlibs" >&6; }
9194test "$ld_shlibs" = no && can_build_shared=no9566test no = "$ld_shlibs" && can_build_shared=no
91959567
9196with_gnu_ld=$with_gnu_ld9568with_gnu_ld=$with_gnu_ld
91979569
@@ -9217,7 +9589,7 @@
9217 # Assume -lc should be added9589 # Assume -lc should be added
9218 archive_cmds_need_lc=yes9590 archive_cmds_need_lc=yes
92199591
9220 if test "$enable_shared" = yes && test "$GCC" = yes; then9592 if test yes,yes = "$GCC,$enable_shared"; then
9221 case $archive_cmds in9593 case $archive_cmds in
9222 *'~'*)9594 *'~'*)
9223 # FIXME: we may have to deal with multi-command sequences.9595 # FIXME: we may have to deal with multi-command sequences.
@@ -9432,14 +9804,14 @@
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&59804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9433$as_echo_n "checking dynamic linker characteristics... " >&6; }9805$as_echo_n "checking dynamic linker characteristics... " >&6; }
94349806
9435if test "$GCC" = yes; then9807if test yes = "$GCC"; then
9436 case $host_os in9808 case $host_os in
9437 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;9809 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
9438 *) lt_awk_arg="/^libraries:/" ;;9810 *) lt_awk_arg='/^libraries:/' ;;
9439 esac9811 esac
9440 case $host_os in9812 case $host_os in
9441 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;9813 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
9442 *) lt_sed_strip_eq="s,=/,/,g" ;;9814 *) lt_sed_strip_eq='s|=/|/|g' ;;
9443 esac9815 esac
9444 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`9816 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9445 case $lt_search_path_spec in9817 case $lt_search_path_spec in
@@ -9455,28 +9827,35 @@
9455 ;;9827 ;;
9456 esac9828 esac
9457 # Ok, now we have the path, separated by spaces, we can step through it9829 # Ok, now we have the path, separated by spaces, we can step through it
9458 # and add multilib dir if necessary.9830 # and add multilib dir if necessary...
9459 lt_tmp_lt_search_path_spec=9831 lt_tmp_lt_search_path_spec=
9460 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`9832 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9833 # ...but if some path component already ends with the multilib dir we assume
9834 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9835 case "$lt_multi_os_dir; $lt_search_path_spec " in
9836 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
9837 lt_multi_os_dir=
9838 ;;
9839 esac
9461 for lt_sys_path in $lt_search_path_spec; do9840 for lt_sys_path in $lt_search_path_spec; do
9462 if test -d "$lt_sys_path/$lt_multi_os_dir"; then9841 if test -d "$lt_sys_path$lt_multi_os_dir"; then
9463 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"9842 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9464 else9843 elif test -n "$lt_multi_os_dir"; then
9465 test -d "$lt_sys_path" && \9844 test -d "$lt_sys_path" && \
9466 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"9845 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9467 fi9846 fi
9468 done9847 done
9469 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '9848 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9470BEGIN {RS=" "; FS="/|\n";} {9849BEGIN {RS = " "; FS = "/|\n";} {
9471 lt_foo="";9850 lt_foo = "";
9472 lt_count=0;9851 lt_count = 0;
9473 for (lt_i = NF; lt_i > 0; lt_i--) {9852 for (lt_i = NF; lt_i > 0; lt_i--) {
9474 if ($lt_i != "" && $lt_i != ".") {9853 if ($lt_i != "" && $lt_i != ".") {
9475 if ($lt_i == "..") {9854 if ($lt_i == "..") {
9476 lt_count++;9855 lt_count++;
9477 } else {9856 } else {
9478 if (lt_count == 0) {9857 if (lt_count == 0) {
9479 lt_foo="/" $lt_i lt_foo;9858 lt_foo = "/" $lt_i lt_foo;
9480 } else {9859 } else {
9481 lt_count--;9860 lt_count--;
9482 }9861 }
@@ -9490,7 +9869,7 @@
9490 # for these hosts.9869 # for these hosts.
9491 case $host_os in9870 case $host_os in
9492 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\9871 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9493 $SED 's,/\([A-Za-z]:\),\1,g'` ;;9872 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9494 esac9873 esac
9495 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`9874 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9496else9875else
@@ -9499,7 +9878,7 @@
9499library_names_spec=9878library_names_spec=
9500libname_spec='lib$name'9879libname_spec='lib$name'
9501soname_spec=9880soname_spec=
9502shrext_cmds=".so"9881shrext_cmds=.so
9503postinstall_cmds=9882postinstall_cmds=
9504postuninstall_cmds=9883postuninstall_cmds=
9505finish_cmds=9884finish_cmds=
@@ -9516,14 +9895,16 @@
9516# flags to be left without arguments9895# flags to be left without arguments
9517need_version=unknown9896need_version=unknown
95189897
9898
9899
9519case $host_os in9900case $host_os in
9520aix3*)9901aix3*)
9521 version_type=linux # correct to gnu/linux during the next big refactor9902 version_type=linux # correct to gnu/linux during the next big refactor
9522 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'9903 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
9523 shlibpath_var=LIBPATH9904 shlibpath_var=LIBPATH
95249905
9525 # AIX 3 has no versioning support, so we append a major version to the name.9906 # AIX 3 has no versioning support, so we append a major version to the name.
9526 soname_spec='${libname}${release}${shared_ext}$major'9907 soname_spec='$libname$release$shared_ext$major'
9527 ;;9908 ;;
95289909
9529aix[4-9]*)9910aix[4-9]*)
@@ -9531,41 +9912,91 @@
9531 need_lib_prefix=no9912 need_lib_prefix=no
9532 need_version=no9913 need_version=no
9533 hardcode_into_libs=yes9914 hardcode_into_libs=yes
9534 if test "$host_cpu" = ia64; then9915 if test ia64 = "$host_cpu"; then
9535 # AIX 5 supports IA649916 # AIX 5 supports IA64
9536 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'9917 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9537 shlibpath_var=LD_LIBRARY_PATH9918 shlibpath_var=LD_LIBRARY_PATH
9538 else9919 else
9539 # With GCC up to 2.95.x, collect2 would create an import file9920 # With GCC up to 2.95.x, collect2 would create an import file
9540 # for dependence libraries. The import file would start with9921 # for dependence libraries. The import file would start with
9541 # the line `#! .'. This would cause the generated library to9922 # the line '#! .'. This would cause the generated library to
9542 # depend on `.', always an invalid library. This was fixed in9923 # depend on '.', always an invalid library. This was fixed in
9543 # development snapshots of GCC prior to 3.0.9924 # development snapshots of GCC prior to 3.0.
9544 case $host_os in9925 case $host_os in
9545 aix4 | aix4.[01] | aix4.[01].*)9926 aix4 | aix4.[01] | aix4.[01].*)
9546 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'9927 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9547 echo ' yes '9928 echo ' yes '
9548 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then9929 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
9549 :9930 :
9550 else9931 else
9551 can_build_shared=no9932 can_build_shared=no
9552 fi9933 fi
9553 ;;9934 ;;
9554 esac9935 esac
9555 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct9936 # Using Import Files as archive members, it is possible to support
9937 # filename-based versioning of shared library archives on AIX. While
9938 # this would work for both with and without runtime linking, it will
9939 # prevent static linking of such archives. So we do filename-based
9940 # shared library versioning with .so extension only, which is used
9941 # when both runtime linking and shared linking is enabled.
9942 # Unfortunately, runtime linking may impact performance, so we do
9943 # not want this to be the default eventually. Also, we use the
9944 # versioned .so libs for executables only if there is the -brtl
9945 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9946 # To allow for filename-based versioning support, we need to create
9947 # libNAME.so.V as an archive file, containing:
9948 # *) an Import File, referring to the versioned filename of the
9949 # archive as well as the shared archive member, telling the
9950 # bitwidth (32 or 64) of that shared object, and providing the
9951 # list of exported symbols of that shared object, eventually
9952 # decorated with the 'weak' keyword
9953 # *) the shared object with the F_LOADONLY flag set, to really avoid
9954 # it being seen by the linker.
9955 # At run time we better use the real file rather than another symlink,
9956 # but for link time we create the symlink libNAME.so -> libNAME.so.V
9957
9958 case $with_aix_soname,$aix_use_runtimelinking in
9959 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9556 # soname into executable. Probably we can add versioning support to9960 # soname into executable. Probably we can add versioning support to
9557 # collect2, so additional links can be useful in future.9961 # collect2, so additional links can be useful in future.
9558 if test "$aix_use_runtimelinking" = yes; then9962 aix,yes) # traditional libtool
9963 dynamic_linker='AIX unversionable lib.so'
9559 # If using run time linking (on AIX 4.2 or later) use lib<name>.so9964 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9560 # instead of lib<name>.a to let people know that these are not9965 # instead of lib<name>.a to let people know that these are not
9561 # typical AIX shared libraries.9966 # typical AIX shared libraries.
9562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'9967 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9563 else9968 ;;
9969 aix,no) # traditional AIX only
9970 dynamic_linker='AIX lib.a(lib.so.V)'
9564 # We preserve .a as extension for shared libraries through AIX4.29971 # We preserve .a as extension for shared libraries through AIX4.2
9565 # and later when we are not doing run time linking.9972 # and later when we are not doing run time linking.
9566 library_names_spec='${libname}${release}.a $libname.a'9973 library_names_spec='$libname$release.a $libname.a'
9567 soname_spec='${libname}${release}${shared_ext}$major'9974 soname_spec='$libname$release$shared_ext$major'
9568 fi9975 ;;
9976 svr4,*) # full svr4 only
9977 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
9978 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
9979 # We do not specify a path in Import Files, so LIBPATH fires.
9980 shlibpath_overrides_runpath=yes
9981 ;;
9982 *,yes) # both, prefer svr4
9983 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
9984 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
9985 # unpreferred sharedlib libNAME.a needs extra handling
9986 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"'
9987 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"'
9988 # We do not specify a path in Import Files, so LIBPATH fires.
9989 shlibpath_overrides_runpath=yes
9990 ;;
9991 *,no) # both, prefer aix
9992 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
9993 library_names_spec='$libname$release.a $libname.a'
9994 soname_spec='$libname$release$shared_ext$major'
9995 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
9996 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)'
9997 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"'
9998 ;;
9999 esac
9569 shlibpath_var=LIBPATH10000 shlibpath_var=LIBPATH
9570 fi10001 fi
9571 ;;10002 ;;
@@ -9575,18 +10006,18 @@
9575 powerpc)10006 powerpc)
9576 # Since July 2007 AmigaOS4 officially supports .so libraries.10007 # Since July 2007 AmigaOS4 officially supports .so libraries.
9577 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.10008 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10009 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9579 ;;10010 ;;
9580 m68k)10011 m68k)
9581 library_names_spec='$libname.ixlibrary $libname.a'10012 library_names_spec='$libname.ixlibrary $libname.a'
9582 # Create ${libname}_ixlibrary.a entries in /sys/libs.10013 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9583 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'10014 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'
9584 ;;10015 ;;
9585 esac10016 esac
9586 ;;10017 ;;
958710018
9588beos*)10019beos*)
9589 library_names_spec='${libname}${shared_ext}'10020 library_names_spec='$libname$shared_ext'
9590 dynamic_linker="$host_os ld.so"10021 dynamic_linker="$host_os ld.so"
9591 shlibpath_var=LIBRARY_PATH10022 shlibpath_var=LIBRARY_PATH
9592 ;;10023 ;;
@@ -9594,8 +10025,8 @@
9594bsdi[45]*)10025bsdi[45]*)
9595 version_type=linux # correct to gnu/linux during the next big refactor10026 version_type=linux # correct to gnu/linux during the next big refactor
9596 need_version=no10027 need_version=no
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10028 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9598 soname_spec='${libname}${release}${shared_ext}$major'10029 soname_spec='$libname$release$shared_ext$major'
9599 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'10030 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9600 shlibpath_var=LD_LIBRARY_PATH10031 shlibpath_var=LD_LIBRARY_PATH
9601 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"10032 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
@@ -9607,7 +10038,7 @@
960710038
9608cygwin* | mingw* | pw32* | cegcc*)10039cygwin* | mingw* | pw32* | cegcc*)
9609 version_type=windows10040 version_type=windows
9610 shrext_cmds=".dll"10041 shrext_cmds=.dll
9611 need_version=no10042 need_version=no
9612 need_lib_prefix=no10043 need_lib_prefix=no
961310044
@@ -9616,8 +10047,8 @@
9616 # gcc10047 # gcc
9617 library_names_spec='$libname.dll.a'10048 library_names_spec='$libname.dll.a'
9618 # DLL is installed to $(libdir)/../bin by postinstall_cmds10049 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9619 postinstall_cmds='base_file=`basename \${file}`~10050 postinstall_cmds='base_file=`basename \$file`~
9620 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~10051 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9621 dldir=$destdir/`dirname \$dlpath`~10052 dldir=$destdir/`dirname \$dlpath`~
9622 test -d \$dldir || mkdir -p \$dldir~10053 test -d \$dldir || mkdir -p \$dldir~
9623 $install_prog $dir/$dlname \$dldir/$dlname~10054 $install_prog $dir/$dlname \$dldir/$dlname~
@@ -9633,17 +10064,17 @@
9633 case $host_os in10064 case $host_os in
9634 cygwin*)10065 cygwin*)
9635 # Cygwin DLLs use 'cyg' prefix rather than 'lib'10066 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9636 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10067 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
963710068
9638 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"10069 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9639 ;;10070 ;;
9640 mingw* | cegcc*)10071 mingw* | cegcc*)
9641 # MinGW DLLs use traditional 'lib' prefix10072 # MinGW DLLs use traditional 'lib' prefix
9642 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10073 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
9643 ;;10074 ;;
9644 pw32*)10075 pw32*)
9645 # pw32 DLLs use 'pw' prefix rather than 'lib'10076 # pw32 DLLs use 'pw' prefix rather than 'lib'
9646 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10077 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
9647 ;;10078 ;;
9648 esac10079 esac
9649 dynamic_linker='Win32 ld.exe'10080 dynamic_linker='Win32 ld.exe'
@@ -9652,8 +10083,8 @@
9652 *,cl*)10083 *,cl*)
9653 # Native MSVC10084 # Native MSVC
9654 libname_spec='$name'10085 libname_spec='$name'
9655 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10086 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
9656 library_names_spec='${libname}.dll.lib'10087 library_names_spec='$libname.dll.lib'
965710088
9658 case $build_os in10089 case $build_os in
9659 mingw*)10090 mingw*)
@@ -9680,7 +10111,7 @@
9680 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10111 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9681 ;;10112 ;;
9682 *)10113 *)
9683 sys_lib_search_path_spec="$LIB"10114 sys_lib_search_path_spec=$LIB
9684 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then10115 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9685 # It is most probably a Windows format PATH.10116 # It is most probably a Windows format PATH.
9686 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`10117 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
@@ -9693,8 +10124,8 @@
9693 esac10124 esac
969410125
9695 # DLL is installed to $(libdir)/../bin by postinstall_cmds10126 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9696 postinstall_cmds='base_file=`basename \${file}`~10127 postinstall_cmds='base_file=`basename \$file`~
9697 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~10128 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9698 dldir=$destdir/`dirname \$dlpath`~10129 dldir=$destdir/`dirname \$dlpath`~
9699 test -d \$dldir || mkdir -p \$dldir~10130 test -d \$dldir || mkdir -p \$dldir~
9700 $install_prog $dir/$dlname \$dldir/$dlname'10131 $install_prog $dir/$dlname \$dldir/$dlname'
@@ -9707,7 +10138,7 @@
970710138
9708 *)10139 *)
9709 # Assume MSVC wrapper10140 # Assume MSVC wrapper
9710 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'10141 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
9711 dynamic_linker='Win32 ld.exe'10142 dynamic_linker='Win32 ld.exe'
9712 ;;10143 ;;
9713 esac10144 esac
@@ -9720,8 +10151,8 @@
9720 version_type=darwin10151 version_type=darwin
9721 need_lib_prefix=no10152 need_lib_prefix=no
9722 need_version=no10153 need_version=no
9723 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'10154 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
9724 soname_spec='${libname}${release}${major}$shared_ext'10155 soname_spec='$libname$release$major$shared_ext'
9725 shlibpath_overrides_runpath=yes10156 shlibpath_overrides_runpath=yes
9726 shlibpath_var=DYLD_LIBRARY_PATH10157 shlibpath_var=DYLD_LIBRARY_PATH
9727 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'10158 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
@@ -9734,8 +10165,8 @@
9734 version_type=linux # correct to gnu/linux during the next big refactor10165 version_type=linux # correct to gnu/linux during the next big refactor
9735 need_lib_prefix=no10166 need_lib_prefix=no
9736 need_version=no10167 need_version=no
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'10168 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9738 soname_spec='${libname}${release}${shared_ext}$major'10169 soname_spec='$libname$release$shared_ext$major'
9739 shlibpath_var=LD_LIBRARY_PATH10170 shlibpath_var=LD_LIBRARY_PATH
9740 ;;10171 ;;
974110172
@@ -9753,12 +10184,13 @@
9753 version_type=freebsd-$objformat10184 version_type=freebsd-$objformat
9754 case $version_type in10185 case $version_type in
9755 freebsd-elf*)10186 freebsd-elf*)
9756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'10187 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10188 soname_spec='$libname$release$shared_ext$major'
9757 need_version=no10189 need_version=no
9758 need_lib_prefix=no10190 need_lib_prefix=no
9759 ;;10191 ;;
9760 freebsd-*)10192 freebsd-*)
9761 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'10193 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
9762 need_version=yes10194 need_version=yes
9763 ;;10195 ;;
9764 esac10196 esac
@@ -9788,10 +10220,10 @@
9788 need_lib_prefix=no10220 need_lib_prefix=no
9789 need_version=no10221 need_version=no
9790 dynamic_linker="$host_os runtime_loader"10222 dynamic_linker="$host_os runtime_loader"
9791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'10223 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9792 soname_spec='${libname}${release}${shared_ext}$major'10224 soname_spec='$libname$release$shared_ext$major'
9793 shlibpath_var=LIBRARY_PATH10225 shlibpath_var=LIBRARY_PATH
9794 shlibpath_overrides_runpath=yes10226 shlibpath_overrides_runpath=no
9795 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'10227 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9796 hardcode_into_libs=yes10228 hardcode_into_libs=yes
9797 ;;10229 ;;
@@ -9809,14 +10241,15 @@
9809 dynamic_linker="$host_os dld.so"10241 dynamic_linker="$host_os dld.so"
9810 shlibpath_var=LD_LIBRARY_PATH10242 shlibpath_var=LD_LIBRARY_PATH
9811 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.10243 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10244 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9813 soname_spec='${libname}${release}${shared_ext}$major'10245 soname_spec='$libname$release$shared_ext$major'
9814 if test "X$HPUX_IA64_MODE" = X32; then10246 if test 32 = "$HPUX_IA64_MODE"; then
9815 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"10247 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10248 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
9816 else10249 else
9817 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"10250 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10251 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
9818 fi10252 fi
9819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9820 ;;10253 ;;
9821 hppa*64*)10254 hppa*64*)
9822 shrext_cmds='.sl'10255 shrext_cmds='.sl'
@@ -9824,8 +10257,8 @@
9824 dynamic_linker="$host_os dld.sl"10257 dynamic_linker="$host_os dld.sl"
9825 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH10258 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9826 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.10259 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9828 soname_spec='${libname}${release}${shared_ext}$major'10261 soname_spec='$libname$release$shared_ext$major'
9829 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"10262 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec10263 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9831 ;;10264 ;;
@@ -9834,8 +10267,8 @@
9834 dynamic_linker="$host_os dld.sl"10267 dynamic_linker="$host_os dld.sl"
9835 shlibpath_var=SHLIB_PATH10268 shlibpath_var=SHLIB_PATH
9836 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH10269 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10270 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9838 soname_spec='${libname}${release}${shared_ext}$major'10271 soname_spec='$libname$release$shared_ext$major'
9839 ;;10272 ;;
9840 esac10273 esac
9841 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...10274 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
@@ -9848,8 +10281,8 @@
9848 version_type=linux # correct to gnu/linux during the next big refactor10281 version_type=linux # correct to gnu/linux during the next big refactor
9849 need_lib_prefix=no10282 need_lib_prefix=no
9850 need_version=no10283 need_version=no
9851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'10284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9852 soname_spec='${libname}${release}${shared_ext}$major'10285 soname_spec='$libname$release$shared_ext$major'
9853 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'10286 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9854 shlibpath_var=LD_LIBRARY_PATH10287 shlibpath_var=LD_LIBRARY_PATH
9855 shlibpath_overrides_runpath=no10288 shlibpath_overrides_runpath=no
@@ -9860,7 +10293,7 @@
9860 case $host_os in10293 case $host_os in
9861 nonstopux*) version_type=nonstopux ;;10294 nonstopux*) version_type=nonstopux ;;
9862 *)10295 *)
9863 if test "$lt_cv_prog_gnu_ld" = yes; then10296 if test yes = "$lt_cv_prog_gnu_ld"; then
9864 version_type=linux # correct to gnu/linux during the next big refactor10297 version_type=linux # correct to gnu/linux during the next big refactor
9865 else10298 else
9866 version_type=irix10299 version_type=irix
@@ -9868,8 +10301,8 @@
9868 esac10301 esac
9869 need_lib_prefix=no10302 need_lib_prefix=no
9870 need_version=no10303 need_version=no
9871 soname_spec='${libname}${release}${shared_ext}$major'10304 soname_spec='$libname$release$shared_ext$major'
9872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'10305 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
9873 case $host_os in10306 case $host_os in
9874 irix5* | nonstopux*)10307 irix5* | nonstopux*)
9875 libsuff= shlibsuff=10308 libsuff= shlibsuff=
@@ -9888,8 +10321,8 @@
9888 esac10321 esac
9889 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH10322 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9890 shlibpath_overrides_runpath=no10323 shlibpath_overrides_runpath=no
9891 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"10324 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
9892 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"10325 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
9893 hardcode_into_libs=yes10326 hardcode_into_libs=yes
9894 ;;10327 ;;
989510328
@@ -9898,13 +10331,33 @@
9898 dynamic_linker=no10331 dynamic_linker=no
9899 ;;10332 ;;
990010333
10334linux*android*)
10335 version_type=none # Android doesn't support versioned libraries.
10336 need_lib_prefix=no
10337 need_version=no
10338 library_names_spec='$libname$release$shared_ext'
10339 soname_spec='$libname$release$shared_ext'
10340 finish_cmds=
10341 shlibpath_var=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath=yes
10343
10344 # This implies no fast_install, which is unacceptable.
10345 # Some rework will be needed to allow for fast_install
10346 # before this can be enabled.
10347 hardcode_into_libs=yes
10348
10349 dynamic_linker='Android linker'
10350 # Don't embed -rpath directories since the linker doesn't support them.
10351 hardcode_libdir_flag_spec='-L$libdir'
10352 ;;
10353
9901# This must be glibc/ELF.10354# This must be glibc/ELF.
9902linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)10355linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9903 version_type=linux # correct to gnu/linux during the next big refactor10356 version_type=linux # correct to gnu/linux during the next big refactor
9904 need_lib_prefix=no10357 need_lib_prefix=no
9905 need_version=no10358 need_version=no
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10359 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9907 soname_spec='${libname}${release}${shared_ext}$major'10360 soname_spec='$libname$release$shared_ext$major'
9908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'10361 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9909 shlibpath_var=LD_LIBRARY_PATH10362 shlibpath_var=LD_LIBRARY_PATH
9910 shlibpath_overrides_runpath=no10363 shlibpath_overrides_runpath=no
@@ -9948,7 +10401,12 @@
9948 # before this can be enabled.10401 # before this can be enabled.
9949 hardcode_into_libs=yes10402 hardcode_into_libs=yes
995010403
9951 # Append ld.so.conf contents to the search path10404 # Ideally, we could use ldconfig to report *all* directores which are
10405 # searched for libraries, however this is still not possible. Aside from not
10406 # being certain /sbin/ldconfig is available, command
10407 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10408 # even though it is searched at run-time. Try to do the best guess by
10409 # appending ld.so.conf contents (and includes) to the search path.
9952 if test -f /etc/ld.so.conf; then10410 if test -f /etc/ld.so.conf; then
9953 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' ' '`10411 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' ' '`
9954 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"10412 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
@@ -9963,29 +10421,17 @@
9963 dynamic_linker='GNU/Linux ld.so'10421 dynamic_linker='GNU/Linux ld.so'
9964 ;;10422 ;;
996510423
9966netbsdelf*-gnu)
9967 version_type=linux
9968 need_lib_prefix=no
9969 need_version=no
9970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9971 soname_spec='${libname}${release}${shared_ext}$major'
9972 shlibpath_var=LD_LIBRARY_PATH
9973 shlibpath_overrides_runpath=no
9974 hardcode_into_libs=yes
9975 dynamic_linker='NetBSD ld.elf_so'
9976 ;;
9977
9978netbsd*)10424netbsd*)
9979 version_type=sunos10425 version_type=sunos
9980 need_lib_prefix=no10426 need_lib_prefix=no
9981 need_version=no10427 need_version=no
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then10428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'10429 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
9984 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'10430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9985 dynamic_linker='NetBSD (a.out) ld.so'10431 dynamic_linker='NetBSD (a.out) ld.so'
9986 else10432 else
9987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'10433 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9988 soname_spec='${libname}${release}${shared_ext}$major'10434 soname_spec='$libname$release$shared_ext$major'
9989 dynamic_linker='NetBSD ld.elf_so'10435 dynamic_linker='NetBSD ld.elf_so'
9990 fi10436 fi
9991 shlibpath_var=LD_LIBRARY_PATH10437 shlibpath_var=LD_LIBRARY_PATH
@@ -9995,7 +10441,7 @@
999510441
9996newsos6)10442newsos6)
9997 version_type=linux # correct to gnu/linux during the next big refactor10443 version_type=linux # correct to gnu/linux during the next big refactor
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9999 shlibpath_var=LD_LIBRARY_PATH10445 shlibpath_var=LD_LIBRARY_PATH
10000 shlibpath_overrides_runpath=yes10446 shlibpath_overrides_runpath=yes
10001 ;;10447 ;;
@@ -10004,58 +10450,68 @@
10004 version_type=qnx10450 version_type=qnx
10005 need_lib_prefix=no10451 need_lib_prefix=no
10006 need_version=no10452 need_version=no
10007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10008 soname_spec='${libname}${release}${shared_ext}$major'10454 soname_spec='$libname$release$shared_ext$major'
10009 shlibpath_var=LD_LIBRARY_PATH10455 shlibpath_var=LD_LIBRARY_PATH
10010 shlibpath_overrides_runpath=no10456 shlibpath_overrides_runpath=no
10011 hardcode_into_libs=yes10457 hardcode_into_libs=yes
10012 dynamic_linker='ldqnx.so'10458 dynamic_linker='ldqnx.so'
10013 ;;10459 ;;
1001410460
10015openbsd*)10461openbsd* | bitrig*)
10016 version_type=sunos10462 version_type=sunos
10017 sys_lib_dlsearch_path_spec="/usr/lib"10463 sys_lib_dlsearch_path_spec=/usr/lib
10018 need_lib_prefix=no10464 need_lib_prefix=no
10019 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.10465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10020 case $host_os in10466 need_version=no
10021 openbsd3.3 | openbsd3.3.*) need_version=yes ;;10467 else
10022 *) need_version=no ;;10468 need_version=yes
10023 esac10469 fi
10024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'10470 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'10471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10026 shlibpath_var=LD_LIBRARY_PATH10472 shlibpath_var=LD_LIBRARY_PATH
10027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then10473 shlibpath_overrides_runpath=yes
10028 case $host_os in
10029 openbsd2.[89] | openbsd2.[89].*)
10030 shlibpath_overrides_runpath=no
10031 ;;
10032 *)
10033 shlibpath_overrides_runpath=yes
10034 ;;
10035 esac
10036 else
10037 shlibpath_overrides_runpath=yes
10038 fi
10039 ;;10474 ;;
1004010475
10041os2*)10476os2*)
10042 libname_spec='$name'10477 libname_spec='$name'
10043 shrext_cmds=".dll"10478 version_type=windows
10479 shrext_cmds=.dll
10480 need_version=no
10044 need_lib_prefix=no10481 need_lib_prefix=no
10045 library_names_spec='$libname${shared_ext} $libname.a'10482 # OS/2 can only load a DLL with a base name of 8 characters or less.
10483 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
10484 v=$($ECHO $release$versuffix | tr -d .-);
10485 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10486 $ECHO $n$v`$shared_ext'
10487 library_names_spec='${libname}_dll.$libext'
10046 dynamic_linker='OS/2 ld.exe'10488 dynamic_linker='OS/2 ld.exe'
10047 shlibpath_var=LIBPATH10489 shlibpath_var=BEGINLIBPATH
10490 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10492 postinstall_cmds='base_file=`basename \$file`~
10493 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10494 dldir=$destdir/`dirname \$dlpath`~
10495 test -d \$dldir || mkdir -p \$dldir~
10496 $install_prog $dir/$dlname \$dldir/$dlname~
10497 chmod a+x \$dldir/$dlname~
10498 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10499 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10500 fi'
10501 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10502 dlpath=$dir/\$dldll~
10503 $RM \$dlpath'
10048 ;;10504 ;;
1004910505
10050osf3* | osf4* | osf5*)10506osf3* | osf4* | osf5*)
10051 version_type=osf10507 version_type=osf
10052 need_lib_prefix=no10508 need_lib_prefix=no
10053 need_version=no10509 need_version=no
10054 soname_spec='${libname}${release}${shared_ext}$major'10510 soname_spec='$libname$release$shared_ext$major'
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10056 shlibpath_var=LD_LIBRARY_PATH10512 shlibpath_var=LD_LIBRARY_PATH
10057 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"10513 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10058 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"10514 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10059 ;;10515 ;;
1006010516
10061rdos*)10517rdos*)
@@ -10066,8 +10522,8 @@
10066 version_type=linux # correct to gnu/linux during the next big refactor10522 version_type=linux # correct to gnu/linux during the next big refactor
10067 need_lib_prefix=no10523 need_lib_prefix=no
10068 need_version=no10524 need_version=no
10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10070 soname_spec='${libname}${release}${shared_ext}$major'10526 soname_spec='$libname$release$shared_ext$major'
10071 shlibpath_var=LD_LIBRARY_PATH10527 shlibpath_var=LD_LIBRARY_PATH
10072 shlibpath_overrides_runpath=yes10528 shlibpath_overrides_runpath=yes
10073 hardcode_into_libs=yes10529 hardcode_into_libs=yes
@@ -10077,11 +10533,11 @@
1007710533
10078sunos4*)10534sunos4*)
10079 version_type=sunos10535 version_type=sunos
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'10536 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10081 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'10537 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10082 shlibpath_var=LD_LIBRARY_PATH10538 shlibpath_var=LD_LIBRARY_PATH
10083 shlibpath_overrides_runpath=yes10539 shlibpath_overrides_runpath=yes
10084 if test "$with_gnu_ld" = yes; then10540 if test yes = "$with_gnu_ld"; then
10085 need_lib_prefix=no10541 need_lib_prefix=no
10086 fi10542 fi
10087 need_version=yes10543 need_version=yes
@@ -10089,8 +10545,8 @@
1008910545
10090sysv4 | sysv4.3*)10546sysv4 | sysv4.3*)
10091 version_type=linux # correct to gnu/linux during the next big refactor10547 version_type=linux # correct to gnu/linux during the next big refactor
10092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10093 soname_spec='${libname}${release}${shared_ext}$major'10549 soname_spec='$libname$release$shared_ext$major'
10094 shlibpath_var=LD_LIBRARY_PATH10550 shlibpath_var=LD_LIBRARY_PATH
10095 case $host_vendor in10551 case $host_vendor in
10096 sni)10552 sni)
@@ -10111,24 +10567,24 @@
10111 ;;10567 ;;
1011210568
10113sysv4*MP*)10569sysv4*MP*)
10114 if test -d /usr/nec ;then10570 if test -d /usr/nec; then
10115 version_type=linux # correct to gnu/linux during the next big refactor10571 version_type=linux # correct to gnu/linux during the next big refactor
10116 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'10572 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10117 soname_spec='$libname${shared_ext}.$major'10573 soname_spec='$libname$shared_ext.$major'
10118 shlibpath_var=LD_LIBRARY_PATH10574 shlibpath_var=LD_LIBRARY_PATH
10119 fi10575 fi
10120 ;;10576 ;;
1012110577
10122sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)10578sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10123 version_type=freebsd-elf10579 version_type=sco
10124 need_lib_prefix=no10580 need_lib_prefix=no
10125 need_version=no10581 need_version=no
10126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'10582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10127 soname_spec='${libname}${release}${shared_ext}$major'10583 soname_spec='$libname$release$shared_ext$major'
10128 shlibpath_var=LD_LIBRARY_PATH10584 shlibpath_var=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath=yes10585 shlibpath_overrides_runpath=yes
10130 hardcode_into_libs=yes10586 hardcode_into_libs=yes
10131 if test "$with_gnu_ld" = yes; then10587 if test yes = "$with_gnu_ld"; then
10132 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'10588 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10133 else10589 else
10134 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'10590 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
@@ -10146,7 +10602,7 @@
10146 version_type=linux # correct to gnu/linux during the next big refactor10602 version_type=linux # correct to gnu/linux during the next big refactor
10147 need_lib_prefix=no10603 need_lib_prefix=no
10148 need_version=no10604 need_version=no
10149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10150 shlibpath_var=LD_LIBRARY_PATH10606 shlibpath_var=LD_LIBRARY_PATH
10151 shlibpath_overrides_runpath=no10607 shlibpath_overrides_runpath=no
10152 hardcode_into_libs=yes10608 hardcode_into_libs=yes
@@ -10154,8 +10610,8 @@
1015410610
10155uts4*)10611uts4*)
10156 version_type=linux # correct to gnu/linux during the next big refactor10612 version_type=linux # correct to gnu/linux during the next big refactor
10157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10613 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10158 soname_spec='${libname}${release}${shared_ext}$major'10614 soname_spec='$libname$release$shared_ext$major'
10159 shlibpath_var=LD_LIBRARY_PATH10615 shlibpath_var=LD_LIBRARY_PATH
10160 ;;10616 ;;
1016110617
@@ -10165,19 +10621,27 @@
10165esac10621esac
10166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&510622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10167$as_echo "$dynamic_linker" >&6; }10623$as_echo "$dynamic_linker" >&6; }
10168test "$dynamic_linker" = no && can_build_shared=no10624test no = "$dynamic_linker" && can_build_shared=no
1016910625
10170variables_saved_for_relink="PATH $shlibpath_var $runpath_var"10626variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10171if test "$GCC" = yes; then10627if test yes = "$GCC"; then
10172 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"10628 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10173fi10629fi
1017410630
10175if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then10631if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10176 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"10632 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
10177fi10633fi
10178if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then10634
10179 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"10635if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10180fi10636 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
10637fi
10638
10639# lt_cv_sys_lib... is unaugmented for libtool script decls...
10640lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec
10641
10642# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
10643# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
10644func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
1018110645
1018210646
1018310647
@@ -10275,15 +10739,15 @@
10275hardcode_action=10739hardcode_action=
10276if test -n "$hardcode_libdir_flag_spec" ||10740if test -n "$hardcode_libdir_flag_spec" ||
10277 test -n "$runpath_var" ||10741 test -n "$runpath_var" ||
10278 test "X$hardcode_automatic" = "Xyes" ; then10742 test yes = "$hardcode_automatic"; then
1027910743
10280 # We can hardcode non-existent directories.10744 # We can hardcode non-existent directories.
10281 if test "$hardcode_direct" != no &&10745 if test no != "$hardcode_direct" &&
10282 # If the only mechanism to avoid hardcoding is shlibpath_var, we10746 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10283 # have to relink, otherwise we might link with an installed library10747 # have to relink, otherwise we might link with an installed library
10284 # when we should be linking with a yet-to-be-installed one10748 # when we should be linking with a yet-to-be-installed one
10285 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&10749 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10286 test "$hardcode_minus_L" != no; then10750 test no != "$hardcode_minus_L"; then
10287 # Linking always hardcodes the temporary library directory.10751 # Linking always hardcodes the temporary library directory.
10288 hardcode_action=relink10752 hardcode_action=relink
10289 else10753 else
@@ -10298,12 +10762,12 @@
10298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&510762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10299$as_echo "$hardcode_action" >&6; }10763$as_echo "$hardcode_action" >&6; }
1030010764
10301if test "$hardcode_action" = relink ||10765if test relink = "$hardcode_action" ||
10302 test "$inherit_rpath" = yes; then10766 test yes = "$inherit_rpath"; then
10303 # Fast installation is not supported10767 # Fast installation is not supported
10304 enable_fast_install=no10768 enable_fast_install=no
10305elif test "$shlibpath_overrides_runpath" = yes ||10769elif test yes = "$shlibpath_overrides_runpath" ||
10306 test "$enable_shared" = no; then10770 test no = "$enable_shared"; then
10307 # Fast installation is not necessary10771 # Fast installation is not necessary
10308 enable_fast_install=needless10772 enable_fast_install=needless
10309fi10773fi
@@ -10313,7 +10777,7 @@
1031310777
1031410778
1031510779
10316 if test "x$enable_dlopen" != xyes; then10780 if test yes != "$enable_dlopen"; then
10317 enable_dlopen=unknown10781 enable_dlopen=unknown
10318 enable_dlopen_self=unknown10782 enable_dlopen_self=unknown
10319 enable_dlopen_self_static=unknown10783 enable_dlopen_self_static=unknown
@@ -10323,23 +10787,23 @@
1032310787
10324 case $host_os in10788 case $host_os in
10325 beos*)10789 beos*)
10326 lt_cv_dlopen="load_add_on"10790 lt_cv_dlopen=load_add_on
10327 lt_cv_dlopen_libs=10791 lt_cv_dlopen_libs=
10328 lt_cv_dlopen_self=yes10792 lt_cv_dlopen_self=yes
10329 ;;10793 ;;
1033010794
10331 mingw* | pw32* | cegcc*)10795 mingw* | pw32* | cegcc*)
10332 lt_cv_dlopen="LoadLibrary"10796 lt_cv_dlopen=LoadLibrary
10333 lt_cv_dlopen_libs=10797 lt_cv_dlopen_libs=
10334 ;;10798 ;;
1033510799
10336 cygwin*)10800 cygwin*)
10337 lt_cv_dlopen="dlopen"10801 lt_cv_dlopen=dlopen
10338 lt_cv_dlopen_libs=10802 lt_cv_dlopen_libs=
10339 ;;10803 ;;
1034010804
10341 darwin*)10805 darwin*)
10342 # if libdl is installed we need to link against it10806 # if libdl is installed we need to link against it
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&510807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10344$as_echo_n "checking for dlopen in -ldl... " >&6; }10808$as_echo_n "checking for dlopen in -ldl... " >&6; }
10345if ${ac_cv_lib_dl_dlopen+:} false; then :10809if ${ac_cv_lib_dl_dlopen+:} false; then :
@@ -10377,10 +10841,10 @@
10377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&510841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10378$as_echo "$ac_cv_lib_dl_dlopen" >&6; }10842$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10379if test "x$ac_cv_lib_dl_dlopen" = xyes; then :10843if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"10844 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
10381else10845else
1038210846
10383 lt_cv_dlopen="dyld"10847 lt_cv_dlopen=dyld
10384 lt_cv_dlopen_libs=10848 lt_cv_dlopen_libs=
10385 lt_cv_dlopen_self=yes10849 lt_cv_dlopen_self=yes
1038610850
@@ -10388,10 +10852,18 @@
1038810852
10389 ;;10853 ;;
1039010854
10855 tpf*)
10856 # Don't try to run any link tests for TPF. We know it's impossible
10857 # because TPF is a cross-compiler, and we know how we open DSOs.
10858 lt_cv_dlopen=dlopen
10859 lt_cv_dlopen_libs=
10860 lt_cv_dlopen_self=no
10861 ;;
10862
10391 *)10863 *)
10392 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"10864 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10393if test "x$ac_cv_func_shl_load" = xyes; then :10865if test "x$ac_cv_func_shl_load" = xyes; then :
10394 lt_cv_dlopen="shl_load"10866 lt_cv_dlopen=shl_load
10395else10867else
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&510868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10397$as_echo_n "checking for shl_load in -ldld... " >&6; }10869$as_echo_n "checking for shl_load in -ldld... " >&6; }
@@ -10430,11 +10902,11 @@
10430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&510902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10431$as_echo "$ac_cv_lib_dld_shl_load" >&6; }10903$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10432if test "x$ac_cv_lib_dld_shl_load" = xyes; then :10904if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10433 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"10905 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
10434else10906else
10435 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"10907 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10436if test "x$ac_cv_func_dlopen" = xyes; then :10908if test "x$ac_cv_func_dlopen" = xyes; then :
10437 lt_cv_dlopen="dlopen"10909 lt_cv_dlopen=dlopen
10438else10910else
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&510911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10440$as_echo_n "checking for dlopen in -ldl... " >&6; }10912$as_echo_n "checking for dlopen in -ldl... " >&6; }
@@ -10473,7 +10945,7 @@
10473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&510945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10474$as_echo "$ac_cv_lib_dl_dlopen" >&6; }10946$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10475if test "x$ac_cv_lib_dl_dlopen" = xyes; then :10947if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10476 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"10948 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
10477else10949else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&510950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10479$as_echo_n "checking for dlopen in -lsvld... " >&6; }10951$as_echo_n "checking for dlopen in -lsvld... " >&6; }
@@ -10512,7 +10984,7 @@
10512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&510984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10513$as_echo "$ac_cv_lib_svld_dlopen" >&6; }10985$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10514if test "x$ac_cv_lib_svld_dlopen" = xyes; then :10986if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10515 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"10987 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
10516else10988else
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&510989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10518$as_echo_n "checking for dld_link in -ldld... " >&6; }10990$as_echo_n "checking for dld_link in -ldld... " >&6; }
@@ -10551,7 +11023,7 @@
10551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&511023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10552$as_echo "$ac_cv_lib_dld_dld_link" >&6; }11024$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10553if test "x$ac_cv_lib_dld_dld_link" = xyes; then :11025if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10554 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"11026 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
10555fi11027fi
1055611028
1055711029
@@ -10572,21 +11044,21 @@
10572 ;;11044 ;;
10573 esac11045 esac
1057411046
10575 if test "x$lt_cv_dlopen" != xno; then11047 if test no = "$lt_cv_dlopen"; then
11048 enable_dlopen=no
11049 else
10576 enable_dlopen=yes11050 enable_dlopen=yes
10577 else
10578 enable_dlopen=no
10579 fi11051 fi
1058011052
10581 case $lt_cv_dlopen in11053 case $lt_cv_dlopen in
10582 dlopen)11054 dlopen)
10583 save_CPPFLAGS="$CPPFLAGS"11055 save_CPPFLAGS=$CPPFLAGS
10584 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"11056 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1058511057
10586 save_LDFLAGS="$LDFLAGS"11058 save_LDFLAGS=$LDFLAGS
10587 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"11059 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1058811060
10589 save_LIBS="$LIBS"11061 save_LIBS=$LIBS
10590 LIBS="$lt_cv_dlopen_libs $LIBS"11062 LIBS="$lt_cv_dlopen_libs $LIBS"
1059111063
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&511064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
@@ -10594,7 +11066,7 @@
10594if ${lt_cv_dlopen_self+:} false; then :11066if ${lt_cv_dlopen_self+:} false; then :
10595 $as_echo_n "(cached) " >&611067 $as_echo_n "(cached) " >&6
10596else11068else
10597 if test "$cross_compiling" = yes; then :11069 if test yes = "$cross_compiling"; then :
10598 lt_cv_dlopen_self=cross11070 lt_cv_dlopen_self=cross
10599else11071else
10600 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211072 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -10641,9 +11113,9 @@
10641# endif11113# endif
10642#endif11114#endif
1064311115
10644/* When -fvisbility=hidden is used, assume the code has been annotated11116/* When -fvisibility=hidden is used, assume the code has been annotated
10645 correspondingly for the symbols needed. */11117 correspondingly for the symbols needed. */
10646#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))11118#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10647int fnord () __attribute__((visibility("default")));11119int fnord () __attribute__((visibility("default")));
10648#endif11120#endif
1064911121
@@ -10673,7 +11145,7 @@
10673 (eval $ac_link) 2>&511145 (eval $ac_link) 2>&5
10674 ac_status=$?11146 ac_status=$?
10675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10676 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then11148 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
10677 (./conftest; exit; ) >&5 2>/dev/null11149 (./conftest; exit; ) >&5 2>/dev/null
10678 lt_status=$?11150 lt_status=$?
10679 case x$lt_status in11151 case x$lt_status in
@@ -10693,14 +11165,14 @@
10693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&511165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10694$as_echo "$lt_cv_dlopen_self" >&6; }11166$as_echo "$lt_cv_dlopen_self" >&6; }
1069511167
10696 if test "x$lt_cv_dlopen_self" = xyes; then11168 if test yes = "$lt_cv_dlopen_self"; then
10697 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"11169 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&511170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10699$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }11171$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10700if ${lt_cv_dlopen_self_static+:} false; then :11172if ${lt_cv_dlopen_self_static+:} false; then :
10701 $as_echo_n "(cached) " >&611173 $as_echo_n "(cached) " >&6
10702else11174else
10703 if test "$cross_compiling" = yes; then :11175 if test yes = "$cross_compiling"; then :
10704 lt_cv_dlopen_self_static=cross11176 lt_cv_dlopen_self_static=cross
10705else11177else
10706 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211178 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
@@ -10747,9 +11219,9 @@
10747# endif11219# endif
10748#endif11220#endif
1074911221
10750/* When -fvisbility=hidden is used, assume the code has been annotated11222/* When -fvisibility=hidden is used, assume the code has been annotated
10751 correspondingly for the symbols needed. */11223 correspondingly for the symbols needed. */
10752#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))11224#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10753int fnord () __attribute__((visibility("default")));11225int fnord () __attribute__((visibility("default")));
10754#endif11226#endif
1075511227
@@ -10779,7 +11251,7 @@
10779 (eval $ac_link) 2>&511251 (eval $ac_link) 2>&5
10780 ac_status=$?11252 ac_status=$?
10781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10782 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then11254 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
10783 (./conftest; exit; ) >&5 2>/dev/null11255 (./conftest; exit; ) >&5 2>/dev/null
10784 lt_status=$?11256 lt_status=$?
10785 case x$lt_status in11257 case x$lt_status in
@@ -10800,9 +11272,9 @@
10800$as_echo "$lt_cv_dlopen_self_static" >&6; }11272$as_echo "$lt_cv_dlopen_self_static" >&6; }
10801 fi11273 fi
1080211274
10803 CPPFLAGS="$save_CPPFLAGS"11275 CPPFLAGS=$save_CPPFLAGS
10804 LDFLAGS="$save_LDFLAGS"11276 LDFLAGS=$save_LDFLAGS
10805 LIBS="$save_LIBS"11277 LIBS=$save_LIBS
10806 ;;11278 ;;
10807 esac11279 esac
1080811280
@@ -10846,7 +11318,7 @@
10846# FIXME - insert some real tests, host_os isn't really good enough11318# FIXME - insert some real tests, host_os isn't really good enough
10847 case $host_os in11319 case $host_os in
10848 darwin*)11320 darwin*)
10849 if test -n "$STRIP" ; then11321 if test -n "$STRIP"; then
10850 striplib="$STRIP -x"11322 striplib="$STRIP -x"
10851 old_striplib="$STRIP -S"11323 old_striplib="$STRIP -S"
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&511324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -10874,7 +11346,7 @@
1087411346
1087511347
1087611348
10877 # Report which library types will actually be built11349 # Report what library types will actually be built
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&511350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10879$as_echo_n "checking if libtool supports shared libraries... " >&6; }11351$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&511352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
@@ -10882,13 +11354,13 @@
1088211354
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&511355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10884$as_echo_n "checking whether to build shared libraries... " >&6; }11356$as_echo_n "checking whether to build shared libraries... " >&6; }
10885 test "$can_build_shared" = "no" && enable_shared=no11357 test no = "$can_build_shared" && enable_shared=no
1088611358
10887 # On AIX, shared libraries and static libraries use the same namespace, and11359 # On AIX, shared libraries and static libraries use the same namespace, and
10888 # are all built from PIC.11360 # are all built from PIC.
10889 case $host_os in11361 case $host_os in
10890 aix3*)11362 aix3*)
10891 test "$enable_shared" = yes && enable_static=no11363 test yes = "$enable_shared" && enable_static=no
10892 if test -n "$RANLIB"; then11364 if test -n "$RANLIB"; then
10893 archive_cmds="$archive_cmds~\$RANLIB \$lib"11365 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10894 postinstall_cmds='$RANLIB $lib'11366 postinstall_cmds='$RANLIB $lib'
@@ -10896,8 +11368,12 @@
10896 ;;11368 ;;
1089711369
10898 aix[4-9]*)11370 aix[4-9]*)
10899 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then11371 if test ia64 != "$host_cpu"; then
10900 test "$enable_shared" = yes && enable_static=no11372 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11373 yes,aix,yes) ;; # shared object as lib.so file only
11374 yes,svr4,*) ;; # shared object as lib.so archive member only
11375 yes,*) enable_static=no ;; # shared object in lib.a archive as well
11376 esac
10901 fi11377 fi
10902 ;;11378 ;;
10903 esac11379 esac
@@ -10907,7 +11383,7 @@
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&511383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10908$as_echo_n "checking whether to build static libraries... " >&6; }11384$as_echo_n "checking whether to build static libraries... " >&6; }
10909 # Make sure either enable_shared or enable_static is yes.11385 # Make sure either enable_shared or enable_static is yes.
10910 test "$enable_shared" = yes || enable_static=yes11386 test yes = "$enable_shared" || enable_static=yes
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&511387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10912$as_echo "$enable_static" >&6; }11388$as_echo "$enable_static" >&6; }
1091311389
@@ -10921,7 +11397,7 @@
10921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'11397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10922ac_compiler_gnu=$ac_cv_c_compiler_gnu11398ac_compiler_gnu=$ac_cv_c_compiler_gnu
1092311399
10924CC="$lt_save_CC"11400CC=$lt_save_CC
1092511401
1092611402
1092711403
@@ -10946,6 +11422,21 @@
1094611422
1094711423
1094811424
11425# If library source has changed since last release, increment revision
11426# If public symbols have been added, removed or changed since last release,
11427# increment current and set revision to 0
11428# If public symbols have been added since last release, increment age
11429# If public symbols have been removed since last release, set age to 0
11430
11431
11432
11433LT_CURRENT=0
11434LT_REVISION=0
11435LT_AGE=0
11436
11437
11438
11439
10949am__api_version='1.14'11440am__api_version='1.14'
1095011441
10951# Find a good install program. We prefer a C program (faster),11442# Find a good install program. We prefer a C program (faster),
@@ -11450,7 +11941,7 @@
1145011941
11451# Define the identity of the package.11942# Define the identity of the package.
11452 PACKAGE='caribou'11943 PACKAGE='caribou'
11453 VERSION='0.4.15'11944 VERSION='0.4.17'
1145411945
1145511946
11456cat >>confdefs.h <<_ACEOF11947cat >>confdefs.h <<_ACEOF
@@ -11671,7 +12162,6 @@
11671 fi12162 fi
11672fi12163fi
1167312164
11674
11675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&512165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11676$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }12166$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11677 # Check whether --enable-maintainer-mode was given.12167 # Check whether --enable-maintainer-mode was given.
@@ -15423,7 +15913,7 @@
15423# report actual input values of CONFIG_FILES etc. instead of their15913# report actual input values of CONFIG_FILES etc. instead of their
15424# values after options handling.15914# values after options handling.
15425ac_log="15915ac_log="
15426This file was extended by caribou $as_me 0.4.15, which was15916This file was extended by caribou $as_me 0.4.17, which was
15427generated by GNU Autoconf 2.69. Invocation command line was15917generated by GNU Autoconf 2.69. Invocation command line was
1542815918
15429 CONFIG_FILES = $CONFIG_FILES15919 CONFIG_FILES = $CONFIG_FILES
@@ -15480,7 +15970,7 @@
15480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115970cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15481ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"15971ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15482ac_cs_version="\\15972ac_cs_version="\\
15483caribou config.status 0.4.1515973caribou config.status 0.4.17
15484configured by $0, generated by GNU Autoconf 2.69,15974configured by $0, generated by GNU Autoconf 2.69,
15485 with options \\"\$ac_cs_config\\"15975 with options \\"\$ac_cs_config\\"
1548615976
@@ -15603,6 +16093,7 @@
15603enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'16093enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15604pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'16094pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15605enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'16095enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16096shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15606SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'16097SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15607ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'16098ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15608PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'16099PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
@@ -15652,10 +16143,13 @@
15652GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'16143GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15653lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'16144lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15654lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'16145lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16146lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15655lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'16147lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15656lt_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"`'16148lt_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"`'
16149lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15657nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'16150nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15658lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'16151lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16152lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15659objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'16153objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15660MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'16154MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15661lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'16155lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
@@ -15720,7 +16214,7 @@
15720finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'16214finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15721hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'16215hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15722sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'16216sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15723sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'16217lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15724hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'16218hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15725enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'16219enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15726enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'16220enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
@@ -15771,9 +16265,12 @@
15771compiler \16265compiler \
15772lt_cv_sys_global_symbol_pipe \16266lt_cv_sys_global_symbol_pipe \
15773lt_cv_sys_global_symbol_to_cdecl \16267lt_cv_sys_global_symbol_to_cdecl \
16268lt_cv_sys_global_symbol_to_import \
15774lt_cv_sys_global_symbol_to_c_name_address \16269lt_cv_sys_global_symbol_to_c_name_address \
15775lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \16270lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16271lt_cv_nm_interface \
15776nm_file_list_spec \16272nm_file_list_spec \
16273lt_cv_truncate_bin \
15777lt_prog_compiler_no_builtin_flag \16274lt_prog_compiler_no_builtin_flag \
15778lt_prog_compiler_pic \16275lt_prog_compiler_pic \
15779lt_prog_compiler_wl \16276lt_prog_compiler_wl \
@@ -15808,7 +16305,7 @@
15808striplib; do16305striplib; do
15809 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in16306 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15810 *[\\\\\\\`\\"\\\$]*)16307 *[\\\\\\\`\\"\\\$]*)
15811 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""16308 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15812 ;;16309 ;;
15813 *)16310 *)
15814 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""16311 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -15835,10 +16332,10 @@
15835postuninstall_cmds \16332postuninstall_cmds \
15836finish_cmds \16333finish_cmds \
15837sys_lib_search_path_spec \16334sys_lib_search_path_spec \
15838sys_lib_dlsearch_path_spec; do16335lt_cv_sys_lib_dlsearch_path_spec; do
15839 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in16336 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15840 *[\\\\\\\`\\"\\\$]*)16337 *[\\\\\\\`\\"\\\$]*)
15841 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""16338 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15842 ;;16339 ;;
15843 *)16340 *)
15844 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""16341 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
@@ -15847,19 +16344,16 @@
15847done16344done
1584816345
15849ac_aux_dir='$ac_aux_dir'16346ac_aux_dir='$ac_aux_dir'
15850xsi_shell='$xsi_shell'
15851lt_shell_append='$lt_shell_append'
1585216347
15853# See if we are running on zsh, and set the options which allow our16348# See if we are running on zsh, and set the options that allow our
15854# commands through without removal of \ escapes INIT.16349# commands through without removal of \ escapes INIT.
15855if test -n "\${ZSH_VERSION+set}" ; then16350if test -n "\${ZSH_VERSION+set}"; then
15856 setopt NO_GLOB_SUBST16351 setopt NO_GLOB_SUBST
15857fi16352fi
1585816353
1585916354
15860 PACKAGE='$PACKAGE'16355 PACKAGE='$PACKAGE'
15861 VERSION='$VERSION'16356 VERSION='$VERSION'
15862 TIMESTAMP='$TIMESTAMP'
15863 RM='$RM'16357 RM='$RM'
15864 ofile='$ofile'16358 ofile='$ofile'
1586516359
@@ -16335,55 +16829,53 @@
16335 case $ac_file$ac_mode in16829 case $ac_file$ac_mode in
16336 "libtool":C)16830 "libtool":C)
1633716831
16338 # See if we are running on zsh, and set the options which allow our16832 # See if we are running on zsh, and set the options that allow our
16339 # commands through without removal of \ escapes.16833 # commands through without removal of \ escapes.
16340 if test -n "${ZSH_VERSION+set}" ; then16834 if test -n "${ZSH_VERSION+set}"; then
16341 setopt NO_GLOB_SUBST16835 setopt NO_GLOB_SUBST
16342 fi16836 fi
1634316837
16344 cfgfile="${ofile}T"16838 cfgfile=${ofile}T
16345 trap "$RM \"$cfgfile\"; exit 1" 1 2 1516839 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16346 $RM "$cfgfile"16840 $RM "$cfgfile"
1634716841
16348 cat <<_LT_EOF >> "$cfgfile"16842 cat <<_LT_EOF >> "$cfgfile"
16349#! $SHELL16843#! $SHELL
1635016844# Generated automatically by $as_me ($PACKAGE) $VERSION
16351# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16352# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16353# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:16845# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16354# NOTE: Changes made to this file will be lost: look at ltmain.sh.16846# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16355#16847
16356# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,16848# Provide generalized library-building support services.
16357# 2006, 2007, 2008, 2009, 2010, 2011 Free Software16849# Written by Gordon Matzigkeit, 1996
16358# Foundation, Inc.16850
16359# Written by Gordon Matzigkeit, 199616851# Copyright (C) 2014 Free Software Foundation, Inc.
16360#16852# This is free software; see the source for copying conditions. There is NO
16361# This file is part of GNU Libtool.16853# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16362#16854
16363# GNU Libtool is free software; you can redistribute it and/or16855# GNU Libtool is free software; you can redistribute it and/or modify
16364# modify it under the terms of the GNU General Public License as16856# it under the terms of the GNU General Public License as published by
16365# published by the Free Software Foundation; either version 2 of16857# the Free Software Foundation; either version 2 of of the License, or
16366# the License, or (at your option) any later version.16858# (at your option) any later version.
16367#16859#
16368# As a special exception to the GNU General Public License,16860# As a special exception to the GNU General Public License, if you
16369# if you distribute this file as part of a program or library that16861# distribute this file as part of a program or library that is built
16370# is built using GNU Libtool, you may include this file under the16862# using GNU Libtool, you may include this file under the same
16371# same distribution terms that you use for the rest of that program.16863# distribution terms that you use for the rest of that program.
16372#16864#
16373# GNU Libtool is distributed in the hope that it will be useful,16865# GNU Libtool is distributed in the hope that it will be useful, but
16374# but WITHOUT ANY WARRANTY; without even the implied warranty of16866# WITHOUT ANY WARRANTY; without even the implied warranty of
16375# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16867# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16376# GNU General Public License for more details.16868# GNU General Public License for more details.
16377#16869#
16378# You should have received a copy of the GNU General Public License16870# You should have received a copy of the GNU General Public License
16379# along with GNU Libtool; see the file COPYING. If not, a copy16871# along with this program. If not, see <http://www.gnu.org/licenses/>.
16380# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16381# obtained by writing to the Free Software Foundation, Inc.,
16382# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1638316872
1638416873
16385# The names of the tagged configurations supported by this script.16874# The names of the tagged configurations supported by this script.
16386available_tags=""16875available_tags=''
16876
16877# Configured defaults for sys_lib_dlsearch_path munging.
16878: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
1638716879
16388# ### BEGIN LIBTOOL CONFIG16880# ### BEGIN LIBTOOL CONFIG
1638916881
@@ -16403,6 +16895,9 @@
16403# Whether or not to optimize for fast installation.16895# Whether or not to optimize for fast installation.
16404fast_install=$enable_fast_install16896fast_install=$enable_fast_install
1640516897
16898# Shared archive member basename,for filename based shared library versioning on AIX.
16899shared_archive_member_spec=$shared_archive_member_spec
16900
16406# Shell to use when invoking shell scripts.16901# Shell to use when invoking shell scripts.
16407SHELL=$lt_SHELL16902SHELL=$lt_SHELL
1640816903
@@ -16520,18 +17015,27 @@
16520# Transform the output of nm in a proper C declaration.17015# Transform the output of nm in a proper C declaration.
16521global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl17016global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1652217017
17018# Transform the output of nm into a list of symbols to manually relocate.
17019global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17020
16523# Transform the output of nm in a C name address pair.17021# Transform the output of nm in a C name address pair.
16524global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address17022global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1652517023
16526# Transform the output of nm in a C name address pair when lib prefix is needed.17024# Transform the output of nm in a C name address pair when lib prefix is needed.
16527global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix17025global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1652817026
17027# The name lister interface.
17028nm_interface=$lt_lt_cv_nm_interface
17029
16529# Specify filename containing input files for \$NM.17030# Specify filename containing input files for \$NM.
16530nm_file_list_spec=$lt_nm_file_list_spec17031nm_file_list_spec=$lt_nm_file_list_spec
1653117032
16532# The root where to search for dependent libraries,and in which our libraries should be installed.17033# The root where to search for dependent libraries,and where our libraries should be installed.
16533lt_sysroot=$lt_sysroot17034lt_sysroot=$lt_sysroot
1653417035
17036# Command to truncate a binary pipe.
17037lt_truncate_bin=$lt_lt_cv_truncate_bin
17038
16535# The name of the directory that contains temporary libtool files.17039# The name of the directory that contains temporary libtool files.
16536objdir=$objdir17040objdir=$objdir
1653717041
@@ -16623,7 +17127,7 @@
16623sys_lib_search_path_spec=$lt_sys_lib_search_path_spec17127sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1662417128
16625# Run-time system search path for libraries.17129# Run-time system search path for libraries.
16626sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec17130sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec
1662717131
16628# Whether dlopen is supported.17132# Whether dlopen is supported.
16629dlopen_support=$enable_dlopen17133dlopen_support=$enable_dlopen
@@ -16716,13 +17220,13 @@
16716# Whether we need a single "-rpath" flag with a separated argument.17220# Whether we need a single "-rpath" flag with a separated argument.
16717hardcode_libdir_separator=$lt_hardcode_libdir_separator17221hardcode_libdir_separator=$lt_hardcode_libdir_separator
1671817222
16719# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes17223# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16720# DIR into the resulting binary.17224# DIR into the resulting binary.
16721hardcode_direct=$hardcode_direct17225hardcode_direct=$hardcode_direct
1672217226
16723# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes17227# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16724# DIR into the resulting binary and the resulting library dependency is17228# DIR into the resulting binary and the resulting library dependency is
16725# "absolute",i.e impossible to change by setting \${shlibpath_var} if the17229# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16726# library is relocated.17230# library is relocated.
16727hardcode_direct_absolute=$hardcode_direct_absolute17231hardcode_direct_absolute=$hardcode_direct_absolute
1672817232
@@ -16774,13 +17278,71 @@
1677417278
16775_LT_EOF17279_LT_EOF
1677617280
17281 cat <<'_LT_EOF' >> "$cfgfile"
17282## -------------------------------------- ##
17283## Shell functions shared with configure. ##
17284## -------------------------------------- ##
17285
17286# func_munge_path_list VARIABLE PATH
17287# -----------------------------------
17288# VARIABLE is name of variable containing _space_ separated list of
17289# directories to be munged by the contents of PATH, which is string
17290# having a format:
17291# "DIR[:DIR]:"
17292# string "DIR[ DIR]" will be prepended to VARIABLE
17293# ":DIR[:DIR]"
17294# string "DIR[ DIR]" will be appended to VARIABLE
17295# "DIRP[:DIRP]::[DIRA:]DIRA"
17296# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17297# "DIRA[ DIRA]" will be appended to VARIABLE
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: