~skypce/indicator-session/indicator-session

« back to all changes in this revision

Viewing changes to debian/patches/99_autoreconf.patch

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2009-09-24 17:07:51 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090924170751-l7afnthkpri6diwd
Tags: 0.1.5-0ubuntu1
* Upstream release 0.1.5 (LP: #436223)
  * PolicyKit-1 support (LP: #418643)
  * GDM User list support (LP: #422052)
  * MissionControl5 support (LP: #427643)
  * Better locking of the screensaver (LP: #428115)
* debian/control: Adding in a libempathy-dev build dependency
  as it's now required by upstream.
* Removing patches 01_polkit-1.patch and 99_autoreconf.patch
  as they were merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/aclocal.m4 indicator-session-0.1.4.new/aclocal.m4
2
 
--- indicator-session-0.1.4/aclocal.m4  2009-09-17 17:59:25.000000000 +0200
3
 
+++ indicator-session-0.1.4.new/aclocal.m4      2009-09-22 09:14:23.851663855 +0200
4
 
@@ -497,6 +497,8165 @@
5
 
 fi])
6
 
 
7
 
 
8
 
+
9
 
+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
10
 
+# serial 40 IT_PROG_INTLTOOL
11
 
+AC_DEFUN([IT_PROG_INTLTOOL], [
12
 
+AC_PREREQ([2.50])dnl
13
 
+AC_REQUIRE([AM_NLS])dnl
14
 
+
15
 
+case "$am__api_version" in
16
 
+    1.[01234])
17
 
+       AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
18
 
+    ;;
19
 
+    *)
20
 
+    ;;
21
 
+esac
22
 
+
23
 
+if test -n "$1"; then
24
 
+    AC_MSG_CHECKING([for intltool >= $1])
25
 
+
26
 
+    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
27
 
+    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
28
 
+    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
29
 
+    ]
30
 
+    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
31
 
+    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
32
 
+       AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
33
 
+fi
34
 
+
35
 
+AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
36
 
+AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
37
 
+AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
38
 
+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
39
 
+    AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
40
 
+fi
41
 
+
42
 
+  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
43
 
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
44
 
+     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
45
 
+     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
46
 
+      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
47
 
+     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
48
 
+   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
49
 
+    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
50
 
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
51
 
+       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
52
 
+      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
53
 
+      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
54
 
+      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
55
 
+      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
56
 
+    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
57
 
+  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
58
 
+    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
59
 
+    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
60
 
+   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
61
 
+
62
 
+_IT_SUBST(INTLTOOL_DESKTOP_RULE)
63
 
+_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
64
 
+_IT_SUBST(INTLTOOL_KEYS_RULE)
65
 
+_IT_SUBST(INTLTOOL_PROP_RULE)
66
 
+_IT_SUBST(INTLTOOL_OAF_RULE)
67
 
+_IT_SUBST(INTLTOOL_PONG_RULE)
68
 
+_IT_SUBST(INTLTOOL_SERVER_RULE)
69
 
+_IT_SUBST(INTLTOOL_SHEET_RULE)
70
 
+_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
71
 
+_IT_SUBST(INTLTOOL_UI_RULE)
72
 
+_IT_SUBST(INTLTOOL_XAM_RULE)
73
 
+_IT_SUBST(INTLTOOL_KBD_RULE)
74
 
+_IT_SUBST(INTLTOOL_XML_RULE)
75
 
+_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
76
 
+_IT_SUBST(INTLTOOL_CAVES_RULE)
77
 
+_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
78
 
+_IT_SUBST(INTLTOOL_THEME_RULE)
79
 
+_IT_SUBST(INTLTOOL_SERVICE_RULE)
80
 
+_IT_SUBST(INTLTOOL_POLICY_RULE)
81
 
+
82
 
+# Check the gettext tools to make sure they are GNU
83
 
+AC_PATH_PROG(XGETTEXT, xgettext)
84
 
+AC_PATH_PROG(MSGMERGE, msgmerge)
85
 
+AC_PATH_PROG(MSGFMT, msgfmt)
86
 
+AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
87
 
+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
88
 
+    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
89
 
+fi
90
 
+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
91
 
+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
92
 
+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
93
 
+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
94
 
+    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
95
 
+fi
96
 
+
97
 
+AC_PATH_PROG(INTLTOOL_PERL, perl)
98
 
+if test -z "$INTLTOOL_PERL"; then
99
 
+   AC_MSG_ERROR([perl not found])
100
 
+fi
101
 
+AC_MSG_CHECKING([for perl >= 5.8.1])
102
 
+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
103
 
+if test $? -ne 0; then
104
 
+   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
105
 
+else
106
 
+   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
107
 
+   AC_MSG_RESULT([$IT_PERL_VERSION])
108
 
+fi
109
 
+if test "x$2" != "xno-xml"; then
110
 
+   AC_MSG_CHECKING([for XML::Parser])
111
 
+   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
112
 
+       AC_MSG_RESULT([ok])
113
 
+   else
114
 
+       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
115
 
+   fi
116
 
+fi
117
 
+
118
 
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
119
 
+AC_SUBST(ALL_LINGUAS)
120
 
+
121
 
+# Set DATADIRNAME correctly if it is not set yet
122
 
+# (copied from glib-gettext.m4)
123
 
+if test -z "$DATADIRNAME"; then
124
 
+  AC_LINK_IFELSE(
125
 
+    [AC_LANG_PROGRAM([[]],
126
 
+                     [[extern int _nl_msg_cat_cntr;
127
 
+                       return _nl_msg_cat_cntr]])],
128
 
+    [DATADIRNAME=share],
129
 
+    [case $host in
130
 
+    *-*-solaris*)
131
 
+    dnl On Solaris, if bind_textdomain_codeset is in libc,
132
 
+    dnl GNU format message catalog is always supported,
133
 
+    dnl since both are added to the libc all together.
134
 
+    dnl Hence, we'd like to go with DATADIRNAME=share
135
 
+    dnl in this case.
136
 
+    AC_CHECK_FUNC(bind_textdomain_codeset,
137
 
+      [DATADIRNAME=share], [DATADIRNAME=lib])
138
 
+    ;;
139
 
+    *)
140
 
+    [DATADIRNAME=lib]
141
 
+    ;;
142
 
+    esac])
143
 
+fi
144
 
+AC_SUBST(DATADIRNAME)
145
 
+
146
 
+IT_PO_SUBDIR([po])
147
 
+
148
 
+])
149
 
+
150
 
+
151
 
+# IT_PO_SUBDIR(DIRNAME)
152
 
+# ---------------------
153
 
+# All po subdirs have to be declared with this macro; the subdir "po" is
154
 
+# declared by IT_PROG_INTLTOOL.
155
 
+#
156
 
+AC_DEFUN([IT_PO_SUBDIR],
157
 
+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
158
 
+dnl
159
 
+dnl The following CONFIG_COMMANDS should be exetuted at the very end
160
 
+dnl of config.status.
161
 
+AC_CONFIG_COMMANDS_PRE([
162
 
+  AC_CONFIG_COMMANDS([$1/stamp-it], [
163
 
+    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
164
 
+       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
165
 
+    fi
166
 
+    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
167
 
+    >"$1/stamp-it.tmp"
168
 
+    [sed '/^#/d
169
 
+        s/^[[].*] *//
170
 
+        /^[    ]*$/d
171
 
+       '"s|^|  $ac_top_srcdir/|" \
172
 
+      "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
173
 
+    ]
174
 
+    [sed '/^POTFILES =/,/[^\\]$/ {
175
 
+               /^POTFILES =/!d
176
 
+               r $1/POTFILES
177
 
+         }
178
 
+        ' "$1/Makefile.in" >"$1/Makefile"]
179
 
+    rm -f "$1/Makefile.tmp"
180
 
+    mv "$1/stamp-it.tmp" "$1/stamp-it"
181
 
+  ])
182
 
+])dnl
183
 
+])
184
 
+
185
 
+# _IT_SUBST(VARIABLE)
186
 
+# -------------------
187
 
+# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
188
 
+#
189
 
+AC_DEFUN([_IT_SUBST],
190
 
+[
191
 
+AC_SUBST([$1])
192
 
+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
193
 
+]
194
 
+)
195
 
+
196
 
+# deprecated macros
197
 
+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
198
 
+# A hint is needed for aclocal from Automake <= 1.9.4:
199
 
+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
200
 
+
201
 
+
202
 
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
203
 
+#
204
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
205
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
206
 
+#   Written by Gordon Matzigkeit, 1996
207
 
+#
208
 
+# This file is free software; the Free Software Foundation gives
209
 
+# unlimited permission to copy and/or distribute it, with or without
210
 
+# modifications, as long as this notice is preserved.
211
 
+
212
 
+m4_define([_LT_COPYING], [dnl
213
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
214
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
215
 
+#   Written by Gordon Matzigkeit, 1996
216
 
+#
217
 
+#   This file is part of GNU Libtool.
218
 
+#
219
 
+# GNU Libtool is free software; you can redistribute it and/or
220
 
+# modify it under the terms of the GNU General Public License as
221
 
+# published by the Free Software Foundation; either version 2 of
222
 
+# the License, or (at your option) any later version.
223
 
+#
224
 
+# As a special exception to the GNU General Public License,
225
 
+# if you distribute this file as part of a program or library that
226
 
+# is built using GNU Libtool, you may include this file under the
227
 
+# same distribution terms that you use for the rest of that program.
228
 
+#
229
 
+# GNU Libtool is distributed in the hope that it will be useful,
230
 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
231
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
232
 
+# GNU General Public License for more details.
233
 
+#
234
 
+# You should have received a copy of the GNU General Public License
235
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
236
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
237
 
+# obtained by writing to the Free Software Foundation, Inc.,
238
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
239
 
+])
240
 
+
241
 
+# serial 56 LT_INIT
242
 
+
243
 
+
244
 
+# LT_PREREQ(VERSION)
245
 
+# ------------------
246
 
+# Complain and exit if this libtool version is less that VERSION.
247
 
+m4_defun([LT_PREREQ],
248
 
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
249
 
+       [m4_default([$3],
250
 
+                  [m4_fatal([Libtool version $1 or higher is required],
251
 
+                            63)])],
252
 
+       [$2])])
253
 
+
254
 
+
255
 
+# _LT_CHECK_BUILDDIR
256
 
+# ------------------
257
 
+# Complain if the absolute build directory name contains unusual characters
258
 
+m4_defun([_LT_CHECK_BUILDDIR],
259
 
+[case `pwd` in
260
 
+  *\ * | *\    *)
261
 
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
262
 
+esac
263
 
+])
264
 
+
265
 
+
266
 
+# LT_INIT([OPTIONS])
267
 
+# ------------------
268
 
+AC_DEFUN([LT_INIT],
269
 
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
270
 
+AC_BEFORE([$0], [LT_LANG])dnl
271
 
+AC_BEFORE([$0], [LT_OUTPUT])dnl
272
 
+AC_BEFORE([$0], [LTDL_INIT])dnl
273
 
+m4_require([_LT_CHECK_BUILDDIR])dnl
274
 
+
275
 
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
276
 
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
277
 
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
278
 
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
279
 
+dnl unless we require an AC_DEFUNed macro:
280
 
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
281
 
+AC_REQUIRE([LTSUGAR_VERSION])dnl
282
 
+AC_REQUIRE([LTVERSION_VERSION])dnl
283
 
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
284
 
+m4_require([_LT_PROG_LTMAIN])dnl
285
 
+
286
 
+dnl Parse OPTIONS
287
 
+_LT_SET_OPTIONS([$0], [$1])
288
 
+
289
 
+# This can be used to rebuild libtool when needed
290
 
+LIBTOOL_DEPS="$ltmain"
291
 
+
292
 
+# Always use our own libtool.
293
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
294
 
+AC_SUBST(LIBTOOL)dnl
295
 
+
296
 
+_LT_SETUP
297
 
+
298
 
+# Only expand once:
299
 
+m4_define([LT_INIT])
300
 
+])# LT_INIT
301
 
+
302
 
+# Old names:
303
 
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
304
 
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
305
 
+dnl aclocal-1.4 backwards compatibility:
306
 
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
307
 
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
308
 
+
309
 
+
310
 
+# _LT_CC_BASENAME(CC)
311
 
+# -------------------
312
 
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
313
 
+m4_defun([_LT_CC_BASENAME],
314
 
+[for cc_temp in $1""; do
315
 
+  case $cc_temp in
316
 
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
317
 
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
318
 
+    \-*) ;;
319
 
+    *) break;;
320
 
+  esac
321
 
+done
322
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
323
 
+])
324
 
+
325
 
+
326
 
+# _LT_FILEUTILS_DEFAULTS
327
 
+# ----------------------
328
 
+# It is okay to use these file commands and assume they have been set
329
 
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
330
 
+m4_defun([_LT_FILEUTILS_DEFAULTS],
331
 
+[: ${CP="cp -f"}
332
 
+: ${MV="mv -f"}
333
 
+: ${RM="rm -f"}
334
 
+])# _LT_FILEUTILS_DEFAULTS
335
 
+
336
 
+
337
 
+# _LT_SETUP
338
 
+# ---------
339
 
+m4_defun([_LT_SETUP],
340
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
341
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
342
 
+_LT_DECL([], [host_alias], [0], [The host system])dnl
343
 
+_LT_DECL([], [host], [0])dnl
344
 
+_LT_DECL([], [host_os], [0])dnl
345
 
+dnl
346
 
+_LT_DECL([], [build_alias], [0], [The build system])dnl
347
 
+_LT_DECL([], [build], [0])dnl
348
 
+_LT_DECL([], [build_os], [0])dnl
349
 
+dnl
350
 
+AC_REQUIRE([AC_PROG_CC])dnl
351
 
+AC_REQUIRE([LT_PATH_LD])dnl
352
 
+AC_REQUIRE([LT_PATH_NM])dnl
353
 
+dnl
354
 
+AC_REQUIRE([AC_PROG_LN_S])dnl
355
 
+test -z "$LN_S" && LN_S="ln -s"
356
 
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
357
 
+dnl
358
 
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
359
 
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
360
 
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
361
 
+dnl
362
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
363
 
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
364
 
+m4_require([_LT_CMD_RELOAD])dnl
365
 
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
366
 
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
367
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
368
 
+
369
 
+_LT_CONFIG_LIBTOOL_INIT([
370
 
+# See if we are running on zsh, and set the options which allow our
371
 
+# commands through without removal of \ escapes INIT.
372
 
+if test -n "\${ZSH_VERSION+set}" ; then
373
 
+   setopt NO_GLOB_SUBST
374
 
+fi
375
 
+])
376
 
+if test -n "${ZSH_VERSION+set}" ; then
377
 
+   setopt NO_GLOB_SUBST
378
 
+fi
379
 
+
380
 
+_LT_CHECK_OBJDIR
381
 
+
382
 
+m4_require([_LT_TAG_COMPILER])dnl
383
 
+_LT_PROG_ECHO_BACKSLASH
384
 
+
385
 
+case $host_os in
386
 
+aix3*)
387
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
388
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
389
 
+  # vanish in a puff of smoke.
390
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
391
 
+    COLLECT_NAMES=
392
 
+    export COLLECT_NAMES
393
 
+  fi
394
 
+  ;;
395
 
+esac
396
 
+
397
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
398
 
+# metacharacters that are still active within double-quoted strings.
399
 
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
400
 
+
401
 
+# Same as above, but do not quote variable references.
402
 
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
403
 
+
404
 
+# Sed substitution to delay expansion of an escaped shell variable in a
405
 
+# double_quote_subst'ed string.
406
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
407
 
+
408
 
+# Sed substitution to delay expansion of an escaped single quote.
409
 
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
410
 
+
411
 
+# Sed substitution to avoid accidental globbing in evaled expressions
412
 
+no_glob_subst='s/\*/\\\*/g'
413
 
+
414
 
+# Global variables:
415
 
+ofile=libtool
416
 
+can_build_shared=yes
417
 
+
418
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
419
 
+# which needs '.lib').
420
 
+libext=a
421
 
+
422
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
423
 
+
424
 
+old_CC="$CC"
425
 
+old_CFLAGS="$CFLAGS"
426
 
+
427
 
+# Set sane defaults for various variables
428
 
+test -z "$CC" && CC=cc
429
 
+test -z "$LTCC" && LTCC=$CC
430
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
431
 
+test -z "$LD" && LD=ld
432
 
+test -z "$ac_objext" && ac_objext=o
433
 
+
434
 
+_LT_CC_BASENAME([$compiler])
435
 
+
436
 
+# Only perform the check for file, if the check method requires it
437
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
438
 
+case $deplibs_check_method in
439
 
+file_magic*)
440
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
441
 
+    _LT_PATH_MAGIC
442
 
+  fi
443
 
+  ;;
444
 
+esac
445
 
+
446
 
+# Use C for the default configuration in the libtool script
447
 
+LT_SUPPORTED_TAG([CC])
448
 
+_LT_LANG_C_CONFIG
449
 
+_LT_LANG_DEFAULT_CONFIG
450
 
+_LT_CONFIG_COMMANDS
451
 
+])# _LT_SETUP
452
 
+
453
 
+
454
 
+# _LT_PROG_LTMAIN
455
 
+# ---------------
456
 
+# Note that this code is called both from `configure', and `config.status'
457
 
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
458
 
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
459
 
+# so we pass a copy along to make sure it has a sensible value anyway.
460
 
+m4_defun([_LT_PROG_LTMAIN],
461
 
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
462
 
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
463
 
+ltmain="$ac_aux_dir/ltmain.sh"
464
 
+])# _LT_PROG_LTMAIN
465
 
+
466
 
+
467
 
+
468
 
+# So that we can recreate a full libtool script including additional
469
 
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
470
 
+# in macros and then make a single call at the end using the `libtool'
471
 
+# label.
472
 
+
473
 
+
474
 
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
475
 
+# ----------------------------------------
476
 
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
477
 
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
478
 
+[m4_ifval([$1],
479
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
480
 
+                     [$1
481
 
+])])])
482
 
+
483
 
+# Initialize.
484
 
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
485
 
+
486
 
+
487
 
+# _LT_CONFIG_LIBTOOL([COMMANDS])
488
 
+# ------------------------------
489
 
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
490
 
+m4_define([_LT_CONFIG_LIBTOOL],
491
 
+[m4_ifval([$1],
492
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
493
 
+                     [$1
494
 
+])])])
495
 
+
496
 
+# Initialize.
497
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
498
 
+
499
 
+
500
 
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
501
 
+# -----------------------------------------------------
502
 
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
503
 
+[_LT_CONFIG_LIBTOOL([$1])
504
 
+_LT_CONFIG_LIBTOOL_INIT([$2])
505
 
+])
506
 
+
507
 
+
508
 
+# _LT_FORMAT_COMMENT([COMMENT])
509
 
+# -----------------------------
510
 
+# Add leading comment marks to the start of each line, and a trailing
511
 
+# full-stop to the whole comment if one is not present already.
512
 
+m4_define([_LT_FORMAT_COMMENT],
513
 
+[m4_ifval([$1], [
514
 
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
515
 
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
516
 
+)])
517
 
+
518
 
+
519
 
+
520
 
+
521
 
+
522
 
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
523
 
+# -------------------------------------------------------------------
524
 
+# CONFIGNAME is the name given to the value in the libtool script.
525
 
+# VARNAME is the (base) name used in the configure script.
526
 
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
527
 
+# VARNAME.  Any other value will be used directly.
528
 
+m4_define([_LT_DECL],
529
 
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
530
 
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
531
 
+       [m4_ifval([$1], [$1], [$2])])
532
 
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
533
 
+    m4_ifval([$4],
534
 
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
535
 
+    lt_dict_add_subkey([lt_decl_dict], [$2],
536
 
+       [tagged?], [m4_ifval([$5], [yes], [no])])])
537
 
+])
538
 
+
539
 
+
540
 
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
541
 
+# --------------------------------------------------------
542
 
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
543
 
+
544
 
+
545
 
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
546
 
+# ------------------------------------------------
547
 
+m4_define([lt_decl_tag_varnames],
548
 
+[_lt_decl_filter([tagged?], [yes], $@)])
549
 
+
550
 
+
551
 
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
552
 
+# ---------------------------------------------------------
553
 
+m4_define([_lt_decl_filter],
554
 
+[m4_case([$#],
555
 
+  [0], [m4_fatal([$0: too few arguments: $#])],
556
 
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
557
 
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
558
 
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
559
 
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
560
 
+])
561
 
+
562
 
+
563
 
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
564
 
+# --------------------------------------------------
565
 
+m4_define([lt_decl_quote_varnames],
566
 
+[_lt_decl_filter([value], [1], $@)])
567
 
+
568
 
+
569
 
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
570
 
+# ---------------------------------------------------
571
 
+m4_define([lt_decl_dquote_varnames],
572
 
+[_lt_decl_filter([value], [2], $@)])
573
 
+
574
 
+
575
 
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
576
 
+# ---------------------------------------------------
577
 
+m4_define([lt_decl_varnames_tagged],
578
 
+[m4_assert([$# <= 2])dnl
579
 
+_$0(m4_quote(m4_default([$1], [[, ]])),
580
 
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
581
 
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
582
 
+m4_define([_lt_decl_varnames_tagged],
583
 
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
584
 
+
585
 
+
586
 
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
587
 
+# ------------------------------------------------
588
 
+m4_define([lt_decl_all_varnames],
589
 
+[_$0(m4_quote(m4_default([$1], [[, ]])),
590
 
+     m4_if([$2], [],
591
 
+          m4_quote(lt_decl_varnames),
592
 
+       m4_quote(m4_shift($@))))[]dnl
593
 
+])
594
 
+m4_define([_lt_decl_all_varnames],
595
 
+[lt_join($@, lt_decl_varnames_tagged([$1],
596
 
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
597
 
+])
598
 
+
599
 
+
600
 
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
601
 
+# ------------------------------------
602
 
+# Quote a variable value, and forward it to `config.status' so that its
603
 
+# declaration there will have the same value as in `configure'.  VARNAME
604
 
+# must have a single quote delimited value for this to work.
605
 
+m4_define([_LT_CONFIG_STATUS_DECLARE],
606
 
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
607
 
+
608
 
+
609
 
+# _LT_CONFIG_STATUS_DECLARATIONS
610
 
+# ------------------------------
611
 
+# We delimit libtool config variables with single quotes, so when
612
 
+# we write them to config.status, we have to be sure to quote all
613
 
+# embedded single quotes properly.  In configure, this macro expands
614
 
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
615
 
+#
616
 
+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
617
 
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
618
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
619
 
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
620
 
+
621
 
+
622
 
+# _LT_LIBTOOL_TAGS
623
 
+# ----------------
624
 
+# Output comment and list of tags supported by the script
625
 
+m4_defun([_LT_LIBTOOL_TAGS],
626
 
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
627
 
+available_tags="_LT_TAGS"dnl
628
 
+])
629
 
+
630
 
+
631
 
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
632
 
+# -----------------------------------
633
 
+# Extract the dictionary values for VARNAME (optionally with TAG) and
634
 
+# expand to a commented shell variable setting:
635
 
+#
636
 
+#    # Some comment about what VAR is for.
637
 
+#    visible_name=$lt_internal_name
638
 
+m4_define([_LT_LIBTOOL_DECLARE],
639
 
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
640
 
+                                          [description])))[]dnl
641
 
+m4_pushdef([_libtool_name],
642
 
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
643
 
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
644
 
+    [0], [_libtool_name=[$]$1],
645
 
+    [1], [_libtool_name=$lt_[]$1],
646
 
+    [2], [_libtool_name=$lt_[]$1],
647
 
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
648
 
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
649
 
+])
650
 
+
651
 
+
652
 
+# _LT_LIBTOOL_CONFIG_VARS
653
 
+# -----------------------
654
 
+# Produce commented declarations of non-tagged libtool config variables
655
 
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
656
 
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
657
 
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
658
 
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
659
 
+[m4_foreach([_lt_var],
660
 
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
661
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
662
 
+
663
 
+
664
 
+# _LT_LIBTOOL_TAG_VARS(TAG)
665
 
+# -------------------------
666
 
+m4_define([_LT_LIBTOOL_TAG_VARS],
667
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
668
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
669
 
+
670
 
+
671
 
+# _LT_TAGVAR(VARNAME, [TAGNAME])
672
 
+# ------------------------------
673
 
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
674
 
+
675
 
+
676
 
+# _LT_CONFIG_COMMANDS
677
 
+# -------------------
678
 
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
679
 
+# variables for single and double quote escaping we saved from calls
680
 
+# to _LT_DECL, we can put quote escaped variables declarations
681
 
+# into `config.status', and then the shell code to quote escape them in
682
 
+# for loops in `config.status'.  Finally, any additional code accumulated
683
 
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
684
 
+m4_defun([_LT_CONFIG_COMMANDS],
685
 
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
686
 
+       dnl If the libtool generation code has been placed in $CONFIG_LT,
687
 
+       dnl instead of duplicating it all over again into config.status,
688
 
+       dnl then we will have config.status run $CONFIG_LT later, so it
689
 
+       dnl needs to know what name is stored there:
690
 
+        [AC_CONFIG_COMMANDS([libtool],
691
 
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
692
 
+    dnl If the libtool generation code is destined for config.status,
693
 
+    dnl expand the accumulated commands and init code now:
694
 
+    [AC_CONFIG_COMMANDS([libtool],
695
 
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
696
 
+])#_LT_CONFIG_COMMANDS
697
 
+
698
 
+
699
 
+# Initialize.
700
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
701
 
+[
702
 
+
703
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
704
 
+# if CDPATH is set.
705
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
706
 
+
707
 
+sed_quote_subst='$sed_quote_subst'
708
 
+double_quote_subst='$double_quote_subst'
709
 
+delay_variable_subst='$delay_variable_subst'
710
 
+_LT_CONFIG_STATUS_DECLARATIONS
711
 
+LTCC='$LTCC'
712
 
+LTCFLAGS='$LTCFLAGS'
713
 
+compiler='$compiler_DEFAULT'
714
 
+
715
 
+# Quote evaled strings.
716
 
+for var in lt_decl_all_varnames([[ \
717
 
+]], lt_decl_quote_varnames); do
718
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
719
 
+    *[[\\\\\\\`\\"\\\$]]*)
720
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
721
 
+      ;;
722
 
+    *)
723
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
724
 
+      ;;
725
 
+    esac
726
 
+done
727
 
+
728
 
+# Double-quote double-evaled strings.
729
 
+for var in lt_decl_all_varnames([[ \
730
 
+]], lt_decl_dquote_varnames); do
731
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
732
 
+    *[[\\\\\\\`\\"\\\$]]*)
733
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
734
 
+      ;;
735
 
+    *)
736
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
737
 
+      ;;
738
 
+    esac
739
 
+done
740
 
+
741
 
+# Fix-up fallback echo if it was mangled by the above quoting rules.
742
 
+case \$lt_ECHO in
743
 
+*'\\\[$]0 --fallback-echo"')dnl "
744
 
+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
745
 
+  ;;
746
 
+esac
747
 
+
748
 
+_LT_OUTPUT_LIBTOOL_INIT
749
 
+])
750
 
+
751
 
+
752
 
+# LT_OUTPUT
753
 
+# ---------
754
 
+# This macro allows early generation of the libtool script (before
755
 
+# AC_OUTPUT is called), incase it is used in configure for compilation
756
 
+# tests.
757
 
+AC_DEFUN([LT_OUTPUT],
758
 
+[: ${CONFIG_LT=./config.lt}
759
 
+AC_MSG_NOTICE([creating $CONFIG_LT])
760
 
+cat >"$CONFIG_LT" <<_LTEOF
761
 
+#! $SHELL
762
 
+# Generated by $as_me.
763
 
+# Run this file to recreate a libtool stub with the current configuration.
764
 
+
765
 
+lt_cl_silent=false
766
 
+SHELL=\${CONFIG_SHELL-$SHELL}
767
 
+_LTEOF
768
 
+
769
 
+cat >>"$CONFIG_LT" <<\_LTEOF
770
 
+AS_SHELL_SANITIZE
771
 
+_AS_PREPARE
772
 
+
773
 
+exec AS_MESSAGE_FD>&1
774
 
+exec AS_MESSAGE_LOG_FD>>config.log
775
 
+{
776
 
+  echo
777
 
+  AS_BOX([Running $as_me.])
778
 
+} >&AS_MESSAGE_LOG_FD
779
 
+
780
 
+lt_cl_help="\
781
 
+\`$as_me' creates a local libtool stub from the current configuration,
782
 
+for use in further configure time tests before the real libtool is
783
 
+generated.
784
 
+
785
 
+Usage: $[0] [[OPTIONS]]
786
 
+
787
 
+  -h, --help      print this help, then exit
788
 
+  -V, --version   print version number, then exit
789
 
+  -q, --quiet     do not print progress messages
790
 
+  -d, --debug     don't remove temporary files
791
 
+
792
 
+Report bugs to <bug-libtool@gnu.org>."
793
 
+
794
 
+lt_cl_version="\
795
 
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
796
 
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
797
 
+configured by $[0], generated by m4_PACKAGE_STRING.
798
 
+
799
 
+Copyright (C) 2008 Free Software Foundation, Inc.
800
 
+This config.lt script is free software; the Free Software Foundation
801
 
+gives unlimited permision to copy, distribute and modify it."
802
 
+
803
 
+while test $[#] != 0
804
 
+do
805
 
+  case $[1] in
806
 
+    --version | --v* | -V )
807
 
+      echo "$lt_cl_version"; exit 0 ;;
808
 
+    --help | --h* | -h )
809
 
+      echo "$lt_cl_help"; exit 0 ;;
810
 
+    --debug | --d* | -d )
811
 
+      debug=: ;;
812
 
+    --quiet | --q* | --silent | --s* | -q )
813
 
+      lt_cl_silent=: ;;
814
 
+
815
 
+    -*) AC_MSG_ERROR([unrecognized option: $[1]
816
 
+Try \`$[0] --help' for more information.]) ;;
817
 
+
818
 
+    *) AC_MSG_ERROR([unrecognized argument: $[1]
819
 
+Try \`$[0] --help' for more information.]) ;;
820
 
+  esac
821
 
+  shift
822
 
+done
823
 
+
824
 
+if $lt_cl_silent; then
825
 
+  exec AS_MESSAGE_FD>/dev/null
826
 
+fi
827
 
+_LTEOF
828
 
+
829
 
+cat >>"$CONFIG_LT" <<_LTEOF
830
 
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
831
 
+_LTEOF
832
 
+
833
 
+cat >>"$CONFIG_LT" <<\_LTEOF
834
 
+AC_MSG_NOTICE([creating $ofile])
835
 
+_LT_OUTPUT_LIBTOOL_COMMANDS
836
 
+AS_EXIT(0)
837
 
+_LTEOF
838
 
+chmod +x "$CONFIG_LT"
839
 
+
840
 
+# configure is writing to config.log, but config.lt does its own redirection,
841
 
+# appending to config.log, which fails on DOS, as config.log is still kept
842
 
+# open by configure.  Here we exec the FD to /dev/null, effectively closing
843
 
+# config.log, so it can be properly (re)opened and appended to by config.lt.
844
 
+if test "$no_create" != yes; then
845
 
+  lt_cl_success=:
846
 
+  test "$silent" = yes &&
847
 
+    lt_config_lt_args="$lt_config_lt_args --quiet"
848
 
+  exec AS_MESSAGE_LOG_FD>/dev/null
849
 
+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
850
 
+  exec AS_MESSAGE_LOG_FD>>config.log
851
 
+  $lt_cl_success || AS_EXIT(1)
852
 
+fi
853
 
+])# LT_OUTPUT
854
 
+
855
 
+
856
 
+# _LT_CONFIG(TAG)
857
 
+# ---------------
858
 
+# If TAG is the built-in tag, create an initial libtool script with a
859
 
+# default configuration from the untagged config vars.  Otherwise add code
860
 
+# to config.status for appending the configuration named by TAG from the
861
 
+# matching tagged config vars.
862
 
+m4_defun([_LT_CONFIG],
863
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
864
 
+_LT_CONFIG_SAVE_COMMANDS([
865
 
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
866
 
+  m4_if(_LT_TAG, [C], [
867
 
+    # See if we are running on zsh, and set the options which allow our
868
 
+    # commands through without removal of \ escapes.
869
 
+    if test -n "${ZSH_VERSION+set}" ; then
870
 
+      setopt NO_GLOB_SUBST
871
 
+    fi
872
 
+
873
 
+    cfgfile="${ofile}T"
874
 
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
875
 
+    $RM "$cfgfile"
876
 
+
877
 
+    cat <<_LT_EOF >> "$cfgfile"
878
 
+#! $SHELL
879
 
+
880
 
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
881
 
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
882
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
883
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
884
 
+#
885
 
+_LT_COPYING
886
 
+_LT_LIBTOOL_TAGS
887
 
+
888
 
+# ### BEGIN LIBTOOL CONFIG
889
 
+_LT_LIBTOOL_CONFIG_VARS
890
 
+_LT_LIBTOOL_TAG_VARS
891
 
+# ### END LIBTOOL CONFIG
892
 
+
893
 
+_LT_EOF
894
 
+
895
 
+  case $host_os in
896
 
+  aix3*)
897
 
+    cat <<\_LT_EOF >> "$cfgfile"
898
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
899
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
900
 
+# vanish in a puff of smoke.
901
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
902
 
+  COLLECT_NAMES=
903
 
+  export COLLECT_NAMES
904
 
+fi
905
 
+_LT_EOF
906
 
+    ;;
907
 
+  esac
908
 
+
909
 
+  _LT_PROG_LTMAIN
910
 
+
911
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
912
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
913
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
914
 
+  # is reportedly fixed, but why not run on old versions too?
915
 
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
916
 
+    || (rm -f "$cfgfile"; exit 1)
917
 
+
918
 
+  _LT_PROG_XSI_SHELLFNS
919
 
+
920
 
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
921
 
+    || (rm -f "$cfgfile"; exit 1)
922
 
+
923
 
+  mv -f "$cfgfile" "$ofile" ||
924
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
925
 
+  chmod +x "$ofile"
926
 
+],
927
 
+[cat <<_LT_EOF >> "$ofile"
928
 
+
929
 
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
930
 
+dnl in a comment (ie after a #).
931
 
+# ### BEGIN LIBTOOL TAG CONFIG: $1
932
 
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
933
 
+# ### END LIBTOOL TAG CONFIG: $1
934
 
+_LT_EOF
935
 
+])dnl /m4_if
936
 
+],
937
 
+[m4_if([$1], [], [
938
 
+    PACKAGE='$PACKAGE'
939
 
+    VERSION='$VERSION'
940
 
+    TIMESTAMP='$TIMESTAMP'
941
 
+    RM='$RM'
942
 
+    ofile='$ofile'], [])
943
 
+])dnl /_LT_CONFIG_SAVE_COMMANDS
944
 
+])# _LT_CONFIG
945
 
+
946
 
+
947
 
+# LT_SUPPORTED_TAG(TAG)
948
 
+# ---------------------
949
 
+# Trace this macro to discover what tags are supported by the libtool
950
 
+# --tag option, using:
951
 
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
952
 
+AC_DEFUN([LT_SUPPORTED_TAG], [])
953
 
+
954
 
+
955
 
+# C support is built-in for now
956
 
+m4_define([_LT_LANG_C_enabled], [])
957
 
+m4_define([_LT_TAGS], [])
958
 
+
959
 
+
960
 
+# LT_LANG(LANG)
961
 
+# -------------
962
 
+# Enable libtool support for the given language if not already enabled.
963
 
+AC_DEFUN([LT_LANG],
964
 
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
965
 
+m4_case([$1],
966
 
+  [C],                 [_LT_LANG(C)],
967
 
+  [C++],               [_LT_LANG(CXX)],
968
 
+  [Java],              [_LT_LANG(GCJ)],
969
 
+  [Fortran 77],                [_LT_LANG(F77)],
970
 
+  [Fortran],           [_LT_LANG(FC)],
971
 
+  [Windows Resource],  [_LT_LANG(RC)],
972
 
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
973
 
+    [_LT_LANG($1)],
974
 
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
975
 
+])# LT_LANG
976
 
+
977
 
+
978
 
+# _LT_LANG(LANGNAME)
979
 
+# ------------------
980
 
+m4_defun([_LT_LANG],
981
 
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
982
 
+  [LT_SUPPORTED_TAG([$1])dnl
983
 
+  m4_append([_LT_TAGS], [$1 ])dnl
984
 
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
985
 
+  _LT_LANG_$1_CONFIG($1)])dnl
986
 
+])# _LT_LANG
987
 
+
988
 
+
989
 
+# _LT_LANG_DEFAULT_CONFIG
990
 
+# -----------------------
991
 
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
992
 
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
993
 
+  [LT_LANG(CXX)],
994
 
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
995
 
+
996
 
+AC_PROVIDE_IFELSE([AC_PROG_F77],
997
 
+  [LT_LANG(F77)],
998
 
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
999
 
+
1000
 
+AC_PROVIDE_IFELSE([AC_PROG_FC],
1001
 
+  [LT_LANG(FC)],
1002
 
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
1003
 
+
1004
 
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
1005
 
+dnl pulling things in needlessly.
1006
 
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1007
 
+  [LT_LANG(GCJ)],
1008
 
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1009
 
+    [LT_LANG(GCJ)],
1010
 
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
1011
 
+      [LT_LANG(GCJ)],
1012
 
+      [m4_ifdef([AC_PROG_GCJ],
1013
 
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
1014
 
+       m4_ifdef([A][M_PROG_GCJ],
1015
 
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
1016
 
+       m4_ifdef([LT_PROG_GCJ],
1017
 
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
1018
 
+
1019
 
+AC_PROVIDE_IFELSE([LT_PROG_RC],
1020
 
+  [LT_LANG(RC)],
1021
 
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
1022
 
+])# _LT_LANG_DEFAULT_CONFIG
1023
 
+
1024
 
+# Obsolete macros:
1025
 
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
1026
 
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1027
 
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1028
 
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1029
 
+dnl aclocal-1.4 backwards compatibility:
1030
 
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1031
 
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1032
 
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1033
 
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1034
 
+
1035
 
+
1036
 
+# _LT_TAG_COMPILER
1037
 
+# ----------------
1038
 
+m4_defun([_LT_TAG_COMPILER],
1039
 
+[AC_REQUIRE([AC_PROG_CC])dnl
1040
 
+
1041
 
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
1042
 
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
1043
 
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
1044
 
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
1045
 
+
1046
 
+# If no C compiler was specified, use CC.
1047
 
+LTCC=${LTCC-"$CC"}
1048
 
+
1049
 
+# If no C compiler flags were specified, use CFLAGS.
1050
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1051
 
+
1052
 
+# Allow CC to be a program name with arguments.
1053
 
+compiler=$CC
1054
 
+])# _LT_TAG_COMPILER
1055
 
+
1056
 
+
1057
 
+# _LT_COMPILER_BOILERPLATE
1058
 
+# ------------------------
1059
 
+# Check for compiler boilerplate output or warnings with
1060
 
+# the simple compiler test code.
1061
 
+m4_defun([_LT_COMPILER_BOILERPLATE],
1062
 
+[m4_require([_LT_DECL_SED])dnl
1063
 
+ac_outfile=conftest.$ac_objext
1064
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1065
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1066
 
+_lt_compiler_boilerplate=`cat conftest.err`
1067
 
+$RM conftest*
1068
 
+])# _LT_COMPILER_BOILERPLATE
1069
 
+
1070
 
+
1071
 
+# _LT_LINKER_BOILERPLATE
1072
 
+# ----------------------
1073
 
+# Check for linker boilerplate output or warnings with
1074
 
+# the simple link test code.
1075
 
+m4_defun([_LT_LINKER_BOILERPLATE],
1076
 
+[m4_require([_LT_DECL_SED])dnl
1077
 
+ac_outfile=conftest.$ac_objext
1078
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
1079
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1080
 
+_lt_linker_boilerplate=`cat conftest.err`
1081
 
+$RM -r conftest*
1082
 
+])# _LT_LINKER_BOILERPLATE
1083
 
+
1084
 
+# _LT_REQUIRED_DARWIN_CHECKS
1085
 
+# -------------------------
1086
 
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1087
 
+  case $host_os in
1088
 
+    rhapsody* | darwin*)
1089
 
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1090
 
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1091
 
+    AC_CHECK_TOOL([LIPO], [lipo], [:])
1092
 
+    AC_CHECK_TOOL([OTOOL], [otool], [:])
1093
 
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
1094
 
+    _LT_DECL([], [DSYMUTIL], [1],
1095
 
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
1096
 
+    _LT_DECL([], [NMEDIT], [1],
1097
 
+      [Tool to change global to local symbols on Mac OS X])
1098
 
+    _LT_DECL([], [LIPO], [1],
1099
 
+      [Tool to manipulate fat objects and archives on Mac OS X])
1100
 
+    _LT_DECL([], [OTOOL], [1],
1101
 
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1102
 
+    _LT_DECL([], [OTOOL64], [1],
1103
 
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1104
 
+
1105
 
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1106
 
+      [lt_cv_apple_cc_single_mod=no
1107
 
+      if test -z "${LT_MULTI_MODULE}"; then
1108
 
+       # By default we will add the -single_module flag. You can override
1109
 
+       # by either setting the environment variable LT_MULTI_MODULE
1110
 
+       # non-empty at configure time, or by adding -multi_module to the
1111
 
+       # link flags.
1112
 
+       rm -rf libconftest.dylib*
1113
 
+       echo "int foo(void){return 1;}" > conftest.c
1114
 
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1115
 
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1116
 
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1117
 
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1118
 
+        _lt_result=$?
1119
 
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1120
 
+         lt_cv_apple_cc_single_mod=yes
1121
 
+       else
1122
 
+         cat conftest.err >&AS_MESSAGE_LOG_FD
1123
 
+       fi
1124
 
+       rm -rf libconftest.dylib*
1125
 
+       rm -f conftest.*
1126
 
+      fi])
1127
 
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1128
 
+      [lt_cv_ld_exported_symbols_list],
1129
 
+      [lt_cv_ld_exported_symbols_list=no
1130
 
+      save_LDFLAGS=$LDFLAGS
1131
 
+      echo "_main" > conftest.sym
1132
 
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1133
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1134
 
+       [lt_cv_ld_exported_symbols_list=yes],
1135
 
+       [lt_cv_ld_exported_symbols_list=no])
1136
 
+       LDFLAGS="$save_LDFLAGS"
1137
 
+    ])
1138
 
+    case $host_os in
1139
 
+    rhapsody* | darwin1.[[012]])
1140
 
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1141
 
+    darwin1.*)
1142
 
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1143
 
+    darwin*) # darwin 5.x on
1144
 
+      # if running on 10.5 or later, the deployment target defaults
1145
 
+      # to the OS version, if on x86, and 10.4, the deployment
1146
 
+      # target defaults to 10.4. Don't you love it?
1147
 
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1148
 
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1149
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1150
 
+       10.[[012]]*)
1151
 
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1152
 
+       10.*)
1153
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1154
 
+      esac
1155
 
+    ;;
1156
 
+  esac
1157
 
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1158
 
+      _lt_dar_single_mod='$single_module'
1159
 
+    fi
1160
 
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1161
 
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1162
 
+    else
1163
 
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1164
 
+    fi
1165
 
+    if test "$DSYMUTIL" != ":"; then
1166
 
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
1167
 
+    else
1168
 
+      _lt_dsymutil=
1169
 
+    fi
1170
 
+    ;;
1171
 
+  esac
1172
 
+])
1173
 
+
1174
 
+
1175
 
+# _LT_DARWIN_LINKER_FEATURES
1176
 
+# --------------------------
1177
 
+# Checks for linker and compiler features on darwin
1178
 
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
1179
 
+[
1180
 
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1181
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1182
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
1183
 
+  _LT_TAGVAR(hardcode_automatic, $1)=yes
1184
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1185
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1186
 
+  _LT_TAGVAR(link_all_deplibs, $1)=yes
1187
 
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1188
 
+  case $cc_basename in
1189
 
+     ifort*) _lt_dar_can_shared=yes ;;
1190
 
+     *) _lt_dar_can_shared=$GCC ;;
1191
 
+  esac
1192
 
+  if test "$_lt_dar_can_shared" = "yes"; then
1193
 
+    output_verbose_link_cmd=echo
1194
 
+    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1195
 
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1196
 
+    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1197
 
+    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
1198
 
+    m4_if([$1], [CXX],
1199
 
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1200
 
+      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1201
 
+      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
1202
 
+    fi
1203
 
+],[])
1204
 
+  else
1205
 
+  _LT_TAGVAR(ld_shlibs, $1)=no
1206
 
+  fi
1207
 
+])
1208
 
+
1209
 
+# _LT_SYS_MODULE_PATH_AIX
1210
 
+# -----------------------
1211
 
+# Links a minimal program and checks the executable
1212
 
+# for the system default hardcoded library path. In most cases,
1213
 
+# this is /usr/lib:/lib, but when the MPI compilers are used
1214
 
+# the location of the communication and MPI libs are included too.
1215
 
+# If we don't find anything, use the default library path according
1216
 
+# to the aix ld manual.
1217
 
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
1218
 
+[m4_require([_LT_DECL_SED])dnl
1219
 
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1220
 
+lt_aix_libpath_sed='
1221
 
+    /Import File Strings/,/^$/ {
1222
 
+       /^0/ {
1223
 
+           s/^0  *\(.*\)$/\1/
1224
 
+           p
1225
 
+       }
1226
 
+    }'
1227
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1228
 
+# Check for a 64-bit object if we didn't find anything.
1229
 
+if test -z "$aix_libpath"; then
1230
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1231
 
+fi],[])
1232
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1233
 
+])# _LT_SYS_MODULE_PATH_AIX
1234
 
+
1235
 
+
1236
 
+# _LT_SHELL_INIT(ARG)
1237
 
+# -------------------
1238
 
+m4_define([_LT_SHELL_INIT],
1239
 
+[ifdef([AC_DIVERSION_NOTICE],
1240
 
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1241
 
+        [AC_DIVERT_PUSH(NOTICE)])
1242
 
+$1
1243
 
+AC_DIVERT_POP
1244
 
+])# _LT_SHELL_INIT
1245
 
+
1246
 
+
1247
 
+# _LT_PROG_ECHO_BACKSLASH
1248
 
+# -----------------------
1249
 
+# Add some code to the start of the generated configure script which
1250
 
+# will find an echo command which doesn't interpret backslashes.
1251
 
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
1252
 
+[_LT_SHELL_INIT([
1253
 
+# Check that we are running under the correct shell.
1254
 
+SHELL=${CONFIG_SHELL-/bin/sh}
1255
 
+
1256
 
+case X$lt_ECHO in
1257
 
+X*--fallback-echo)
1258
 
+  # Remove one level of quotation (which was required for Make).
1259
 
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1260
 
+  ;;
1261
 
+esac
1262
 
+
1263
 
+ECHO=${lt_ECHO-echo}
1264
 
+if test "X[$]1" = X--no-reexec; then
1265
 
+  # Discard the --no-reexec flag, and continue.
1266
 
+  shift
1267
 
+elif test "X[$]1" = X--fallback-echo; then
1268
 
+  # Avoid inline document here, it may be left over
1269
 
+  :
1270
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1271
 
+  # Yippee, $ECHO works!
1272
 
+  :
1273
 
+else
1274
 
+  # Restart under the correct shell.
1275
 
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1276
 
+fi
1277
 
+
1278
 
+if test "X[$]1" = X--fallback-echo; then
1279
 
+  # used as fallback echo
1280
 
+  shift
1281
 
+  cat <<_LT_EOF
1282
 
+[$]*
1283
 
+_LT_EOF
1284
 
+  exit 0
1285
 
+fi
1286
 
+
1287
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
1288
 
+# if CDPATH is set.
1289
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1290
 
+
1291
 
+if test -z "$lt_ECHO"; then
1292
 
+  if test "X${echo_test_string+set}" != Xset; then
1293
 
+    # find a string as large as possible, as long as the shell can cope with it
1294
 
+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1295
 
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1296
 
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1297
 
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1298
 
+      then
1299
 
+        break
1300
 
+      fi
1301
 
+    done
1302
 
+  fi
1303
 
+
1304
 
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1305
 
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1306
 
+     test "X$echo_testing_string" = "X$echo_test_string"; then
1307
 
+    :
1308
 
+  else
1309
 
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
1310
 
+    # backslashes.  This makes it impossible to quote backslashes using
1311
 
+    #   echo "$something" | sed 's/\\/\\\\/g'
1312
 
+    #
1313
 
+    # So, first we look for a working echo in the user's PATH.
1314
 
+
1315
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1316
 
+    for dir in $PATH /usr/ucb; do
1317
 
+      IFS="$lt_save_ifs"
1318
 
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1319
 
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1320
 
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1321
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
1322
 
+        ECHO="$dir/echo"
1323
 
+        break
1324
 
+      fi
1325
 
+    done
1326
 
+    IFS="$lt_save_ifs"
1327
 
+
1328
 
+    if test "X$ECHO" = Xecho; then
1329
 
+      # We didn't find a better echo, so look for alternatives.
1330
 
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1331
 
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1332
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
1333
 
+        # This shell has a builtin print -r that does the trick.
1334
 
+        ECHO='print -r'
1335
 
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1336
 
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
1337
 
+        # If we have ksh, try running configure again with it.
1338
 
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1339
 
+        export ORIGINAL_CONFIG_SHELL
1340
 
+        CONFIG_SHELL=/bin/ksh
1341
 
+        export CONFIG_SHELL
1342
 
+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1343
 
+      else
1344
 
+        # Try using printf.
1345
 
+        ECHO='printf %s\n'
1346
 
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1347
 
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1348
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
1349
 
+         # Cool, printf works
1350
 
+         :
1351
 
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1352
 
+            test "X$echo_testing_string" = 'X\t' &&
1353
 
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1354
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
1355
 
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1356
 
+         export CONFIG_SHELL
1357
 
+         SHELL="$CONFIG_SHELL"
1358
 
+         export SHELL
1359
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1360
 
+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1361
 
+            test "X$echo_testing_string" = 'X\t' &&
1362
 
+            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1363
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
1364
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1365
 
+        else
1366
 
+         # maybe with a smaller string...
1367
 
+         prev=:
1368
 
+
1369
 
+         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1370
 
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1371
 
+           then
1372
 
+             break
1373
 
+           fi
1374
 
+           prev="$cmd"
1375
 
+         done
1376
 
+
1377
 
+         if test "$prev" != 'sed 50q "[$]0"'; then
1378
 
+           echo_test_string=`eval $prev`
1379
 
+           export echo_test_string
1380
 
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1381
 
+         else
1382
 
+           # Oops.  We lost completely, so just stick with echo.
1383
 
+           ECHO=echo
1384
 
+         fi
1385
 
+        fi
1386
 
+      fi
1387
 
+    fi
1388
 
+  fi
1389
 
+fi
1390
 
+
1391
 
+# Copy echo and quote the copy suitably for passing to libtool from
1392
 
+# the Makefile, instead of quoting the original, which is used later.
1393
 
+lt_ECHO=$ECHO
1394
 
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1395
 
+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1396
 
+fi
1397
 
+
1398
 
+AC_SUBST(lt_ECHO)
1399
 
+])
1400
 
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1401
 
+_LT_DECL([], [ECHO], [1],
1402
 
+    [An echo program that does not interpret backslashes])
1403
 
+])# _LT_PROG_ECHO_BACKSLASH
1404
 
+
1405
 
+
1406
 
+# _LT_ENABLE_LOCK
1407
 
+# ---------------
1408
 
+m4_defun([_LT_ENABLE_LOCK],
1409
 
+[AC_ARG_ENABLE([libtool-lock],
1410
 
+  [AS_HELP_STRING([--disable-libtool-lock],
1411
 
+    [avoid locking (might break parallel builds)])])
1412
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1413
 
+
1414
 
+# Some flags need to be propagated to the compiler or linker for good
1415
 
+# libtool support.
1416
 
+case $host in
1417
 
+ia64-*-hpux*)
1418
 
+  # Find out which ABI we are using.
1419
 
+  echo 'int i;' > conftest.$ac_ext
1420
 
+  if AC_TRY_EVAL(ac_compile); then
1421
 
+    case `/usr/bin/file conftest.$ac_objext` in
1422
 
+      *ELF-32*)
1423
 
+       HPUX_IA64_MODE="32"
1424
 
+       ;;
1425
 
+      *ELF-64*)
1426
 
+       HPUX_IA64_MODE="64"
1427
 
+       ;;
1428
 
+    esac
1429
 
+  fi
1430
 
+  rm -rf conftest*
1431
 
+  ;;
1432
 
+*-*-irix6*)
1433
 
+  # Find out which ABI we are using.
1434
 
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1435
 
+  if AC_TRY_EVAL(ac_compile); then
1436
 
+    if test "$lt_cv_prog_gnu_ld" = yes; then
1437
 
+      case `/usr/bin/file conftest.$ac_objext` in
1438
 
+       *32-bit*)
1439
 
+         LD="${LD-ld} -melf32bsmip"
1440
 
+         ;;
1441
 
+       *N32*)
1442
 
+         LD="${LD-ld} -melf32bmipn32"
1443
 
+         ;;
1444
 
+       *64-bit*)
1445
 
+         LD="${LD-ld} -melf64bmip"
1446
 
+       ;;
1447
 
+      esac
1448
 
+    else
1449
 
+      case `/usr/bin/file conftest.$ac_objext` in
1450
 
+       *32-bit*)
1451
 
+         LD="${LD-ld} -32"
1452
 
+         ;;
1453
 
+       *N32*)
1454
 
+         LD="${LD-ld} -n32"
1455
 
+         ;;
1456
 
+       *64-bit*)
1457
 
+         LD="${LD-ld} -64"
1458
 
+         ;;
1459
 
+      esac
1460
 
+    fi
1461
 
+  fi
1462
 
+  rm -rf conftest*
1463
 
+  ;;
1464
 
+
1465
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1466
 
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1467
 
+  # Find out which ABI we are using.
1468
 
+  echo 'int i;' > conftest.$ac_ext
1469
 
+  if AC_TRY_EVAL(ac_compile); then
1470
 
+    case `/usr/bin/file conftest.o` in
1471
 
+      *32-bit*)
1472
 
+       case $host in
1473
 
+         x86_64-*kfreebsd*-gnu)
1474
 
+           LD="${LD-ld} -m elf_i386_fbsd"
1475
 
+           ;;
1476
 
+         x86_64-*linux*)
1477
 
+           LD="${LD-ld} -m elf_i386"
1478
 
+           ;;
1479
 
+         ppc64-*linux*|powerpc64-*linux*)
1480
 
+           LD="${LD-ld} -m elf32ppclinux"
1481
 
+           ;;
1482
 
+         s390x-*linux*)
1483
 
+           LD="${LD-ld} -m elf_s390"
1484
 
+           ;;
1485
 
+         sparc64-*linux*)
1486
 
+           LD="${LD-ld} -m elf32_sparc"
1487
 
+           ;;
1488
 
+       esac
1489
 
+       ;;
1490
 
+      *64-bit*)
1491
 
+       case $host in
1492
 
+         x86_64-*kfreebsd*-gnu)
1493
 
+           LD="${LD-ld} -m elf_x86_64_fbsd"
1494
 
+           ;;
1495
 
+         x86_64-*linux*)
1496
 
+           LD="${LD-ld} -m elf_x86_64"
1497
 
+           ;;
1498
 
+         ppc*-*linux*|powerpc*-*linux*)
1499
 
+           LD="${LD-ld} -m elf64ppc"
1500
 
+           ;;
1501
 
+         s390*-*linux*|s390*-*tpf*)
1502
 
+           LD="${LD-ld} -m elf64_s390"
1503
 
+           ;;
1504
 
+         sparc*-*linux*)
1505
 
+           LD="${LD-ld} -m elf64_sparc"
1506
 
+           ;;
1507
 
+       esac
1508
 
+       ;;
1509
 
+    esac
1510
 
+  fi
1511
 
+  rm -rf conftest*
1512
 
+  ;;
1513
 
+
1514
 
+*-*-sco3.2v5*)
1515
 
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1516
 
+  SAVE_CFLAGS="$CFLAGS"
1517
 
+  CFLAGS="$CFLAGS -belf"
1518
 
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1519
 
+    [AC_LANG_PUSH(C)
1520
 
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1521
 
+     AC_LANG_POP])
1522
 
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1523
 
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1524
 
+    CFLAGS="$SAVE_CFLAGS"
1525
 
+  fi
1526
 
+  ;;
1527
 
+sparc*-*solaris*)
1528
 
+  # Find out which ABI we are using.
1529
 
+  echo 'int i;' > conftest.$ac_ext
1530
 
+  if AC_TRY_EVAL(ac_compile); then
1531
 
+    case `/usr/bin/file conftest.o` in
1532
 
+    *64-bit*)
1533
 
+      case $lt_cv_prog_gnu_ld in
1534
 
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
1535
 
+      *)
1536
 
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1537
 
+         LD="${LD-ld} -64"
1538
 
+       fi
1539
 
+       ;;
1540
 
+      esac
1541
 
+      ;;
1542
 
+    esac
1543
 
+  fi
1544
 
+  rm -rf conftest*
1545
 
+  ;;
1546
 
+esac
1547
 
+
1548
 
+need_locks="$enable_libtool_lock"
1549
 
+])# _LT_ENABLE_LOCK
1550
 
+
1551
 
+
1552
 
+# _LT_CMD_OLD_ARCHIVE
1553
 
+# -------------------
1554
 
+m4_defun([_LT_CMD_OLD_ARCHIVE],
1555
 
+[AC_CHECK_TOOL(AR, ar, false)
1556
 
+test -z "$AR" && AR=ar
1557
 
+test -z "$AR_FLAGS" && AR_FLAGS=cru
1558
 
+_LT_DECL([], [AR], [1], [The archiver])
1559
 
+_LT_DECL([], [AR_FLAGS], [1])
1560
 
+
1561
 
+AC_CHECK_TOOL(STRIP, strip, :)
1562
 
+test -z "$STRIP" && STRIP=:
1563
 
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1564
 
+
1565
 
+AC_CHECK_TOOL(RANLIB, ranlib, :)
1566
 
+test -z "$RANLIB" && RANLIB=:
1567
 
+_LT_DECL([], [RANLIB], [1],
1568
 
+    [Commands used to install an old-style archive])
1569
 
+
1570
 
+# Determine commands to create old-style static archives.
1571
 
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1572
 
+old_postinstall_cmds='chmod 644 $oldlib'
1573
 
+old_postuninstall_cmds=
1574
 
+
1575
 
+if test -n "$RANLIB"; then
1576
 
+  case $host_os in
1577
 
+  openbsd*)
1578
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1579
 
+    ;;
1580
 
+  *)
1581
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1582
 
+    ;;
1583
 
+  esac
1584
 
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1585
 
+fi
1586
 
+_LT_DECL([], [old_postinstall_cmds], [2])
1587
 
+_LT_DECL([], [old_postuninstall_cmds], [2])
1588
 
+_LT_TAGDECL([], [old_archive_cmds], [2],
1589
 
+    [Commands used to build an old-style archive])
1590
 
+])# _LT_CMD_OLD_ARCHIVE
1591
 
+
1592
 
+
1593
 
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1594
 
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1595
 
+# ----------------------------------------------------------------
1596
 
+# Check whether the given compiler option works
1597
 
+AC_DEFUN([_LT_COMPILER_OPTION],
1598
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1599
 
+m4_require([_LT_DECL_SED])dnl
1600
 
+AC_CACHE_CHECK([$1], [$2],
1601
 
+  [$2=no
1602
 
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1603
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1604
 
+   lt_compiler_flag="$3"
1605
 
+   # Insert the option either (1) after the last *FLAGS variable, or
1606
 
+   # (2) before a word containing "conftest.", or (3) at the end.
1607
 
+   # Note that $ac_compile itself does not contain backslashes and begins
1608
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
1609
 
+   # The option is referenced via a variable to avoid confusing sed.
1610
 
+   lt_compile=`echo "$ac_compile" | $SED \
1611
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1612
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1613
 
+   -e 's:$: $lt_compiler_flag:'`
1614
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1615
 
+   (eval "$lt_compile" 2>conftest.err)
1616
 
+   ac_status=$?
1617
 
+   cat conftest.err >&AS_MESSAGE_LOG_FD
1618
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1619
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
1620
 
+     # The compiler can only warn and ignore the option if not recognized
1621
 
+     # So say no if there are warnings other than the usual output.
1622
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1623
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1624
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1625
 
+       $2=yes
1626
 
+     fi
1627
 
+   fi
1628
 
+   $RM conftest*
1629
 
+])
1630
 
+
1631
 
+if test x"[$]$2" = xyes; then
1632
 
+    m4_if([$5], , :, [$5])
1633
 
+else
1634
 
+    m4_if([$6], , :, [$6])
1635
 
+fi
1636
 
+])# _LT_COMPILER_OPTION
1637
 
+
1638
 
+# Old name:
1639
 
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1640
 
+dnl aclocal-1.4 backwards compatibility:
1641
 
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1642
 
+
1643
 
+
1644
 
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1645
 
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
1646
 
+# ----------------------------------------------------
1647
 
+# Check whether the given linker option works
1648
 
+AC_DEFUN([_LT_LINKER_OPTION],
1649
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1650
 
+m4_require([_LT_DECL_SED])dnl
1651
 
+AC_CACHE_CHECK([$1], [$2],
1652
 
+  [$2=no
1653
 
+   save_LDFLAGS="$LDFLAGS"
1654
 
+   LDFLAGS="$LDFLAGS $3"
1655
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
1656
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1657
 
+     # The linker can only warn and ignore the option if not recognized
1658
 
+     # So say no if there are warnings
1659
 
+     if test -s conftest.err; then
1660
 
+       # Append any errors to the config.log.
1661
 
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
1662
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1663
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1664
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
1665
 
+         $2=yes
1666
 
+       fi
1667
 
+     else
1668
 
+       $2=yes
1669
 
+     fi
1670
 
+   fi
1671
 
+   $RM -r conftest*
1672
 
+   LDFLAGS="$save_LDFLAGS"
1673
 
+])
1674
 
+
1675
 
+if test x"[$]$2" = xyes; then
1676
 
+    m4_if([$4], , :, [$4])
1677
 
+else
1678
 
+    m4_if([$5], , :, [$5])
1679
 
+fi
1680
 
+])# _LT_LINKER_OPTION
1681
 
+
1682
 
+# Old name:
1683
 
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1684
 
+dnl aclocal-1.4 backwards compatibility:
1685
 
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1686
 
+
1687
 
+
1688
 
+# LT_CMD_MAX_LEN
1689
 
+#---------------
1690
 
+AC_DEFUN([LT_CMD_MAX_LEN],
1691
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1692
 
+# find the maximum length of command line arguments
1693
 
+AC_MSG_CHECKING([the maximum length of command line arguments])
1694
 
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1695
 
+  i=0
1696
 
+  teststring="ABCD"
1697
 
+
1698
 
+  case $build_os in
1699
 
+  msdosdjgpp*)
1700
 
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
1701
 
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
1702
 
+    # during glob expansion).  Even if it were fixed, the result of this
1703
 
+    # check would be larger than it should be.
1704
 
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
1705
 
+    ;;
1706
 
+
1707
 
+  gnu*)
1708
 
+    # Under GNU Hurd, this test is not required because there is
1709
 
+    # no limit to the length of command line arguments.
1710
 
+    # Libtool will interpret -1 as no limit whatsoever
1711
 
+    lt_cv_sys_max_cmd_len=-1;
1712
 
+    ;;
1713
 
+
1714
 
+  cygwin* | mingw* | cegcc*)
1715
 
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
1716
 
+    # about 5 minutes as the teststring grows exponentially.
1717
 
+    # Worse, since 9x/ME are not pre-emptively multitasking,
1718
 
+    # you end up with a "frozen" computer, even though with patience
1719
 
+    # the test eventually succeeds (with a max line length of 256k).
1720
 
+    # Instead, let's just punt: use the minimum linelength reported by
1721
 
+    # all of the supported platforms: 8192 (on NT/2K/XP).
1722
 
+    lt_cv_sys_max_cmd_len=8192;
1723
 
+    ;;
1724
 
+
1725
 
+  amigaos*)
1726
 
+    # On AmigaOS with pdksh, this test takes hours, literally.
1727
 
+    # So we just punt and use a minimum line length of 8192.
1728
 
+    lt_cv_sys_max_cmd_len=8192;
1729
 
+    ;;
1730
 
+
1731
 
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1732
 
+    # This has been around since 386BSD, at least.  Likely further.
1733
 
+    if test -x /sbin/sysctl; then
1734
 
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1735
 
+    elif test -x /usr/sbin/sysctl; then
1736
 
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1737
 
+    else
1738
 
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
1739
 
+    fi
1740
 
+    # And add a safety zone
1741
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1742
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1743
 
+    ;;
1744
 
+
1745
 
+  interix*)
1746
 
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
1747
 
+    lt_cv_sys_max_cmd_len=196608
1748
 
+    ;;
1749
 
+
1750
 
+  osf*)
1751
 
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1752
 
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1753
 
+    # nice to cause kernel panics so lets avoid the loop below.
1754
 
+    # First set a reasonable default.
1755
 
+    lt_cv_sys_max_cmd_len=16384
1756
 
+    #
1757
 
+    if test -x /sbin/sysconfig; then
1758
 
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1759
 
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
1760
 
+      esac
1761
 
+    fi
1762
 
+    ;;
1763
 
+  sco3.2v5*)
1764
 
+    lt_cv_sys_max_cmd_len=102400
1765
 
+    ;;
1766
 
+  sysv5* | sco5v6* | sysv4.2uw2*)
1767
 
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1768
 
+    if test -n "$kargmax"; then
1769
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
1770
 
+    else
1771
 
+      lt_cv_sys_max_cmd_len=32768
1772
 
+    fi
1773
 
+    ;;
1774
 
+  *)
1775
 
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1776
 
+    if test -n "$lt_cv_sys_max_cmd_len"; then
1777
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1778
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1779
 
+    else
1780
 
+      # Make teststring a little bigger before we do anything with it.
1781
 
+      # a 1K string should be a reasonable start.
1782
 
+      for i in 1 2 3 4 5 6 7 8 ; do
1783
 
+        teststring=$teststring$teststring
1784
 
+      done
1785
 
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1786
 
+      # If test is not a shell built-in, we'll probably end up computing a
1787
 
+      # maximum length that is only half of the actual maximum length, but
1788
 
+      # we can't tell.
1789
 
+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
1790
 
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
1791
 
+             test $i != 17 # 1/2 MB should be enough
1792
 
+      do
1793
 
+        i=`expr $i + 1`
1794
 
+        teststring=$teststring$teststring
1795
 
+      done
1796
 
+      # Only check the string length outside the loop.
1797
 
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1798
 
+      teststring=
1799
 
+      # Add a significant safety factor because C++ compilers can tack on
1800
 
+      # massive amounts of additional arguments before passing them to the
1801
 
+      # linker.  It appears as though 1/2 is a usable value.
1802
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1803
 
+    fi
1804
 
+    ;;
1805
 
+  esac
1806
 
+])
1807
 
+if test -n $lt_cv_sys_max_cmd_len ; then
1808
 
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1809
 
+else
1810
 
+  AC_MSG_RESULT(none)
1811
 
+fi
1812
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
1813
 
+_LT_DECL([], [max_cmd_len], [0],
1814
 
+    [What is the maximum length of a command?])
1815
 
+])# LT_CMD_MAX_LEN
1816
 
+
1817
 
+# Old name:
1818
 
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
1819
 
+dnl aclocal-1.4 backwards compatibility:
1820
 
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
1821
 
+
1822
 
+
1823
 
+# _LT_HEADER_DLFCN
1824
 
+# ----------------
1825
 
+m4_defun([_LT_HEADER_DLFCN],
1826
 
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1827
 
+])# _LT_HEADER_DLFCN
1828
 
+
1829
 
+
1830
 
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1831
 
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1832
 
+# ----------------------------------------------------------------
1833
 
+m4_defun([_LT_TRY_DLOPEN_SELF],
1834
 
+[m4_require([_LT_HEADER_DLFCN])dnl
1835
 
+if test "$cross_compiling" = yes; then :
1836
 
+  [$4]
1837
 
+else
1838
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1839
 
+  lt_status=$lt_dlunknown
1840
 
+  cat > conftest.$ac_ext <<_LT_EOF
1841
 
+[#line __oline__ "configure"
1842
 
+#include "confdefs.h"
1843
 
+
1844
 
+#if HAVE_DLFCN_H
1845
 
+#include <dlfcn.h>
1846
 
+#endif
1847
 
+
1848
 
+#include <stdio.h>
1849
 
+
1850
 
+#ifdef RTLD_GLOBAL
1851
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
1852
 
+#else
1853
 
+#  ifdef DL_GLOBAL
1854
 
+#    define LT_DLGLOBAL                DL_GLOBAL
1855
 
+#  else
1856
 
+#    define LT_DLGLOBAL                0
1857
 
+#  endif
1858
 
+#endif
1859
 
+
1860
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1861
 
+   find out it does not work in some platform. */
1862
 
+#ifndef LT_DLLAZY_OR_NOW
1863
 
+#  ifdef RTLD_LAZY
1864
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
1865
 
+#  else
1866
 
+#    ifdef DL_LAZY
1867
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
1868
 
+#    else
1869
 
+#      ifdef RTLD_NOW
1870
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
1871
 
+#      else
1872
 
+#        ifdef DL_NOW
1873
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
1874
 
+#        else
1875
 
+#          define LT_DLLAZY_OR_NOW     0
1876
 
+#        endif
1877
 
+#      endif
1878
 
+#    endif
1879
 
+#  endif
1880
 
+#endif
1881
 
+
1882
 
+void fnord() { int i=42;}
1883
 
+int main ()
1884
 
+{
1885
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1886
 
+  int status = $lt_dlunknown;
1887
 
+
1888
 
+  if (self)
1889
 
+    {
1890
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1891
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1892
 
+      /* dlclose (self); */
1893
 
+    }
1894
 
+  else
1895
 
+    puts (dlerror ());
1896
 
+
1897
 
+  return status;
1898
 
+}]
1899
 
+_LT_EOF
1900
 
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1901
 
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1902
 
+    lt_status=$?
1903
 
+    case x$lt_status in
1904
 
+      x$lt_dlno_uscore) $1 ;;
1905
 
+      x$lt_dlneed_uscore) $2 ;;
1906
 
+      x$lt_dlunknown|x*) $3 ;;
1907
 
+    esac
1908
 
+  else :
1909
 
+    # compilation failed
1910
 
+    $3
1911
 
+  fi
1912
 
+fi
1913
 
+rm -fr conftest*
1914
 
+])# _LT_TRY_DLOPEN_SELF
1915
 
+
1916
 
+
1917
 
+# LT_SYS_DLOPEN_SELF
1918
 
+# ------------------
1919
 
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
1920
 
+[m4_require([_LT_HEADER_DLFCN])dnl
1921
 
+if test "x$enable_dlopen" != xyes; then
1922
 
+  enable_dlopen=unknown
1923
 
+  enable_dlopen_self=unknown
1924
 
+  enable_dlopen_self_static=unknown
1925
 
+else
1926
 
+  lt_cv_dlopen=no
1927
 
+  lt_cv_dlopen_libs=
1928
 
+
1929
 
+  case $host_os in
1930
 
+  beos*)
1931
 
+    lt_cv_dlopen="load_add_on"
1932
 
+    lt_cv_dlopen_libs=
1933
 
+    lt_cv_dlopen_self=yes
1934
 
+    ;;
1935
 
+
1936
 
+  mingw* | pw32* | cegcc*)
1937
 
+    lt_cv_dlopen="LoadLibrary"
1938
 
+    lt_cv_dlopen_libs=
1939
 
+    ;;
1940
 
+
1941
 
+  cygwin*)
1942
 
+    lt_cv_dlopen="dlopen"
1943
 
+    lt_cv_dlopen_libs=
1944
 
+    ;;
1945
 
+
1946
 
+  darwin*)
1947
 
+  # if libdl is installed we need to link against it
1948
 
+    AC_CHECK_LIB([dl], [dlopen],
1949
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1950
 
+    lt_cv_dlopen="dyld"
1951
 
+    lt_cv_dlopen_libs=
1952
 
+    lt_cv_dlopen_self=yes
1953
 
+    ])
1954
 
+    ;;
1955
 
+
1956
 
+  *)
1957
 
+    AC_CHECK_FUNC([shl_load],
1958
 
+         [lt_cv_dlopen="shl_load"],
1959
 
+      [AC_CHECK_LIB([dld], [shl_load],
1960
 
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1961
 
+       [AC_CHECK_FUNC([dlopen],
1962
 
+             [lt_cv_dlopen="dlopen"],
1963
 
+         [AC_CHECK_LIB([dl], [dlopen],
1964
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1965
 
+           [AC_CHECK_LIB([svld], [dlopen],
1966
 
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1967
 
+             [AC_CHECK_LIB([dld], [dld_link],
1968
 
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1969
 
+             ])
1970
 
+           ])
1971
 
+         ])
1972
 
+       ])
1973
 
+      ])
1974
 
+    ;;
1975
 
+  esac
1976
 
+
1977
 
+  if test "x$lt_cv_dlopen" != xno; then
1978
 
+    enable_dlopen=yes
1979
 
+  else
1980
 
+    enable_dlopen=no
1981
 
+  fi
1982
 
+
1983
 
+  case $lt_cv_dlopen in
1984
 
+  dlopen)
1985
 
+    save_CPPFLAGS="$CPPFLAGS"
1986
 
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1987
 
+
1988
 
+    save_LDFLAGS="$LDFLAGS"
1989
 
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1990
 
+
1991
 
+    save_LIBS="$LIBS"
1992
 
+    LIBS="$lt_cv_dlopen_libs $LIBS"
1993
 
+
1994
 
+    AC_CACHE_CHECK([whether a program can dlopen itself],
1995
 
+         lt_cv_dlopen_self, [dnl
1996
 
+         _LT_TRY_DLOPEN_SELF(
1997
 
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1998
 
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1999
 
+    ])
2000
 
+
2001
 
+    if test "x$lt_cv_dlopen_self" = xyes; then
2002
 
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2003
 
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2004
 
+         lt_cv_dlopen_self_static, [dnl
2005
 
+         _LT_TRY_DLOPEN_SELF(
2006
 
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2007
 
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
2008
 
+      ])
2009
 
+    fi
2010
 
+
2011
 
+    CPPFLAGS="$save_CPPFLAGS"
2012
 
+    LDFLAGS="$save_LDFLAGS"
2013
 
+    LIBS="$save_LIBS"
2014
 
+    ;;
2015
 
+  esac
2016
 
+
2017
 
+  case $lt_cv_dlopen_self in
2018
 
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2019
 
+  *) enable_dlopen_self=unknown ;;
2020
 
+  esac
2021
 
+
2022
 
+  case $lt_cv_dlopen_self_static in
2023
 
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2024
 
+  *) enable_dlopen_self_static=unknown ;;
2025
 
+  esac
2026
 
+fi
2027
 
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
2028
 
+        [Whether dlopen is supported])
2029
 
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
2030
 
+        [Whether dlopen of programs is supported])
2031
 
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
2032
 
+        [Whether dlopen of statically linked programs is supported])
2033
 
+])# LT_SYS_DLOPEN_SELF
2034
 
+
2035
 
+# Old name:
2036
 
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
2037
 
+dnl aclocal-1.4 backwards compatibility:
2038
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
2039
 
+
2040
 
+
2041
 
+# _LT_COMPILER_C_O([TAGNAME])
2042
 
+# ---------------------------
2043
 
+# Check to see if options -c and -o are simultaneously supported by compiler.
2044
 
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
2045
 
+m4_defun([_LT_COMPILER_C_O],
2046
 
+[m4_require([_LT_DECL_SED])dnl
2047
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2048
 
+m4_require([_LT_TAG_COMPILER])dnl
2049
 
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2050
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2051
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2052
 
+   $RM -r conftest 2>/dev/null
2053
 
+   mkdir conftest
2054
 
+   cd conftest
2055
 
+   mkdir out
2056
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2057
 
+
2058
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
2059
 
+   # Insert the option either (1) after the last *FLAGS variable, or
2060
 
+   # (2) before a word containing "conftest.", or (3) at the end.
2061
 
+   # Note that $ac_compile itself does not contain backslashes and begins
2062
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
2063
 
+   lt_compile=`echo "$ac_compile" | $SED \
2064
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2065
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2066
 
+   -e 's:$: $lt_compiler_flag:'`
2067
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2068
 
+   (eval "$lt_compile" 2>out/conftest.err)
2069
 
+   ac_status=$?
2070
 
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
2071
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2072
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
2073
 
+   then
2074
 
+     # The compiler can only warn and ignore the option if not recognized
2075
 
+     # So say no if there are warnings
2076
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2077
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2078
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2079
 
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2080
 
+     fi
2081
 
+   fi
2082
 
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
2083
 
+   $RM conftest*
2084
 
+   # SGI C++ compiler will create directory out/ii_files/ for
2085
 
+   # template instantiation
2086
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2087
 
+   $RM out/* && rmdir out
2088
 
+   cd ..
2089
 
+   $RM -r conftest
2090
 
+   $RM conftest*
2091
 
+])
2092
 
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
2093
 
+       [Does compiler simultaneously support -c and -o options?])
2094
 
+])# _LT_COMPILER_C_O
2095
 
+
2096
 
+
2097
 
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
2098
 
+# ----------------------------------
2099
 
+# Check to see if we can do hard links to lock some files if needed
2100
 
+m4_defun([_LT_COMPILER_FILE_LOCKS],
2101
 
+[m4_require([_LT_ENABLE_LOCK])dnl
2102
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2103
 
+_LT_COMPILER_C_O([$1])
2104
 
+
2105
 
+hard_links="nottested"
2106
 
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
2107
 
+  # do not overwrite the value of need_locks provided by the user
2108
 
+  AC_MSG_CHECKING([if we can lock with hard links])
2109
 
+  hard_links=yes
2110
 
+  $RM conftest*
2111
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
2112
 
+  touch conftest.a
2113
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
2114
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
2115
 
+  AC_MSG_RESULT([$hard_links])
2116
 
+  if test "$hard_links" = no; then
2117
 
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
2118
 
+    need_locks=warn
2119
 
+  fi
2120
 
+else
2121
 
+  need_locks=no
2122
 
+fi
2123
 
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2124
 
+])# _LT_COMPILER_FILE_LOCKS
2125
 
+
2126
 
+
2127
 
+# _LT_CHECK_OBJDIR
2128
 
+# ----------------
2129
 
+m4_defun([_LT_CHECK_OBJDIR],
2130
 
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2131
 
+[rm -f .libs 2>/dev/null
2132
 
+mkdir .libs 2>/dev/null
2133
 
+if test -d .libs; then
2134
 
+  lt_cv_objdir=.libs
2135
 
+else
2136
 
+  # MS-DOS does not allow filenames that begin with a dot.
2137
 
+  lt_cv_objdir=_libs
2138
 
+fi
2139
 
+rmdir .libs 2>/dev/null])
2140
 
+objdir=$lt_cv_objdir
2141
 
+_LT_DECL([], [objdir], [0],
2142
 
+         [The name of the directory that contains temporary libtool files])dnl
2143
 
+m4_pattern_allow([LT_OBJDIR])dnl
2144
 
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
2145
 
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
2146
 
+])# _LT_CHECK_OBJDIR
2147
 
+
2148
 
+
2149
 
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2150
 
+# --------------------------------------
2151
 
+# Check hardcoding attributes.
2152
 
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
2153
 
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
2154
 
+_LT_TAGVAR(hardcode_action, $1)=
2155
 
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2156
 
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2157
 
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
2158
 
+
2159
 
+  # We can hardcode non-existent directories.
2160
 
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
2161
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
2162
 
+     # have to relink, otherwise we might link with an installed library
2163
 
+     # when we should be linking with a yet-to-be-installed one
2164
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2165
 
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
2166
 
+    # Linking always hardcodes the temporary library directory.
2167
 
+    _LT_TAGVAR(hardcode_action, $1)=relink
2168
 
+  else
2169
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
2170
 
+    _LT_TAGVAR(hardcode_action, $1)=immediate
2171
 
+  fi
2172
 
+else
2173
 
+  # We cannot hardcode anything, or else we can only hardcode existing
2174
 
+  # directories.
2175
 
+  _LT_TAGVAR(hardcode_action, $1)=unsupported
2176
 
+fi
2177
 
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2178
 
+
2179
 
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
2180
 
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
2181
 
+  # Fast installation is not supported
2182
 
+  enable_fast_install=no
2183
 
+elif test "$shlibpath_overrides_runpath" = yes ||
2184
 
+     test "$enable_shared" = no; then
2185
 
+  # Fast installation is not necessary
2186
 
+  enable_fast_install=needless
2187
 
+fi
2188
 
+_LT_TAGDECL([], [hardcode_action], [0],
2189
 
+    [How to hardcode a shared library path into an executable])
2190
 
+])# _LT_LINKER_HARDCODE_LIBPATH
2191
 
+
2192
 
+
2193
 
+# _LT_CMD_STRIPLIB
2194
 
+# ----------------
2195
 
+m4_defun([_LT_CMD_STRIPLIB],
2196
 
+[m4_require([_LT_DECL_EGREP])
2197
 
+striplib=
2198
 
+old_striplib=
2199
 
+AC_MSG_CHECKING([whether stripping libraries is possible])
2200
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2201
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2202
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2203
 
+  AC_MSG_RESULT([yes])
2204
 
+else
2205
 
+# FIXME - insert some real tests, host_os isn't really good enough
2206
 
+  case $host_os in
2207
 
+  darwin*)
2208
 
+    if test -n "$STRIP" ; then
2209
 
+      striplib="$STRIP -x"
2210
 
+      old_striplib="$STRIP -S"
2211
 
+      AC_MSG_RESULT([yes])
2212
 
+    else
2213
 
+      AC_MSG_RESULT([no])
2214
 
+    fi
2215
 
+    ;;
2216
 
+  *)
2217
 
+    AC_MSG_RESULT([no])
2218
 
+    ;;
2219
 
+  esac
2220
 
+fi
2221
 
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2222
 
+_LT_DECL([], [striplib], [1])
2223
 
+])# _LT_CMD_STRIPLIB
2224
 
+
2225
 
+
2226
 
+# _LT_SYS_DYNAMIC_LINKER([TAG])
2227
 
+# -----------------------------
2228
 
+# PORTME Fill in your ld.so characteristics
2229
 
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
2230
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2231
 
+m4_require([_LT_DECL_EGREP])dnl
2232
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2233
 
+m4_require([_LT_DECL_OBJDUMP])dnl
2234
 
+m4_require([_LT_DECL_SED])dnl
2235
 
+AC_MSG_CHECKING([dynamic linker characteristics])
2236
 
+m4_if([$1],
2237
 
+       [], [
2238
 
+if test "$GCC" = yes; then
2239
 
+  case $host_os in
2240
 
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2241
 
+    *) lt_awk_arg="/^libraries:/" ;;
2242
 
+  esac
2243
 
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2244
 
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
2245
 
+    # if the path contains ";" then we assume it to be the separator
2246
 
+    # otherwise default to the standard path separator (i.e. ":") - it is
2247
 
+    # assumed that no part of a normal pathname contains ";" but that should
2248
 
+    # okay in the real world where ";" in dirpaths is itself problematic.
2249
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2250
 
+  else
2251
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
2252
 
+  fi
2253
 
+  # Ok, now we have the path, separated by spaces, we can step through it
2254
 
+  # and add multilib dir if necessary.
2255
 
+  lt_tmp_lt_search_path_spec=
2256
 
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2257
 
+  for lt_sys_path in $lt_search_path_spec; do
2258
 
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2259
 
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2260
 
+    else
2261
 
+      test -d "$lt_sys_path" && \
2262
 
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2263
 
+    fi
2264
 
+  done
2265
 
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
2266
 
+BEGIN {RS=" "; FS="/|\n";} {
2267
 
+  lt_foo="";
2268
 
+  lt_count=0;
2269
 
+  for (lt_i = NF; lt_i > 0; lt_i--) {
2270
 
+    if ($lt_i != "" && $lt_i != ".") {
2271
 
+      if ($lt_i == "..") {
2272
 
+        lt_count++;
2273
 
+      } else {
2274
 
+        if (lt_count == 0) {
2275
 
+          lt_foo="/" $lt_i lt_foo;
2276
 
+        } else {
2277
 
+          lt_count--;
2278
 
+        }
2279
 
+      }
2280
 
+    }
2281
 
+  }
2282
 
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2283
 
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2284
 
+}'`
2285
 
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
2286
 
+else
2287
 
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2288
 
+fi])
2289
 
+library_names_spec=
2290
 
+libname_spec='lib$name'
2291
 
+soname_spec=
2292
 
+shrext_cmds=".so"
2293
 
+postinstall_cmds=
2294
 
+postuninstall_cmds=
2295
 
+finish_cmds=
2296
 
+finish_eval=
2297
 
+shlibpath_var=
2298
 
+shlibpath_overrides_runpath=unknown
2299
 
+version_type=none
2300
 
+dynamic_linker="$host_os ld.so"
2301
 
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
2302
 
+need_lib_prefix=unknown
2303
 
+hardcode_into_libs=no
2304
 
+
2305
 
+# when you set need_version to no, make sure it does not cause -set_version
2306
 
+# flags to be left without arguments
2307
 
+need_version=unknown
2308
 
+
2309
 
+case $host_os in
2310
 
+aix3*)
2311
 
+  version_type=linux
2312
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2313
 
+  shlibpath_var=LIBPATH
2314
 
+
2315
 
+  # AIX 3 has no versioning support, so we append a major version to the name.
2316
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2317
 
+  ;;
2318
 
+
2319
 
+aix[[4-9]]*)
2320
 
+  version_type=linux
2321
 
+  need_lib_prefix=no
2322
 
+  need_version=no
2323
 
+  hardcode_into_libs=yes
2324
 
+  if test "$host_cpu" = ia64; then
2325
 
+    # AIX 5 supports IA64
2326
 
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2327
 
+    shlibpath_var=LD_LIBRARY_PATH
2328
 
+  else
2329
 
+    # With GCC up to 2.95.x, collect2 would create an import file
2330
 
+    # for dependence libraries.  The import file would start with
2331
 
+    # the line `#! .'.  This would cause the generated library to
2332
 
+    # depend on `.', always an invalid library.  This was fixed in
2333
 
+    # development snapshots of GCC prior to 3.0.
2334
 
+    case $host_os in
2335
 
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
2336
 
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2337
 
+          echo ' yes '
2338
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
2339
 
+       :
2340
 
+      else
2341
 
+       can_build_shared=no
2342
 
+      fi
2343
 
+      ;;
2344
 
+    esac
2345
 
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2346
 
+    # soname into executable. Probably we can add versioning support to
2347
 
+    # collect2, so additional links can be useful in future.
2348
 
+    if test "$aix_use_runtimelinking" = yes; then
2349
 
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2350
 
+      # instead of lib<name>.a to let people know that these are not
2351
 
+      # typical AIX shared libraries.
2352
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2353
 
+    else
2354
 
+      # We preserve .a as extension for shared libraries through AIX4.2
2355
 
+      # and later when we are not doing run time linking.
2356
 
+      library_names_spec='${libname}${release}.a $libname.a'
2357
 
+      soname_spec='${libname}${release}${shared_ext}$major'
2358
 
+    fi
2359
 
+    shlibpath_var=LIBPATH
2360
 
+  fi
2361
 
+  ;;
2362
 
+
2363
 
+amigaos*)
2364
 
+  case $host_cpu in
2365
 
+  powerpc)
2366
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
2367
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2368
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2369
 
+    ;;
2370
 
+  m68k)
2371
 
+    library_names_spec='$libname.ixlibrary $libname.a'
2372
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
2373
 
+    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2374
 
+    ;;
2375
 
+  esac
2376
 
+  ;;
2377
 
+
2378
 
+beos*)
2379
 
+  library_names_spec='${libname}${shared_ext}'
2380
 
+  dynamic_linker="$host_os ld.so"
2381
 
+  shlibpath_var=LIBRARY_PATH
2382
 
+  ;;
2383
 
+
2384
 
+bsdi[[45]]*)
2385
 
+  version_type=linux
2386
 
+  need_version=no
2387
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2388
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2389
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2390
 
+  shlibpath_var=LD_LIBRARY_PATH
2391
 
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2392
 
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2393
 
+  # the default ld.so.conf also contains /usr/contrib/lib and
2394
 
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2395
 
+  # libtool to hard-code these into programs
2396
 
+  ;;
2397
 
+
2398
 
+cygwin* | mingw* | pw32* | cegcc*)
2399
 
+  version_type=windows
2400
 
+  shrext_cmds=".dll"
2401
 
+  need_version=no
2402
 
+  need_lib_prefix=no
2403
 
+
2404
 
+  case $GCC,$host_os in
2405
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
2406
 
+    library_names_spec='$libname.dll.a'
2407
 
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
2408
 
+    postinstall_cmds='base_file=`basename \${file}`~
2409
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
2410
 
+      dldir=$destdir/`dirname \$dlpath`~
2411
 
+      test -d \$dldir || mkdir -p \$dldir~
2412
 
+      $install_prog $dir/$dlname \$dldir/$dlname~
2413
 
+      chmod a+x \$dldir/$dlname~
2414
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2415
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2416
 
+      fi'
2417
 
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2418
 
+      dlpath=$dir/\$dldll~
2419
 
+       $RM \$dlpath'
2420
 
+    shlibpath_overrides_runpath=yes
2421
 
+
2422
 
+    case $host_os in
2423
 
+    cygwin*)
2424
 
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2425
 
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2426
 
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2427
 
+      ;;
2428
 
+    mingw* | cegcc*)
2429
 
+      # MinGW DLLs use traditional 'lib' prefix
2430
 
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2431
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2432
 
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2433
 
+        # It is most probably a Windows format PATH printed by
2434
 
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
2435
 
+        # path with ; separators, and with drive letters. We can handle the
2436
 
+        # drive letters (cygwin fileutils understands them), so leave them,
2437
 
+        # especially as we might pass files found there to a mingw objdump,
2438
 
+        # which wouldn't understand a cygwinified path. Ahh.
2439
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2440
 
+      else
2441
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
2442
 
+      fi
2443
 
+      ;;
2444
 
+    pw32*)
2445
 
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
2446
 
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2447
 
+      ;;
2448
 
+    esac
2449
 
+    ;;
2450
 
+
2451
 
+  *)
2452
 
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2453
 
+    ;;
2454
 
+  esac
2455
 
+  dynamic_linker='Win32 ld.exe'
2456
 
+  # FIXME: first we should search . and the directory the executable is in
2457
 
+  shlibpath_var=PATH
2458
 
+  ;;
2459
 
+
2460
 
+darwin* | rhapsody*)
2461
 
+  dynamic_linker="$host_os dyld"
2462
 
+  version_type=darwin
2463
 
+  need_lib_prefix=no
2464
 
+  need_version=no
2465
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2466
 
+  soname_spec='${libname}${release}${major}$shared_ext'
2467
 
+  shlibpath_overrides_runpath=yes
2468
 
+  shlibpath_var=DYLD_LIBRARY_PATH
2469
 
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2470
 
+m4_if([$1], [],[
2471
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2472
 
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2473
 
+  ;;
2474
 
+
2475
 
+dgux*)
2476
 
+  version_type=linux
2477
 
+  need_lib_prefix=no
2478
 
+  need_version=no
2479
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2480
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2481
 
+  shlibpath_var=LD_LIBRARY_PATH
2482
 
+  ;;
2483
 
+
2484
 
+freebsd1*)
2485
 
+  dynamic_linker=no
2486
 
+  ;;
2487
 
+
2488
 
+freebsd* | dragonfly*)
2489
 
+  # DragonFly does not have aout.  When/if they implement a new
2490
 
+  # versioning mechanism, adjust this.
2491
 
+  if test -x /usr/bin/objformat; then
2492
 
+    objformat=`/usr/bin/objformat`
2493
 
+  else
2494
 
+    case $host_os in
2495
 
+    freebsd[[123]]*) objformat=aout ;;
2496
 
+    *) objformat=elf ;;
2497
 
+    esac
2498
 
+  fi
2499
 
+  version_type=freebsd-$objformat
2500
 
+  case $version_type in
2501
 
+    freebsd-elf*)
2502
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2503
 
+      need_version=no
2504
 
+      need_lib_prefix=no
2505
 
+      ;;
2506
 
+    freebsd-*)
2507
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2508
 
+      need_version=yes
2509
 
+      ;;
2510
 
+  esac
2511
 
+  shlibpath_var=LD_LIBRARY_PATH
2512
 
+  case $host_os in
2513
 
+  freebsd2*)
2514
 
+    shlibpath_overrides_runpath=yes
2515
 
+    ;;
2516
 
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2517
 
+    shlibpath_overrides_runpath=yes
2518
 
+    hardcode_into_libs=yes
2519
 
+    ;;
2520
 
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2521
 
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2522
 
+    shlibpath_overrides_runpath=no
2523
 
+    hardcode_into_libs=yes
2524
 
+    ;;
2525
 
+  *) # from 4.6 on, and DragonFly
2526
 
+    shlibpath_overrides_runpath=yes
2527
 
+    hardcode_into_libs=yes
2528
 
+    ;;
2529
 
+  esac
2530
 
+  ;;
2531
 
+
2532
 
+gnu*)
2533
 
+  version_type=linux
2534
 
+  need_lib_prefix=no
2535
 
+  need_version=no
2536
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2537
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2538
 
+  shlibpath_var=LD_LIBRARY_PATH
2539
 
+  hardcode_into_libs=yes
2540
 
+  ;;
2541
 
+
2542
 
+hpux9* | hpux10* | hpux11*)
2543
 
+  # Give a soname corresponding to the major version so that dld.sl refuses to
2544
 
+  # link against other versions.
2545
 
+  version_type=sunos
2546
 
+  need_lib_prefix=no
2547
 
+  need_version=no
2548
 
+  case $host_cpu in
2549
 
+  ia64*)
2550
 
+    shrext_cmds='.so'
2551
 
+    hardcode_into_libs=yes
2552
 
+    dynamic_linker="$host_os dld.so"
2553
 
+    shlibpath_var=LD_LIBRARY_PATH
2554
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2555
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2556
 
+    soname_spec='${libname}${release}${shared_ext}$major'
2557
 
+    if test "X$HPUX_IA64_MODE" = X32; then
2558
 
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2559
 
+    else
2560
 
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2561
 
+    fi
2562
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2563
 
+    ;;
2564
 
+  hppa*64*)
2565
 
+    shrext_cmds='.sl'
2566
 
+    hardcode_into_libs=yes
2567
 
+    dynamic_linker="$host_os dld.sl"
2568
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2569
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2570
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2571
 
+    soname_spec='${libname}${release}${shared_ext}$major'
2572
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2573
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2574
 
+    ;;
2575
 
+  *)
2576
 
+    shrext_cmds='.sl'
2577
 
+    dynamic_linker="$host_os dld.sl"
2578
 
+    shlibpath_var=SHLIB_PATH
2579
 
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2580
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2581
 
+    soname_spec='${libname}${release}${shared_ext}$major'
2582
 
+    ;;
2583
 
+  esac
2584
 
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
2585
 
+  postinstall_cmds='chmod 555 $lib'
2586
 
+  ;;
2587
 
+
2588
 
+interix[[3-9]]*)
2589
 
+  version_type=linux
2590
 
+  need_lib_prefix=no
2591
 
+  need_version=no
2592
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2593
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2594
 
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2595
 
+  shlibpath_var=LD_LIBRARY_PATH
2596
 
+  shlibpath_overrides_runpath=no
2597
 
+  hardcode_into_libs=yes
2598
 
+  ;;
2599
 
+
2600
 
+irix5* | irix6* | nonstopux*)
2601
 
+  case $host_os in
2602
 
+    nonstopux*) version_type=nonstopux ;;
2603
 
+    *)
2604
 
+       if test "$lt_cv_prog_gnu_ld" = yes; then
2605
 
+               version_type=linux
2606
 
+       else
2607
 
+               version_type=irix
2608
 
+       fi ;;
2609
 
+  esac
2610
 
+  need_lib_prefix=no
2611
 
+  need_version=no
2612
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2613
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2614
 
+  case $host_os in
2615
 
+  irix5* | nonstopux*)
2616
 
+    libsuff= shlibsuff=
2617
 
+    ;;
2618
 
+  *)
2619
 
+    case $LD in # libtool.m4 will add one of these switches to LD
2620
 
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2621
 
+      libsuff= shlibsuff= libmagic=32-bit;;
2622
 
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2623
 
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
2624
 
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2625
 
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
2626
 
+    *) libsuff= shlibsuff= libmagic=never-match;;
2627
 
+    esac
2628
 
+    ;;
2629
 
+  esac
2630
 
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2631
 
+  shlibpath_overrides_runpath=no
2632
 
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2633
 
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2634
 
+  hardcode_into_libs=yes
2635
 
+  ;;
2636
 
+
2637
 
+# No shared lib support for Linux oldld, aout, or coff.
2638
 
+linux*oldld* | linux*aout* | linux*coff*)
2639
 
+  dynamic_linker=no
2640
 
+  ;;
2641
 
+
2642
 
+# This must be Linux ELF.
2643
 
+linux* | k*bsd*-gnu)
2644
 
+  version_type=linux
2645
 
+  need_lib_prefix=no
2646
 
+  need_version=no
2647
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2648
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2649
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2650
 
+  shlibpath_var=LD_LIBRARY_PATH
2651
 
+  shlibpath_overrides_runpath=no
2652
 
+  # Some binutils ld are patched to set DT_RUNPATH
2653
 
+  save_LDFLAGS=$LDFLAGS
2654
 
+  save_libdir=$libdir
2655
 
+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2656
 
+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2657
 
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2658
 
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2659
 
+       [shlibpath_overrides_runpath=yes])])
2660
 
+  LDFLAGS=$save_LDFLAGS
2661
 
+  libdir=$save_libdir
2662
 
+
2663
 
+  # This implies no fast_install, which is unacceptable.
2664
 
+  # Some rework will be needed to allow for fast_install
2665
 
+  # before this can be enabled.
2666
 
+  hardcode_into_libs=yes
2667
 
+
2668
 
+  # Append ld.so.conf contents to the search path
2669
 
+  if test -f /etc/ld.so.conf; then
2670
 
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2671
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2672
 
+  fi
2673
 
+
2674
 
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
2675
 
+  # powerpc, because MkLinux only supported shared libraries with the
2676
 
+  # GNU dynamic linker.  Since this was broken with cross compilers,
2677
 
+  # most powerpc-linux boxes support dynamic linking these days and
2678
 
+  # people can always --disable-shared, the test was removed, and we
2679
 
+  # assume the GNU/Linux dynamic linker is in use.
2680
 
+  dynamic_linker='GNU/Linux ld.so'
2681
 
+  ;;
2682
 
+
2683
 
+netbsdelf*-gnu)
2684
 
+  version_type=linux
2685
 
+  need_lib_prefix=no
2686
 
+  need_version=no
2687
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2688
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2689
 
+  shlibpath_var=LD_LIBRARY_PATH
2690
 
+  shlibpath_overrides_runpath=no
2691
 
+  hardcode_into_libs=yes
2692
 
+  dynamic_linker='NetBSD ld.elf_so'
2693
 
+  ;;
2694
 
+
2695
 
+netbsd*)
2696
 
+  version_type=sunos
2697
 
+  need_lib_prefix=no
2698
 
+  need_version=no
2699
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2700
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2701
 
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2702
 
+    dynamic_linker='NetBSD (a.out) ld.so'
2703
 
+  else
2704
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2705
 
+    soname_spec='${libname}${release}${shared_ext}$major'
2706
 
+    dynamic_linker='NetBSD ld.elf_so'
2707
 
+  fi
2708
 
+  shlibpath_var=LD_LIBRARY_PATH
2709
 
+  shlibpath_overrides_runpath=yes
2710
 
+  hardcode_into_libs=yes
2711
 
+  ;;
2712
 
+
2713
 
+newsos6)
2714
 
+  version_type=linux
2715
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2716
 
+  shlibpath_var=LD_LIBRARY_PATH
2717
 
+  shlibpath_overrides_runpath=yes
2718
 
+  ;;
2719
 
+
2720
 
+*nto* | *qnx*)
2721
 
+  version_type=qnx
2722
 
+  need_lib_prefix=no
2723
 
+  need_version=no
2724
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2725
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2726
 
+  shlibpath_var=LD_LIBRARY_PATH
2727
 
+  shlibpath_overrides_runpath=no
2728
 
+  hardcode_into_libs=yes
2729
 
+  dynamic_linker='ldqnx.so'
2730
 
+  ;;
2731
 
+
2732
 
+openbsd*)
2733
 
+  version_type=sunos
2734
 
+  sys_lib_dlsearch_path_spec="/usr/lib"
2735
 
+  need_lib_prefix=no
2736
 
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2737
 
+  case $host_os in
2738
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2739
 
+    *)                         need_version=no  ;;
2740
 
+  esac
2741
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2742
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2743
 
+  shlibpath_var=LD_LIBRARY_PATH
2744
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2745
 
+    case $host_os in
2746
 
+      openbsd2.[[89]] | openbsd2.[[89]].*)
2747
 
+       shlibpath_overrides_runpath=no
2748
 
+       ;;
2749
 
+      *)
2750
 
+       shlibpath_overrides_runpath=yes
2751
 
+       ;;
2752
 
+      esac
2753
 
+  else
2754
 
+    shlibpath_overrides_runpath=yes
2755
 
+  fi
2756
 
+  ;;
2757
 
+
2758
 
+os2*)
2759
 
+  libname_spec='$name'
2760
 
+  shrext_cmds=".dll"
2761
 
+  need_lib_prefix=no
2762
 
+  library_names_spec='$libname${shared_ext} $libname.a'
2763
 
+  dynamic_linker='OS/2 ld.exe'
2764
 
+  shlibpath_var=LIBPATH
2765
 
+  ;;
2766
 
+
2767
 
+osf3* | osf4* | osf5*)
2768
 
+  version_type=osf
2769
 
+  need_lib_prefix=no
2770
 
+  need_version=no
2771
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2772
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2773
 
+  shlibpath_var=LD_LIBRARY_PATH
2774
 
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2775
 
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2776
 
+  ;;
2777
 
+
2778
 
+rdos*)
2779
 
+  dynamic_linker=no
2780
 
+  ;;
2781
 
+
2782
 
+solaris*)
2783
 
+  version_type=linux
2784
 
+  need_lib_prefix=no
2785
 
+  need_version=no
2786
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2787
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2788
 
+  shlibpath_var=LD_LIBRARY_PATH
2789
 
+  shlibpath_overrides_runpath=yes
2790
 
+  hardcode_into_libs=yes
2791
 
+  # ldd complains unless libraries are executable
2792
 
+  postinstall_cmds='chmod +x $lib'
2793
 
+  ;;
2794
 
+
2795
 
+sunos4*)
2796
 
+  version_type=sunos
2797
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2798
 
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2799
 
+  shlibpath_var=LD_LIBRARY_PATH
2800
 
+  shlibpath_overrides_runpath=yes
2801
 
+  if test "$with_gnu_ld" = yes; then
2802
 
+    need_lib_prefix=no
2803
 
+  fi
2804
 
+  need_version=yes
2805
 
+  ;;
2806
 
+
2807
 
+sysv4 | sysv4.3*)
2808
 
+  version_type=linux
2809
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2810
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2811
 
+  shlibpath_var=LD_LIBRARY_PATH
2812
 
+  case $host_vendor in
2813
 
+    sni)
2814
 
+      shlibpath_overrides_runpath=no
2815
 
+      need_lib_prefix=no
2816
 
+      runpath_var=LD_RUN_PATH
2817
 
+      ;;
2818
 
+    siemens)
2819
 
+      need_lib_prefix=no
2820
 
+      ;;
2821
 
+    motorola)
2822
 
+      need_lib_prefix=no
2823
 
+      need_version=no
2824
 
+      shlibpath_overrides_runpath=no
2825
 
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2826
 
+      ;;
2827
 
+  esac
2828
 
+  ;;
2829
 
+
2830
 
+sysv4*MP*)
2831
 
+  if test -d /usr/nec ;then
2832
 
+    version_type=linux
2833
 
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2834
 
+    soname_spec='$libname${shared_ext}.$major'
2835
 
+    shlibpath_var=LD_LIBRARY_PATH
2836
 
+  fi
2837
 
+  ;;
2838
 
+
2839
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2840
 
+  version_type=freebsd-elf
2841
 
+  need_lib_prefix=no
2842
 
+  need_version=no
2843
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2844
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2845
 
+  shlibpath_var=LD_LIBRARY_PATH
2846
 
+  shlibpath_overrides_runpath=yes
2847
 
+  hardcode_into_libs=yes
2848
 
+  if test "$with_gnu_ld" = yes; then
2849
 
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
2850
 
+  else
2851
 
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
2852
 
+    case $host_os in
2853
 
+      sco3.2v5*)
2854
 
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
2855
 
+       ;;
2856
 
+    esac
2857
 
+  fi
2858
 
+  sys_lib_dlsearch_path_spec='/usr/lib'
2859
 
+  ;;
2860
 
+
2861
 
+tpf*)
2862
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
2863
 
+  version_type=linux
2864
 
+  need_lib_prefix=no
2865
 
+  need_version=no
2866
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2867
 
+  shlibpath_var=LD_LIBRARY_PATH
2868
 
+  shlibpath_overrides_runpath=no
2869
 
+  hardcode_into_libs=yes
2870
 
+  ;;
2871
 
+
2872
 
+uts4*)
2873
 
+  version_type=linux
2874
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2875
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2876
 
+  shlibpath_var=LD_LIBRARY_PATH
2877
 
+  ;;
2878
 
+
2879
 
+*)
2880
 
+  dynamic_linker=no
2881
 
+  ;;
2882
 
+esac
2883
 
+AC_MSG_RESULT([$dynamic_linker])
2884
 
+test "$dynamic_linker" = no && can_build_shared=no
2885
 
+
2886
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2887
 
+if test "$GCC" = yes; then
2888
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2889
 
+fi
2890
 
+
2891
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2892
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2893
 
+fi
2894
 
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
2895
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
2896
 
+fi
2897
 
+
2898
 
+_LT_DECL([], [variables_saved_for_relink], [1],
2899
 
+    [Variables whose values should be saved in libtool wrapper scripts and
2900
 
+    restored at link time])
2901
 
+_LT_DECL([], [need_lib_prefix], [0],
2902
 
+    [Do we need the "lib" prefix for modules?])
2903
 
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
2904
 
+_LT_DECL([], [version_type], [0], [Library versioning type])
2905
 
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
2906
 
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
2907
 
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
2908
 
+    [Is shlibpath searched before the hard-coded library search path?])
2909
 
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
2910
 
+_LT_DECL([], [library_names_spec], [1],
2911
 
+    [[List of archive names.  First name is the real one, the rest are links.
2912
 
+    The last name is the one that the linker finds with -lNAME]])
2913
 
+_LT_DECL([], [soname_spec], [1],
2914
 
+    [[The coded name of the library, if different from the real name]])
2915
 
+_LT_DECL([], [postinstall_cmds], [2],
2916
 
+    [Command to use after installation of a shared archive])
2917
 
+_LT_DECL([], [postuninstall_cmds], [2],
2918
 
+    [Command to use after uninstallation of a shared archive])
2919
 
+_LT_DECL([], [finish_cmds], [2],
2920
 
+    [Commands used to finish a libtool library installation in a directory])
2921
 
+_LT_DECL([], [finish_eval], [1],
2922
 
+    [[As "finish_cmds", except a single script fragment to be evaled but
2923
 
+    not shown]])
2924
 
+_LT_DECL([], [hardcode_into_libs], [0],
2925
 
+    [Whether we should hardcode library paths into libraries])
2926
 
+_LT_DECL([], [sys_lib_search_path_spec], [2],
2927
 
+    [Compile-time system search path for libraries])
2928
 
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
2929
 
+    [Run-time system search path for libraries])
2930
 
+])# _LT_SYS_DYNAMIC_LINKER
2931
 
+
2932
 
+
2933
 
+# _LT_PATH_TOOL_PREFIX(TOOL)
2934
 
+# --------------------------
2935
 
+# find a file program which can recognize shared library
2936
 
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
2937
 
+[m4_require([_LT_DECL_EGREP])dnl
2938
 
+AC_MSG_CHECKING([for $1])
2939
 
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2940
 
+[case $MAGIC_CMD in
2941
 
+[[\\/*] |  ?:[\\/]*])
2942
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2943
 
+  ;;
2944
 
+*)
2945
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
2946
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2947
 
+dnl $ac_dummy forces splitting on constant user-supplied paths.
2948
 
+dnl POSIX.2 word splitting is done only on the output of word expansions,
2949
 
+dnl not every word.  This closes a longstanding sh security hole.
2950
 
+  ac_dummy="m4_if([$2], , $PATH, [$2])"
2951
 
+  for ac_dir in $ac_dummy; do
2952
 
+    IFS="$lt_save_ifs"
2953
 
+    test -z "$ac_dir" && ac_dir=.
2954
 
+    if test -f $ac_dir/$1; then
2955
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2956
 
+      if test -n "$file_magic_test_file"; then
2957
 
+       case $deplibs_check_method in
2958
 
+       "file_magic "*)
2959
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2960
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2961
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2962
 
+           $EGREP "$file_magic_regex" > /dev/null; then
2963
 
+           :
2964
 
+         else
2965
 
+           cat <<_LT_EOF 1>&2
2966
 
+
2967
 
+*** Warning: the command libtool uses to detect shared libraries,
2968
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
2969
 
+*** The result is that libtool may fail to recognize shared libraries
2970
 
+*** as such.  This will affect the creation of libtool libraries that
2971
 
+*** depend on shared libraries, but programs linked with such libtool
2972
 
+*** libraries will work regardless of this problem.  Nevertheless, you
2973
 
+*** may want to report the problem to your system manager and/or to
2974
 
+*** bug-libtool@gnu.org
2975
 
+
2976
 
+_LT_EOF
2977
 
+         fi ;;
2978
 
+       esac
2979
 
+      fi
2980
 
+      break
2981
 
+    fi
2982
 
+  done
2983
 
+  IFS="$lt_save_ifs"
2984
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
2985
 
+  ;;
2986
 
+esac])
2987
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2988
 
+if test -n "$MAGIC_CMD"; then
2989
 
+  AC_MSG_RESULT($MAGIC_CMD)
2990
 
+else
2991
 
+  AC_MSG_RESULT(no)
2992
 
+fi
2993
 
+_LT_DECL([], [MAGIC_CMD], [0],
2994
 
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2995
 
+])# _LT_PATH_TOOL_PREFIX
2996
 
+
2997
 
+# Old name:
2998
 
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
2999
 
+dnl aclocal-1.4 backwards compatibility:
3000
 
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
3001
 
+
3002
 
+
3003
 
+# _LT_PATH_MAGIC
3004
 
+# --------------
3005
 
+# find a file program which can recognize a shared library
3006
 
+m4_defun([_LT_PATH_MAGIC],
3007
 
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3008
 
+if test -z "$lt_cv_path_MAGIC_CMD"; then
3009
 
+  if test -n "$ac_tool_prefix"; then
3010
 
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3011
 
+  else
3012
 
+    MAGIC_CMD=:
3013
 
+  fi
3014
 
+fi
3015
 
+])# _LT_PATH_MAGIC
3016
 
+
3017
 
+
3018
 
+# LT_PATH_LD
3019
 
+# ----------
3020
 
+# find the pathname to the GNU or non-GNU linker
3021
 
+AC_DEFUN([LT_PATH_LD],
3022
 
+[AC_REQUIRE([AC_PROG_CC])dnl
3023
 
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
3024
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3025
 
+m4_require([_LT_DECL_SED])dnl
3026
 
+m4_require([_LT_DECL_EGREP])dnl
3027
 
+
3028
 
+AC_ARG_WITH([gnu-ld],
3029
 
+    [AS_HELP_STRING([--with-gnu-ld],
3030
 
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3031
 
+    [test "$withval" = no || with_gnu_ld=yes],
3032
 
+    [with_gnu_ld=no])dnl
3033
 
+
3034
 
+ac_prog=ld
3035
 
+if test "$GCC" = yes; then
3036
 
+  # Check if gcc -print-prog-name=ld gives a path.
3037
 
+  AC_MSG_CHECKING([for ld used by $CC])
3038
 
+  case $host in
3039
 
+  *-*-mingw*)
3040
 
+    # gcc leaves a trailing carriage return which upsets mingw
3041
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3042
 
+  *)
3043
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3044
 
+  esac
3045
 
+  case $ac_prog in
3046
 
+    # Accept absolute paths.
3047
 
+    [[\\/]]* | ?:[[\\/]]*)
3048
 
+      re_direlt='/[[^/]][[^/]]*/\.\./'
3049
 
+      # Canonicalize the pathname of ld
3050
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3051
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3052
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3053
 
+      done
3054
 
+      test -z "$LD" && LD="$ac_prog"
3055
 
+      ;;
3056
 
+  "")
3057
 
+    # If it fails, then pretend we aren't using GCC.
3058
 
+    ac_prog=ld
3059
 
+    ;;
3060
 
+  *)
3061
 
+    # If it is relative, then search for the first ld in PATH.
3062
 
+    with_gnu_ld=unknown
3063
 
+    ;;
3064
 
+  esac
3065
 
+elif test "$with_gnu_ld" = yes; then
3066
 
+  AC_MSG_CHECKING([for GNU ld])
3067
 
+else
3068
 
+  AC_MSG_CHECKING([for non-GNU ld])
3069
 
+fi
3070
 
+AC_CACHE_VAL(lt_cv_path_LD,
3071
 
+[if test -z "$LD"; then
3072
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3073
 
+  for ac_dir in $PATH; do
3074
 
+    IFS="$lt_save_ifs"
3075
 
+    test -z "$ac_dir" && ac_dir=.
3076
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3077
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
3078
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
3079
 
+      # but apparently some variants of GNU ld only accept -v.
3080
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
3081
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3082
 
+      *GNU* | *'with BFD'*)
3083
 
+       test "$with_gnu_ld" != no && break
3084
 
+       ;;
3085
 
+      *)
3086
 
+       test "$with_gnu_ld" != yes && break
3087
 
+       ;;
3088
 
+      esac
3089
 
+    fi
3090
 
+  done
3091
 
+  IFS="$lt_save_ifs"
3092
 
+else
3093
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3094
 
+fi])
3095
 
+LD="$lt_cv_path_LD"
3096
 
+if test -n "$LD"; then
3097
 
+  AC_MSG_RESULT($LD)
3098
 
+else
3099
 
+  AC_MSG_RESULT(no)
3100
 
+fi
3101
 
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3102
 
+_LT_PATH_LD_GNU
3103
 
+AC_SUBST([LD])
3104
 
+
3105
 
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3106
 
+])# LT_PATH_LD
3107
 
+
3108
 
+# Old names:
3109
 
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
3110
 
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
3111
 
+dnl aclocal-1.4 backwards compatibility:
3112
 
+dnl AC_DEFUN([AM_PROG_LD], [])
3113
 
+dnl AC_DEFUN([AC_PROG_LD], [])
3114
 
+
3115
 
+
3116
 
+# _LT_PATH_LD_GNU
3117
 
+#- --------------
3118
 
+m4_defun([_LT_PATH_LD_GNU],
3119
 
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3120
 
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
3121
 
+case `$LD -v 2>&1 </dev/null` in
3122
 
+*GNU* | *'with BFD'*)
3123
 
+  lt_cv_prog_gnu_ld=yes
3124
 
+  ;;
3125
 
+*)
3126
 
+  lt_cv_prog_gnu_ld=no
3127
 
+  ;;
3128
 
+esac])
3129
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
3130
 
+])# _LT_PATH_LD_GNU
3131
 
+
3132
 
+
3133
 
+# _LT_CMD_RELOAD
3134
 
+# --------------
3135
 
+# find reload flag for linker
3136
 
+#   -- PORTME Some linkers may need a different reload flag.
3137
 
+m4_defun([_LT_CMD_RELOAD],
3138
 
+[AC_CACHE_CHECK([for $LD option to reload object files],
3139
 
+  lt_cv_ld_reload_flag,
3140
 
+  [lt_cv_ld_reload_flag='-r'])
3141
 
+reload_flag=$lt_cv_ld_reload_flag
3142
 
+case $reload_flag in
3143
 
+"" | " "*) ;;
3144
 
+*) reload_flag=" $reload_flag" ;;
3145
 
+esac
3146
 
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
3147
 
+case $host_os in
3148
 
+  darwin*)
3149
 
+    if test "$GCC" = yes; then
3150
 
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3151
 
+    else
3152
 
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3153
 
+    fi
3154
 
+    ;;
3155
 
+esac
3156
 
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3157
 
+_LT_DECL([], [reload_cmds], [2])dnl
3158
 
+])# _LT_CMD_RELOAD
3159
 
+
3160
 
+
3161
 
+# _LT_CHECK_MAGIC_METHOD
3162
 
+# ----------------------
3163
 
+# how to check for library dependencies
3164
 
+#  -- PORTME fill in with the dynamic library characteristics
3165
 
+m4_defun([_LT_CHECK_MAGIC_METHOD],
3166
 
+[m4_require([_LT_DECL_EGREP])
3167
 
+m4_require([_LT_DECL_OBJDUMP])
3168
 
+AC_CACHE_CHECK([how to recognize dependent libraries],
3169
 
+lt_cv_deplibs_check_method,
3170
 
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
3171
 
+lt_cv_file_magic_test_file=
3172
 
+lt_cv_deplibs_check_method='unknown'
3173
 
+# Need to set the preceding variable on all platforms that support
3174
 
+# interlibrary dependencies.
3175
 
+# 'none' -- dependencies not supported.
3176
 
+# `unknown' -- same as none, but documents that we really don't know.
3177
 
+# 'pass_all' -- all dependencies passed with no checks.
3178
 
+# 'test_compile' -- check by making test program.
3179
 
+# 'file_magic [[regex]]' -- check by looking for files in library path
3180
 
+# which responds to the $file_magic_cmd with a given extended regex.
3181
 
+# If you have `file' or equivalent on your system and you're not sure
3182
 
+# whether `pass_all' will *always* work, you probably want this one.
3183
 
+
3184
 
+case $host_os in
3185
 
+aix[[4-9]]*)
3186
 
+  lt_cv_deplibs_check_method=pass_all
3187
 
+  ;;
3188
 
+
3189
 
+beos*)
3190
 
+  lt_cv_deplibs_check_method=pass_all
3191
 
+  ;;
3192
 
+
3193
 
+bsdi[[45]]*)
3194
 
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3195
 
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
3196
 
+  lt_cv_file_magic_test_file=/shlib/libc.so
3197
 
+  ;;
3198
 
+
3199
 
+cygwin*)
3200
 
+  # func_win32_libid is a shell function defined in ltmain.sh
3201
 
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3202
 
+  lt_cv_file_magic_cmd='func_win32_libid'
3203
 
+  ;;
3204
 
+
3205
 
+mingw* | pw32*)
3206
 
+  # Base MSYS/MinGW do not provide the 'file' command needed by
3207
 
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
3208
 
+  # unless we find 'file', for example because we are cross-compiling.
3209
 
+  if ( file / ) >/dev/null 2>&1; then
3210
 
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3211
 
+    lt_cv_file_magic_cmd='func_win32_libid'
3212
 
+  else
3213
 
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3214
 
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
3215
 
+  fi
3216
 
+  ;;
3217
 
+
3218
 
+cegcc)
3219
 
+  # use the weaker test based on 'objdump'. See mingw*.
3220
 
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3221
 
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
3222
 
+  ;;
3223
 
+
3224
 
+darwin* | rhapsody*)
3225
 
+  lt_cv_deplibs_check_method=pass_all
3226
 
+  ;;
3227
 
+
3228
 
+freebsd* | dragonfly*)
3229
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3230
 
+    case $host_cpu in
3231
 
+    i*86 )
3232
 
+      # Not sure whether the presence of OpenBSD here was a mistake.
3233
 
+      # Let's accept both of them until this is cleared up.
3234
 
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3235
 
+      lt_cv_file_magic_cmd=/usr/bin/file
3236
 
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3237
 
+      ;;
3238
 
+    esac
3239
 
+  else
3240
 
+    lt_cv_deplibs_check_method=pass_all
3241
 
+  fi
3242
 
+  ;;
3243
 
+
3244
 
+gnu*)
3245
 
+  lt_cv_deplibs_check_method=pass_all
3246
 
+  ;;
3247
 
+
3248
 
+hpux10.20* | hpux11*)
3249
 
+  lt_cv_file_magic_cmd=/usr/bin/file
3250
 
+  case $host_cpu in
3251
 
+  ia64*)
3252
 
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3253
 
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3254
 
+    ;;
3255
 
+  hppa*64*)
3256
 
+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3257
 
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3258
 
+    ;;
3259
 
+  *)
3260
 
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3261
 
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
3262
 
+    ;;
3263
 
+  esac
3264
 
+  ;;
3265
 
+
3266
 
+interix[[3-9]]*)
3267
 
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3268
 
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3269
 
+  ;;
3270
 
+
3271
 
+irix5* | irix6* | nonstopux*)
3272
 
+  case $LD in
3273
 
+  *-32|*"-32 ") libmagic=32-bit;;
3274
 
+  *-n32|*"-n32 ") libmagic=N32;;
3275
 
+  *-64|*"-64 ") libmagic=64-bit;;
3276
 
+  *) libmagic=never-match;;
3277
 
+  esac
3278
 
+  lt_cv_deplibs_check_method=pass_all
3279
 
+  ;;
3280
 
+
3281
 
+# This must be Linux ELF.
3282
 
+linux* | k*bsd*-gnu)
3283
 
+  lt_cv_deplibs_check_method=pass_all
3284
 
+  ;;
3285
 
+
3286
 
+netbsd* | netbsdelf*-gnu)
3287
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3288
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3289
 
+  else
3290
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3291
 
+  fi
3292
 
+  ;;
3293
 
+
3294
 
+newos6*)
3295
 
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3296
 
+  lt_cv_file_magic_cmd=/usr/bin/file
3297
 
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
3298
 
+  ;;
3299
 
+
3300
 
+*nto* | *qnx*)
3301
 
+  lt_cv_deplibs_check_method=pass_all
3302
 
+  ;;
3303
 
+
3304
 
+openbsd*)
3305
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3306
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3307
 
+  else
3308
 
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3309
 
+  fi
3310
 
+  ;;
3311
 
+
3312
 
+osf3* | osf4* | osf5*)
3313
 
+  lt_cv_deplibs_check_method=pass_all
3314
 
+  ;;
3315
 
+
3316
 
+rdos*)
3317
 
+  lt_cv_deplibs_check_method=pass_all
3318
 
+  ;;
3319
 
+
3320
 
+solaris*)
3321
 
+  lt_cv_deplibs_check_method=pass_all
3322
 
+  ;;
3323
 
+
3324
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3325
 
+  lt_cv_deplibs_check_method=pass_all
3326
 
+  ;;
3327
 
+
3328
 
+sysv4 | sysv4.3*)
3329
 
+  case $host_vendor in
3330
 
+  motorola)
3331
 
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3332
 
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3333
 
+    ;;
3334
 
+  ncr)
3335
 
+    lt_cv_deplibs_check_method=pass_all
3336
 
+    ;;
3337
 
+  sequent)
3338
 
+    lt_cv_file_magic_cmd='/bin/file'
3339
 
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3340
 
+    ;;
3341
 
+  sni)
3342
 
+    lt_cv_file_magic_cmd='/bin/file'
3343
 
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3344
 
+    lt_cv_file_magic_test_file=/lib/libc.so
3345
 
+    ;;
3346
 
+  siemens)
3347
 
+    lt_cv_deplibs_check_method=pass_all
3348
 
+    ;;
3349
 
+  pc)
3350
 
+    lt_cv_deplibs_check_method=pass_all
3351
 
+    ;;
3352
 
+  esac
3353
 
+  ;;
3354
 
+
3355
 
+tpf*)
3356
 
+  lt_cv_deplibs_check_method=pass_all
3357
 
+  ;;
3358
 
+esac
3359
 
+])
3360
 
+file_magic_cmd=$lt_cv_file_magic_cmd
3361
 
+deplibs_check_method=$lt_cv_deplibs_check_method
3362
 
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
3363
 
+
3364
 
+_LT_DECL([], [deplibs_check_method], [1],
3365
 
+    [Method to check whether dependent libraries are shared objects])
3366
 
+_LT_DECL([], [file_magic_cmd], [1],
3367
 
+    [Command to use when deplibs_check_method == "file_magic"])
3368
 
+])# _LT_CHECK_MAGIC_METHOD
3369
 
+
3370
 
+
3371
 
+# LT_PATH_NM
3372
 
+# ----------
3373
 
+# find the pathname to a BSD- or MS-compatible name lister
3374
 
+AC_DEFUN([LT_PATH_NM],
3375
 
+[AC_REQUIRE([AC_PROG_CC])dnl
3376
 
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3377
 
+[if test -n "$NM"; then
3378
 
+  # Let the user override the test.
3379
 
+  lt_cv_path_NM="$NM"
3380
 
+else
3381
 
+  lt_nm_to_check="${ac_tool_prefix}nm"
3382
 
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3383
 
+    lt_nm_to_check="$lt_nm_to_check nm"
3384
 
+  fi
3385
 
+  for lt_tmp_nm in $lt_nm_to_check; do
3386
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3387
 
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3388
 
+      IFS="$lt_save_ifs"
3389
 
+      test -z "$ac_dir" && ac_dir=.
3390
 
+      tmp_nm="$ac_dir/$lt_tmp_nm"
3391
 
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3392
 
+       # Check to see if the nm accepts a BSD-compat flag.
3393
 
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3394
 
+       #   nm: unknown option "B" ignored
3395
 
+       # Tru64's nm complains that /dev/null is an invalid object file
3396
 
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3397
 
+       */dev/null* | *'Invalid file or object type'*)
3398
 
+         lt_cv_path_NM="$tmp_nm -B"
3399
 
+         break
3400
 
+         ;;
3401
 
+       *)
3402
 
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3403
 
+         */dev/null*)
3404
 
+           lt_cv_path_NM="$tmp_nm -p"
3405
 
+           break
3406
 
+           ;;
3407
 
+         *)
3408
 
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3409
 
+           continue # so that we can try to find one that supports BSD flags
3410
 
+           ;;
3411
 
+         esac
3412
 
+         ;;
3413
 
+       esac
3414
 
+      fi
3415
 
+    done
3416
 
+    IFS="$lt_save_ifs"
3417
 
+  done
3418
 
+  : ${lt_cv_path_NM=no}
3419
 
+fi])
3420
 
+if test "$lt_cv_path_NM" != "no"; then
3421
 
+  NM="$lt_cv_path_NM"
3422
 
+else
3423
 
+  # Didn't find any BSD compatible name lister, look for dumpbin.
3424
 
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
3425
 
+  AC_SUBST([DUMPBIN])
3426
 
+  if test "$DUMPBIN" != ":"; then
3427
 
+    NM="$DUMPBIN"
3428
 
+  fi
3429
 
+fi
3430
 
+test -z "$NM" && NM=nm
3431
 
+AC_SUBST([NM])
3432
 
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3433
 
+
3434
 
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3435
 
+  [lt_cv_nm_interface="BSD nm"
3436
 
+  echo "int some_variable = 0;" > conftest.$ac_ext
3437
 
+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3438
 
+  (eval "$ac_compile" 2>conftest.err)
3439
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
3440
 
+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3441
 
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3442
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
3443
 
+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
3444
 
+  cat conftest.out >&AS_MESSAGE_LOG_FD
3445
 
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3446
 
+    lt_cv_nm_interface="MS dumpbin"
3447
 
+  fi
3448
 
+  rm -f conftest*])
3449
 
+])# LT_PATH_NM
3450
 
+
3451
 
+# Old names:
3452
 
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
3453
 
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
3454
 
+dnl aclocal-1.4 backwards compatibility:
3455
 
+dnl AC_DEFUN([AM_PROG_NM], [])
3456
 
+dnl AC_DEFUN([AC_PROG_NM], [])
3457
 
+
3458
 
+
3459
 
+# LT_LIB_M
3460
 
+# --------
3461
 
+# check for math library
3462
 
+AC_DEFUN([LT_LIB_M],
3463
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3464
 
+LIBM=
3465
 
+case $host in
3466
 
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3467
 
+  # These system don't have libm, or don't need it
3468
 
+  ;;
3469
 
+*-ncr-sysv4.3*)
3470
 
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3471
 
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3472
 
+  ;;
3473
 
+*)
3474
 
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
3475
 
+  ;;
3476
 
+esac
3477
 
+AC_SUBST([LIBM])
3478
 
+])# LT_LIB_M
3479
 
+
3480
 
+# Old name:
3481
 
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
3482
 
+dnl aclocal-1.4 backwards compatibility:
3483
 
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
3484
 
+
3485
 
+
3486
 
+# _LT_COMPILER_NO_RTTI([TAGNAME])
3487
 
+# -------------------------------
3488
 
+m4_defun([_LT_COMPILER_NO_RTTI],
3489
 
+[m4_require([_LT_TAG_COMPILER])dnl
3490
 
+
3491
 
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3492
 
+
3493
 
+if test "$GCC" = yes; then
3494
 
+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3495
 
+
3496
 
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3497
 
+    lt_cv_prog_compiler_rtti_exceptions,
3498
 
+    [-fno-rtti -fno-exceptions], [],
3499
 
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3500
 
+fi
3501
 
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3502
 
+       [Compiler flag to turn off builtin functions])
3503
 
+])# _LT_COMPILER_NO_RTTI
3504
 
+
3505
 
+
3506
 
+# _LT_CMD_GLOBAL_SYMBOLS
3507
 
+# ----------------------
3508
 
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3509
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3510
 
+AC_REQUIRE([AC_PROG_CC])dnl
3511
 
+AC_REQUIRE([LT_PATH_NM])dnl
3512
 
+AC_REQUIRE([LT_PATH_LD])dnl
3513
 
+m4_require([_LT_DECL_SED])dnl
3514
 
+m4_require([_LT_DECL_EGREP])dnl
3515
 
+m4_require([_LT_TAG_COMPILER])dnl
3516
 
+
3517
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
3518
 
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3519
 
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3520
 
+[
3521
 
+# These are sane defaults that work on at least a few old systems.
3522
 
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
3523
 
+
3524
 
+# Character class describing NM global symbol codes.
3525
 
+symcode='[[BCDEGRST]]'
3526
 
+
3527
 
+# Regexp to match symbols that can be accessed directly from C.
3528
 
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3529
 
+
3530
 
+# Define system-specific variables.
3531
 
+case $host_os in
3532
 
+aix*)
3533
 
+  symcode='[[BCDT]]'
3534
 
+  ;;
3535
 
+cygwin* | mingw* | pw32* | cegcc*)
3536
 
+  symcode='[[ABCDGISTW]]'
3537
 
+  ;;
3538
 
+hpux*)
3539
 
+  if test "$host_cpu" = ia64; then
3540
 
+    symcode='[[ABCDEGRST]]'
3541
 
+  fi
3542
 
+  ;;
3543
 
+irix* | nonstopux*)
3544
 
+  symcode='[[BCDEGRST]]'
3545
 
+  ;;
3546
 
+osf*)
3547
 
+  symcode='[[BCDEGQRST]]'
3548
 
+  ;;
3549
 
+solaris*)
3550
 
+  symcode='[[BDRT]]'
3551
 
+  ;;
3552
 
+sco3.2v5*)
3553
 
+  symcode='[[DT]]'
3554
 
+  ;;
3555
 
+sysv4.2uw2*)
3556
 
+  symcode='[[DT]]'
3557
 
+  ;;
3558
 
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
3559
 
+  symcode='[[ABDT]]'
3560
 
+  ;;
3561
 
+sysv4)
3562
 
+  symcode='[[DFNSTU]]'
3563
 
+  ;;
3564
 
+esac
3565
 
+
3566
 
+# If we're using GNU nm, then use its standard symbol codes.
3567
 
+case `$NM -V 2>&1` in
3568
 
+*GNU* | *'with BFD'*)
3569
 
+  symcode='[[ABCDGIRSTW]]' ;;
3570
 
+esac
3571
 
+
3572
 
+# Transform an extracted symbol line into a proper C declaration.
3573
 
+# Some systems (esp. on ia64) link data and code symbols differently,
3574
 
+# so use this general approach.
3575
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3576
 
+
3577
 
+# Transform an extracted symbol line into symbol name and symbol address
3578
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
3579
 
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
3580
 
+
3581
 
+# Handle CRLF in mingw tool chain
3582
 
+opt_cr=
3583
 
+case $build_os in
3584
 
+mingw*)
3585
 
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3586
 
+  ;;
3587
 
+esac
3588
 
+
3589
 
+# Try without a prefix underscore, then with it.
3590
 
+for ac_symprfx in "" "_"; do
3591
 
+
3592
 
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3593
 
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
3594
 
+
3595
 
+  # Write the raw and C identifiers.
3596
 
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3597
 
+    # Fake it for dumpbin and say T for any non-static function
3598
 
+    # and D for any global variable.
3599
 
+    # Also find C++ and __fastcall symbols from MSVC++,
3600
 
+    # which start with @ or ?.
3601
 
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
3602
 
+"     {last_section=section; section=\$ 3};"\
3603
 
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3604
 
+"     \$ 0!~/External *\|/{next};"\
3605
 
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
3606
 
+"     {if(hide[section]) next};"\
3607
 
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
3608
 
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
3609
 
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
3610
 
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
3611
 
+"     ' prfx=^$ac_symprfx]"
3612
 
+  else
3613
 
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3614
 
+  fi
3615
 
+
3616
 
+  # Check to see that the pipe works correctly.
3617
 
+  pipe_works=no
3618
 
+
3619
 
+  rm -f conftest*
3620
 
+  cat > conftest.$ac_ext <<_LT_EOF
3621
 
+#ifdef __cplusplus
3622
 
+extern "C" {
3623
 
+#endif
3624
 
+char nm_test_var;
3625
 
+void nm_test_func(void);
3626
 
+void nm_test_func(void){}
3627
 
+#ifdef __cplusplus
3628
 
+}
3629
 
+#endif
3630
 
+int main(){nm_test_var='a';nm_test_func();return(0);}
3631
 
+_LT_EOF
3632
 
+
3633
 
+  if AC_TRY_EVAL(ac_compile); then
3634
 
+    # Now try to grab the symbols.
3635
 
+    nlist=conftest.nm
3636
 
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
3637
 
+      # Try sorting and uniquifying the output.
3638
 
+      if sort "$nlist" | uniq > "$nlist"T; then
3639
 
+       mv -f "$nlist"T "$nlist"
3640
 
+      else
3641
 
+       rm -f "$nlist"T
3642
 
+      fi
3643
 
+
3644
 
+      # Make sure that we snagged all the symbols we need.
3645
 
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
3646
 
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
3647
 
+         cat <<_LT_EOF > conftest.$ac_ext
3648
 
+#ifdef __cplusplus
3649
 
+extern "C" {
3650
 
+#endif
3651
 
+
3652
 
+_LT_EOF
3653
 
+         # Now generate the symbol file.
3654
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
3655
 
+
3656
 
+         cat <<_LT_EOF >> conftest.$ac_ext
3657
 
+
3658
 
+/* The mapping between symbol names and symbols.  */
3659
 
+const struct {
3660
 
+  const char *name;
3661
 
+  void       *address;
3662
 
+}
3663
 
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
3664
 
+{
3665
 
+  { "@PROGRAM@", (void *) 0 },
3666
 
+_LT_EOF
3667
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
3668
 
+         cat <<\_LT_EOF >> conftest.$ac_ext
3669
 
+  {0, (void *) 0}
3670
 
+};
3671
 
+
3672
 
+/* This works around a problem in FreeBSD linker */
3673
 
+#ifdef FREEBSD_WORKAROUND
3674
 
+static const void *lt_preloaded_setup() {
3675
 
+  return lt__PROGRAM__LTX_preloaded_symbols;
3676
 
+}
3677
 
+#endif
3678
 
+
3679
 
+#ifdef __cplusplus
3680
 
+}
3681
 
+#endif
3682
 
+_LT_EOF
3683
 
+         # Now try linking the two files.
3684
 
+         mv conftest.$ac_objext conftstm.$ac_objext
3685
 
+         lt_save_LIBS="$LIBS"
3686
 
+         lt_save_CFLAGS="$CFLAGS"
3687
 
+         LIBS="conftstm.$ac_objext"
3688
 
+         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
3689
 
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
3690
 
+           pipe_works=yes
3691
 
+         fi
3692
 
+         LIBS="$lt_save_LIBS"
3693
 
+         CFLAGS="$lt_save_CFLAGS"
3694
 
+       else
3695
 
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3696
 
+       fi
3697
 
+      else
3698
 
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
3699
 
+      fi
3700
 
+    else
3701
 
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3702
 
+    fi
3703
 
+  else
3704
 
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
3705
 
+    cat conftest.$ac_ext >&5
3706
 
+  fi
3707
 
+  rm -rf conftest* conftst*
3708
 
+
3709
 
+  # Do not use the global_symbol_pipe unless it works.
3710
 
+  if test "$pipe_works" = yes; then
3711
 
+    break
3712
 
+  else
3713
 
+    lt_cv_sys_global_symbol_pipe=
3714
 
+  fi
3715
 
+done
3716
 
+])
3717
 
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
3718
 
+  lt_cv_sys_global_symbol_to_cdecl=
3719
 
+fi
3720
 
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
3721
 
+  AC_MSG_RESULT(failed)
3722
 
+else
3723
 
+  AC_MSG_RESULT(ok)
3724
 
+fi
3725
 
+
3726
 
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
3727
 
+    [Take the output of nm and produce a listing of raw symbols and C names])
3728
 
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
3729
 
+    [Transform the output of nm in a proper C declaration])
3730
 
+_LT_DECL([global_symbol_to_c_name_address],
3731
 
+    [lt_cv_sys_global_symbol_to_c_name_address], [1],
3732
 
+    [Transform the output of nm in a C name address pair])
3733
 
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
3734
 
+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
3735
 
+    [Transform the output of nm in a C name address pair when lib prefix is needed])
3736
 
+]) # _LT_CMD_GLOBAL_SYMBOLS
3737
 
+
3738
 
+
3739
 
+# _LT_COMPILER_PIC([TAGNAME])
3740
 
+# ---------------------------
3741
 
+m4_defun([_LT_COMPILER_PIC],
3742
 
+[m4_require([_LT_TAG_COMPILER])dnl
3743
 
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
3744
 
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
3745
 
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
3746
 
+
3747
 
+AC_MSG_CHECKING([for $compiler option to produce PIC])
3748
 
+m4_if([$1], [CXX], [
3749
 
+  # C++ specific cases for pic, static, wl, etc.
3750
 
+  if test "$GXX" = yes; then
3751
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3752
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3753
 
+
3754
 
+    case $host_os in
3755
 
+    aix*)
3756
 
+      # All AIX code is PIC.
3757
 
+      if test "$host_cpu" = ia64; then
3758
 
+       # AIX 5 now supports IA64 processor
3759
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3760
 
+      fi
3761
 
+      ;;
3762
 
+
3763
 
+    amigaos*)
3764
 
+      case $host_cpu in
3765
 
+      powerpc)
3766
 
+            # see comment about AmigaOS4 .so support
3767
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3768
 
+        ;;
3769
 
+      m68k)
3770
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
3771
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
3772
 
+            # like `-m68040'.
3773
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3774
 
+        ;;
3775
 
+      esac
3776
 
+      ;;
3777
 
+
3778
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3779
 
+      # PIC is the default for these OSes.
3780
 
+      ;;
3781
 
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
3782
 
+      # This hack is so that the source file can tell whether it is being
3783
 
+      # built for inclusion in a dll (and should export symbols for example).
3784
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
3785
 
+      # (--disable-auto-import) libraries
3786
 
+      m4_if([$1], [GCJ], [],
3787
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3788
 
+      ;;
3789
 
+    darwin* | rhapsody*)
3790
 
+      # PIC is the default on this platform
3791
 
+      # Common symbols not allowed in MH_DYLIB files
3792
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3793
 
+      ;;
3794
 
+    *djgpp*)
3795
 
+      # DJGPP does not support shared libraries at all
3796
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3797
 
+      ;;
3798
 
+    interix[[3-9]]*)
3799
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3800
 
+      # Instead, we relocate shared libraries at runtime.
3801
 
+      ;;
3802
 
+    sysv4*MP*)
3803
 
+      if test -d /usr/nec; then
3804
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3805
 
+      fi
3806
 
+      ;;
3807
 
+    hpux*)
3808
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
3809
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
3810
 
+      # sets the default TLS model and affects inlining.
3811
 
+      case $host_cpu in
3812
 
+      hppa*64*)
3813
 
+       ;;
3814
 
+      *)
3815
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3816
 
+       ;;
3817
 
+      esac
3818
 
+      ;;
3819
 
+    *qnx* | *nto*)
3820
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
3821
 
+      # it will coredump.
3822
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3823
 
+      ;;
3824
 
+    *)
3825
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3826
 
+      ;;
3827
 
+    esac
3828
 
+  else
3829
 
+    case $host_os in
3830
 
+      aix[[4-9]]*)
3831
 
+       # All AIX code is PIC.
3832
 
+       if test "$host_cpu" = ia64; then
3833
 
+         # AIX 5 now supports IA64 processor
3834
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3835
 
+       else
3836
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3837
 
+       fi
3838
 
+       ;;
3839
 
+      chorus*)
3840
 
+       case $cc_basename in
3841
 
+       cxch68*)
3842
 
+         # Green Hills C++ Compiler
3843
 
+         # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
3844
 
+         ;;
3845
 
+       esac
3846
 
+       ;;
3847
 
+      dgux*)
3848
 
+       case $cc_basename in
3849
 
+         ec++*)
3850
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3851
 
+           ;;
3852
 
+         ghcx*)
3853
 
+           # Green Hills C++ Compiler
3854
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3855
 
+           ;;
3856
 
+         *)
3857
 
+           ;;
3858
 
+       esac
3859
 
+       ;;
3860
 
+      freebsd* | dragonfly*)
3861
 
+       # FreeBSD uses GNU C++
3862
 
+       ;;
3863
 
+      hpux9* | hpux10* | hpux11*)
3864
 
+       case $cc_basename in
3865
 
+         CC*)
3866
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3867
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3868
 
+           if test "$host_cpu" != ia64; then
3869
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3870
 
+           fi
3871
 
+           ;;
3872
 
+         aCC*)
3873
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3874
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3875
 
+           case $host_cpu in
3876
 
+           hppa*64*|ia64*)
3877
 
+             # +Z the default
3878
 
+             ;;
3879
 
+           *)
3880
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3881
 
+             ;;
3882
 
+           esac
3883
 
+           ;;
3884
 
+         *)
3885
 
+           ;;
3886
 
+       esac
3887
 
+       ;;
3888
 
+      interix*)
3889
 
+       # This is c89, which is MS Visual C++ (no shared libs)
3890
 
+       # Anyone wants to do a port?
3891
 
+       ;;
3892
 
+      irix5* | irix6* | nonstopux*)
3893
 
+       case $cc_basename in
3894
 
+         CC*)
3895
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3896
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3897
 
+           # CC pic flag -KPIC is the default.
3898
 
+           ;;
3899
 
+         *)
3900
 
+           ;;
3901
 
+       esac
3902
 
+       ;;
3903
 
+      linux* | k*bsd*-gnu)
3904
 
+       case $cc_basename in
3905
 
+         KCC*)
3906
 
+           # KAI C++ Compiler
3907
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3908
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3909
 
+           ;;
3910
 
+         ecpc* )
3911
 
+           # old Intel C++ for x86_64 which still supported -KPIC.
3912
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3913
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3914
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3915
 
+           ;;
3916
 
+         icpc* )
3917
 
+           # Intel C++, used to be incompatible with GCC.
3918
 
+           # ICC 10 doesn't accept -KPIC any more.
3919
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3920
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3921
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3922
 
+           ;;
3923
 
+         pgCC* | pgcpp*)
3924
 
+           # Portland Group C++ compiler
3925
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3926
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3927
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3928
 
+           ;;
3929
 
+         cxx*)
3930
 
+           # Compaq C++
3931
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
3932
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
3933
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3934
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3935
 
+           ;;
3936
 
+         xlc* | xlC*)
3937
 
+           # IBM XL 8.0 on PPC
3938
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3939
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
3940
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
3941
 
+           ;;
3942
 
+         *)
3943
 
+           case `$CC -V 2>&1 | sed 5q` in
3944
 
+           *Sun\ C*)
3945
 
+             # Sun C++ 5.9
3946
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3947
 
+             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3948
 
+             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3949
 
+             ;;
3950
 
+           esac
3951
 
+           ;;
3952
 
+       esac
3953
 
+       ;;
3954
 
+      lynxos*)
3955
 
+       ;;
3956
 
+      m88k*)
3957
 
+       ;;
3958
 
+      mvs*)
3959
 
+       case $cc_basename in
3960
 
+         cxx*)
3961
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3962
 
+           ;;
3963
 
+         *)
3964
 
+           ;;
3965
 
+       esac
3966
 
+       ;;
3967
 
+      netbsd* | netbsdelf*-gnu)
3968
 
+       ;;
3969
 
+      *qnx* | *nto*)
3970
 
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
3971
 
+        # it will coredump.
3972
 
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
3973
 
+        ;;
3974
 
+      osf3* | osf4* | osf5*)
3975
 
+       case $cc_basename in
3976
 
+         KCC*)
3977
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3978
 
+           ;;
3979
 
+         RCC*)
3980
 
+           # Rational C++ 2.4.1
3981
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3982
 
+           ;;
3983
 
+         cxx*)
3984
 
+           # Digital/Compaq C++
3985
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3986
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
3987
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
3988
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3989
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3990
 
+           ;;
3991
 
+         *)
3992
 
+           ;;
3993
 
+       esac
3994
 
+       ;;
3995
 
+      psos*)
3996
 
+       ;;
3997
 
+      solaris*)
3998
 
+       case $cc_basename in
3999
 
+         CC*)
4000
 
+           # Sun C++ 4.2, 5.x and Centerline C++
4001
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4002
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4003
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4004
 
+           ;;
4005
 
+         gcx*)
4006
 
+           # Green Hills C++ Compiler
4007
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4008
 
+           ;;
4009
 
+         *)
4010
 
+           ;;
4011
 
+       esac
4012
 
+       ;;
4013
 
+      sunos4*)
4014
 
+       case $cc_basename in
4015
 
+         CC*)
4016
 
+           # Sun C++ 4.x
4017
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4018
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4019
 
+           ;;
4020
 
+         lcc*)
4021
 
+           # Lucid
4022
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4023
 
+           ;;
4024
 
+         *)
4025
 
+           ;;
4026
 
+       esac
4027
 
+       ;;
4028
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4029
 
+       case $cc_basename in
4030
 
+         CC*)
4031
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4032
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4033
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4034
 
+           ;;
4035
 
+       esac
4036
 
+       ;;
4037
 
+      tandem*)
4038
 
+       case $cc_basename in
4039
 
+         NCC*)
4040
 
+           # NonStop-UX NCC 3.20
4041
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4042
 
+           ;;
4043
 
+         *)
4044
 
+           ;;
4045
 
+       esac
4046
 
+       ;;
4047
 
+      vxworks*)
4048
 
+       ;;
4049
 
+      *)
4050
 
+       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4051
 
+       ;;
4052
 
+    esac
4053
 
+  fi
4054
 
+],
4055
 
+[
4056
 
+  if test "$GCC" = yes; then
4057
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4058
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4059
 
+
4060
 
+    case $host_os in
4061
 
+      aix*)
4062
 
+      # All AIX code is PIC.
4063
 
+      if test "$host_cpu" = ia64; then
4064
 
+       # AIX 5 now supports IA64 processor
4065
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4066
 
+      fi
4067
 
+      ;;
4068
 
+
4069
 
+    amigaos*)
4070
 
+      case $host_cpu in
4071
 
+      powerpc)
4072
 
+            # see comment about AmigaOS4 .so support
4073
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4074
 
+        ;;
4075
 
+      m68k)
4076
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
4077
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
4078
 
+            # like `-m68040'.
4079
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4080
 
+        ;;
4081
 
+      esac
4082
 
+      ;;
4083
 
+
4084
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4085
 
+      # PIC is the default for these OSes.
4086
 
+      ;;
4087
 
+
4088
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
4089
 
+      # This hack is so that the source file can tell whether it is being
4090
 
+      # built for inclusion in a dll (and should export symbols for example).
4091
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4092
 
+      # (--disable-auto-import) libraries
4093
 
+      m4_if([$1], [GCJ], [],
4094
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4095
 
+      ;;
4096
 
+
4097
 
+    darwin* | rhapsody*)
4098
 
+      # PIC is the default on this platform
4099
 
+      # Common symbols not allowed in MH_DYLIB files
4100
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4101
 
+      ;;
4102
 
+
4103
 
+    hpux*)
4104
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4105
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
4106
 
+      # sets the default TLS model and affects inlining.
4107
 
+      case $host_cpu in
4108
 
+      hppa*64*)
4109
 
+       # +Z the default
4110
 
+       ;;
4111
 
+      *)
4112
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4113
 
+       ;;
4114
 
+      esac
4115
 
+      ;;
4116
 
+
4117
 
+    interix[[3-9]]*)
4118
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4119
 
+      # Instead, we relocate shared libraries at runtime.
4120
 
+      ;;
4121
 
+
4122
 
+    msdosdjgpp*)
4123
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
4124
 
+      # on systems that don't support them.
4125
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4126
 
+      enable_shared=no
4127
 
+      ;;
4128
 
+
4129
 
+    *nto* | *qnx*)
4130
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
4131
 
+      # it will coredump.
4132
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4133
 
+      ;;
4134
 
+
4135
 
+    sysv4*MP*)
4136
 
+      if test -d /usr/nec; then
4137
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4138
 
+      fi
4139
 
+      ;;
4140
 
+
4141
 
+    *)
4142
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4143
 
+      ;;
4144
 
+    esac
4145
 
+  else
4146
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
4147
 
+    case $host_os in
4148
 
+    aix*)
4149
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4150
 
+      if test "$host_cpu" = ia64; then
4151
 
+       # AIX 5 now supports IA64 processor
4152
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4153
 
+      else
4154
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4155
 
+      fi
4156
 
+      ;;
4157
 
+
4158
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
4159
 
+      # This hack is so that the source file can tell whether it is being
4160
 
+      # built for inclusion in a dll (and should export symbols for example).
4161
 
+      m4_if([$1], [GCJ], [],
4162
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4163
 
+      ;;
4164
 
+
4165
 
+    hpux9* | hpux10* | hpux11*)
4166
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4167
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4168
 
+      # not for PA HP-UX.
4169
 
+      case $host_cpu in
4170
 
+      hppa*64*|ia64*)
4171
 
+       # +Z the default
4172
 
+       ;;
4173
 
+      *)
4174
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4175
 
+       ;;
4176
 
+      esac
4177
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
4178
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4179
 
+      ;;
4180
 
+
4181
 
+    irix5* | irix6* | nonstopux*)
4182
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4183
 
+      # PIC (with -KPIC) is the default.
4184
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4185
 
+      ;;
4186
 
+
4187
 
+    linux* | k*bsd*-gnu)
4188
 
+      case $cc_basename in
4189
 
+      # old Intel for x86_64 which still supported -KPIC.
4190
 
+      ecc*)
4191
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4192
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4193
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4194
 
+        ;;
4195
 
+      # icc used to be incompatible with GCC.
4196
 
+      # ICC 10 doesn't accept -KPIC any more.
4197
 
+      icc* | ifort*)
4198
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4199
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4200
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4201
 
+        ;;
4202
 
+      # Lahey Fortran 8.1.
4203
 
+      lf95*)
4204
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4205
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4206
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4207
 
+       ;;
4208
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
4209
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
4210
 
+       # which looks to be a dead project)
4211
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4212
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4213
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4214
 
+        ;;
4215
 
+      ccc*)
4216
 
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4217
 
+        # All Alpha code is PIC.
4218
 
+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4219
 
+        ;;
4220
 
+      xl*)
4221
 
+       # IBM XL C 8.0/Fortran 10.1 on PPC
4222
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4223
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4224
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4225
 
+       ;;
4226
 
+      *)
4227
 
+       case `$CC -V 2>&1 | sed 5q` in
4228
 
+       *Sun\ C*)
4229
 
+         # Sun C 5.9
4230
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4231
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4232
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4233
 
+         ;;
4234
 
+       *Sun\ F*)
4235
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
4236
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4237
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4238
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4239
 
+         ;;
4240
 
+       esac
4241
 
+       ;;
4242
 
+      esac
4243
 
+      ;;
4244
 
+
4245
 
+    newsos6)
4246
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4247
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4248
 
+      ;;
4249
 
+
4250
 
+    *nto* | *qnx*)
4251
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
4252
 
+      # it will coredump.
4253
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4254
 
+      ;;
4255
 
+
4256
 
+    osf3* | osf4* | osf5*)
4257
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4258
 
+      # All OSF/1 code is PIC.
4259
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4260
 
+      ;;
4261
 
+
4262
 
+    rdos*)
4263
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4264
 
+      ;;
4265
 
+
4266
 
+    solaris*)
4267
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4268
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4269
 
+      case $cc_basename in
4270
 
+      f77* | f90* | f95*)
4271
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4272
 
+      *)
4273
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4274
 
+      esac
4275
 
+      ;;
4276
 
+
4277
 
+    sunos4*)
4278
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4279
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4280
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4281
 
+      ;;
4282
 
+
4283
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
4284
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4285
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4286
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4287
 
+      ;;
4288
 
+
4289
 
+    sysv4*MP*)
4290
 
+      if test -d /usr/nec ;then
4291
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4292
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4293
 
+      fi
4294
 
+      ;;
4295
 
+
4296
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4297
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4298
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4299
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4300
 
+      ;;
4301
 
+
4302
 
+    unicos*)
4303
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4304
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4305
 
+      ;;
4306
 
+
4307
 
+    uts4*)
4308
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4309
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4310
 
+      ;;
4311
 
+
4312
 
+    *)
4313
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4314
 
+      ;;
4315
 
+    esac
4316
 
+  fi
4317
 
+])
4318
 
+case $host_os in
4319
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
4320
 
+  *djgpp*)
4321
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4322
 
+    ;;
4323
 
+  *)
4324
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
4325
 
+    ;;
4326
 
+esac
4327
 
+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4328
 
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4329
 
+       [How to pass a linker flag through the compiler])
4330
 
+
4331
 
+#
4332
 
+# Check to make sure the PIC flag actually works.
4333
 
+#
4334
 
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4335
 
+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4336
 
+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4337
 
+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
4338
 
+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4339
 
+     "" | " "*) ;;
4340
 
+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4341
 
+     esac],
4342
 
+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4343
 
+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4344
 
+fi
4345
 
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4346
 
+       [Additional compiler flags for building library objects])
4347
 
+
4348
 
+#
4349
 
+# Check to make sure the static flag actually works.
4350
 
+#
4351
 
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
4352
 
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
4353
 
+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4354
 
+  $lt_tmp_static_flag,
4355
 
+  [],
4356
 
+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4357
 
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4358
 
+       [Compiler flag to prevent dynamic linking])
4359
 
+])# _LT_COMPILER_PIC
4360
 
+
4361
 
+
4362
 
+# _LT_LINKER_SHLIBS([TAGNAME])
4363
 
+# ----------------------------
4364
 
+# See if the linker supports building shared libraries.
4365
 
+m4_defun([_LT_LINKER_SHLIBS],
4366
 
+[AC_REQUIRE([LT_PATH_LD])dnl
4367
 
+AC_REQUIRE([LT_PATH_NM])dnl
4368
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4369
 
+m4_require([_LT_DECL_EGREP])dnl
4370
 
+m4_require([_LT_DECL_SED])dnl
4371
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
4372
 
+m4_require([_LT_TAG_COMPILER])dnl
4373
 
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4374
 
+m4_if([$1], [CXX], [
4375
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4376
 
+  case $host_os in
4377
 
+  aix[[4-9]]*)
4378
 
+    # If we're using GNU nm, then we don't want the "-C" option.
4379
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
4380
 
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4381
 
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4382
 
+    else
4383
 
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4384
 
+    fi
4385
 
+    ;;
4386
 
+  pw32*)
4387
 
+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4388
 
+  ;;
4389
 
+  cygwin* | mingw* | cegcc*)
4390
 
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4391
 
+  ;;
4392
 
+  linux* | k*bsd*-gnu)
4393
 
+    _LT_TAGVAR(link_all_deplibs, $1)=no
4394
 
+  ;;
4395
 
+  *)
4396
 
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4397
 
+  ;;
4398
 
+  esac
4399
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4400
 
+], [
4401
 
+  runpath_var=
4402
 
+  _LT_TAGVAR(allow_undefined_flag, $1)=
4403
 
+  _LT_TAGVAR(always_export_symbols, $1)=no
4404
 
+  _LT_TAGVAR(archive_cmds, $1)=
4405
 
+  _LT_TAGVAR(archive_expsym_cmds, $1)=
4406
 
+  _LT_TAGVAR(compiler_needs_object, $1)=no
4407
 
+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4408
 
+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4409
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4410
 
+  _LT_TAGVAR(hardcode_automatic, $1)=no
4411
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
4412
 
+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4413
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4414
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4415
 
+  _LT_TAGVAR(hardcode_libdir_separator, $1)=
4416
 
+  _LT_TAGVAR(hardcode_minus_L, $1)=no
4417
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4418
 
+  _LT_TAGVAR(inherit_rpath, $1)=no
4419
 
+  _LT_TAGVAR(link_all_deplibs, $1)=unknown
4420
 
+  _LT_TAGVAR(module_cmds, $1)=
4421
 
+  _LT_TAGVAR(module_expsym_cmds, $1)=
4422
 
+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4423
 
+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4424
 
+  _LT_TAGVAR(thread_safe_flag_spec, $1)=
4425
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=
4426
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
4427
 
+  # included in the symbol list
4428
 
+  _LT_TAGVAR(include_expsyms, $1)=
4429
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
4430
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
4431
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
4432
 
+  # as well as any symbol that contains `d'.
4433
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4434
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4435
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
4436
 
+  # the symbol is explicitly referenced.  Since portable code cannot
4437
 
+  # rely on this symbol name, it's probably fine to never include it in
4438
 
+  # preloaded symbol tables.
4439
 
+  # Exclude shared library initialization/finalization symbols.
4440
 
+dnl Note also adjust exclude_expsyms for C++ above.
4441
 
+  extract_expsyms_cmds=
4442
 
+
4443
 
+  case $host_os in
4444
 
+  cygwin* | mingw* | pw32* | cegcc*)
4445
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
4446
 
+    # When not using gcc, we currently assume that we are using
4447
 
+    # Microsoft Visual C++.
4448
 
+    if test "$GCC" != yes; then
4449
 
+      with_gnu_ld=no
4450
 
+    fi
4451
 
+    ;;
4452
 
+  interix*)
4453
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
4454
 
+    with_gnu_ld=yes
4455
 
+    ;;
4456
 
+  openbsd*)
4457
 
+    with_gnu_ld=no
4458
 
+    ;;
4459
 
+  linux* | k*bsd*-gnu)
4460
 
+    _LT_TAGVAR(link_all_deplibs, $1)=no
4461
 
+    ;;
4462
 
+  esac
4463
 
+
4464
 
+  _LT_TAGVAR(ld_shlibs, $1)=yes
4465
 
+  if test "$with_gnu_ld" = yes; then
4466
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
4467
 
+    wlarc='${wl}'
4468
 
+
4469
 
+    # Set some defaults for GNU ld with shared library support. These
4470
 
+    # are reset later if shared libraries are not supported. Putting them
4471
 
+    # here allows them to be overridden if necessary.
4472
 
+    runpath_var=LD_RUN_PATH
4473
 
+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4474
 
+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4475
 
+    # ancient GNU ld didn't support --whole-archive et. al.
4476
 
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
4477
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4478
 
+    else
4479
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
4480
 
+    fi
4481
 
+    supports_anon_versioning=no
4482
 
+    case `$LD -v 2>&1` in
4483
 
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4484
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4485
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4486
 
+      *\ 2.11.*) ;; # other 2.11 versions
4487
 
+      *) supports_anon_versioning=yes ;;
4488
 
+    esac
4489
 
+
4490
 
+    # See if GNU ld supports shared libraries.
4491
 
+    case $host_os in
4492
 
+    aix[[3-9]]*)
4493
 
+      # On AIX/PPC, the GNU linker is very broken
4494
 
+      if test "$host_cpu" != ia64; then
4495
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4496
 
+       cat <<_LT_EOF 1>&2
4497
 
+
4498
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
4499
 
+*** to be unable to reliably create shared libraries on AIX.
4500
 
+*** Therefore, libtool is disabling shared libraries support.  If you
4501
 
+*** really care for shared libraries, you may want to modify your PATH
4502
 
+*** so that a non-GNU linker is found, and then restart.
4503
 
+
4504
 
+_LT_EOF
4505
 
+      fi
4506
 
+      ;;
4507
 
+
4508
 
+    amigaos*)
4509
 
+      case $host_cpu in
4510
 
+      powerpc)
4511
 
+            # see comment about AmigaOS4 .so support
4512
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4513
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
4514
 
+        ;;
4515
 
+      m68k)
4516
 
+            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
4517
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4518
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
4519
 
+        ;;
4520
 
+      esac
4521
 
+      ;;
4522
 
+
4523
 
+    beos*)
4524
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4525
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4526
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4527
 
+       # support --undefined.  This deserves some investigation.  FIXME
4528
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4529
 
+      else
4530
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4531
 
+      fi
4532
 
+      ;;
4533
 
+
4534
 
+    cygwin* | mingw* | pw32* | cegcc*)
4535
 
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4536
 
+      # as there is no search path for DLLs.
4537
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4538
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4539
 
+      _LT_TAGVAR(always_export_symbols, $1)=no
4540
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4541
 
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
4542
 
+
4543
 
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
4544
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4545
 
+       # If the export-symbols file already is a .def file (1st line
4546
 
+       # is EXPORTS), use it as is; otherwise, prepend...
4547
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4548
 
+         cp $export_symbols $output_objdir/$soname.def;
4549
 
+       else
4550
 
+         echo EXPORTS > $output_objdir/$soname.def;
4551
 
+         cat $export_symbols >> $output_objdir/$soname.def;
4552
 
+       fi~
4553
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4554
 
+      else
4555
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4556
 
+      fi
4557
 
+      ;;
4558
 
+
4559
 
+    interix[[3-9]]*)
4560
 
+      _LT_TAGVAR(hardcode_direct, $1)=no
4561
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4562
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4563
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4564
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4565
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
4566
 
+      # default) and relocated if they conflict, which is a slow very memory
4567
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
4568
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4569
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
4570
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4571
 
+      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4572
 
+      ;;
4573
 
+
4574
 
+    gnu* | linux* | tpf* | k*bsd*-gnu)
4575
 
+      tmp_diet=no
4576
 
+      if test "$host_os" = linux-dietlibc; then
4577
 
+       case $cc_basename in
4578
 
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
4579
 
+       esac
4580
 
+      fi
4581
 
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
4582
 
+        && test "$tmp_diet" = no
4583
 
+      then
4584
 
+       tmp_addflag=
4585
 
+       tmp_sharedflag='-shared'
4586
 
+       case $cc_basename,$host_cpu in
4587
 
+        pgcc*)                         # Portland Group C compiler
4588
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4589
 
+         tmp_addflag=' $pic_flag'
4590
 
+         ;;
4591
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
4592
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4593
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
4594
 
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
4595
 
+         tmp_addflag=' -i_dynamic' ;;
4596
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
4597
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
4598
 
+       ifc* | ifort*)                  # Intel Fortran compiler
4599
 
+         tmp_addflag=' -nofor_main' ;;
4600
 
+       lf95*)                          # Lahey Fortran 8.1
4601
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)=
4602
 
+         tmp_sharedflag='--shared' ;;
4603
 
+       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
4604
 
+         tmp_sharedflag='-qmkshrobj'
4605
 
+         tmp_addflag= ;;
4606
 
+       esac
4607
 
+       case `$CC -V 2>&1 | sed 5q` in
4608
 
+       *Sun\ C*)                       # Sun C 5.9
4609
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
4610
 
+         _LT_TAGVAR(compiler_needs_object, $1)=yes
4611
 
+         tmp_sharedflag='-G' ;;
4612
 
+       *Sun\ F*)                       # Sun Fortran 8.3
4613
 
+         tmp_sharedflag='-G' ;;
4614
 
+       esac
4615
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4616
 
+
4617
 
+        if test "x$supports_anon_versioning" = xyes; then
4618
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4619
 
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4620
 
+           echo "local: *; };" >> $output_objdir/$libname.ver~
4621
 
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
4622
 
+        fi
4623
 
+
4624
 
+       case $cc_basename in
4625
 
+       xlf*)
4626
 
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4627
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4628
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4629
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4630
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
4631
 
+         if test "x$supports_anon_versioning" = xyes; then
4632
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4633
 
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4634
 
+             echo "local: *; };" >> $output_objdir/$libname.ver~
4635
 
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4636
 
+         fi
4637
 
+         ;;
4638
 
+       esac
4639
 
+      else
4640
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
4641
 
+      fi
4642
 
+      ;;
4643
 
+
4644
 
+    netbsd* | netbsdelf*-gnu)
4645
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4646
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4647
 
+       wlarc=
4648
 
+      else
4649
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4650
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4651
 
+      fi
4652
 
+      ;;
4653
 
+
4654
 
+    solaris*)
4655
 
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
4656
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4657
 
+       cat <<_LT_EOF 1>&2
4658
 
+
4659
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
4660
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
4661
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
4662
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
4663
 
+*** your PATH or compiler configuration so that the native linker is
4664
 
+*** used, and then restart.
4665
 
+
4666
 
+_LT_EOF
4667
 
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4668
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4669
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4670
 
+      else
4671
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4672
 
+      fi
4673
 
+      ;;
4674
 
+
4675
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
4676
 
+      case `$LD -v 2>&1` in
4677
 
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
4678
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4679
 
+       cat <<_LT_EOF 1>&2
4680
 
+
4681
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
4682
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
4683
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
4684
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
4685
 
+*** your PATH or compiler configuration so that the native linker is
4686
 
+*** used, and then restart.
4687
 
+
4688
 
+_LT_EOF
4689
 
+       ;;
4690
 
+       *)
4691
 
+         # For security reasons, it is highly recommended that you always
4692
 
+         # use absolute paths for naming shared libraries, and exclude the
4693
 
+         # DT_RUNPATH tag from executables and libraries.  But doing so
4694
 
+         # requires that you compile everything twice, which is a pain.
4695
 
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4696
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4697
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4698
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4699
 
+         else
4700
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
4701
 
+         fi
4702
 
+       ;;
4703
 
+      esac
4704
 
+      ;;
4705
 
+
4706
 
+    sunos4*)
4707
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4708
 
+      wlarc=
4709
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4710
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4711
 
+      ;;
4712
 
+
4713
 
+    *)
4714
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
4715
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4716
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4717
 
+      else
4718
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
4719
 
+      fi
4720
 
+      ;;
4721
 
+    esac
4722
 
+
4723
 
+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
4724
 
+      runpath_var=
4725
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4726
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4727
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
4728
 
+    fi
4729
 
+  else
4730
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
4731
 
+    case $host_os in
4732
 
+    aix3*)
4733
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4734
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
4735
 
+      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
4736
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
4737
 
+      # are no directories specified by -L.
4738
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
4739
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
4740
 
+       # Neither direct hardcoding nor static linking is supported with a
4741
 
+       # broken collect2.
4742
 
+       _LT_TAGVAR(hardcode_direct, $1)=unsupported
4743
 
+      fi
4744
 
+      ;;
4745
 
+
4746
 
+    aix[[4-9]]*)
4747
 
+      if test "$host_cpu" = ia64; then
4748
 
+       # On IA64, the linker does run time linking by default, so we don't
4749
 
+       # have to do anything special.
4750
 
+       aix_use_runtimelinking=no
4751
 
+       exp_sym_flag='-Bexport'
4752
 
+       no_entry_flag=""
4753
 
+      else
4754
 
+       # If we're using GNU nm, then we don't want the "-C" option.
4755
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
4756
 
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4757
 
+         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4758
 
+       else
4759
 
+         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4760
 
+       fi
4761
 
+       aix_use_runtimelinking=no
4762
 
+
4763
 
+       # Test if we are trying to use run time linking or normal
4764
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4765
 
+       # need to do runtime linking.
4766
 
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
4767
 
+         for ld_flag in $LDFLAGS; do
4768
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
4769
 
+           aix_use_runtimelinking=yes
4770
 
+           break
4771
 
+         fi
4772
 
+         done
4773
 
+         ;;
4774
 
+       esac
4775
 
+
4776
 
+       exp_sym_flag='-bexport'
4777
 
+       no_entry_flag='-bnoentry'
4778
 
+      fi
4779
 
+
4780
 
+      # When large executables or shared objects are built, AIX ld can
4781
 
+      # have problems creating the table of contents.  If linking a library
4782
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
4783
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
4784
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4785
 
+
4786
 
+      _LT_TAGVAR(archive_cmds, $1)=''
4787
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4788
 
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4789
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
4790
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
4791
 
+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
4792
 
+
4793
 
+      if test "$GCC" = yes; then
4794
 
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
4795
 
+       # We only want to do this on AIX 4.2 and lower, the check
4796
 
+       # below for broken collect2 doesn't work under 4.3+
4797
 
+         collect2name=`${CC} -print-prog-name=collect2`
4798
 
+         if test -f "$collect2name" &&
4799
 
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
4800
 
+         then
4801
 
+         # We have reworked collect2
4802
 
+         :
4803
 
+         else
4804
 
+         # We have old collect2
4805
 
+         _LT_TAGVAR(hardcode_direct, $1)=unsupported
4806
 
+         # It fails to find uninstalled libraries when the uninstalled
4807
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
4808
 
+         # to unsupported forces relinking
4809
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
4810
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4811
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=
4812
 
+         fi
4813
 
+         ;;
4814
 
+       esac
4815
 
+       shared_flag='-shared'
4816
 
+       if test "$aix_use_runtimelinking" = yes; then
4817
 
+         shared_flag="$shared_flag "'${wl}-G'
4818
 
+       fi
4819
 
+       _LT_TAGVAR(link_all_deplibs, $1)=no
4820
 
+      else
4821
 
+       # not using gcc
4822
 
+       if test "$host_cpu" = ia64; then
4823
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4824
 
+       # chokes on -Wl,-G. The following line is correct:
4825
 
+         shared_flag='-G'
4826
 
+       else
4827
 
+         if test "$aix_use_runtimelinking" = yes; then
4828
 
+           shared_flag='${wl}-G'
4829
 
+         else
4830
 
+           shared_flag='${wl}-bM:SRE'
4831
 
+         fi
4832
 
+       fi
4833
 
+      fi
4834
 
+
4835
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
4836
 
+      # It seems that -bexpall does not export symbols beginning with
4837
 
+      # underscore (_), so it is better to generate a list of symbols to export.
4838
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
4839
 
+      if test "$aix_use_runtimelinking" = yes; then
4840
 
+       # Warning - without using the other runtime loading flags (-brtl),
4841
 
+       # -berok will link without error, but may produce a broken library.
4842
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
4843
 
+        # Determine the default libpath from the value encoded in an
4844
 
+        # empty executable.
4845
 
+        _LT_SYS_MODULE_PATH_AIX
4846
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4847
 
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
4848
 
+      else
4849
 
+       if test "$host_cpu" = ia64; then
4850
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4851
 
+         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4852
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
4853
 
+       else
4854
 
+        # Determine the default libpath from the value encoded in an
4855
 
+        # empty executable.
4856
 
+        _LT_SYS_MODULE_PATH_AIX
4857
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4858
 
+         # Warning - without using the other run time loading flags,
4859
 
+         # -berok will link without error, but may produce a broken library.
4860
 
+         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4861
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4862
 
+         # Exported symbols can be pulled into shared objects from archives
4863
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4864
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
4865
 
+         # This is similar to how AIX traditionally builds its shared libraries.
4866
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
4867
 
+       fi
4868
 
+      fi
4869
 
+      ;;
4870
 
+
4871
 
+    amigaos*)
4872
 
+      case $host_cpu in
4873
 
+      powerpc)
4874
 
+            # see comment about AmigaOS4 .so support
4875
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4876
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
4877
 
+        ;;
4878
 
+      m68k)
4879
 
+            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
4880
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4881
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
4882
 
+        ;;
4883
 
+      esac
4884
 
+      ;;
4885
 
+
4886
 
+    bsdi[[45]]*)
4887
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
4888
 
+      ;;
4889
 
+
4890
 
+    cygwin* | mingw* | pw32* | cegcc*)
4891
 
+      # When not using gcc, we currently assume that we are using
4892
 
+      # Microsoft Visual C++.
4893
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
4894
 
+      # no search path for DLLs.
4895
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
4896
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4897
 
+      # Tell ltmain to make .lib files, not .a files.
4898
 
+      libext=lib
4899
 
+      # Tell ltmain to make .dll files, not .so files.
4900
 
+      shrext_cmds=".dll"
4901
 
+      # FIXME: Setting linknames here is a bad hack.
4902
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
4903
 
+      # The linker will automatically build a .lib file if we build a DLL.
4904
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
4905
 
+      # FIXME: Should let the user specify the lib program.
4906
 
+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
4907
 
+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
4908
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4909
 
+      ;;
4910
 
+
4911
 
+    darwin* | rhapsody*)
4912
 
+      _LT_DARWIN_LINKER_FEATURES($1)
4913
 
+      ;;
4914
 
+
4915
 
+    dgux*)
4916
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4917
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4918
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4919
 
+      ;;
4920
 
+
4921
 
+    freebsd1*)
4922
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
4923
 
+      ;;
4924
 
+
4925
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4926
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
4927
 
+    # does not break anything, and helps significantly (at the cost of a little
4928
 
+    # extra space).
4929
 
+    freebsd2.2*)
4930
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
4931
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4932
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4933
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4934
 
+      ;;
4935
 
+
4936
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4937
 
+    freebsd2*)
4938
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4939
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4940
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
4941
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4942
 
+      ;;
4943
 
+
4944
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4945
 
+    freebsd* | dragonfly*)
4946
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
4947
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4948
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4949
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4950
 
+      ;;
4951
 
+
4952
 
+    hpux9*)
4953
 
+      if test "$GCC" = yes; then
4954
 
+       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4955
 
+      else
4956
 
+       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4957
 
+      fi
4958
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4959
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4960
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
4961
 
+
4962
 
+      # hardcode_minus_L: Not really in the search PATH,
4963
 
+      # but as the default location of the library.
4964
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
4965
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4966
 
+      ;;
4967
 
+
4968
 
+    hpux10*)
4969
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4970
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4971
 
+      else
4972
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
4973
 
+      fi
4974
 
+      if test "$with_gnu_ld" = no; then
4975
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4976
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4977
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
4978
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
4979
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
4980
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4981
 
+       # hardcode_minus_L: Not really in the search PATH,
4982
 
+       # but as the default location of the library.
4983
 
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes
4984
 
+      fi
4985
 
+      ;;
4986
 
+
4987
 
+    hpux11*)
4988
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4989
 
+       case $host_cpu in
4990
 
+       hppa*64*)
4991
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4992
 
+         ;;
4993
 
+       ia64*)
4994
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4995
 
+         ;;
4996
 
+       *)
4997
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4998
 
+         ;;
4999
 
+       esac
5000
 
+      else
5001
 
+       case $host_cpu in
5002
 
+       hppa*64*)
5003
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5004
 
+         ;;
5005
 
+       ia64*)
5006
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5007
 
+         ;;
5008
 
+       *)
5009
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5010
 
+         ;;
5011
 
+       esac
5012
 
+      fi
5013
 
+      if test "$with_gnu_ld" = no; then
5014
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5015
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5016
 
+
5017
 
+       case $host_cpu in
5018
 
+       hppa*64*|ia64*)
5019
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
5020
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5021
 
+         ;;
5022
 
+       *)
5023
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
5024
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5025
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5026
 
+
5027
 
+         # hardcode_minus_L: Not really in the search PATH,
5028
 
+         # but as the default location of the library.
5029
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
5030
 
+         ;;
5031
 
+       esac
5032
 
+      fi
5033
 
+      ;;
5034
 
+
5035
 
+    irix5* | irix6* | nonstopux*)
5036
 
+      if test "$GCC" = yes; then
5037
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5038
 
+       # Try to use the -exported_symbol ld option, if it does not
5039
 
+       # work, assume that -exports_file does not work either and
5040
 
+       # implicitly export all symbols.
5041
 
+        save_LDFLAGS="$LDFLAGS"
5042
 
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
5043
 
+        AC_LINK_IFELSE(int foo(void) {},
5044
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
5045
 
+        )
5046
 
+        LDFLAGS="$save_LDFLAGS"
5047
 
+      else
5048
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5049
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
5050
 
+      fi
5051
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5052
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5053
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5054
 
+      _LT_TAGVAR(inherit_rpath, $1)=yes
5055
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
5056
 
+      ;;
5057
 
+
5058
 
+    netbsd* | netbsdelf*-gnu)
5059
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5060
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5061
 
+      else
5062
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
5063
 
+      fi
5064
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5065
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
5066
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5067
 
+      ;;
5068
 
+
5069
 
+    newsos6)
5070
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5071
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
5072
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5073
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5074
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5075
 
+      ;;
5076
 
+
5077
 
+    *nto* | *qnx*)
5078
 
+      ;;
5079
 
+
5080
 
+    openbsd*)
5081
 
+      if test -f /usr/libexec/ld.so; then
5082
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
5083
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5084
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5085
 
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5086
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5087
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5088
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5089
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5090
 
+       else
5091
 
+         case $host_os in
5092
 
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5093
 
+            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5094
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5095
 
+            ;;
5096
 
+          *)
5097
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5098
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5099
 
+            ;;
5100
 
+         esac
5101
 
+       fi
5102
 
+      else
5103
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
5104
 
+      fi
5105
 
+      ;;
5106
 
+
5107
 
+    os2*)
5108
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5109
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
5110
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5111
 
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5112
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5113
 
+      ;;
5114
 
+
5115
 
+    osf3*)
5116
 
+      if test "$GCC" = yes; then
5117
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5118
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5119
 
+      else
5120
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5121
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5122
 
+      fi
5123
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5124
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5125
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5126
 
+      ;;
5127
 
+
5128
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
5129
 
+      if test "$GCC" = yes; then
5130
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5131
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5132
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5133
 
+      else
5134
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5135
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5136
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5137
 
+       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
5138
 
+
5139
 
+       # Both c and cxx compiler support -rpath directly
5140
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5141
 
+      fi
5142
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5143
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5144
 
+      ;;
5145
 
+
5146
 
+    solaris*)
5147
 
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5148
 
+      if test "$GCC" = yes; then
5149
 
+       wlarc='${wl}'
5150
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5151
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5152
 
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5153
 
+      else
5154
 
+       case `$CC -V 2>&1` in
5155
 
+       *"Compilers 5.0"*)
5156
 
+         wlarc=''
5157
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5158
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5159
 
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
5160
 
+         ;;
5161
 
+       *)
5162
 
+         wlarc='${wl}'
5163
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
5164
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5165
 
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5166
 
+         ;;
5167
 
+       esac
5168
 
+      fi
5169
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5170
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5171
 
+      case $host_os in
5172
 
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5173
 
+      *)
5174
 
+       # The compiler driver will combine and reorder linker options,
5175
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
5176
 
+       # but is careful enough not to reorder.
5177
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
5178
 
+       if test "$GCC" = yes; then
5179
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5180
 
+       else
5181
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5182
 
+       fi
5183
 
+       ;;
5184
 
+      esac
5185
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
5186
 
+      ;;
5187
 
+
5188
 
+    sunos4*)
5189
 
+      if test "x$host_vendor" = xsequent; then
5190
 
+       # Use $CC to link under sequent, because it throws in some extra .o
5191
 
+       # files that make .init and .fini sections work.
5192
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5193
 
+      else
5194
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5195
 
+      fi
5196
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5197
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
5198
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
5199
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5200
 
+      ;;
5201
 
+
5202
 
+    sysv4)
5203
 
+      case $host_vendor in
5204
 
+       sni)
5205
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5206
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5207
 
+       ;;
5208
 
+       siemens)
5209
 
+         ## LD is ld it makes a PLAMLIB
5210
 
+         ## CC just makes a GrossModule.
5211
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5212
 
+         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5213
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
5214
 
+        ;;
5215
 
+       motorola)
5216
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5217
 
+         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5218
 
+       ;;
5219
 
+      esac
5220
 
+      runpath_var='LD_RUN_PATH'
5221
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5222
 
+      ;;
5223
 
+
5224
 
+    sysv4.3*)
5225
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5226
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5227
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5228
 
+      ;;
5229
 
+
5230
 
+    sysv4*MP*)
5231
 
+      if test -d /usr/nec; then
5232
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5233
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5234
 
+       runpath_var=LD_RUN_PATH
5235
 
+       hardcode_runpath_var=yes
5236
 
+       _LT_TAGVAR(ld_shlibs, $1)=yes
5237
 
+      fi
5238
 
+      ;;
5239
 
+
5240
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5241
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5242
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5243
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5244
 
+      runpath_var='LD_RUN_PATH'
5245
 
+
5246
 
+      if test "$GCC" = yes; then
5247
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5248
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5249
 
+      else
5250
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5251
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5252
 
+      fi
5253
 
+      ;;
5254
 
+
5255
 
+    sysv5* | sco3.2v5* | sco5v6*)
5256
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
5257
 
+      # link with -lc, and that would cause any symbols used from libc to
5258
 
+      # always be unresolved, which means just about no library would
5259
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
5260
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
5261
 
+      # as -z defs.
5262
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5263
 
+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
5264
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5265
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5266
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
5267
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5268
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
5269
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
5270
 
+      runpath_var='LD_RUN_PATH'
5271
 
+
5272
 
+      if test "$GCC" = yes; then
5273
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5274
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5275
 
+      else
5276
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5277
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5278
 
+      fi
5279
 
+      ;;
5280
 
+
5281
 
+    uts4*)
5282
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5283
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5284
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5285
 
+      ;;
5286
 
+
5287
 
+    *)
5288
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
5289
 
+      ;;
5290
 
+    esac
5291
 
+
5292
 
+    if test x$host_vendor = xsni; then
5293
 
+      case $host in
5294
 
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5295
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
5296
 
+       ;;
5297
 
+      esac
5298
 
+    fi
5299
 
+  fi
5300
 
+])
5301
 
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
5302
 
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5303
 
+
5304
 
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
5305
 
+
5306
 
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
5307
 
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
5308
 
+_LT_DECL([], [extract_expsyms_cmds], [2],
5309
 
+    [The commands to extract the exported symbol list from a shared archive])
5310
 
+
5311
 
+#
5312
 
+# Do we need to explicitly link libc?
5313
 
+#
5314
 
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
5315
 
+x|xyes)
5316
 
+  # Assume -lc should be added
5317
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5318
 
+
5319
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
5320
 
+    case $_LT_TAGVAR(archive_cmds, $1) in
5321
 
+    *'~'*)
5322
 
+      # FIXME: we may have to deal with multi-command sequences.
5323
 
+      ;;
5324
 
+    '$CC '*)
5325
 
+      # Test whether the compiler implicitly links with -lc since on some
5326
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
5327
 
+      # to ld, don't add -lc before -lgcc.
5328
 
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5329
 
+      $RM conftest*
5330
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5331
 
+
5332
 
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5333
 
+        soname=conftest
5334
 
+        lib=conftest
5335
 
+        libobjs=conftest.$ac_objext
5336
 
+        deplibs=
5337
 
+        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5338
 
+       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5339
 
+        compiler_flags=-v
5340
 
+        linker_flags=-v
5341
 
+        verstring=
5342
 
+        output_objdir=.
5343
 
+        libname=conftest
5344
 
+        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5345
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=
5346
 
+        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5347
 
+        then
5348
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5349
 
+        else
5350
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5351
 
+        fi
5352
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5353
 
+      else
5354
 
+        cat conftest.err 1>&5
5355
 
+      fi
5356
 
+      $RM conftest*
5357
 
+      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
5358
 
+      ;;
5359
 
+    esac
5360
 
+  fi
5361
 
+  ;;
5362
 
+esac
5363
 
+
5364
 
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
5365
 
+    [Whether or not to add -lc for building shared libraries])
5366
 
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
5367
 
+    [enable_shared_with_static_runtimes], [0],
5368
 
+    [Whether or not to disallow shared libs when runtime libs are static])
5369
 
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
5370
 
+    [Compiler flag to allow reflexive dlopens])
5371
 
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
5372
 
+    [Compiler flag to generate shared objects directly from archives])
5373
 
+_LT_TAGDECL([], [compiler_needs_object], [1],
5374
 
+    [Whether the compiler copes with passing no objects directly])
5375
 
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
5376
 
+    [Create an old-style archive from a shared archive])
5377
 
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
5378
 
+    [Create a temporary old-style archive to link instead of a shared archive])
5379
 
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
5380
 
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
5381
 
+_LT_TAGDECL([], [module_cmds], [2],
5382
 
+    [Commands used to build a loadable module if different from building
5383
 
+    a shared archive.])
5384
 
+_LT_TAGDECL([], [module_expsym_cmds], [2])
5385
 
+_LT_TAGDECL([], [with_gnu_ld], [1],
5386
 
+    [Whether we are building with GNU ld or not])
5387
 
+_LT_TAGDECL([], [allow_undefined_flag], [1],
5388
 
+    [Flag that allows shared libraries with undefined symbols to be built])
5389
 
+_LT_TAGDECL([], [no_undefined_flag], [1],
5390
 
+    [Flag that enforces no undefined symbols])
5391
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5392
 
+    [Flag to hardcode $libdir into a binary during linking.
5393
 
+    This must work even if $libdir does not exist])
5394
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5395
 
+    [[If ld is used when linking, flag to hardcode $libdir into a binary
5396
 
+    during linking.  This must work even if $libdir does not exist]])
5397
 
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5398
 
+    [Whether we need a single "-rpath" flag with a separated argument])
5399
 
+_LT_TAGDECL([], [hardcode_direct], [0],
5400
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
5401
 
+    DIR into the resulting binary])
5402
 
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
5403
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
5404
 
+    DIR into the resulting binary and the resulting library dependency is
5405
 
+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
5406
 
+    library is relocated])
5407
 
+_LT_TAGDECL([], [hardcode_minus_L], [0],
5408
 
+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
5409
 
+    into the resulting binary])
5410
 
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
5411
 
+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
5412
 
+    into the resulting binary])
5413
 
+_LT_TAGDECL([], [hardcode_automatic], [0],
5414
 
+    [Set to "yes" if building a shared library automatically hardcodes DIR
5415
 
+    into the library and all subsequent libraries and executables linked
5416
 
+    against it])
5417
 
+_LT_TAGDECL([], [inherit_rpath], [0],
5418
 
+    [Set to yes if linker adds runtime paths of dependent libraries
5419
 
+    to runtime path list])
5420
 
+_LT_TAGDECL([], [link_all_deplibs], [0],
5421
 
+    [Whether libtool must link a program against all its dependency libraries])
5422
 
+_LT_TAGDECL([], [fix_srcfile_path], [1],
5423
 
+    [Fix the shell variable $srcfile for the compiler])
5424
 
+_LT_TAGDECL([], [always_export_symbols], [0],
5425
 
+    [Set to "yes" if exported symbols are required])
5426
 
+_LT_TAGDECL([], [export_symbols_cmds], [2],
5427
 
+    [The commands to list exported symbols])
5428
 
+_LT_TAGDECL([], [exclude_expsyms], [1],
5429
 
+    [Symbols that should not be listed in the preloaded symbols])
5430
 
+_LT_TAGDECL([], [include_expsyms], [1],
5431
 
+    [Symbols that must always be exported])
5432
 
+_LT_TAGDECL([], [prelink_cmds], [2],
5433
 
+    [Commands necessary for linking programs (against libraries) with templates])
5434
 
+_LT_TAGDECL([], [file_list_spec], [1],
5435
 
+    [Specify filename containing input files])
5436
 
+dnl FIXME: Not yet implemented
5437
 
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
5438
 
+dnl    [Compiler flag to generate thread safe objects])
5439
 
+])# _LT_LINKER_SHLIBS
5440
 
+
5441
 
+
5442
 
+# _LT_LANG_C_CONFIG([TAG])
5443
 
+# ------------------------
5444
 
+# Ensure that the configuration variables for a C compiler are suitably
5445
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
5446
 
+# the compiler configuration to `libtool'.
5447
 
+m4_defun([_LT_LANG_C_CONFIG],
5448
 
+[m4_require([_LT_DECL_EGREP])dnl
5449
 
+lt_save_CC="$CC"
5450
 
+AC_LANG_PUSH(C)
5451
 
+
5452
 
+# Source file extension for C test sources.
5453
 
+ac_ext=c
5454
 
+
5455
 
+# Object file extension for compiled C test sources.
5456
 
+objext=o
5457
 
+_LT_TAGVAR(objext, $1)=$objext
5458
 
+
5459
 
+# Code to be used in simple compile tests
5460
 
+lt_simple_compile_test_code="int some_variable = 0;"
5461
 
+
5462
 
+# Code to be used in simple link tests
5463
 
+lt_simple_link_test_code='int main(){return(0);}'
5464
 
+
5465
 
+_LT_TAG_COMPILER
5466
 
+# Save the default compiler, since it gets overwritten when the other
5467
 
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5468
 
+compiler_DEFAULT=$CC
5469
 
+
5470
 
+# save warnings/boilerplate of simple test code
5471
 
+_LT_COMPILER_BOILERPLATE
5472
 
+_LT_LINKER_BOILERPLATE
5473
 
+
5474
 
+if test -n "$compiler"; then
5475
 
+  _LT_COMPILER_NO_RTTI($1)
5476
 
+  _LT_COMPILER_PIC($1)
5477
 
+  _LT_COMPILER_C_O($1)
5478
 
+  _LT_COMPILER_FILE_LOCKS($1)
5479
 
+  _LT_LINKER_SHLIBS($1)
5480
 
+  _LT_SYS_DYNAMIC_LINKER($1)
5481
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
5482
 
+  LT_SYS_DLOPEN_SELF
5483
 
+  _LT_CMD_STRIPLIB
5484
 
+
5485
 
+  # Report which library types will actually be built
5486
 
+  AC_MSG_CHECKING([if libtool supports shared libraries])
5487
 
+  AC_MSG_RESULT([$can_build_shared])
5488
 
+
5489
 
+  AC_MSG_CHECKING([whether to build shared libraries])
5490
 
+  test "$can_build_shared" = "no" && enable_shared=no
5491
 
+
5492
 
+  # On AIX, shared libraries and static libraries use the same namespace, and
5493
 
+  # are all built from PIC.
5494
 
+  case $host_os in
5495
 
+  aix3*)
5496
 
+    test "$enable_shared" = yes && enable_static=no
5497
 
+    if test -n "$RANLIB"; then
5498
 
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
5499
 
+      postinstall_cmds='$RANLIB $lib'
5500
 
+    fi
5501
 
+    ;;
5502
 
+
5503
 
+  aix[[4-9]]*)
5504
 
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5505
 
+      test "$enable_shared" = yes && enable_static=no
5506
 
+    fi
5507
 
+    ;;
5508
 
+  esac
5509
 
+  AC_MSG_RESULT([$enable_shared])
5510
 
+
5511
 
+  AC_MSG_CHECKING([whether to build static libraries])
5512
 
+  # Make sure either enable_shared or enable_static is yes.
5513
 
+  test "$enable_shared" = yes || enable_static=yes
5514
 
+  AC_MSG_RESULT([$enable_static])
5515
 
+
5516
 
+  _LT_CONFIG($1)
5517
 
+fi
5518
 
+AC_LANG_POP
5519
 
+CC="$lt_save_CC"
5520
 
+])# _LT_LANG_C_CONFIG
5521
 
+
5522
 
+
5523
 
+# _LT_PROG_CXX
5524
 
+# ------------
5525
 
+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
5526
 
+# compiler, we have our own version here.
5527
 
+m4_defun([_LT_PROG_CXX],
5528
 
+[
5529
 
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
5530
 
+AC_PROG_CXX
5531
 
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5532
 
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5533
 
+    (test "X$CXX" != "Xg++"))) ; then
5534
 
+  AC_PROG_CXXCPP
5535
 
+else
5536
 
+  _lt_caught_CXX_error=yes
5537
 
+fi
5538
 
+popdef([AC_MSG_ERROR])
5539
 
+])# _LT_PROG_CXX
5540
 
+
5541
 
+dnl aclocal-1.4 backwards compatibility:
5542
 
+dnl AC_DEFUN([_LT_PROG_CXX], [])
5543
 
+
5544
 
+
5545
 
+# _LT_LANG_CXX_CONFIG([TAG])
5546
 
+# --------------------------
5547
 
+# Ensure that the configuration variables for a C++ compiler are suitably
5548
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
5549
 
+# the compiler configuration to `libtool'.
5550
 
+m4_defun([_LT_LANG_CXX_CONFIG],
5551
 
+[AC_REQUIRE([_LT_PROG_CXX])dnl
5552
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5553
 
+m4_require([_LT_DECL_EGREP])dnl
5554
 
+
5555
 
+AC_LANG_PUSH(C++)
5556
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5557
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
5558
 
+_LT_TAGVAR(always_export_symbols, $1)=no
5559
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
5560
 
+_LT_TAGVAR(compiler_needs_object, $1)=no
5561
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
5562
 
+_LT_TAGVAR(hardcode_direct, $1)=no
5563
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5564
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5565
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5566
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
5567
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
5568
 
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5569
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
5570
 
+_LT_TAGVAR(inherit_rpath, $1)=no
5571
 
+_LT_TAGVAR(module_cmds, $1)=
5572
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
5573
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
5574
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5575
 
+_LT_TAGVAR(no_undefined_flag, $1)=
5576
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
5577
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5578
 
+
5579
 
+# Source file extension for C++ test sources.
5580
 
+ac_ext=cpp
5581
 
+
5582
 
+# Object file extension for compiled C++ test sources.
5583
 
+objext=o
5584
 
+_LT_TAGVAR(objext, $1)=$objext
5585
 
+
5586
 
+# No sense in running all these tests if we already determined that
5587
 
+# the CXX compiler isn't working.  Some variables (like enable_shared)
5588
 
+# are currently assumed to apply to all compilers on this platform,
5589
 
+# and will be corrupted by setting them based on a non-working compiler.
5590
 
+if test "$_lt_caught_CXX_error" != yes; then
5591
 
+  # Code to be used in simple compile tests
5592
 
+  lt_simple_compile_test_code="int some_variable = 0;"
5593
 
+
5594
 
+  # Code to be used in simple link tests
5595
 
+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
5596
 
+
5597
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
5598
 
+  _LT_TAG_COMPILER
5599
 
+
5600
 
+  # save warnings/boilerplate of simple test code
5601
 
+  _LT_COMPILER_BOILERPLATE
5602
 
+  _LT_LINKER_BOILERPLATE
5603
 
+
5604
 
+  # Allow CC to be a program name with arguments.
5605
 
+  lt_save_CC=$CC
5606
 
+  lt_save_LD=$LD
5607
 
+  lt_save_GCC=$GCC
5608
 
+  GCC=$GXX
5609
 
+  lt_save_with_gnu_ld=$with_gnu_ld
5610
 
+  lt_save_path_LD=$lt_cv_path_LD
5611
 
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
5612
 
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
5613
 
+  else
5614
 
+    $as_unset lt_cv_prog_gnu_ld
5615
 
+  fi
5616
 
+  if test -n "${lt_cv_path_LDCXX+set}"; then
5617
 
+    lt_cv_path_LD=$lt_cv_path_LDCXX
5618
 
+  else
5619
 
+    $as_unset lt_cv_path_LD
5620
 
+  fi
5621
 
+  test -z "${LDCXX+set}" || LD=$LDCXX
5622
 
+  CC=${CXX-"c++"}
5623
 
+  compiler=$CC
5624
 
+  _LT_TAGVAR(compiler, $1)=$CC
5625
 
+  _LT_CC_BASENAME([$compiler])
5626
 
+
5627
 
+  if test -n "$compiler"; then
5628
 
+    # We don't want -fno-exception when compiling C++ code, so set the
5629
 
+    # no_builtin_flag separately
5630
 
+    if test "$GXX" = yes; then
5631
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5632
 
+    else
5633
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5634
 
+    fi
5635
 
+
5636
 
+    if test "$GXX" = yes; then
5637
 
+      # Set up default GNU C++ configuration
5638
 
+
5639
 
+      LT_PATH_LD
5640
 
+
5641
 
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
5642
 
+      # archiving commands below assume that GNU ld is being used.
5643
 
+      if test "$with_gnu_ld" = yes; then
5644
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5645
 
+        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5646
 
+
5647
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5648
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5649
 
+
5650
 
+        # If archive_cmds runs LD, not CC, wlarc should be empty
5651
 
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
5652
 
+        #     investigate it a little bit more. (MM)
5653
 
+        wlarc='${wl}'
5654
 
+
5655
 
+        # ancient GNU ld didn't support --whole-archive et. al.
5656
 
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
5657
 
+         $GREP 'no-whole-archive' > /dev/null; then
5658
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5659
 
+        else
5660
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)=
5661
 
+        fi
5662
 
+      else
5663
 
+        with_gnu_ld=no
5664
 
+        wlarc=
5665
 
+
5666
 
+        # A generic and very simple default shared library creation
5667
 
+        # command for GNU C++ for the case where it uses the native
5668
 
+        # linker, instead of GNU ld.  If possible, this setting should
5669
 
+        # overridden to take advantage of the native linker features on
5670
 
+        # the platform it is being used on.
5671
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5672
 
+      fi
5673
 
+
5674
 
+      # Commands to make compiler produce verbose output that lists
5675
 
+      # what "hidden" libraries, object files and flags are used when
5676
 
+      # linking a shared library.
5677
 
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
5678
 
+
5679
 
+    else
5680
 
+      GXX=no
5681
 
+      with_gnu_ld=no
5682
 
+      wlarc=
5683
 
+    fi
5684
 
+
5685
 
+    # PORTME: fill in a description of your system's C++ link characteristics
5686
 
+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5687
 
+    _LT_TAGVAR(ld_shlibs, $1)=yes
5688
 
+    case $host_os in
5689
 
+      aix3*)
5690
 
+        # FIXME: insert proper C++ library support
5691
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
5692
 
+        ;;
5693
 
+      aix[[4-9]]*)
5694
 
+        if test "$host_cpu" = ia64; then
5695
 
+          # On IA64, the linker does run time linking by default, so we don't
5696
 
+          # have to do anything special.
5697
 
+          aix_use_runtimelinking=no
5698
 
+          exp_sym_flag='-Bexport'
5699
 
+          no_entry_flag=""
5700
 
+        else
5701
 
+          aix_use_runtimelinking=no
5702
 
+
5703
 
+          # Test if we are trying to use run time linking or normal
5704
 
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5705
 
+          # need to do runtime linking.
5706
 
+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5707
 
+           for ld_flag in $LDFLAGS; do
5708
 
+             case $ld_flag in
5709
 
+             *-brtl*)
5710
 
+               aix_use_runtimelinking=yes
5711
 
+               break
5712
 
+               ;;
5713
 
+             esac
5714
 
+           done
5715
 
+           ;;
5716
 
+          esac
5717
 
+
5718
 
+          exp_sym_flag='-bexport'
5719
 
+          no_entry_flag='-bnoentry'
5720
 
+        fi
5721
 
+
5722
 
+        # When large executables or shared objects are built, AIX ld can
5723
 
+        # have problems creating the table of contents.  If linking a library
5724
 
+        # or program results in "error TOC overflow" add -mminimal-toc to
5725
 
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
5726
 
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5727
 
+
5728
 
+        _LT_TAGVAR(archive_cmds, $1)=''
5729
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
5730
 
+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5731
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5732
 
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
5733
 
+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
5734
 
+
5735
 
+        if test "$GXX" = yes; then
5736
 
+          case $host_os in aix4.[[012]]|aix4.[[012]].*)
5737
 
+          # We only want to do this on AIX 4.2 and lower, the check
5738
 
+          # below for broken collect2 doesn't work under 4.3+
5739
 
+         collect2name=`${CC} -print-prog-name=collect2`
5740
 
+         if test -f "$collect2name" &&
5741
 
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
5742
 
+         then
5743
 
+           # We have reworked collect2
5744
 
+           :
5745
 
+         else
5746
 
+           # We have old collect2
5747
 
+           _LT_TAGVAR(hardcode_direct, $1)=unsupported
5748
 
+           # It fails to find uninstalled libraries when the uninstalled
5749
 
+           # path is not listed in the libpath.  Setting hardcode_minus_L
5750
 
+           # to unsupported forces relinking
5751
 
+           _LT_TAGVAR(hardcode_minus_L, $1)=yes
5752
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5753
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=
5754
 
+         fi
5755
 
+          esac
5756
 
+          shared_flag='-shared'
5757
 
+         if test "$aix_use_runtimelinking" = yes; then
5758
 
+           shared_flag="$shared_flag "'${wl}-G'
5759
 
+         fi
5760
 
+        else
5761
 
+          # not using gcc
5762
 
+          if test "$host_cpu" = ia64; then
5763
 
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5764
 
+         # chokes on -Wl,-G. The following line is correct:
5765
 
+         shared_flag='-G'
5766
 
+          else
5767
 
+           if test "$aix_use_runtimelinking" = yes; then
5768
 
+             shared_flag='${wl}-G'
5769
 
+           else
5770
 
+             shared_flag='${wl}-bM:SRE'
5771
 
+           fi
5772
 
+          fi
5773
 
+        fi
5774
 
+
5775
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5776
 
+        # It seems that -bexpall does not export symbols beginning with
5777
 
+        # underscore (_), so it is better to generate a list of symbols to
5778
 
+       # export.
5779
 
+        _LT_TAGVAR(always_export_symbols, $1)=yes
5780
 
+        if test "$aix_use_runtimelinking" = yes; then
5781
 
+          # Warning - without using the other runtime loading flags (-brtl),
5782
 
+          # -berok will link without error, but may produce a broken library.
5783
 
+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5784
 
+          # Determine the default libpath from the value encoded in an empty
5785
 
+          # executable.
5786
 
+          _LT_SYS_MODULE_PATH_AIX
5787
 
+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5788
 
+
5789
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5790
 
+        else
5791
 
+          if test "$host_cpu" = ia64; then
5792
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5793
 
+           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5794
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
5795
 
+          else
5796
 
+           # Determine the default libpath from the value encoded in an
5797
 
+           # empty executable.
5798
 
+           _LT_SYS_MODULE_PATH_AIX
5799
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5800
 
+           # Warning - without using the other run time loading flags,
5801
 
+           # -berok will link without error, but may produce a broken library.
5802
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5803
 
+           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5804
 
+           # Exported symbols can be pulled into shared objects from archives
5805
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5806
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5807
 
+           # This is similar to how AIX traditionally builds its shared
5808
 
+           # libraries.
5809
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5810
 
+          fi
5811
 
+        fi
5812
 
+        ;;
5813
 
+
5814
 
+      beos*)
5815
 
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5816
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5817
 
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5818
 
+         # support --undefined.  This deserves some investigation.  FIXME
5819
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5820
 
+       else
5821
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
5822
 
+       fi
5823
 
+       ;;
5824
 
+
5825
 
+      chorus*)
5826
 
+        case $cc_basename in
5827
 
+          *)
5828
 
+         # FIXME: insert proper C++ library support
5829
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
5830
 
+         ;;
5831
 
+        esac
5832
 
+        ;;
5833
 
+
5834
 
+      cygwin* | mingw* | pw32* | cegcc*)
5835
 
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5836
 
+        # as there is no search path for DLLs.
5837
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5838
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5839
 
+        _LT_TAGVAR(always_export_symbols, $1)=no
5840
 
+        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5841
 
+
5842
 
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5843
 
+          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5844
 
+          # If the export-symbols file already is a .def file (1st line
5845
 
+          # is EXPORTS), use it as is; otherwise, prepend...
5846
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5847
 
+           cp $export_symbols $output_objdir/$soname.def;
5848
 
+          else
5849
 
+           echo EXPORTS > $output_objdir/$soname.def;
5850
 
+           cat $export_symbols >> $output_objdir/$soname.def;
5851
 
+          fi~
5852
 
+          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5853
 
+        else
5854
 
+          _LT_TAGVAR(ld_shlibs, $1)=no
5855
 
+        fi
5856
 
+        ;;
5857
 
+      darwin* | rhapsody*)
5858
 
+        _LT_DARWIN_LINKER_FEATURES($1)
5859
 
+       ;;
5860
 
+
5861
 
+      dgux*)
5862
 
+        case $cc_basename in
5863
 
+          ec++*)
5864
 
+           # FIXME: insert proper C++ library support
5865
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
5866
 
+           ;;
5867
 
+          ghcx*)
5868
 
+           # Green Hills C++ Compiler
5869
 
+           # FIXME: insert proper C++ library support
5870
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
5871
 
+           ;;
5872
 
+          *)
5873
 
+           # FIXME: insert proper C++ library support
5874
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
5875
 
+           ;;
5876
 
+        esac
5877
 
+        ;;
5878
 
+
5879
 
+      freebsd[[12]]*)
5880
 
+        # C++ shared libraries reported to be fairly broken before
5881
 
+       # switch to ELF
5882
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
5883
 
+        ;;
5884
 
+
5885
 
+      freebsd-elf*)
5886
 
+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5887
 
+        ;;
5888
 
+
5889
 
+      freebsd* | dragonfly*)
5890
 
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
5891
 
+        # conventions
5892
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
5893
 
+        ;;
5894
 
+
5895
 
+      gnu*)
5896
 
+        ;;
5897
 
+
5898
 
+      hpux9*)
5899
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5900
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5901
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5902
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
5903
 
+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5904
 
+                                            # but as the default
5905
 
+                                            # location of the library.
5906
 
+
5907
 
+        case $cc_basename in
5908
 
+          CC*)
5909
 
+            # FIXME: insert proper C++ library support
5910
 
+            _LT_TAGVAR(ld_shlibs, $1)=no
5911
 
+            ;;
5912
 
+          aCC*)
5913
 
+            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5914
 
+            # Commands to make compiler produce verbose output that lists
5915
 
+            # what "hidden" libraries, object files and flags are used when
5916
 
+            # linking a shared library.
5917
 
+            #
5918
 
+            # There doesn't appear to be a way to prevent this compiler from
5919
 
+            # explicitly linking system object files so we need to strip them
5920
 
+            # from the output so that they don't get included in the library
5921
 
+            # dependencies.
5922
 
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5923
 
+            ;;
5924
 
+          *)
5925
 
+            if test "$GXX" = yes; then
5926
 
+              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5927
 
+            else
5928
 
+              # FIXME: insert proper C++ library support
5929
 
+              _LT_TAGVAR(ld_shlibs, $1)=no
5930
 
+            fi
5931
 
+            ;;
5932
 
+        esac
5933
 
+        ;;
5934
 
+
5935
 
+      hpux10*|hpux11*)
5936
 
+        if test $with_gnu_ld = no; then
5937
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5938
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5939
 
+
5940
 
+          case $host_cpu in
5941
 
+            hppa*64*|ia64*)
5942
 
+              ;;
5943
 
+            *)
5944
 
+             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5945
 
+              ;;
5946
 
+          esac
5947
 
+        fi
5948
 
+        case $host_cpu in
5949
 
+          hppa*64*|ia64*)
5950
 
+            _LT_TAGVAR(hardcode_direct, $1)=no
5951
 
+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5952
 
+            ;;
5953
 
+          *)
5954
 
+            _LT_TAGVAR(hardcode_direct, $1)=yes
5955
 
+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5956
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
5957
 
+                                                # but as the default
5958
 
+                                                # location of the library.
5959
 
+            ;;
5960
 
+        esac
5961
 
+
5962
 
+        case $cc_basename in
5963
 
+          CC*)
5964
 
+           # FIXME: insert proper C++ library support
5965
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
5966
 
+           ;;
5967
 
+          aCC*)
5968
 
+           case $host_cpu in
5969
 
+             hppa*64*)
5970
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5971
 
+               ;;
5972
 
+             ia64*)
5973
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5974
 
+               ;;
5975
 
+             *)
5976
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5977
 
+               ;;
5978
 
+           esac
5979
 
+           # Commands to make compiler produce verbose output that lists
5980
 
+           # what "hidden" libraries, object files and flags are used when
5981
 
+           # linking a shared library.
5982
 
+           #
5983
 
+           # There doesn't appear to be a way to prevent this compiler from
5984
 
+           # explicitly linking system object files so we need to strip them
5985
 
+           # from the output so that they don't get included in the library
5986
 
+           # dependencies.
5987
 
+           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5988
 
+           ;;
5989
 
+          *)
5990
 
+           if test "$GXX" = yes; then
5991
 
+             if test $with_gnu_ld = no; then
5992
 
+               case $host_cpu in
5993
 
+                 hppa*64*)
5994
 
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5995
 
+                   ;;
5996
 
+                 ia64*)
5997
 
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5998
 
+                   ;;
5999
 
+                 *)
6000
 
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6001
 
+                   ;;
6002
 
+               esac
6003
 
+             fi
6004
 
+           else
6005
 
+             # FIXME: insert proper C++ library support
6006
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
6007
 
+           fi
6008
 
+           ;;
6009
 
+        esac
6010
 
+        ;;
6011
 
+
6012
 
+      interix[[3-9]]*)
6013
 
+       _LT_TAGVAR(hardcode_direct, $1)=no
6014
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6015
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6016
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6017
 
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6018
 
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
6019
 
+       # default) and relocated if they conflict, which is a slow very memory
6020
 
+       # consuming and fragmenting process.  To avoid this, we pick a random,
6021
 
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6022
 
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
6023
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6024
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6025
 
+       ;;
6026
 
+      irix5* | irix6*)
6027
 
+        case $cc_basename in
6028
 
+          CC*)
6029
 
+           # SGI C++
6030
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6031
 
+
6032
 
+           # Archives containing C++ object files must be created using
6033
 
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
6034
 
+           # necessary to make sure instantiated templates are included
6035
 
+           # in the archive.
6036
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6037
 
+           ;;
6038
 
+          *)
6039
 
+           if test "$GXX" = yes; then
6040
 
+             if test "$with_gnu_ld" = no; then
6041
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6042
 
+             else
6043
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
6044
 
+             fi
6045
 
+           fi
6046
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
6047
 
+           ;;
6048
 
+        esac
6049
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6050
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6051
 
+        _LT_TAGVAR(inherit_rpath, $1)=yes
6052
 
+        ;;
6053
 
+
6054
 
+      linux* | k*bsd*-gnu)
6055
 
+        case $cc_basename in
6056
 
+          KCC*)
6057
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
6058
 
+
6059
 
+           # KCC will only create a shared library if the output file
6060
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
6061
 
+           # to its proper name (with version) after linking.
6062
 
+           _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6063
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
6064
 
+           # Commands to make compiler produce verbose output that lists
6065
 
+           # what "hidden" libraries, object files and flags are used when
6066
 
+           # linking a shared library.
6067
 
+           #
6068
 
+           # There doesn't appear to be a way to prevent this compiler from
6069
 
+           # explicitly linking system object files so we need to strip them
6070
 
+           # from the output so that they don't get included in the library
6071
 
+           # dependencies.
6072
 
+           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6073
 
+
6074
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6075
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6076
 
+
6077
 
+           # Archives containing C++ object files must be created using
6078
 
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6079
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6080
 
+           ;;
6081
 
+         icpc* | ecpc* )
6082
 
+           # Intel C++
6083
 
+           with_gnu_ld=yes
6084
 
+           # version 8.0 and above of icpc choke on multiply defined symbols
6085
 
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
6086
 
+           # earlier do not add the objects themselves.
6087
 
+           case `$CC -V 2>&1` in
6088
 
+             *"Version 7."*)
6089
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6090
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6091
 
+               ;;
6092
 
+             *)  # Version 8.0 or newer
6093
 
+               tmp_idyn=
6094
 
+               case $host_cpu in
6095
 
+                 ia64*) tmp_idyn=' -i_dynamic';;
6096
 
+               esac
6097
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6098
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6099
 
+               ;;
6100
 
+           esac
6101
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6102
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6103
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6104
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6105
 
+           ;;
6106
 
+          pgCC* | pgcpp*)
6107
 
+            # Portland Group C++ compiler
6108
 
+           case `$CC -V` in
6109
 
+           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
6110
 
+             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6111
 
+               rm -rf $tpldir~
6112
 
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6113
 
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
6114
 
+             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6115
 
+               rm -rf $tpldir~
6116
 
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6117
 
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
6118
 
+               $RANLIB $oldlib'
6119
 
+             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
6120
 
+               rm -rf $tpldir~
6121
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6122
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6123
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
6124
 
+               rm -rf $tpldir~
6125
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6126
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6127
 
+             ;;
6128
 
+           *) # Version 6 will use weak symbols
6129
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6130
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6131
 
+             ;;
6132
 
+           esac
6133
 
+
6134
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6135
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6136
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6137
 
+            ;;
6138
 
+         cxx*)
6139
 
+           # Compaq C++
6140
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6141
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
6142
 
+
6143
 
+           runpath_var=LD_RUN_PATH
6144
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6145
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6146
 
+
6147
 
+           # Commands to make compiler produce verbose output that lists
6148
 
+           # what "hidden" libraries, object files and flags are used when
6149
 
+           # linking a shared library.
6150
 
+           #
6151
 
+           # There doesn't appear to be a way to prevent this compiler from
6152
 
+           # explicitly linking system object files so we need to strip them
6153
 
+           # from the output so that they don't get included in the library
6154
 
+           # dependencies.
6155
 
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6156
 
+           ;;
6157
 
+         xl*)
6158
 
+           # IBM XL 8.0 on PPC, with GNU ld
6159
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6160
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6161
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6162
 
+           if test "x$supports_anon_versioning" = xyes; then
6163
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
6164
 
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6165
 
+               echo "local: *; };" >> $output_objdir/$libname.ver~
6166
 
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6167
 
+           fi
6168
 
+           ;;
6169
 
+         *)
6170
 
+           case `$CC -V 2>&1 | sed 5q` in
6171
 
+           *Sun\ C*)
6172
 
+             # Sun C++ 5.9
6173
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
6174
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6175
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
6176
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6177
 
+             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6178
 
+             _LT_TAGVAR(compiler_needs_object, $1)=yes
6179
 
+
6180
 
+             # Not sure whether something based on
6181
 
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
6182
 
+             # would be better.
6183
 
+             output_verbose_link_cmd='echo'
6184
 
+
6185
 
+             # Archives containing C++ object files must be created using
6186
 
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
6187
 
+             # necessary to make sure instantiated templates are included
6188
 
+             # in the archive.
6189
 
+             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
6190
 
+             ;;
6191
 
+           esac
6192
 
+           ;;
6193
 
+       esac
6194
 
+       ;;
6195
 
+
6196
 
+      lynxos*)
6197
 
+        # FIXME: insert proper C++ library support
6198
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
6199
 
+       ;;
6200
 
+
6201
 
+      m88k*)
6202
 
+        # FIXME: insert proper C++ library support
6203
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
6204
 
+       ;;
6205
 
+
6206
 
+      mvs*)
6207
 
+        case $cc_basename in
6208
 
+          cxx*)
6209
 
+           # FIXME: insert proper C++ library support
6210
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6211
 
+           ;;
6212
 
+         *)
6213
 
+           # FIXME: insert proper C++ library support
6214
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6215
 
+           ;;
6216
 
+       esac
6217
 
+       ;;
6218
 
+
6219
 
+      netbsd*)
6220
 
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6221
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
6222
 
+         wlarc=
6223
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6224
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
6225
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6226
 
+       fi
6227
 
+       # Workaround some broken pre-1.5 toolchains
6228
 
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
6229
 
+       ;;
6230
 
+
6231
 
+      *nto* | *qnx*)
6232
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
6233
 
+       ;;
6234
 
+
6235
 
+      openbsd2*)
6236
 
+        # C++ shared libraries are fairly broken
6237
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
6238
 
+       ;;
6239
 
+
6240
 
+      openbsd*)
6241
 
+       if test -f /usr/libexec/ld.so; then
6242
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
6243
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6244
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6245
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6246
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6247
 
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6248
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
6249
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6250
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6251
 
+         fi
6252
 
+         output_verbose_link_cmd=echo
6253
 
+       else
6254
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
6255
 
+       fi
6256
 
+       ;;
6257
 
+
6258
 
+      osf3* | osf4* | osf5*)
6259
 
+        case $cc_basename in
6260
 
+          KCC*)
6261
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
6262
 
+
6263
 
+           # KCC will only create a shared library if the output file
6264
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
6265
 
+           # to its proper name (with version) after linking.
6266
 
+           _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6267
 
+
6268
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6269
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6270
 
+
6271
 
+           # Archives containing C++ object files must be created using
6272
 
+           # the KAI C++ compiler.
6273
 
+           case $host in
6274
 
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
6275
 
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
6276
 
+           esac
6277
 
+           ;;
6278
 
+          RCC*)
6279
 
+           # Rational C++ 2.4.1
6280
 
+           # FIXME: insert proper C++ library support
6281
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6282
 
+           ;;
6283
 
+          cxx*)
6284
 
+           case $host in
6285
 
+             osf3*)
6286
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6287
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6288
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6289
 
+               ;;
6290
 
+             *)
6291
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6292
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6293
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6294
 
+                 echo "-hidden">> $lib.exp~
6295
 
+                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
6296
 
+                 $RM $lib.exp'
6297
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6298
 
+               ;;
6299
 
+           esac
6300
 
+
6301
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6302
 
+
6303
 
+           # Commands to make compiler produce verbose output that lists
6304
 
+           # what "hidden" libraries, object files and flags are used when
6305
 
+           # linking a shared library.
6306
 
+           #
6307
 
+           # There doesn't appear to be a way to prevent this compiler from
6308
 
+           # explicitly linking system object files so we need to strip them
6309
 
+           # from the output so that they don't get included in the library
6310
 
+           # dependencies.
6311
 
+           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6312
 
+           ;;
6313
 
+         *)
6314
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6315
 
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6316
 
+             case $host in
6317
 
+               osf3*)
6318
 
+                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6319
 
+                 ;;
6320
 
+               *)
6321
 
+                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6322
 
+                 ;;
6323
 
+             esac
6324
 
+
6325
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6326
 
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6327
 
+
6328
 
+             # Commands to make compiler produce verbose output that lists
6329
 
+             # what "hidden" libraries, object files and flags are used when
6330
 
+             # linking a shared library.
6331
 
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6332
 
+
6333
 
+           else
6334
 
+             # FIXME: insert proper C++ library support
6335
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
6336
 
+           fi
6337
 
+           ;;
6338
 
+        esac
6339
 
+        ;;
6340
 
+
6341
 
+      psos*)
6342
 
+        # FIXME: insert proper C++ library support
6343
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
6344
 
+        ;;
6345
 
+
6346
 
+      sunos4*)
6347
 
+        case $cc_basename in
6348
 
+          CC*)
6349
 
+           # Sun C++ 4.x
6350
 
+           # FIXME: insert proper C++ library support
6351
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6352
 
+           ;;
6353
 
+          lcc*)
6354
 
+           # Lucid
6355
 
+           # FIXME: insert proper C++ library support
6356
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6357
 
+           ;;
6358
 
+          *)
6359
 
+           # FIXME: insert proper C++ library support
6360
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6361
 
+           ;;
6362
 
+        esac
6363
 
+        ;;
6364
 
+
6365
 
+      solaris*)
6366
 
+        case $cc_basename in
6367
 
+          CC*)
6368
 
+           # Sun C++ 4.2, 5.x and Centerline C++
6369
 
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
6370
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
6371
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6372
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6373
 
+             $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6374
 
+
6375
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6376
 
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6377
 
+           case $host_os in
6378
 
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6379
 
+             *)
6380
 
+               # The compiler driver will combine and reorder linker options,
6381
 
+               # but understands `-z linker_flag'.
6382
 
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
6383
 
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6384
 
+               ;;
6385
 
+           esac
6386
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
6387
 
+
6388
 
+           output_verbose_link_cmd='echo'
6389
 
+
6390
 
+           # Archives containing C++ object files must be created using
6391
 
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
6392
 
+           # necessary to make sure instantiated templates are included
6393
 
+           # in the archive.
6394
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
6395
 
+           ;;
6396
 
+          gcx*)
6397
 
+           # Green Hills C++ Compiler
6398
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6399
 
+
6400
 
+           # The C++ compiler must be used to create the archive.
6401
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
6402
 
+           ;;
6403
 
+          *)
6404
 
+           # GNU C++ compiler with Solaris linker
6405
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6406
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
6407
 
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
6408
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6409
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6410
 
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6411
 
+
6412
 
+               # Commands to make compiler produce verbose output that lists
6413
 
+               # what "hidden" libraries, object files and flags are used when
6414
 
+               # linking a shared library.
6415
 
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6416
 
+             else
6417
 
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
6418
 
+               # platform.
6419
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6420
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
6421
 
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
6422
 
+
6423
 
+               # Commands to make compiler produce verbose output that lists
6424
 
+               # what "hidden" libraries, object files and flags are used when
6425
 
+               # linking a shared library.
6426
 
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6427
 
+             fi
6428
 
+
6429
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
6430
 
+             case $host_os in
6431
 
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6432
 
+               *)
6433
 
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6434
 
+                 ;;
6435
 
+             esac
6436
 
+           fi
6437
 
+           ;;
6438
 
+        esac
6439
 
+        ;;
6440
 
+
6441
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6442
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6443
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6444
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6445
 
+      runpath_var='LD_RUN_PATH'
6446
 
+
6447
 
+      case $cc_basename in
6448
 
+        CC*)
6449
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6450
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6451
 
+         ;;
6452
 
+       *)
6453
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6454
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6455
 
+         ;;
6456
 
+      esac
6457
 
+      ;;
6458
 
+
6459
 
+      sysv5* | sco3.2v5* | sco5v6*)
6460
 
+       # Note: We can NOT use -z defs as we might desire, because we do not
6461
 
+       # link with -lc, and that would cause any symbols used from libc to
6462
 
+       # always be unresolved, which means just about no library would
6463
 
+       # ever link correctly.  If we're not using GNU ld we use -z text
6464
 
+       # though, which does catch some bad symbols but isn't as heavy-handed
6465
 
+       # as -z defs.
6466
 
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6467
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6468
 
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6469
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6470
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
6471
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6472
 
+       _LT_TAGVAR(link_all_deplibs, $1)=yes
6473
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6474
 
+       runpath_var='LD_RUN_PATH'
6475
 
+
6476
 
+       case $cc_basename in
6477
 
+          CC*)
6478
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6479
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6480
 
+           ;;
6481
 
+         *)
6482
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6483
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6484
 
+           ;;
6485
 
+       esac
6486
 
+      ;;
6487
 
+
6488
 
+      tandem*)
6489
 
+        case $cc_basename in
6490
 
+          NCC*)
6491
 
+           # NonStop-UX NCC 3.20
6492
 
+           # FIXME: insert proper C++ library support
6493
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6494
 
+           ;;
6495
 
+          *)
6496
 
+           # FIXME: insert proper C++ library support
6497
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
6498
 
+           ;;
6499
 
+        esac
6500
 
+        ;;
6501
 
+
6502
 
+      vxworks*)
6503
 
+        # FIXME: insert proper C++ library support
6504
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
6505
 
+        ;;
6506
 
+
6507
 
+      *)
6508
 
+        # FIXME: insert proper C++ library support
6509
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
6510
 
+        ;;
6511
 
+    esac
6512
 
+
6513
 
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6514
 
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6515
 
+
6516
 
+    _LT_TAGVAR(GCC, $1)="$GXX"
6517
 
+    _LT_TAGVAR(LD, $1)="$LD"
6518
 
+
6519
 
+    ## CAVEAT EMPTOR:
6520
 
+    ## There is no encapsulation within the following macros, do not change
6521
 
+    ## the running order or otherwise move them around unless you know exactly
6522
 
+    ## what you are doing...
6523
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
6524
 
+    _LT_COMPILER_PIC($1)
6525
 
+    _LT_COMPILER_C_O($1)
6526
 
+    _LT_COMPILER_FILE_LOCKS($1)
6527
 
+    _LT_LINKER_SHLIBS($1)
6528
 
+    _LT_SYS_DYNAMIC_LINKER($1)
6529
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
6530
 
+
6531
 
+    _LT_CONFIG($1)
6532
 
+  fi # test -n "$compiler"
6533
 
+
6534
 
+  CC=$lt_save_CC
6535
 
+  LDCXX=$LD
6536
 
+  LD=$lt_save_LD
6537
 
+  GCC=$lt_save_GCC
6538
 
+  with_gnu_ld=$lt_save_with_gnu_ld
6539
 
+  lt_cv_path_LDCXX=$lt_cv_path_LD
6540
 
+  lt_cv_path_LD=$lt_save_path_LD
6541
 
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
6542
 
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
6543
 
+fi # test "$_lt_caught_CXX_error" != yes
6544
 
+
6545
 
+AC_LANG_POP
6546
 
+])# _LT_LANG_CXX_CONFIG
6547
 
+
6548
 
+
6549
 
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
6550
 
+# ---------------------------------
6551
 
+# Figure out "hidden" library dependencies from verbose
6552
 
+# compiler output when linking a shared library.
6553
 
+# Parse the compiler output and extract the necessary
6554
 
+# objects, libraries and library flags.
6555
 
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
6556
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6557
 
+# Dependencies to place before and after the object being linked:
6558
 
+_LT_TAGVAR(predep_objects, $1)=
6559
 
+_LT_TAGVAR(postdep_objects, $1)=
6560
 
+_LT_TAGVAR(predeps, $1)=
6561
 
+_LT_TAGVAR(postdeps, $1)=
6562
 
+_LT_TAGVAR(compiler_lib_search_path, $1)=
6563
 
+
6564
 
+dnl we can't use the lt_simple_compile_test_code here,
6565
 
+dnl because it contains code intended for an executable,
6566
 
+dnl not a library.  It's possible we should let each
6567
 
+dnl tag define a new lt_????_link_test_code variable,
6568
 
+dnl but it's only used here...
6569
 
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
6570
 
+int a;
6571
 
+void foo (void) { a = 0; }
6572
 
+_LT_EOF
6573
 
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
6574
 
+class Foo
6575
 
+{
6576
 
+public:
6577
 
+  Foo (void) { a = 0; }
6578
 
+private:
6579
 
+  int a;
6580
 
+};
6581
 
+_LT_EOF
6582
 
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
6583
 
+      subroutine foo
6584
 
+      implicit none
6585
 
+      integer*4 a
6586
 
+      a=0
6587
 
+      return
6588
 
+      end
6589
 
+_LT_EOF
6590
 
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
6591
 
+      subroutine foo
6592
 
+      implicit none
6593
 
+      integer a
6594
 
+      a=0
6595
 
+      return
6596
 
+      end
6597
 
+_LT_EOF
6598
 
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
6599
 
+public class foo {
6600
 
+  private int a;
6601
 
+  public void bar (void) {
6602
 
+    a = 0;
6603
 
+  }
6604
 
+};
6605
 
+_LT_EOF
6606
 
+])
6607
 
+dnl Parse the compiler output and extract the necessary
6608
 
+dnl objects, libraries and library flags.
6609
 
+if AC_TRY_EVAL(ac_compile); then
6610
 
+  # Parse the compiler output and extract the necessary
6611
 
+  # objects, libraries and library flags.
6612
 
+
6613
 
+  # Sentinel used to keep track of whether or not we are before
6614
 
+  # the conftest object file.
6615
 
+  pre_test_object_deps_done=no
6616
 
+
6617
 
+  for p in `eval "$output_verbose_link_cmd"`; do
6618
 
+    case $p in
6619
 
+
6620
 
+    -L* | -R* | -l*)
6621
 
+       # Some compilers place space between "-{L,R}" and the path.
6622
 
+       # Remove the space.
6623
 
+       if test $p = "-L" ||
6624
 
+          test $p = "-R"; then
6625
 
+        prev=$p
6626
 
+        continue
6627
 
+       else
6628
 
+        prev=
6629
 
+       fi
6630
 
+
6631
 
+       if test "$pre_test_object_deps_done" = no; then
6632
 
+        case $p in
6633
 
+        -L* | -R*)
6634
 
+          # Internal compiler library paths should come after those
6635
 
+          # provided the user.  The postdeps already come after the
6636
 
+          # user supplied libs so there is no need to process them.
6637
 
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
6638
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
6639
 
+          else
6640
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
6641
 
+          fi
6642
 
+          ;;
6643
 
+        # The "-l" case would never come before the object being
6644
 
+        # linked, so don't bother handling this case.
6645
 
+        esac
6646
 
+       else
6647
 
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
6648
 
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
6649
 
+        else
6650
 
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
6651
 
+        fi
6652
 
+       fi
6653
 
+       ;;
6654
 
+
6655
 
+    *.$objext)
6656
 
+       # This assumes that the test object file only shows up
6657
 
+       # once in the compiler output.
6658
 
+       if test "$p" = "conftest.$objext"; then
6659
 
+        pre_test_object_deps_done=yes
6660
 
+        continue
6661
 
+       fi
6662
 
+
6663
 
+       if test "$pre_test_object_deps_done" = no; then
6664
 
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
6665
 
+          _LT_TAGVAR(predep_objects, $1)="$p"
6666
 
+        else
6667
 
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
6668
 
+        fi
6669
 
+       else
6670
 
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
6671
 
+          _LT_TAGVAR(postdep_objects, $1)="$p"
6672
 
+        else
6673
 
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
6674
 
+        fi
6675
 
+       fi
6676
 
+       ;;
6677
 
+
6678
 
+    *) ;; # Ignore the rest.
6679
 
+
6680
 
+    esac
6681
 
+  done
6682
 
+
6683
 
+  # Clean up.
6684
 
+  rm -f a.out a.exe
6685
 
+else
6686
 
+  echo "libtool.m4: error: problem compiling $1 test program"
6687
 
+fi
6688
 
+
6689
 
+$RM -f confest.$objext
6690
 
+
6691
 
+# PORTME: override above test on systems where it is broken
6692
 
+m4_if([$1], [CXX],
6693
 
+[case $host_os in
6694
 
+interix[[3-9]]*)
6695
 
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
6696
 
+  # hack all around it, let's just trust "g++" to DTRT.
6697
 
+  _LT_TAGVAR(predep_objects,$1)=
6698
 
+  _LT_TAGVAR(postdep_objects,$1)=
6699
 
+  _LT_TAGVAR(postdeps,$1)=
6700
 
+  ;;
6701
 
+
6702
 
+linux*)
6703
 
+  case `$CC -V 2>&1 | sed 5q` in
6704
 
+  *Sun\ C*)
6705
 
+    # Sun C++ 5.9
6706
 
+
6707
 
+    # The more standards-conforming stlport4 library is
6708
 
+    # incompatible with the Cstd library. Avoid specifying
6709
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
6710
 
+    # -library=stlport4 depends on it.
6711
 
+    case " $CXX $CXXFLAGS " in
6712
 
+    *" -library=stlport4 "*)
6713
 
+      solaris_use_stlport4=yes
6714
 
+      ;;
6715
 
+    esac
6716
 
+
6717
 
+    if test "$solaris_use_stlport4" != yes; then
6718
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
6719
 
+    fi
6720
 
+    ;;
6721
 
+  esac
6722
 
+  ;;
6723
 
+
6724
 
+solaris*)
6725
 
+  case $cc_basename in
6726
 
+  CC*)
6727
 
+    # The more standards-conforming stlport4 library is
6728
 
+    # incompatible with the Cstd library. Avoid specifying
6729
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
6730
 
+    # -library=stlport4 depends on it.
6731
 
+    case " $CXX $CXXFLAGS " in
6732
 
+    *" -library=stlport4 "*)
6733
 
+      solaris_use_stlport4=yes
6734
 
+      ;;
6735
 
+    esac
6736
 
+
6737
 
+    # Adding this requires a known-good setup of shared libraries for
6738
 
+    # Sun compiler versions before 5.6, else PIC objects from an old
6739
 
+    # archive will be linked into the output, leading to subtle bugs.
6740
 
+    if test "$solaris_use_stlport4" != yes; then
6741
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
6742
 
+    fi
6743
 
+    ;;
6744
 
+  esac
6745
 
+  ;;
6746
 
+esac
6747
 
+])
6748
 
+
6749
 
+case " $_LT_TAGVAR(postdeps, $1) " in
6750
 
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
6751
 
+esac
6752
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
6753
 
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
6754
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
6755
 
+fi
6756
 
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
6757
 
+    [The directories searched by this compiler when creating a shared library])
6758
 
+_LT_TAGDECL([], [predep_objects], [1],
6759
 
+    [Dependencies to place before and after the objects being linked to
6760
 
+    create a shared library])
6761
 
+_LT_TAGDECL([], [postdep_objects], [1])
6762
 
+_LT_TAGDECL([], [predeps], [1])
6763
 
+_LT_TAGDECL([], [postdeps], [1])
6764
 
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
6765
 
+    [The library search path used internally by the compiler when linking
6766
 
+    a shared library])
6767
 
+])# _LT_SYS_HIDDEN_LIBDEPS
6768
 
+
6769
 
+
6770
 
+# _LT_PROG_F77
6771
 
+# ------------
6772
 
+# Since AC_PROG_F77 is broken, in that it returns the empty string
6773
 
+# if there is no fortran compiler, we have our own version here.
6774
 
+m4_defun([_LT_PROG_F77],
6775
 
+[
6776
 
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
6777
 
+AC_PROG_F77
6778
 
+if test -z "$F77" || test "X$F77" = "Xno"; then
6779
 
+  _lt_disable_F77=yes
6780
 
+fi
6781
 
+popdef([AC_MSG_ERROR])
6782
 
+])# _LT_PROG_F77
6783
 
+
6784
 
+dnl aclocal-1.4 backwards compatibility:
6785
 
+dnl AC_DEFUN([_LT_PROG_F77], [])
6786
 
+
6787
 
+
6788
 
+# _LT_LANG_F77_CONFIG([TAG])
6789
 
+# --------------------------
6790
 
+# Ensure that the configuration variables for a Fortran 77 compiler are
6791
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
6792
 
+# to write the compiler configuration to `libtool'.
6793
 
+m4_defun([_LT_LANG_F77_CONFIG],
6794
 
+[AC_REQUIRE([_LT_PROG_F77])dnl
6795
 
+AC_LANG_PUSH(Fortran 77)
6796
 
+
6797
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6798
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
6799
 
+_LT_TAGVAR(always_export_symbols, $1)=no
6800
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
6801
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
6802
 
+_LT_TAGVAR(hardcode_direct, $1)=no
6803
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6804
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6805
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6806
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
6807
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
6808
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
6809
 
+_LT_TAGVAR(inherit_rpath, $1)=no
6810
 
+_LT_TAGVAR(module_cmds, $1)=
6811
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
6812
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
6813
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6814
 
+_LT_TAGVAR(no_undefined_flag, $1)=
6815
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
6816
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6817
 
+
6818
 
+# Source file extension for f77 test sources.
6819
 
+ac_ext=f
6820
 
+
6821
 
+# Object file extension for compiled f77 test sources.
6822
 
+objext=o
6823
 
+_LT_TAGVAR(objext, $1)=$objext
6824
 
+
6825
 
+# No sense in running all these tests if we already determined that
6826
 
+# the F77 compiler isn't working.  Some variables (like enable_shared)
6827
 
+# are currently assumed to apply to all compilers on this platform,
6828
 
+# and will be corrupted by setting them based on a non-working compiler.
6829
 
+if test "$_lt_disable_F77" != yes; then
6830
 
+  # Code to be used in simple compile tests
6831
 
+  lt_simple_compile_test_code="\
6832
 
+      subroutine t
6833
 
+      return
6834
 
+      end
6835
 
+"
6836
 
+
6837
 
+  # Code to be used in simple link tests
6838
 
+  lt_simple_link_test_code="\
6839
 
+      program t
6840
 
+      end
6841
 
+"
6842
 
+
6843
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6844
 
+  _LT_TAG_COMPILER
6845
 
+
6846
 
+  # save warnings/boilerplate of simple test code
6847
 
+  _LT_COMPILER_BOILERPLATE
6848
 
+  _LT_LINKER_BOILERPLATE
6849
 
+
6850
 
+  # Allow CC to be a program name with arguments.
6851
 
+  lt_save_CC="$CC"
6852
 
+  lt_save_GCC=$GCC
6853
 
+  CC=${F77-"f77"}
6854
 
+  compiler=$CC
6855
 
+  _LT_TAGVAR(compiler, $1)=$CC
6856
 
+  _LT_CC_BASENAME([$compiler])
6857
 
+  GCC=$G77
6858
 
+  if test -n "$compiler"; then
6859
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
6860
 
+    AC_MSG_RESULT([$can_build_shared])
6861
 
+
6862
 
+    AC_MSG_CHECKING([whether to build shared libraries])
6863
 
+    test "$can_build_shared" = "no" && enable_shared=no
6864
 
+
6865
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
6866
 
+    # are all built from PIC.
6867
 
+    case $host_os in
6868
 
+      aix3*)
6869
 
+        test "$enable_shared" = yes && enable_static=no
6870
 
+        if test -n "$RANLIB"; then
6871
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
6872
 
+          postinstall_cmds='$RANLIB $lib'
6873
 
+        fi
6874
 
+        ;;
6875
 
+      aix[[4-9]]*)
6876
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6877
 
+         test "$enable_shared" = yes && enable_static=no
6878
 
+       fi
6879
 
+        ;;
6880
 
+    esac
6881
 
+    AC_MSG_RESULT([$enable_shared])
6882
 
+
6883
 
+    AC_MSG_CHECKING([whether to build static libraries])
6884
 
+    # Make sure either enable_shared or enable_static is yes.
6885
 
+    test "$enable_shared" = yes || enable_static=yes
6886
 
+    AC_MSG_RESULT([$enable_static])
6887
 
+
6888
 
+    _LT_TAGVAR(GCC, $1)="$G77"
6889
 
+    _LT_TAGVAR(LD, $1)="$LD"
6890
 
+
6891
 
+    ## CAVEAT EMPTOR:
6892
 
+    ## There is no encapsulation within the following macros, do not change
6893
 
+    ## the running order or otherwise move them around unless you know exactly
6894
 
+    ## what you are doing...
6895
 
+    _LT_COMPILER_PIC($1)
6896
 
+    _LT_COMPILER_C_O($1)
6897
 
+    _LT_COMPILER_FILE_LOCKS($1)
6898
 
+    _LT_LINKER_SHLIBS($1)
6899
 
+    _LT_SYS_DYNAMIC_LINKER($1)
6900
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
6901
 
+
6902
 
+    _LT_CONFIG($1)
6903
 
+  fi # test -n "$compiler"
6904
 
+
6905
 
+  GCC=$lt_save_GCC
6906
 
+  CC="$lt_save_CC"
6907
 
+fi # test "$_lt_disable_F77" != yes
6908
 
+
6909
 
+AC_LANG_POP
6910
 
+])# _LT_LANG_F77_CONFIG
6911
 
+
6912
 
+
6913
 
+# _LT_PROG_FC
6914
 
+# -----------
6915
 
+# Since AC_PROG_FC is broken, in that it returns the empty string
6916
 
+# if there is no fortran compiler, we have our own version here.
6917
 
+m4_defun([_LT_PROG_FC],
6918
 
+[
6919
 
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
6920
 
+AC_PROG_FC
6921
 
+if test -z "$FC" || test "X$FC" = "Xno"; then
6922
 
+  _lt_disable_FC=yes
6923
 
+fi
6924
 
+popdef([AC_MSG_ERROR])
6925
 
+])# _LT_PROG_FC
6926
 
+
6927
 
+dnl aclocal-1.4 backwards compatibility:
6928
 
+dnl AC_DEFUN([_LT_PROG_FC], [])
6929
 
+
6930
 
+
6931
 
+# _LT_LANG_FC_CONFIG([TAG])
6932
 
+# -------------------------
6933
 
+# Ensure that the configuration variables for a Fortran compiler are
6934
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
6935
 
+# to write the compiler configuration to `libtool'.
6936
 
+m4_defun([_LT_LANG_FC_CONFIG],
6937
 
+[AC_REQUIRE([_LT_PROG_FC])dnl
6938
 
+AC_LANG_PUSH(Fortran)
6939
 
+
6940
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6941
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
6942
 
+_LT_TAGVAR(always_export_symbols, $1)=no
6943
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
6944
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
6945
 
+_LT_TAGVAR(hardcode_direct, $1)=no
6946
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
6947
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6948
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6949
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
6950
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
6951
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
6952
 
+_LT_TAGVAR(inherit_rpath, $1)=no
6953
 
+_LT_TAGVAR(module_cmds, $1)=
6954
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
6955
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
6956
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6957
 
+_LT_TAGVAR(no_undefined_flag, $1)=
6958
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
6959
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6960
 
+
6961
 
+# Source file extension for fc test sources.
6962
 
+ac_ext=${ac_fc_srcext-f}
6963
 
+
6964
 
+# Object file extension for compiled fc test sources.
6965
 
+objext=o
6966
 
+_LT_TAGVAR(objext, $1)=$objext
6967
 
+
6968
 
+# No sense in running all these tests if we already determined that
6969
 
+# the FC compiler isn't working.  Some variables (like enable_shared)
6970
 
+# are currently assumed to apply to all compilers on this platform,
6971
 
+# and will be corrupted by setting them based on a non-working compiler.
6972
 
+if test "$_lt_disable_FC" != yes; then
6973
 
+  # Code to be used in simple compile tests
6974
 
+  lt_simple_compile_test_code="\
6975
 
+      subroutine t
6976
 
+      return
6977
 
+      end
6978
 
+"
6979
 
+
6980
 
+  # Code to be used in simple link tests
6981
 
+  lt_simple_link_test_code="\
6982
 
+      program t
6983
 
+      end
6984
 
+"
6985
 
+
6986
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6987
 
+  _LT_TAG_COMPILER
6988
 
+
6989
 
+  # save warnings/boilerplate of simple test code
6990
 
+  _LT_COMPILER_BOILERPLATE
6991
 
+  _LT_LINKER_BOILERPLATE
6992
 
+
6993
 
+  # Allow CC to be a program name with arguments.
6994
 
+  lt_save_CC="$CC"
6995
 
+  lt_save_GCC=$GCC
6996
 
+  CC=${FC-"f95"}
6997
 
+  compiler=$CC
6998
 
+  GCC=$ac_cv_fc_compiler_gnu
6999
 
+
7000
 
+  _LT_TAGVAR(compiler, $1)=$CC
7001
 
+  _LT_CC_BASENAME([$compiler])
7002
 
+
7003
 
+  if test -n "$compiler"; then
7004
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
7005
 
+    AC_MSG_RESULT([$can_build_shared])
7006
 
+
7007
 
+    AC_MSG_CHECKING([whether to build shared libraries])
7008
 
+    test "$can_build_shared" = "no" && enable_shared=no
7009
 
+
7010
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
7011
 
+    # are all built from PIC.
7012
 
+    case $host_os in
7013
 
+      aix3*)
7014
 
+        test "$enable_shared" = yes && enable_static=no
7015
 
+        if test -n "$RANLIB"; then
7016
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
7017
 
+          postinstall_cmds='$RANLIB $lib'
7018
 
+        fi
7019
 
+        ;;
7020
 
+      aix[[4-9]]*)
7021
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7022
 
+         test "$enable_shared" = yes && enable_static=no
7023
 
+       fi
7024
 
+        ;;
7025
 
+    esac
7026
 
+    AC_MSG_RESULT([$enable_shared])
7027
 
+
7028
 
+    AC_MSG_CHECKING([whether to build static libraries])
7029
 
+    # Make sure either enable_shared or enable_static is yes.
7030
 
+    test "$enable_shared" = yes || enable_static=yes
7031
 
+    AC_MSG_RESULT([$enable_static])
7032
 
+
7033
 
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
7034
 
+    _LT_TAGVAR(LD, $1)="$LD"
7035
 
+
7036
 
+    ## CAVEAT EMPTOR:
7037
 
+    ## There is no encapsulation within the following macros, do not change
7038
 
+    ## the running order or otherwise move them around unless you know exactly
7039
 
+    ## what you are doing...
7040
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
7041
 
+    _LT_COMPILER_PIC($1)
7042
 
+    _LT_COMPILER_C_O($1)
7043
 
+    _LT_COMPILER_FILE_LOCKS($1)
7044
 
+    _LT_LINKER_SHLIBS($1)
7045
 
+    _LT_SYS_DYNAMIC_LINKER($1)
7046
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
7047
 
+
7048
 
+    _LT_CONFIG($1)
7049
 
+  fi # test -n "$compiler"
7050
 
+
7051
 
+  GCC=$lt_save_GCC
7052
 
+  CC="$lt_save_CC"
7053
 
+fi # test "$_lt_disable_FC" != yes
7054
 
+
7055
 
+AC_LANG_POP
7056
 
+])# _LT_LANG_FC_CONFIG
7057
 
+
7058
 
+
7059
 
+# _LT_LANG_GCJ_CONFIG([TAG])
7060
 
+# --------------------------
7061
 
+# Ensure that the configuration variables for the GNU Java Compiler compiler
7062
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
7063
 
+# to write the compiler configuration to `libtool'.
7064
 
+m4_defun([_LT_LANG_GCJ_CONFIG],
7065
 
+[AC_REQUIRE([LT_PROG_GCJ])dnl
7066
 
+AC_LANG_SAVE
7067
 
+
7068
 
+# Source file extension for Java test sources.
7069
 
+ac_ext=java
7070
 
+
7071
 
+# Object file extension for compiled Java test sources.
7072
 
+objext=o
7073
 
+_LT_TAGVAR(objext, $1)=$objext
7074
 
+
7075
 
+# Code to be used in simple compile tests
7076
 
+lt_simple_compile_test_code="class foo {}"
7077
 
+
7078
 
+# Code to be used in simple link tests
7079
 
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
7080
 
+
7081
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7082
 
+_LT_TAG_COMPILER
7083
 
+
7084
 
+# save warnings/boilerplate of simple test code
7085
 
+_LT_COMPILER_BOILERPLATE
7086
 
+_LT_LINKER_BOILERPLATE
7087
 
+
7088
 
+# Allow CC to be a program name with arguments.
7089
 
+lt_save_CC="$CC"
7090
 
+lt_save_GCC=$GCC
7091
 
+GCC=yes
7092
 
+CC=${GCJ-"gcj"}
7093
 
+compiler=$CC
7094
 
+_LT_TAGVAR(compiler, $1)=$CC
7095
 
+_LT_TAGVAR(LD, $1)="$LD"
7096
 
+_LT_CC_BASENAME([$compiler])
7097
 
+
7098
 
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
7099
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7100
 
+
7101
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7102
 
+
7103
 
+if test -n "$compiler"; then
7104
 
+  _LT_COMPILER_NO_RTTI($1)
7105
 
+  _LT_COMPILER_PIC($1)
7106
 
+  _LT_COMPILER_C_O($1)
7107
 
+  _LT_COMPILER_FILE_LOCKS($1)
7108
 
+  _LT_LINKER_SHLIBS($1)
7109
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
7110
 
+
7111
 
+  _LT_CONFIG($1)
7112
 
+fi
7113
 
+
7114
 
+AC_LANG_RESTORE
7115
 
+
7116
 
+GCC=$lt_save_GCC
7117
 
+CC="$lt_save_CC"
7118
 
+])# _LT_LANG_GCJ_CONFIG
7119
 
+
7120
 
+
7121
 
+# _LT_LANG_RC_CONFIG([TAG])
7122
 
+# -------------------------
7123
 
+# Ensure that the configuration variables for the Windows resource compiler
7124
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
7125
 
+# to write the compiler configuration to `libtool'.
7126
 
+m4_defun([_LT_LANG_RC_CONFIG],
7127
 
+[AC_REQUIRE([LT_PROG_RC])dnl
7128
 
+AC_LANG_SAVE
7129
 
+
7130
 
+# Source file extension for RC test sources.
7131
 
+ac_ext=rc
7132
 
+
7133
 
+# Object file extension for compiled RC test sources.
7134
 
+objext=o
7135
 
+_LT_TAGVAR(objext, $1)=$objext
7136
 
+
7137
 
+# Code to be used in simple compile tests
7138
 
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
7139
 
+
7140
 
+# Code to be used in simple link tests
7141
 
+lt_simple_link_test_code="$lt_simple_compile_test_code"
7142
 
+
7143
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7144
 
+_LT_TAG_COMPILER
7145
 
+
7146
 
+# save warnings/boilerplate of simple test code
7147
 
+_LT_COMPILER_BOILERPLATE
7148
 
+_LT_LINKER_BOILERPLATE
7149
 
+
7150
 
+# Allow CC to be a program name with arguments.
7151
 
+lt_save_CC="$CC"
7152
 
+lt_save_GCC=$GCC
7153
 
+GCC=
7154
 
+CC=${RC-"windres"}
7155
 
+compiler=$CC
7156
 
+_LT_TAGVAR(compiler, $1)=$CC
7157
 
+_LT_CC_BASENAME([$compiler])
7158
 
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
7159
 
+
7160
 
+if test -n "$compiler"; then
7161
 
+  :
7162
 
+  _LT_CONFIG($1)
7163
 
+fi
7164
 
+
7165
 
+GCC=$lt_save_GCC
7166
 
+AC_LANG_RESTORE
7167
 
+CC="$lt_save_CC"
7168
 
+])# _LT_LANG_RC_CONFIG
7169
 
+
7170
 
+
7171
 
+# LT_PROG_GCJ
7172
 
+# -----------
7173
 
+AC_DEFUN([LT_PROG_GCJ],
7174
 
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
7175
 
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
7176
 
+    [AC_CHECK_TOOL(GCJ, gcj,)
7177
 
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
7178
 
+      AC_SUBST(GCJFLAGS)])])[]dnl
7179
 
+])
7180
 
+
7181
 
+# Old name:
7182
 
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
7183
 
+dnl aclocal-1.4 backwards compatibility:
7184
 
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
7185
 
+
7186
 
+
7187
 
+# LT_PROG_RC
7188
 
+# ----------
7189
 
+AC_DEFUN([LT_PROG_RC],
7190
 
+[AC_CHECK_TOOL(RC, windres,)
7191
 
+])
7192
 
+
7193
 
+# Old name:
7194
 
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
7195
 
+dnl aclocal-1.4 backwards compatibility:
7196
 
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
7197
 
+
7198
 
+
7199
 
+# _LT_DECL_EGREP
7200
 
+# --------------
7201
 
+# If we don't have a new enough Autoconf to choose the best grep
7202
 
+# available, choose the one first in the user's PATH.
7203
 
+m4_defun([_LT_DECL_EGREP],
7204
 
+[AC_REQUIRE([AC_PROG_EGREP])dnl
7205
 
+AC_REQUIRE([AC_PROG_FGREP])dnl
7206
 
+test -z "$GREP" && GREP=grep
7207
 
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
7208
 
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
7209
 
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
7210
 
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
7211
 
+AC_SUBST([GREP])
7212
 
+])
7213
 
+
7214
 
+
7215
 
+# _LT_DECL_OBJDUMP
7216
 
+# --------------
7217
 
+# If we don't have a new enough Autoconf to choose the best objdump
7218
 
+# available, choose the one first in the user's PATH.
7219
 
+m4_defun([_LT_DECL_OBJDUMP],
7220
 
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
7221
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
7222
 
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
7223
 
+AC_SUBST([OBJDUMP])
7224
 
+])
7225
 
+
7226
 
+
7227
 
+# _LT_DECL_SED
7228
 
+# ------------
7229
 
+# Check for a fully-functional sed program, that truncates
7230
 
+# as few characters as possible.  Prefer GNU sed if found.
7231
 
+m4_defun([_LT_DECL_SED],
7232
 
+[AC_PROG_SED
7233
 
+test -z "$SED" && SED=sed
7234
 
+Xsed="$SED -e 1s/^X//"
7235
 
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
7236
 
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
7237
 
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
7238
 
+])# _LT_DECL_SED
7239
 
+
7240
 
+m4_ifndef([AC_PROG_SED], [
7241
 
+# NOTE: This macro has been submitted for inclusion into   #
7242
 
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
7243
 
+#  a released version of Autoconf we should remove this    #
7244
 
+#  macro and use it instead.                               #
7245
 
+
7246
 
+m4_defun([AC_PROG_SED],
7247
 
+[AC_MSG_CHECKING([for a sed that does not truncate output])
7248
 
+AC_CACHE_VAL(lt_cv_path_SED,
7249
 
+[# Loop through the user's path and test for sed and gsed.
7250
 
+# Then use that list of sed's as ones to test for truncation.
7251
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252
 
+for as_dir in $PATH
7253
 
+do
7254
 
+  IFS=$as_save_IFS
7255
 
+  test -z "$as_dir" && as_dir=.
7256
 
+  for lt_ac_prog in sed gsed; do
7257
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
7258
 
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7259
 
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7260
 
+      fi
7261
 
+    done
7262
 
+  done
7263
 
+done
7264
 
+IFS=$as_save_IFS
7265
 
+lt_ac_max=0
7266
 
+lt_ac_count=0
7267
 
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7268
 
+# along with /bin/sed that truncates output.
7269
 
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7270
 
+  test ! -f $lt_ac_sed && continue
7271
 
+  cat /dev/null > conftest.in
7272
 
+  lt_ac_count=0
7273
 
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7274
 
+  # Check for GNU sed and select it if it is found.
7275
 
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7276
 
+    lt_cv_path_SED=$lt_ac_sed
7277
 
+    break
7278
 
+  fi
7279
 
+  while true; do
7280
 
+    cat conftest.in conftest.in >conftest.tmp
7281
 
+    mv conftest.tmp conftest.in
7282
 
+    cp conftest.in conftest.nl
7283
 
+    echo >>conftest.nl
7284
 
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7285
 
+    cmp -s conftest.out conftest.nl || break
7286
 
+    # 10000 chars as input seems more than enough
7287
 
+    test $lt_ac_count -gt 10 && break
7288
 
+    lt_ac_count=`expr $lt_ac_count + 1`
7289
 
+    if test $lt_ac_count -gt $lt_ac_max; then
7290
 
+      lt_ac_max=$lt_ac_count
7291
 
+      lt_cv_path_SED=$lt_ac_sed
7292
 
+    fi
7293
 
+  done
7294
 
+done
7295
 
+])
7296
 
+SED=$lt_cv_path_SED
7297
 
+AC_SUBST([SED])
7298
 
+AC_MSG_RESULT([$SED])
7299
 
+])#AC_PROG_SED
7300
 
+])#m4_ifndef
7301
 
+
7302
 
+# Old name:
7303
 
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
7304
 
+dnl aclocal-1.4 backwards compatibility:
7305
 
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
7306
 
+
7307
 
+
7308
 
+# _LT_CHECK_SHELL_FEATURES
7309
 
+# ------------------------
7310
 
+# Find out whether the shell is Bourne or XSI compatible,
7311
 
+# or has some other useful features.
7312
 
+m4_defun([_LT_CHECK_SHELL_FEATURES],
7313
 
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
7314
 
+# Try some XSI features
7315
 
+xsi_shell=no
7316
 
+( _lt_dummy="a/b/c"
7317
 
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7318
 
+      = c,a/b,, \
7319
 
+    && eval 'test $(( 1 + 1 )) -eq 2 \
7320
 
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7321
 
+  && xsi_shell=yes
7322
 
+AC_MSG_RESULT([$xsi_shell])
7323
 
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
7324
 
+
7325
 
+AC_MSG_CHECKING([whether the shell understands "+="])
7326
 
+lt_shell_append=no
7327
 
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
7328
 
+    >/dev/null 2>&1 \
7329
 
+  && lt_shell_append=yes
7330
 
+AC_MSG_RESULT([$lt_shell_append])
7331
 
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
7332
 
+
7333
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7334
 
+  lt_unset=unset
7335
 
+else
7336
 
+  lt_unset=false
7337
 
+fi
7338
 
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
7339
 
+
7340
 
+# test EBCDIC or ASCII
7341
 
+case `echo X|tr X '\101'` in
7342
 
+ A) # ASCII based system
7343
 
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7344
 
+  lt_SP2NL='tr \040 \012'
7345
 
+  lt_NL2SP='tr \015\012 \040\040'
7346
 
+  ;;
7347
 
+ *) # EBCDIC based system
7348
 
+  lt_SP2NL='tr \100 \n'
7349
 
+  lt_NL2SP='tr \r\n \100\100'
7350
 
+  ;;
7351
 
+esac
7352
 
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
7353
 
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
7354
 
+])# _LT_CHECK_SHELL_FEATURES
7355
 
+
7356
 
+
7357
 
+# _LT_PROG_XSI_SHELLFNS
7358
 
+# ---------------------
7359
 
+# Bourne and XSI compatible variants of some useful shell functions.
7360
 
+m4_defun([_LT_PROG_XSI_SHELLFNS],
7361
 
+[case $xsi_shell in
7362
 
+  yes)
7363
 
+    cat << \_LT_EOF >> "$cfgfile"
7364
 
+
7365
 
+# func_dirname file append nondir_replacement
7366
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
7367
 
+# otherwise set result to NONDIR_REPLACEMENT.
7368
 
+func_dirname ()
7369
 
+{
7370
 
+  case ${1} in
7371
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
7372
 
+    *  ) func_dirname_result="${3}" ;;
7373
 
+  esac
7374
 
+}
7375
 
+
7376
 
+# func_basename file
7377
 
+func_basename ()
7378
 
+{
7379
 
+  func_basename_result="${1##*/}"
7380
 
+}
7381
 
+
7382
 
+# func_dirname_and_basename file append nondir_replacement
7383
 
+# perform func_basename and func_dirname in a single function
7384
 
+# call:
7385
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
7386
 
+#             add APPEND to the result, otherwise set result
7387
 
+#             to NONDIR_REPLACEMENT.
7388
 
+#             value returned in "$func_dirname_result"
7389
 
+#   basename: Compute filename of FILE.
7390
 
+#             value retuned in "$func_basename_result"
7391
 
+# Implementation must be kept synchronized with func_dirname
7392
 
+# and func_basename. For efficiency, we do not delegate to
7393
 
+# those functions but instead duplicate the functionality here.
7394
 
+func_dirname_and_basename ()
7395
 
+{
7396
 
+  case ${1} in
7397
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
7398
 
+    *  ) func_dirname_result="${3}" ;;
7399
 
+  esac
7400
 
+  func_basename_result="${1##*/}"
7401
 
+}
7402
 
+
7403
 
+# func_stripname prefix suffix name
7404
 
+# strip PREFIX and SUFFIX off of NAME.
7405
 
+# PREFIX and SUFFIX must not contain globbing or regex special
7406
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
7407
 
+# dot (in which case that matches only a dot).
7408
 
+func_stripname ()
7409
 
+{
7410
 
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
7411
 
+  # positional parameters, so assign one to ordinary parameter first.
7412
 
+  func_stripname_result=${3}
7413
 
+  func_stripname_result=${func_stripname_result#"${1}"}
7414
 
+  func_stripname_result=${func_stripname_result%"${2}"}
7415
 
+}
7416
 
+
7417
 
+# func_opt_split
7418
 
+func_opt_split ()
7419
 
+{
7420
 
+  func_opt_split_opt=${1%%=*}
7421
 
+  func_opt_split_arg=${1#*=}
7422
 
+}
7423
 
+
7424
 
+# func_lo2o object
7425
 
+func_lo2o ()
7426
 
+{
7427
 
+  case ${1} in
7428
 
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
7429
 
+    *)    func_lo2o_result=${1} ;;
7430
 
+  esac
7431
 
+}
7432
 
+
7433
 
+# func_xform libobj-or-source
7434
 
+func_xform ()
7435
 
+{
7436
 
+  func_xform_result=${1%.*}.lo
7437
 
+}
7438
 
+
7439
 
+# func_arith arithmetic-term...
7440
 
+func_arith ()
7441
 
+{
7442
 
+  func_arith_result=$(( $[*] ))
7443
 
+}
7444
 
+
7445
 
+# func_len string
7446
 
+# STRING may not start with a hyphen.
7447
 
+func_len ()
7448
 
+{
7449
 
+  func_len_result=${#1}
7450
 
+}
7451
 
+
7452
 
+_LT_EOF
7453
 
+    ;;
7454
 
+  *) # Bourne compatible functions.
7455
 
+    cat << \_LT_EOF >> "$cfgfile"
7456
 
+
7457
 
+# func_dirname file append nondir_replacement
7458
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
7459
 
+# otherwise set result to NONDIR_REPLACEMENT.
7460
 
+func_dirname ()
7461
 
+{
7462
 
+  # Extract subdirectory from the argument.
7463
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
7464
 
+  if test "X$func_dirname_result" = "X${1}"; then
7465
 
+    func_dirname_result="${3}"
7466
 
+  else
7467
 
+    func_dirname_result="$func_dirname_result${2}"
7468
 
+  fi
7469
 
+}
7470
 
+
7471
 
+# func_basename file
7472
 
+func_basename ()
7473
 
+{
7474
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
7475
 
+}
7476
 
+
7477
 
+dnl func_dirname_and_basename
7478
 
+dnl A portable version of this function is already defined in general.m4sh
7479
 
+dnl so there is no need for it here.
7480
 
+
7481
 
+# func_stripname prefix suffix name
7482
 
+# strip PREFIX and SUFFIX off of NAME.
7483
 
+# PREFIX and SUFFIX must not contain globbing or regex special
7484
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
7485
 
+# dot (in which case that matches only a dot).
7486
 
+# func_strip_suffix prefix name
7487
 
+func_stripname ()
7488
 
+{
7489
 
+  case ${2} in
7490
 
+    .*) func_stripname_result=`$ECHO "X${3}" \
7491
 
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
7492
 
+    *)  func_stripname_result=`$ECHO "X${3}" \
7493
 
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
7494
 
+  esac
7495
 
+}
7496
 
+
7497
 
+# sed scripts:
7498
 
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
7499
 
+my_sed_long_arg='1s/^-[[^=]]*=//'
7500
 
+
7501
 
+# func_opt_split
7502
 
+func_opt_split ()
7503
 
+{
7504
 
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
7505
 
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
7506
 
+}
7507
 
+
7508
 
+# func_lo2o object
7509
 
+func_lo2o ()
7510
 
+{
7511
 
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
7512
 
+}
7513
 
+
7514
 
+# func_xform libobj-or-source
7515
 
+func_xform ()
7516
 
+{
7517
 
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
7518
 
+}
7519
 
+
7520
 
+# func_arith arithmetic-term...
7521
 
+func_arith ()
7522
 
+{
7523
 
+  func_arith_result=`expr "$[@]"`
7524
 
+}
7525
 
+
7526
 
+# func_len string
7527
 
+# STRING may not start with a hyphen.
7528
 
+func_len ()
7529
 
+{
7530
 
+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
7531
 
+}
7532
 
+
7533
 
+_LT_EOF
7534
 
+esac
7535
 
+
7536
 
+case $lt_shell_append in
7537
 
+  yes)
7538
 
+    cat << \_LT_EOF >> "$cfgfile"
7539
 
+
7540
 
+# func_append var value
7541
 
+# Append VALUE to the end of shell variable VAR.
7542
 
+func_append ()
7543
 
+{
7544
 
+  eval "$[1]+=\$[2]"
7545
 
+}
7546
 
+_LT_EOF
7547
 
+    ;;
7548
 
+  *)
7549
 
+    cat << \_LT_EOF >> "$cfgfile"
7550
 
+
7551
 
+# func_append var value
7552
 
+# Append VALUE to the end of shell variable VAR.
7553
 
+func_append ()
7554
 
+{
7555
 
+  eval "$[1]=\$$[1]\$[2]"
7556
 
+}
7557
 
+
7558
 
+_LT_EOF
7559
 
+    ;;
7560
 
+  esac
7561
 
+])
7562
 
+
7563
 
+# Helper functions for option handling.                    -*- Autoconf -*-
7564
 
+#
7565
 
+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7566
 
+#   Written by Gary V. Vaughan, 2004
7567
 
+#
7568
 
+# This file is free software; the Free Software Foundation gives
7569
 
+# unlimited permission to copy and/or distribute it, with or without
7570
 
+# modifications, as long as this notice is preserved.
7571
 
+
7572
 
+# serial 6 ltoptions.m4
7573
 
+
7574
 
+# This is to help aclocal find these macros, as it can't see m4_define.
7575
 
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7576
 
+
7577
 
+
7578
 
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
7579
 
+# ------------------------------------------
7580
 
+m4_define([_LT_MANGLE_OPTION],
7581
 
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
7582
 
+
7583
 
+
7584
 
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
7585
 
+# ---------------------------------------
7586
 
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
7587
 
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
7588
 
+# saved as a flag.
7589
 
+m4_define([_LT_SET_OPTION],
7590
 
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
7591
 
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
7592
 
+        _LT_MANGLE_DEFUN([$1], [$2]),
7593
 
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
7594
 
+])
7595
 
+
7596
 
+
7597
 
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
7598
 
+# ------------------------------------------------------------
7599
 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
7600
 
+m4_define([_LT_IF_OPTION],
7601
 
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
7602
 
+
7603
 
+
7604
 
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
7605
 
+# -------------------------------------------------------
7606
 
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
7607
 
+# are set.
7608
 
+m4_define([_LT_UNLESS_OPTIONS],
7609
 
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7610
 
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
7611
 
+                     [m4_define([$0_found])])])[]dnl
7612
 
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
7613
 
+])[]dnl
7614
 
+])
7615
 
+
7616
 
+
7617
 
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
7618
 
+# ----------------------------------------
7619
 
+# OPTION-LIST is a space-separated list of Libtool options associated
7620
 
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
7621
 
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
7622
 
+# the unknown option and exit.
7623
 
+m4_defun([_LT_SET_OPTIONS],
7624
 
+[# Set options
7625
 
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7626
 
+    [_LT_SET_OPTION([$1], _LT_Option)])
7627
 
+
7628
 
+m4_if([$1],[LT_INIT],[
7629
 
+  dnl
7630
 
+  dnl Simply set some default values (i.e off) if boolean options were not
7631
 
+  dnl specified:
7632
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
7633
 
+  ])
7634
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
7635
 
+  ])
7636
 
+  dnl
7637
 
+  dnl If no reference was made to various pairs of opposing options, then
7638
 
+  dnl we run the default mode handler for the pair.  For example, if neither
7639
 
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
7640
 
+  dnl archives by default:
7641
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
7642
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
7643
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
7644
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
7645
 
+                  [_LT_ENABLE_FAST_INSTALL])
7646
 
+  ])
7647
 
+])# _LT_SET_OPTIONS
7648
 
+
7649
 
+
7650
 
+
7651
 
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
7652
 
+# -----------------------------------------
7653
 
+m4_define([_LT_MANGLE_DEFUN],
7654
 
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
7655
 
+
7656
 
+
7657
 
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
7658
 
+# -----------------------------------------------
7659
 
+m4_define([LT_OPTION_DEFINE],
7660
 
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
7661
 
+])# LT_OPTION_DEFINE
7662
 
+
7663
 
+
7664
 
+# dlopen
7665
 
+# ------
7666
 
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
7667
 
+])
7668
 
+
7669
 
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
7670
 
+[_LT_SET_OPTION([LT_INIT], [dlopen])
7671
 
+AC_DIAGNOSE([obsolete],
7672
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
7673
 
+put the `dlopen' option into LT_INIT's first parameter.])
7674
 
+])
7675
 
+
7676
 
+dnl aclocal-1.4 backwards compatibility:
7677
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
7678
 
+
7679
 
+
7680
 
+# win32-dll
7681
 
+# ---------
7682
 
+# Declare package support for building win32 dll's.
7683
 
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
7684
 
+[enable_win32_dll=yes
7685
 
+
7686
 
+case $host in
7687
 
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7688
 
+  AC_CHECK_TOOL(AS, as, false)
7689
 
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7690
 
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
7691
 
+  ;;
7692
 
+esac
7693
 
+
7694
 
+test -z "$AS" && AS=as
7695
 
+_LT_DECL([], [AS],      [0], [Assembler program])dnl
7696
 
+
7697
 
+test -z "$DLLTOOL" && DLLTOOL=dlltool
7698
 
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
7699
 
+
7700
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
7701
 
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
7702
 
+])# win32-dll
7703
 
+
7704
 
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
7705
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7706
 
+_LT_SET_OPTION([LT_INIT], [win32-dll])
7707
 
+AC_DIAGNOSE([obsolete],
7708
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
7709
 
+put the `win32-dll' option into LT_INIT's first parameter.])
7710
 
+])
7711
 
+
7712
 
+dnl aclocal-1.4 backwards compatibility:
7713
 
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
7714
 
+
7715
 
+
7716
 
+# _LT_ENABLE_SHARED([DEFAULT])
7717
 
+# ----------------------------
7718
 
+# implement the --enable-shared flag, and supports the `shared' and
7719
 
+# `disable-shared' LT_INIT options.
7720
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
7721
 
+m4_define([_LT_ENABLE_SHARED],
7722
 
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
7723
 
+AC_ARG_ENABLE([shared],
7724
 
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
7725
 
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
7726
 
+    [p=${PACKAGE-default}
7727
 
+    case $enableval in
7728
 
+    yes) enable_shared=yes ;;
7729
 
+    no) enable_shared=no ;;
7730
 
+    *)
7731
 
+      enable_shared=no
7732
 
+      # Look at the argument we got.  We use all the common list separators.
7733
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7734
 
+      for pkg in $enableval; do
7735
 
+       IFS="$lt_save_ifs"
7736
 
+       if test "X$pkg" = "X$p"; then
7737
 
+         enable_shared=yes
7738
 
+       fi
7739
 
+      done
7740
 
+      IFS="$lt_save_ifs"
7741
 
+      ;;
7742
 
+    esac],
7743
 
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
7744
 
+
7745
 
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
7746
 
+       [Whether or not to build shared libraries])
7747
 
+])# _LT_ENABLE_SHARED
7748
 
+
7749
 
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
7750
 
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
7751
 
+
7752
 
+# Old names:
7753
 
+AC_DEFUN([AC_ENABLE_SHARED],
7754
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
7755
 
+])
7756
 
+
7757
 
+AC_DEFUN([AC_DISABLE_SHARED],
7758
 
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
7759
 
+])
7760
 
+
7761
 
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7762
 
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7763
 
+
7764
 
+dnl aclocal-1.4 backwards compatibility:
7765
 
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
7766
 
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
7767
 
+
7768
 
+
7769
 
+
7770
 
+# _LT_ENABLE_STATIC([DEFAULT])
7771
 
+# ----------------------------
7772
 
+# implement the --enable-static flag, and support the `static' and
7773
 
+# `disable-static' LT_INIT options.
7774
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
7775
 
+m4_define([_LT_ENABLE_STATIC],
7776
 
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
7777
 
+AC_ARG_ENABLE([static],
7778
 
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
7779
 
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
7780
 
+    [p=${PACKAGE-default}
7781
 
+    case $enableval in
7782
 
+    yes) enable_static=yes ;;
7783
 
+    no) enable_static=no ;;
7784
 
+    *)
7785
 
+     enable_static=no
7786
 
+      # Look at the argument we got.  We use all the common list separators.
7787
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7788
 
+      for pkg in $enableval; do
7789
 
+       IFS="$lt_save_ifs"
7790
 
+       if test "X$pkg" = "X$p"; then
7791
 
+         enable_static=yes
7792
 
+       fi
7793
 
+      done
7794
 
+      IFS="$lt_save_ifs"
7795
 
+      ;;
7796
 
+    esac],
7797
 
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
7798
 
+
7799
 
+    _LT_DECL([build_old_libs], [enable_static], [0],
7800
 
+       [Whether or not to build static libraries])
7801
 
+])# _LT_ENABLE_STATIC
7802
 
+
7803
 
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
7804
 
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
7805
 
+
7806
 
+# Old names:
7807
 
+AC_DEFUN([AC_ENABLE_STATIC],
7808
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
7809
 
+])
7810
 
+
7811
 
+AC_DEFUN([AC_DISABLE_STATIC],
7812
 
+[_LT_SET_OPTION([LT_INIT], [disable-static])
7813
 
+])
7814
 
+
7815
 
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7816
 
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7817
 
+
7818
 
+dnl aclocal-1.4 backwards compatibility:
7819
 
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
7820
 
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
7821
 
+
7822
 
+
7823
 
+
7824
 
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
7825
 
+# ----------------------------------
7826
 
+# implement the --enable-fast-install flag, and support the `fast-install'
7827
 
+# and `disable-fast-install' LT_INIT options.
7828
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
7829
 
+m4_define([_LT_ENABLE_FAST_INSTALL],
7830
 
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
7831
 
+AC_ARG_ENABLE([fast-install],
7832
 
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
7833
 
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
7834
 
+    [p=${PACKAGE-default}
7835
 
+    case $enableval in
7836
 
+    yes) enable_fast_install=yes ;;
7837
 
+    no) enable_fast_install=no ;;
7838
 
+    *)
7839
 
+      enable_fast_install=no
7840
 
+      # Look at the argument we got.  We use all the common list separators.
7841
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7842
 
+      for pkg in $enableval; do
7843
 
+       IFS="$lt_save_ifs"
7844
 
+       if test "X$pkg" = "X$p"; then
7845
 
+         enable_fast_install=yes
7846
 
+       fi
7847
 
+      done
7848
 
+      IFS="$lt_save_ifs"
7849
 
+      ;;
7850
 
+    esac],
7851
 
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
7852
 
+
7853
 
+_LT_DECL([fast_install], [enable_fast_install], [0],
7854
 
+        [Whether or not to optimize for fast installation])dnl
7855
 
+])# _LT_ENABLE_FAST_INSTALL
7856
 
+
7857
 
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
7858
 
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
7859
 
+
7860
 
+# Old names:
7861
 
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
7862
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
7863
 
+AC_DIAGNOSE([obsolete],
7864
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
7865
 
+the `fast-install' option into LT_INIT's first parameter.])
7866
 
+])
7867
 
+
7868
 
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
7869
 
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
7870
 
+AC_DIAGNOSE([obsolete],
7871
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
7872
 
+the `disable-fast-install' option into LT_INIT's first parameter.])
7873
 
+])
7874
 
+
7875
 
+dnl aclocal-1.4 backwards compatibility:
7876
 
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
7877
 
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
7878
 
+
7879
 
+
7880
 
+# _LT_WITH_PIC([MODE])
7881
 
+# --------------------
7882
 
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
7883
 
+# LT_INIT options.
7884
 
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
7885
 
+m4_define([_LT_WITH_PIC],
7886
 
+[AC_ARG_WITH([pic],
7887
 
+    [AS_HELP_STRING([--with-pic],
7888
 
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
7889
 
+    [pic_mode="$withval"],
7890
 
+    [pic_mode=default])
7891
 
+
7892
 
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
7893
 
+
7894
 
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
7895
 
+])# _LT_WITH_PIC
7896
 
+
7897
 
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
7898
 
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
7899
 
+
7900
 
+# Old name:
7901
 
+AU_DEFUN([AC_LIBTOOL_PICMODE],
7902
 
+[_LT_SET_OPTION([LT_INIT], [pic-only])
7903
 
+AC_DIAGNOSE([obsolete],
7904
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
7905
 
+put the `pic-only' option into LT_INIT's first parameter.])
7906
 
+])
7907
 
+
7908
 
+dnl aclocal-1.4 backwards compatibility:
7909
 
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
7910
 
+
7911
 
+
7912
 
+m4_define([_LTDL_MODE], [])
7913
 
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
7914
 
+                [m4_define([_LTDL_MODE], [nonrecursive])])
7915
 
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
7916
 
+                [m4_define([_LTDL_MODE], [recursive])])
7917
 
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
7918
 
+                [m4_define([_LTDL_MODE], [subproject])])
7919
 
+
7920
 
+m4_define([_LTDL_TYPE], [])
7921
 
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
7922
 
+                [m4_define([_LTDL_TYPE], [installable])])
7923
 
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
7924
 
+                [m4_define([_LTDL_TYPE], [convenience])])
7925
 
+
7926
 
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
7927
 
+#
7928
 
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7929
 
+# Written by Gary V. Vaughan, 2004
7930
 
+#
7931
 
+# This file is free software; the Free Software Foundation gives
7932
 
+# unlimited permission to copy and/or distribute it, with or without
7933
 
+# modifications, as long as this notice is preserved.
7934
 
+
7935
 
+# serial 6 ltsugar.m4
7936
 
+
7937
 
+# This is to help aclocal find these macros, as it can't see m4_define.
7938
 
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
7939
 
+
7940
 
+
7941
 
+# lt_join(SEP, ARG1, [ARG2...])
7942
 
+# -----------------------------
7943
 
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
7944
 
+# associated separator.
7945
 
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
7946
 
+# versions in m4sugar had bugs.
7947
 
+m4_define([lt_join],
7948
 
+[m4_if([$#], [1], [],
7949
 
+       [$#], [2], [[$2]],
7950
 
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
7951
 
+m4_define([_lt_join],
7952
 
+[m4_if([$#$2], [2], [],
7953
 
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
7954
 
+
7955
 
+
7956
 
+# lt_car(LIST)
7957
 
+# lt_cdr(LIST)
7958
 
+# ------------
7959
 
+# Manipulate m4 lists.
7960
 
+# These macros are necessary as long as will still need to support
7961
 
+# Autoconf-2.59 which quotes differently.
7962
 
+m4_define([lt_car], [[$1]])
7963
 
+m4_define([lt_cdr],
7964
 
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
7965
 
+       [$#], 1, [],
7966
 
+       [m4_dquote(m4_shift($@))])])
7967
 
+m4_define([lt_unquote], $1)
7968
 
+
7969
 
+
7970
 
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
7971
 
+# ------------------------------------------
7972
 
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
7973
 
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
7974
 
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
7975
 
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
7976
 
+# than defined and empty).
7977
 
+#
7978
 
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
7979
 
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
7980
 
+m4_define([lt_append],
7981
 
+[m4_define([$1],
7982
 
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
7983
 
+
7984
 
+
7985
 
+
7986
 
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
7987
 
+# ----------------------------------------------------------
7988
 
+# Produce a SEP delimited list of all paired combinations of elements of
7989
 
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
7990
 
+# has the form PREFIXmINFIXSUFFIXn.
7991
 
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
7992
 
+m4_define([lt_combine],
7993
 
+[m4_if(m4_eval([$# > 3]), [1],
7994
 
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
7995
 
+[[m4_foreach([_Lt_prefix], [$2],
7996
 
+            [m4_foreach([_Lt_suffix],
7997
 
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
7998
 
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
7999
 
+
8000
 
+
8001
 
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8002
 
+# -----------------------------------------------------------------------
8003
 
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
8004
 
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
8005
 
+m4_define([lt_if_append_uniq],
8006
 
+[m4_ifdef([$1],
8007
 
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8008
 
+                [lt_append([$1], [$2], [$3])$4],
8009
 
+                [$5])],
8010
 
+         [lt_append([$1], [$2], [$3])$4])])
8011
 
+
8012
 
+
8013
 
+# lt_dict_add(DICT, KEY, VALUE)
8014
 
+# -----------------------------
8015
 
+m4_define([lt_dict_add],
8016
 
+[m4_define([$1($2)], [$3])])
8017
 
+
8018
 
+
8019
 
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
8020
 
+# --------------------------------------------
8021
 
+m4_define([lt_dict_add_subkey],
8022
 
+[m4_define([$1($2:$3)], [$4])])
8023
 
+
8024
 
+
8025
 
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
8026
 
+# ----------------------------------
8027
 
+m4_define([lt_dict_fetch],
8028
 
+[m4_ifval([$3],
8029
 
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
8030
 
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
8031
 
+
8032
 
+
8033
 
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
8034
 
+# -----------------------------------------------------------------
8035
 
+m4_define([lt_if_dict_fetch],
8036
 
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
8037
 
+       [$5],
8038
 
+    [$6])])
8039
 
+
8040
 
+
8041
 
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
8042
 
+# --------------------------------------------------------------
8043
 
+m4_define([lt_dict_filter],
8044
 
+[m4_if([$5], [], [],
8045
 
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
8046
 
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
8047
 
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
8048
 
+])
8049
 
+
8050
 
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-
8051
 
+#
8052
 
+#   Copyright (C) 2004 Free Software Foundation, Inc.
8053
 
+#   Written by Scott James Remnant, 2004
8054
 
+#
8055
 
+# This file is free software; the Free Software Foundation gives
8056
 
+# unlimited permission to copy and/or distribute it, with or without
8057
 
+# modifications, as long as this notice is preserved.
8058
 
+
8059
 
+# Generated from ltversion.in.
8060
 
+
8061
 
+# serial 3012 ltversion.m4
8062
 
+# This file is part of GNU Libtool
8063
 
+
8064
 
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
8065
 
+m4_define([LT_PACKAGE_REVISION], [1.3012])
8066
 
+
8067
 
+AC_DEFUN([LTVERSION_VERSION],
8068
 
+[macro_version='2.2.6'
8069
 
+macro_revision='1.3012'
8070
 
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8071
 
+_LT_DECL(, macro_revision, 0)
8072
 
+])
8073
 
+
8074
 
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
8075
 
+#
8076
 
+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8077
 
+#   Written by Scott James Remnant, 2004.
8078
 
+#
8079
 
+# This file is free software; the Free Software Foundation gives
8080
 
+# unlimited permission to copy and/or distribute it, with or without
8081
 
+# modifications, as long as this notice is preserved.
8082
 
+
8083
 
+# serial 4 lt~obsolete.m4
8084
 
+
8085
 
+# These exist entirely to fool aclocal when bootstrapping libtool.
8086
 
+#
8087
 
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
8088
 
+# which have later been changed to m4_define as they aren't part of the
8089
 
+# exported API, or moved to Autoconf or Automake where they belong.
8090
 
+#
8091
 
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
8092
 
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
8093
 
+# using a macro with the same name in our local m4/libtool.m4 it'll
8094
 
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
8095
 
+# and doesn't know about Autoconf macros at all.)
8096
 
+#
8097
 
+# So we provide this file, which has a silly filename so it's always
8098
 
+# included after everything else.  This provides aclocal with the
8099
 
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
8100
 
+# because those macros already exist, or will be overwritten later.
8101
 
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
8102
 
+#
8103
 
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
8104
 
+# Yes, that means every name once taken will need to remain here until
8105
 
+# we give up compatibility with versions before 1.7, at which point
8106
 
+# we need to keep only those names which we still refer to.
8107
 
+
8108
 
+# This is to help aclocal find these macros, as it can't see m4_define.
8109
 
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
8110
 
+
8111
 
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
8112
 
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
8113
 
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
8114
 
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
8115
 
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
8116
 
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
8117
 
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
8118
 
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
8119
 
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
8120
 
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
8121
 
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
8122
 
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
8123
 
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
8124
 
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
8125
 
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
8126
 
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
8127
 
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
8128
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
8129
 
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
8130
 
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
8131
 
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
8132
 
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
8133
 
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
8134
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
8135
 
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
8136
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
8137
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
8138
 
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
8139
 
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
8140
 
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
8141
 
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
8142
 
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
8143
 
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
8144
 
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
8145
 
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
8146
 
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
8147
 
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
8148
 
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
8149
 
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
8150
 
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
8151
 
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
8152
 
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
8153
 
+m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
8154
 
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
8155
 
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
8156
 
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
8157
 
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
8158
 
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
8159
 
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
8160
 
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
8161
 
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
8162
 
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
8163
 
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
8164
 
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
8165
 
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
8166
 
+
8167
 
 # nls.m4 serial 3 (gettext-0.15)
8168
 
 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
8169
 
 dnl This file is free software; the Free Software Foundation
8170
 
@@ -1731,9 +9890,3 @@
8171
 
 AC_SUBST([am__untar])
8172
 
 ]) # _AM_PROG_TAR
8173
 
 
8174
 
-m4_include([m4/intltool.m4])
8175
 
-m4_include([m4/libtool.m4])
8176
 
-m4_include([m4/ltoptions.m4])
8177
 
-m4_include([m4/ltsugar.m4])
8178
 
-m4_include([m4/ltversion.m4])
8179
 
-m4_include([m4/lt~obsolete.m4])
8180
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/configure indicator-session-0.1.4.new/configure
8181
 
--- indicator-session-0.1.4/configure   2009-09-17 17:59:26.000000000 +0200
8182
 
+++ indicator-session-0.1.4.new/configure       2009-09-22 09:14:30.122662467 +0200
8183
 
@@ -8705,10 +8705,6 @@
8184
 
 $RM -r conftest*
8185
 
 
8186
 
 
8187
 
-## CAVEAT EMPTOR:
8188
 
-## There is no encapsulation within the following macros, do not change
8189
 
-## the running order or otherwise move them around unless you know exactly
8190
 
-## what you are doing...
8191
 
 if test -n "$compiler"; then
8192
 
 
8193
 
 lt_prog_compiler_no_builtin_flag=
8194
 
@@ -8734,11 +8730,11 @@
8195
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8196
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8197
 
    -e 's:$: $lt_compiler_flag:'`
8198
 
-   (eval echo "\"\$as_me:8737: $lt_compile\"" >&5)
8199
 
+   (eval echo "\"\$as_me:8733: $lt_compile\"" >&5)
8200
 
    (eval "$lt_compile" 2>conftest.err)
8201
 
    ac_status=$?
8202
 
    cat conftest.err >&5
8203
 
-   echo "$as_me:8741: \$? = $ac_status" >&5
8204
 
+   echo "$as_me:8737: \$? = $ac_status" >&5
8205
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
8206
 
      # The compiler can only warn and ignore the option if not recognized
8207
 
      # So say no if there are warnings other than the usual output.
8208
 
@@ -9073,11 +9069,11 @@
8209
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8210
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8211
 
    -e 's:$: $lt_compiler_flag:'`
8212
 
-   (eval echo "\"\$as_me:9076: $lt_compile\"" >&5)
8213
 
+   (eval echo "\"\$as_me:9072: $lt_compile\"" >&5)
8214
 
    (eval "$lt_compile" 2>conftest.err)
8215
 
    ac_status=$?
8216
 
    cat conftest.err >&5
8217
 
-   echo "$as_me:9080: \$? = $ac_status" >&5
8218
 
+   echo "$as_me:9076: \$? = $ac_status" >&5
8219
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
8220
 
      # The compiler can only warn and ignore the option if not recognized
8221
 
      # So say no if there are warnings other than the usual output.
8222
 
@@ -9178,11 +9174,11 @@
8223
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8224
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8225
 
    -e 's:$: $lt_compiler_flag:'`
8226
 
-   (eval echo "\"\$as_me:9181: $lt_compile\"" >&5)
8227
 
+   (eval echo "\"\$as_me:9177: $lt_compile\"" >&5)
8228
 
    (eval "$lt_compile" 2>out/conftest.err)
8229
 
    ac_status=$?
8230
 
    cat out/conftest.err >&5
8231
 
-   echo "$as_me:9185: \$? = $ac_status" >&5
8232
 
+   echo "$as_me:9181: \$? = $ac_status" >&5
8233
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8234
 
    then
8235
 
      # The compiler can only warn and ignore the option if not recognized
8236
 
@@ -9233,11 +9229,11 @@
8237
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8238
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8239
 
    -e 's:$: $lt_compiler_flag:'`
8240
 
-   (eval echo "\"\$as_me:9236: $lt_compile\"" >&5)
8241
 
+   (eval echo "\"\$as_me:9232: $lt_compile\"" >&5)
8242
 
    (eval "$lt_compile" 2>out/conftest.err)
8243
 
    ac_status=$?
8244
 
    cat out/conftest.err >&5
8245
 
-   echo "$as_me:9240: \$? = $ac_status" >&5
8246
 
+   echo "$as_me:9236: \$? = $ac_status" >&5
8247
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8248
 
    then
8249
 
      # The compiler can only warn and ignore the option if not recognized
8250
 
@@ -11616,7 +11612,7 @@
8251
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8252
 
   lt_status=$lt_dlunknown
8253
 
   cat > conftest.$ac_ext <<_LT_EOF
8254
 
-#line 11619 "configure"
8255
 
+#line 11615 "configure"
8256
 
 #include "confdefs.h"
8257
 
 
8258
 
 #if HAVE_DLFCN_H
8259
 
@@ -11712,7 +11708,7 @@
8260
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8261
 
   lt_status=$lt_dlunknown
8262
 
   cat > conftest.$ac_ext <<_LT_EOF
8263
 
-#line 11715 "configure"
8264
 
+#line 11711 "configure"
8265
 
 #include "confdefs.h"
8266
 
 
8267
 
 #if HAVE_DLFCN_H
8268
 
@@ -11963,6 +11959,7 @@
8269
 
 GTK_REQUIRED_VERSION=2.12
8270
 
 INDICATOR_REQUIRED_VERSION=0.2.0
8271
 
 DBUSMENUGTK_REQUIRED_VERSION=0.1.1
8272
 
+POLKIT_REQUIRED_VERSION=0.92
8273
 
 
8274
 
 
8275
 
 
8276
 
@@ -12486,14 +12483,14 @@
8277
 
     else
8278
 
         if test -n "$PKG_CONFIG" && \
8279
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
8280
 
-                                   polkit-gnome\""; } >&5
8281
 
+                                   polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
8282
 
   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8283
 
-                                   polkit-gnome") 2>&5
8284
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
8285
 
   ac_status=$?
8286
 
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8287
 
   test $ac_status = 0; }; then
8288
 
   pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8289
 
-                                   polkit-gnome" 2>/dev/null`
8290
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
8291
 
 else
8292
 
   pkg_failed=yes
8293
 
 fi
8294
 
@@ -12507,14 +12504,14 @@
8295
 
     else
8296
 
         if test -n "$PKG_CONFIG" && \
8297
 
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
8298
 
-                                   polkit-gnome\""; } >&5
8299
 
+                                   polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
8300
 
   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8301
 
-                                   polkit-gnome") 2>&5
8302
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
8303
 
   ac_status=$?
8304
 
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8305
 
   test $ac_status = 0; }; then
8306
 
   pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8307
 
-                                   polkit-gnome" 2>/dev/null`
8308
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
8309
 
 else
8310
 
   pkg_failed=yes
8311
 
 fi
8312
 
@@ -12534,16 +12531,16 @@
8313
 
 fi
8314
 
         if test $_pkg_short_errors_supported = yes; then
8315
 
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8316
 
-                                   polkit-gnome"`
8317
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION"`
8318
 
         else
8319
 
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8320
 
-                                   polkit-gnome"`
8321
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION"`
8322
 
         fi
8323
 
        # Put the nasty error message in config.log where it belongs
8324
 
        echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
8325
 
 
8326
 
        as_fn_error "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
8327
 
-                                   polkit-gnome) were not met:
8328
 
+                                   polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) were not met:
8329
 
 
8330
 
 $GTKLOGOUTHELPER_PKG_ERRORS
8331
 
 
8332
 
@@ -12578,6 +12575,7 @@
8333
 
 
8334
 
 
8335
 
 
8336
 
+
8337
 
 # Extract the first word of "gconftool-2", so it can be a program name with args.
8338
 
 set dummy gconftool-2; ac_word=$2
8339
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8340
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/16x16/actions/Makefile.in indicator-session-0.1.4.new/data/icons/16x16/actions/Makefile.in
8341
 
--- indicator-session-0.1.4/data/icons/16x16/actions/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8342
 
+++ indicator-session-0.1.4.new/data/icons/16x16/actions/Makefile.in    2009-09-22 09:14:31.778662680 +0200
8343
 
@@ -37,10 +37,7 @@
8344
 
 subdir = data/icons/16x16/actions
8345
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8346
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8347
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8348
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8349
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8350
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8351
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8352
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8353
 
        $(ACLOCAL_M4)
8354
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8355
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/16x16/Makefile.in indicator-session-0.1.4.new/data/icons/16x16/Makefile.in
8356
 
--- indicator-session-0.1.4/data/icons/16x16/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8357
 
+++ indicator-session-0.1.4.new/data/icons/16x16/Makefile.in    2009-09-22 09:14:31.674662935 +0200
8358
 
@@ -36,10 +36,7 @@
8359
 
 subdir = data/icons/16x16
8360
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8361
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8362
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8363
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8364
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8365
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8366
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8367
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8368
 
        $(ACLOCAL_M4)
8369
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8370
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/16x16/status/Makefile.in indicator-session-0.1.4.new/data/icons/16x16/status/Makefile.in
8371
 
--- indicator-session-0.1.4/data/icons/16x16/status/Makefile.in 2009-09-17 17:59:27.000000000 +0200
8372
 
+++ indicator-session-0.1.4.new/data/icons/16x16/status/Makefile.in     2009-09-22 09:14:31.882662903 +0200
8373
 
@@ -37,10 +37,7 @@
8374
 
 subdir = data/icons/16x16/status
8375
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8376
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8377
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8378
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8379
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8380
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8381
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8382
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8383
 
        $(ACLOCAL_M4)
8384
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8385
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/22x22/actions/Makefile.in indicator-session-0.1.4.new/data/icons/22x22/actions/Makefile.in
8386
 
--- indicator-session-0.1.4/data/icons/22x22/actions/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8387
 
+++ indicator-session-0.1.4.new/data/icons/22x22/actions/Makefile.in    2009-09-22 09:14:32.090662380 +0200
8388
 
@@ -37,10 +37,7 @@
8389
 
 subdir = data/icons/22x22/actions
8390
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8391
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8392
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8393
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8394
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8395
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8396
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8397
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8398
 
        $(ACLOCAL_M4)
8399
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8400
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/22x22/Makefile.in indicator-session-0.1.4.new/data/icons/22x22/Makefile.in
8401
 
--- indicator-session-0.1.4/data/icons/22x22/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8402
 
+++ indicator-session-0.1.4.new/data/icons/22x22/Makefile.in    2009-09-22 09:14:31.986662635 +0200
8403
 
@@ -36,10 +36,7 @@
8404
 
 subdir = data/icons/22x22
8405
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8406
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8407
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8408
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8409
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8410
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8411
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8412
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8413
 
        $(ACLOCAL_M4)
8414
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8415
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/22x22/status/Makefile.in indicator-session-0.1.4.new/data/icons/22x22/status/Makefile.in
8416
 
--- indicator-session-0.1.4/data/icons/22x22/status/Makefile.in 2009-09-17 17:59:27.000000000 +0200
8417
 
+++ indicator-session-0.1.4.new/data/icons/22x22/status/Makefile.in     2009-09-22 09:14:32.194662894 +0200
8418
 
@@ -37,10 +37,7 @@
8419
 
 subdir = data/icons/22x22/status
8420
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8421
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8422
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8423
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8424
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8425
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8426
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8427
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8428
 
        $(ACLOCAL_M4)
8429
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8430
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/24x24/actions/Makefile.in indicator-session-0.1.4.new/data/icons/24x24/actions/Makefile.in
8431
 
--- indicator-session-0.1.4/data/icons/24x24/actions/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8432
 
+++ indicator-session-0.1.4.new/data/icons/24x24/actions/Makefile.in    2009-09-22 09:14:32.406662947 +0200
8433
 
@@ -37,10 +37,7 @@
8434
 
 subdir = data/icons/24x24/actions
8435
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8436
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8437
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8438
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8439
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8440
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8441
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8442
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8443
 
        $(ACLOCAL_M4)
8444
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8445
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/24x24/Makefile.in indicator-session-0.1.4.new/data/icons/24x24/Makefile.in
8446
 
--- indicator-session-0.1.4/data/icons/24x24/Makefile.in        2009-09-17 17:59:27.000000000 +0200
8447
 
+++ indicator-session-0.1.4.new/data/icons/24x24/Makefile.in    2009-09-22 09:14:32.298662777 +0200
8448
 
@@ -36,10 +36,7 @@
8449
 
 subdir = data/icons/24x24
8450
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8451
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8452
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8453
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8454
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8455
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8456
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8457
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8458
 
        $(ACLOCAL_M4)
8459
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8460
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/24x24/status/Makefile.in indicator-session-0.1.4.new/data/icons/24x24/status/Makefile.in
8461
 
--- indicator-session-0.1.4/data/icons/24x24/status/Makefile.in 2009-09-17 17:59:28.000000000 +0200
8462
 
+++ indicator-session-0.1.4.new/data/icons/24x24/status/Makefile.in     2009-09-22 09:14:32.510662614 +0200
8463
 
@@ -37,10 +37,7 @@
8464
 
 subdir = data/icons/24x24/status
8465
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8466
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8467
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8468
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8469
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8470
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8471
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8472
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8473
 
        $(ACLOCAL_M4)
8474
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8475
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/32x32/actions/Makefile.in indicator-session-0.1.4.new/data/icons/32x32/actions/Makefile.in
8476
 
--- indicator-session-0.1.4/data/icons/32x32/actions/Makefile.in        2009-09-17 17:59:28.000000000 +0200
8477
 
+++ indicator-session-0.1.4.new/data/icons/32x32/actions/Makefile.in    2009-09-22 09:14:32.718662455 +0200
8478
 
@@ -37,10 +37,7 @@
8479
 
 subdir = data/icons/32x32/actions
8480
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8481
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8482
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8483
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8484
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8485
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8486
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8487
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8488
 
        $(ACLOCAL_M4)
8489
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8490
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/32x32/Makefile.in indicator-session-0.1.4.new/data/icons/32x32/Makefile.in
8491
 
--- indicator-session-0.1.4/data/icons/32x32/Makefile.in        2009-09-17 17:59:28.000000000 +0200
8492
 
+++ indicator-session-0.1.4.new/data/icons/32x32/Makefile.in    2009-09-22 09:14:32.614662567 +0200
8493
 
@@ -36,10 +36,7 @@
8494
 
 subdir = data/icons/32x32
8495
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8496
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8497
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8498
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8499
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8500
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8501
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8502
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8503
 
        $(ACLOCAL_M4)
8504
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8505
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/32x32/status/Makefile.in indicator-session-0.1.4.new/data/icons/32x32/status/Makefile.in
8506
 
--- indicator-session-0.1.4/data/icons/32x32/status/Makefile.in 2009-09-17 17:59:28.000000000 +0200
8507
 
+++ indicator-session-0.1.4.new/data/icons/32x32/status/Makefile.in     2009-09-22 09:14:32.822662475 +0200
8508
 
@@ -37,10 +37,7 @@
8509
 
 subdir = data/icons/32x32/status
8510
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8511
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8512
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8513
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8514
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8515
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8516
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8517
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8518
 
        $(ACLOCAL_M4)
8519
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8520
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/48x48/Makefile.in indicator-session-0.1.4.new/data/icons/48x48/Makefile.in
8521
 
--- indicator-session-0.1.4/data/icons/48x48/Makefile.in        2009-09-17 17:59:28.000000000 +0200
8522
 
+++ indicator-session-0.1.4.new/data/icons/48x48/Makefile.in    2009-09-22 09:14:32.926664928 +0200
8523
 
@@ -36,10 +36,7 @@
8524
 
 subdir = data/icons/48x48
8525
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8526
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8527
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8528
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8529
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8530
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8531
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8532
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8533
 
        $(ACLOCAL_M4)
8534
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8535
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/48x48/status/Makefile.in indicator-session-0.1.4.new/data/icons/48x48/status/Makefile.in
8536
 
--- indicator-session-0.1.4/data/icons/48x48/status/Makefile.in 2009-09-17 17:59:28.000000000 +0200
8537
 
+++ indicator-session-0.1.4.new/data/icons/48x48/status/Makefile.in     2009-09-22 09:14:33.030664948 +0200
8538
 
@@ -37,10 +37,7 @@
8539
 
 subdir = data/icons/48x48/status
8540
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8541
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8542
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8543
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8544
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8545
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8546
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8547
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8548
 
        $(ACLOCAL_M4)
8549
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8550
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/Makefile.in indicator-session-0.1.4.new/data/icons/Makefile.in
8551
 
--- indicator-session-0.1.4/data/icons/Makefile.in      2009-09-17 17:59:28.000000000 +0200
8552
 
+++ indicator-session-0.1.4.new/data/icons/Makefile.in  2009-09-22 09:14:33.138662824 +0200
8553
 
@@ -36,10 +36,7 @@
8554
 
 subdir = data/icons
8555
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8556
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8557
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8558
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8559
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8560
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8561
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8562
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8563
 
        $(ACLOCAL_M4)
8564
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8565
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/scalable/actions/Makefile.in indicator-session-0.1.4.new/data/icons/scalable/actions/Makefile.in
8566
 
--- indicator-session-0.1.4/data/icons/scalable/actions/Makefile.in     2009-09-17 17:59:28.000000000 +0200
8567
 
+++ indicator-session-0.1.4.new/data/icons/scalable/actions/Makefile.in 2009-09-22 09:14:33.346662660 +0200
8568
 
@@ -37,10 +37,7 @@
8569
 
 subdir = data/icons/scalable/actions
8570
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8571
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8572
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8573
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8574
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8575
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8576
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8577
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8578
 
        $(ACLOCAL_M4)
8579
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8580
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/scalable/Makefile.in indicator-session-0.1.4.new/data/icons/scalable/Makefile.in
8581
 
--- indicator-session-0.1.4/data/icons/scalable/Makefile.in     2009-09-17 17:59:28.000000000 +0200
8582
 
+++ indicator-session-0.1.4.new/data/icons/scalable/Makefile.in 2009-09-22 09:14:33.242662783 +0200
8583
 
@@ -36,10 +36,7 @@
8584
 
 subdir = data/icons/scalable
8585
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8586
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8587
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8588
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8589
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8590
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8591
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8592
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8593
 
        $(ACLOCAL_M4)
8594
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8595
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/icons/scalable/status/Makefile.in indicator-session-0.1.4.new/data/icons/scalable/status/Makefile.in
8596
 
--- indicator-session-0.1.4/data/icons/scalable/status/Makefile.in      2009-09-17 17:59:28.000000000 +0200
8597
 
+++ indicator-session-0.1.4.new/data/icons/scalable/status/Makefile.in  2009-09-22 09:14:33.450662670 +0200
8598
 
@@ -37,10 +37,7 @@
8599
 
 subdir = data/icons/scalable/status
8600
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8601
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8602
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8603
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8604
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8605
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8606
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8607
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8608
 
        $(ACLOCAL_M4)
8609
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8610
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/data/Makefile.in indicator-session-0.1.4.new/data/Makefile.in
8611
 
--- indicator-session-0.1.4/data/Makefile.in    2009-09-17 17:59:27.000000000 +0200
8612
 
+++ indicator-session-0.1.4.new/data/Makefile.in        2009-09-22 09:14:31.570662770 +0200
8613
 
@@ -37,10 +37,7 @@
8614
 
 subdir = data
8615
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8616
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8617
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8618
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8619
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8620
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8621
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8622
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8623
 
        $(ACLOCAL_M4)
8624
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8625
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/Makefile.in indicator-session-0.1.4.new/Makefile.in
8626
 
--- indicator-session-0.1.4/Makefile.in 2009-09-17 17:59:29.000000000 +0200
8627
 
+++ indicator-session-0.1.4.new/Makefile.in     2009-09-22 09:14:34.002662575 +0200
8628
 
@@ -40,10 +40,7 @@
8629
 
        compile config.guess config.sub depcomp install-sh ltmain.sh \
8630
 
        missing mkinstalldirs
8631
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8632
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8633
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8634
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8635
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8636
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8637
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8638
 
        $(ACLOCAL_M4)
8639
 
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
8640
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/src/gtk-dialog/Makefile.in indicator-session-0.1.4.new/src/gtk-dialog/Makefile.in
8641
 
--- indicator-session-0.1.4/src/gtk-dialog/Makefile.in  2009-09-17 17:59:28.000000000 +0200
8642
 
+++ indicator-session-0.1.4.new/src/gtk-dialog/Makefile.in      2009-09-22 09:14:33.886682268 +0200
8643
 
@@ -38,10 +38,7 @@
8644
 
 subdir = src/gtk-dialog
8645
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8646
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8647
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8648
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8649
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8650
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8651
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8652
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8653
 
        $(ACLOCAL_M4)
8654
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8655
 
diff -Nur -x '*.orig' -x '*~' indicator-session-0.1.4/src/Makefile.in indicator-session-0.1.4.new/src/Makefile.in
8656
 
--- indicator-session-0.1.4/src/Makefile.in     2009-09-17 17:59:28.000000000 +0200
8657
 
+++ indicator-session-0.1.4.new/src/Makefile.in 2009-09-22 09:14:33.714662714 +0200
8658
 
@@ -41,10 +41,7 @@
8659
 
 subdir = src
8660
 
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
8661
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8662
 
-am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
8663
 
-       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
8664
 
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
8665
 
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
8666
 
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
8667
 
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8668
 
        $(ACLOCAL_M4)
8669
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs