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
9
+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
10
+# serial 40 IT_PROG_INTLTOOL
11
+AC_DEFUN([IT_PROG_INTLTOOL], [
13
+AC_REQUIRE([AM_NLS])dnl
15
+case "$am__api_version" in
17
+ AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
23
+if test -n "$1"; then
24
+ AC_MSG_CHECKING([for intltool >= $1])
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; }'`
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.])
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.])
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 $< [$]@'
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)
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])
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])
97
+AC_PATH_PROG(INTLTOOL_PERL, perl)
98
+if test -z "$INTLTOOL_PERL"; then
99
+ AC_MSG_ERROR([perl not found])
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])
106
+ IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
107
+ AC_MSG_RESULT([$IT_PERL_VERSION])
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])
114
+ AC_MSG_ERROR([XML::Parser perl module is required for intltool])
118
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
119
+AC_SUBST(ALL_LINGUAS)
121
+# Set DATADIRNAME correctly if it is not set yet
122
+# (copied from glib-gettext.m4)
123
+if test -z "$DATADIRNAME"; then
125
+ [AC_LANG_PROGRAM([[]],
126
+ [[extern int _nl_msg_cat_cntr;
127
+ return _nl_msg_cat_cntr]])],
128
+ [DATADIRNAME=share],
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
136
+ AC_CHECK_FUNC(bind_textdomain_codeset,
137
+ [DATADIRNAME=share], [DATADIRNAME=lib])
144
+AC_SUBST(DATADIRNAME)
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.
156
+AC_DEFUN([IT_PO_SUBDIR],
157
+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
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.])
166
+ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
171
+ '"s|^| $ac_top_srcdir/|" \
172
+ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
174
+ [sed '/^POTFILES =/,/[^\\]$/ {
178
+ ' "$1/Makefile.in" >"$1/Makefile"]
179
+ rm -f "$1/Makefile.tmp"
180
+ mv "$1/stamp-it.tmp" "$1/stamp-it"
185
+# _IT_SUBST(VARIABLE)
186
+# -------------------
187
+# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
189
+AC_DEFUN([_IT_SUBST],
192
+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
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], ...)
202
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
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
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.
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
217
+# This file is part of GNU Libtool.
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.
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.
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.
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.
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,
250
+ [m4_fatal([Libtool version $1 or higher is required],
255
+# _LT_CHECK_BUILDDIR
256
+# ------------------
257
+# Complain if the absolute build directory name contains unusual characters
258
+m4_defun([_LT_CHECK_BUILDDIR],
261
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
266
+# LT_INIT([OPTIONS])
267
+# ------------------
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
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
287
+_LT_SET_OPTIONS([$0], [$1])
289
+# This can be used to rebuild libtool when needed
290
+LIBTOOL_DEPS="$ltmain"
292
+# Always use our own libtool.
293
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
294
+AC_SUBST(LIBTOOL)dnl
299
+m4_define([LT_INIT])
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], [])
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
316
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
317
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
322
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
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],
334
+])# _LT_FILEUTILS_DEFAULTS
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
346
+_LT_DECL([], [build_alias], [0], [The build system])dnl
347
+_LT_DECL([], [build], [0])dnl
348
+_LT_DECL([], [build_os], [0])dnl
350
+AC_REQUIRE([AC_PROG_CC])dnl
351
+AC_REQUIRE([LT_PATH_LD])dnl
352
+AC_REQUIRE([LT_PATH_NM])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
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
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
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
376
+if test -n "${ZSH_VERSION+set}" ; then
377
+ setopt NO_GLOB_SUBST
382
+m4_require([_LT_TAG_COMPILER])dnl
383
+_LT_PROG_ECHO_BACKSLASH
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
392
+ export COLLECT_NAMES
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'
401
+# Same as above, but do not quote variable references.
402
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
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'
408
+# Sed substitution to delay expansion of an escaped single quote.
409
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
411
+# Sed substitution to avoid accidental globbing in evaled expressions
412
+no_glob_subst='s/\*/\\\*/g'
416
+can_build_shared=yes
418
+# All known linkers require a `.a' archive for static linking (except MSVC,
419
+# which needs '.lib').
422
+with_gnu_ld="$lt_cv_prog_gnu_ld"
425
+old_CFLAGS="$CFLAGS"
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
434
+_LT_CC_BASENAME([$compiler])
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
440
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
446
+# Use C for the default configuration in the libtool script
447
+LT_SUPPORTED_TAG([CC])
449
+_LT_LANG_DEFAULT_CONFIG
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"
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'
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],
479
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
484
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
487
+# _LT_CONFIG_LIBTOOL([COMMANDS])
488
+# ------------------------------
489
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
490
+m4_define([_LT_CONFIG_LIBTOOL],
492
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
497
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
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])
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],
514
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
515
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
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])
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])])])
540
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
541
+# --------------------------------------------------------
542
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
545
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
546
+# ------------------------------------------------
547
+m4_define([lt_decl_tag_varnames],
548
+[_lt_decl_filter([tagged?], [yes], $@)])
551
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
552
+# ---------------------------------------------------------
553
+m4_define([_lt_decl_filter],
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
563
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
564
+# --------------------------------------------------
565
+m4_define([lt_decl_quote_varnames],
566
+[_lt_decl_filter([value], [1], $@)])
569
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
570
+# ---------------------------------------------------
571
+m4_define([lt_decl_dquote_varnames],
572
+[_lt_decl_filter([value], [2], $@)])
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)])])
586
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
587
+# ------------------------------------------------
588
+m4_define([lt_decl_all_varnames],
589
+[_$0(m4_quote(m4_default([$1], [[, ]])),
591
+ m4_quote(lt_decl_varnames),
592
+ m4_quote(m4_shift($@))))[]dnl
594
+m4_define([_lt_decl_all_varnames],
595
+[lt_join($@, lt_decl_varnames_tagged([$1],
596
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
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"`'])
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:
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)])])])
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
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:
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
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)])])])
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])])])])
671
+# _LT_TAGVAR(VARNAME, [TAGNAME])
672
+# ------------------------------
673
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
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
700
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
703
+# The HP-UX ksh and POSIX shell print the target directory to stdout
705
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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
712
+LTCFLAGS='$LTCFLAGS'
713
+compiler='$compiler_DEFAULT'
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\\"\\\`\\\\\\""
723
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
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\\"\\\`\\\\\\""
736
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
741
+# Fix-up fallback echo if it was mangled by the above quoting rules.
743
+*'\\\[$]0 --fallback-echo"')dnl "
744
+ lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
748
+_LT_OUTPUT_LIBTOOL_INIT
754
+# This macro allows early generation of the libtool script (before
755
+# AC_OUTPUT is called), incase it is used in configure for compilation
757
+AC_DEFUN([LT_OUTPUT],
758
+[: ${CONFIG_LT=./config.lt}
759
+AC_MSG_NOTICE([creating $CONFIG_LT])
760
+cat >"$CONFIG_LT" <<_LTEOF
762
+# Generated by $as_me.
763
+# Run this file to recreate a libtool stub with the current configuration.
766
+SHELL=\${CONFIG_SHELL-$SHELL}
769
+cat >>"$CONFIG_LT" <<\_LTEOF
773
+exec AS_MESSAGE_FD>&1
774
+exec AS_MESSAGE_LOG_FD>>config.log
777
+ AS_BOX([Running $as_me.])
778
+} >&AS_MESSAGE_LOG_FD
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
785
+Usage: $[0] [[OPTIONS]]
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
792
+Report bugs to <bug-libtool@gnu.org>."
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.
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."
803
+while test $[#] != 0
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 )
812
+ --quiet | --q* | --silent | --s* | -q )
815
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
816
+Try \`$[0] --help' for more information.]) ;;
818
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
819
+Try \`$[0] --help' for more information.]) ;;
824
+if $lt_cl_silent; then
825
+ exec AS_MESSAGE_FD>/dev/null
829
+cat >>"$CONFIG_LT" <<_LTEOF
830
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
833
+cat >>"$CONFIG_LT" <<\_LTEOF
834
+AC_MSG_NOTICE([creating $ofile])
835
+_LT_OUTPUT_LIBTOOL_COMMANDS
838
+chmod +x "$CONFIG_LT"
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
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)
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
873
+ cfgfile="${ofile}T"
874
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
877
+ cat <<_LT_EOF >> "$cfgfile"
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.
888
+# ### BEGIN LIBTOOL CONFIG
889
+_LT_LIBTOOL_CONFIG_VARS
890
+_LT_LIBTOOL_TAG_VARS
891
+# ### END LIBTOOL CONFIG
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
903
+ export COLLECT_NAMES
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)
918
+ _LT_PROG_XSI_SHELLFNS
920
+ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
921
+ || (rm -f "$cfgfile"; exit 1)
923
+ mv -f "$cfgfile" "$ofile" ||
924
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
927
+[cat <<_LT_EOF >> "$ofile"
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
940
+ TIMESTAMP='$TIMESTAMP'
942
+ ofile='$ofile'], [])
943
+])dnl /_LT_CONFIG_SAVE_COMMANDS
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], [])
955
+# C support is built-in for now
956
+m4_define([_LT_LANG_C_enabled], [])
957
+m4_define([_LT_TAGS], [])
962
+# Enable libtool support for the given language if not already enabled.
964
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
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],
974
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
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
989
+# _LT_LANG_DEFAULT_CONFIG
990
+# -----------------------
991
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
992
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
994
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
996
+AC_PROVIDE_IFELSE([AC_PROG_F77],
998
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
1000
+AC_PROVIDE_IFELSE([AC_PROG_FC],
1002
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
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],
1008
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1010
+ [AC_PROVIDE_IFELSE([LT_PROG_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)])])])])])
1019
+AC_PROVIDE_IFELSE([LT_PROG_RC],
1021
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
1022
+])# _LT_LANG_DEFAULT_CONFIG
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], [])
1038
+m4_defun([_LT_TAG_COMPILER],
1039
+[AC_REQUIRE([AC_PROG_CC])dnl
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
1046
+# If no C compiler was specified, use CC.
1049
+# If no C compiler flags were specified, use CFLAGS.
1050
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1052
+# Allow CC to be a program name with arguments.
1054
+])# _LT_TAG_COMPILER
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`
1068
+])# _LT_COMPILER_BOILERPLATE
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`
1082
+])# _LT_LINKER_BOILERPLATE
1084
+# _LT_REQUIRED_DARWIN_CHECKS
1085
+# -------------------------
1086
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
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])
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
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
1119
+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1120
+ lt_cv_apple_cc_single_mod=yes
1122
+ cat conftest.err >&AS_MESSAGE_LOG_FD
1124
+ rm -rf libconftest.dylib*
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"
1139
+ rhapsody* | darwin1.[[012]])
1140
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
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' ;;
1151
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1153
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1157
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1158
+ _lt_dar_single_mod='$single_module'
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'
1163
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1165
+ if test "$DSYMUTIL" != ":"; then
1166
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
1175
+# _LT_DARWIN_LINKER_FEATURES
1176
+# --------------------------
1177
+# Checks for linker and compiler features on darwin
1178
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
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 ;;
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}"
1205
+ _LT_TAGVAR(ld_shlibs, $1)=no
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/,/^$/ {
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"`
1232
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1233
+])# _LT_SYS_MODULE_PATH_AIX
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)])
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],
1253
+# Check that we are running under the correct shell.
1254
+SHELL=${CONFIG_SHELL-/bin/sh}
1258
+ # Remove one level of quotation (which was required for Make).
1259
+ ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1263
+ECHO=${lt_ECHO-echo}
1264
+if test "X[$]1" = X--no-reexec; then
1265
+ # Discard the --no-reexec flag, and continue.
1267
+elif test "X[$]1" = X--fallback-echo; then
1268
+ # Avoid inline document here, it may be left over
1270
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1271
+ # Yippee, $ECHO works!
1274
+ # Restart under the correct shell.
1275
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1278
+if test "X[$]1" = X--fallback-echo; then
1279
+ # used as fallback echo
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
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
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
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'
1313
+ # So, first we look for a working echo in the user's PATH.
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
1326
+ IFS="$lt_save_ifs"
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.
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+"[$]@"}
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
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"
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"
1366
+ # maybe with a smaller string...
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
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+"[$]@"}
1382
+ # Oops. We lost completely, so just stick with echo.
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.
1394
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1395
+ lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
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
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
1414
+# Some flags need to be propagated to the compiler or linker for good
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
1423
+ HPUX_IA64_MODE="32"
1426
+ HPUX_IA64_MODE="64"
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
1439
+ LD="${LD-ld} -melf32bsmip"
1442
+ LD="${LD-ld} -melf32bmipn32"
1445
+ LD="${LD-ld} -melf64bmip"
1449
+ case `/usr/bin/file conftest.$ac_objext` in
1454
+ LD="${LD-ld} -n32"
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
1473
+ x86_64-*kfreebsd*-gnu)
1474
+ LD="${LD-ld} -m elf_i386_fbsd"
1477
+ LD="${LD-ld} -m elf_i386"
1479
+ ppc64-*linux*|powerpc64-*linux*)
1480
+ LD="${LD-ld} -m elf32ppclinux"
1483
+ LD="${LD-ld} -m elf_s390"
1486
+ LD="${LD-ld} -m elf32_sparc"
1492
+ x86_64-*kfreebsd*-gnu)
1493
+ LD="${LD-ld} -m elf_x86_64_fbsd"
1496
+ LD="${LD-ld} -m elf_x86_64"
1498
+ ppc*-*linux*|powerpc*-*linux*)
1499
+ LD="${LD-ld} -m elf64ppc"
1501
+ s390*-*linux*|s390*-*tpf*)
1502
+ LD="${LD-ld} -m elf64_s390"
1505
+ LD="${LD-ld} -m elf64_sparc"
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,
1520
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
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"
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
1533
+ case $lt_cv_prog_gnu_ld in
1534
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
1536
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1548
+need_locks="$enable_libtool_lock"
1549
+])# _LT_ENABLE_LOCK
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])
1561
+AC_CHECK_TOOL(STRIP, strip, :)
1562
+test -z "$STRIP" && STRIP=:
1563
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
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])
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=
1575
+if test -n "$RANLIB"; then
1578
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1581
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1584
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
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
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],
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)
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
1631
+if test x"[$]$2" = xyes; then
1632
+ m4_if([$5], , :, [$5])
1634
+ m4_if([$6], , :, [$6])
1636
+])# _LT_COMPILER_OPTION
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], [])
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],
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
1672
+ LDFLAGS="$save_LDFLAGS"
1675
+if test x"[$]$2" = xyes; then
1676
+ m4_if([$4], , :, [$4])
1678
+ m4_if([$5], , :, [$5])
1680
+])# _LT_LINKER_OPTION
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], [])
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
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
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;
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;
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;
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`
1738
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
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`
1746
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
1747
+ lt_cv_sys_max_cmd_len=196608
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
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 ;;
1764
+ lt_cv_sys_max_cmd_len=102400
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/.*[[ ]]//'`
1771
+ lt_cv_sys_max_cmd_len=32768
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`
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
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
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
1794
+ teststring=$teststring$teststring
1796
+ # Only check the string length outside the loop.
1797
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
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`
1807
+if test -n $lt_cv_sys_max_cmd_len ; then
1808
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1810
+ AC_MSG_RESULT(none)
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?])
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], [])
1825
+m4_defun([_LT_HEADER_DLFCN],
1826
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1827
+])# _LT_HEADER_DLFCN
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 :
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"
1851
+# define LT_DLGLOBAL RTLD_GLOBAL
1854
+# define LT_DLGLOBAL DL_GLOBAL
1856
+# define LT_DLGLOBAL 0
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
1864
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
1867
+# define LT_DLLAZY_OR_NOW DL_LAZY
1870
+# define LT_DLLAZY_OR_NOW RTLD_NOW
1873
+# define LT_DLLAZY_OR_NOW DL_NOW
1875
+# define LT_DLLAZY_OR_NOW 0
1882
+void fnord() { int i=42;}
1885
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1886
+ int status = $lt_dlunknown;
1890
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1891
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1892
+ /* dlclose (self); */
1895
+ puts (dlerror ());
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
1903
+ case x$lt_status in
1904
+ x$lt_dlno_uscore) $1 ;;
1905
+ x$lt_dlneed_uscore) $2 ;;
1906
+ x$lt_dlunknown|x*) $3 ;;
1909
+ # compilation failed
1914
+])# _LT_TRY_DLOPEN_SELF
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
1927
+ lt_cv_dlopen_libs=
1931
+ lt_cv_dlopen="load_add_on"
1932
+ lt_cv_dlopen_libs=
1933
+ lt_cv_dlopen_self=yes
1936
+ mingw* | pw32* | cegcc*)
1937
+ lt_cv_dlopen="LoadLibrary"
1938
+ lt_cv_dlopen_libs=
1942
+ lt_cv_dlopen="dlopen"
1943
+ lt_cv_dlopen_libs=
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
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"])
1977
+ if test "x$lt_cv_dlopen" != xno; then
1983
+ case $lt_cv_dlopen in
1985
+ save_CPPFLAGS="$CPPFLAGS"
1986
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1988
+ save_LDFLAGS="$LDFLAGS"
1989
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1992
+ LIBS="$lt_cv_dlopen_libs $LIBS"
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)
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)
2011
+ CPPFLAGS="$save_CPPFLAGS"
2012
+ LDFLAGS="$save_LDFLAGS"
2017
+ case $lt_cv_dlopen_self in
2018
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2019
+ *) enable_dlopen_self=unknown ;;
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 ;;
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
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], [])
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
2056
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
2082
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
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
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
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])
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])
2111
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
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])
2123
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2124
+])# _LT_COMPILER_FILE_LOCKS
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
2136
+ # MS-DOS does not allow filenames that begin with a dot.
2137
+ lt_cv_objdir=_libs
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
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
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
2169
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
2170
+ _LT_TAGVAR(hardcode_action, $1)=immediate
2173
+ # We cannot hardcode anything, or else we can only hardcode existing
2175
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
2177
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
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
2188
+_LT_TAGDECL([], [hardcode_action], [0],
2189
+ [How to hardcode a shared library path into an executable])
2190
+])# _LT_LINKER_HARDCODE_LIBPATH
2195
+m4_defun([_LT_CMD_STRIPLIB],
2196
+[m4_require([_LT_DECL_EGREP])
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])
2205
+# FIXME - insert some real tests, host_os isn't really good enough
2208
+ if test -n "$STRIP" ; then
2209
+ striplib="$STRIP -x"
2210
+ old_striplib="$STRIP -S"
2211
+ AC_MSG_RESULT([yes])
2213
+ AC_MSG_RESULT([no])
2217
+ AC_MSG_RESULT([no])
2221
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2222
+_LT_DECL([], [striplib], [1])
2223
+])# _LT_CMD_STRIPLIB
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])
2238
+if test "$GCC" = yes; then
2240
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2241
+ *) lt_awk_arg="/^libraries:/" ;;
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'`
2251
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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"
2261
+ test -d "$lt_sys_path" && \
2262
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2265
+ lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
2266
+BEGIN {RS=" "; FS="/|\n";} {
2269
+ for (lt_i = NF; lt_i > 0; lt_i--) {
2270
+ if ($lt_i != "" && $lt_i != ".") {
2271
+ if ($lt_i == "..") {
2274
+ if (lt_count == 0) {
2275
+ lt_foo="/" $lt_i lt_foo;
2282
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2283
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2285
+ sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
2287
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2289
+library_names_spec=
2290
+libname_spec='lib$name'
2294
+postuninstall_cmds=
2298
+shlibpath_overrides_runpath=unknown
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
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
2311
+ version_type=linux
2312
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2313
+ shlibpath_var=LIBPATH
2315
+ # AIX 3 has no versioning support, so we append a major version to the name.
2316
+ soname_spec='${libname}${release}${shared_ext}$major'
2320
+ version_type=linux
2321
+ need_lib_prefix=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
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.
2335
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
2336
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2338
+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
2341
+ can_build_shared=no
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}'
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'
2359
+ shlibpath_var=LIBPATH
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}'
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'
2379
+ library_names_spec='${libname}${shared_ext}'
2380
+ dynamic_linker="$host_os ld.so"
2381
+ shlibpath_var=LIBRARY_PATH
2385
+ version_type=linux
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
2398
+cygwin* | mingw* | pw32* | cegcc*)
2399
+ version_type=windows
2400
+ shrext_cmds=".dll"
2402
+ need_lib_prefix=no
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 \$?;
2417
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2418
+ dlpath=$dir/\$dldll~
2420
+ shlibpath_overrides_runpath=yes
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"
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'`
2441
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
2452
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2455
+ dynamic_linker='Win32 ld.exe'
2456
+ # FIXME: first we should search . and the directory the executable is in
2457
+ shlibpath_var=PATH
2460
+darwin* | rhapsody*)
2461
+ dynamic_linker="$host_os dyld"
2462
+ version_type=darwin
2463
+ need_lib_prefix=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`'
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'
2476
+ version_type=linux
2477
+ need_lib_prefix=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
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`
2495
+ freebsd[[123]]*) objformat=aout ;;
2496
+ *) objformat=elf ;;
2499
+ version_type=freebsd-$objformat
2500
+ case $version_type in
2502
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2504
+ need_lib_prefix=no
2507
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2511
+ shlibpath_var=LD_LIBRARY_PATH
2514
+ shlibpath_overrides_runpath=yes
2516
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2517
+ shlibpath_overrides_runpath=yes
2518
+ hardcode_into_libs=yes
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
2525
+ *) # from 4.6 on, and DragonFly
2526
+ shlibpath_overrides_runpath=yes
2527
+ hardcode_into_libs=yes
2533
+ version_type=linux
2534
+ need_lib_prefix=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
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
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"
2560
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2562
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
2584
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
2585
+ postinstall_cmds='chmod 555 $lib'
2589
+ version_type=linux
2590
+ need_lib_prefix=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
2600
+irix5* | irix6* | nonstopux*)
2602
+ nonstopux*) version_type=nonstopux ;;
2604
+ if test "$lt_cv_prog_gnu_ld" = yes; then
2605
+ version_type=linux
2610
+ need_lib_prefix=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}'
2615
+ irix5* | nonstopux*)
2616
+ libsuff= shlibsuff=
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;;
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
2637
+# No shared lib support for Linux oldld, aout, or coff.
2638
+linux*oldld* | linux*aout* | linux*coff*)
2642
+# This must be Linux ELF.
2643
+linux* | k*bsd*-gnu)
2644
+ version_type=linux
2645
+ need_lib_prefix=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
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
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"
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'
2684
+ version_type=linux
2685
+ need_lib_prefix=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'
2696
+ version_type=sunos
2697
+ need_lib_prefix=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'
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'
2708
+ shlibpath_var=LD_LIBRARY_PATH
2709
+ shlibpath_overrides_runpath=yes
2710
+ hardcode_into_libs=yes
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
2722
+ need_lib_prefix=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'
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.
2738
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2739
+ *) need_version=no ;;
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
2746
+ openbsd2.[[89]] | openbsd2.[[89]].*)
2747
+ shlibpath_overrides_runpath=no
2750
+ shlibpath_overrides_runpath=yes
2754
+ shlibpath_overrides_runpath=yes
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
2767
+osf3* | osf4* | osf5*)
2769
+ need_lib_prefix=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"
2783
+ version_type=linux
2784
+ need_lib_prefix=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'
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
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
2814
+ shlibpath_overrides_runpath=no
2815
+ need_lib_prefix=no
2816
+ runpath_var=LD_RUN_PATH
2819
+ need_lib_prefix=no
2822
+ need_lib_prefix=no
2824
+ shlibpath_overrides_runpath=no
2825
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
2839
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2840
+ version_type=freebsd-elf
2841
+ need_lib_prefix=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'
2851
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
2854
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
2858
+ sys_lib_dlsearch_path_spec='/usr/lib'
2862
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
2863
+ version_type=linux
2864
+ need_lib_prefix=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
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
2883
+AC_MSG_RESULT([$dynamic_linker])
2884
+test "$dynamic_linker" = no && can_build_shared=no
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"
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"
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"
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
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
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.
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
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
2965
+ cat <<_LT_EOF 1>&2
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
2983
+ IFS="$lt_save_ifs"
2984
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
2987
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2988
+if test -n "$MAGIC_CMD"; then
2989
+ AC_MSG_RESULT($MAGIC_CMD)
2993
+_LT_DECL([], [MAGIC_CMD], [0],
2994
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2995
+])# _LT_PATH_TOOL_PREFIX
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], [])
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)
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
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
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])
3040
+ # gcc leaves a trailing carriage return which upsets mingw
3041
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3043
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
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%/%"`
3054
+ test -z "$LD" && LD="$ac_prog"
3057
+ # If it fails, then pretend we aren't using GCC.
3061
+ # If it is relative, then search for the first ld in PATH.
3062
+ with_gnu_ld=unknown
3065
+elif test "$with_gnu_ld" = yes; then
3066
+ AC_MSG_CHECKING([for GNU ld])
3068
+ AC_MSG_CHECKING([for non-GNU ld])
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
3086
+ test "$with_gnu_ld" != yes && break
3091
+ IFS="$lt_save_ifs"
3093
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
3095
+LD="$lt_cv_path_LD"
3096
+if test -n "$LD"; then
3097
+ AC_MSG_RESULT($LD)
3101
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3105
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
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], [])
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
3126
+ lt_cv_prog_gnu_ld=no
3129
+with_gnu_ld=$lt_cv_prog_gnu_ld
3130
+])# _LT_PATH_LD_GNU
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
3144
+*) reload_flag=" $reload_flag" ;;
3146
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
3149
+ if test "$GCC" = yes; then
3150
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3152
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
3156
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3157
+_LT_DECL([], [reload_cmds], [2])dnl
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.
3186
+ lt_cv_deplibs_check_method=pass_all
3190
+ lt_cv_deplibs_check_method=pass_all
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
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'
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'
3213
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3214
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
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'
3224
+darwin* | rhapsody*)
3225
+ lt_cv_deplibs_check_method=pass_all
3228
+freebsd* | dragonfly*)
3229
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
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.*`
3240
+ lt_cv_deplibs_check_method=pass_all
3245
+ lt_cv_deplibs_check_method=pass_all
3248
+hpux10.20* | hpux11*)
3249
+ lt_cv_file_magic_cmd=/usr/bin/file
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
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
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
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)$'
3271
+irix5* | irix6* | nonstopux*)
3273
+ *-32|*"-32 ") libmagic=32-bit;;
3274
+ *-n32|*"-n32 ") libmagic=N32;;
3275
+ *-64|*"-64 ") libmagic=64-bit;;
3276
+ *) libmagic=never-match;;
3278
+ lt_cv_deplibs_check_method=pass_all
3281
+# This must be Linux ELF.
3282
+linux* | k*bsd*-gnu)
3283
+ lt_cv_deplibs_check_method=pass_all
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)$'
3290
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
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
3301
+ lt_cv_deplibs_check_method=pass_all
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)$'
3308
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3312
+osf3* | osf4* | osf5*)
3313
+ lt_cv_deplibs_check_method=pass_all
3317
+ lt_cv_deplibs_check_method=pass_all
3321
+ lt_cv_deplibs_check_method=pass_all
3324
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3325
+ lt_cv_deplibs_check_method=pass_all
3329
+ case $host_vendor in
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*`
3335
+ lt_cv_deplibs_check_method=pass_all
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 )'
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
3347
+ lt_cv_deplibs_check_method=pass_all
3350
+ lt_cv_deplibs_check_method=pass_all
3356
+ lt_cv_deplibs_check_method=pass_all
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
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
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"
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"
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"
3402
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3404
+ lt_cv_path_NM="$tmp_nm -p"
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
3416
+ IFS="$lt_save_ifs"
3418
+ : ${lt_cv_path_NM=no}
3420
+if test "$lt_cv_path_NM" != "no"; then
3421
+ NM="$lt_cv_path_NM"
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
3430
+test -z "$NM" && NM=nm
3432
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
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"
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], [])
3461
+# check for math library
3462
+AC_DEFUN([LT_LIB_M],
3463
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3466
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3467
+ # These system don't have libm, or don't need it
3470
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3471
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3474
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
3481
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
3482
+dnl aclocal-1.4 backwards compatibility:
3483
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
3486
+# _LT_COMPILER_NO_RTTI([TAGNAME])
3487
+# -------------------------------
3488
+m4_defun([_LT_COMPILER_NO_RTTI],
3489
+[m4_require([_LT_TAG_COMPILER])dnl
3491
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3493
+if test "$GCC" = yes; then
3494
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
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"])
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
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
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],
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?!! ;)]
3524
+# Character class describing NM global symbol codes.
3525
+symcode='[[BCDEGRST]]'
3527
+# Regexp to match symbols that can be accessed directly from C.
3528
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3530
+# Define system-specific variables.
3533
+ symcode='[[BCDT]]'
3535
+cygwin* | mingw* | pw32* | cegcc*)
3536
+ symcode='[[ABCDGISTW]]'
3539
+ if test "$host_cpu" = ia64; then
3540
+ symcode='[[ABCDEGRST]]'
3543
+irix* | nonstopux*)
3544
+ symcode='[[BCDEGRST]]'
3547
+ symcode='[[BCDEGQRST]]'
3550
+ symcode='[[BDRT]]'
3558
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
3559
+ symcode='[[ABDT]]'
3562
+ symcode='[[DFNSTU]]'
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]]' ;;
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'"
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'"
3581
+# Handle CRLF in mingw tool chain
3585
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3589
+# Try without a prefix underscore, then with it.
3590
+for ac_symprfx in "" "_"; do
3592
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3593
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
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]"
3613
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3616
+ # Check to see that the pipe works correctly.
3620
+ cat > conftest.$ac_ext <<_LT_EOF
3625
+void nm_test_func(void);
3626
+void nm_test_func(void){}
3630
+int main(){nm_test_var='a';nm_test_func();return(0);}
3633
+ if AC_TRY_EVAL(ac_compile); then
3634
+ # Now try to grab the symbols.
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"
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
3653
+ # Now generate the symbol file.
3654
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
3656
+ cat <<_LT_EOF >> conftest.$ac_ext
3658
+/* The mapping between symbol names and symbols. */
3663
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
3665
+ { "@PROGRAM@", (void *) 0 },
3667
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
3668
+ cat <<\_LT_EOF >> conftest.$ac_ext
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;
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
3692
+ LIBS="$lt_save_LIBS"
3693
+ CFLAGS="$lt_save_CFLAGS"
3695
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3698
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
3701
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3704
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
3705
+ cat conftest.$ac_ext >&5
3707
+ rm -rf conftest* conftst*
3709
+ # Do not use the global_symbol_pipe unless it works.
3710
+ if test "$pipe_works" = yes; then
3713
+ lt_cv_sys_global_symbol_pipe=
3717
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
3718
+ lt_cv_sys_global_symbol_to_cdecl=
3720
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
3721
+ AC_MSG_RESULT(failed)
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
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)=
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'
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'
3766
+ # see comment about AmigaOS4 .so support
3767
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3770
+ # FIXME: we need at least 68020 code to build shared libraries, but
3771
+ # adding the `-m68020' flag to GCC prevents building anything better,
3773
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3778
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3779
+ # PIC is the default for these OSes.
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'])
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'
3795
+ # DJGPP does not support shared libraries at all
3796
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
3799
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3800
+ # Instead, we relocate shared libraries at runtime.
3803
+ if test -d /usr/nec; then
3804
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
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.
3815
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
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'
3825
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
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'
3836
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3840
+ case $cc_basename in
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"
3848
+ case $cc_basename in
3850
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3853
+ # Green Hills C++ Compiler
3854
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3860
+ freebsd* | dragonfly*)
3861
+ # FreeBSD uses GNU C++
3863
+ hpux9* | hpux10* | hpux11*)
3864
+ case $cc_basename in
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'
3873
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3874
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3880
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3889
+ # This is c89, which is MS Visual C++ (no shared libs)
3890
+ # Anyone wants to do a port?
3892
+ irix5* | irix6* | nonstopux*)
3893
+ case $cc_basename in
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.
3903
+ linux* | k*bsd*-gnu)
3904
+ case $cc_basename in
3906
+ # KAI C++ Compiler
3907
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3908
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
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'
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'
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'
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'
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'
3943
+ case `$CC -V 2>&1 | sed 5q` in
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 '
3959
+ case $cc_basename in
3961
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3967
+ netbsd* | netbsdelf*-gnu)
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'
3974
+ osf3* | osf4* | osf5*)
3975
+ case $cc_basename in
3977
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3980
+ # Rational C++ 2.4.1
3981
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
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'
3998
+ case $cc_basename in
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 '
4006
+ # Green Hills C++ Compiler
4007
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4014
+ case $cc_basename in
4017
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4018
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4022
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4028
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4029
+ case $cc_basename in
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'
4038
+ case $cc_basename in
4040
+ # NonStop-UX NCC 3.20
4041
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4050
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4056
+ if test "$GCC" = yes; then
4057
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4058
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
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'
4072
+ # see comment about AmigaOS4 .so support
4073
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4076
+ # FIXME: we need at least 68020 code to build shared libraries, but
4077
+ # adding the `-m68020' flag to GCC prevents building anything better,
4079
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4084
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4085
+ # PIC is the default for these OSes.
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'])
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'
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.
4112
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4118
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4119
+ # Instead, we relocate shared libraries at runtime.
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
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'
4136
+ if test -d /usr/nec; then
4137
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4142
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4146
+ # PORTME Check for flag to pass linker flags through the system compiler.
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'
4154
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
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'])
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.
4174
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
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'
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'
4187
+ linux* | k*bsd*-gnu)
4188
+ case $cc_basename in
4189
+ # old Intel for x86_64 which still supported -KPIC.
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'
4195
+ # icc used to be incompatible with GCC.
4196
+ # ICC 10 doesn't accept -KPIC any more.
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'
4202
+ # Lahey Fortran 8.1.
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'
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'
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'
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'
4227
+ case `$CC -V 2>&1 | sed 5q` in
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,'
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)=''
4246
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4247
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
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'
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'
4263
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
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 ';;
4273
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
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'
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'
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'
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'
4303
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4304
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4308
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4309
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4313
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4319
+ # For platforms which do not support PIC, -DPIC is meaningless:
4321
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
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],[])])"
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])
4332
+# Check to make sure the PIC flag actually works.
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
4340
+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4342
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4343
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4345
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4346
+ [Additional compiler flags for building library objects])
4349
+# Check to make sure the static flag actually works.
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,
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
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'
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'
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'
4387
+ _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
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'
4392
+ linux* | k*bsd*-gnu)
4393
+ _LT_TAGVAR(link_all_deplibs, $1)=no
4396
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4399
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
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=
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
4453
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
4459
+ linux* | k*bsd*-gnu)
4460
+ _LT_TAGVAR(link_all_deplibs, $1)=no
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
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'
4479
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
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 ;;
4490
+ # See if GNU ld supports shared libraries.
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
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.
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)=''
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
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'
4530
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
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;
4550
+ echo EXPORTS > $output_objdir/$soname.def;
4551
+ cat $export_symbols >> $output_objdir/$soname.def;
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'
4555
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
4574
+ gnu* | linux* | tpf* | k*bsd*-gnu)
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)
4581
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
4582
+ && test "$tmp_diet" = no
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'
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'
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' ;;
4615
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
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'
4624
+ case $cc_basename in
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'
4640
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
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'
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
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.
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'
4671
+ _LT_TAGVAR(ld_shlibs, $1)=no
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
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.
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'
4700
+ _LT_TAGVAR(ld_shlibs, $1)=no
4707
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4709
+ _LT_TAGVAR(hardcode_direct, $1)=yes
4710
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
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'
4718
+ _LT_TAGVAR(ld_shlibs, $1)=no
4723
+ if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
4725
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4726
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4727
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
4730
+ # PORTME fill in a description of your system's linker (not GNU ld)
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
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'
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'
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'
4761
+ aix_use_runtimelinking=no
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
4776
+ exp_sym_flag='-bexport'
4777
+ no_entry_flag='-bnoentry'
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.
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,'
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
4801
+ # We have reworked collect2
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)=
4815
+ shared_flag='-shared'
4816
+ if test "$aix_use_runtimelinking" = yes; then
4817
+ shared_flag="$shared_flag "'${wl}-G'
4819
+ _LT_TAGVAR(link_all_deplibs, $1)=no
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:
4827
+ if test "$aix_use_runtimelinking" = yes; then
4828
+ shared_flag='${wl}-G'
4830
+ shared_flag='${wl}-bM:SRE'
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"
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"
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'
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)=''
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
4887
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
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.
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
4911
+ darwin* | rhapsody*)
4912
+ _LT_DARWIN_LINKER_FEATURES($1)
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
4922
+ _LT_TAGVAR(ld_shlibs, $1)=no
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
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
4936
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
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
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
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'
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'
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
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'
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'
4972
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
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
4988
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4991
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4994
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4997
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5003
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5006
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5009
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
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)=:
5019
+ _LT_TAGVAR(hardcode_direct, $1)=no
5020
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
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'
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
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'
5046
+ LDFLAGS="$save_LDFLAGS"
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'
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
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
5062
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
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
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
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'
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'
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'
5103
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
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'
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'
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)=:
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'
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'
5139
+ # Both c and cxx compiler support -rpath directly
5140
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5142
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5143
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5147
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5148
+ if test "$GCC" = yes; then
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'
5154
+ case `$CC -V 2>&1` in
5155
+ *"Compilers 5.0"*)
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'
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'
5169
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5170
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5172
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
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'
5181
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5185
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
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'
5194
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
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
5203
+ case $host_vendor in
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???
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
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
5220
+ runpath_var='LD_RUN_PATH'
5221
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
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'
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
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'
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'
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'
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
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'
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'
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'
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
5288
+ _LT_TAGVAR(ld_shlibs, $1)=no
5292
+ if test x$host_vendor = xsni; then
5294
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5295
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
5301
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
5302
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5304
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
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])
5312
+# Do we need to explicitly link libc?
5314
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
5316
+ # Assume -lc should be added
5317
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5319
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
5320
+ case $_LT_TAGVAR(archive_cmds, $1) in
5322
+ # FIXME: we may have to deal with multi-command sequences.
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])
5330
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5332
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5335
+ libobjs=conftest.$ac_objext
5337
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5338
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
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)
5348
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5350
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5352
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5354
+ cat conftest.err 1>&5
5357
+ AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
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
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
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
5452
+# Source file extension for C test sources.
5455
+# Object file extension for compiled C test sources.
5457
+_LT_TAGVAR(objext, $1)=$objext
5459
+# Code to be used in simple compile tests
5460
+lt_simple_compile_test_code="int some_variable = 0;"
5462
+# Code to be used in simple link tests
5463
+lt_simple_link_test_code='int main(){return(0);}'
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
5470
+# save warnings/boilerplate of simple test code
5471
+_LT_COMPILER_BOILERPLATE
5472
+_LT_LINKER_BOILERPLATE
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
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])
5489
+ AC_MSG_CHECKING([whether to build shared libraries])
5490
+ test "$can_build_shared" = "no" && enable_shared=no
5492
+ # On AIX, shared libraries and static libraries use the same namespace, and
5493
+ # are all built from PIC.
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'
5504
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5505
+ test "$enable_shared" = yes && enable_static=no
5509
+ AC_MSG_RESULT([$enable_shared])
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])
5520
+])# _LT_LANG_C_CONFIG
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],
5529
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
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
5536
+ _lt_caught_CXX_error=yes
5538
+popdef([AC_MSG_ERROR])
5541
+dnl aclocal-1.4 backwards compatibility:
5542
+dnl AC_DEFUN([_LT_PROG_CXX], [])
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
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
5579
+# Source file extension for C++ test sources.
5582
+# Object file extension for compiled C++ test sources.
5584
+_LT_TAGVAR(objext, $1)=$objext
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;"
5594
+ # Code to be used in simple link tests
5595
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
5597
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
5600
+ # save warnings/boilerplate of simple test code
5601
+ _LT_COMPILER_BOILERPLATE
5602
+ _LT_LINKER_BOILERPLATE
5604
+ # Allow CC to be a program name with arguments.
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
5614
+ $as_unset lt_cv_prog_gnu_ld
5616
+ if test -n "${lt_cv_path_LDCXX+set}"; then
5617
+ lt_cv_path_LD=$lt_cv_path_LDCXX
5619
+ $as_unset lt_cv_path_LD
5621
+ test -z "${LDCXX+set}" || LD=$LDCXX
5624
+ _LT_TAGVAR(compiler, $1)=$CC
5625
+ _LT_CC_BASENAME([$compiler])
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'
5633
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5636
+ if test "$GXX" = yes; then
5637
+ # Set up default GNU C++ configuration
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'
5647
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5648
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
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)
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'
5660
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
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'
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"'
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
5690
+ # FIXME: insert proper C++ library support
5691
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
5701
+ aix_use_runtimelinking=no
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
5710
+ aix_use_runtimelinking=yes
5718
+ exp_sym_flag='-bexport'
5719
+ no_entry_flag='-bnoentry'
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.
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,'
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
5743
+ # We have reworked collect2
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)=
5756
+ shared_flag='-shared'
5757
+ if test "$aix_use_runtimelinking" = yes; then
5758
+ shared_flag="$shared_flag "'${wl}-G'
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:
5767
+ if test "$aix_use_runtimelinking" = yes; then
5768
+ shared_flag='${wl}-G'
5770
+ shared_flag='${wl}-bM:SRE'
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
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
5786
+ _LT_SYS_MODULE_PATH_AIX
5787
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
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"
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"
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
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'
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'
5821
+ _LT_TAGVAR(ld_shlibs, $1)=no
5826
+ case $cc_basename in
5828
+ # FIXME: insert proper C++ library support
5829
+ _LT_TAGVAR(ld_shlibs, $1)=no
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
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;
5849
+ echo EXPORTS > $output_objdir/$soname.def;
5850
+ cat $export_symbols >> $output_objdir/$soname.def;
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'
5854
+ _LT_TAGVAR(ld_shlibs, $1)=no
5857
+ darwin* | rhapsody*)
5858
+ _LT_DARWIN_LINKER_FEATURES($1)
5862
+ case $cc_basename in
5864
+ # FIXME: insert proper C++ library support
5865
+ _LT_TAGVAR(ld_shlibs, $1)=no
5868
+ # Green Hills C++ Compiler
5869
+ # FIXME: insert proper C++ library support
5870
+ _LT_TAGVAR(ld_shlibs, $1)=no
5873
+ # FIXME: insert proper C++ library support
5874
+ _LT_TAGVAR(ld_shlibs, $1)=no
5880
+ # C++ shared libraries reported to be fairly broken before
5882
+ _LT_TAGVAR(ld_shlibs, $1)=no
5886
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5889
+ freebsd* | dragonfly*)
5890
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
5892
+ _LT_TAGVAR(ld_shlibs, $1)=yes
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.
5907
+ case $cc_basename in
5909
+ # FIXME: insert proper C++ library support
5910
+ _LT_TAGVAR(ld_shlibs, $1)=no
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.
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
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'
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'
5928
+ # FIXME: insert proper C++ library support
5929
+ _LT_TAGVAR(ld_shlibs, $1)=no
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)=:
5944
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5950
+ _LT_TAGVAR(hardcode_direct, $1)=no
5951
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
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.
5962
+ case $cc_basename in
5964
+ # FIXME: insert proper C++ library support
5965
+ _LT_TAGVAR(ld_shlibs, $1)=no
5970
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5973
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
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'
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.
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
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'
5990
+ if test "$GXX" = yes; then
5991
+ if test $with_gnu_ld = no; then
5994
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
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'
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'
6005
+ # FIXME: insert proper C++ library support
6006
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
6027
+ case $cc_basename in
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'
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
6036
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
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'
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'
6046
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
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
6054
+ linux* | k*bsd*-gnu)
6055
+ case $cc_basename in
6057
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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.
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
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'
6074
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6075
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
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'
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
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'
6092
+ *) # Version 8.0 or newer
6095
+ ia64*) tmp_idyn=' -i_dynamic';;
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'
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'
6107
+ # Portland Group C++ compiler
6109
+ *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
6110
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
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~
6116
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6117
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
6119
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
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~
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'
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'
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'
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'
6143
+ runpath_var=LD_RUN_PATH
6144
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6145
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
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.
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
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'
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'
6170
+ case `$CC -V 2>&1 | sed 5q` in
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
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'
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
6189
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
6197
+ # FIXME: insert proper C++ library support
6198
+ _LT_TAGVAR(ld_shlibs, $1)=no
6202
+ # FIXME: insert proper C++ library support
6203
+ _LT_TAGVAR(ld_shlibs, $1)=no
6207
+ case $cc_basename in
6209
+ # FIXME: insert proper C++ library support
6210
+ _LT_TAGVAR(ld_shlibs, $1)=no
6213
+ # FIXME: insert proper C++ library support
6214
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
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
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::"'
6232
+ _LT_TAGVAR(ld_shlibs, $1)=yes
6236
+ # C++ shared libraries are fairly broken
6237
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
6252
+ output_verbose_link_cmd=echo
6254
+ _LT_TAGVAR(ld_shlibs, $1)=no
6258
+ osf3* | osf4* | osf5*)
6259
+ case $cc_basename in
6261
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
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'
6268
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6269
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6271
+ # Archives containing C++ object files must be created using
6272
+ # the KAI C++ compiler.
6274
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
6275
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
6279
+ # Rational C++ 2.4.1
6280
+ # FIXME: insert proper C++ library support
6281
+ _LT_TAGVAR(ld_shlibs, $1)=no
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'
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~
6297
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6301
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
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.
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
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'
6314
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6315
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
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'
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'
6325
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6326
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
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"'
6334
+ # FIXME: insert proper C++ library support
6335
+ _LT_TAGVAR(ld_shlibs, $1)=no
6342
+ # FIXME: insert proper C++ library support
6343
+ _LT_TAGVAR(ld_shlibs, $1)=no
6347
+ case $cc_basename in
6350
+ # FIXME: insert proper C++ library support
6351
+ _LT_TAGVAR(ld_shlibs, $1)=no
6355
+ # FIXME: insert proper C++ library support
6356
+ _LT_TAGVAR(ld_shlibs, $1)=no
6359
+ # FIXME: insert proper C++ library support
6360
+ _LT_TAGVAR(ld_shlibs, $1)=no
6366
+ case $cc_basename in
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'
6375
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6376
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6378
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
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'
6386
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
6388
+ output_verbose_link_cmd='echo'
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
6394
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
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'
6400
+ # The C++ compiler must be used to create the archive.
6401
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
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'
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"'
6417
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
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'
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"'
6429
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
6431
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6433
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
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'
6447
+ case $cc_basename in
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'
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'
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
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'
6476
+ case $cc_basename in
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'
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'
6489
+ case $cc_basename in
6491
+ # NonStop-UX NCC 3.20
6492
+ # FIXME: insert proper C++ library support
6493
+ _LT_TAGVAR(ld_shlibs, $1)=no
6496
+ # FIXME: insert proper C++ library support
6497
+ _LT_TAGVAR(ld_shlibs, $1)=no
6503
+ # FIXME: insert proper C++ library support
6504
+ _LT_TAGVAR(ld_shlibs, $1)=no
6508
+ # FIXME: insert proper C++ library support
6509
+ _LT_TAGVAR(ld_shlibs, $1)=no
6513
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6514
+ test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6516
+ _LT_TAGVAR(GCC, $1)="$GXX"
6517
+ _LT_TAGVAR(LD, $1)="$LD"
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)
6532
+ fi # test -n "$compiler"
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
6546
+])# _LT_LANG_CXX_CONFIG
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)=
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
6571
+void foo (void) { a = 0; }
6573
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
6577
+ Foo (void) { a = 0; }
6582
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
6590
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
6598
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
6601
+ public void bar (void) {
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.
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
6617
+ for p in `eval "$output_verbose_link_cmd"`; do
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
6631
+ if test "$pre_test_object_deps_done" = no; then
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}"
6640
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
6643
+ # The "-l" case would never come before the object being
6644
+ # linked, so don't bother handling this case.
6647
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
6648
+ _LT_TAGVAR(postdeps, $1)="${prev}${p}"
6650
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
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
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"
6667
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
6670
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
6671
+ _LT_TAGVAR(postdep_objects, $1)="$p"
6673
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
6678
+ *) ;; # Ignore the rest.
6686
+ echo "libtool.m4: error: problem compiling $1 test program"
6689
+$RM -f confest.$objext
6691
+# PORTME: override above test on systems where it is broken
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)=
6703
+ case `$CC -V 2>&1 | sed 5q` in
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
6717
+ if test "$solaris_use_stlport4" != yes; then
6718
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
6725
+ case $cc_basename in
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
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'
6749
+case " $_LT_TAGVAR(postdeps, $1) " in
6750
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
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!^ !!'`
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
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],
6776
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
6778
+if test -z "$F77" || test "X$F77" = "Xno"; then
6779
+ _lt_disable_F77=yes
6781
+popdef([AC_MSG_ERROR])
6784
+dnl aclocal-1.4 backwards compatibility:
6785
+dnl AC_DEFUN([_LT_PROG_F77], [])
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)
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
6818
+# Source file extension for f77 test sources.
6821
+# Object file extension for compiled f77 test sources.
6823
+_LT_TAGVAR(objext, $1)=$objext
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="\
6837
+ # Code to be used in simple link tests
6838
+ lt_simple_link_test_code="\
6843
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6846
+ # save warnings/boilerplate of simple test code
6847
+ _LT_COMPILER_BOILERPLATE
6848
+ _LT_LINKER_BOILERPLATE
6850
+ # Allow CC to be a program name with arguments.
6855
+ _LT_TAGVAR(compiler, $1)=$CC
6856
+ _LT_CC_BASENAME([$compiler])
6858
+ if test -n "$compiler"; then
6859
+ AC_MSG_CHECKING([if libtool supports shared libraries])
6860
+ AC_MSG_RESULT([$can_build_shared])
6862
+ AC_MSG_CHECKING([whether to build shared libraries])
6863
+ test "$can_build_shared" = "no" && enable_shared=no
6865
+ # On AIX, shared libraries and static libraries use the same namespace, and
6866
+ # are all built from PIC.
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'
6876
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6877
+ test "$enable_shared" = yes && enable_static=no
6881
+ AC_MSG_RESULT([$enable_shared])
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])
6888
+ _LT_TAGVAR(GCC, $1)="$G77"
6889
+ _LT_TAGVAR(LD, $1)="$LD"
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)
6903
+ fi # test -n "$compiler"
6907
+fi # test "$_lt_disable_F77" != yes
6910
+])# _LT_LANG_F77_CONFIG
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],
6919
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
6921
+if test -z "$FC" || test "X$FC" = "Xno"; then
6922
+ _lt_disable_FC=yes
6924
+popdef([AC_MSG_ERROR])
6927
+dnl aclocal-1.4 backwards compatibility:
6928
+dnl AC_DEFUN([_LT_PROG_FC], [])
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)
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
6961
+# Source file extension for fc test sources.
6962
+ac_ext=${ac_fc_srcext-f}
6964
+# Object file extension for compiled fc test sources.
6966
+_LT_TAGVAR(objext, $1)=$objext
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="\
6980
+ # Code to be used in simple link tests
6981
+ lt_simple_link_test_code="\
6986
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6989
+ # save warnings/boilerplate of simple test code
6990
+ _LT_COMPILER_BOILERPLATE
6991
+ _LT_LINKER_BOILERPLATE
6993
+ # Allow CC to be a program name with arguments.
6998
+ GCC=$ac_cv_fc_compiler_gnu
7000
+ _LT_TAGVAR(compiler, $1)=$CC
7001
+ _LT_CC_BASENAME([$compiler])
7003
+ if test -n "$compiler"; then
7004
+ AC_MSG_CHECKING([if libtool supports shared libraries])
7005
+ AC_MSG_RESULT([$can_build_shared])
7007
+ AC_MSG_CHECKING([whether to build shared libraries])
7008
+ test "$can_build_shared" = "no" && enable_shared=no
7010
+ # On AIX, shared libraries and static libraries use the same namespace, and
7011
+ # are all built from PIC.
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'
7021
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7022
+ test "$enable_shared" = yes && enable_static=no
7026
+ AC_MSG_RESULT([$enable_shared])
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])
7033
+ _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
7034
+ _LT_TAGVAR(LD, $1)="$LD"
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)
7049
+ fi # test -n "$compiler"
7053
+fi # test "$_lt_disable_FC" != yes
7056
+])# _LT_LANG_FC_CONFIG
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
7068
+# Source file extension for Java test sources.
7071
+# Object file extension for compiled Java test sources.
7073
+_LT_TAGVAR(objext, $1)=$objext
7075
+# Code to be used in simple compile tests
7076
+lt_simple_compile_test_code="class foo {}"
7078
+# Code to be used in simple link tests
7079
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
7081
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7084
+# save warnings/boilerplate of simple test code
7085
+_LT_COMPILER_BOILERPLATE
7086
+_LT_LINKER_BOILERPLATE
7088
+# Allow CC to be a program name with arguments.
7094
+_LT_TAGVAR(compiler, $1)=$CC
7095
+_LT_TAGVAR(LD, $1)="$LD"
7096
+_LT_CC_BASENAME([$compiler])
7098
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
7099
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7101
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
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)
7118
+])# _LT_LANG_GCJ_CONFIG
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
7130
+# Source file extension for RC test sources.
7133
+# Object file extension for compiled RC test sources.
7135
+_LT_TAGVAR(objext, $1)=$objext
7137
+# Code to be used in simple compile tests
7138
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
7140
+# Code to be used in simple link tests
7141
+lt_simple_link_test_code="$lt_simple_compile_test_code"
7143
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7146
+# save warnings/boilerplate of simple test code
7147
+_LT_COMPILER_BOILERPLATE
7148
+_LT_LINKER_BOILERPLATE
7150
+# Allow CC to be a program name with arguments.
7156
+_LT_TAGVAR(compiler, $1)=$CC
7157
+_LT_CC_BASENAME([$compiler])
7158
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
7160
+if test -n "$compiler"; then
7168
+])# _LT_LANG_RC_CONFIG
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
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], [])
7189
+AC_DEFUN([LT_PROG_RC],
7190
+[AC_CHECK_TOOL(RC, windres,)
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], [])
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
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])
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],
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])
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. #
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
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"
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
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
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
7296
+SED=$lt_cv_path_SED
7298
+AC_MSG_RESULT([$SED])
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], [])
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
7316
+( _lt_dummy="a/b/c"
7317
+ test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7319
+ && eval 'test $(( 1 + 1 )) -eq 2 \
7320
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7322
+AC_MSG_RESULT([$xsi_shell])
7323
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
7325
+AC_MSG_CHECKING([whether the shell understands "+="])
7327
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
7329
+ && lt_shell_append=yes
7330
+AC_MSG_RESULT([$lt_shell_append])
7331
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
7333
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7338
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
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'
7347
+ *) # EBCDIC based system
7348
+ lt_SP2NL='tr \100 \n'
7349
+ lt_NL2SP='tr \r\n \100\100'
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
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
7363
+ cat << \_LT_EOF >> "$cfgfile"
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.
7371
+ */*) func_dirname_result="${1%/*}${2}" ;;
7372
+ * ) func_dirname_result="${3}" ;;
7376
+# func_basename file
7379
+ func_basename_result="${1##*/}"
7382
+# func_dirname_and_basename file append nondir_replacement
7383
+# perform func_basename and func_dirname in a single function
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 ()
7397
+ */*) func_dirname_result="${1%/*}${2}" ;;
7398
+ * ) func_dirname_result="${3}" ;;
7400
+ func_basename_result="${1##*/}"
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).
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}"}
7420
+ func_opt_split_opt=${1%%=*}
7421
+ func_opt_split_arg=${1#*=}
7428
+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
7429
+ *) func_lo2o_result=${1} ;;
7433
+# func_xform libobj-or-source
7436
+ func_xform_result=${1%.*}.lo
7439
+# func_arith arithmetic-term...
7442
+ func_arith_result=$(( $[*] ))
7446
+# STRING may not start with a hyphen.
7449
+ func_len_result=${#1}
7454
+ *) # Bourne compatible functions.
7455
+ cat << \_LT_EOF >> "$cfgfile"
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.
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}"
7467
+ func_dirname_result="$func_dirname_result${2}"
7471
+# func_basename file
7474
+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
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.
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
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}\$%%"`;;
7498
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
7499
+my_sed_long_arg='1s/^-[[^=]]*=//'
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"`
7511
+ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
7514
+# func_xform libobj-or-source
7517
+ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
7520
+# func_arith arithmetic-term...
7523
+ func_arith_result=`expr "$[@]"`
7527
+# STRING may not start with a hyphen.
7530
+ func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
7536
+case $lt_shell_append in
7538
+ cat << \_LT_EOF >> "$cfgfile"
7540
+# func_append var value
7541
+# Append VALUE to the end of shell variable VAR.
7544
+ eval "$[1]+=\$[2]"
7549
+ cat << \_LT_EOF >> "$cfgfile"
7551
+# func_append var value
7552
+# Append VALUE to the end of shell variable VAR.
7555
+ eval "$[1]=\$$[1]\$[2]"
7563
+# Helper functions for option handling. -*- Autoconf -*-
7565
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7566
+# Written by Gary V. Vaughan, 2004
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.
7572
+# serial 6 ltoptions.m4
7574
+# This is to help aclocal find these macros, as it can't see m4_define.
7575
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
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_]], [_])])
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
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
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])])
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
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
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],
7625
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
7626
+ [_LT_SET_OPTION([$1], _LT_Option)])
7628
+m4_if([$1],[LT_INIT],[
7630
+ dnl Simply set some default values (i.e off) if boolean options were not
7632
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
7634
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
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])
7647
+])# _LT_SET_OPTIONS
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_]], [_])])
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
7666
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
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.])
7676
+dnl aclocal-1.4 backwards compatibility:
7677
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
7682
+# Declare package support for building win32 dll's.
7683
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
7684
+[enable_win32_dll=yes
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)
7694
+test -z "$AS" && AS=as
7695
+_LT_DECL([], [AS], [0], [Assembler program])dnl
7697
+test -z "$DLLTOOL" && DLLTOOL=dlltool
7698
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
7700
+test -z "$OBJDUMP" && OBJDUMP=objdump
7701
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
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.])
7712
+dnl aclocal-1.4 backwards compatibility:
7713
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
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 ;;
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
7740
+ IFS="$lt_save_ifs"
7743
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
7745
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
7746
+ [Whether or not to build shared libraries])
7747
+])# _LT_ENABLE_SHARED
7749
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
7750
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
7753
+AC_DEFUN([AC_ENABLE_SHARED],
7754
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
7757
+AC_DEFUN([AC_DISABLE_SHARED],
7758
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
7761
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7762
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7764
+dnl aclocal-1.4 backwards compatibility:
7765
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
7766
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
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 ;;
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
7794
+ IFS="$lt_save_ifs"
7797
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
7799
+ _LT_DECL([build_old_libs], [enable_static], [0],
7800
+ [Whether or not to build static libraries])
7801
+])# _LT_ENABLE_STATIC
7803
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
7804
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
7807
+AC_DEFUN([AC_ENABLE_STATIC],
7808
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
7811
+AC_DEFUN([AC_DISABLE_STATIC],
7812
+[_LT_SET_OPTION([LT_INIT], [disable-static])
7815
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7816
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7818
+dnl aclocal-1.4 backwards compatibility:
7819
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
7820
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
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 ;;
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
7848
+ IFS="$lt_save_ifs"
7851
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
7853
+_LT_DECL([fast_install], [enable_fast_install], [0],
7854
+ [Whether or not to optimize for fast installation])dnl
7855
+])# _LT_ENABLE_FAST_INSTALL
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])])
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.])
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.])
7875
+dnl aclocal-1.4 backwards compatibility:
7876
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
7877
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
7880
+# _LT_WITH_PIC([MODE])
7881
+# --------------------
7882
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
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])
7892
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
7894
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
7897
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
7898
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
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.])
7908
+dnl aclocal-1.4 backwards compatibility:
7909
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
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])])
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])])
7926
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
7928
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
7929
+# Written by Gary V. Vaughan, 2004
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.
7935
+# serial 6 ltsugar.m4
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])])
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($@)))])])
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])],
7966
+ [m4_dquote(m4_shift($@))])])
7967
+m4_define([lt_unquote], $1)
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).
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],
7982
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
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])])])])])
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],
8007
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8008
+ [lt_append([$1], [$2], [$3])$4],
8010
+ [lt_append([$1], [$2], [$3])$4])])
8013
+# lt_dict_add(DICT, KEY, VALUE)
8014
+# -----------------------------
8015
+m4_define([lt_dict_add],
8016
+[m4_define([$1($2)], [$3])])
8019
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
8020
+# --------------------------------------------
8021
+m4_define([lt_dict_add_subkey],
8022
+[m4_define([$1($2:$3)], [$4])])
8025
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
8026
+# ----------------------------------
8027
+m4_define([lt_dict_fetch],
8029
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
8030
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
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],
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
8050
+# ltversion.m4 -- version numbers -*- Autoconf -*-
8052
+# Copyright (C) 2004 Free Software Foundation, Inc.
8053
+# Written by Scott James Remnant, 2004
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.
8059
+# Generated from ltversion.in.
8061
+# serial 3012 ltversion.m4
8062
+# This file is part of GNU Libtool
8064
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
8065
+m4_define([LT_PACKAGE_REVISION], [1.3012])
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)
8074
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8076
+# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8077
+# Written by Scott James Remnant, 2004.
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.
8083
+# serial 4 lt~obsolete.m4
8085
+# These exist entirely to fool aclocal when bootstrapping libtool.
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.
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.)
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.
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.
8108
+# This is to help aclocal find these macros, as it can't see m4_define.
8109
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
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])])
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])
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 @@
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
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)
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)
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)
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
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)
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
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"
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"
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
8276
@@ -12486,14 +12483,14 @@
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
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`
8294
@@ -12507,14 +12504,14 @@
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
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`
8312
@@ -12534,16 +12531,16 @@
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
8317
+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION"`
8319
GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
8321
+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION"`
8323
# Put the nasty error message in config.log where it belongs
8324
echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
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:
8330
$GTKLOGOUTHELPER_PKG_ERRORS
8332
@@ -12578,6 +12575,7 @@
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
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
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) \
8669
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs