~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to debian/patches/autofiles.diff

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-06-04 19:01:38 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090604190138-1ao3t6sj31cqvcfe
Tags: 1.8.6+1-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Build with -Wno-error.
  - Build with thread support. Some guile-using programs like autogen need it.
  - Add debian/guile-1.8-libs.shlibs: Thread support breaks ABI, bump the soname.
* Dropped changes:
  - libltdl3-dev -> libltdl7-dev: current libltdl-dev Provides: both.
  - debian/patches/libtool-ftbfs.diff: integrated upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: sid/INSTALL
2
 
===================================================================
3
 
--- sid.orig/INSTALL
4
 
+++ sid/INSTALL
5
 
@@ -2,7 +2,7 @@
6
 
 *************************
7
 
 
8
 
 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
9
 
-2006 Free Software Foundation, Inc.
10
 
+2006, 2007 Free Software Foundation, Inc.
11
 
 
12
 
 This file is free documentation; the Free Software Foundation gives
13
 
 unlimited permission to copy, distribute and modify it.
14
 
@@ -67,6 +67,9 @@
15
 
      all sorts of other programs in order to regenerate files that came
16
 
      with the distribution.
17
 
 
18
 
+  6. Often, you can also type `make uninstall' to remove the installed
19
 
+     files again.
20
 
+
21
 
 Compilers and Options
22
 
 =====================
23
 
 
24
1
Index: sid/Makefile.in
25
2
===================================================================
26
3
--- sid.orig/Makefile.in
27
4
+++ sid/Makefile.in
28
 
@@ -1,8 +1,8 @@
29
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
30
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
31
 
 # @configure_input@
32
 
 
33
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
34
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
35
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
36
 
 # This Makefile.in is free software; the Free Software Foundation
37
 
 # gives unlimited permission to copy and/or distribute it,
38
 
 # with or without modifications, as long as this notice is preserved.
39
 
@@ -524,8 +524,8 @@
40
 
        unique=`for i in $$list; do \
41
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
42
 
          done | \
43
 
-         $(AWK) '    { files[$$0] = 1; } \
44
 
-              END { for (i in files) print i; }'`; \
45
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
46
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
47
 
        mkid -fID $$unique
48
 
 tags: TAGS
49
 
 
50
 
@@ -550,8 +550,8 @@
51
 
        unique=`for i in $$list; do \
52
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
53
 
          done | \
54
 
-         $(AWK) '    { files[$$0] = 1; } \
55
 
-              END { for (i in files) print i; }'`; \
56
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
58
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
59
 
          test -n "$$unique" || unique=$$empty_fix; \
60
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
61
 
@@ -561,13 +561,12 @@
62
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
63
 
                $(TAGS_FILES) $(LISP)
64
 
        tags=; \
65
 
-       here=`pwd`; \
66
 
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
67
 
        unique=`for i in $$list; do \
68
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
69
 
          done | \
70
 
-         $(AWK) '    { files[$$0] = 1; } \
71
 
-              END { for (i in files) print i; }'`; \
72
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
73
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
74
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
75
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
76
 
             $$tags $$unique
77
 
@@ -717,6 +716,10 @@
78
 
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
79
 
        $(am__remove_distdir)
80
 
 
81
 
+dist-lzma: distdir
82
 
+       tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
83
 
+       $(am__remove_distdir)
84
 
+
85
 
 dist-tarZ: distdir
86
 
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
87
 
        $(am__remove_distdir)
88
 
@@ -743,6 +746,8 @@
89
 
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
90
 
        *.tar.bz2*) \
91
 
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
92
 
+       *.tar.lzma*) \
93
 
+         unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
94
 
        *.tar.Z*) \
95
 
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
96
 
        *.shar.gz*) \
97
 
@@ -900,8 +905,8 @@
98
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
99
 
        all all-am am--refresh check check-TESTS check-am clean \
100
 
        clean-generic clean-libtool ctags ctags-recursive dist \
101
 
-       dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
102
 
-       distcheck distclean distclean-generic distclean-hdr \
103
 
+       dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
104
 
+       dist-zip distcheck distclean distclean-generic distclean-hdr \
105
 
        distclean-libtool distclean-tags distcleancheck distdir \
106
 
        distuninstallcheck dvi dvi-am html html-am info info-am \
107
 
        install install-am install-binSCRIPTS install-data \
 
5
@@ -50,7 +50,10 @@
 
6
        missing texinfo.tex
 
7
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
8
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
9
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
10
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
11
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
12
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
13
+       $(top_srcdir)/configure.in
 
14
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
15
        $(ACLOCAL_M4)
 
16
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
108
17
Index: sid/aclocal.m4
109
18
===================================================================
110
19
--- sid.orig/aclocal.m4
111
20
+++ sid/aclocal.m4
112
 
@@ -1,7 +1,7 @@
113
 
-# generated automatically by aclocal 1.10 -*- Autoconf -*-
114
 
+# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
115
 
 
116
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
117
 
-# 2005, 2006  Free Software Foundation, Inc.
118
 
+# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
119
 
 # This file is free software; the Free Software Foundation
120
 
 # gives unlimited permission to copy and/or distribute it,
121
 
 # with or without modifications, as long as this notice is preserved.
122
 
@@ -11,1903 +11,913 @@
123
 
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
124
 
 # PARTICULAR PURPOSE.
125
 
 
126
 
-m4_if(m4_PACKAGE_VERSION, [2.61],,
127
 
-[m4_fatal([this file was generated for autoconf 2.61.
128
 
-You have another version of autoconf.  If you want to use that,
129
 
-you should regenerate the build system entirely.], [63])])
130
 
+m4_ifndef([AC_AUTOCONF_VERSION],
131
 
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
132
 
+m4_if(AC_AUTOCONF_VERSION, [2.61],,
133
 
+[m4_warning([this file was generated for autoconf 2.61.
134
 
+You have another version of autoconf.  It may work, but is not guaranteed to.
135
 
+If you have problems, you may need to regenerate the build system entirely.
136
 
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
137
 
 
138
 
-# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
21
@@ -19,11080 +19,3139 @@
 
22
 If you have problems, you may need to regenerate the build system entirely.
 
23
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
24
 
 
25
-# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
139
26
-#
140
27
-# This file is free software; the Free Software Foundation
141
28
-# gives unlimited permission to copy and/or distribute it,
150
37
-[am__api_version='1.10'
151
38
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
152
39
-dnl require some minimum version.  Point them to the right macro.
153
 
-m4_if([$1], [1.10], [],
 
40
-m4_if([$1], [1.10.1], [],
154
41
-      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
155
42
-])
 
43
-
 
44
-# _AM_AUTOCONF_VERSION(VERSION)
 
45
-# -----------------------------
 
46
-# aclocal traces this macro to find the Autoconf version.
 
47
-# This is a private macro too.  Using m4_define simplifies
 
48
-# the logic in aclocal, which can simply ignore this definition.
 
49
-m4_define([_AM_AUTOCONF_VERSION], [])
 
50
-
 
51
-# AM_SET_CURRENT_AUTOMAKE_VERSION
 
52
-# -------------------------------
 
53
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 
54
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
55
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 
56
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
57
-m4_ifndef([AC_AUTOCONF_VERSION],
 
58
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
59
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
156
60
+# gettext.m4 serial 60 (gettext-0.17)
157
61
+dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
158
62
+dnl This file is free software; the Free Software Foundation
168
72
+dnl gettext package package is covered by the GNU General Public License.
169
73
+dnl They are *not* in the public domain.
170
74
 
171
 
-# _AM_AUTOCONF_VERSION(VERSION)
172
 
-# -----------------------------
173
 
-# aclocal traces this macro to find the Autoconf version.
174
 
-# This is a private macro too.  Using m4_define simplifies
175
 
-# the logic in aclocal, which can simply ignore this definition.
176
 
-m4_define([_AM_AUTOCONF_VERSION], [])
 
75
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
177
76
+dnl Authors:
178
77
+dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
179
78
+dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2006.
180
79
 
181
 
-# AM_SET_CURRENT_AUTOMAKE_VERSION
182
 
-# -------------------------------
183
 
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
184
 
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
185
 
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
186
 
-[AM_AUTOMAKE_VERSION([1.10])dnl
187
 
-_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
80
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
81
-#
 
82
-# This file is free software; the Free Software Foundation
 
83
-# gives unlimited permission to copy and/or distribute it,
 
84
-# with or without modifications, as long as this notice is preserved.
188
85
+dnl Macro to add for using GNU gettext.
189
86
 
190
 
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
87
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 
88
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 
89
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
90
-#
 
91
-# Of course, Automake must honor this variable whenever it calls a
 
92
-# tool from the auxiliary directory.  The problem is that $srcdir (and
 
93
-# therefore $ac_aux_dir as well) can be either absolute or relative,
 
94
-# depending on how configure is run.  This is pretty annoying, since
 
95
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
 
96
-# source directory, any form will work fine, but in subdirectories a
 
97
-# relative path needs to be adjusted first.
 
98
-#
 
99
-# $ac_aux_dir/missing
 
100
-#    fails when called from a subdirectory if $ac_aux_dir is relative
 
101
-# $top_srcdir/$ac_aux_dir/missing
 
102
-#    fails if $ac_aux_dir is absolute,
 
103
-#    fails when called from a subdirectory in a VPATH build with
 
104
-#          a relative $ac_aux_dir
 
105
-#
 
106
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
 
107
-# are both prefixed by $srcdir.  In an in-source build this is usually
 
108
-# harmless because $srcdir is `.', but things will broke when you
 
109
-# start a VPATH build or use an absolute $srcdir.
 
110
-#
 
111
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
 
112
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
 
113
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
 
114
-# and then we would define $MISSING as
 
115
-#   MISSING="\${SHELL} $am_aux_dir/missing"
 
116
-# This will work as long as MISSING is not called from configure, because
 
117
-# unfortunately $(top_srcdir) has no meaning in configure.
 
118
-# However there are other variables, like CC, which are often used in
 
119
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
 
120
-#
 
121
-# Another solution, used here, is to always expand $ac_aux_dir to an
 
122
-# absolute PATH.  The drawback is that using absolute paths prevent a
 
123
-# configured tree to be moved without reconfiguration.
191
124
+dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
192
125
+dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
193
126
+dnl    default (if it is not specified or empty) is 'no-libtool'.
240
173
+  gt_NEEDS_INIT
241
174
+  AM_GNU_GETTEXT_NEED([$2])
242
175
 
243
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
244
 
-#
245
 
-# This file is free software; the Free Software Foundation
246
 
-# gives unlimited permission to copy and/or distribute it,
247
 
-# with or without modifications, as long as this notice is preserved.
 
176
-AC_DEFUN([AM_AUX_DIR_EXPAND],
 
177
-[dnl Rely on autoconf to set up CDPATH properly.
 
178
-AC_PREREQ([2.50])dnl
 
179
-# expand $ac_aux_dir to an absolute path
 
180
-am_aux_dir=`cd $ac_aux_dir && pwd`
 
181
-])
248
182
+  AC_REQUIRE([AM_PO_SUBDIRS])dnl
249
183
+  ifelse(gt_included_intl, yes, [
250
184
+    AC_REQUIRE([AM_INTL_SUBDIR])dnl
251
185
+  ])
252
186
 
253
 
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
254
 
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
255
 
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
256
 
-#
257
 
-# Of course, Automake must honor this variable whenever it calls a
258
 
-# tool from the auxiliary directory.  The problem is that $srcdir (and
259
 
-# therefore $ac_aux_dir as well) can be either absolute or relative,
260
 
-# depending on how configure is run.  This is pretty annoying, since
261
 
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
262
 
-# source directory, any form will work fine, but in subdirectories a
263
 
-# relative path needs to be adjusted first.
264
 
-#
265
 
-# $ac_aux_dir/missing
266
 
-#    fails when called from a subdirectory if $ac_aux_dir is relative
267
 
-# $top_srcdir/$ac_aux_dir/missing
268
 
-#    fails if $ac_aux_dir is absolute,
269
 
-#    fails when called from a subdirectory in a VPATH build with
270
 
-#          a relative $ac_aux_dir
271
 
-#
272
 
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
273
 
-# are both prefixed by $srcdir.  In an in-source build this is usually
274
 
-# harmless because $srcdir is `.', but things will broke when you
275
 
-# start a VPATH build or use an absolute $srcdir.
276
 
-#
277
 
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
278
 
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
279
 
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
280
 
-# and then we would define $MISSING as
281
 
-#   MISSING="\${SHELL} $am_aux_dir/missing"
282
 
-# This will work as long as MISSING is not called from configure, because
283
 
-# unfortunately $(top_srcdir) has no meaning in configure.
284
 
-# However there are other variables, like CC, which are often used in
285
 
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
286
 
-#
287
 
-# Another solution, used here, is to always expand $ac_aux_dir to an
288
 
-# absolute PATH.  The drawback is that using absolute paths prevent a
289
 
-# configured tree to be moved without reconfiguration.
 
187
-# AM_CONDITIONAL                                            -*- Autoconf -*-
290
188
+  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
291
189
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
292
190
+  AC_REQUIRE([AC_LIB_RPATH])
293
191
 
294
 
-AC_DEFUN([AM_AUX_DIR_EXPAND],
295
 
-[dnl Rely on autoconf to set up CDPATH properly.
296
 
-AC_PREREQ([2.50])dnl
297
 
-# expand $ac_aux_dir to an absolute path
298
 
-am_aux_dir=`cd $ac_aux_dir && pwd`
299
 
-])
 
192
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
193
-# Free Software Foundation, Inc.
 
194
-#
 
195
-# This file is free software; the Free Software Foundation
 
196
-# gives unlimited permission to copy and/or distribute it,
 
197
-# with or without modifications, as long as this notice is preserved.
300
198
+  dnl Sometimes libintl requires libiconv, so first search for libiconv.
301
199
+  dnl Ideally we would do this search only after the
302
200
+  dnl      if test "$USE_NLS" = "yes"; then
312
210
+    AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
313
211
+  ])
314
212
 
 
213
-# serial 8
315
214
+  dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
316
215
+  gt_INTL_MACOSX
317
216
 
318
 
-# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
319
 
-# Free Software Foundation, Inc.
320
 
-#
321
 
-# This file is free software; the Free Software Foundation
322
 
-# gives unlimited permission to copy and/or distribute it,
323
 
-# with or without modifications, as long as this notice is preserved.
 
217
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
 
218
-# -------------------------------------
 
219
-# Define a conditional.
 
220
-AC_DEFUN([AM_CONDITIONAL],
 
221
-[AC_PREREQ(2.52)dnl
 
222
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
223
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
224
-AC_SUBST([$1_TRUE])dnl
 
225
-AC_SUBST([$1_FALSE])dnl
 
226
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
227
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
228
-if $2; then
 
229
-  $1_TRUE=
 
230
-  $1_FALSE='#'
 
231
-else
 
232
-  $1_TRUE='#'
 
233
-  $1_FALSE=
 
234
-fi
 
235
-AC_CONFIG_COMMANDS_PRE(
 
236
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
 
237
-  AC_MSG_ERROR([[conditional "$1" was never defined.
 
238
-Usually this means the macro was only invoked conditionally.]])
 
239
-fi])])
324
240
+  dnl Set USE_NLS.
325
241
+  AC_REQUIRE([AM_NLS])
326
242
 
327
 
-# serial 4
 
243
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
244
-# Free Software Foundation, Inc.
 
245
-#
 
246
-# This file is free software; the Free Software Foundation
 
247
-# gives unlimited permission to copy and/or distribute it,
 
248
-# with or without modifications, as long as this notice is preserved.
328
249
+  ifelse(gt_included_intl, yes, [
329
250
+    BUILD_INCLUDED_LIBINTL=no
330
251
+    USE_INCLUDED_LIBINTL=no
333
254
+  LTLIBINTL=
334
255
+  POSUB=
335
256
 
336
 
-# This was merged into AC_PROG_CC in Autoconf.
 
257
-# serial 9
337
258
+  dnl Add a version number to the cache macros.
338
259
+  case " $gt_needs " in
339
260
+    *" need-formatstring-macros "*) gt_api_version=3 ;;
343
264
+  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
344
265
+  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
345
266
 
346
 
-AU_DEFUN([AM_PROG_CC_STDC],
347
 
-[AC_PROG_CC
348
 
-AC_DIAGNOSE([obsolete], [$0:
349
 
-       your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
350
 
-       `ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when
351
 
-       you adjust the code.  You can also remove the above call to
352
 
-       AC_PROG_CC if you already called it elsewhere.])
353
 
-am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
354
 
-])
355
 
-AU_DEFUN([fp_PROG_CC_STDC])
 
267
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
268
-# written in clear, in which case automake, when reading aclocal.m4,
 
269
-# will think it sees a *use*, and therefore will trigger all it's
 
270
-# C support machinery.  Also note that it means that autoscan, seeing
 
271
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
356
272
+  dnl If we use NLS figure out what method
357
273
+  if test "$USE_NLS" = "yes"; then
358
274
+    gt_use_preinstalled_gnugettext=no
364
280
+        nls_cv_force_use_gnu_gettext=no)
365
281
+      AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
366
282
 
367
 
-# AM_CONDITIONAL                                            -*- Autoconf -*-
368
283
+      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
369
284
+      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
370
285
+    ])
372
287
+        dnl to use.  If GNU gettext is available we use this.  Else we have
373
288
+        dnl to fall back to GNU NLS library.
374
289
 
375
 
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
376
 
-# Free Software Foundation, Inc.
 
290
-# _AM_DEPENDENCIES(NAME)
 
291
-# ----------------------
 
292
-# See how the compiler implements dependency checking.
 
293
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
294
-# We try a few techniques and use that to set a single cache variable.
377
295
-#
378
 
-# This file is free software; the Free Software Foundation
379
 
-# gives unlimited permission to copy and/or distribute it,
380
 
-# with or without modifications, as long as this notice is preserved.
 
296
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
 
297
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
 
298
-# dependency, and given that the user is not expected to run this macro,
 
299
-# just rely on AC_PROG_CC.
 
300
-AC_DEFUN([_AM_DEPENDENCIES],
 
301
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
 
302
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
 
303
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
 
304
-AC_REQUIRE([AM_DEP_TRACK])dnl
381
305
+        if test $gt_api_version -ge 3; then
382
306
+          gt_revision_test_code='
383
307
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
396
320
+          gt_expression_test_code=
397
321
+        fi
398
322
 
399
 
-# serial 8
 
323
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
 
324
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
 
325
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
326
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
 
327
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
328
-                   [depcc="$$1"   am_compiler_list=])
400
329
+        AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
401
330
+         [AC_TRY_LINK([#include <libintl.h>
402
331
+$gt_revision_test_code
407
336
+            [eval "$gt_func_gnugettext_libc=yes"],
408
337
+            [eval "$gt_func_gnugettext_libc=no"])])
409
338
 
410
 
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
411
 
-# -------------------------------------
412
 
-# Define a conditional.
413
 
-AC_DEFUN([AM_CONDITIONAL],
414
 
-[AC_PREREQ(2.52)dnl
415
 
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
416
 
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
417
 
-AC_SUBST([$1_TRUE])dnl
418
 
-AC_SUBST([$1_FALSE])dnl
419
 
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
420
 
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
421
 
-if $2; then
422
 
-  $1_TRUE=
423
 
-  $1_FALSE='#'
424
 
-else
425
 
-  $1_TRUE='#'
426
 
-  $1_FALSE=
427
 
-fi
428
 
-AC_CONFIG_COMMANDS_PRE(
429
 
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
430
 
-  AC_MSG_ERROR([[conditional "$1" was never defined.
431
 
-Usually this means the macro was only invoked conditionally.]])
432
 
-fi])])
433
 
-
434
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
435
 
-# Free Software Foundation, Inc.
436
 
-#
437
 
-# This file is free software; the Free Software Foundation
438
 
-# gives unlimited permission to copy and/or distribute it,
439
 
-# with or without modifications, as long as this notice is preserved.
440
 
-
441
 
-# serial 9
 
339
-AC_CACHE_CHECK([dependency style of $depcc],
 
340
-               [am_cv_$1_dependencies_compiler_type],
 
341
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
342
-  # We make a subdir and do the tests there.  Otherwise we can end up
 
343
-  # making bogus files that we don't know about and never remove.  For
 
344
-  # instance it was reported that on HP-UX the gcc test will end up
 
345
-  # making a dummy file named `D' -- because `-MD' means `put the output
 
346
-  # in D'.
 
347
-  mkdir conftest.dir
 
348
-  # Copy depcomp to subdir because otherwise we won't find it if we're
 
349
-  # using a relative directory.
 
350
-  cp "$am_depcomp" conftest.dir
 
351
-  cd conftest.dir
 
352
-  # We will build objects and dependencies in a subdirectory because
 
353
-  # it helps to detect inapplicable dependency modes.  For instance
 
354
-  # both Tru64's cc and ICC support -MD to output dependencies as a
 
355
-  # side effect of compilation, but ICC will put the dependencies in
 
356
-  # the current directory while Tru64 will put them in the object
 
357
-  # directory.
 
358
-  mkdir sub
442
359
+        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
443
360
+          dnl Sometimes libintl requires libiconv, so first search for libiconv.
444
361
+          ifelse(gt_included_intl, yes, , [
490
407
+            LIBS="$gt_save_LIBS"])
491
408
+        fi
492
409
 
493
 
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
494
 
-# written in clear, in which case automake, when reading aclocal.m4,
495
 
-# will think it sees a *use*, and therefore will trigger all it's
496
 
-# C support machinery.  Also note that it means that autoscan, seeing
497
 
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 
410
-  am_cv_$1_dependencies_compiler_type=none
 
411
-  if test "$am_compiler_list" = ""; then
 
412
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 
413
-  fi
 
414
-  for depmode in $am_compiler_list; do
 
415
-    # Setup a source with many dependencies, because some compilers
 
416
-    # like to wrap large dependency lists on column 80 (with \), and
 
417
-    # we should not choose a depcomp mode which is confused by this.
 
418
-    #
 
419
-    # We need to recreate these files for each test, as the compiler may
 
420
-    # overwrite some of them when testing with obscure command lines.
 
421
-    # This happens at least with the AIX C compiler.
 
422
-    : > sub/conftest.c
 
423
-    for i in 1 2 3 4 5 6; do
 
424
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
425
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
426
-      # Solaris 8's {/usr,}/bin/sh.
 
427
-      touch sub/conftst$i.h
 
428
-    done
 
429
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
498
430
+        dnl If an already present or preinstalled GNU gettext() is found,
499
431
+        dnl use it.  But if this macro is used in GNU gettext, and GNU
500
432
+        dnl gettext is already preinstalled in libintl, we update this
511
443
+          INCINTL=
512
444
+        fi
513
445
 
 
446
-    case $depmode in
 
447
-    nosideeffect)
 
448
-      # after this tag, mechanisms are not by side-effect, so they'll
 
449
-      # only be used when explicitly requested
 
450
-      if test "x$enable_dependency_tracking" = xyes; then
 
451
-       continue
 
452
-      else
 
453
-       break
514
454
+    ifelse(gt_included_intl, yes, [
515
455
+        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
516
456
+          dnl GNU gettext is not found in the C library.
517
457
+          dnl Fall back on included GNU gettext library.
518
458
+          nls_cv_use_gnu_gettext=yes
519
459
+        fi
520
 
+      fi
521
 
 
522
 
-# _AM_DEPENDENCIES(NAME)
523
 
-# ----------------------
524
 
-# See how the compiler implements dependency checking.
525
 
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
526
 
-# We try a few techniques and use that to set a single cache variable.
527
 
-#
528
 
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
529
 
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
530
 
-# dependency, and given that the user is not expected to run this macro,
531
 
-# just rely on AC_PROG_CC.
532
 
-AC_DEFUN([_AM_DEPENDENCIES],
533
 
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
534
 
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
535
 
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
536
 
-AC_REQUIRE([AM_DEP_TRACK])dnl
 
460
       fi
 
461
-      ;;
 
462
-    none) break ;;
 
463
-    esac
 
464
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
465
-    # mode.  It turns out that the SunPro C++ compiler does not properly
 
466
-    # handle `-M -o', and we need to detect this.
 
467
-    if depmode=$depmode \
 
468
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
469
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
470
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
471
-         >/dev/null 2>conftest.err &&
 
472
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
473
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
474
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
475
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
476
-      # icc doesn't choke on unknown options, it will just issue warnings
 
477
-      # or remarks (even with -Werror).  So we grep stderr for any message
 
478
-      # that says an option was ignored or not supported.
 
479
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
480
-      #   icc: Command line warning: ignoring option '-M'; no argument required
 
481
-      # The diagnosis changed in icc 8.0:
 
482
-      #   icc: Command line remark: option '-MP' not supported
 
483
-      if (grep 'ignoring option' conftest.err ||
 
484
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
485
-        am_cv_$1_dependencies_compiler_type=$depmode
 
486
-        break
 
487
+
537
488
+      if test "$nls_cv_use_gnu_gettext" = "yes"; then
538
489
+        dnl Mark actions used to generate GNU NLS library.
539
490
+        BUILD_INCLUDED_LIBINTL=yes
541
492
+        LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
542
493
+        LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
543
494
+        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
544
 
+      fi
 
495
       fi
 
496
-    fi
 
497
-  done
545
498
 
546
 
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
547
 
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
548
 
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
549
 
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
550
 
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
551
 
-                   [depcc="$$1"   am_compiler_list=])
 
499
-  cd ..
 
500
-  rm -rf conftest.dir
 
501
-else
 
502
-  am_cv_$1_dependencies_compiler_type=none
 
503
-fi
 
504
-])
 
505
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 
506
-AM_CONDITIONAL([am__fastdep$1], [
 
507
-  test "x$enable_dependency_tracking" != xno \
 
508
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 
509
-])
552
510
+      CATOBJEXT=
553
511
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
554
512
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
557
515
+      fi
558
516
+    ])
559
517
 
560
 
-AC_CACHE_CHECK([dependency style of $depcc],
561
 
-               [am_cv_$1_dependencies_compiler_type],
562
 
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
563
 
-  # We make a subdir and do the tests there.  Otherwise we can end up
564
 
-  # making bogus files that we don't know about and never remove.  For
565
 
-  # instance it was reported that on HP-UX the gcc test will end up
566
 
-  # making a dummy file named `D' -- because `-MD' means `put the output
567
 
-  # in D'.
568
 
-  mkdir conftest.dir
569
 
-  # Copy depcomp to subdir because otherwise we won't find it if we're
570
 
-  # using a relative directory.
571
 
-  cp "$am_depcomp" conftest.dir
572
 
-  cd conftest.dir
573
 
-  # We will build objects and dependencies in a subdirectory because
574
 
-  # it helps to detect inapplicable dependency modes.  For instance
575
 
-  # both Tru64's cc and ICC support -MD to output dependencies as a
576
 
-  # side effect of compilation, but ICC will put the dependencies in
577
 
-  # the current directory while Tru64 will put them in the object
578
 
-  # directory.
579
 
-  mkdir sub
580
518
+    if test -n "$INTL_MACOSX_LIBS"; then
581
519
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
582
520
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
586
524
+      fi
587
525
+    fi
588
526
 
589
 
-  am_cv_$1_dependencies_compiler_type=none
590
 
-  if test "$am_compiler_list" = ""; then
591
 
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 
527
-# AM_SET_DEPDIR
 
528
-# -------------
 
529
-# Choose a directory name for dependency files.
 
530
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
531
-AC_DEFUN([AM_SET_DEPDIR],
 
532
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
533
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 
534
-])
592
535
+    if test "$gt_use_preinstalled_gnugettext" = "yes" \
593
536
+       || test "$nls_cv_use_gnu_gettext" = "yes"; then
594
537
+      AC_DEFINE(ENABLE_NLS, 1,
597
540
+    else
598
541
+      USE_NLS=no
599
542
+    fi
600
 
   fi
601
 
-  for depmode in $am_compiler_list; do
602
 
-    # Setup a source with many dependencies, because some compilers
603
 
-    # like to wrap large dependency lists on column 80 (with \), and
604
 
-    # we should not choose a depcomp mode which is confused by this.
605
 
-    #
606
 
-    # We need to recreate these files for each test, as the compiler may
607
 
-    # overwrite some of them when testing with obscure command lines.
608
 
-    # This happens at least with the AIX C compiler.
609
 
-    : > sub/conftest.c
610
 
-    for i in 1 2 3 4 5 6; do
611
 
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
612
 
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
613
 
-      # Solaris 8's {/usr,}/bin/sh.
614
 
-      touch sub/conftst$i.h
615
 
-    done
616
 
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
543
+  fi
617
544
 
618
 
-    case $depmode in
619
 
-    nosideeffect)
620
 
-      # after this tag, mechanisms are not by side-effect, so they'll
621
 
-      # only be used when explicitly requested
622
 
-      if test "x$enable_dependency_tracking" = xyes; then
623
 
-       continue
624
545
+  AC_MSG_CHECKING([whether to use NLS])
625
546
+  AC_MSG_RESULT([$USE_NLS])
626
547
+  if test "$USE_NLS" = "yes"; then
628
549
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
629
550
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
630
551
+        gt_source="external libintl"
631
 
       else
632
 
-       break
633
 
-      fi
634
 
-      ;;
635
 
-    none) break ;;
636
 
-    esac
637
 
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
638
 
-    # mode.  It turns out that the SunPro C++ compiler does not properly
639
 
-    # handle `-M -o', and we need to detect this.
640
 
-    if depmode=$depmode \
641
 
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
642
 
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
643
 
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
644
 
-         >/dev/null 2>conftest.err &&
645
 
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
646
 
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
647
 
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
648
 
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
649
 
-      # icc doesn't choke on unknown options, it will just issue warnings
650
 
-      # or remarks (even with -Werror).  So we grep stderr for any message
651
 
-      # that says an option was ignored or not supported.
652
 
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
653
 
-      #   icc: Command line warning: ignoring option '-M'; no argument required
654
 
-      # The diagnosis changed in icc 8.0:
655
 
-      #   icc: Command line remark: option '-MP' not supported
656
 
-      if (grep 'ignoring option' conftest.err ||
657
 
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
658
 
-        am_cv_$1_dependencies_compiler_type=$depmode
659
 
-        break
 
552
+      else
660
553
+        gt_source="libc"
661
 
       fi
 
554
+      fi
662
555
+    else
663
556
+      gt_source="included intl directory"
664
 
     fi
665
 
-  done
 
557
+    fi
666
558
+    AC_MSG_RESULT([$gt_source])
667
559
+  fi
668
560
 
669
 
-  cd ..
670
 
-  rm -rf conftest.dir
671
 
-else
672
 
-  am_cv_$1_dependencies_compiler_type=none
 
561
-# AM_DEP_TRACK
 
562
-# ------------
 
563
-AC_DEFUN([AM_DEP_TRACK],
 
564
-[AC_ARG_ENABLE(dependency-tracking,
 
565
-[  --disable-dependency-tracking  speeds up one-time build
 
566
-  --enable-dependency-tracking   do not reject slow dependency extractors])
 
567
-if test "x$enable_dependency_tracking" != xno; then
 
568
-  am_depcomp="$ac_aux_dir/depcomp"
 
569
-  AMDEPBACKSLASH='\'
673
570
-fi
674
 
-])
675
 
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
676
 
-AM_CONDITIONAL([am__fastdep$1], [
677
 
-  test "x$enable_dependency_tracking" != xno \
678
 
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
679
 
-])
 
571
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 
572
-AC_SUBST([AMDEPBACKSLASH])dnl
 
573
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
574
-])
 
575
-
 
576
-# Generate code to set up dependency tracking.              -*- Autoconf -*-
680
577
+  if test "$USE_NLS" = "yes"; then
681
578
 
 
579
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
580
-# Free Software Foundation, Inc.
 
581
-#
 
582
-# This file is free software; the Free Software Foundation
 
583
-# gives unlimited permission to copy and/or distribute it,
 
584
-# with or without modifications, as long as this notice is preserved.
682
585
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
683
586
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
684
587
+        AC_MSG_CHECKING([how to link with libintl])
686
589
+        AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
687
590
+      fi
688
591
 
689
 
-# AM_SET_DEPDIR
690
 
-# -------------
691
 
-# Choose a directory name for dependency files.
692
 
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
693
 
-AC_DEFUN([AM_SET_DEPDIR],
694
 
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
695
 
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
696
 
-])
 
592
-#serial 3
697
593
+      dnl For backward compatibility. Some packages may be using this.
698
594
+      AC_DEFINE(HAVE_GETTEXT, 1,
699
595
+       [Define if the GNU gettext() function is already present or preinstalled.])
701
597
+       [Define if the GNU dcgettext() function is already present or preinstalled.])
702
598
+    fi
703
599
 
 
600
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
601
-# ------------------------------
 
602
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 
603
-[for mf in $CONFIG_FILES; do
 
604
-  # Strip MF so we end up with the name of the file.
 
605
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
606
-  # Check whether this is an Automake generated Makefile or not.
 
607
-  # We used to match only the files named `Makefile.in', but
 
608
-  # some people rename them; so instead we look at the file content.
 
609
-  # Grep'ing the first line is not enough: some people post-process
 
610
-  # each Makefile.in and add a new line on top of each file to say so.
 
611
-  # Grep'ing the whole file is not good either: AIX grep has a line
 
612
-  # limit of 2048, but all sed's we know have understand at least 4000.
 
613
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
614
-    dirpart=`AS_DIRNAME("$mf")`
 
615
-  else
 
616
-    continue
704
617
+    dnl We need to process the po/ directory.
705
618
+    POSUB=po
706
 
+  fi
 
619
   fi
 
620
-  # Extract the definition of DEPDIR, am__include, and am__quote
 
621
-  # from the Makefile without running `make'.
 
622
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
623
-  test -z "$DEPDIR" && continue
 
624
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
625
-  test -z "am__include" && continue
 
626
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
627
-  # When using ansi2knr, U may be empty or an underscore; expand it
 
628
-  U=`sed -n 's/^U = //p' < "$mf"`
 
629
-  # Find all dependency output files, they are included files with
 
630
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
631
-  # simplest approach to changing $(DEPDIR) to its actual value in the
 
632
-  # expansion.
 
633
-  for file in `sed -n "
 
634
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
635
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
636
-    # Make sure the directory exists.
 
637
-    test -f "$dirpart/$file" && continue
 
638
-    fdir=`AS_DIRNAME(["$file"])`
 
639
-    AS_MKDIR_P([$dirpart/$fdir])
 
640
-    # echo "creating $dirpart/$file"
 
641
-    echo '# dummy' > "$dirpart/$file"
 
642
-  done
 
643
-done
 
644
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
707
645
 
708
 
-# AM_DEP_TRACK
709
 
-# ------------
710
 
-AC_DEFUN([AM_DEP_TRACK],
711
 
-[AC_ARG_ENABLE(dependency-tracking,
712
 
-[  --disable-dependency-tracking  speeds up one-time build
713
 
-  --enable-dependency-tracking   do not reject slow dependency extractors])
714
 
-if test "x$enable_dependency_tracking" != xno; then
715
 
-  am_depcomp="$ac_aux_dir/depcomp"
716
 
-  AMDEPBACKSLASH='\'
717
 
-fi
718
 
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
719
 
-AC_SUBST([AMDEPBACKSLASH])dnl
720
 
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
721
 
-])
722
646
+  ifelse(gt_included_intl, yes, [
723
647
+    dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
724
648
+    dnl to 'yes' because some of the testsuite requires it.
726
650
+      BUILD_INCLUDED_LIBINTL=yes
727
651
+    fi
728
652
 
729
 
-# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
653
-# AM_OUTPUT_DEPENDENCY_COMMANDS
 
654
-# -----------------------------
 
655
-# This macro should only be invoked once -- use via AC_REQUIRE.
 
656
-#
 
657
-# This code is only required when automatic dependency tracking
 
658
-# is enabled.  FIXME.  This creates each `.P' file that we will
 
659
-# need in order to bootstrap the dependency handling code.
 
660
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 
661
-[AC_CONFIG_COMMANDS([depfiles],
 
662
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 
663
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 
664
-])
 
665
-
 
666
-# Do all the work for Automake.                             -*- Autoconf -*-
730
667
+    dnl Make all variables we use known to autoconf.
731
668
+    AC_SUBST(BUILD_INCLUDED_LIBINTL)
732
669
+    AC_SUBST(USE_INCLUDED_LIBINTL)
733
670
+    AC_SUBST(CATOBJEXT)
734
671
 
735
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
736
 
-# Free Software Foundation, Inc.
 
672
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
673
-# 2005, 2006, 2008 Free Software Foundation, Inc.
737
674
-#
738
675
-# This file is free software; the Free Software Foundation
739
676
-# gives unlimited permission to copy and/or distribute it,
742
679
+    nls_cv_header_intl=
743
680
+    nls_cv_header_libgt=
744
681
 
745
 
-#serial 3
 
682
-# serial 13
746
683
+    dnl For backward compatibility. Some Makefiles may be using this.
747
684
+    DATADIRNAME=share
748
685
+    AC_SUBST(DATADIRNAME)
749
686
 
750
 
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
751
 
-# ------------------------------
752
 
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
753
 
-[for mf in $CONFIG_FILES; do
754
 
-  # Strip MF so we end up with the name of the file.
755
 
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
756
 
-  # Check whether this is an Automake generated Makefile or not.
757
 
-  # We used to match only the files named `Makefile.in', but
758
 
-  # some people rename them; so instead we look at the file content.
759
 
-  # Grep'ing the first line is not enough: some people post-process
760
 
-  # each Makefile.in and add a new line on top of each file to say so.
761
 
-  # Grep'ing the whole file is not good either: AIX grep has a line
762
 
-  # limit of 2048, but all sed's we know have understand at least 4000.
763
 
-  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
764
 
-    dirpart=`AS_DIRNAME("$mf")`
765
 
-  else
766
 
-    continue
767
 
-  fi
768
 
-  # Extract the definition of DEPDIR, am__include, and am__quote
769
 
-  # from the Makefile without running `make'.
770
 
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
771
 
-  test -z "$DEPDIR" && continue
772
 
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
773
 
-  test -z "am__include" && continue
774
 
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
775
 
-  # When using ansi2knr, U may be empty or an underscore; expand it
776
 
-  U=`sed -n 's/^U = //p' < "$mf"`
777
 
-  # Find all dependency output files, they are included files with
778
 
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
779
 
-  # simplest approach to changing $(DEPDIR) to its actual value in the
780
 
-  # expansion.
781
 
-  for file in `sed -n "
782
 
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
783
 
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
784
 
-    # Make sure the directory exists.
785
 
-    test -f "$dirpart/$file" && continue
786
 
-    fdir=`AS_DIRNAME(["$file"])`
787
 
-    AS_MKDIR_P([$dirpart/$fdir])
788
 
-    # echo "creating $dirpart/$file"
789
 
-    echo '# dummy' > "$dirpart/$file"
790
 
-  done
791
 
-done
792
 
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
687
-# This macro actually does too much.  Some checks are only needed if
 
688
-# your package does certain things.  But this isn't really a big deal.
793
689
+    dnl For backward compatibility. Some Makefiles may be using this.
794
690
+    INSTOBJEXT=.mo
795
691
+    AC_SUBST(INSTOBJEXT)
796
692
 
 
693
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 
694
-# AM_INIT_AUTOMAKE([OPTIONS])
 
695
-# -----------------------------------------------
 
696
-# The call with PACKAGE and VERSION arguments is the old style
 
697
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
 
698
-# and VERSION should now be passed to AC_INIT and removed from
 
699
-# the call to AM_INIT_AUTOMAKE.
 
700
-# We support both call styles for the transition.  After
 
701
-# the next Automake release, Autoconf can make the AC_INIT
 
702
-# arguments mandatory, and then we can depend on a new Autoconf
 
703
-# release and drop the old call support.
 
704
-AC_DEFUN([AM_INIT_AUTOMAKE],
 
705
-[AC_PREREQ([2.60])dnl
 
706
-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 
707
-dnl the ones we care about.
 
708
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 
709
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 
710
-AC_REQUIRE([AC_PROG_INSTALL])dnl
 
711
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
712
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
713
-  # is not polluted with repeated "-I."
 
714
-  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
715
-  # test to see if srcdir already configured
 
716
-  if test -f $srcdir/config.status; then
 
717
-    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
718
-  fi
 
719
-fi
797
720
+    dnl For backward compatibility. Some Makefiles may be using this.
798
721
+    GENCAT=gencat
799
722
+    AC_SUBST(GENCAT)
800
723
 
801
 
-# AM_OUTPUT_DEPENDENCY_COMMANDS
802
 
-# -----------------------------
803
 
-# This macro should only be invoked once -- use via AC_REQUIRE.
804
 
-#
805
 
-# This code is only required when automatic dependency tracking
806
 
-# is enabled.  FIXME.  This creates each `.P' file that we will
807
 
-# need in order to bootstrap the dependency handling code.
808
 
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
809
 
-[AC_CONFIG_COMMANDS([depfiles],
810
 
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
811
 
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 
724
-# test whether we have cygpath
 
725
-if test -z "$CYGPATH_W"; then
 
726
-  if (cygpath --version) >/dev/null 2>/dev/null; then
 
727
-    CYGPATH_W='cygpath -w'
 
728
-  else
 
729
-    CYGPATH_W=echo
 
730
-  fi
 
731
-fi
 
732
-AC_SUBST([CYGPATH_W])
812
733
+    dnl For backward compatibility. Some Makefiles may be using this.
813
734
+    INTLOBJS=
814
735
+    if test "$USE_INCLUDED_LIBINTL" = yes; then
815
736
+      INTLOBJS="\$(GETTOBJS)"
816
737
+    fi
817
738
+    AC_SUBST(INTLOBJS)
818
 
+
 
739
 
 
740
-# Define the identity of the package.
 
741
-dnl Distinguish between old-style and new-style calls.
 
742
-m4_ifval([$2],
 
743
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
744
- AC_SUBST([PACKAGE], [$1])dnl
 
745
- AC_SUBST([VERSION], [$2])],
 
746
-[_AM_SET_OPTIONS([$1])dnl
 
747
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
748
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
749
-  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
 
750
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
751
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
819
752
+    dnl Enable libtool support if the surrounding package wishes it.
820
753
+    INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
821
754
+    AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
822
755
+  ])
823
 
+
 
756
 
 
757
-_AM_IF_OPTION([no-define],,
 
758
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
 
759
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
824
760
+  dnl For backward compatibility. Some Makefiles may be using this.
825
761
+  INTLLIBS="$LIBINTL"
826
762
+  AC_SUBST(INTLLIBS)
827
 
+
 
763
 
 
764
-# Some tools Automake needs.
 
765
-AC_REQUIRE([AM_SANITY_CHECK])dnl
 
766
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
 
767
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
 
768
-AM_MISSING_PROG(AUTOCONF, autoconf)
 
769
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 
770
-AM_MISSING_PROG(AUTOHEADER, autoheader)
 
771
-AM_MISSING_PROG(MAKEINFO, makeinfo)
 
772
-AM_PROG_INSTALL_SH
 
773
-AM_PROG_INSTALL_STRIP
 
774
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
775
-# We need awk for the "check" target.  The system "awk" is bad on
 
776
-# some platforms.
 
777
-AC_REQUIRE([AC_PROG_AWK])dnl
 
778
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
779
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
780
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 
781
-              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
782
-                            [_AM_PROG_TAR([v7])])])
 
783
-_AM_IF_OPTION([no-dependencies],,
 
784
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
 
785
-                  [_AM_DEPENDENCIES(CC)],
 
786
-                  [define([AC_PROG_CC],
 
787
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
788
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
789
-                  [_AM_DEPENDENCIES(CXX)],
 
790
-                  [define([AC_PROG_CXX],
 
791
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
792
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
793
-                  [_AM_DEPENDENCIES(OBJC)],
 
794
-                  [define([AC_PROG_OBJC],
 
795
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
828
796
+  dnl Make all documented variables known to autoconf.
829
797
+  AC_SUBST(LIBINTL)
830
798
+  AC_SUBST(LTLIBINTL)
831
799
+  AC_SUBST(POSUB)
832
800
 ])
833
 
 
834
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
835
 
-# Free Software Foundation, Inc.
836
 
-#
837
 
-# This file is free software; the Free Software Foundation
838
 
-# gives unlimited permission to copy and/or distribute it,
839
 
-# with or without modifications, as long as this notice is preserved.
840
 
 
841
 
-# serial 8
 
801
+
 
802
+
842
803
+dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
843
804
+m4_define([gt_NEEDS_INIT],
844
805
+[
845
806
+  m4_divert_text([DEFAULTS], [gt_needs=])
846
807
+  m4_define([gt_NEEDS_INIT], [])
847
 
+])
848
 
 
849
 
-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
850
 
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
851
 
 
852
 
-# Do all the work for Automake.                             -*- Autoconf -*-
 
808
 ])
 
809
 
 
810
 
 
811
-# When config.status generates a header, we must update the stamp-h file.
 
812
-# This file resides in the same directory as the config header
 
813
-# that is generated.  The stamp files are numbered to have different names.
853
814
+dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
854
815
+AC_DEFUN([AM_GNU_GETTEXT_NEED],
855
816
+[
856
817
+  m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
857
818
+])
858
819
 
859
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
860
 
-# 2005, 2006 Free Software Foundation, Inc.
 
820
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 
821
-# loop where config.status creates the headers, so we can generate
 
822
-# our stamp files there.
 
823
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 
824
-[# Compute $1's index in $config_headers.
 
825
-_am_arg=$1
 
826
-_am_stamp_count=1
 
827
-for _am_header in $config_headers :; do
 
828
-  case $_am_header in
 
829
-    $_am_arg | $_am_arg:* )
 
830
-      break ;;
 
831
-    * )
 
832
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
833
-  esac
 
834
-done
 
835
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
836
 
 
837
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
861
838
-#
862
839
-# This file is free software; the Free Software Foundation
863
840
-# gives unlimited permission to copy and/or distribute it,
864
841
-# with or without modifications, as long as this notice is preserved.
865
 
 
866
 
-# serial 12
867
842
+dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
868
843
+AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
869
844
 
870
 
-# This macro actually does too much.  Some checks are only needed if
871
 
-# your package does certain things.  But this isn't really a big deal.
 
845
-# AM_PROG_INSTALL_SH
 
846
-# ------------------
 
847
-# Define $install_sh.
 
848
-AC_DEFUN([AM_PROG_INSTALL_SH],
 
849
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
850
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
851
-AC_SUBST(install_sh)])
872
852
+# iconv.m4 serial AM6 (gettext-0.17)
873
853
+dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
874
854
+dnl This file is free software; the Free Software Foundation
875
855
+dnl gives unlimited permission to copy and/or distribute it,
876
856
+dnl with or without modifications, as long as this notice is preserved.
877
857
 
878
 
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
879
 
-# AM_INIT_AUTOMAKE([OPTIONS])
880
 
-# -----------------------------------------------
881
 
-# The call with PACKAGE and VERSION arguments is the old style
882
 
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
883
 
-# and VERSION should now be passed to AC_INIT and removed from
884
 
-# the call to AM_INIT_AUTOMAKE.
885
 
-# We support both call styles for the transition.  After
886
 
-# the next Automake release, Autoconf can make the AC_INIT
887
 
-# arguments mandatory, and then we can depend on a new Autoconf
888
 
-# release and drop the old call support.
889
 
-AC_DEFUN([AM_INIT_AUTOMAKE],
890
 
-[AC_PREREQ([2.60])dnl
891
 
-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
892
 
-dnl the ones we care about.
893
 
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
894
 
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
895
 
-AC_REQUIRE([AC_PROG_INSTALL])dnl
896
 
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
897
 
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
898
 
-  # is not polluted with repeated "-I."
899
 
-  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
900
 
-  # test to see if srcdir already configured
901
 
-  if test -f $srcdir/config.status; then
902
 
-    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
903
 
-  fi
904
 
-fi
 
858
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
859
-#
 
860
-# This file is free software; the Free Software Foundation
 
861
-# gives unlimited permission to copy and/or distribute it,
 
862
-# with or without modifications, as long as this notice is preserved.
905
863
+dnl From Bruno Haible.
906
864
 
907
 
-# test whether we have cygpath
908
 
-if test -z "$CYGPATH_W"; then
909
 
-  if (cygpath --version) >/dev/null 2>/dev/null; then
910
 
-    CYGPATH_W='cygpath -w'
911
 
-  else
912
 
-    CYGPATH_W=echo
913
 
-  fi
914
 
-fi
915
 
-AC_SUBST([CYGPATH_W])
 
865
-# serial 2
916
866
+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
917
867
+[
918
868
+  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
919
869
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
920
870
+  AC_REQUIRE([AC_LIB_RPATH])
921
871
 
922
 
-# Define the identity of the package.
923
 
-dnl Distinguish between old-style and new-style calls.
924
 
-m4_ifval([$2],
925
 
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
926
 
- AC_SUBST([PACKAGE], [$1])dnl
927
 
- AC_SUBST([VERSION], [$2])],
928
 
-[_AM_SET_OPTIONS([$1])dnl
929
 
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
930
 
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
931
 
-  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
932
 
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
933
 
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 
872
-# Check whether the underlying file-system supports filenames
 
873
-# with a leading dot.  For instance MS-DOS doesn't.
 
874
-AC_DEFUN([AM_SET_LEADING_DOT],
 
875
-[rm -rf .tst 2>/dev/null
 
876
-mkdir .tst 2>/dev/null
 
877
-if test -d .tst; then
 
878
-  am__leading_dot=.
 
879
-else
 
880
-  am__leading_dot=_
 
881
-fi
 
882
-rmdir .tst 2>/dev/null
 
883
-AC_SUBST([am__leading_dot])])
934
884
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
935
885
+  dnl accordingly.
936
886
+  AC_LIB_LINKFLAGS_BODY([iconv])
937
887
+])
938
888
 
939
 
-_AM_IF_OPTION([no-define],,
940
 
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
941
 
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
889
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 
890
-# 2006  Free Software Foundation, Inc.
 
891
-#
 
892
-# This file is free software; the Free Software Foundation
 
893
-# gives unlimited permission to copy and/or distribute it,
 
894
-# with or without modifications, as long as this notice is preserved.
942
895
+AC_DEFUN([AM_ICONV_LINK],
943
896
+[
944
897
+  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
945
898
+  dnl those with the standalone portable GNU libiconv installed).
946
899
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
947
900
 
948
 
-# Some tools Automake needs.
949
 
-AC_REQUIRE([AM_SANITY_CHECK])dnl
950
 
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
951
 
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
952
 
-AM_MISSING_PROG(AUTOCONF, autoconf)
953
 
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
954
 
-AM_MISSING_PROG(AUTOHEADER, autoheader)
955
 
-AM_MISSING_PROG(MAKEINFO, makeinfo)
956
 
-AM_PROG_INSTALL_SH
957
 
-AM_PROG_INSTALL_STRIP
958
 
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
959
 
-# We need awk for the "check" target.  The system "awk" is bad on
960
 
-# some platforms.
961
 
-AC_REQUIRE([AC_PROG_AWK])dnl
962
 
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
963
 
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
964
 
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
965
 
-              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
966
 
-                            [_AM_PROG_TAR([v7])])])
967
 
-_AM_IF_OPTION([no-dependencies],,
968
 
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
969
 
-                  [_AM_DEPENDENCIES(CC)],
970
 
-                  [define([AC_PROG_CC],
971
 
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
972
 
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
973
 
-                  [_AM_DEPENDENCIES(CXX)],
974
 
-                  [define([AC_PROG_CXX],
975
 
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
976
 
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
977
 
-                  [_AM_DEPENDENCIES(OBJC)],
978
 
-                  [define([AC_PROG_OBJC],
979
 
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
901
-# serial 10
980
902
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
981
903
+  dnl accordingly.
982
904
+  AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
983
 
+
 
905
 
 
906
-# AM_PATH_LISPDIR
 
907
-# ---------------
 
908
-AC_DEFUN([AM_PATH_LISPDIR],
 
909
-[AC_PREREQ([2.60])dnl
 
910
- # If set to t, that means we are running in a shell under Emacs.
 
911
- # If you have an Emacs named "t", then use the full path.
 
912
- test x"$EMACS" = xt && EMACS=
 
913
- AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
 
914
- AC_ARG_VAR([EMACS], [the Emacs editor command])
 
915
- AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
 
916
- AC_ARG_WITH([lispdir],
 
917
- [  --with-lispdir          override the default lisp directory],
 
918
- [ lispdir="$withval"
 
919
-   AC_MSG_CHECKING([where .elc files should go])
 
920
-   AC_MSG_RESULT([$lispdir])],
 
921
- [
 
922
- AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [
 
923
-   if test $EMACS != "no"; then
 
924
-     if test x${lispdir+set} != xset; then
 
925
-  # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
 
926
-  # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
 
927
-  #  which is non-obvious for non-emacs users.
 
928
-  # Redirecting /dev/null should help a bit; pity we can't detect "broken"
 
929
-  #  emacsen earlier and avoid running this altogether.
 
930
-  AC_RUN_LOG([$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
 
931
-       am_cv_lispdir=`sed -n \
 
932
-       -e 's,/$,,' \
 
933
-       -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
 
934
-       -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
 
935
-       conftest.out`
 
936
-       rm conftest.out
 
937
-     fi
 
938
-   fi
 
939
-   test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
984
940
+  dnl Add $INCICONV to CPPFLAGS before performing the following checks,
985
941
+  dnl because if the user has installed libiconv and not disabled its use
986
942
+  dnl via --without-libiconv-prefix, he wants to use it. The first
1009
965
+        am_cv_func_iconv=yes)
1010
966
+      LIBS="$am_save_LIBS"
1011
967
+    fi
1012
 
+  ])
 
968
   ])
 
969
-  lispdir="$am_cv_lispdir"
1013
970
+  if test "$am_cv_func_iconv" = yes; then
1014
971
+    AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [
1015
972
+      dnl This tests against bugs in AIX 5.1 and HP-UX 11.11.
1104
1061
+  AC_SUBST(LIBICONV)
1105
1062
+  AC_SUBST(LTLIBICONV)
1106
1063
 ])
1107
 
+
 
1064
-AC_SUBST([lispdir])
 
1065
-])# AM_PATH_LISPDIR
 
1066
-
 
1067
-AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
 
1068
-
 
1069
-# Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
1070
 
 
1071
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
1072
-#
 
1073
-# This file is free software; the Free Software Foundation
 
1074
-# gives unlimited permission to copy and/or distribute it,
 
1075
-# with or without modifications, as long as this notice is preserved.
1108
1076
+AC_DEFUN([AM_ICONV],
1109
1077
+[
1110
1078
+  AM_ICONV_LINK
1131
1099
+    AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
1132
1100
+      [Define as const if the declaration of iconv() needs const.])
1133
1101
+  fi
1134
 
 ])
 
1102
+])
1135
1103
 
 
1104
-# serial 3
1136
1105
+# intlmacosx.m4 serial 1 (gettext-0.17)
1137
1106
+dnl Copyright (C) 2004-2007 Free Software Foundation, Inc.
1138
1107
+dnl This file is free software; the Free Software Foundation
1148
1117
+dnl gettext package package is covered by the GNU General Public License.
1149
1118
+dnl They are *not* in the public domain.
1150
1119
 
1151
 
-# When config.status generates a header, we must update the stamp-h file.
1152
 
-# This file resides in the same directory as the config header
1153
 
-# that is generated.  The stamp files are numbered to have different names.
 
1120
-# AM_MAKE_INCLUDE()
 
1121
-# -----------------
 
1122
-# Check to see how make treats includes.
 
1123
-AC_DEFUN([AM_MAKE_INCLUDE],
 
1124
-[am_make=${MAKE-make}
 
1125
-cat > confinc << 'END'
 
1126
-am__doit:
 
1127
-       @echo done
 
1128
-.PHONY: am__doit
 
1129
-END
 
1130
-# If we don't find an include directive, just comment out the code.
 
1131
-AC_MSG_CHECKING([for style of include used by $am_make])
 
1132
-am__include="#"
 
1133
-am__quote=
 
1134
-_am_result=none
 
1135
-# First try GNU make style include.
 
1136
-echo "include confinc" > confmf
 
1137
-# We grep out `Entering directory' and `Leaving directory'
 
1138
-# messages which can occur if `w' ends up in MAKEFLAGS.
 
1139
-# In particular we don't look at `^make:' because GNU make might
 
1140
-# be invoked under some other name (usually "gmake"), in which
 
1141
-# case it prints its new name instead of `make'.
 
1142
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
1143
-   am__include=include
 
1144
-   am__quote=
 
1145
-   _am_result=GNU
 
1146
-fi
 
1147
-# Now try BSD make style include.
 
1148
-if test "$am__include" = "#"; then
 
1149
-   echo '.include "confinc"' > confmf
 
1150
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
1151
-      am__include=.include
 
1152
-      am__quote="\""
 
1153
-      _am_result=BSD
 
1154
-   fi
 
1155
-fi
 
1156
-AC_SUBST([am__include])
 
1157
-AC_SUBST([am__quote])
 
1158
-AC_MSG_RESULT([$_am_result])
 
1159
-rm -f confinc confmf
1154
1160
+dnl Checks for special options needed on MacOS X.
1155
1161
+dnl Defines INTL_MACOSX_LIBS.
1156
1162
+AC_DEFUN([gt_INTL_MACOSX],
1186
1192
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
1187
1193
+  fi
1188
1194
+  AC_SUBST([INTL_MACOSX_LIBS])
1189
 
+])
 
1195
 ])
1190
1196
 
1191
 
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1192
 
-# loop where config.status creates the headers, so we can generate
1193
 
-# our stamp files there.
1194
 
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1195
 
-[# Compute $1's index in $config_headers.
1196
 
-_am_stamp_count=1
1197
 
-for _am_header in $config_headers :; do
1198
 
-  case $_am_header in
1199
 
-    $1 | $1:* )
1200
 
-      break ;;
1201
 
-    * )
1202
 
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1203
 
-  esac
1204
 
-done
1205
 
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
1197
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
1198
-# Free Software Foundation, Inc.
 
1199
-#
 
1200
-# This file is free software; the Free Software Foundation
 
1201
-# gives unlimited permission to copy and/or distribute it,
 
1202
-# with or without modifications, as long as this notice is preserved.
1206
1203
+# lib-ld.m4 serial 3 (gettext-0.13)
1207
1204
+dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1208
1205
+dnl This file is free software; the Free Software Foundation
1209
1206
+dnl gives unlimited permission to copy and/or distribute it,
1210
1207
+dnl with or without modifications, as long as this notice is preserved.
1211
1208
 
1212
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1213
 
-#
1214
 
-# This file is free software; the Free Software Foundation
1215
 
-# gives unlimited permission to copy and/or distribute it,
1216
 
-# with or without modifications, as long as this notice is preserved.
 
1209
-# serial 5
1217
1210
+dnl Subroutines of libtool.m4,
1218
1211
+dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
1219
1212
+dnl with libtool.m4.
1220
1213
 
1221
 
-# AM_PROG_INSTALL_SH
1222
 
-# ------------------
1223
 
-# Define $install_sh.
1224
 
-AC_DEFUN([AM_PROG_INSTALL_SH],
1225
 
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1226
 
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1227
 
-AC_SUBST(install_sh)])
1228
 
-
1229
 
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1230
 
-#
1231
 
-# This file is free software; the Free Software Foundation
1232
 
-# gives unlimited permission to copy and/or distribute it,
1233
 
-# with or without modifications, as long as this notice is preserved.
1234
 
-
1235
 
-# serial 2
 
1214
-# AM_PROG_CC_C_O
 
1215
-# --------------
 
1216
-# Like AC_PROG_CC_C_O, but changed for automake.
 
1217
-AC_DEFUN([AM_PROG_CC_C_O],
 
1218
-[AC_REQUIRE([AC_PROG_CC_C_O])dnl
 
1219
-AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
1220
-AC_REQUIRE_AUX_FILE([compile])dnl
 
1221
-# FIXME: we rely on the cache variable name because
 
1222
-# there is no other way.
 
1223
-set dummy $CC
 
1224
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
1225
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
1226
-   # Losing compiler, so override with the script.
 
1227
-   # FIXME: It is wrong to rewrite CC.
 
1228
-   # But if we don't then we get into trouble of one sort or another.
 
1229
-   # A longer-term fix would be to have automake use am__CC in this case,
 
1230
-   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
1231
-   CC="$am_aux_dir/compile $CC"
 
1232
-fi
 
1233
-dnl Make sure AC_PROG_CC is never called again, or it will override our
 
1234
-dnl setting of CC.
 
1235
-m4_define([AC_PROG_CC],
 
1236
-          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1236
1237
+dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
1237
1238
+AC_DEFUN([AC_LIB_PROG_LD_GNU],
1238
1239
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
1244
1245
+  acl_cv_prog_gnu_ld=no ;;
1245
1246
+esac])
1246
1247
+with_gnu_ld=$acl_cv_prog_gnu_ld
1247
 
+])
 
1248
 ])
1248
1249
 
1249
 
-# Check whether the underlying file-system supports filenames
1250
 
-# with a leading dot.  For instance MS-DOS doesn't.
1251
 
-AC_DEFUN([AM_SET_LEADING_DOT],
1252
 
-[rm -rf .tst 2>/dev/null
1253
 
-mkdir .tst 2>/dev/null
1254
 
-if test -d .tst; then
1255
 
-  am__leading_dot=.
 
1250
-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
1251
-
 
1252
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
1253
-# Free Software Foundation, Inc.
 
1254
-#
 
1255
-# This file is free software; the Free Software Foundation
 
1256
-# gives unlimited permission to copy and/or distribute it,
 
1257
-# with or without modifications, as long as this notice is preserved.
 
1258
-
 
1259
-# serial 5
 
1260
-
 
1261
-# AM_MISSING_PROG(NAME, PROGRAM)
 
1262
-# ------------------------------
 
1263
-AC_DEFUN([AM_MISSING_PROG],
 
1264
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
 
1265
-$1=${$1-"${am_missing_run}$2"}
 
1266
-AC_SUBST($1)])
 
1267
-
 
1268
-
 
1269
-# AM_MISSING_HAS_RUN
 
1270
-# ------------------
 
1271
-# Define MISSING if not defined so far and test if it supports --run.
 
1272
-# If it does, set am_missing_run to use it, otherwise, to nothing.
 
1273
-AC_DEFUN([AM_MISSING_HAS_RUN],
 
1274
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
1275
-AC_REQUIRE_AUX_FILE([missing])dnl
 
1276
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1277
-# Use eval to expand $SHELL
 
1278
-if eval "$MISSING --run true"; then
 
1279
-  am_missing_run="$MISSING --run "
1256
1280
+dnl From libtool-1.4. Sets the variable LD.
1257
1281
+AC_DEFUN([AC_LIB_PROG_LD],
1258
1282
+[AC_ARG_WITH(gnu-ld,
1307
1331
+elif test "$with_gnu_ld" = yes; then
1308
1332
+  AC_MSG_CHECKING([for GNU ld])
1309
1333
 else
1310
 
-  am__leading_dot=_
 
1334
-  am_missing_run=
 
1335
-  AC_MSG_WARN([`missing' script is too old or missing])
1311
1336
+  AC_MSG_CHECKING([for non-GNU ld])
1312
 
 fi
1313
 
-rmdir .tst 2>/dev/null
1314
 
-AC_SUBST([am__leading_dot])])
1315
 
-
1316
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
1317
 
-# 2006  Free Software Foundation, Inc.
1318
 
-#
1319
 
-# This file is free software; the Free Software Foundation
1320
 
-# gives unlimited permission to copy and/or distribute it,
1321
 
-# with or without modifications, as long as this notice is preserved.
1322
 
-
1323
 
-# serial 10
1324
 
-
1325
 
-# AM_PATH_LISPDIR
1326
 
-# ---------------
1327
 
-AC_DEFUN([AM_PATH_LISPDIR],
1328
 
-[AC_PREREQ([2.60])dnl
1329
 
- # If set to t, that means we are running in a shell under Emacs.
1330
 
- # If you have an Emacs named "t", then use the full path.
1331
 
- test x"$EMACS" = xt && EMACS=
1332
 
- AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
1333
 
- AC_ARG_VAR([EMACS], [the Emacs editor command])
1334
 
- AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
1335
 
- AC_ARG_WITH([lispdir],
1336
 
- [  --with-lispdir          override the default lisp directory],
1337
 
- [ lispdir="$withval"
1338
 
-   AC_MSG_CHECKING([where .elc files should go])
1339
 
-   AC_MSG_RESULT([$lispdir])],
1340
 
- [
1341
 
- AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [
1342
 
-   if test $EMACS != "no"; then
1343
 
-     if test x${lispdir+set} != xset; then
1344
 
-  # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
1345
 
-  # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
1346
 
-  #  which is non-obvious for non-emacs users.
1347
 
-  # Redirecting /dev/null should help a bit; pity we can't detect "broken"
1348
 
-  #  emacsen earlier and avoid running this altogether.
1349
 
-  AC_RUN_LOG([$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
1350
 
-       am_cv_lispdir=`sed -n \
1351
 
-       -e 's,/$,,' \
1352
 
-       -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
1353
 
-       -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
1354
 
-       conftest.out`
1355
 
-       rm conftest.out
1356
 
-     fi
1357
 
-   fi
1358
 
-   test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
1359
 
-  ])
1360
 
-  lispdir="$am_cv_lispdir"
 
1337
+fi
1361
1338
+AC_CACHE_VAL(acl_cv_path_LD,
1362
1339
+[if test -z "$LD"; then
1363
1340
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1385
1362
+  AC_MSG_RESULT($LD)
1386
1363
+else
1387
1364
+  AC_MSG_RESULT(no)
1388
 
+fi
 
1365
 fi
1389
1366
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1390
1367
+AC_LIB_PROG_LD_GNU
1391
1368
 ])
1392
 
-AC_SUBST([lispdir])
1393
 
-])# AM_PATH_LISPDIR
1394
1369
 
1395
 
-AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
 
1370
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
1371
-#
 
1372
-# This file is free software; the Free Software Foundation
 
1373
-# gives unlimited permission to copy and/or distribute it,
 
1374
-# with or without modifications, as long as this notice is preserved.
 
1375
-
 
1376
-# AM_PROG_MKDIR_P
 
1377
-# ---------------
 
1378
-# Check for `mkdir -p'.
 
1379
-AC_DEFUN([AM_PROG_MKDIR_P],
 
1380
-[AC_PREREQ([2.60])dnl
 
1381
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
1382
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
1383
-dnl while keeping a definition of mkdir_p for backward compatibility.
 
1384
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
1385
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
1386
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
1387
-dnl adjustment using top_builddir (which is defined more often than
 
1388
-dnl MKDIR_P).
 
1389
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
1390
-case $mkdir_p in
 
1391
-  [[\\/$]]* | ?:[[\\/]]*) ;;
 
1392
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
1393
-esac
 
1394
-])
 
1395
-
 
1396
-# Helper functions for option handling.                     -*- Autoconf -*-
 
1397
-
 
1398
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
1399
-#
 
1400
-# This file is free software; the Free Software Foundation
 
1401
-# gives unlimited permission to copy and/or distribute it,
 
1402
-# with or without modifications, as long as this notice is preserved.
 
1403
-
 
1404
-# serial 3
 
1405
-
 
1406
-# _AM_MANGLE_OPTION(NAME)
 
1407
-# -----------------------
 
1408
-AC_DEFUN([_AM_MANGLE_OPTION],
 
1409
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
1410
-
 
1411
-# _AM_SET_OPTION(NAME)
 
1412
-# ------------------------------
 
1413
-# Set option NAME.  Presently that only means defining a flag for this option.
 
1414
-AC_DEFUN([_AM_SET_OPTION],
 
1415
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
1416
-
 
1417
-# _AM_SET_OPTIONS(OPTIONS)
 
1418
-# ----------------------------------
 
1419
-# OPTIONS is a space-separated list of Automake options.
 
1420
-AC_DEFUN([_AM_SET_OPTIONS],
 
1421
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1396
1422
+# lib-link.m4 serial 13 (gettext-0.17)
1397
1423
+dnl Copyright (C) 2001-2007 Free Software Foundation, Inc.
1398
1424
+dnl This file is free software; the Free Software Foundation
1399
1425
+dnl gives unlimited permission to copy and/or distribute it,
1400
1426
+dnl with or without modifications, as long as this notice is preserved.
1401
1427
 
1402
 
-# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
1403
 
-# From Jim Meyering
 
1428
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 
1429
-# -------------------------------------------
 
1430
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
1431
-AC_DEFUN([_AM_IF_OPTION],
 
1432
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1404
1433
+dnl From Bruno Haible.
1405
1434
 
1406
 
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1407
 
-# Free Software Foundation, Inc.
1408
 
-#
1409
 
-# This file is free software; the Free Software Foundation
1410
 
-# gives unlimited permission to copy and/or distribute it,
1411
 
-# with or without modifications, as long as this notice is preserved.
 
1435
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1412
1436
+AC_PREREQ(2.54)
1413
1437
 
1414
 
-# serial 4
 
1438
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
1439
-# Free Software Foundation, Inc.
 
1440
-#
 
1441
-# This file is free software; the Free Software Foundation
 
1442
-# gives unlimited permission to copy and/or distribute it,
 
1443
-# with or without modifications, as long as this notice is preserved.
1415
1444
+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1416
1445
+dnl the libraries corresponding to explicit and implicit dependencies.
1417
1446
+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1447
1476
+  undefine([NAME])
1448
1477
+])
1449
1478
 
1450
 
-AC_DEFUN([AM_MAINTAINER_MODE],
1451
 
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1452
 
-  dnl maintainer-mode is disabled by default
1453
 
-  AC_ARG_ENABLE(maintainer-mode,
1454
 
-[  --enable-maintainer-mode  enable make rules and dependencies not useful
1455
 
-                         (and sometimes confusing) to the casual installer],
1456
 
-      USE_MAINTAINER_MODE=$enableval,
1457
 
-      USE_MAINTAINER_MODE=no)
1458
 
-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1459
 
-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1460
 
-  MAINT=$MAINTAINER_MODE_TRUE
1461
 
-  AC_SUBST(MAINT)dnl
1462
 
-]
1463
 
-)
 
1479
-# serial 4
1464
1480
+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
1465
1481
+dnl searches for libname and the libraries corresponding to explicit and
1466
1482
+dnl implicit dependencies, together with the specified include files and
1479
1495
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1480
1496
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1481
1497
 
1482
 
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
1498
-# AM_SANITY_CHECK
 
1499
-# ---------------
 
1500
-AC_DEFUN([AM_SANITY_CHECK],
 
1501
-[AC_MSG_CHECKING([whether build environment is sane])
 
1502
-# Just in case
 
1503
-sleep 1
 
1504
-echo timestamp > conftest.file
 
1505
-# Do `set' in a subshell so we don't clobber the current shell's
 
1506
-# arguments.  Must try -L first in case configure is actually a
 
1507
-# symlink; some systems play weird games with the mod time of symlinks
 
1508
-# (eg FreeBSD returns the mod time of the symlink's containing
 
1509
-# directory).
 
1510
-if (
 
1511
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1512
-   if test "$[*]" = "X"; then
 
1513
-      # -L didn't work.
 
1514
-      set X `ls -t $srcdir/configure conftest.file`
 
1515
-   fi
 
1516
-   rm -f conftest.file
 
1517
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
1518
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1483
1519
+  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1484
1520
+  dnl accordingly.
1485
1521
+  AC_LIB_LINKFLAGS_BODY([$1], [$2])
1486
1522
 
1487
 
-# Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
1523
-      # If neither matched, then we have a broken ls.  This can happen
 
1524
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
1525
-      # broken ls alias from the environment.  This has actually
 
1526
-      # happened.  Such a system could not be considered "sane".
 
1527
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
1528
-alias in your environment])
 
1529
-   fi
1488
1530
+  dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1489
1531
+  dnl because if the user has installed lib[]Name and not disabled its use
1490
1532
+  dnl via --without-lib[]Name-prefix, he wants to use it.
1491
1533
+  ac_save_CPPFLAGS="$CPPFLAGS"
1492
1534
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1493
1535
 
1494
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1495
 
-#
1496
 
-# This file is free software; the Free Software Foundation
1497
 
-# gives unlimited permission to copy and/or distribute it,
1498
 
-# with or without modifications, as long as this notice is preserved.
1499
 
-
1500
 
-# serial 3
1501
 
-
1502
 
-# AM_MAKE_INCLUDE()
1503
 
-# -----------------
1504
 
-# Check to see how make treats includes.
1505
 
-AC_DEFUN([AM_MAKE_INCLUDE],
1506
 
-[am_make=${MAKE-make}
1507
 
-cat > confinc << 'END'
1508
 
-am__doit:
1509
 
-       @echo done
1510
 
-.PHONY: am__doit
1511
 
-END
1512
 
-# If we don't find an include directive, just comment out the code.
1513
 
-AC_MSG_CHECKING([for style of include used by $am_make])
1514
 
-am__include="#"
1515
 
-am__quote=
1516
 
-_am_result=none
1517
 
-# First try GNU make style include.
1518
 
-echo "include confinc" > confmf
1519
 
-# We grep out `Entering directory' and `Leaving directory'
1520
 
-# messages which can occur if `w' ends up in MAKEFLAGS.
1521
 
-# In particular we don't look at `^make:' because GNU make might
1522
 
-# be invoked under some other name (usually "gmake"), in which
1523
 
-# case it prints its new name instead of `make'.
1524
 
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1525
 
-   am__include=include
1526
 
-   am__quote=
1527
 
-   _am_result=GNU
1528
 
-fi
1529
 
-# Now try BSD make style include.
1530
 
-if test "$am__include" = "#"; then
1531
 
-   echo '.include "confinc"' > confmf
1532
 
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1533
 
-      am__include=.include
1534
 
-      am__quote="\""
1535
 
-      _am_result=BSD
1536
 
-   fi
1537
 
-fi
1538
 
-AC_SUBST([am__include])
1539
 
-AC_SUBST([am__quote])
1540
 
-AC_MSG_RESULT([$_am_result])
1541
 
-rm -f confinc confmf
1542
 
-])
1543
 
-
1544
 
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
1545
 
-# Free Software Foundation, Inc.
1546
 
-#
1547
 
-# This file is free software; the Free Software Foundation
1548
 
-# gives unlimited permission to copy and/or distribute it,
1549
 
-# with or without modifications, as long as this notice is preserved.
1550
 
-
1551
 
-# serial 5
1552
 
-
1553
 
-# AM_PROG_CC_C_O
1554
 
-# --------------
1555
 
-# Like AC_PROG_CC_C_O, but changed for automake.
1556
 
-AC_DEFUN([AM_PROG_CC_C_O],
1557
 
-[AC_REQUIRE([AC_PROG_CC_C_O])dnl
1558
 
-AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1559
 
-AC_REQUIRE_AUX_FILE([compile])dnl
1560
 
-# FIXME: we rely on the cache variable name because
1561
 
-# there is no other way.
1562
 
-set dummy $CC
1563
 
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1564
 
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
1565
 
-   # Losing compiler, so override with the script.
1566
 
-   # FIXME: It is wrong to rewrite CC.
1567
 
-   # But if we don't then we get into trouble of one sort or another.
1568
 
-   # A longer-term fix would be to have automake use am__CC in this case,
1569
 
-   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1570
 
-   CC="$am_aux_dir/compile $CC"
1571
 
-fi
1572
 
-dnl Make sure AC_PROG_CC is never called again, or it will override our
1573
 
-dnl setting of CC.
1574
 
-m4_define([AC_PROG_CC],
1575
 
-          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
 
1536
-   test "$[2]" = conftest.file
 
1537
-   )
 
1538
-then
 
1539
-   # Ok.
 
1540
-   :
 
1541
-else
 
1542
-   AC_MSG_ERROR([newly created file is older than distributed files!
 
1543
-Check your system clock])
 
1544
-fi
 
1545
-AC_MSG_RESULT(yes)])
1576
1546
+  AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1577
1547
+    ac_save_LIBS="$LIBS"
1578
1548
+    LIBS="$LIBS $LIB[]NAME"
1599
1569
+  AC_SUBST([LIB]NAME[_PREFIX])
1600
1570
+  undefine([Name])
1601
1571
+  undefine([NAME])
1602
 
 ])
 
1572
+])
1603
1573
 
1604
 
-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1605
 
-
1606
 
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1607
 
-# Free Software Foundation, Inc.
 
1574
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1608
1575
-#
1609
1576
-# This file is free software; the Free Software Foundation
1610
1577
-# gives unlimited permission to copy and/or distribute it,
1611
1578
-# with or without modifications, as long as this notice is preserved.
1612
 
-
1613
 
-# serial 5
1614
 
-
1615
 
-# AM_MISSING_PROG(NAME, PROGRAM)
1616
 
-# ------------------------------
1617
 
-AC_DEFUN([AM_MISSING_PROG],
1618
 
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
1619
 
-$1=${$1-"${am_missing_run}$2"}
1620
 
-AC_SUBST($1)])
1621
 
-
1622
 
-
1623
 
-# AM_MISSING_HAS_RUN
1624
 
-# ------------------
1625
 
-# Define MISSING if not defined so far and test if it supports --run.
1626
 
-# If it does, set am_missing_run to use it, otherwise, to nothing.
1627
 
-AC_DEFUN([AM_MISSING_HAS_RUN],
1628
 
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1629
 
-AC_REQUIRE_AUX_FILE([missing])dnl
1630
 
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1631
 
-# Use eval to expand $SHELL
1632
 
-if eval "$MISSING --run true"; then
1633
 
-  am_missing_run="$MISSING --run "
1634
 
-else
1635
 
-  am_missing_run=
1636
 
-  AC_MSG_WARN([`missing' script is too old or missing])
1637
 
-fi
1638
1579
+dnl Determine the platform dependent parameters needed to use rpath:
1639
1580
+dnl   acl_libext,
1640
1581
+dnl   acl_shlibext,
1670
1611
+  AC_ARG_ENABLE(rpath,
1671
1612
+    [  --disable-rpath         do not hardcode runtime library paths],
1672
1613
+    :, enable_rpath=yes)
1673
 
 ])
 
1614
+])
1674
1615
 
1675
 
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
1676
 
-#
1677
 
-# This file is free software; the Free Software Foundation
1678
 
-# gives unlimited permission to copy and/or distribute it,
1679
 
-# with or without modifications, as long as this notice is preserved.
1680
 
-
1681
 
-# AM_PROG_MKDIR_P
1682
 
-# ---------------
1683
 
-# Check for `mkdir -p'.
1684
 
-AC_DEFUN([AM_PROG_MKDIR_P],
1685
 
-[AC_PREREQ([2.60])dnl
1686
 
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1687
 
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1688
 
-dnl while keeping a definition of mkdir_p for backward compatibility.
1689
 
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1690
 
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1691
 
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
1692
 
-dnl adjustment using top_builddir (which is defined more often than
1693
 
-dnl MKDIR_P).
1694
 
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1695
 
-case $mkdir_p in
1696
 
-  [[\\/$]]* | ?:[[\\/]]*) ;;
1697
 
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1698
 
-esac
1699
 
-])
1700
 
-
1701
 
-# Helper functions for option handling.                     -*- Autoconf -*-
1702
 
-
1703
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1704
 
-#
1705
 
-# This file is free software; the Free Software Foundation
1706
 
-# gives unlimited permission to copy and/or distribute it,
1707
 
-# with or without modifications, as long as this notice is preserved.
1708
 
-
1709
 
-# serial 3
1710
 
-
1711
 
-# _AM_MANGLE_OPTION(NAME)
1712
 
-# -----------------------
1713
 
-AC_DEFUN([_AM_MANGLE_OPTION],
1714
 
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1715
 
-
1716
 
-# _AM_SET_OPTION(NAME)
1717
 
-# ------------------------------
1718
 
-# Set option NAME.  Presently that only means defining a flag for this option.
1719
 
-AC_DEFUN([_AM_SET_OPTION],
1720
 
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1721
 
-
1722
 
-# _AM_SET_OPTIONS(OPTIONS)
1723
 
-# ----------------------------------
1724
 
-# OPTIONS is a space-separated list of Automake options.
1725
 
-AC_DEFUN([_AM_SET_OPTIONS],
1726
 
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1727
 
-
1728
 
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1729
 
-# -------------------------------------------
1730
 
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1731
 
-AC_DEFUN([_AM_IF_OPTION],
1732
 
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1733
 
-
1734
 
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1735
 
-
1736
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1737
 
-# Free Software Foundation, Inc.
1738
 
-#
1739
 
-# This file is free software; the Free Software Foundation
1740
 
-# gives unlimited permission to copy and/or distribute it,
1741
 
-# with or without modifications, as long as this notice is preserved.
1742
 
-
1743
 
-# serial 4
1744
 
-
1745
 
-# AM_SANITY_CHECK
1746
 
-# ---------------
1747
 
-AC_DEFUN([AM_SANITY_CHECK],
1748
 
-[AC_MSG_CHECKING([whether build environment is sane])
1749
 
-# Just in case
1750
 
-sleep 1
1751
 
-echo timestamp > conftest.file
1752
 
-# Do `set' in a subshell so we don't clobber the current shell's
1753
 
-# arguments.  Must try -L first in case configure is actually a
1754
 
-# symlink; some systems play weird games with the mod time of symlinks
1755
 
-# (eg FreeBSD returns the mod time of the symlink's containing
1756
 
-# directory).
1757
 
-if (
1758
 
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1759
 
-   if test "$[*]" = "X"; then
1760
 
-      # -L didn't work.
1761
 
-      set X `ls -t $srcdir/configure conftest.file`
1762
 
-   fi
1763
 
-   rm -f conftest.file
1764
 
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
1765
 
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1766
 
-
1767
 
-      # If neither matched, then we have a broken ls.  This can happen
1768
 
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
1769
 
-      # broken ls alias from the environment.  This has actually
1770
 
-      # happened.  Such a system could not be considered "sane".
1771
 
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1772
 
-alias in your environment])
1773
 
-   fi
1774
 
-
1775
 
-   test "$[2]" = conftest.file
1776
 
-   )
1777
 
-then
1778
 
-   # Ok.
1779
 
-   :
1780
 
-else
1781
 
-   AC_MSG_ERROR([newly created file is older than distributed files!
1782
 
-Check your system clock])
1783
 
-fi
1784
 
-AC_MSG_RESULT(yes)])
1785
 
-
1786
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1787
 
-#
1788
 
-# This file is free software; the Free Software Foundation
1789
 
-# gives unlimited permission to copy and/or distribute it,
1790
 
-# with or without modifications, as long as this notice is preserved.
1791
 
-
1792
1616
-# AM_PROG_INSTALL_STRIP
1793
1617
-# ---------------------
1794
1618
-# One issue with vendor `install' (even GNU) is that you can't
1819
1643
-
1820
1644
-# _AM_SUBST_NOTMAKE(VARIABLE)
1821
1645
-# ---------------------------
1822
 
-# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
1646
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1823
1647
-# This macro is traced by Automake.
1824
1648
-AC_DEFUN([_AM_SUBST_NOTMAKE])
1825
1649
-
1919
1743
-AC_SUBST([am__untar])
1920
1744
-]) # _AM_PROG_TAR
1921
1745
-
 
1746
-m4_include([m4/autobuild.m4])
1922
1747
-# gettext.m4 serial 60 (gettext-0.17)
1923
1748
-dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
1924
1749
-dnl This file is free software; the Free Software Foundation
1976
1801
-dnl maintainers.
1977
1802
-dnl
1978
1803
-AC_DEFUN([AM_GNU_GETTEXT],
1979
 
-[
 
1804
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
 
1805
+dnl the libraries corresponding to explicit and implicit dependencies.
 
1806
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
 
1807
+dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
 
1808
+dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
 
1809
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
 
1810
 [
1980
1811
-  dnl Argument checking.
1981
1812
-  ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
1982
1813
-    [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
2025
1856
-  ifelse(gt_included_intl, yes, [
2026
1857
-    BUILD_INCLUDED_LIBINTL=no
2027
1858
-    USE_INCLUDED_LIBINTL=no
2028
 
-  ])
 
1859
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
 
1860
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
 
1861
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
 
1862
+  dnl Autoconf >= 2.61 supports dots in --with options.
 
1863
+  define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])])
 
1864
+  dnl By default, look in $includedir and $libdir.
 
1865
+  use_additional=yes
 
1866
+  AC_LIB_WITH_FINAL_PREFIX([
 
1867
+    eval additional_includedir=\"$includedir\"
 
1868
+    eval additional_libdir=\"$libdir\"
 
1869
   ])
2029
1870
-  LIBINTL=
2030
1871
-  LTLIBINTL=
2031
1872
-  POSUB=
2191
2032
-      AC_DEFINE(ENABLE_NLS, 1,
2192
2033
-        [Define to 1 if translation of program messages to the user's native language
2193
2034
-   is requested.])
2194
 
-    else
 
2035
+  AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],
 
2036
+[  --with-lib]N_A_M_E[-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib
 
2037
+  --without-lib]N_A_M_E[-prefix     don't search for lib$1 in includedir and libdir],
 
2038
+[
 
2039
+    if test "X$withval" = "Xno"; then
 
2040
+      use_additional=no
 
2041
     else
2195
2042
-      USE_NLS=no
2196
2043
-    fi
2197
2044
-  fi
2203
2050
-    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
2204
2051
-      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
2205
2052
-        gt_source="external libintl"
2206
 
-      else
 
2053
+      if test "X$withval" = "X"; then
 
2054
+        AC_LIB_WITH_FINAL_PREFIX([
 
2055
+          eval additional_includedir=\"$includedir\"
 
2056
+          eval additional_libdir=\"$libdir\"
 
2057
+        ])
 
2058
       else
2207
2059
-        gt_source="libc"
2208
2060
-      fi
2209
2061
-    else
2219
2071
-        AC_MSG_CHECKING([how to link with libintl])
2220
2072
-        AC_MSG_RESULT([$LIBINTL])
2221
2073
-        AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
2222
 
-      fi
 
2074
+        additional_includedir="$withval/include"
 
2075
+        additional_libdir="$withval/$acl_libdirstem"
 
2076
       fi
2223
2077
-
2224
2078
-      dnl For backward compatibility. Some packages may be using this.
2225
2079
-      AC_DEFINE(HAVE_GETTEXT, 1,
2264
2118
-    INTLOBJS=
2265
2119
-    if test "$USE_INCLUDED_LIBINTL" = yes; then
2266
2120
-      INTLOBJS="\$(GETTOBJS)"
2267
 
-    fi
 
2121
     fi
2268
2122
-    AC_SUBST(INTLOBJS)
2269
2123
-
2270
2124
-    dnl Enable libtool support if the surrounding package wishes it.
2295
2149
-AC_DEFUN([AM_GNU_GETTEXT_NEED],
2296
2150
-[
2297
2151
-  m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
2298
 
-])
 
2152
 ])
2299
2153
-
2300
2154
-
2301
2155
-dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
2818
2672
-        additional_libdir="$withval/$acl_libdirstem"
2819
2673
-      fi
2820
2674
-    fi
2821
 
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
2822
 
+dnl the libraries corresponding to explicit and implicit dependencies.
2823
 
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
2824
 
+dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
2825
 
+dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
2826
 
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
2827
 
+[
2828
 
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2829
 
+  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2830
 
+                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2831
 
+  dnl Autoconf >= 2.61 supports dots in --with options.
2832
 
+  define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])])
2833
 
+  dnl By default, look in $includedir and $libdir.
2834
 
+  use_additional=yes
2835
 
+  AC_LIB_WITH_FINAL_PREFIX([
2836
 
+    eval additional_includedir=\"$includedir\"
2837
 
+    eval additional_libdir=\"$libdir\"
2838
 
+  ])
2839
 
+  AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],
2840
 
+[  --with-lib]N_A_M_E[-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib
2841
 
+  --without-lib]N_A_M_E[-prefix     don't search for lib$1 in includedir and libdir],
2842
 
+[
2843
 
+    if test "X$withval" = "Xno"; then
2844
 
+      use_additional=no
2845
 
+    else
2846
 
+      if test "X$withval" = "X"; then
2847
 
+        AC_LIB_WITH_FINAL_PREFIX([
2848
 
+          eval additional_includedir=\"$includedir\"
2849
 
+          eval additional_libdir=\"$libdir\"
2850
 
+        ])
2851
 
+      else
2852
 
+        additional_includedir="$withval/include"
2853
 
+        additional_libdir="$withval/$acl_libdirstem"
2854
 
+      fi
2855
 
+    fi
2856
 
 ])
2857
 
   dnl Search the library and its dependencies in $additional_libdir and
2858
 
   dnl $LDFLAGS. Using breadth-first-seach.
2859
 
@@ -2633,7 +1643,7 @@
2860
 
 
2861
 
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2862
 
 
2863
 
-# serial 52 AC_PROG_LIBTOOL
2864
 
+# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
2865
 
 
2866
 
 
2867
 
 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2868
 
@@ -4335,6 +3345,18 @@
2869
 
   dynamic_linker='GNU/Linux ld.so'
2870
 
   ;;
2871
 
 
2872
 
+netbsdelf*-gnu)
2873
 
+  version_type=linux
2874
 
+  need_lib_prefix=no
2875
 
+  need_version=no
2876
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2877
 
+  soname_spec='${libname}${release}${shared_ext}$major'
2878
 
+  shlibpath_var=LD_LIBRARY_PATH
2879
 
+  shlibpath_overrides_runpath=no
2880
 
+  hardcode_into_libs=yes
2881
 
+  dynamic_linker='NetBSD ld.elf_so'
2882
 
+  ;;
2883
 
+
2884
 
 netbsd*)
2885
 
   version_type=sunos
2886
 
   need_lib_prefix=no
2887
 
@@ -5116,7 +4138,7 @@
2888
 
   lt_cv_deplibs_check_method=pass_all
2889
 
   ;;
2890
 
 
2891
 
-netbsd*)
2892
 
+netbsd* | netbsdelf*-gnu)
2893
 
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2894
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2895
 
   else
2896
 
@@ -6123,7 +5145,7 @@
2897
 
        ;;
2898
 
     esac
2899
 
     ;;
2900
 
-  netbsd*)
2901
 
+  netbsd* | netbsdelf*-gnu)
2902
 
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2903
 
       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2904
 
       wlarc=
2905
 
@@ -6953,2893 +5975,3893 @@
2906
 
     _LT_AC_TAGVAR(exclude_expsyms, $1) \
2907
 
     _LT_AC_TAGVAR(include_expsyms, $1); do
2908
 
 
2909
 
-    case $var in
2910
 
-    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
2911
 
-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
2912
 
-    _LT_AC_TAGVAR(archive_cmds, $1) | \
2913
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
2914
 
-    _LT_AC_TAGVAR(module_cmds, $1) | \
2915
 
-    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
2916
 
-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
2917
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
2918
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
2919
 
-    postinstall_cmds | postuninstall_cmds | \
2920
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
2921
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
2922
 
-      # Double-quote double-evaled strings.
2923
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
2924
 
-      ;;
2925
 
-    *)
2926
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
2927
 
-      ;;
2928
 
-    esac
2929
 
-  done
2930
 
+    case $var in
2931
 
+    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
2932
 
+    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
2933
 
+    _LT_AC_TAGVAR(archive_cmds, $1) | \
2934
 
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
2935
 
+    _LT_AC_TAGVAR(module_cmds, $1) | \
2936
 
+    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
2937
 
+    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
2938
 
+    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
2939
 
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
2940
 
+    postinstall_cmds | postuninstall_cmds | \
2941
 
+    old_postinstall_cmds | old_postuninstall_cmds | \
2942
 
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
2943
 
+      # Double-quote double-evaled strings.
2944
 
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
2945
 
+      ;;
2946
 
+    *)
2947
 
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
2948
 
+      ;;
2949
 
+    esac
2950
 
+  done
2951
 
+
2952
 
+  case $lt_echo in
2953
 
+  *'\[$]0 --fallback-echo"')
2954
 
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
2955
 
+    ;;
2956
 
+  esac
2957
 
+
2958
 
+ifelse([$1], [],
2959
 
+  [cfgfile="${ofile}T"
2960
 
+  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
2961
 
+  $rm -f "$cfgfile"
2962
 
+  AC_MSG_NOTICE([creating $ofile])],
2963
 
+  [cfgfile="$ofile"])
2964
 
+
2965
 
+  cat <<__EOF__ >> "$cfgfile"
2966
 
+ifelse([$1], [],
2967
 
+[#! $SHELL
2968
 
+
2969
 
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
2970
 
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
2971
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
2972
 
+#
2973
 
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2974
 
+# Free Software Foundation, Inc.
2975
 
+#
2976
 
+# This file is part of GNU Libtool:
2977
 
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2978
 
+#
2979
 
+# This program is free software; you can redistribute it and/or modify
2980
 
+# it under the terms of the GNU General Public License as published by
2981
 
+# the Free Software Foundation; either version 2 of the License, or
2982
 
+# (at your option) any later version.
2983
 
+#
2984
 
+# This program is distributed in the hope that it will be useful, but
2985
 
+# WITHOUT ANY WARRANTY; without even the implied warranty of
2986
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
2987
 
+# General Public License for more details.
2988
 
+#
2989
 
+# You should have received a copy of the GNU General Public License
2990
 
+# along with this program; if not, write to the Free Software
2991
 
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2992
 
+#
2993
 
+# As a special exception to the GNU General Public License, if you
2994
 
+# distribute this file as part of a program that contains a
2995
 
+# configuration script generated by Autoconf, you may include it under
2996
 
+# the same distribution terms that you use for the rest of that program.
2997
 
+
2998
 
+# A sed program that does not truncate output.
2999
 
+SED=$lt_SED
3000
 
+
3001
 
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
3002
 
+Xsed="$SED -e 1s/^X//"
3003
 
+
3004
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
3005
 
+# if CDPATH is set.
3006
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3007
 
+
3008
 
+# The names of the tagged configurations supported by this script.
3009
 
+available_tags=
3010
 
+
3011
 
+# ### BEGIN LIBTOOL CONFIG],
3012
 
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
3013
 
+
3014
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3015
 
+
3016
 
+# Shell to use when invoking shell scripts.
3017
 
+SHELL=$lt_SHELL
3018
 
+
3019
 
+# Whether or not to build shared libraries.
3020
 
+build_libtool_libs=$enable_shared
3021
 
+
3022
 
+# Whether or not to build static libraries.
3023
 
+build_old_libs=$enable_static
3024
 
+
3025
 
+# Whether or not to add -lc for building shared libraries.
3026
 
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
3027
 
+
3028
 
+# Whether or not to disallow shared libs when runtime libs are static
3029
 
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
3030
 
+
3031
 
+# Whether or not to optimize for fast installation.
3032
 
+fast_install=$enable_fast_install
3033
 
+
3034
 
+# The host system.
3035
 
+host_alias=$host_alias
3036
 
+host=$host
3037
 
+host_os=$host_os
3038
 
+
3039
 
+# The build system.
3040
 
+build_alias=$build_alias
3041
 
+build=$build
3042
 
+build_os=$build_os
3043
 
+
3044
 
+# An echo program that does not interpret backslashes.
3045
 
+echo=$lt_echo
3046
 
+
3047
 
+# The archiver.
3048
 
+AR=$lt_AR
3049
 
+AR_FLAGS=$lt_AR_FLAGS
3050
 
+
3051
 
+# A C compiler.
3052
 
+LTCC=$lt_LTCC
3053
 
+
3054
 
+# LTCC compiler flags.
3055
 
+LTCFLAGS=$lt_LTCFLAGS
3056
 
+
3057
 
+# A language-specific compiler.
3058
 
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
3059
 
+
3060
 
+# Is the compiler the GNU C compiler?
3061
 
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
3062
 
+
3063
 
+# An ERE matcher.
3064
 
+EGREP=$lt_EGREP
3065
 
+
3066
 
+# The linker used to build libraries.
3067
 
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
3068
 
+
3069
 
+# Whether we need hard or soft links.
3070
 
+LN_S=$lt_LN_S
3071
 
+
3072
 
+# A BSD-compatible nm program.
3073
 
+NM=$lt_NM
3074
 
+
3075
 
+# A symbol stripping program
3076
 
+STRIP=$lt_STRIP
3077
 
+
3078
 
+# Used to examine libraries when file_magic_cmd begins "file"
3079
 
+MAGIC_CMD=$MAGIC_CMD
3080
 
+
3081
 
+# Used on cygwin: DLL creation program.
3082
 
+DLLTOOL="$DLLTOOL"
3083
 
+
3084
 
+# Used on cygwin: object dumper.
3085
 
+OBJDUMP="$OBJDUMP"
3086
 
+
3087
 
+# Used on cygwin: assembler.
3088
 
+AS="$AS"
3089
 
+
3090
 
+# The name of the directory that contains temporary libtool files.
3091
 
+objdir=$objdir
3092
 
+
3093
 
+# How to create reloadable object files.
3094
 
+reload_flag=$lt_reload_flag
3095
 
+reload_cmds=$lt_reload_cmds
3096
 
+
3097
 
+# How to pass a linker flag through the compiler.
3098
 
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
3099
 
+
3100
 
+# Object file suffix (normally "o").
3101
 
+objext="$ac_objext"
3102
 
+
3103
 
+# Old archive suffix (normally "a").
3104
 
+libext="$libext"
3105
 
+
3106
 
+# Shared library suffix (normally ".so").
3107
 
+shrext_cmds='$shrext_cmds'
3108
 
+
3109
 
+# Executable file suffix (normally "").
3110
 
+exeext="$exeext"
3111
 
+
3112
 
+# Additional compiler flags for building library objects.
3113
 
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
3114
 
+pic_mode=$pic_mode
3115
 
+
3116
 
+# What is the maximum length of a command?
3117
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
3118
 
+
3119
 
+# Does compiler simultaneously support -c and -o options?
3120
 
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
3121
 
+
3122
 
+# Must we lock files when doing compilation?
3123
 
+need_locks=$lt_need_locks
3124
 
+
3125
 
+# Do we need the lib prefix for modules?
3126
 
+need_lib_prefix=$need_lib_prefix
3127
 
+
3128
 
+# Do we need a version for libraries?
3129
 
+need_version=$need_version
3130
 
+
3131
 
+# Whether dlopen is supported.
3132
 
+dlopen_support=$enable_dlopen
3133
 
+
3134
 
+# Whether dlopen of programs is supported.
3135
 
+dlopen_self=$enable_dlopen_self
3136
 
+
3137
 
+# Whether dlopen of statically linked programs is supported.
3138
 
+dlopen_self_static=$enable_dlopen_self_static
3139
 
+
3140
 
+# Compiler flag to prevent dynamic linking.
3141
 
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
3142
 
+
3143
 
+# Compiler flag to turn off builtin functions.
3144
 
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
3145
 
+
3146
 
+# Compiler flag to allow reflexive dlopens.
3147
 
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
3148
 
+
3149
 
+# Compiler flag to generate shared objects directly from archives.
3150
 
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
3151
 
+
3152
 
+# Compiler flag to generate thread-safe objects.
3153
 
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
3154
 
+
3155
 
+# Library versioning type.
3156
 
+version_type=$version_type
3157
 
+
3158
 
+# Format of library name prefix.
3159
 
+libname_spec=$lt_libname_spec
3160
 
+
3161
 
+# List of archive names.  First name is the real one, the rest are links.
3162
 
+# The last name is the one that the linker finds with -lNAME.
3163
 
+library_names_spec=$lt_library_names_spec
3164
 
+
3165
 
+# The coded name of the library, if different from the real name.
3166
 
+soname_spec=$lt_soname_spec
3167
 
+
3168
 
+# Commands used to build and install an old-style archive.
3169
 
+RANLIB=$lt_RANLIB
3170
 
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
3171
 
+old_postinstall_cmds=$lt_old_postinstall_cmds
3172
 
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
3173
 
+
3174
 
+# Create an old-style archive from a shared archive.
3175
 
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
3176
 
+
3177
 
+# Create a temporary old-style archive to link instead of a shared archive.
3178
 
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
3179
 
+
3180
 
+# Commands used to build and install a shared archive.
3181
 
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
3182
 
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
3183
 
+postinstall_cmds=$lt_postinstall_cmds
3184
 
+postuninstall_cmds=$lt_postuninstall_cmds
3185
 
+
3186
 
+# Commands used to build a loadable module (assumed same as above if empty)
3187
 
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
3188
 
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
3189
 
 
3190
 
-  case $lt_echo in
3191
 
-  *'\[$]0 --fallback-echo"')
3192
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
3193
 
-    ;;
3194
 
-  esac
3195
 
+# Commands to strip libraries.
3196
 
+old_striplib=$lt_old_striplib
3197
 
+striplib=$lt_striplib
3198
 
 
3199
 
-ifelse([$1], [],
3200
 
-  [cfgfile="${ofile}T"
3201
 
-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
3202
 
-  $rm -f "$cfgfile"
3203
 
-  AC_MSG_NOTICE([creating $ofile])],
3204
 
-  [cfgfile="$ofile"])
3205
 
+# Dependencies to place before the objects being linked to create a
3206
 
+# shared library.
3207
 
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
3208
 
 
3209
 
-  cat <<__EOF__ >> "$cfgfile"
3210
 
-ifelse([$1], [],
3211
 
-[#! $SHELL
3212
 
+# Dependencies to place after the objects being linked to create a
3213
 
+# shared library.
3214
 
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
3215
 
 
3216
 
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
3217
 
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
3218
 
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
3219
 
-#
3220
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3221
 
-# Free Software Foundation, Inc.
3222
 
-#
3223
 
-# This file is part of GNU Libtool:
3224
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
3225
 
-#
3226
 
-# This program is free software; you can redistribute it and/or modify
3227
 
-# it under the terms of the GNU General Public License as published by
3228
 
-# the Free Software Foundation; either version 2 of the License, or
3229
 
-# (at your option) any later version.
3230
 
-#
3231
 
-# This program is distributed in the hope that it will be useful, but
3232
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
3233
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
3234
 
-# General Public License for more details.
 
2675
-])
 
2676
-  dnl Search the library and its dependencies in $additional_libdir and
 
2677
-  dnl $LDFLAGS. Using breadth-first-seach.
 
2678
-  LIB[]NAME=
 
2679
-  LTLIB[]NAME=
 
2680
-  INC[]NAME=
 
2681
-  LIB[]NAME[]_PREFIX=
 
2682
-  rpathdirs=
 
2683
-  ltrpathdirs=
 
2684
-  names_already_handled=
 
2685
-  names_next_round='$1 $2'
 
2686
-  while test -n "$names_next_round"; do
 
2687
-    names_this_round="$names_next_round"
 
2688
-    names_next_round=
 
2689
-    for name in $names_this_round; do
 
2690
-      already_handled=
 
2691
-      for n in $names_already_handled; do
 
2692
-        if test "$n" = "$name"; then
 
2693
-          already_handled=yes
 
2694
-          break
 
2695
-        fi
 
2696
-      done
 
2697
-      if test -z "$already_handled"; then
 
2698
-        names_already_handled="$names_already_handled $name"
 
2699
-        dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
 
2700
-        dnl or AC_LIB_HAVE_LINKFLAGS call.
 
2701
-        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
2702
-        eval value=\"\$HAVE_LIB$uppername\"
 
2703
-        if test -n "$value"; then
 
2704
-          if test "$value" = yes; then
 
2705
-            eval value=\"\$LIB$uppername\"
 
2706
-            test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
 
2707
-            eval value=\"\$LTLIB$uppername\"
 
2708
-            test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
 
2709
-          else
 
2710
-            dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
 
2711
-            dnl that this library doesn't exist. So just drop it.
 
2712
-            :
 
2713
-          fi
 
2714
-        else
 
2715
-          dnl Search the library lib$name in $additional_libdir and $LDFLAGS
 
2716
-          dnl and the already constructed $LIBNAME/$LTLIBNAME.
 
2717
-          found_dir=
 
2718
-          found_la=
 
2719
-          found_so=
 
2720
-          found_a=
 
2721
-          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
2722
-          if test -n "$acl_shlibext"; then
 
2723
-            shrext=".$acl_shlibext"             # typically: shrext=.so
 
2724
-          else
 
2725
-            shrext=
 
2726
-          fi
 
2727
-          if test $use_additional = yes; then
 
2728
-            dir="$additional_libdir"
 
2729
-            dnl The same code as in the loop below:
 
2730
-            dnl First look for a shared library.
 
2731
-            if test -n "$acl_shlibext"; then
 
2732
-              if test -f "$dir/$libname$shrext"; then
 
2733
-                found_dir="$dir"
 
2734
-                found_so="$dir/$libname$shrext"
 
2735
-              else
 
2736
-                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
2737
-                  ver=`(cd "$dir" && \
 
2738
-                        for f in "$libname$shrext".*; do echo "$f"; done \
 
2739
-                        | sed -e "s,^$libname$shrext\\\\.,," \
 
2740
-                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
2741
-                        | sed 1q ) 2>/dev/null`
 
2742
-                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
2743
-                    found_dir="$dir"
 
2744
-                    found_so="$dir/$libname$shrext.$ver"
 
2745
-                  fi
 
2746
-                else
 
2747
-                  eval library_names=\"$acl_library_names_spec\"
 
2748
-                  for f in $library_names; do
 
2749
-                    if test -f "$dir/$f"; then
 
2750
-                      found_dir="$dir"
 
2751
-                      found_so="$dir/$f"
 
2752
-                      break
 
2753
-                    fi
 
2754
-                  done
 
2755
-                fi
 
2756
-              fi
 
2757
-            fi
 
2758
-            dnl Then look for a static library.
 
2759
-            if test "X$found_dir" = "X"; then
 
2760
-              if test -f "$dir/$libname.$acl_libext"; then
 
2761
-                found_dir="$dir"
 
2762
-                found_a="$dir/$libname.$acl_libext"
 
2763
-              fi
 
2764
-            fi
 
2765
-            if test "X$found_dir" != "X"; then
 
2766
-              if test -f "$dir/$libname.la"; then
 
2767
-                found_la="$dir/$libname.la"
 
2768
-              fi
 
2769
-            fi
 
2770
-          fi
 
2771
-          if test "X$found_dir" = "X"; then
 
2772
-            for x in $LDFLAGS $LTLIB[]NAME; do
 
2773
-              AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
2774
-              case "$x" in
 
2775
-                -L*)
 
2776
-                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
2777
-                  dnl First look for a shared library.
 
2778
-                  if test -n "$acl_shlibext"; then
 
2779
-                    if test -f "$dir/$libname$shrext"; then
 
2780
-                      found_dir="$dir"
 
2781
-                      found_so="$dir/$libname$shrext"
 
2782
-                    else
 
2783
-                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
2784
-                        ver=`(cd "$dir" && \
 
2785
-                              for f in "$libname$shrext".*; do echo "$f"; done \
 
2786
-                              | sed -e "s,^$libname$shrext\\\\.,," \
 
2787
-                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
2788
-                              | sed 1q ) 2>/dev/null`
 
2789
-                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
2790
-                          found_dir="$dir"
 
2791
-                          found_so="$dir/$libname$shrext.$ver"
 
2792
-                        fi
 
2793
-                      else
 
2794
-                        eval library_names=\"$acl_library_names_spec\"
 
2795
-                        for f in $library_names; do
 
2796
-                          if test -f "$dir/$f"; then
 
2797
-                            found_dir="$dir"
 
2798
-                            found_so="$dir/$f"
 
2799
-                            break
 
2800
-                          fi
 
2801
-                        done
 
2802
-                      fi
 
2803
-                    fi
 
2804
-                  fi
 
2805
-                  dnl Then look for a static library.
 
2806
-                  if test "X$found_dir" = "X"; then
 
2807
-                    if test -f "$dir/$libname.$acl_libext"; then
 
2808
-                      found_dir="$dir"
 
2809
-                      found_a="$dir/$libname.$acl_libext"
 
2810
-                    fi
 
2811
-                  fi
 
2812
-                  if test "X$found_dir" != "X"; then
 
2813
-                    if test -f "$dir/$libname.la"; then
 
2814
-                      found_la="$dir/$libname.la"
 
2815
-                    fi
 
2816
-                  fi
 
2817
-                  ;;
 
2818
-              esac
 
2819
-              if test "X$found_dir" != "X"; then
 
2820
-                break
 
2821
-              fi
 
2822
-            done
 
2823
-          fi
 
2824
-          if test "X$found_dir" != "X"; then
 
2825
-            dnl Found the library.
 
2826
-            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
 
2827
-            if test "X$found_so" != "X"; then
 
2828
-              dnl Linking with a shared library. We attempt to hardcode its
 
2829
-              dnl directory into the executable's runpath, unless it's the
 
2830
-              dnl standard /usr/lib.
 
2831
-              if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
2832
-                dnl No hardcoding is needed.
 
2833
-                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
2834
-              else
 
2835
-                dnl Use an explicit option to hardcode DIR into the resulting
 
2836
-                dnl binary.
 
2837
-                dnl Potentially add DIR to ltrpathdirs.
 
2838
-                dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
 
2839
-                haveit=
 
2840
-                for x in $ltrpathdirs; do
 
2841
-                  if test "X$x" = "X$found_dir"; then
 
2842
-                    haveit=yes
 
2843
-                    break
 
2844
-                  fi
 
2845
-                done
 
2846
-                if test -z "$haveit"; then
 
2847
-                  ltrpathdirs="$ltrpathdirs $found_dir"
 
2848
-                fi
 
2849
-                dnl The hardcoding into $LIBNAME is system dependent.
 
2850
-                if test "$acl_hardcode_direct" = yes; then
 
2851
-                  dnl Using DIR/libNAME.so during linking hardcodes DIR into the
 
2852
-                  dnl resulting binary.
 
2853
-                  LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
2854
-                else
 
2855
-                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
2856
-                    dnl Use an explicit option to hardcode DIR into the resulting
 
2857
-                    dnl binary.
 
2858
-                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
2859
-                    dnl Potentially add DIR to rpathdirs.
 
2860
-                    dnl The rpathdirs will be appended to $LIBNAME at the end.
 
2861
-                    haveit=
 
2862
-                    for x in $rpathdirs; do
 
2863
-                      if test "X$x" = "X$found_dir"; then
 
2864
-                        haveit=yes
 
2865
-                        break
 
2866
-                      fi
 
2867
-                    done
 
2868
-                    if test -z "$haveit"; then
 
2869
-                      rpathdirs="$rpathdirs $found_dir"
 
2870
-                    fi
 
2871
-                  else
 
2872
-                    dnl Rely on "-L$found_dir".
 
2873
-                    dnl But don't add it if it's already contained in the LDFLAGS
 
2874
-                    dnl or the already constructed $LIBNAME
 
2875
-                    haveit=
 
2876
-                    for x in $LDFLAGS $LIB[]NAME; do
 
2877
-                      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
2878
-                      if test "X$x" = "X-L$found_dir"; then
 
2879
-                        haveit=yes
 
2880
-                        break
 
2881
-                      fi
 
2882
-                    done
 
2883
-                    if test -z "$haveit"; then
 
2884
-                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
 
2885
-                    fi
 
2886
-                    if test "$acl_hardcode_minus_L" != no; then
 
2887
-                      dnl FIXME: Not sure whether we should use
 
2888
-                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
 
2889
-                      dnl here.
 
2890
-                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
2891
-                    else
 
2892
-                      dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
 
2893
-                      dnl here, because this doesn't fit in flags passed to the
 
2894
-                      dnl compiler. So give up. No hardcoding. This affects only
 
2895
-                      dnl very old systems.
 
2896
-                      dnl FIXME: Not sure whether we should use
 
2897
-                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
 
2898
-                      dnl here.
 
2899
-                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
 
2900
-                    fi
 
2901
-                  fi
 
2902
-                fi
 
2903
-              fi
 
2904
-            else
 
2905
-              if test "X$found_a" != "X"; then
 
2906
-                dnl Linking with a static library.
 
2907
-                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
 
2908
-              else
 
2909
-                dnl We shouldn't come here, but anyway it's good to have a
 
2910
-                dnl fallback.
 
2911
-                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
 
2912
-              fi
 
2913
-            fi
 
2914
-            dnl Assume the include files are nearby.
 
2915
-            additional_includedir=
 
2916
-            case "$found_dir" in
 
2917
-              */$acl_libdirstem | */$acl_libdirstem/)
 
2918
-                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
2919
-                LIB[]NAME[]_PREFIX="$basedir"
 
2920
-                additional_includedir="$basedir/include"
 
2921
-                ;;
 
2922
-            esac
 
2923
-            if test "X$additional_includedir" != "X"; then
 
2924
-              dnl Potentially add $additional_includedir to $INCNAME.
 
2925
-              dnl But don't add it
 
2926
-              dnl   1. if it's the standard /usr/include,
 
2927
-              dnl   2. if it's /usr/local/include and we are using GCC on Linux,
 
2928
-              dnl   3. if it's already present in $CPPFLAGS or the already
 
2929
-              dnl      constructed $INCNAME,
 
2930
-              dnl   4. if it doesn't exist as a directory.
 
2931
-              if test "X$additional_includedir" != "X/usr/include"; then
 
2932
-                haveit=
 
2933
-                if test "X$additional_includedir" = "X/usr/local/include"; then
 
2934
-                  if test -n "$GCC"; then
 
2935
-                    case $host_os in
 
2936
-                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
2937
-                    esac
 
2938
-                  fi
 
2939
-                fi
 
2940
-                if test -z "$haveit"; then
 
2941
-                  for x in $CPPFLAGS $INC[]NAME; do
 
2942
-                    AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
2943
-                    if test "X$x" = "X-I$additional_includedir"; then
 
2944
-                      haveit=yes
 
2945
-                      break
 
2946
-                    fi
 
2947
-                  done
 
2948
-                  if test -z "$haveit"; then
 
2949
-                    if test -d "$additional_includedir"; then
 
2950
-                      dnl Really add $additional_includedir to $INCNAME.
 
2951
-                      INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
 
2952
-                    fi
 
2953
-                  fi
 
2954
-                fi
 
2955
-              fi
 
2956
-            fi
 
2957
-            dnl Look for dependencies.
 
2958
-            if test -n "$found_la"; then
 
2959
-              dnl Read the .la file. It defines the variables
 
2960
-              dnl dlname, library_names, old_library, dependency_libs, current,
 
2961
-              dnl age, revision, installed, dlopen, dlpreopen, libdir.
 
2962
-              save_libdir="$libdir"
 
2963
-              case "$found_la" in
 
2964
-                */* | *\\*) . "$found_la" ;;
 
2965
-                *) . "./$found_la" ;;
 
2966
-              esac
 
2967
-              libdir="$save_libdir"
 
2968
-              dnl We use only dependency_libs.
 
2969
-              for dep in $dependency_libs; do
 
2970
-                case "$dep" in
 
2971
-                  -L*)
 
2972
-                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
2973
-                    dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
 
2974
-                    dnl But don't add it
 
2975
-                    dnl   1. if it's the standard /usr/lib,
 
2976
-                    dnl   2. if it's /usr/local/lib and we are using GCC on Linux,
 
2977
-                    dnl   3. if it's already present in $LDFLAGS or the already
 
2978
-                    dnl      constructed $LIBNAME,
 
2979
-                    dnl   4. if it doesn't exist as a directory.
 
2980
-                    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
2981
-                      haveit=
 
2982
-                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
2983
-                        if test -n "$GCC"; then
 
2984
-                          case $host_os in
 
2985
-                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
2986
-                          esac
 
2987
-                        fi
 
2988
-                      fi
 
2989
-                      if test -z "$haveit"; then
 
2990
-                        haveit=
 
2991
-                        for x in $LDFLAGS $LIB[]NAME; do
 
2992
-                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
2993
-                          if test "X$x" = "X-L$additional_libdir"; then
 
2994
-                            haveit=yes
 
2995
-                            break
 
2996
-                          fi
 
2997
-                        done
 
2998
-                        if test -z "$haveit"; then
 
2999
-                          if test -d "$additional_libdir"; then
 
3000
-                            dnl Really add $additional_libdir to $LIBNAME.
 
3001
-                            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
 
3002
-                          fi
 
3003
-                        fi
 
3004
-                        haveit=
 
3005
-                        for x in $LDFLAGS $LTLIB[]NAME; do
 
3006
-                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
3007
-                          if test "X$x" = "X-L$additional_libdir"; then
 
3008
-                            haveit=yes
 
3009
-                            break
 
3010
-                          fi
 
3011
-                        done
 
3012
-                        if test -z "$haveit"; then
 
3013
-                          if test -d "$additional_libdir"; then
 
3014
-                            dnl Really add $additional_libdir to $LTLIBNAME.
 
3015
-                            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
 
3016
-                          fi
 
3017
-                        fi
 
3018
-                      fi
 
3019
-                    fi
 
3020
-                    ;;
 
3021
-                  -R*)
 
3022
-                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
3023
-                    if test "$enable_rpath" != no; then
 
3024
-                      dnl Potentially add DIR to rpathdirs.
 
3025
-                      dnl The rpathdirs will be appended to $LIBNAME at the end.
 
3026
-                      haveit=
 
3027
-                      for x in $rpathdirs; do
 
3028
-                        if test "X$x" = "X$dir"; then
 
3029
-                          haveit=yes
 
3030
-                          break
 
3031
-                        fi
 
3032
-                      done
 
3033
-                      if test -z "$haveit"; then
 
3034
-                        rpathdirs="$rpathdirs $dir"
 
3035
-                      fi
 
3036
-                      dnl Potentially add DIR to ltrpathdirs.
 
3037
-                      dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
 
3038
-                      haveit=
 
3039
-                      for x in $ltrpathdirs; do
 
3040
-                        if test "X$x" = "X$dir"; then
 
3041
-                          haveit=yes
 
3042
-                          break
 
3043
-                        fi
 
3044
-                      done
 
3045
-                      if test -z "$haveit"; then
 
3046
-                        ltrpathdirs="$ltrpathdirs $dir"
 
3047
-                      fi
 
3048
-                    fi
 
3049
-                    ;;
 
3050
-                  -l*)
 
3051
-                    dnl Handle this in the next round.
 
3052
-                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
3053
-                    ;;
 
3054
-                  *.la)
 
3055
-                    dnl Handle this in the next round. Throw away the .la's
 
3056
-                    dnl directory; it is already contained in a preceding -L
 
3057
-                    dnl option.
 
3058
-                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
3059
-                    ;;
 
3060
-                  *)
 
3061
-                    dnl Most likely an immediate library name.
 
3062
-                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
 
3063
-                    LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
 
3064
-                    ;;
 
3065
-                esac
 
3066
-              done
 
3067
-            fi
 
3068
-          else
 
3069
-            dnl Didn't find the library; assume it is in the system directories
 
3070
-            dnl known to the linker and runtime loader. (All the system
 
3071
-            dnl directories known to the linker should also be known to the
 
3072
-            dnl runtime loader, otherwise the system is severely misconfigured.)
 
3073
-            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
 
3074
-            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
 
3075
-          fi
 
3076
-        fi
 
3077
-      fi
 
3078
-    done
 
3079
-  done
 
3080
-  if test "X$rpathdirs" != "X"; then
 
3081
-    if test -n "$acl_hardcode_libdir_separator"; then
 
3082
-      dnl Weird platform: only the last -rpath option counts, the user must
 
3083
-      dnl pass all path elements in one option. We can arrange that for a
 
3084
-      dnl single library, but not when more than one $LIBNAMEs are used.
 
3085
-      alldirs=
 
3086
-      for found_dir in $rpathdirs; do
 
3087
-        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
3088
-      done
 
3089
-      dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
 
3090
-      acl_save_libdir="$libdir"
 
3091
-      libdir="$alldirs"
 
3092
-      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
3093
-      libdir="$acl_save_libdir"
 
3094
-      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
3095
-    else
 
3096
-      dnl The -rpath options are cumulative.
 
3097
-      for found_dir in $rpathdirs; do
 
3098
-        acl_save_libdir="$libdir"
 
3099
-        libdir="$found_dir"
 
3100
-        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
3101
-        libdir="$acl_save_libdir"
 
3102
-        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
3103
-      done
 
3104
-    fi
 
3105
-  fi
 
3106
-  if test "X$ltrpathdirs" != "X"; then
 
3107
-    dnl When using libtool, the option that works for both libraries and
 
3108
-    dnl executables is -R. The -R options are cumulative.
 
3109
-    for found_dir in $ltrpathdirs; do
 
3110
-      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
 
3111
-    done
 
3112
-  fi
 
3113
-])
 
3114
-
 
3115
-dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
 
3116
-dnl unless already present in VAR.
 
3117
-dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
 
3118
-dnl contains two or three consecutive elements that belong together.
 
3119
-AC_DEFUN([AC_LIB_APPENDTOVAR],
 
3120
-[
 
3121
-  for element in [$2]; do
 
3122
-    haveit=
 
3123
-    for x in $[$1]; do
 
3124
-      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
3125
-      if test "X$x" = "X$element"; then
 
3126
-        haveit=yes
 
3127
-        break
 
3128
-      fi
 
3129
-    done
 
3130
-    if test -z "$haveit"; then
 
3131
-      [$1]="${[$1]}${[$1]:+ }$element"
 
3132
-    fi
 
3133
-  done
 
3134
-])
 
3135
-
 
3136
-dnl For those cases where a variable contains several -L and -l options
 
3137
-dnl referring to unknown libraries and directories, this macro determines the
 
3138
-dnl necessary additional linker options for the runtime path.
 
3139
-dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
 
3140
-dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
 
3141
-dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
 
3142
-dnl otherwise linking without libtool is assumed.
 
3143
-AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
 
3144
-[
 
3145
-  AC_REQUIRE([AC_LIB_RPATH])
 
3146
-  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
 
3147
-  $1=
 
3148
-  if test "$enable_rpath" != no; then
 
3149
-    if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
3150
-      dnl Use an explicit option to hardcode directories into the resulting
 
3151
-      dnl binary.
 
3152
-      rpathdirs=
 
3153
-      next=
 
3154
-      for opt in $2; do
 
3155
-        if test -n "$next"; then
 
3156
-          dir="$next"
 
3157
-          dnl No need to hardcode the standard /usr/lib.
 
3158
-          if test "X$dir" != "X/usr/$acl_libdirstem"; then
 
3159
-            rpathdirs="$rpathdirs $dir"
 
3160
-          fi
 
3161
-          next=
 
3162
-        else
 
3163
-          case $opt in
 
3164
-            -L) next=yes ;;
 
3165
-            -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
 
3166
-                 dnl No need to hardcode the standard /usr/lib.
 
3167
-                 if test "X$dir" != "X/usr/$acl_libdirstem"; then
 
3168
-                   rpathdirs="$rpathdirs $dir"
 
3169
-                 fi
 
3170
-                 next= ;;
 
3171
-            *) next= ;;
 
3172
-          esac
 
3173
-        fi
 
3174
-      done
 
3175
-      if test "X$rpathdirs" != "X"; then
 
3176
-        if test -n ""$3""; then
 
3177
-          dnl libtool is used for linking. Use -R options.
 
3178
-          for dir in $rpathdirs; do
 
3179
-            $1="${$1}${$1:+ }-R$dir"
 
3180
-          done
 
3181
-        else
 
3182
-          dnl The linker is used for linking directly.
 
3183
-          if test -n "$acl_hardcode_libdir_separator"; then
 
3184
-            dnl Weird platform: only the last -rpath option counts, the user
 
3185
-            dnl must pass all path elements in one option.
 
3186
-            alldirs=
 
3187
-            for dir in $rpathdirs; do
 
3188
-              alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
 
3189
-            done
 
3190
-            acl_save_libdir="$libdir"
 
3191
-            libdir="$alldirs"
 
3192
-            eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
3193
-            libdir="$acl_save_libdir"
 
3194
-            $1="$flag"
 
3195
-          else
 
3196
-            dnl The -rpath options are cumulative.
 
3197
-            for dir in $rpathdirs; do
 
3198
-              acl_save_libdir="$libdir"
 
3199
-              libdir="$dir"
 
3200
-              eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
3201
-              libdir="$acl_save_libdir"
 
3202
-              $1="${$1}${$1:+ }$flag"
 
3203
-            done
 
3204
-          fi
 
3205
-        fi
 
3206
-      fi
 
3207
-    fi
 
3208
-  fi
 
3209
-  AC_SUBST([$1])
 
3210
-])
 
3211
-
 
3212
-# lib-prefix.m4 serial 5 (gettext-0.15)
 
3213
-dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
 
3214
-dnl This file is free software; the Free Software Foundation
 
3215
-dnl gives unlimited permission to copy and/or distribute it,
 
3216
-dnl with or without modifications, as long as this notice is preserved.
 
3217
-
 
3218
-dnl From Bruno Haible.
 
3219
-
 
3220
-dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
 
3221
-dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
 
3222
-dnl require excessive bracketing.
 
3223
-ifdef([AC_HELP_STRING],
 
3224
-[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
 
3225
-[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
 
3226
-
 
3227
-dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
 
3228
-dnl to access previously installed libraries. The basic assumption is that
 
3229
-dnl a user will want packages to use other packages he previously installed
 
3230
-dnl with the same --prefix option.
 
3231
-dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
 
3232
-dnl libraries, but is otherwise very convenient.
 
3233
-AC_DEFUN([AC_LIB_PREFIX],
 
3234
-[
 
3235
-  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
 
3236
-  AC_REQUIRE([AC_PROG_CC])
 
3237
-  AC_REQUIRE([AC_CANONICAL_HOST])
 
3238
-  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
 
3239
-  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
3240
-  dnl By default, look in $includedir and $libdir.
 
3241
-  use_additional=yes
 
3242
-  AC_LIB_WITH_FINAL_PREFIX([
 
3243
-    eval additional_includedir=\"$includedir\"
 
3244
-    eval additional_libdir=\"$libdir\"
 
3245
-  ])
 
3246
-  AC_LIB_ARG_WITH([lib-prefix],
 
3247
-[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
 
3248
-  --without-lib-prefix    don't search for libraries in includedir and libdir],
 
3249
-[
 
3250
-    if test "X$withval" = "Xno"; then
 
3251
-      use_additional=no
 
3252
-    else
 
3253
-      if test "X$withval" = "X"; then
 
3254
-        AC_LIB_WITH_FINAL_PREFIX([
 
3255
-          eval additional_includedir=\"$includedir\"
 
3256
-          eval additional_libdir=\"$libdir\"
 
3257
-        ])
 
3258
-      else
 
3259
-        additional_includedir="$withval/include"
 
3260
-        additional_libdir="$withval/$acl_libdirstem"
 
3261
-      fi
 
3262
-    fi
 
3263
-])
 
3264
-  if test $use_additional = yes; then
 
3265
-    dnl Potentially add $additional_includedir to $CPPFLAGS.
 
3266
-    dnl But don't add it
 
3267
-    dnl   1. if it's the standard /usr/include,
 
3268
-    dnl   2. if it's already present in $CPPFLAGS,
 
3269
-    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
 
3270
-    dnl   4. if it doesn't exist as a directory.
 
3271
-    if test "X$additional_includedir" != "X/usr/include"; then
 
3272
-      haveit=
 
3273
-      for x in $CPPFLAGS; do
 
3274
-        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
3275
-        if test "X$x" = "X-I$additional_includedir"; then
 
3276
-          haveit=yes
 
3277
-          break
 
3278
-        fi
 
3279
-      done
 
3280
-      if test -z "$haveit"; then
 
3281
-        if test "X$additional_includedir" = "X/usr/local/include"; then
 
3282
-          if test -n "$GCC"; then
 
3283
-            case $host_os in
 
3284
-              linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
3285
-            esac
 
3286
-          fi
 
3287
-        fi
 
3288
-        if test -z "$haveit"; then
 
3289
-          if test -d "$additional_includedir"; then
 
3290
-            dnl Really add $additional_includedir to $CPPFLAGS.
 
3291
-            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
 
3292
-          fi
 
3293
-        fi
 
3294
-      fi
 
3295
-    fi
 
3296
-    dnl Potentially add $additional_libdir to $LDFLAGS.
 
3297
-    dnl But don't add it
 
3298
-    dnl   1. if it's the standard /usr/lib,
 
3299
-    dnl   2. if it's already present in $LDFLAGS,
 
3300
-    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
 
3301
-    dnl   4. if it doesn't exist as a directory.
 
3302
-    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
3303
-      haveit=
 
3304
-      for x in $LDFLAGS; do
 
3305
-        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
3306
-        if test "X$x" = "X-L$additional_libdir"; then
 
3307
-          haveit=yes
 
3308
-          break
 
3309
-        fi
 
3310
-      done
 
3311
-      if test -z "$haveit"; then
 
3312
-        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
3313
-          if test -n "$GCC"; then
 
3314
-            case $host_os in
 
3315
-              linux*) haveit=yes;;
 
3316
-            esac
 
3317
-          fi
 
3318
-        fi
 
3319
-        if test -z "$haveit"; then
 
3320
-          if test -d "$additional_libdir"; then
 
3321
-            dnl Really add $additional_libdir to $LDFLAGS.
 
3322
-            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
 
3323
-          fi
 
3324
-        fi
 
3325
-      fi
 
3326
-    fi
 
3327
-  fi
 
3328
-])
 
3329
-
 
3330
-dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
 
3331
-dnl acl_final_exec_prefix, containing the values to which $prefix and
 
3332
-dnl $exec_prefix will expand at the end of the configure script.
 
3333
-AC_DEFUN([AC_LIB_PREPARE_PREFIX],
 
3334
-[
 
3335
-  dnl Unfortunately, prefix and exec_prefix get only finally determined
 
3336
-  dnl at the end of configure.
 
3337
-  if test "X$prefix" = "XNONE"; then
 
3338
-    acl_final_prefix="$ac_default_prefix"
 
3339
-  else
 
3340
-    acl_final_prefix="$prefix"
 
3341
-  fi
 
3342
-  if test "X$exec_prefix" = "XNONE"; then
 
3343
-    acl_final_exec_prefix='${prefix}'
 
3344
-  else
 
3345
-    acl_final_exec_prefix="$exec_prefix"
 
3346
-  fi
 
3347
-  acl_save_prefix="$prefix"
 
3348
-  prefix="$acl_final_prefix"
 
3349
-  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
3350
-  prefix="$acl_save_prefix"
 
3351
-])
 
3352
-
 
3353
-dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
 
3354
-dnl variables prefix and exec_prefix bound to the values they will have
 
3355
-dnl at the end of the configure script.
 
3356
-AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
 
3357
-[
 
3358
-  acl_save_prefix="$prefix"
 
3359
-  prefix="$acl_final_prefix"
 
3360
-  acl_save_exec_prefix="$exec_prefix"
 
3361
-  exec_prefix="$acl_final_exec_prefix"
 
3362
-  $1
 
3363
-  exec_prefix="$acl_save_exec_prefix"
 
3364
-  prefix="$acl_save_prefix"
 
3365
-])
 
3366
-
 
3367
-dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
 
3368
-dnl the basename of the libdir, either "lib" or "lib64".
 
3369
-AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
 
3370
-[
 
3371
-  dnl There is no formal standard regarding lib and lib64. The current
 
3372
-  dnl practice is that on a system supporting 32-bit and 64-bit instruction
 
3373
-  dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
 
3374
-  dnl libraries go under $prefix/lib. We determine the compiler's default
 
3375
-  dnl mode by looking at the compiler's library search path. If at least
 
3376
-  dnl of its elements ends in /lib64 or points to a directory whose absolute
 
3377
-  dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
 
3378
-  dnl default, namely "lib".
 
3379
-  acl_libdirstem=lib
 
3380
-  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
3381
-  if test -n "$searchpath"; then
 
3382
-    acl_save_IFS="${IFS=       }"; IFS=":"
 
3383
-    for searchdir in $searchpath; do
 
3384
-      if test -d "$searchdir"; then
 
3385
-        case "$searchdir" in
 
3386
-          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
3387
-          *) searchdir=`cd "$searchdir" && pwd`
 
3388
-             case "$searchdir" in
 
3389
-               */lib64 ) acl_libdirstem=lib64 ;;
 
3390
-             esac ;;
 
3391
-        esac
 
3392
-      fi
 
3393
-    done
 
3394
-    IFS="$acl_save_IFS"
 
3395
-  fi
 
3396
-])
 
3397
-
 
3398
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
3399
-#
 
3400
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
3401
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
3402
-#   Written by Gordon Matzigkeit, 1996
 
3403
-#
 
3404
-# This file is free software; the Free Software Foundation gives
 
3405
-# unlimited permission to copy and/or distribute it, with or without
 
3406
-# modifications, as long as this notice is preserved.
 
3407
-
 
3408
-m4_define([_LT_COPYING], [dnl
 
3409
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
3410
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
3411
-#   Written by Gordon Matzigkeit, 1996
 
3412
-#
 
3413
-#   This file is part of GNU Libtool.
 
3414
-#
 
3415
-# GNU Libtool is free software; you can redistribute it and/or
 
3416
-# modify it under the terms of the GNU General Public License as
 
3417
-# published by the Free Software Foundation; either version 2 of
 
3418
-# the License, or (at your option) any later version.
 
3419
-#
 
3420
-# As a special exception to the GNU General Public License,
 
3421
-# if you distribute this file as part of a program or library that
 
3422
-# is built using GNU Libtool, you may include this file under the
 
3423
-# same distribution terms that you use for the rest of that program.
 
3424
-#
 
3425
-# GNU Libtool is distributed in the hope that it will be useful,
 
3426
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
3427
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
3428
-# GNU General Public License for more details.
3235
3429
-#
3236
3430
-# You should have received a copy of the GNU General Public License
3237
 
-# along with this program; if not, write to the Free Software
3238
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3239
 
-#
3240
 
-# As a special exception to the GNU General Public License, if you
3241
 
-# distribute this file as part of a program that contains a
3242
 
-# configuration script generated by Autoconf, you may include it under
3243
 
-# the same distribution terms that you use for the rest of that program.
3244
 
+# Dependencies to place before the objects being linked to create a
3245
 
+# shared library.
3246
 
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
3247
 
 
3248
 
-# A sed program that does not truncate output.
3249
 
-SED=$lt_SED
3250
 
+# Dependencies to place after the objects being linked to create a
3251
 
+# shared library.
3252
 
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
3253
 
 
3254
 
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
3255
 
-Xsed="$SED -e 1s/^X//"
3256
 
+# The directories searched by this compiler when creating a shared
3257
 
+# library
3258
 
+compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
3259
 
 
 
3431
-# along with GNU Libtool; see the file COPYING.  If not, a copy
 
3432
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
3433
-# obtained by writing to the Free Software Foundation, Inc.,
 
3434
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
3435
-])
 
3436
-
 
3437
-# serial 56 LT_INIT
 
3438
-
 
3439
-
 
3440
-# LT_PREREQ(VERSION)
 
3441
-# ------------------
 
3442
-# Complain and exit if this libtool version is less that VERSION.
 
3443
-m4_defun([LT_PREREQ],
 
3444
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
 
3445
-       [m4_default([$3],
 
3446
-                  [m4_fatal([Libtool version $1 or higher is required],
 
3447
-                            63)])],
 
3448
-       [$2])])
 
3449
-
 
3450
-
 
3451
-# _LT_CHECK_BUILDDIR
 
3452
-# ------------------
 
3453
-# Complain if the absolute build directory name contains unusual characters
 
3454
-m4_defun([_LT_CHECK_BUILDDIR],
 
3455
-[case `pwd` in
 
3456
-  *\ * | *\    *)
 
3457
-    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
 
3458
-esac
 
3459
-])
 
3460
-
 
3461
-
 
3462
-# LT_INIT([OPTIONS])
 
3463
-# ------------------
 
3464
-AC_DEFUN([LT_INIT],
 
3465
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
3466
-AC_BEFORE([$0], [LT_LANG])dnl
 
3467
-AC_BEFORE([$0], [LT_OUTPUT])dnl
 
3468
-AC_BEFORE([$0], [LTDL_INIT])dnl
 
3469
-m4_require([_LT_CHECK_BUILDDIR])dnl
 
3470
-
 
3471
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
 
3472
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
 
3473
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
 
3474
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
 
3475
-dnl unless we require an AC_DEFUNed macro:
 
3476
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
 
3477
-AC_REQUIRE([LTSUGAR_VERSION])dnl
 
3478
-AC_REQUIRE([LTVERSION_VERSION])dnl
 
3479
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 
3480
-m4_require([_LT_PROG_LTMAIN])dnl
 
3481
-
 
3482
-dnl Parse OPTIONS
 
3483
-_LT_SET_OPTIONS([$0], [$1])
 
3484
-
 
3485
-# This can be used to rebuild libtool when needed
 
3486
-LIBTOOL_DEPS="$ltmain"
 
3487
-
 
3488
-# Always use our own libtool.
 
3489
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
3490
-AC_SUBST(LIBTOOL)dnl
 
3491
-
 
3492
-_LT_SETUP
 
3493
-
 
3494
-# Only expand once:
 
3495
-m4_define([LT_INIT])
 
3496
-])# LT_INIT
 
3497
-
 
3498
-# Old names:
 
3499
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
 
3500
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
 
3501
-dnl aclocal-1.4 backwards compatibility:
 
3502
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 
3503
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 
3504
-
 
3505
-
 
3506
-# _LT_CC_BASENAME(CC)
 
3507
-# -------------------
 
3508
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
3509
-m4_defun([_LT_CC_BASENAME],
 
3510
-[for cc_temp in $1""; do
 
3511
-  case $cc_temp in
 
3512
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
3513
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
3514
-    \-*) ;;
 
3515
-    *) break;;
 
3516
-  esac
 
3517
-done
 
3518
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
3519
-])
 
3520
-
 
3521
-
 
3522
-# _LT_FILEUTILS_DEFAULTS
 
3523
-# ----------------------
 
3524
-# It is okay to use these file commands and assume they have been set
 
3525
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
 
3526
-m4_defun([_LT_FILEUTILS_DEFAULTS],
 
3527
-[: ${CP="cp -f"}
 
3528
-: ${MV="mv -f"}
 
3529
-: ${RM="rm -f"}
 
3530
-])# _LT_FILEUTILS_DEFAULTS
 
3531
-
 
3532
-
 
3533
-# _LT_SETUP
 
3534
-# ---------
 
3535
-m4_defun([_LT_SETUP],
 
3536
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
3537
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
3538
-_LT_DECL([], [host_alias], [0], [The host system])dnl
 
3539
-_LT_DECL([], [host], [0])dnl
 
3540
-_LT_DECL([], [host_os], [0])dnl
 
3541
-dnl
 
3542
-_LT_DECL([], [build_alias], [0], [The build system])dnl
 
3543
-_LT_DECL([], [build], [0])dnl
 
3544
-_LT_DECL([], [build_os], [0])dnl
 
3545
-dnl
 
3546
-AC_REQUIRE([AC_PROG_CC])dnl
 
3547
-AC_REQUIRE([LT_PATH_LD])dnl
 
3548
-AC_REQUIRE([LT_PATH_NM])dnl
 
3549
-dnl
 
3550
-AC_REQUIRE([AC_PROG_LN_S])dnl
 
3551
-test -z "$LN_S" && LN_S="ln -s"
 
3552
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
 
3553
-dnl
 
3554
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
 
3555
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
 
3556
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 
3557
-dnl
 
3558
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
3559
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 
3560
-m4_require([_LT_CMD_RELOAD])dnl
 
3561
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 
3562
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 
3563
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
3564
-
 
3565
-_LT_CONFIG_LIBTOOL_INIT([
 
3566
-# See if we are running on zsh, and set the options which allow our
 
3567
-# commands through without removal of \ escapes INIT.
 
3568
-if test -n "\${ZSH_VERSION+set}" ; then
 
3569
-   setopt NO_GLOB_SUBST
 
3570
-fi
 
3571
-])
 
3572
-if test -n "${ZSH_VERSION+set}" ; then
 
3573
-   setopt NO_GLOB_SUBST
 
3574
-fi
 
3575
-
 
3576
-_LT_CHECK_OBJDIR
 
3577
-
 
3578
-m4_require([_LT_TAG_COMPILER])dnl
 
3579
-_LT_PROG_ECHO_BACKSLASH
 
3580
-
 
3581
-case $host_os in
 
3582
-aix3*)
 
3583
-  # AIX sometimes has problems with the GCC collect2 program.  For some
 
3584
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
3585
-  # vanish in a puff of smoke.
 
3586
-  if test "X${COLLECT_NAMES+set}" != Xset; then
 
3587
-    COLLECT_NAMES=
 
3588
-    export COLLECT_NAMES
 
3589
-  fi
 
3590
-  ;;
 
3591
-esac
 
3592
-
 
3593
-# Sed substitution that helps us do robust quoting.  It backslashifies
 
3594
-# metacharacters that are still active within double-quoted strings.
 
3595
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 
3596
-
 
3597
-# Same as above, but do not quote variable references.
 
3598
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 
3599
-
 
3600
-# Sed substitution to delay expansion of an escaped shell variable in a
 
3601
-# double_quote_subst'ed string.
 
3602
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3603
-
 
3604
-# Sed substitution to delay expansion of an escaped single quote.
 
3605
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3606
-
 
3607
-# Sed substitution to avoid accidental globbing in evaled expressions
 
3608
-no_glob_subst='s/\*/\\\*/g'
 
3609
-
 
3610
-# Global variables:
 
3611
-ofile=libtool
 
3612
-can_build_shared=yes
 
3613
-
 
3614
-# All known linkers require a `.a' archive for static linking (except MSVC,
 
3615
-# which needs '.lib').
 
3616
-libext=a
 
3617
-
 
3618
-with_gnu_ld="$lt_cv_prog_gnu_ld"
 
3619
-
 
3620
-old_CC="$CC"
 
3621
-old_CFLAGS="$CFLAGS"
 
3622
-
 
3623
-# Set sane defaults for various variables
 
3624
-test -z "$CC" && CC=cc
 
3625
-test -z "$LTCC" && LTCC=$CC
 
3626
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
3627
-test -z "$LD" && LD=ld
 
3628
-test -z "$ac_objext" && ac_objext=o
 
3629
-
 
3630
-_LT_CC_BASENAME([$compiler])
 
3631
-
 
3632
-# Only perform the check for file, if the check method requires it
 
3633
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
3634
-case $deplibs_check_method in
 
3635
-file_magic*)
 
3636
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
3637
-    _LT_PATH_MAGIC
 
3638
-  fi
 
3639
-  ;;
 
3640
-esac
 
3641
-
 
3642
-# Use C for the default configuration in the libtool script
 
3643
-LT_SUPPORTED_TAG([CC])
 
3644
-_LT_LANG_C_CONFIG
 
3645
-_LT_LANG_DEFAULT_CONFIG
 
3646
-_LT_CONFIG_COMMANDS
 
3647
-])# _LT_SETUP
 
3648
-
 
3649
-
 
3650
-# _LT_PROG_LTMAIN
 
3651
-# ---------------
 
3652
-# Note that this code is called both from `configure', and `config.status'
 
3653
-# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
 
3654
-# `config.status' has no value for ac_aux_dir unless we are using Automake,
 
3655
-# so we pass a copy along to make sure it has a sensible value anyway.
 
3656
-m4_defun([_LT_PROG_LTMAIN],
 
3657
-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
 
3658
-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
 
3659
-ltmain="$ac_aux_dir/ltmain.sh"
 
3660
-])# _LT_PROG_LTMAIN
 
3661
-
 
3662
-
 
3663
-
 
3664
-# So that we can recreate a full libtool script including additional
 
3665
-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
 
3666
-# in macros and then make a single call at the end using the `libtool'
 
3667
-# label.
 
3668
-
 
3669
-
 
3670
-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
 
3671
-# ----------------------------------------
 
3672
-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
3673
-m4_define([_LT_CONFIG_LIBTOOL_INIT],
 
3674
-[m4_ifval([$1],
 
3675
-          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
 
3676
-                     [$1
 
3677
-])])])
 
3678
-
 
3679
-# Initialize.
 
3680
-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
 
3681
-
 
3682
-
 
3683
-# _LT_CONFIG_LIBTOOL([COMMANDS])
 
3684
-# ------------------------------
 
3685
-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
3686
-m4_define([_LT_CONFIG_LIBTOOL],
 
3687
-[m4_ifval([$1],
 
3688
-          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
 
3689
-                     [$1
 
3690
-])])])
 
3691
-
 
3692
-# Initialize.
 
3693
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
 
3694
-
 
3695
-
 
3696
-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
 
3697
-# -----------------------------------------------------
 
3698
-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
 
3699
-[_LT_CONFIG_LIBTOOL([$1])
 
3700
-_LT_CONFIG_LIBTOOL_INIT([$2])
 
3701
-])
 
3702
-
 
3703
-
 
3704
-# _LT_FORMAT_COMMENT([COMMENT])
 
3705
-# -----------------------------
 
3706
-# Add leading comment marks to the start of each line, and a trailing
 
3707
-# full-stop to the whole comment if one is not present already.
 
3708
-m4_define([_LT_FORMAT_COMMENT],
 
3709
-[m4_ifval([$1], [
 
3710
-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
 
3711
-              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
 
3712
-)])
 
3713
-
 
3714
-
 
3715
-
 
3716
-
 
3717
-
 
3718
-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
 
3719
-# -------------------------------------------------------------------
 
3720
-# CONFIGNAME is the name given to the value in the libtool script.
 
3721
-# VARNAME is the (base) name used in the configure script.
 
3722
-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
 
3723
-# VARNAME.  Any other value will be used directly.
 
3724
-m4_define([_LT_DECL],
 
3725
-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
 
3726
-    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
 
3727
-       [m4_ifval([$1], [$1], [$2])])
 
3728
-    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
 
3729
-    m4_ifval([$4],
 
3730
-       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
 
3731
-    lt_dict_add_subkey([lt_decl_dict], [$2],
 
3732
-       [tagged?], [m4_ifval([$5], [yes], [no])])])
 
3733
-])
 
3734
-
 
3735
-
 
3736
-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
 
3737
-# --------------------------------------------------------
 
3738
-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
 
3739
-
 
3740
-
 
3741
-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
 
3742
-# ------------------------------------------------
 
3743
-m4_define([lt_decl_tag_varnames],
 
3744
-[_lt_decl_filter([tagged?], [yes], $@)])
 
3745
-
 
3746
-
 
3747
-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
 
3748
-# ---------------------------------------------------------
 
3749
-m4_define([_lt_decl_filter],
 
3750
-[m4_case([$#],
 
3751
-  [0], [m4_fatal([$0: too few arguments: $#])],
 
3752
-  [1], [m4_fatal([$0: too few arguments: $#: $1])],
 
3753
-  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
 
3754
-  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
 
3755
-  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
 
3756
-])
 
3757
-
 
3758
-
 
3759
-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
 
3760
-# --------------------------------------------------
 
3761
-m4_define([lt_decl_quote_varnames],
 
3762
-[_lt_decl_filter([value], [1], $@)])
 
3763
-
 
3764
-
 
3765
-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
 
3766
-# ---------------------------------------------------
 
3767
-m4_define([lt_decl_dquote_varnames],
 
3768
-[_lt_decl_filter([value], [2], $@)])
 
3769
-
 
3770
-
 
3771
-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
 
3772
-# ---------------------------------------------------
 
3773
-m4_define([lt_decl_varnames_tagged],
 
3774
-[m4_assert([$# <= 2])dnl
 
3775
-_$0(m4_quote(m4_default([$1], [[, ]])),
 
3776
-    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
3777
-    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
3778
-m4_define([_lt_decl_varnames_tagged],
 
3779
-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
 
3780
-
 
3781
-
 
3782
-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
 
3783
-# ------------------------------------------------
 
3784
-m4_define([lt_decl_all_varnames],
 
3785
-[_$0(m4_quote(m4_default([$1], [[, ]])),
 
3786
-     m4_if([$2], [],
 
3787
-          m4_quote(lt_decl_varnames),
 
3788
-       m4_quote(m4_shift($@))))[]dnl
 
3789
-])
 
3790
-m4_define([_lt_decl_all_varnames],
 
3791
-[lt_join($@, lt_decl_varnames_tagged([$1],
 
3792
-                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
 
3793
-])
 
3794
-
 
3795
-
 
3796
-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
 
3797
-# ------------------------------------
 
3798
-# Quote a variable value, and forward it to `config.status' so that its
 
3799
-# declaration there will have the same value as in `configure'.  VARNAME
 
3800
-# must have a single quote delimited value for this to work.
 
3801
-m4_define([_LT_CONFIG_STATUS_DECLARE],
 
3802
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 
3803
-
 
3804
-
 
3805
-# _LT_CONFIG_STATUS_DECLARATIONS
 
3806
-# ------------------------------
 
3807
-# We delimit libtool config variables with single quotes, so when
 
3808
-# we write them to config.status, we have to be sure to quote all
 
3809
-# embedded single quotes properly.  In configure, this macro expands
 
3810
-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 
3811
-#
 
3812
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
3813
-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 
3814
-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
 
3815
-    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
 
3816
-
 
3817
-
 
3818
-# _LT_LIBTOOL_TAGS
 
3819
-# ----------------
 
3820
-# Output comment and list of tags supported by the script
 
3821
-m4_defun([_LT_LIBTOOL_TAGS],
 
3822
-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
 
3823
-available_tags="_LT_TAGS"dnl
 
3824
-])
 
3825
-
 
3826
-
 
3827
-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
 
3828
-# -----------------------------------
 
3829
-# Extract the dictionary values for VARNAME (optionally with TAG) and
 
3830
-# expand to a commented shell variable setting:
 
3831
-#
 
3832
-#    # Some comment about what VAR is for.
 
3833
-#    visible_name=$lt_internal_name
 
3834
-m4_define([_LT_LIBTOOL_DECLARE],
 
3835
-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
 
3836
-                                          [description])))[]dnl
 
3837
-m4_pushdef([_libtool_name],
 
3838
-    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
 
3839
-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
 
3840
-    [0], [_libtool_name=[$]$1],
 
3841
-    [1], [_libtool_name=$lt_[]$1],
 
3842
-    [2], [_libtool_name=$lt_[]$1],
 
3843
-    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
 
3844
-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
 
3845
-])
 
3846
-
 
3847
-
 
3848
-# _LT_LIBTOOL_CONFIG_VARS
 
3849
-# -----------------------
 
3850
-# Produce commented declarations of non-tagged libtool config variables
 
3851
-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
 
3852
-# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
 
3853
-# section) are produced by _LT_LIBTOOL_TAG_VARS.
 
3854
-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
 
3855
-[m4_foreach([_lt_var],
 
3856
-    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
 
3857
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
 
3858
-
 
3859
-
 
3860
-# _LT_LIBTOOL_TAG_VARS(TAG)
 
3861
-# -------------------------
 
3862
-m4_define([_LT_LIBTOOL_TAG_VARS],
 
3863
-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
 
3864
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
 
3865
-
 
3866
-
 
3867
-# _LT_TAGVAR(VARNAME, [TAGNAME])
 
3868
-# ------------------------------
 
3869
-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 
3870
-
 
3871
-
 
3872
-# _LT_CONFIG_COMMANDS
 
3873
-# -------------------
 
3874
-# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
 
3875
-# variables for single and double quote escaping we saved from calls
 
3876
-# to _LT_DECL, we can put quote escaped variables declarations
 
3877
-# into `config.status', and then the shell code to quote escape them in
 
3878
-# for loops in `config.status'.  Finally, any additional code accumulated
 
3879
-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
 
3880
-m4_defun([_LT_CONFIG_COMMANDS],
 
3881
-[AC_PROVIDE_IFELSE([LT_OUTPUT],
 
3882
-       dnl If the libtool generation code has been placed in $CONFIG_LT,
 
3883
-       dnl instead of duplicating it all over again into config.status,
 
3884
-       dnl then we will have config.status run $CONFIG_LT later, so it
 
3885
-       dnl needs to know what name is stored there:
 
3886
-        [AC_CONFIG_COMMANDS([libtool],
 
3887
-            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
 
3888
-    dnl If the libtool generation code is destined for config.status,
 
3889
-    dnl expand the accumulated commands and init code now:
 
3890
-    [AC_CONFIG_COMMANDS([libtool],
 
3891
-        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
 
3892
-])#_LT_CONFIG_COMMANDS
 
3893
-
 
3894
-
 
3895
-# Initialize.
 
3896
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
 
3897
-[
 
3898
-
3260
3899
-# The HP-UX ksh and POSIX shell print the target directory to stdout
3261
3900
-# if CDPATH is set.
3262
3901
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3263
 
+# The library search path used internally by the compiler when linking
3264
 
+# a shared library.
3265
 
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
3266
 
 
3267
 
-# The names of the tagged configurations supported by this script.
3268
 
-available_tags=
3269
 
+# Method to check whether dependent libraries are shared objects.
3270
 
+deplibs_check_method=$lt_deplibs_check_method
3271
 
 
3272
 
-# ### BEGIN LIBTOOL CONFIG],
3273
 
-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
3274
 
+# Command to use when deplibs_check_method == file_magic.
3275
 
+file_magic_cmd=$lt_file_magic_cmd
3276
 
 
 
3902
-
 
3903
-sed_quote_subst='$sed_quote_subst'
 
3904
-double_quote_subst='$double_quote_subst'
 
3905
-delay_variable_subst='$delay_variable_subst'
 
3906
-_LT_CONFIG_STATUS_DECLARATIONS
 
3907
-LTCC='$LTCC'
 
3908
-LTCFLAGS='$LTCFLAGS'
 
3909
-compiler='$compiler_DEFAULT'
 
3910
-
 
3911
-# Quote evaled strings.
 
3912
-for var in lt_decl_all_varnames([[ \
 
3913
-]], lt_decl_quote_varnames); do
 
3914
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
3915
-    *[[\\\\\\\`\\"\\\$]]*)
 
3916
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
3917
-      ;;
 
3918
-    *)
 
3919
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
3920
-      ;;
 
3921
-    esac
 
3922
-done
 
3923
-
 
3924
-# Double-quote double-evaled strings.
 
3925
-for var in lt_decl_all_varnames([[ \
 
3926
-]], lt_decl_dquote_varnames); do
 
3927
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
3928
-    *[[\\\\\\\`\\"\\\$]]*)
 
3929
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
3930
-      ;;
 
3931
-    *)
 
3932
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
3933
-      ;;
 
3934
-    esac
 
3935
-done
 
3936
-
 
3937
-# Fix-up fallback echo if it was mangled by the above quoting rules.
 
3938
-case \$lt_ECHO in
 
3939
-*'\\\[$]0 --fallback-echo"')dnl "
 
3940
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
 
3941
-  ;;
 
3942
-esac
 
3943
-
 
3944
-_LT_OUTPUT_LIBTOOL_INIT
 
3945
-])
 
3946
-
 
3947
-
 
3948
-# LT_OUTPUT
 
3949
-# ---------
 
3950
-# This macro allows early generation of the libtool script (before
 
3951
-# AC_OUTPUT is called), incase it is used in configure for compilation
 
3952
-# tests.
 
3953
-AC_DEFUN([LT_OUTPUT],
 
3954
-[: ${CONFIG_LT=./config.lt}
 
3955
-AC_MSG_NOTICE([creating $CONFIG_LT])
 
3956
-cat >"$CONFIG_LT" <<_LTEOF
 
3957
-#! $SHELL
 
3958
-# Generated by $as_me.
 
3959
-# Run this file to recreate a libtool stub with the current configuration.
 
3960
-
 
3961
-lt_cl_silent=false
 
3962
-SHELL=\${CONFIG_SHELL-$SHELL}
 
3963
-_LTEOF
 
3964
-
 
3965
-cat >>"$CONFIG_LT" <<\_LTEOF
 
3966
-AS_SHELL_SANITIZE
 
3967
-_AS_PREPARE
 
3968
-
 
3969
-exec AS_MESSAGE_FD>&1
 
3970
-exec AS_MESSAGE_LOG_FD>>config.log
 
3971
-{
 
3972
-  echo
 
3973
-  AS_BOX([Running $as_me.])
 
3974
-} >&AS_MESSAGE_LOG_FD
 
3975
-
 
3976
-lt_cl_help="\
 
3977
-\`$as_me' creates a local libtool stub from the current configuration,
 
3978
-for use in further configure time tests before the real libtool is
 
3979
-generated.
 
3980
-
 
3981
-Usage: $[0] [[OPTIONS]]
 
3982
-
 
3983
-  -h, --help      print this help, then exit
 
3984
-  -V, --version   print version number, then exit
 
3985
-  -q, --quiet     do not print progress messages
 
3986
-  -d, --debug     don't remove temporary files
 
3987
-
 
3988
-Report bugs to <bug-libtool@gnu.org>."
 
3989
-
 
3990
-lt_cl_version="\
 
3991
-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 
3992
-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 
3993
-configured by $[0], generated by m4_PACKAGE_STRING.
 
3994
-
 
3995
-Copyright (C) 2008 Free Software Foundation, Inc.
 
3996
-This config.lt script is free software; the Free Software Foundation
 
3997
-gives unlimited permision to copy, distribute and modify it."
 
3998
-
 
3999
-while test $[#] != 0
 
4000
-do
 
4001
-  case $[1] in
 
4002
-    --version | --v* | -V )
 
4003
-      echo "$lt_cl_version"; exit 0 ;;
 
4004
-    --help | --h* | -h )
 
4005
-      echo "$lt_cl_help"; exit 0 ;;
 
4006
-    --debug | --d* | -d )
 
4007
-      debug=: ;;
 
4008
-    --quiet | --q* | --silent | --s* | -q )
 
4009
-      lt_cl_silent=: ;;
 
4010
-
 
4011
-    -*) AC_MSG_ERROR([unrecognized option: $[1]
 
4012
-Try \`$[0] --help' for more information.]) ;;
 
4013
-
 
4014
-    *) AC_MSG_ERROR([unrecognized argument: $[1]
 
4015
-Try \`$[0] --help' for more information.]) ;;
 
4016
-  esac
 
4017
-  shift
 
4018
-done
 
4019
-
 
4020
-if $lt_cl_silent; then
 
4021
-  exec AS_MESSAGE_FD>/dev/null
 
4022
-fi
 
4023
-_LTEOF
 
4024
-
 
4025
-cat >>"$CONFIG_LT" <<_LTEOF
 
4026
-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
 
4027
-_LTEOF
 
4028
-
 
4029
-cat >>"$CONFIG_LT" <<\_LTEOF
 
4030
-AC_MSG_NOTICE([creating $ofile])
 
4031
-_LT_OUTPUT_LIBTOOL_COMMANDS
 
4032
-AS_EXIT(0)
 
4033
-_LTEOF
 
4034
-chmod +x "$CONFIG_LT"
 
4035
-
 
4036
-# configure is writing to config.log, but config.lt does its own redirection,
 
4037
-# appending to config.log, which fails on DOS, as config.log is still kept
 
4038
-# open by configure.  Here we exec the FD to /dev/null, effectively closing
 
4039
-# config.log, so it can be properly (re)opened and appended to by config.lt.
 
4040
-if test "$no_create" != yes; then
 
4041
-  lt_cl_success=:
 
4042
-  test "$silent" = yes &&
 
4043
-    lt_config_lt_args="$lt_config_lt_args --quiet"
 
4044
-  exec AS_MESSAGE_LOG_FD>/dev/null
 
4045
-  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
4046
-  exec AS_MESSAGE_LOG_FD>>config.log
 
4047
-  $lt_cl_success || AS_EXIT(1)
 
4048
-fi
 
4049
-])# LT_OUTPUT
 
4050
-
 
4051
-
 
4052
-# _LT_CONFIG(TAG)
 
4053
-# ---------------
 
4054
-# If TAG is the built-in tag, create an initial libtool script with a
 
4055
-# default configuration from the untagged config vars.  Otherwise add code
 
4056
-# to config.status for appending the configuration named by TAG from the
 
4057
-# matching tagged config vars.
 
4058
-m4_defun([_LT_CONFIG],
 
4059
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
4060
-_LT_CONFIG_SAVE_COMMANDS([
 
4061
-  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
 
4062
-  m4_if(_LT_TAG, [C], [
 
4063
-    # See if we are running on zsh, and set the options which allow our
 
4064
-    # commands through without removal of \ escapes.
 
4065
-    if test -n "${ZSH_VERSION+set}" ; then
 
4066
-      setopt NO_GLOB_SUBST
 
4067
-    fi
 
4068
-
 
4069
-    cfgfile="${ofile}T"
 
4070
-    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
4071
-    $RM "$cfgfile"
 
4072
-
 
4073
-    cat <<_LT_EOF >> "$cfgfile"
 
4074
-#! $SHELL
 
4075
-
 
4076
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
4077
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
3277
4078
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3278
 
+# Flag that allows shared libraries with undefined symbols to be built.
3279
 
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
3280
 
 
3281
 
-# Shell to use when invoking shell scripts.
3282
 
-SHELL=$lt_SHELL
3283
 
+# Flag that forces no undefined symbols.
3284
 
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
3285
 
 
3286
 
-# Whether or not to build shared libraries.
3287
 
-build_libtool_libs=$enable_shared
3288
 
+# Commands used to finish a libtool library installation in a directory.
3289
 
+finish_cmds=$lt_finish_cmds
3290
 
 
3291
 
-# Whether or not to build static libraries.
3292
 
-build_old_libs=$enable_static
3293
 
+# Same as above, but a single script fragment to be evaled but not shown.
3294
 
+finish_eval=$lt_finish_eval
3295
 
 
3296
 
-# Whether or not to add -lc for building shared libraries.
3297
 
-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
3298
 
+# Take the output of nm and produce a listing of raw symbols and C names.
3299
 
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
3300
 
 
3301
 
-# Whether or not to disallow shared libs when runtime libs are static
3302
 
-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
3303
 
+# Transform the output of nm in a proper C declaration
3304
 
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
3305
 
 
3306
 
-# Whether or not to optimize for fast installation.
3307
 
-fast_install=$enable_fast_install
3308
 
+# Transform the output of nm in a C name address pair
3309
 
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
3310
 
 
3311
 
-# The host system.
3312
 
-host_alias=$host_alias
3313
 
-host=$host
3314
 
-host_os=$host_os
3315
 
+# This is the shared library runtime path variable.
3316
 
+runpath_var=$runpath_var
3317
 
 
3318
 
-# The build system.
3319
 
-build_alias=$build_alias
3320
 
-build=$build
3321
 
-build_os=$build_os
3322
 
+# This is the shared library path variable.
3323
 
+shlibpath_var=$shlibpath_var
3324
 
 
3325
 
-# An echo program that does not interpret backslashes.
3326
 
-echo=$lt_echo
3327
 
+# Is shlibpath searched before the hard-coded library search path?
3328
 
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
3329
 
 
3330
 
-# The archiver.
3331
 
-AR=$lt_AR
3332
 
-AR_FLAGS=$lt_AR_FLAGS
3333
 
+# How to hardcode a shared library path into an executable.
3334
 
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
3335
 
 
3336
 
-# A C compiler.
3337
 
-LTCC=$lt_LTCC
3338
 
+# Whether we should hardcode library paths into libraries.
3339
 
+hardcode_into_libs=$hardcode_into_libs
3340
 
 
3341
 
-# LTCC compiler flags.
3342
 
-LTCFLAGS=$lt_LTCFLAGS
3343
 
+# Flag to hardcode \$libdir into a binary during linking.
3344
 
+# This must work even if \$libdir does not exist.
3345
 
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
3346
 
 
3347
 
-# A language-specific compiler.
3348
 
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
3349
 
+# If ld is used when linking, flag to hardcode \$libdir into
3350
 
+# a binary during linking. This must work even if \$libdir does
3351
 
+# not exist.
3352
 
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
3353
 
 
3354
 
-# Is the compiler the GNU C compiler?
3355
 
-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
3356
 
+# Whether we need a single -rpath flag with a separated argument.
3357
 
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
3358
 
 
3359
 
-# An ERE matcher.
3360
 
-EGREP=$lt_EGREP
3361
 
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
3362
 
+# resulting binary.
3363
 
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
3364
 
 
3365
 
-# The linker used to build libraries.
3366
 
-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
3367
 
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
3368
 
+# resulting binary.
3369
 
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
3370
 
 
3371
 
-# Whether we need hard or soft links.
3372
 
-LN_S=$lt_LN_S
3373
 
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
3374
 
+# the resulting binary.
3375
 
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
3376
 
 
3377
 
-# A BSD-compatible nm program.
3378
 
-NM=$lt_NM
3379
 
+# Set to yes if building a shared library automatically hardcodes DIR into the library
3380
 
+# and all subsequent libraries and executables linked against it.
3381
 
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
3382
 
 
3383
 
-# A symbol stripping program
3384
 
-STRIP=$lt_STRIP
3385
 
+# Variables whose values should be saved in libtool wrapper scripts and
3386
 
+# restored at relink time.
3387
 
+variables_saved_for_relink="$variables_saved_for_relink"
3388
 
+
3389
 
+# Whether libtool must link a program against all its dependency libraries.
3390
 
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
3391
 
+
3392
 
+# Compile-time system search path for libraries
3393
 
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
3394
 
+
3395
 
+# Run-time system search path for libraries
3396
 
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
3397
 
+
3398
 
+# Fix the shell variable \$srcfile for the compiler.
3399
 
+fix_srcfile_path=$lt_fix_srcfile_path
3400
 
+
3401
 
+# Set to yes if exported symbols are required.
3402
 
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
3403
 
+
3404
 
+# The commands to list exported symbols.
3405
 
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
3406
 
+
3407
 
+# The commands to extract the exported symbol list from a shared archive.
3408
 
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
3409
 
+
3410
 
+# Symbols that should not be listed in the preloaded symbols.
3411
 
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
3412
 
+
3413
 
+# Symbols that must always be exported.
3414
 
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
3415
 
+
3416
 
+ifelse([$1],[],
3417
 
+[# ### END LIBTOOL CONFIG],
3418
 
+[# ### END LIBTOOL TAG CONFIG: $tagname])
3419
 
+
3420
 
+__EOF__
3421
 
+
3422
 
+ifelse([$1],[], [
3423
 
+  case $host_os in
3424
 
+  aix3*)
3425
 
+    cat <<\EOF >> "$cfgfile"
3426
 
+
3427
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
3428
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
3429
 
+# vanish in a puff of smoke.
3430
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
3431
 
+  COLLECT_NAMES=
3432
 
+  export COLLECT_NAMES
3433
 
+fi
3434
 
+EOF
3435
 
+    ;;
3436
 
+  esac
3437
 
+
3438
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
3439
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
3440
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
3441
 
+  # is reportedly fixed, but why not run on old versions too?
3442
 
+  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
3443
 
+
3444
 
+  mv -f "$cfgfile" "$ofile" || \
3445
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
3446
 
+  chmod +x "$ofile"
3447
 
+])
3448
 
+else
3449
 
+  # If there is no Makefile yet, we rely on a make rule to execute
3450
 
+  # `config.status --recheck' to rerun these tests and create the
3451
 
+  # libtool script then.
3452
 
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
3453
 
+  if test -f "$ltmain_in"; then
3454
 
+    test -f Makefile && make "$ltmain"
3455
 
+  fi
3456
 
+fi
3457
 
+])# AC_LIBTOOL_CONFIG
3458
 
 
3459
 
-# Used to examine libraries when file_magic_cmd begins "file"
3460
 
-MAGIC_CMD=$MAGIC_CMD
3461
 
 
3462
 
-# Used on cygwin: DLL creation program.
3463
 
-DLLTOOL="$DLLTOOL"
3464
 
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
3465
 
+# -------------------------------------------
3466
 
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
3467
 
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3468
 
 
3469
 
-# Used on cygwin: object dumper.
3470
 
-OBJDUMP="$OBJDUMP"
3471
 
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3472
 
 
3473
 
-# Used on cygwin: assembler.
3474
 
-AS="$AS"
3475
 
+if test "$GCC" = yes; then
3476
 
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3477
 
 
3478
 
-# The name of the directory that contains temporary libtool files.
3479
 
-objdir=$objdir
3480
 
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3481
 
+    lt_cv_prog_compiler_rtti_exceptions,
3482
 
+    [-fno-rtti -fno-exceptions], [],
3483
 
+    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3484
 
+fi
3485
 
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
3486
 
 
3487
 
-# How to create reloadable object files.
3488
 
-reload_flag=$lt_reload_flag
3489
 
-reload_cmds=$lt_reload_cmds
3490
 
 
3491
 
-# How to pass a linker flag through the compiler.
3492
 
-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
3493
 
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3494
 
+# ---------------------------------
3495
 
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
3496
 
+[AC_REQUIRE([AC_CANONICAL_HOST])
3497
 
+AC_REQUIRE([LT_AC_PROG_SED])
3498
 
+AC_REQUIRE([AC_PROG_NM])
3499
 
+AC_REQUIRE([AC_OBJEXT])
3500
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
3501
 
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3502
 
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3503
 
+[
3504
 
+# These are sane defaults that work on at least a few old systems.
3505
 
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
3506
 
 
3507
 
-# Object file suffix (normally "o").
3508
 
-objext="$ac_objext"
3509
 
+# Character class describing NM global symbol codes.
3510
 
+symcode='[[BCDEGRST]]'
3511
 
 
3512
 
-# Old archive suffix (normally "a").
3513
 
-libext="$libext"
3514
 
+# Regexp to match symbols that can be accessed directly from C.
3515
 
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3516
 
 
3517
 
-# Shared library suffix (normally ".so").
3518
 
-shrext_cmds='$shrext_cmds'
3519
 
+# Transform an extracted symbol line into a proper C declaration
3520
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
3521
 
 
3522
 
-# Executable file suffix (normally "").
3523
 
-exeext="$exeext"
3524
 
+# Transform an extracted symbol line into symbol name and symbol address
3525
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
3526
 
 
3527
 
-# Additional compiler flags for building library objects.
3528
 
-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
3529
 
-pic_mode=$pic_mode
3530
 
+# Define system-specific variables.
3531
 
+case $host_os in
3532
 
+aix*)
3533
 
+  symcode='[[BCDT]]'
3534
 
+  ;;
3535
 
+cygwin* | mingw* | pw32*)
3536
 
+  symcode='[[ABCDGISTW]]'
3537
 
+  ;;
3538
 
+hpux*) # Its linker distinguishes data from code symbols
3539
 
+  if test "$host_cpu" = ia64; then
3540
 
+    symcode='[[ABCDEGRST]]'
3541
 
+  fi
3542
 
+  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3543
 
+  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
3544
 
+  ;;
3545
 
+linux* | k*bsd*-gnu)
3546
 
+  if test "$host_cpu" = ia64; then
3547
 
+    symcode='[[ABCDGIRSTW]]'
3548
 
+    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3549
 
+    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
3550
 
+  fi
3551
 
+  ;;
3552
 
+irix* | nonstopux*)
3553
 
+  symcode='[[BCDEGRST]]'
3554
 
+  ;;
3555
 
+osf*)
3556
 
+  symcode='[[BCDEGQRST]]'
3557
 
+  ;;
3558
 
+solaris*)
3559
 
+  symcode='[[BDRT]]'
3560
 
+  ;;
3561
 
+sco3.2v5*)
3562
 
+  symcode='[[DT]]'
3563
 
+  ;;
3564
 
+sysv4.2uw2*)
3565
 
+  symcode='[[DT]]'
3566
 
+  ;;
3567
 
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
3568
 
+  symcode='[[ABDT]]'
3569
 
+  ;;
3570
 
+sysv4)
3571
 
+  symcode='[[DFNSTU]]'
3572
 
+  ;;
3573
 
+esac
3574
 
 
3575
 
-# What is the maximum length of a command?
3576
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
3577
 
+# Handle CRLF in mingw tool chain
3578
 
+opt_cr=
3579
 
+case $build_os in
3580
 
+mingw*)
3581
 
+  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3582
 
+  ;;
3583
 
+esac
3584
 
 
3585
 
-# Does compiler simultaneously support -c and -o options?
3586
 
-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
3587
 
+# If we're using GNU nm, then use its standard symbol codes.
3588
 
+case `$NM -V 2>&1` in
3589
 
+*GNU* | *'with BFD'*)
3590
 
+  symcode='[[ABCDGIRSTW]]' ;;
3591
 
+esac
3592
 
 
3593
 
-# Must we lock files when doing compilation?
3594
 
-need_locks=$lt_need_locks
3595
 
+# Try without a prefix undercore, then with it.
3596
 
+for ac_symprfx in "" "_"; do
3597
 
 
3598
 
-# Do we need the lib prefix for modules?
3599
 
-need_lib_prefix=$need_lib_prefix
3600
 
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3601
 
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
3602
 
 
3603
 
-# Do we need a version for libraries?
3604
 
-need_version=$need_version
3605
 
+  # Write the raw and C identifiers.
3606
 
+  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3607
 
 
3608
 
-# Whether dlopen is supported.
3609
 
-dlopen_support=$enable_dlopen
3610
 
+  # Check to see that the pipe works correctly.
3611
 
+  pipe_works=no
3612
 
 
3613
 
-# Whether dlopen of programs is supported.
3614
 
-dlopen_self=$enable_dlopen_self
3615
 
+  rm -f conftest*
3616
 
+  cat > conftest.$ac_ext <<EOF
3617
 
+#ifdef __cplusplus
3618
 
+extern "C" {
3619
 
+#endif
3620
 
+char nm_test_var;
3621
 
+void nm_test_func(){}
3622
 
+#ifdef __cplusplus
3623
 
+}
3624
 
+#endif
3625
 
+int main(){nm_test_var='a';nm_test_func();return(0);}
3626
 
+EOF
3627
 
 
3628
 
-# Whether dlopen of statically linked programs is supported.
3629
 
-dlopen_self_static=$enable_dlopen_self_static
3630
 
+  if AC_TRY_EVAL(ac_compile); then
3631
 
+    # Now try to grab the symbols.
3632
 
+    nlist=conftest.nm
3633
 
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
3634
 
+      # Try sorting and uniquifying the output.
3635
 
+      if sort "$nlist" | uniq > "$nlist"T; then
3636
 
+       mv -f "$nlist"T "$nlist"
3637
 
+      else
3638
 
+       rm -f "$nlist"T
3639
 
+      fi
3640
 
 
3641
 
-# Compiler flag to prevent dynamic linking.
3642
 
-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
3643
 
+      # Make sure that we snagged all the symbols we need.
3644
 
+      if grep ' nm_test_var$' "$nlist" >/dev/null; then
3645
 
+       if grep ' nm_test_func$' "$nlist" >/dev/null; then
3646
 
+         cat <<EOF > conftest.$ac_ext
3647
 
+#ifdef __cplusplus
3648
 
+extern "C" {
3649
 
+#endif
3650
 
 
3651
 
-# Compiler flag to turn off builtin functions.
3652
 
-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
3653
 
+EOF
3654
 
+         # Now generate the symbol file.
3655
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
3656
 
 
3657
 
-# Compiler flag to allow reflexive dlopens.
3658
 
-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
3659
 
+         cat <<EOF >> conftest.$ac_ext
3660
 
+#if defined (__STDC__) && __STDC__
3661
 
+# define lt_ptr_t void *
3662
 
+#else
3663
 
+# define lt_ptr_t char *
3664
 
+# define const
3665
 
+#endif
3666
 
 
3667
 
-# Compiler flag to generate shared objects directly from archives.
3668
 
-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
3669
 
+/* The mapping between symbol names and symbols. */
3670
 
+const struct {
3671
 
+  const char *name;
3672
 
+  lt_ptr_t address;
3673
 
+}
3674
 
+lt_preloaded_symbols[[]] =
3675
 
+{
3676
 
+EOF
3677
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
3678
 
+         cat <<\EOF >> conftest.$ac_ext
3679
 
+  {0, (lt_ptr_t) 0}
3680
 
+};
3681
 
 
3682
 
-# Compiler flag to generate thread-safe objects.
3683
 
-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
3684
 
+#ifdef __cplusplus
3685
 
+}
3686
 
+#endif
3687
 
+EOF
3688
 
+         # Now try linking the two files.
3689
 
+         mv conftest.$ac_objext conftstm.$ac_objext
3690
 
+         lt_save_LIBS="$LIBS"
3691
 
+         lt_save_CFLAGS="$CFLAGS"
3692
 
+         LIBS="conftstm.$ac_objext"
3693
 
+         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
3694
 
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
3695
 
+           pipe_works=yes
3696
 
+         fi
3697
 
+         LIBS="$lt_save_LIBS"
3698
 
+         CFLAGS="$lt_save_CFLAGS"
3699
 
+       else
3700
 
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
3701
 
+       fi
3702
 
+      else
3703
 
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
3704
 
+      fi
3705
 
+    else
3706
 
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3707
 
+    fi
3708
 
+  else
3709
 
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
3710
 
+    cat conftest.$ac_ext >&5
3711
 
+  fi
3712
 
+  rm -rf conftest* conftst*
3713
 
 
3714
 
-# Library versioning type.
3715
 
-version_type=$version_type
3716
 
+  # Do not use the global_symbol_pipe unless it works.
3717
 
+  if test "$pipe_works" = yes; then
3718
 
+    break
3719
 
+  else
3720
 
+    lt_cv_sys_global_symbol_pipe=
3721
 
+  fi
3722
 
+done
3723
 
+])
3724
 
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
3725
 
+  lt_cv_sys_global_symbol_to_cdecl=
3726
 
+fi
3727
 
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
3728
 
+  AC_MSG_RESULT(failed)
3729
 
+else
3730
 
+  AC_MSG_RESULT(ok)
3731
 
+fi
3732
 
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3733
 
 
3734
 
-# Format of library name prefix.
3735
 
-libname_spec=$lt_libname_spec
3736
 
 
3737
 
-# List of archive names.  First name is the real one, the rest are links.
3738
 
-# The last name is the one that the linker finds with -lNAME.
3739
 
-library_names_spec=$lt_library_names_spec
3740
 
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
3741
 
+# ---------------------------------------
3742
 
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
3743
 
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
3744
 
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3745
 
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
3746
 
 
3747
 
-# The coded name of the library, if different from the real name.
3748
 
-soname_spec=$lt_soname_spec
3749
 
+AC_MSG_CHECKING([for $compiler option to produce PIC])
3750
 
+ ifelse([$1],[CXX],[
3751
 
+  # C++ specific cases for pic, static, wl, etc.
3752
 
+  if test "$GXX" = yes; then
3753
 
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3754
 
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3755
 
 
3756
 
-# Commands used to build and install an old-style archive.
3757
 
-RANLIB=$lt_RANLIB
3758
 
-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
3759
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
3760
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
3761
 
+    case $host_os in
3762
 
+    aix*)
3763
 
+      # All AIX code is PIC.
3764
 
+      if test "$host_cpu" = ia64; then
3765
 
+       # AIX 5 now supports IA64 processor
3766
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3767
 
+      fi
3768
 
+      ;;
3769
 
+    amigaos*)
3770
 
+      # FIXME: we need at least 68020 code to build shared libraries, but
3771
 
+      # adding the `-m68020' flag to GCC prevents building anything better,
3772
 
+      # like `-m68040'.
3773
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3774
 
+      ;;
3775
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3776
 
+      # PIC is the default for these OSes.
3777
 
+      ;;
3778
 
+    mingw* | cygwin* | os2* | pw32*)
3779
 
+      # This hack is so that the source file can tell whether it is being
3780
 
+      # built for inclusion in a dll (and should export symbols for example).
3781
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
3782
 
+      # (--disable-auto-import) libraries
3783
 
+      m4_if([$1], [GCJ], [],
3784
 
+       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3785
 
+      ;;
3786
 
+    darwin* | rhapsody*)
3787
 
+      # PIC is the default on this platform
3788
 
+      # Common symbols not allowed in MH_DYLIB files
3789
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3790
 
+      ;;
3791
 
+    *djgpp*)
3792
 
+      # DJGPP does not support shared libraries at all
3793
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3794
 
+      ;;
3795
 
+    interix[[3-9]]*)
3796
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3797
 
+      # Instead, we relocate shared libraries at runtime.
3798
 
+      ;;
3799
 
+    sysv4*MP*)
3800
 
+      if test -d /usr/nec; then
3801
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3802
 
+      fi
3803
 
+      ;;
3804
 
+    hpux*)
3805
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3806
 
+      # not for PA HP-UX.
3807
 
+      case $host_cpu in
3808
 
+      hppa*64*|ia64*)
3809
 
+       ;;
3810
 
+      *)
3811
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3812
 
+       ;;
3813
 
+      esac
3814
 
+      ;;
3815
 
+    *)
3816
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3817
 
+      ;;
3818
 
+    esac
3819
 
+  else
3820
 
+    case $host_os in
3821
 
+      aix[[4-9]]*)
3822
 
+       # All AIX code is PIC.
3823
 
+       if test "$host_cpu" = ia64; then
3824
 
+         # AIX 5 now supports IA64 processor
3825
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3826
 
+       else
3827
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3828
 
+       fi
3829
 
+       ;;
3830
 
+      chorus*)
3831
 
+       case $cc_basename in
3832
 
+       cxch68*)
3833
 
+         # Green Hills C++ Compiler
3834
 
+         # _LT_AC_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"
3835
 
+         ;;
3836
 
+       esac
3837
 
+       ;;
3838
 
+       darwin*)
3839
 
+         # PIC is the default on this platform
3840
 
+         # Common symbols not allowed in MH_DYLIB files
3841
 
+         case $cc_basename in
3842
 
+           xlc*)
3843
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3844
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3845
 
+           ;;
3846
 
+         esac
3847
 
+       ;;
3848
 
+      dgux*)
3849
 
+       case $cc_basename in
3850
 
+         ec++*)
3851
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3852
 
+           ;;
3853
 
+         ghcx*)
3854
 
+           # Green Hills C++ Compiler
3855
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3856
 
+           ;;
3857
 
+         *)
3858
 
+           ;;
3859
 
+       esac
3860
 
+       ;;
3861
 
+      freebsd* | dragonfly*)
3862
 
+       # FreeBSD uses GNU C++
3863
 
+       ;;
3864
 
+      hpux9* | hpux10* | hpux11*)
3865
 
+       case $cc_basename in
3866
 
+         CC*)
3867
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3868
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3869
 
+           if test "$host_cpu" != ia64; then
3870
 
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3871
 
+           fi
3872
 
+           ;;
3873
 
+         aCC*)
3874
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3875
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3876
 
+           case $host_cpu in
3877
 
+           hppa*64*|ia64*)
3878
 
+             # +Z the default
3879
 
+             ;;
3880
 
+           *)
3881
 
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3882
 
+             ;;
3883
 
+           esac
3884
 
+           ;;
3885
 
+         *)
3886
 
+           ;;
3887
 
+       esac
3888
 
+       ;;
3889
 
+      interix*)
3890
 
+       # This is c89, which is MS Visual C++ (no shared libs)
3891
 
+       # Anyone wants to do a port?
3892
 
+       ;;
3893
 
+      irix5* | irix6* | nonstopux*)
3894
 
+       case $cc_basename in
3895
 
+         CC*)
3896
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3897
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3898
 
+           # CC pic flag -KPIC is the default.
3899
 
+           ;;
3900
 
+         *)
3901
 
+           ;;
3902
 
+       esac
3903
 
+       ;;
3904
 
+      linux* | k*bsd*-gnu)
3905
 
+       case $cc_basename in
3906
 
+         KCC*)
3907
 
+           # KAI C++ Compiler
3908
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3909
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3910
 
+           ;;
3911
 
+         icpc* | ecpc*)
3912
 
+           # Intel C++
3913
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3914
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3915
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3916
 
+           ;;
3917
 
+         pgCC* | pgcpp*)
3918
 
+           # Portland Group C++ compiler.
3919
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3920
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3921
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3922
 
+           ;;
3923
 
+         cxx*)
3924
 
+           # Compaq C++
3925
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
3926
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
3927
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3928
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3929
 
+           ;;
3930
 
+         *)
3931
 
+           case `$CC -V 2>&1 | sed 5q` in
3932
 
+           *Sun\ C*)
3933
 
+             # Sun C++ 5.9
3934
 
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3935
 
+             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3936
 
+             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3937
 
+             ;;
3938
 
+           esac
3939
 
+           ;;
3940
 
+       esac
3941
 
+       ;;
3942
 
+      lynxos*)
3943
 
+       ;;
3944
 
+      m88k*)
3945
 
+       ;;
3946
 
+      mvs*)
3947
 
+       case $cc_basename in
3948
 
+         cxx*)
3949
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3950
 
+           ;;
3951
 
+         *)
3952
 
+           ;;
3953
 
+       esac
3954
 
+       ;;
3955
 
+      netbsd* | netbsdelf*-gnu)
3956
 
+       ;;
3957
 
+      osf3* | osf4* | osf5*)
3958
 
+       case $cc_basename in
3959
 
+         KCC*)
3960
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3961
 
+           ;;
3962
 
+         RCC*)
3963
 
+           # Rational C++ 2.4.1
3964
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3965
 
+           ;;
3966
 
+         cxx*)
3967
 
+           # Digital/Compaq C++
3968
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3969
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
3970
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
3971
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3972
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3973
 
+           ;;
3974
 
+         *)
3975
 
+           ;;
3976
 
+       esac
3977
 
+       ;;
3978
 
+      psos*)
3979
 
+       ;;
3980
 
+      solaris*)
3981
 
+       case $cc_basename in
3982
 
+         CC*)
3983
 
+           # Sun C++ 4.2, 5.x and Centerline C++
3984
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3985
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3986
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3987
 
+           ;;
3988
 
+         gcx*)
3989
 
+           # Green Hills C++ Compiler
3990
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3991
 
+           ;;
3992
 
+         *)
3993
 
+           ;;
3994
 
+       esac
3995
 
+       ;;
3996
 
+      sunos4*)
3997
 
+       case $cc_basename in
3998
 
+         CC*)
3999
 
+           # Sun C++ 4.x
4000
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4001
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4002
 
+           ;;
4003
 
+         lcc*)
4004
 
+           # Lucid
4005
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4006
 
+           ;;
4007
 
+         *)
4008
 
+           ;;
4009
 
+       esac
4010
 
+       ;;
4011
 
+      tandem*)
4012
 
+       case $cc_basename in
4013
 
+         NCC*)
4014
 
+           # NonStop-UX NCC 3.20
4015
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4016
 
+           ;;
4017
 
+         *)
4018
 
+           ;;
4019
 
+       esac
4020
 
+       ;;
4021
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4022
 
+       case $cc_basename in
4023
 
+         CC*)
4024
 
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4025
 
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4026
 
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4027
 
+           ;;
4028
 
+       esac
4029
 
+       ;;
4030
 
+      vxworks*)
4031
 
+       ;;
4032
 
+      *)
4033
 
+       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4034
 
+       ;;
4035
 
+    esac
4036
 
+  fi
4037
 
+],
4038
 
+[
4039
 
+  if test "$GCC" = yes; then
4040
 
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4041
 
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4042
 
 
4043
 
-# Create an old-style archive from a shared archive.
4044
 
-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4045
 
+    case $host_os in
4046
 
+      aix*)
4047
 
+      # All AIX code is PIC.
4048
 
+      if test "$host_cpu" = ia64; then
4049
 
+       # AIX 5 now supports IA64 processor
4050
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4051
 
+      fi
4052
 
+      ;;
4053
 
 
4054
 
-# Create a temporary old-style archive to link instead of a shared archive.
4055
 
-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4056
 
+    amigaos*)
4057
 
+      # FIXME: we need at least 68020 code to build shared libraries, but
4058
 
+      # adding the `-m68020' flag to GCC prevents building anything better,
4059
 
+      # like `-m68040'.
4060
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4061
 
+      ;;
4062
 
 
4063
 
-# Commands used to build and install a shared archive.
4064
 
-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4065
 
-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4066
 
-postinstall_cmds=$lt_postinstall_cmds
4067
 
-postuninstall_cmds=$lt_postuninstall_cmds
4068
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4069
 
+      # PIC is the default for these OSes.
4070
 
+      ;;
4071
 
 
4072
 
-# Commands used to build a loadable module (assumed same as above if empty)
4073
 
-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4074
 
-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4075
 
+    mingw* | cygwin* | pw32* | os2*)
4076
 
+      # This hack is so that the source file can tell whether it is being
4077
 
+      # built for inclusion in a dll (and should export symbols for example).
4078
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4079
 
+      # (--disable-auto-import) libraries
4080
 
+      m4_if([$1], [GCJ], [],
4081
 
+       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4082
 
+      ;;
4083
 
 
4084
 
-# Commands to strip libraries.
4085
 
-old_striplib=$lt_old_striplib
4086
 
-striplib=$lt_striplib
4087
 
+    darwin* | rhapsody*)
4088
 
+      # PIC is the default on this platform
4089
 
+      # Common symbols not allowed in MH_DYLIB files
4090
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4091
 
+      ;;
4092
 
 
4093
 
-# Dependencies to place before the objects being linked to create a
4094
 
-# shared library.
4095
 
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4096
 
+    interix[[3-9]]*)
4097
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4098
 
+      # Instead, we relocate shared libraries at runtime.
4099
 
+      ;;
4100
 
 
4101
 
-# Dependencies to place after the objects being linked to create a
4102
 
-# shared library.
4103
 
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4104
 
+    msdosdjgpp*)
4105
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
4106
 
+      # on systems that don't support them.
4107
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4108
 
+      enable_shared=no
4109
 
+      ;;
4110
 
 
4111
 
-# Dependencies to place before the objects being linked to create a
4112
 
-# shared library.
4113
 
-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4114
 
+    sysv4*MP*)
4115
 
+      if test -d /usr/nec; then
4116
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4117
 
+      fi
4118
 
+      ;;
4119
 
 
4120
 
-# Dependencies to place after the objects being linked to create a
4121
 
-# shared library.
4122
 
-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4123
 
+    hpux*)
4124
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4125
 
+      # not for PA HP-UX.
4126
 
+      case $host_cpu in
4127
 
+      hppa*64*|ia64*)
4128
 
+       # +Z the default
4129
 
+       ;;
4130
 
+      *)
4131
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4132
 
+       ;;
4133
 
+      esac
4134
 
+      ;;
4135
 
 
4136
 
-# The directories searched by this compiler when creating a shared
4137
 
-# library
4138
 
-compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
4139
 
+    *)
4140
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4141
 
+      ;;
4142
 
+    esac
4143
 
+  else
4144
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
4145
 
+    case $host_os in
4146
 
+    aix*)
4147
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4148
 
+      if test "$host_cpu" = ia64; then
4149
 
+       # AIX 5 now supports IA64 processor
4150
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4151
 
+      else
4152
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4153
 
+      fi
4154
 
+      ;;
4155
 
+      darwin*)
4156
 
+        # PIC is the default on this platform
4157
 
+        # Common symbols not allowed in MH_DYLIB files
4158
 
+       case $cc_basename in
4159
 
+         xlc*)
4160
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4161
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4162
 
+         ;;
4163
 
+       esac
4164
 
+       ;;
4165
 
 
4166
 
-# The library search path used internally by the compiler when linking
4167
 
-# a shared library.
4168
 
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4169
 
+    mingw* | cygwin* | pw32* | os2*)
4170
 
+      # This hack is so that the source file can tell whether it is being
4171
 
+      # built for inclusion in a dll (and should export symbols for example).
4172
 
+      m4_if([$1], [GCJ], [],
4173
 
+       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4174
 
+      ;;
4175
 
 
4176
 
-# Method to check whether dependent libraries are shared objects.
4177
 
-deplibs_check_method=$lt_deplibs_check_method
4178
 
+    hpux9* | hpux10* | hpux11*)
4179
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4180
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4181
 
+      # not for PA HP-UX.
4182
 
+      case $host_cpu in
4183
 
+      hppa*64*|ia64*)
4184
 
+       # +Z the default
4185
 
+       ;;
4186
 
+      *)
4187
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4188
 
+       ;;
4189
 
+      esac
4190
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
4191
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4192
 
+      ;;
4193
 
 
4194
 
-# Command to use when deplibs_check_method == file_magic.
4195
 
-file_magic_cmd=$lt_file_magic_cmd
4196
 
+    irix5* | irix6* | nonstopux*)
4197
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4198
 
+      # PIC (with -KPIC) is the default.
4199
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4200
 
+      ;;
4201
 
 
4202
 
-# Flag that allows shared libraries with undefined symbols to be built.
4203
 
-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4204
 
+    newsos6)
4205
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4206
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4207
 
+      ;;
4208
 
 
4209
 
-# Flag that forces no undefined symbols.
4210
 
-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4211
 
+    linux* | k*bsd*-gnu)
4212
 
+      case $cc_basename in
4213
 
+      icc* | ecc*)
4214
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4215
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4216
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4217
 
+        ;;
4218
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
4219
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
4220
 
+       # which looks to be a dead project)
4221
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4222
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4223
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4224
 
+        ;;
4225
 
+      ccc*)
4226
 
+        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4227
 
+        # All Alpha code is PIC.
4228
 
+        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4229
 
+        ;;
4230
 
+      *)
4231
 
+        case `$CC -V 2>&1 | sed 5q` in
4232
 
+       *Sun\ C*)
4233
 
+         # Sun C 5.9
4234
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4235
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4236
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4237
 
+         ;;
4238
 
+       *Sun\ F*)
4239
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
4240
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4241
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4242
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
4243
 
+         ;;
4244
 
+       esac
4245
 
+       ;;
4246
 
+      esac
4247
 
+      ;;
4248
 
 
4249
 
-# Commands used to finish a libtool library installation in a directory.
4250
 
-finish_cmds=$lt_finish_cmds
4251
 
+    osf3* | osf4* | osf5*)
4252
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4253
 
+      # All OSF/1 code is PIC.
4254
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4255
 
+      ;;
4256
 
 
4257
 
-# Same as above, but a single script fragment to be evaled but not shown.
4258
 
-finish_eval=$lt_finish_eval
4259
 
+    rdos*)
4260
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4261
 
+      ;;
4262
 
 
4263
 
-# Take the output of nm and produce a listing of raw symbols and C names.
4264
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4265
 
+    solaris*)
4266
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4267
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4268
 
+      case $cc_basename in
4269
 
+      f77* | f90* | f95*)
4270
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4271
 
+      *)
4272
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4273
 
+      esac
4274
 
+      ;;
4275
 
 
4276
 
-# Transform the output of nm in a proper C declaration
4277
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4278
 
+    sunos4*)
4279
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4280
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4281
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4282
 
+      ;;
4283
 
 
4284
 
-# Transform the output of nm in a C name address pair
4285
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4286
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
4287
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4288
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4289
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4290
 
+      ;;
4291
 
 
4292
 
-# This is the shared library runtime path variable.
4293
 
-runpath_var=$runpath_var
4294
 
+    sysv4*MP*)
4295
 
+      if test -d /usr/nec ;then
4296
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4297
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4298
 
+      fi
4299
 
+      ;;
4300
 
 
4301
 
-# This is the shared library path variable.
4302
 
-shlibpath_var=$shlibpath_var
4303
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4304
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4305
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4306
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4307
 
+      ;;
4308
 
 
4309
 
-# Is shlibpath searched before the hard-coded library search path?
4310
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4311
 
+    unicos*)
4312
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4313
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4314
 
+      ;;
4315
 
 
4316
 
-# How to hardcode a shared library path into an executable.
4317
 
-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4318
 
+    uts4*)
4319
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4320
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4321
 
+      ;;
4322
 
 
4323
 
-# Whether we should hardcode library paths into libraries.
4324
 
-hardcode_into_libs=$hardcode_into_libs
4325
 
+    *)
4326
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4327
 
+      ;;
4328
 
+    esac
4329
 
+  fi
4330
 
+])
4331
 
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
4332
 
 
4333
 
-# Flag to hardcode \$libdir into a binary during linking.
4334
 
-# This must work even if \$libdir does not exist.
4335
 
-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4336
 
+#
4337
 
+# Check to make sure the PIC flag actually works.
4338
 
+#
4339
 
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
4340
 
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
4341
 
+    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
4342
 
+    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
4343
 
+    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
4344
 
+     "" | " "*) ;;
4345
 
+     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4346
 
+     esac],
4347
 
+    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4348
 
+     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4349
 
+fi
4350
 
+case $host_os in
4351
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
4352
 
+  *djgpp*)
4353
 
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4354
 
+    ;;
4355
 
+  *)
4356
 
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
4357
 
+    ;;
4358
 
+esac
4359
 
 
4360
 
-# If ld is used when linking, flag to hardcode \$libdir into
4361
 
-# a binary during linking. This must work even if \$libdir does
4362
 
-# not exist.
4363
 
-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4364
 
+#
4365
 
+# Check to make sure the static flag actually works.
4366
 
+#
4367
 
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
4368
 
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
4369
 
+  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4370
 
+  $lt_tmp_static_flag,
4371
 
+  [],
4372
 
+  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
4373
 
+])
4374
 
 
4375
 
-# Whether we need a single -rpath flag with a separated argument.
4376
 
-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4377
 
 
4378
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4379
 
-# resulting binary.
4380
 
-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4381
 
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
4382
 
+# ------------------------------------
4383
 
+# See if the linker supports building shared libraries.
4384
 
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
4385
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
4386
 
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4387
 
+ifelse([$1],[CXX],[
4388
 
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4389
 
+  case $host_os in
4390
 
+  aix[[4-9]]*)
4391
 
+    # If we're using GNU nm, then we don't want the "-C" option.
4392
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
4393
 
+    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
4394
 
+      _LT_AC_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'
4395
 
+    else
4396
 
+      _LT_AC_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'
4397
 
+    fi
4398
 
+    ;;
4399
 
+  pw32*)
4400
 
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4401
 
+  ;;
4402
 
+  cygwin* | mingw*)
4403
 
+    _LT_AC_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'
4404
 
+  ;;
4405
 
+  linux* | k*bsd*-gnu)
4406
 
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
4407
 
+  ;;
4408
 
+  *)
4409
 
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4410
 
+  ;;
4411
 
+  esac
4412
 
+  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4413
 
+],[
4414
 
+  runpath_var=
4415
 
+  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
4416
 
+  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4417
 
+  _LT_AC_TAGVAR(archive_cmds, $1)=
4418
 
+  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4419
 
+  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
4420
 
+  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4421
 
+  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4422
 
+  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4423
 
+  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
4424
 
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4425
 
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4426
 
+  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4427
 
+  _LT_AC_TAGVAR(hardcode_direct, $1)=no
4428
 
+  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4429
 
+  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4430
 
+  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4431
 
+  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
4432
 
+  _LT_AC_TAGVAR(module_cmds, $1)=
4433
 
+  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
4434
 
+  _LT_AC_TAGVAR(always_export_symbols, $1)=no
4435
 
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4436
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
4437
 
+  # included in the symbol list
4438
 
+  _LT_AC_TAGVAR(include_expsyms, $1)=
4439
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
4440
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
4441
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
4442
 
+  # as well as any symbol that contains `d'.
4443
 
+  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4444
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4445
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
4446
 
+  # the symbol is explicitly referenced.  Since portable code cannot
4447
 
+  # rely on this symbol name, it's probably fine to never include it in
4448
 
+  # preloaded symbol tables.
4449
 
+  # Exclude shared library initialization/finalization symbols.
4450
 
+dnl Note also adjust exclude_expsyms for C++ above.
4451
 
+  extract_expsyms_cmds=
4452
 
+  # Just being paranoid about ensuring that cc_basename is set.
4453
 
+  _LT_CC_BASENAME([$compiler])
4454
 
+  case $host_os in
4455
 
+  cygwin* | mingw* | pw32*)
4456
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
4457
 
+    # When not using gcc, we currently assume that we are using
4458
 
+    # Microsoft Visual C++.
4459
 
+    if test "$GCC" != yes; then
4460
 
+      with_gnu_ld=no
4461
 
+    fi
4462
 
+    ;;
4463
 
+  interix*)
4464
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
4465
 
+    with_gnu_ld=yes
4466
 
+    ;;
4467
 
+  openbsd*)
4468
 
+    with_gnu_ld=no
4469
 
+    ;;
4470
 
+  esac
4471
 
 
4472
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4473
 
-# resulting binary.
4474
 
-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4475
 
+  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4476
 
+  if test "$with_gnu_ld" = yes; then
4477
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
4478
 
+    wlarc='${wl}'
4479
 
 
4480
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4481
 
-# the resulting binary.
4482
 
-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4483
 
+    # Set some defaults for GNU ld with shared library support. These
4484
 
+    # are reset later if shared libraries are not supported. Putting them
4485
 
+    # here allows them to be overridden if necessary.
4486
 
+    runpath_var=LD_RUN_PATH
4487
 
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4488
 
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4489
 
+    # ancient GNU ld didn't support --whole-archive et. al.
4490
 
+    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
4491
 
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4492
 
+      else
4493
 
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4494
 
+    fi
4495
 
+    supports_anon_versioning=no
4496
 
+    case `$LD -v 2>/dev/null` in
4497
 
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4498
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4499
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4500
 
+      *\ 2.11.*) ;; # other 2.11 versions
4501
 
+      *) supports_anon_versioning=yes ;;
4502
 
+    esac
4503
 
 
4504
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
4505
 
-# and all subsequent libraries and executables linked against it.
4506
 
-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4507
 
+    # See if GNU ld supports shared libraries.
4508
 
+    case $host_os in
4509
 
+    aix[[3-9]]*)
4510
 
+      # On AIX/PPC, the GNU linker is very broken
4511
 
+      if test "$host_cpu" != ia64; then
4512
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4513
 
+       cat <<EOF 1>&2
4514
 
 
4515
 
-# Variables whose values should be saved in libtool wrapper scripts and
4516
 
-# restored at relink time.
4517
 
-variables_saved_for_relink="$variables_saved_for_relink"
4518
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
4519
 
+*** to be unable to reliably create shared libraries on AIX.
4520
 
+*** Therefore, libtool is disabling shared libraries support.  If you
4521
 
+*** really care for shared libraries, you may want to modify your PATH
4522
 
+*** so that a non-GNU linker is found, and then restart.
4523
 
 
4524
 
-# Whether libtool must link a program against all its dependency libraries.
4525
 
-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4526
 
+EOF
4527
 
+      fi
4528
 
+      ;;
4529
 
 
4530
 
-# Compile-time system search path for libraries
4531
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4532
 
+    amigaos*)
4533
 
+      _LT_AC_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)'
4534
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4535
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4536
 
 
4537
 
-# Run-time system search path for libraries
4538
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4539
 
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
4540
 
+      # that the semantics of dynamic libraries on AmigaOS, at least up
4541
 
+      # to version 4, is to share data among multiple programs linked
4542
 
+      # with the same dynamic library.  Since this doesn't match the
4543
 
+      # behavior of shared libraries on other platforms, we can't use
4544
 
+      # them.
4545
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
4546
 
+      ;;
4547
 
 
4548
 
-# Fix the shell variable \$srcfile for the compiler.
4549
 
-fix_srcfile_path=$lt_fix_srcfile_path
4550
 
+    beos*)
4551
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4552
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4553
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4554
 
+       # support --undefined.  This deserves some investigation.  FIXME
4555
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4556
 
+      else
4557
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4558
 
+      fi
4559
 
+      ;;
4560
 
 
4561
 
-# Set to yes if exported symbols are required.
4562
 
-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4563
 
+    cygwin* | mingw* | pw32*)
4564
 
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4565
 
+      # as there is no search path for DLLs.
4566
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4567
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4568
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=no
4569
 
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4570
 
+      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
4571
 
 
4572
 
-# The commands to list exported symbols.
4573
 
-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4574
 
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4575
 
+        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4576
 
+       # If the export-symbols file already is a .def file (1st line
4577
 
+       # is EXPORTS), use it as is; otherwise, prepend...
4578
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4579
 
+         cp $export_symbols $output_objdir/$soname.def;
4580
 
+       else
4581
 
+         echo EXPORTS > $output_objdir/$soname.def;
4582
 
+         cat $export_symbols >> $output_objdir/$soname.def;
4583
 
+       fi~
4584
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
4585
 
+      else
4586
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4587
 
+      fi
4588
 
+      ;;
4589
 
 
4590
 
-# The commands to extract the exported symbol list from a shared archive.
4591
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
4592
 
+    interix[[3-9]]*)
4593
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
4594
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4595
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4596
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4597
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4598
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
4599
 
+      # default) and relocated if they conflict, which is a slow very memory
4600
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
4601
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4602
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
4603
 
+      _LT_AC_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'
4604
 
+      _LT_AC_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'
4605
 
+      ;;
4606
 
 
4607
 
-# Symbols that should not be listed in the preloaded symbols.
4608
 
-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4609
 
+    gnu* | linux* | k*bsd*-gnu)
4610
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4611
 
+       tmp_addflag=
4612
 
+       case $cc_basename,$host_cpu in
4613
 
+       pgcc*)                          # Portland Group C compiler
4614
 
+         _LT_AC_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'
4615
 
+         tmp_addflag=' $pic_flag'
4616
 
+         ;;
4617
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
4618
 
+         _LT_AC_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'
4619
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
4620
 
+       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
4621
 
+         tmp_addflag=' -i_dynamic' ;;
4622
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
4623
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
4624
 
+       ifc* | ifort*)                  # Intel Fortran compiler
4625
 
+         tmp_addflag=' -nofor_main' ;;
4626
 
+       esac
4627
 
+       case `$CC -V 2>&1 | sed 5q` in
4628
 
+       *Sun\ C*)                       # Sun C 5.9
4629
 
+         _LT_AC_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'
4630
 
+         tmp_sharedflag='-G' ;;
4631
 
+       *Sun\ F*)                       # Sun Fortran 8.3
4632
 
+         tmp_sharedflag='-G' ;;
4633
 
+       *)
4634
 
+         tmp_sharedflag='-shared' ;;
4635
 
+       esac
4636
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4637
 
 
4638
 
-# Symbols that must always be exported.
4639
 
-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4640
 
+       if test $supports_anon_versioning = yes; then
4641
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
4642
 
+  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4643
 
+  $echo "local: *; };" >> $output_objdir/$libname.ver~
4644
 
+         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
4645
 
+       fi
4646
 
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=no
4647
 
+      else
4648
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4649
 
+      fi
4650
 
+      ;;
4651
 
 
4652
 
-ifelse([$1],[],
4653
 
-[# ### END LIBTOOL CONFIG],
4654
 
-[# ### END LIBTOOL TAG CONFIG: $tagname])
4655
 
+    netbsd* | netbsdelf*-gnu)
4656
 
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4657
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4658
 
+       wlarc=
4659
 
+      else
4660
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4661
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4662
 
+      fi
4663
 
+      ;;
4664
 
 
4665
 
-__EOF__
4666
 
+    solaris*)
4667
 
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
4668
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4669
 
+       cat <<EOF 1>&2
4670
 
 
4671
 
-ifelse([$1],[], [
 
4079
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
4080
-#
 
4081
-_LT_COPYING
 
4082
-_LT_LIBTOOL_TAGS
 
4083
-
 
4084
-# ### BEGIN LIBTOOL CONFIG
 
4085
-_LT_LIBTOOL_CONFIG_VARS
 
4086
-_LT_LIBTOOL_TAG_VARS
 
4087
-# ### END LIBTOOL CONFIG
 
4088
-
 
4089
-_LT_EOF
 
4090
-
4672
4091
-  case $host_os in
4673
4092
-  aix3*)
4674
 
-    cat <<\EOF >> "$cfgfile"
4675
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
4676
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
4677
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
4678
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
4679
 
+*** your PATH or compiler configuration so that the native linker is
4680
 
+*** used, and then restart.
4681
 
 
 
4093
-    cat <<\_LT_EOF >> "$cfgfile"
4682
4094
-# AIX sometimes has problems with the GCC collect2 program.  For some
4683
4095
-# reason, if we set the COLLECT_NAMES environment variable, the problems
4684
4096
-# vanish in a puff of smoke.
4686
4098
-  COLLECT_NAMES=
4687
4099
-  export COLLECT_NAMES
4688
4100
-fi
4689
 
 EOF
 
4101
-_LT_EOF
4690
4102
-    ;;
4691
4103
-  esac
4692
 
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4693
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4694
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4695
 
+      else
4696
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4697
 
+      fi
4698
 
+      ;;
4699
 
 
 
4104
-
 
4105
-  _LT_PROG_LTMAIN
 
4106
-
4700
4107
-  # We use sed instead of cat because bash on DJGPP gets confused if
4701
4108
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
4702
4109
-  # text mode, it properly converts lines to CR/LF.  This bash problem
4703
4110
-  # is reportedly fixed, but why not run on old versions too?
4704
 
-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4705
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
4706
 
+      case `$LD -v 2>&1` in
4707
 
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
4708
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4709
 
+       cat <<_LT_EOF 1>&2
4710
 
 
4711
 
-  mv -f "$cfgfile" "$ofile" || \
 
4111
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
4112
-    || (rm -f "$cfgfile"; exit 1)
 
4113
-
 
4114
-  _LT_PROG_XSI_SHELLFNS
 
4115
-
 
4116
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
4117
-    || (rm -f "$cfgfile"; exit 1)
 
4118
-
 
4119
-  mv -f "$cfgfile" "$ofile" ||
4712
4120
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4713
4121
-  chmod +x "$ofile"
4714
 
-])
4715
 
-else
4716
 
-  # If there is no Makefile yet, we rely on a make rule to execute
4717
 
-  # `config.status --recheck' to rerun these tests and create the
4718
 
-  # libtool script then.
4719
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4720
 
-  if test -f "$ltmain_in"; then
4721
 
-    test -f Makefile && make "$ltmain"
4722
 
-  fi
4723
 
-fi
4724
 
-])# AC_LIBTOOL_CONFIG
4725
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
4726
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
4727
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
4728
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
4729
 
+*** your PATH or compiler configuration so that the native linker is
4730
 
+*** used, and then restart.
4731
 
 
4732
 
+_LT_EOF
4733
 
+       ;;
4734
 
+       *)
4735
 
+         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4736
 
+           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
4737
 
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
4738
 
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
4739
 
+         else
4740
 
+           _LT_AC_TAGVAR(ld_shlibs, $1)=no
4741
 
+         fi
4742
 
+       ;;
4743
 
+      esac
4744
 
+      ;;
4745
 
 
4746
 
-# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
4747
 
-# -------------------------------------------
4748
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
4749
 
-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4750
 
+    sunos4*)
4751
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4752
 
+      wlarc=
4753
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4754
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4755
 
+      ;;
4756
 
 
4757
 
-_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4758
 
+    *)
4759
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4760
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4761
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4762
 
+      else
4763
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
4764
 
+      fi
4765
 
+      ;;
4766
 
+    esac
4767
 
 
4768
 
-if test "$GCC" = yes; then
4769
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4770
 
+    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
4771
 
+      runpath_var=
4772
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4773
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4774
 
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4775
 
+    fi
4776
 
+  else
4777
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
4778
 
+    case $host_os in
4779
 
+    aix3*)
4780
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4781
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4782
 
+      _LT_AC_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'
4783
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
4784
 
+      # are no directories specified by -L.
4785
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4786
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
4787
 
+       # Neither direct hardcoding nor static linking is supported with a
4788
 
+       # broken collect2.
4789
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4790
 
+      fi
4791
 
+      ;;
4792
 
 
4793
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
4122
-],
 
4123
-[cat <<_LT_EOF >> "$ofile"
 
4124
-
 
4125
-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
 
4126
-dnl in a comment (ie after a #).
 
4127
-# ### BEGIN LIBTOOL TAG CONFIG: $1
 
4128
-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
 
4129
-# ### END LIBTOOL TAG CONFIG: $1
 
4130
-_LT_EOF
 
4131
-])dnl /m4_if
 
4132
-],
 
4133
-[m4_if([$1], [], [
 
4134
-    PACKAGE='$PACKAGE'
 
4135
-    VERSION='$VERSION'
 
4136
-    TIMESTAMP='$TIMESTAMP'
 
4137
-    RM='$RM'
 
4138
-    ofile='$ofile'], [])
 
4139
-])dnl /_LT_CONFIG_SAVE_COMMANDS
 
4140
-])# _LT_CONFIG
 
4141
-
 
4142
-
 
4143
-# LT_SUPPORTED_TAG(TAG)
 
4144
-# ---------------------
 
4145
-# Trace this macro to discover what tags are supported by the libtool
 
4146
-# --tag option, using:
 
4147
-#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
 
4148
-AC_DEFUN([LT_SUPPORTED_TAG], [])
 
4149
-
 
4150
-
 
4151
-# C support is built-in for now
 
4152
-m4_define([_LT_LANG_C_enabled], [])
 
4153
-m4_define([_LT_TAGS], [])
 
4154
-
 
4155
-
 
4156
-# LT_LANG(LANG)
 
4157
-# -------------
 
4158
-# Enable libtool support for the given language if not already enabled.
 
4159
-AC_DEFUN([LT_LANG],
 
4160
-[AC_BEFORE([$0], [LT_OUTPUT])dnl
 
4161
-m4_case([$1],
 
4162
-  [C],                 [_LT_LANG(C)],
 
4163
-  [C++],               [_LT_LANG(CXX)],
 
4164
-  [Java],              [_LT_LANG(GCJ)],
 
4165
-  [Fortran 77],                [_LT_LANG(F77)],
 
4166
-  [Fortran],           [_LT_LANG(FC)],
 
4167
-  [Windows Resource],  [_LT_LANG(RC)],
 
4168
-  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
 
4169
-    [_LT_LANG($1)],
 
4170
-    [m4_fatal([$0: unsupported language: "$1"])])])dnl
 
4171
-])# LT_LANG
 
4172
-
 
4173
-
 
4174
-# _LT_LANG(LANGNAME)
 
4175
-# ------------------
 
4176
-m4_defun([_LT_LANG],
 
4177
-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
 
4178
-  [LT_SUPPORTED_TAG([$1])dnl
 
4179
-  m4_append([_LT_TAGS], [$1 ])dnl
 
4180
-  m4_define([_LT_LANG_]$1[_enabled], [])dnl
 
4181
-  _LT_LANG_$1_CONFIG($1)])dnl
 
4182
-])# _LT_LANG
 
4183
-
 
4184
-
 
4185
-# _LT_LANG_DEFAULT_CONFIG
 
4186
-# -----------------------
 
4187
-m4_defun([_LT_LANG_DEFAULT_CONFIG],
 
4188
-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
4189
-  [LT_LANG(CXX)],
 
4190
-  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
 
4191
-
 
4192
-AC_PROVIDE_IFELSE([AC_PROG_F77],
 
4193
-  [LT_LANG(F77)],
 
4194
-  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
 
4195
-
 
4196
-AC_PROVIDE_IFELSE([AC_PROG_FC],
 
4197
-  [LT_LANG(FC)],
 
4198
-  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
 
4199
-
 
4200
-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
 
4201
-dnl pulling things in needlessly.
 
4202
-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
4203
-  [LT_LANG(GCJ)],
 
4204
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
4205
-    [LT_LANG(GCJ)],
 
4206
-    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
 
4207
-      [LT_LANG(GCJ)],
 
4208
-      [m4_ifdef([AC_PROG_GCJ],
 
4209
-       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
 
4210
-       m4_ifdef([A][M_PROG_GCJ],
 
4211
-       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
 
4212
-       m4_ifdef([LT_PROG_GCJ],
 
4213
-       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
4214
-
 
4215
-AC_PROVIDE_IFELSE([LT_PROG_RC],
 
4216
-  [LT_LANG(RC)],
 
4217
-  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
 
4218
-])# _LT_LANG_DEFAULT_CONFIG
 
4219
-
 
4220
-# Obsolete macros:
 
4221
-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 
4222
-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 
4223
-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 
4224
-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
4225
-dnl aclocal-1.4 backwards compatibility:
 
4226
-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 
4227
-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 
4228
-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 
4229
-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 
4230
-
 
4231
-
 
4232
-# _LT_TAG_COMPILER
 
4233
-# ----------------
 
4234
-m4_defun([_LT_TAG_COMPILER],
 
4235
-[AC_REQUIRE([AC_PROG_CC])dnl
 
4236
-
 
4237
-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
 
4238
-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
 
4239
-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
 
4240
-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
 
4241
-
 
4242
-# If no C compiler was specified, use CC.
 
4243
-LTCC=${LTCC-"$CC"}
 
4244
-
 
4245
-# If no C compiler flags were specified, use CFLAGS.
 
4246
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4247
-
 
4248
-# Allow CC to be a program name with arguments.
 
4249
-compiler=$CC
 
4250
-])# _LT_TAG_COMPILER
 
4251
-
 
4252
-
 
4253
-# _LT_COMPILER_BOILERPLATE
 
4254
-# ------------------------
 
4255
-# Check for compiler boilerplate output or warnings with
 
4256
-# the simple compiler test code.
 
4257
-m4_defun([_LT_COMPILER_BOILERPLATE],
 
4258
-[m4_require([_LT_DECL_SED])dnl
 
4259
-ac_outfile=conftest.$ac_objext
 
4260
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
4261
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
4262
-_lt_compiler_boilerplate=`cat conftest.err`
 
4263
-$RM conftest*
 
4264
-])# _LT_COMPILER_BOILERPLATE
 
4265
-
 
4266
-
 
4267
-# _LT_LINKER_BOILERPLATE
 
4268
-# ----------------------
 
4269
-# Check for linker boilerplate output or warnings with
 
4270
-# the simple link test code.
 
4271
-m4_defun([_LT_LINKER_BOILERPLATE],
 
4272
-[m4_require([_LT_DECL_SED])dnl
 
4273
-ac_outfile=conftest.$ac_objext
 
4274
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
4275
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
4276
-_lt_linker_boilerplate=`cat conftest.err`
 
4277
-$RM -r conftest*
 
4278
-])# _LT_LINKER_BOILERPLATE
 
4279
-
 
4280
-# _LT_REQUIRED_DARWIN_CHECKS
 
4281
-# -------------------------
 
4282
-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 
4283
-  case $host_os in
 
4284
-    rhapsody* | darwin*)
 
4285
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
4286
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
4287
-    AC_CHECK_TOOL([LIPO], [lipo], [:])
 
4288
-    AC_CHECK_TOOL([OTOOL], [otool], [:])
 
4289
-    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 
4290
-    _LT_DECL([], [DSYMUTIL], [1],
 
4291
-      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 
4292
-    _LT_DECL([], [NMEDIT], [1],
 
4293
-      [Tool to change global to local symbols on Mac OS X])
 
4294
-    _LT_DECL([], [LIPO], [1],
 
4295
-      [Tool to manipulate fat objects and archives on Mac OS X])
 
4296
-    _LT_DECL([], [OTOOL], [1],
 
4297
-      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 
4298
-    _LT_DECL([], [OTOOL64], [1],
 
4299
-      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 
4300
-
 
4301
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
4302
-      [lt_cv_apple_cc_single_mod=no
 
4303
-      if test -z "${LT_MULTI_MODULE}"; then
 
4304
-       # By default we will add the -single_module flag. You can override
 
4305
-       # by either setting the environment variable LT_MULTI_MODULE
 
4306
-       # non-empty at configure time, or by adding -multi_module to the
 
4307
-       # link flags.
 
4308
-       rm -rf libconftest.dylib*
 
4309
-       echo "int foo(void){return 1;}" > conftest.c
 
4310
-       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
4311
--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 
4312
-       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
4313
-         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
4314
-        _lt_result=$?
 
4315
-       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
4316
-         lt_cv_apple_cc_single_mod=yes
 
4317
-       else
 
4318
-         cat conftest.err >&AS_MESSAGE_LOG_FD
 
4319
-       fi
 
4320
-       rm -rf libconftest.dylib*
 
4321
-       rm -f conftest.*
 
4322
-      fi])
 
4323
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
4324
-      [lt_cv_ld_exported_symbols_list],
 
4325
-      [lt_cv_ld_exported_symbols_list=no
 
4326
-      save_LDFLAGS=$LDFLAGS
 
4327
-      echo "_main" > conftest.sym
 
4328
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
4329
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
4330
-       [lt_cv_ld_exported_symbols_list=yes],
 
4331
-       [lt_cv_ld_exported_symbols_list=no])
 
4332
-       LDFLAGS="$save_LDFLAGS"
 
4333
-    ])
 
4334
-    case $host_os in
 
4335
-    rhapsody* | darwin1.[[012]])
 
4336
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
4337
-    darwin1.*)
 
4338
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
4339
-    darwin*) # darwin 5.x on
 
4340
-      # if running on 10.5 or later, the deployment target defaults
 
4341
-      # to the OS version, if on x86, and 10.4, the deployment
 
4342
-      # target defaults to 10.4. Don't you love it?
 
4343
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
4344
-       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
4345
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
4346
-       10.[[012]]*)
 
4347
-         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
4348
-       10.*)
 
4349
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
4350
-      esac
 
4351
-    ;;
 
4352
-  esac
 
4353
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
4354
-      _lt_dar_single_mod='$single_module'
 
4355
-    fi
 
4356
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
4357
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
4358
-    else
 
4359
-      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
4360
-    fi
 
4361
-    if test "$DSYMUTIL" != ":"; then
 
4362
-      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
4363
-    else
 
4364
-      _lt_dsymutil=
 
4365
-    fi
 
4366
-    ;;
 
4367
-  esac
 
4368
-])
 
4369
-
 
4370
-
 
4371
-# _LT_DARWIN_LINKER_FEATURES
 
4372
-# --------------------------
 
4373
-# Checks for linker and compiler features on darwin
 
4374
-m4_defun([_LT_DARWIN_LINKER_FEATURES],
 
4375
-[
 
4376
-  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 
4377
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
4378
-  _LT_TAGVAR(hardcode_direct, $1)=no
 
4379
-  _LT_TAGVAR(hardcode_automatic, $1)=yes
 
4380
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
4381
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
4382
-  _LT_TAGVAR(link_all_deplibs, $1)=yes
 
4383
-  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
4384
-  case $cc_basename in
 
4385
-     ifort*) _lt_dar_can_shared=yes ;;
 
4386
-     *) _lt_dar_can_shared=$GCC ;;
 
4387
-  esac
 
4388
-  if test "$_lt_dar_can_shared" = "yes"; then
 
4389
-    output_verbose_link_cmd=echo
 
4390
-    _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}"
 
4391
-    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
4392
-    _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}"
 
4393
-    _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}"
 
4394
-    m4_if([$1], [CXX],
 
4395
-[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
4396
-      _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}"
 
4397
-      _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}"
 
4398
-    fi
 
4399
-],[])
 
4400
-  else
 
4401
-  _LT_TAGVAR(ld_shlibs, $1)=no
 
4402
-  fi
 
4403
-])
 
4404
-
 
4405
-# _LT_SYS_MODULE_PATH_AIX
 
4406
-# -----------------------
 
4407
-# Links a minimal program and checks the executable
 
4408
-# for the system default hardcoded library path. In most cases,
 
4409
-# this is /usr/lib:/lib, but when the MPI compilers are used
 
4410
-# the location of the communication and MPI libs are included too.
 
4411
-# If we don't find anything, use the default library path according
 
4412
-# to the aix ld manual.
 
4413
-m4_defun([_LT_SYS_MODULE_PATH_AIX],
 
4414
-[m4_require([_LT_DECL_SED])dnl
 
4415
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
4416
-lt_aix_libpath_sed='
 
4417
-    /Import File Strings/,/^$/ {
 
4418
-       /^0/ {
 
4419
-           s/^0  *\(.*\)$/\1/
 
4420
-           p
 
4421
-       }
 
4422
-    }'
 
4423
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
4424
-# Check for a 64-bit object if we didn't find anything.
 
4425
-if test -z "$aix_libpath"; then
 
4426
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
4427
-fi],[])
 
4428
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
4429
-])# _LT_SYS_MODULE_PATH_AIX
 
4430
-
 
4431
-
 
4432
-# _LT_SHELL_INIT(ARG)
 
4433
-# -------------------
 
4434
-m4_define([_LT_SHELL_INIT],
 
4435
-[ifdef([AC_DIVERSION_NOTICE],
 
4436
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
4437
-        [AC_DIVERT_PUSH(NOTICE)])
 
4438
-$1
 
4439
-AC_DIVERT_POP
 
4440
-])# _LT_SHELL_INIT
 
4441
-
 
4442
-
 
4443
-# _LT_PROG_ECHO_BACKSLASH
 
4444
-# -----------------------
 
4445
-# Add some code to the start of the generated configure script which
 
4446
-# will find an echo command which doesn't interpret backslashes.
 
4447
-m4_defun([_LT_PROG_ECHO_BACKSLASH],
 
4448
-[_LT_SHELL_INIT([
 
4449
-# Check that we are running under the correct shell.
 
4450
-SHELL=${CONFIG_SHELL-/bin/sh}
 
4451
-
 
4452
-case X$lt_ECHO in
 
4453
-X*--fallback-echo)
 
4454
-  # Remove one level of quotation (which was required for Make).
 
4455
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
4456
-  ;;
 
4457
-esac
 
4458
-
 
4459
-ECHO=${lt_ECHO-echo}
 
4460
-if test "X[$]1" = X--no-reexec; then
 
4461
-  # Discard the --no-reexec flag, and continue.
 
4462
-  shift
 
4463
-elif test "X[$]1" = X--fallback-echo; then
 
4464
-  # Avoid inline document here, it may be left over
 
4465
-  :
 
4466
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
4467
-  # Yippee, $ECHO works!
 
4468
-  :
 
4469
-else
 
4470
-  # Restart under the correct shell.
 
4471
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
4472
-fi
 
4473
-
 
4474
-if test "X[$]1" = X--fallback-echo; then
 
4475
-  # used as fallback echo
 
4476
-  shift
 
4477
-  cat <<_LT_EOF
 
4478
-[$]*
 
4479
-_LT_EOF
 
4480
-  exit 0
 
4481
-fi
 
4482
-
 
4483
-# The HP-UX ksh and POSIX shell print the target directory to stdout
 
4484
-# if CDPATH is set.
 
4485
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
4486
-
 
4487
-if test -z "$lt_ECHO"; then
 
4488
-  if test "X${echo_test_string+set}" != Xset; then
 
4489
-    # find a string as large as possible, as long as the shell can cope with it
 
4490
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
4491
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
4492
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
4493
-        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
4494
-      then
 
4495
-        break
 
4496
-      fi
 
4497
-    done
 
4498
-  fi
 
4499
-
 
4500
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
4501
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
4502
-     test "X$echo_testing_string" = "X$echo_test_string"; then
 
4503
-    :
 
4504
-  else
 
4505
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
4506
-    # backslashes.  This makes it impossible to quote backslashes using
 
4507
-    #   echo "$something" | sed 's/\\/\\\\/g'
 
4508
-    #
 
4509
-    # So, first we look for a working echo in the user's PATH.
 
4510
-
 
4511
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4512
-    for dir in $PATH /usr/ucb; do
 
4513
-      IFS="$lt_save_ifs"
 
4514
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
4515
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
4516
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
4517
-         test "X$echo_testing_string" = "X$echo_test_string"; then
 
4518
-        ECHO="$dir/echo"
 
4519
-        break
 
4520
-      fi
 
4521
-    done
 
4522
-    IFS="$lt_save_ifs"
 
4523
-
 
4524
-    if test "X$ECHO" = Xecho; then
 
4525
-      # We didn't find a better echo, so look for alternatives.
 
4526
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
4527
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
4528
-         test "X$echo_testing_string" = "X$echo_test_string"; then
 
4529
-        # This shell has a builtin print -r that does the trick.
 
4530
-        ECHO='print -r'
 
4531
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
4532
-          test "X$CONFIG_SHELL" != X/bin/ksh; then
 
4533
-        # If we have ksh, try running configure again with it.
 
4534
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
4535
-        export ORIGINAL_CONFIG_SHELL
 
4536
-        CONFIG_SHELL=/bin/ksh
 
4537
-        export CONFIG_SHELL
 
4538
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
4539
-      else
 
4540
-        # Try using printf.
 
4541
-        ECHO='printf %s\n'
 
4542
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
4543
-          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
4544
-          test "X$echo_testing_string" = "X$echo_test_string"; then
 
4545
-         # Cool, printf works
 
4546
-         :
 
4547
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
4548
-            test "X$echo_testing_string" = 'X\t' &&
 
4549
-            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
4550
-            test "X$echo_testing_string" = "X$echo_test_string"; then
 
4551
-         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
4552
-         export CONFIG_SHELL
 
4553
-         SHELL="$CONFIG_SHELL"
 
4554
-         export SHELL
 
4555
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
4556
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
4557
-            test "X$echo_testing_string" = 'X\t' &&
 
4558
-            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
4559
-            test "X$echo_testing_string" = "X$echo_test_string"; then
 
4560
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
4561
-        else
 
4562
-         # maybe with a smaller string...
 
4563
-         prev=:
 
4564
-
 
4565
-         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
4566
-           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
4567
-           then
 
4568
-             break
 
4569
-           fi
 
4570
-           prev="$cmd"
 
4571
-         done
 
4572
-
 
4573
-         if test "$prev" != 'sed 50q "[$]0"'; then
 
4574
-           echo_test_string=`eval $prev`
 
4575
-           export echo_test_string
 
4576
-           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
4577
-         else
 
4578
-           # Oops.  We lost completely, so just stick with echo.
 
4579
-           ECHO=echo
 
4580
-         fi
 
4581
-        fi
 
4582
-      fi
 
4583
-    fi
 
4584
-  fi
 
4585
-fi
 
4586
-
 
4587
-# Copy echo and quote the copy suitably for passing to libtool from
 
4588
-# the Makefile, instead of quoting the original, which is used later.
 
4589
-lt_ECHO=$ECHO
 
4590
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
4591
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
4592
-fi
 
4593
-
 
4594
-AC_SUBST(lt_ECHO)
 
4595
-])
 
4596
-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 
4597
-_LT_DECL([], [ECHO], [1],
 
4598
-    [An echo program that does not interpret backslashes])
 
4599
-])# _LT_PROG_ECHO_BACKSLASH
 
4600
-
 
4601
-
 
4602
-# _LT_ENABLE_LOCK
 
4603
-# ---------------
 
4604
-m4_defun([_LT_ENABLE_LOCK],
 
4605
-[AC_ARG_ENABLE([libtool-lock],
 
4606
-  [AS_HELP_STRING([--disable-libtool-lock],
 
4607
-    [avoid locking (might break parallel builds)])])
 
4608
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
4609
-
 
4610
-# Some flags need to be propagated to the compiler or linker for good
 
4611
-# libtool support.
 
4612
-case $host in
 
4613
-ia64-*-hpux*)
 
4614
-  # Find out which ABI we are using.
 
4615
-  echo 'int i;' > conftest.$ac_ext
 
4616
-  if AC_TRY_EVAL(ac_compile); then
 
4617
-    case `/usr/bin/file conftest.$ac_objext` in
 
4618
-      *ELF-32*)
 
4619
-       HPUX_IA64_MODE="32"
 
4620
-       ;;
 
4621
-      *ELF-64*)
 
4622
-       HPUX_IA64_MODE="64"
 
4623
-       ;;
 
4624
-    esac
 
4625
-  fi
 
4626
-  rm -rf conftest*
 
4627
-  ;;
 
4628
-*-*-irix6*)
 
4629
-  # Find out which ABI we are using.
 
4630
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
4631
-  if AC_TRY_EVAL(ac_compile); then
 
4632
-    if test "$lt_cv_prog_gnu_ld" = yes; then
 
4633
-      case `/usr/bin/file conftest.$ac_objext` in
 
4634
-       *32-bit*)
 
4635
-         LD="${LD-ld} -melf32bsmip"
 
4636
-         ;;
 
4637
-       *N32*)
 
4638
-         LD="${LD-ld} -melf32bmipn32"
 
4639
-         ;;
 
4640
-       *64-bit*)
 
4641
-         LD="${LD-ld} -melf64bmip"
 
4642
-       ;;
 
4643
-      esac
 
4644
-    else
 
4645
-      case `/usr/bin/file conftest.$ac_objext` in
 
4646
-       *32-bit*)
 
4647
-         LD="${LD-ld} -32"
 
4648
-         ;;
 
4649
-       *N32*)
 
4650
-         LD="${LD-ld} -n32"
 
4651
-         ;;
 
4652
-       *64-bit*)
 
4653
-         LD="${LD-ld} -64"
 
4654
-         ;;
 
4655
-      esac
 
4656
-    fi
 
4657
-  fi
 
4658
-  rm -rf conftest*
 
4659
-  ;;
 
4660
-
 
4661
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4662
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
4663
-  # Find out which ABI we are using.
 
4664
-  echo 'int i;' > conftest.$ac_ext
 
4665
-  if AC_TRY_EVAL(ac_compile); then
 
4666
-    case `/usr/bin/file conftest.o` in
 
4667
-      *32-bit*)
 
4668
-       case $host in
 
4669
-         x86_64-*kfreebsd*-gnu)
 
4670
-           LD="${LD-ld} -m elf_i386_fbsd"
 
4671
-           ;;
 
4672
-         x86_64-*linux*)
 
4673
-           LD="${LD-ld} -m elf_i386"
 
4674
-           ;;
 
4675
-         ppc64-*linux*|powerpc64-*linux*)
 
4676
-           LD="${LD-ld} -m elf32ppclinux"
 
4677
-           ;;
 
4678
-         s390x-*linux*)
 
4679
-           LD="${LD-ld} -m elf_s390"
 
4680
-           ;;
 
4681
-         sparc64-*linux*)
 
4682
-           LD="${LD-ld} -m elf32_sparc"
 
4683
-           ;;
 
4684
-       esac
 
4685
-       ;;
 
4686
-      *64-bit*)
 
4687
-       case $host in
 
4688
-         x86_64-*kfreebsd*-gnu)
 
4689
-           LD="${LD-ld} -m elf_x86_64_fbsd"
 
4690
-           ;;
 
4691
-         x86_64-*linux*)
 
4692
-           LD="${LD-ld} -m elf_x86_64"
 
4693
-           ;;
 
4694
-         ppc*-*linux*|powerpc*-*linux*)
 
4695
-           LD="${LD-ld} -m elf64ppc"
 
4696
-           ;;
 
4697
-         s390*-*linux*|s390*-*tpf*)
 
4698
-           LD="${LD-ld} -m elf64_s390"
 
4699
-           ;;
 
4700
-         sparc*-*linux*)
 
4701
-           LD="${LD-ld} -m elf64_sparc"
 
4702
-           ;;
 
4703
-       esac
 
4704
-       ;;
 
4705
-    esac
 
4706
-  fi
 
4707
-  rm -rf conftest*
 
4708
-  ;;
 
4709
-
 
4710
-*-*-sco3.2v5*)
 
4711
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
4712
-  SAVE_CFLAGS="$CFLAGS"
 
4713
-  CFLAGS="$CFLAGS -belf"
 
4714
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
4715
-    [AC_LANG_PUSH(C)
 
4716
-     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
4717
-     AC_LANG_POP])
 
4718
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
4719
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
4720
-    CFLAGS="$SAVE_CFLAGS"
 
4721
-  fi
 
4722
-  ;;
 
4723
-sparc*-*solaris*)
 
4724
-  # Find out which ABI we are using.
 
4725
-  echo 'int i;' > conftest.$ac_ext
 
4726
-  if AC_TRY_EVAL(ac_compile); then
 
4727
-    case `/usr/bin/file conftest.o` in
 
4728
-    *64-bit*)
 
4729
-      case $lt_cv_prog_gnu_ld in
 
4730
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4731
-      *)
 
4732
-       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4733
-         LD="${LD-ld} -64"
 
4734
-       fi
 
4735
-       ;;
 
4736
-      esac
 
4737
-      ;;
 
4738
-    esac
 
4739
-  fi
 
4740
-  rm -rf conftest*
 
4741
-  ;;
 
4742
-esac
 
4743
-
 
4744
-need_locks="$enable_libtool_lock"
 
4745
-])# _LT_ENABLE_LOCK
 
4746
-
 
4747
-
 
4748
-# _LT_CMD_OLD_ARCHIVE
 
4749
-# -------------------
 
4750
-m4_defun([_LT_CMD_OLD_ARCHIVE],
 
4751
-[AC_CHECK_TOOL(AR, ar, false)
 
4752
-test -z "$AR" && AR=ar
 
4753
-test -z "$AR_FLAGS" && AR_FLAGS=cru
 
4754
-_LT_DECL([], [AR], [1], [The archiver])
 
4755
-_LT_DECL([], [AR_FLAGS], [1])
 
4756
-
 
4757
-AC_CHECK_TOOL(STRIP, strip, :)
 
4758
-test -z "$STRIP" && STRIP=:
 
4759
-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 
4760
-
 
4761
-AC_CHECK_TOOL(RANLIB, ranlib, :)
 
4762
-test -z "$RANLIB" && RANLIB=:
 
4763
-_LT_DECL([], [RANLIB], [1],
 
4764
-    [Commands used to install an old-style archive])
 
4765
-
 
4766
-# Determine commands to create old-style static archives.
 
4767
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
4768
-old_postinstall_cmds='chmod 644 $oldlib'
 
4769
-old_postuninstall_cmds=
 
4770
-
 
4771
-if test -n "$RANLIB"; then
 
4772
-  case $host_os in
 
4773
-  openbsd*)
 
4774
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
4775
-    ;;
 
4776
-  *)
 
4777
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
4778
-    ;;
 
4779
-  esac
 
4780
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
4781
-fi
 
4782
-_LT_DECL([], [old_postinstall_cmds], [2])
 
4783
-_LT_DECL([], [old_postuninstall_cmds], [2])
 
4784
-_LT_TAGDECL([], [old_archive_cmds], [2],
 
4785
-    [Commands used to build an old-style archive])
 
4786
-])# _LT_CMD_OLD_ARCHIVE
 
4787
-
 
4788
-
 
4789
-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
4790
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 
4791
-# ----------------------------------------------------------------
 
4792
-# Check whether the given compiler option works
 
4793
-AC_DEFUN([_LT_COMPILER_OPTION],
 
4794
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
4795
-m4_require([_LT_DECL_SED])dnl
 
4796
-AC_CACHE_CHECK([$1], [$2],
 
4797
-  [$2=no
 
4798
-   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
4799
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
4800
-   lt_compiler_flag="$3"
 
4801
-   # Insert the option either (1) after the last *FLAGS variable, or
 
4802
-   # (2) before a word containing "conftest.", or (3) at the end.
 
4803
-   # Note that $ac_compile itself does not contain backslashes and begins
 
4804
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
4805
-   # The option is referenced via a variable to avoid confusing sed.
 
4806
-   lt_compile=`echo "$ac_compile" | $SED \
 
4807
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
4808
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
4809
-   -e 's:$: $lt_compiler_flag:'`
 
4810
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
4811
-   (eval "$lt_compile" 2>conftest.err)
 
4812
-   ac_status=$?
 
4813
-   cat conftest.err >&AS_MESSAGE_LOG_FD
 
4814
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
4815
-   if (exit $ac_status) && test -s "$ac_outfile"; then
 
4816
-     # The compiler can only warn and ignore the option if not recognized
 
4817
-     # So say no if there are warnings other than the usual output.
 
4818
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
4819
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
4820
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
4821
-       $2=yes
 
4822
-     fi
 
4823
-   fi
 
4824
-   $RM conftest*
 
4825
-])
 
4826
-
 
4827
-if test x"[$]$2" = xyes; then
 
4828
-    m4_if([$5], , :, [$5])
 
4829
-else
 
4830
-    m4_if([$6], , :, [$6])
 
4831
-fi
 
4832
-])# _LT_COMPILER_OPTION
 
4833
-
 
4834
-# Old name:
 
4835
-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 
4836
-dnl aclocal-1.4 backwards compatibility:
 
4837
-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 
4838
-
 
4839
-
 
4840
-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
4841
-#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 
4842
-# ----------------------------------------------------
 
4843
-# Check whether the given linker option works
 
4844
-AC_DEFUN([_LT_LINKER_OPTION],
 
4845
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
4846
-m4_require([_LT_DECL_SED])dnl
 
4847
-AC_CACHE_CHECK([$1], [$2],
 
4848
-  [$2=no
 
4849
-   save_LDFLAGS="$LDFLAGS"
 
4850
-   LDFLAGS="$LDFLAGS $3"
 
4851
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
4852
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
4853
-     # The linker can only warn and ignore the option if not recognized
 
4854
-     # So say no if there are warnings
 
4855
-     if test -s conftest.err; then
 
4856
-       # Append any errors to the config.log.
 
4857
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 
4858
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
4859
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
4860
-       if diff conftest.exp conftest.er2 >/dev/null; then
 
4861
-         $2=yes
 
4862
-       fi
 
4863
-     else
 
4864
-       $2=yes
 
4865
-     fi
 
4866
-   fi
 
4867
-   $RM -r conftest*
 
4868
-   LDFLAGS="$save_LDFLAGS"
 
4869
-])
 
4870
-
 
4871
-if test x"[$]$2" = xyes; then
 
4872
-    m4_if([$4], , :, [$4])
 
4873
-else
 
4874
-    m4_if([$5], , :, [$5])
 
4875
-fi
 
4876
-])# _LT_LINKER_OPTION
 
4877
-
 
4878
-# Old name:
 
4879
-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 
4880
-dnl aclocal-1.4 backwards compatibility:
 
4881
-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 
4882
-
 
4883
-
 
4884
-# LT_CMD_MAX_LEN
 
4885
-#---------------
 
4886
-AC_DEFUN([LT_CMD_MAX_LEN],
 
4887
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
4888
-# find the maximum length of command line arguments
 
4889
-AC_MSG_CHECKING([the maximum length of command line arguments])
 
4890
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 
4891
-  i=0
 
4892
-  teststring="ABCD"
 
4893
-
 
4894
-  case $build_os in
 
4895
-  msdosdjgpp*)
 
4896
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4897
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4898
-    # during glob expansion).  Even if it were fixed, the result of this
 
4899
-    # check would be larger than it should be.
 
4900
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4901
-    ;;
 
4902
-
 
4903
-  gnu*)
 
4904
-    # Under GNU Hurd, this test is not required because there is
 
4905
-    # no limit to the length of command line arguments.
 
4906
-    # Libtool will interpret -1 as no limit whatsoever
 
4907
-    lt_cv_sys_max_cmd_len=-1;
 
4908
-    ;;
 
4909
-
 
4910
-  cygwin* | mingw* | cegcc*)
 
4911
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4912
-    # about 5 minutes as the teststring grows exponentially.
 
4913
-    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4914
-    # you end up with a "frozen" computer, even though with patience
 
4915
-    # the test eventually succeeds (with a max line length of 256k).
 
4916
-    # Instead, let's just punt: use the minimum linelength reported by
 
4917
-    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4918
-    lt_cv_sys_max_cmd_len=8192;
 
4919
-    ;;
 
4920
-
 
4921
-  amigaos*)
 
4922
-    # On AmigaOS with pdksh, this test takes hours, literally.
 
4923
-    # So we just punt and use a minimum line length of 8192.
 
4924
-    lt_cv_sys_max_cmd_len=8192;
 
4925
-    ;;
 
4926
-
 
4927
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4928
-    # This has been around since 386BSD, at least.  Likely further.
 
4929
-    if test -x /sbin/sysctl; then
 
4930
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4931
-    elif test -x /usr/sbin/sysctl; then
 
4932
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4933
-    else
 
4934
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
 
4935
-    fi
 
4936
-    # And add a safety zone
 
4937
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4938
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4939
-    ;;
 
4940
-
 
4941
-  interix*)
 
4942
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4943
-    lt_cv_sys_max_cmd_len=196608
 
4944
-    ;;
 
4945
-
 
4946
-  osf*)
 
4947
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4948
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4949
-    # nice to cause kernel panics so lets avoid the loop below.
 
4950
-    # First set a reasonable default.
 
4951
-    lt_cv_sys_max_cmd_len=16384
 
4952
-    #
 
4953
-    if test -x /sbin/sysconfig; then
 
4954
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4955
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4956
-      esac
 
4957
-    fi
 
4958
-    ;;
 
4959
-  sco3.2v5*)
 
4960
-    lt_cv_sys_max_cmd_len=102400
 
4961
-    ;;
 
4962
-  sysv5* | sco5v6* | sysv4.2uw2*)
 
4963
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4964
-    if test -n "$kargmax"; then
 
4965
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
 
4966
-    else
 
4967
-      lt_cv_sys_max_cmd_len=32768
 
4968
-    fi
 
4969
-    ;;
 
4970
-  *)
 
4971
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4972
-    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4973
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4974
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4975
-    else
 
4976
-      # Make teststring a little bigger before we do anything with it.
 
4977
-      # a 1K string should be a reasonable start.
 
4978
-      for i in 1 2 3 4 5 6 7 8 ; do
 
4979
-        teststring=$teststring$teststring
 
4980
-      done
 
4981
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4982
-      # If test is not a shell built-in, we'll probably end up computing a
 
4983
-      # maximum length that is only half of the actual maximum length, but
 
4984
-      # we can't tell.
 
4985
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4986
-                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4987
-             test $i != 17 # 1/2 MB should be enough
 
4988
-      do
 
4989
-        i=`expr $i + 1`
 
4990
-        teststring=$teststring$teststring
 
4991
-      done
 
4992
-      # Only check the string length outside the loop.
 
4993
-      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4994
-      teststring=
 
4995
-      # Add a significant safety factor because C++ compilers can tack on
 
4996
-      # massive amounts of additional arguments before passing them to the
 
4997
-      # linker.  It appears as though 1/2 is a usable value.
 
4998
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4999
-    fi
 
5000
-    ;;
 
5001
-  esac
 
5002
-])
 
5003
-if test -n $lt_cv_sys_max_cmd_len ; then
 
5004
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
5005
-else
 
5006
-  AC_MSG_RESULT(none)
 
5007
-fi
 
5008
-max_cmd_len=$lt_cv_sys_max_cmd_len
 
5009
-_LT_DECL([], [max_cmd_len], [0],
 
5010
-    [What is the maximum length of a command?])
 
5011
-])# LT_CMD_MAX_LEN
 
5012
-
 
5013
-# Old name:
 
5014
-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 
5015
-dnl aclocal-1.4 backwards compatibility:
 
5016
-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 
5017
-
 
5018
-
 
5019
-# _LT_HEADER_DLFCN
 
5020
-# ----------------
 
5021
-m4_defun([_LT_HEADER_DLFCN],
 
5022
-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 
5023
-])# _LT_HEADER_DLFCN
 
5024
-
 
5025
-
 
5026
-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
5027
-#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
5028
-# ----------------------------------------------------------------
 
5029
-m4_defun([_LT_TRY_DLOPEN_SELF],
 
5030
-[m4_require([_LT_HEADER_DLFCN])dnl
 
5031
-if test "$cross_compiling" = yes; then :
 
5032
-  [$4]
 
5033
-else
 
5034
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
5035
-  lt_status=$lt_dlunknown
 
5036
-  cat > conftest.$ac_ext <<_LT_EOF
 
5037
-[#line __oline__ "configure"
 
5038
-#include "confdefs.h"
 
5039
-
 
5040
-#if HAVE_DLFCN_H
 
5041
-#include <dlfcn.h>
 
5042
-#endif
 
5043
-
 
5044
-#include <stdio.h>
 
5045
-
 
5046
-#ifdef RTLD_GLOBAL
 
5047
-#  define LT_DLGLOBAL          RTLD_GLOBAL
 
5048
-#else
 
5049
-#  ifdef DL_GLOBAL
 
5050
-#    define LT_DLGLOBAL                DL_GLOBAL
 
5051
-#  else
 
5052
-#    define LT_DLGLOBAL                0
 
5053
-#  endif
 
5054
-#endif
 
5055
-
 
5056
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
5057
-   find out it does not work in some platform. */
 
5058
-#ifndef LT_DLLAZY_OR_NOW
 
5059
-#  ifdef RTLD_LAZY
 
5060
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
5061
-#  else
 
5062
-#    ifdef DL_LAZY
 
5063
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
5064
-#    else
 
5065
-#      ifdef RTLD_NOW
 
5066
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
5067
-#      else
 
5068
-#        ifdef DL_NOW
 
5069
-#          define LT_DLLAZY_OR_NOW     DL_NOW
 
5070
-#        else
 
5071
-#          define LT_DLLAZY_OR_NOW     0
 
5072
-#        endif
 
5073
-#      endif
 
5074
-#    endif
 
5075
-#  endif
 
5076
-#endif
 
5077
-
 
5078
-void fnord() { int i=42;}
 
5079
-int main ()
 
5080
-{
 
5081
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
5082
-  int status = $lt_dlunknown;
 
5083
-
 
5084
-  if (self)
 
5085
-    {
 
5086
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
5087
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
5088
-      /* dlclose (self); */
 
5089
-    }
 
5090
-  else
 
5091
-    puts (dlerror ());
 
5092
-
 
5093
-  return status;
 
5094
-}]
 
5095
-_LT_EOF
 
5096
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 
5097
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 
5098
-    lt_status=$?
 
5099
-    case x$lt_status in
 
5100
-      x$lt_dlno_uscore) $1 ;;
 
5101
-      x$lt_dlneed_uscore) $2 ;;
 
5102
-      x$lt_dlunknown|x*) $3 ;;
 
5103
-    esac
 
5104
-  else :
 
5105
-    # compilation failed
 
5106
-    $3
 
5107
-  fi
 
5108
-fi
 
5109
-rm -fr conftest*
 
5110
-])# _LT_TRY_DLOPEN_SELF
 
5111
-
 
5112
-
 
5113
-# LT_SYS_DLOPEN_SELF
 
5114
-# ------------------
 
5115
-AC_DEFUN([LT_SYS_DLOPEN_SELF],
 
5116
-[m4_require([_LT_HEADER_DLFCN])dnl
 
5117
-if test "x$enable_dlopen" != xyes; then
 
5118
-  enable_dlopen=unknown
 
5119
-  enable_dlopen_self=unknown
 
5120
-  enable_dlopen_self_static=unknown
 
5121
-else
 
5122
-  lt_cv_dlopen=no
 
5123
-  lt_cv_dlopen_libs=
 
5124
-
 
5125
-  case $host_os in
 
5126
-  beos*)
 
5127
-    lt_cv_dlopen="load_add_on"
 
5128
-    lt_cv_dlopen_libs=
 
5129
-    lt_cv_dlopen_self=yes
 
5130
-    ;;
 
5131
-
 
5132
-  mingw* | pw32* | cegcc*)
 
5133
-    lt_cv_dlopen="LoadLibrary"
 
5134
-    lt_cv_dlopen_libs=
 
5135
-    ;;
 
5136
-
 
5137
-  cygwin*)
 
5138
-    lt_cv_dlopen="dlopen"
 
5139
-    lt_cv_dlopen_libs=
 
5140
-    ;;
 
5141
-
 
5142
-  darwin*)
 
5143
-  # if libdl is installed we need to link against it
 
5144
-    AC_CHECK_LIB([dl], [dlopen],
 
5145
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
 
5146
-    lt_cv_dlopen="dyld"
 
5147
-    lt_cv_dlopen_libs=
 
5148
-    lt_cv_dlopen_self=yes
 
5149
-    ])
 
5150
-    ;;
 
5151
-
 
5152
-  *)
 
5153
-    AC_CHECK_FUNC([shl_load],
 
5154
-         [lt_cv_dlopen="shl_load"],
 
5155
-      [AC_CHECK_LIB([dld], [shl_load],
 
5156
-           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
 
5157
-       [AC_CHECK_FUNC([dlopen],
 
5158
-             [lt_cv_dlopen="dlopen"],
 
5159
-         [AC_CHECK_LIB([dl], [dlopen],
 
5160
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 
5161
-           [AC_CHECK_LIB([svld], [dlopen],
 
5162
-                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 
5163
-             [AC_CHECK_LIB([dld], [dld_link],
 
5164
-                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
 
5165
-             ])
 
5166
-           ])
 
5167
-         ])
 
5168
-       ])
 
5169
-      ])
 
5170
-    ;;
 
5171
-  esac
 
5172
-
 
5173
-  if test "x$lt_cv_dlopen" != xno; then
 
5174
-    enable_dlopen=yes
 
5175
-  else
 
5176
-    enable_dlopen=no
 
5177
-  fi
 
5178
-
 
5179
-  case $lt_cv_dlopen in
 
5180
-  dlopen)
 
5181
-    save_CPPFLAGS="$CPPFLAGS"
 
5182
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
5183
-
 
5184
-    save_LDFLAGS="$LDFLAGS"
 
5185
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
5186
-
 
5187
-    save_LIBS="$LIBS"
 
5188
-    LIBS="$lt_cv_dlopen_libs $LIBS"
 
5189
-
 
5190
-    AC_CACHE_CHECK([whether a program can dlopen itself],
 
5191
-         lt_cv_dlopen_self, [dnl
 
5192
-         _LT_TRY_DLOPEN_SELF(
 
5193
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
5194
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
5195
-    ])
 
5196
-
 
5197
-    if test "x$lt_cv_dlopen_self" = xyes; then
 
5198
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
5199
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
5200
-         lt_cv_dlopen_self_static, [dnl
 
5201
-         _LT_TRY_DLOPEN_SELF(
 
5202
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
5203
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
5204
-      ])
 
5205
-    fi
 
5206
-
 
5207
-    CPPFLAGS="$save_CPPFLAGS"
 
5208
-    LDFLAGS="$save_LDFLAGS"
 
5209
-    LIBS="$save_LIBS"
 
5210
-    ;;
 
5211
-  esac
 
5212
-
 
5213
-  case $lt_cv_dlopen_self in
 
5214
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
5215
-  *) enable_dlopen_self=unknown ;;
 
5216
-  esac
 
5217
-
 
5218
-  case $lt_cv_dlopen_self_static in
 
5219
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
5220
-  *) enable_dlopen_self_static=unknown ;;
 
5221
-  esac
 
5222
-fi
 
5223
-_LT_DECL([dlopen_support], [enable_dlopen], [0],
 
5224
-        [Whether dlopen is supported])
 
5225
-_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 
5226
-        [Whether dlopen of programs is supported])
 
5227
-_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 
5228
-        [Whether dlopen of statically linked programs is supported])
 
5229
-])# LT_SYS_DLOPEN_SELF
 
5230
-
 
5231
-# Old name:
 
5232
-AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 
5233
-dnl aclocal-1.4 backwards compatibility:
 
5234
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 
5235
-
 
5236
-
 
5237
-# _LT_COMPILER_C_O([TAGNAME])
 
5238
-# ---------------------------
 
5239
-# Check to see if options -c and -o are simultaneously supported by compiler.
 
5240
-# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 
5241
-m4_defun([_LT_COMPILER_C_O],
 
5242
-[m4_require([_LT_DECL_SED])dnl
 
5243
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
5244
-m4_require([_LT_TAG_COMPILER])dnl
 
5245
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 
5246
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
5247
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
5248
-   $RM -r conftest 2>/dev/null
 
5249
-   mkdir conftest
 
5250
-   cd conftest
 
5251
-   mkdir out
 
5252
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
5253
-
 
5254
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
5255
-   # Insert the option either (1) after the last *FLAGS variable, or
 
5256
-   # (2) before a word containing "conftest.", or (3) at the end.
 
5257
-   # Note that $ac_compile itself does not contain backslashes and begins
 
5258
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
5259
-   lt_compile=`echo "$ac_compile" | $SED \
 
5260
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
5261
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
5262
-   -e 's:$: $lt_compiler_flag:'`
 
5263
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
5264
-   (eval "$lt_compile" 2>out/conftest.err)
 
5265
-   ac_status=$?
 
5266
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 
5267
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
5268
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
5269
-   then
 
5270
-     # The compiler can only warn and ignore the option if not recognized
 
5271
-     # So say no if there are warnings
 
5272
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
5273
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
5274
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
5275
-       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
5276
-     fi
 
5277
-   fi
 
5278
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 
5279
-   $RM conftest*
 
5280
-   # SGI C++ compiler will create directory out/ii_files/ for
 
5281
-   # template instantiation
 
5282
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
5283
-   $RM out/* && rmdir out
 
5284
-   cd ..
 
5285
-   $RM -r conftest
 
5286
-   $RM conftest*
 
5287
-])
 
5288
-_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 
5289
-       [Does compiler simultaneously support -c and -o options?])
 
5290
-])# _LT_COMPILER_C_O
 
5291
-
 
5292
-
 
5293
-# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 
5294
-# ----------------------------------
 
5295
-# Check to see if we can do hard links to lock some files if needed
 
5296
-m4_defun([_LT_COMPILER_FILE_LOCKS],
 
5297
-[m4_require([_LT_ENABLE_LOCK])dnl
 
5298
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
5299
-_LT_COMPILER_C_O([$1])
 
5300
-
 
5301
-hard_links="nottested"
 
5302
-if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
5303
-  # do not overwrite the value of need_locks provided by the user
 
5304
-  AC_MSG_CHECKING([if we can lock with hard links])
 
5305
-  hard_links=yes
 
5306
-  $RM conftest*
 
5307
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
5308
-  touch conftest.a
 
5309
-  ln conftest.a conftest.b 2>&5 || hard_links=no
 
5310
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
5311
-  AC_MSG_RESULT([$hard_links])
 
5312
-  if test "$hard_links" = no; then
 
5313
-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
 
5314
-    need_locks=warn
 
5315
-  fi
 
5316
-else
 
5317
-  need_locks=no
 
5318
-fi
 
5319
-_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 
5320
-])# _LT_COMPILER_FILE_LOCKS
 
5321
-
 
5322
-
 
5323
-# _LT_CHECK_OBJDIR
 
5324
-# ----------------
 
5325
-m4_defun([_LT_CHECK_OBJDIR],
 
5326
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 
5327
-[rm -f .libs 2>/dev/null
 
5328
-mkdir .libs 2>/dev/null
 
5329
-if test -d .libs; then
 
5330
-  lt_cv_objdir=.libs
 
5331
-else
 
5332
-  # MS-DOS does not allow filenames that begin with a dot.
 
5333
-  lt_cv_objdir=_libs
 
5334
-fi
 
5335
-rmdir .libs 2>/dev/null])
 
5336
-objdir=$lt_cv_objdir
 
5337
-_LT_DECL([], [objdir], [0],
 
5338
-         [The name of the directory that contains temporary libtool files])dnl
 
5339
-m4_pattern_allow([LT_OBJDIR])dnl
 
5340
-AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
 
5341
-  [Define to the sub-directory in which libtool stores uninstalled libraries.])
 
5342
-])# _LT_CHECK_OBJDIR
 
5343
-
 
5344
-
 
5345
-# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 
5346
-# --------------------------------------
 
5347
-# Check hardcoding attributes.
 
5348
-m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 
5349
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
 
5350
-_LT_TAGVAR(hardcode_action, $1)=
 
5351
-if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 
5352
-   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 
5353
-   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
5354
-
 
5355
-  # We can hardcode non-existent directories.
 
5356
-  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
 
5357
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
5358
-     # have to relink, otherwise we might link with an installed library
 
5359
-     # when we should be linking with a yet-to-be-installed one
 
5360
-     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
5361
-     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
 
5362
-    # Linking always hardcodes the temporary library directory.
 
5363
-    _LT_TAGVAR(hardcode_action, $1)=relink
 
5364
-  else
 
5365
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
5366
-    _LT_TAGVAR(hardcode_action, $1)=immediate
 
5367
-  fi
 
5368
-else
 
5369
-  # We cannot hardcode anything, or else we can only hardcode existing
 
5370
-  # directories.
 
5371
-  _LT_TAGVAR(hardcode_action, $1)=unsupported
 
5372
-fi
 
5373
-AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 
5374
-
 
5375
-if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
 
5376
-   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
 
5377
-  # Fast installation is not supported
 
5378
-  enable_fast_install=no
 
5379
-elif test "$shlibpath_overrides_runpath" = yes ||
 
5380
-     test "$enable_shared" = no; then
 
5381
-  # Fast installation is not necessary
 
5382
-  enable_fast_install=needless
 
5383
-fi
 
5384
-_LT_TAGDECL([], [hardcode_action], [0],
 
5385
-    [How to hardcode a shared library path into an executable])
 
5386
-])# _LT_LINKER_HARDCODE_LIBPATH
 
5387
-
 
5388
-
 
5389
-# _LT_CMD_STRIPLIB
 
5390
-# ----------------
 
5391
-m4_defun([_LT_CMD_STRIPLIB],
 
5392
-[m4_require([_LT_DECL_EGREP])
 
5393
-striplib=
 
5394
-old_striplib=
 
5395
-AC_MSG_CHECKING([whether stripping libraries is possible])
 
5396
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
5397
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
5398
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
5399
-  AC_MSG_RESULT([yes])
 
5400
-else
 
5401
-# FIXME - insert some real tests, host_os isn't really good enough
 
5402
-  case $host_os in
 
5403
-  darwin*)
 
5404
-    if test -n "$STRIP" ; then
 
5405
-      striplib="$STRIP -x"
 
5406
-      old_striplib="$STRIP -S"
 
5407
-      AC_MSG_RESULT([yes])
 
5408
-    else
 
5409
-      AC_MSG_RESULT([no])
 
5410
-    fi
 
5411
-    ;;
 
5412
-  *)
 
5413
-    AC_MSG_RESULT([no])
 
5414
-    ;;
 
5415
-  esac
 
5416
-fi
 
5417
-_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 
5418
-_LT_DECL([], [striplib], [1])
 
5419
-])# _LT_CMD_STRIPLIB
 
5420
-
 
5421
-
 
5422
-# _LT_SYS_DYNAMIC_LINKER([TAG])
 
5423
-# -----------------------------
 
5424
-# PORTME Fill in your ld.so characteristics
 
5425
-m4_defun([_LT_SYS_DYNAMIC_LINKER],
 
5426
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
5427
-m4_require([_LT_DECL_EGREP])dnl
 
5428
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
5429
-m4_require([_LT_DECL_OBJDUMP])dnl
 
5430
-m4_require([_LT_DECL_SED])dnl
 
5431
-AC_MSG_CHECKING([dynamic linker characteristics])
 
5432
-m4_if([$1],
 
5433
-       [], [
 
5434
-if test "$GCC" = yes; then
 
5435
-  case $host_os in
 
5436
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
5437
-    *) lt_awk_arg="/^libraries:/" ;;
 
5438
-  esac
 
5439
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
5440
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
5441
-    # if the path contains ";" then we assume it to be the separator
 
5442
-    # otherwise default to the standard path separator (i.e. ":") - it is
 
5443
-    # assumed that no part of a normal pathname contains ";" but that should
 
5444
-    # okay in the real world where ";" in dirpaths is itself problematic.
 
5445
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
5446
-  else
 
5447
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
5448
-  fi
 
5449
-  # Ok, now we have the path, separated by spaces, we can step through it
 
5450
-  # and add multilib dir if necessary.
 
5451
-  lt_tmp_lt_search_path_spec=
 
5452
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
5453
-  for lt_sys_path in $lt_search_path_spec; do
 
5454
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
5455
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
5456
-    else
 
5457
-      test -d "$lt_sys_path" && \
 
5458
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
5459
-    fi
 
5460
-  done
 
5461
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
5462
-BEGIN {RS=" "; FS="/|\n";} {
 
5463
-  lt_foo="";
 
5464
-  lt_count=0;
 
5465
-  for (lt_i = NF; lt_i > 0; lt_i--) {
 
5466
-    if ($lt_i != "" && $lt_i != ".") {
 
5467
-      if ($lt_i == "..") {
 
5468
-        lt_count++;
 
5469
-      } else {
 
5470
-        if (lt_count == 0) {
 
5471
-          lt_foo="/" $lt_i lt_foo;
 
5472
-        } else {
 
5473
-          lt_count--;
 
5474
-        }
 
5475
-      }
 
5476
-    }
 
5477
-  }
 
5478
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 
5479
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 
5480
-}'`
 
5481
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
5482
-else
 
5483
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
5484
-fi])
 
5485
-library_names_spec=
 
5486
-libname_spec='lib$name'
 
5487
-soname_spec=
 
5488
-shrext_cmds=".so"
 
5489
-postinstall_cmds=
 
5490
-postuninstall_cmds=
 
5491
-finish_cmds=
 
5492
-finish_eval=
 
5493
-shlibpath_var=
 
5494
-shlibpath_overrides_runpath=unknown
 
5495
-version_type=none
 
5496
-dynamic_linker="$host_os ld.so"
 
5497
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
5498
-need_lib_prefix=unknown
 
5499
-hardcode_into_libs=no
 
5500
-
 
5501
-# when you set need_version to no, make sure it does not cause -set_version
 
5502
-# flags to be left without arguments
 
5503
-need_version=unknown
 
5504
-
 
5505
-case $host_os in
 
5506
-aix3*)
 
5507
-  version_type=linux
 
5508
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
5509
-  shlibpath_var=LIBPATH
 
5510
-
 
5511
-  # AIX 3 has no versioning support, so we append a major version to the name.
 
5512
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5513
-  ;;
 
5514
-
 
5515
-aix[[4-9]]*)
 
5516
-  version_type=linux
 
5517
-  need_lib_prefix=no
 
5518
-  need_version=no
 
5519
-  hardcode_into_libs=yes
 
5520
-  if test "$host_cpu" = ia64; then
 
5521
-    # AIX 5 supports IA64
 
5522
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
5523
-    shlibpath_var=LD_LIBRARY_PATH
 
5524
-  else
 
5525
-    # With GCC up to 2.95.x, collect2 would create an import file
 
5526
-    # for dependence libraries.  The import file would start with
 
5527
-    # the line `#! .'.  This would cause the generated library to
 
5528
-    # depend on `.', always an invalid library.  This was fixed in
 
5529
-    # development snapshots of GCC prior to 3.0.
 
5530
-    case $host_os in
 
5531
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
5532
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
5533
-          echo ' yes '
 
5534
-          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
5535
-       :
 
5536
-      else
 
5537
-       can_build_shared=no
 
5538
-      fi
 
5539
-      ;;
 
5540
-    esac
 
5541
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
5542
-    # soname into executable. Probably we can add versioning support to
 
5543
-    # collect2, so additional links can be useful in future.
 
5544
-    if test "$aix_use_runtimelinking" = yes; then
 
5545
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
5546
-      # instead of lib<name>.a to let people know that these are not
 
5547
-      # typical AIX shared libraries.
 
5548
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5549
-    else
 
5550
-      # We preserve .a as extension for shared libraries through AIX4.2
 
5551
-      # and later when we are not doing run time linking.
 
5552
-      library_names_spec='${libname}${release}.a $libname.a'
 
5553
-      soname_spec='${libname}${release}${shared_ext}$major'
 
5554
-    fi
 
5555
-    shlibpath_var=LIBPATH
 
5556
-  fi
 
5557
-  ;;
 
5558
-
 
5559
-amigaos*)
 
5560
-  case $host_cpu in
 
5561
-  powerpc)
 
5562
-    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
5563
-    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
5564
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5565
-    ;;
 
5566
-  m68k)
 
5567
-    library_names_spec='$libname.ixlibrary $libname.a'
 
5568
-    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
5569
-    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'
 
5570
-    ;;
 
5571
-  esac
 
5572
-  ;;
 
5573
-
 
5574
-beos*)
 
5575
-  library_names_spec='${libname}${shared_ext}'
 
5576
-  dynamic_linker="$host_os ld.so"
 
5577
-  shlibpath_var=LIBRARY_PATH
 
5578
-  ;;
 
5579
-
 
5580
-bsdi[[45]]*)
 
5581
-  version_type=linux
 
5582
-  need_version=no
 
5583
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5584
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5585
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
5586
-  shlibpath_var=LD_LIBRARY_PATH
 
5587
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
5588
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
5589
-  # the default ld.so.conf also contains /usr/contrib/lib and
 
5590
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
5591
-  # libtool to hard-code these into programs
 
5592
-  ;;
 
5593
-
 
5594
-cygwin* | mingw* | pw32* | cegcc*)
 
5595
-  version_type=windows
 
5596
-  shrext_cmds=".dll"
 
5597
-  need_version=no
 
5598
-  need_lib_prefix=no
 
5599
-
 
5600
-  case $GCC,$host_os in
 
5601
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
5602
-    library_names_spec='$libname.dll.a'
 
5603
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
5604
-    postinstall_cmds='base_file=`basename \${file}`~
 
5605
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
5606
-      dldir=$destdir/`dirname \$dlpath`~
 
5607
-      test -d \$dldir || mkdir -p \$dldir~
 
5608
-      $install_prog $dir/$dlname \$dldir/$dlname~
 
5609
-      chmod a+x \$dldir/$dlname~
 
5610
-      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
5611
-        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
5612
-      fi'
 
5613
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
5614
-      dlpath=$dir/\$dldll~
 
5615
-       $RM \$dlpath'
 
5616
-    shlibpath_overrides_runpath=yes
 
5617
-
 
5618
-    case $host_os in
 
5619
-    cygwin*)
 
5620
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
5621
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
5622
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
5623
-      ;;
 
5624
-    mingw* | cegcc*)
 
5625
-      # MinGW DLLs use traditional 'lib' prefix
 
5626
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
5627
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
5628
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 
5629
-        # It is most probably a Windows format PATH printed by
 
5630
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
5631
-        # path with ; separators, and with drive letters. We can handle the
 
5632
-        # drive letters (cygwin fileutils understands them), so leave them,
 
5633
-        # especially as we might pass files found there to a mingw objdump,
 
5634
-        # which wouldn't understand a cygwinified path. Ahh.
 
5635
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
5636
-      else
 
5637
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
5638
-      fi
 
5639
-      ;;
 
5640
-    pw32*)
 
5641
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
5642
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
5643
-      ;;
 
5644
-    esac
 
5645
-    ;;
 
5646
-
 
5647
-  *)
 
5648
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
5649
-    ;;
 
5650
-  esac
 
5651
-  dynamic_linker='Win32 ld.exe'
 
5652
-  # FIXME: first we should search . and the directory the executable is in
 
5653
-  shlibpath_var=PATH
 
5654
-  ;;
 
5655
-
 
5656
-darwin* | rhapsody*)
 
5657
-  dynamic_linker="$host_os dyld"
 
5658
-  version_type=darwin
 
5659
-  need_lib_prefix=no
 
5660
-  need_version=no
 
5661
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
5662
-  soname_spec='${libname}${release}${major}$shared_ext'
 
5663
-  shlibpath_overrides_runpath=yes
 
5664
-  shlibpath_var=DYLD_LIBRARY_PATH
 
5665
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
5666
-m4_if([$1], [],[
 
5667
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 
5668
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
5669
-  ;;
 
5670
-
 
5671
-dgux*)
 
5672
-  version_type=linux
 
5673
-  need_lib_prefix=no
 
5674
-  need_version=no
 
5675
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
5676
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5677
-  shlibpath_var=LD_LIBRARY_PATH
 
5678
-  ;;
 
5679
-
 
5680
-freebsd1*)
 
5681
-  dynamic_linker=no
 
5682
-  ;;
 
5683
-
 
5684
-freebsd* | dragonfly*)
 
5685
-  # DragonFly does not have aout.  When/if they implement a new
 
5686
-  # versioning mechanism, adjust this.
 
5687
-  if test -x /usr/bin/objformat; then
 
5688
-    objformat=`/usr/bin/objformat`
 
5689
-  else
 
5690
-    case $host_os in
 
5691
-    freebsd[[123]]*) objformat=aout ;;
 
5692
-    *) objformat=elf ;;
 
5693
-    esac
 
5694
-  fi
 
5695
-  version_type=freebsd-$objformat
 
5696
-  case $version_type in
 
5697
-    freebsd-elf*)
 
5698
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
5699
-      need_version=no
 
5700
-      need_lib_prefix=no
 
5701
-      ;;
 
5702
-    freebsd-*)
 
5703
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
5704
-      need_version=yes
 
5705
-      ;;
 
5706
-  esac
 
5707
-  shlibpath_var=LD_LIBRARY_PATH
 
5708
-  case $host_os in
 
5709
-  freebsd2*)
 
5710
-    shlibpath_overrides_runpath=yes
 
5711
-    ;;
 
5712
-  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 
5713
-    shlibpath_overrides_runpath=yes
 
5714
-    hardcode_into_libs=yes
 
5715
-    ;;
 
5716
-  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 
5717
-  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 
5718
-    shlibpath_overrides_runpath=no
 
5719
-    hardcode_into_libs=yes
 
5720
-    ;;
 
5721
-  *) # from 4.6 on, and DragonFly
 
5722
-    shlibpath_overrides_runpath=yes
 
5723
-    hardcode_into_libs=yes
 
5724
-    ;;
 
5725
-  esac
 
5726
-  ;;
 
5727
-
 
5728
-gnu*)
 
5729
-  version_type=linux
 
5730
-  need_lib_prefix=no
 
5731
-  need_version=no
 
5732
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
5733
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5734
-  shlibpath_var=LD_LIBRARY_PATH
 
5735
-  hardcode_into_libs=yes
 
5736
-  ;;
 
5737
-
 
5738
-hpux9* | hpux10* | hpux11*)
 
5739
-  # Give a soname corresponding to the major version so that dld.sl refuses to
 
5740
-  # link against other versions.
 
5741
-  version_type=sunos
 
5742
-  need_lib_prefix=no
 
5743
-  need_version=no
 
5744
-  case $host_cpu in
 
5745
-  ia64*)
 
5746
-    shrext_cmds='.so'
 
5747
-    hardcode_into_libs=yes
 
5748
-    dynamic_linker="$host_os dld.so"
 
5749
-    shlibpath_var=LD_LIBRARY_PATH
 
5750
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
5751
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5752
-    soname_spec='${libname}${release}${shared_ext}$major'
 
5753
-    if test "X$HPUX_IA64_MODE" = X32; then
 
5754
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
5755
-    else
 
5756
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
5757
-    fi
 
5758
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
5759
-    ;;
 
5760
-  hppa*64*)
 
5761
-    shrext_cmds='.sl'
 
5762
-    hardcode_into_libs=yes
 
5763
-    dynamic_linker="$host_os dld.sl"
 
5764
-    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
5765
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
5766
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5767
-    soname_spec='${libname}${release}${shared_ext}$major'
 
5768
-    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
5769
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
5770
-    ;;
 
5771
-  *)
 
5772
-    shrext_cmds='.sl'
 
5773
-    dynamic_linker="$host_os dld.sl"
 
5774
-    shlibpath_var=SHLIB_PATH
 
5775
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
5776
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5777
-    soname_spec='${libname}${release}${shared_ext}$major'
 
5778
-    ;;
 
5779
-  esac
 
5780
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
5781
-  postinstall_cmds='chmod 555 $lib'
 
5782
-  ;;
 
5783
-
 
5784
-interix[[3-9]]*)
 
5785
-  version_type=linux
 
5786
-  need_lib_prefix=no
 
5787
-  need_version=no
 
5788
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
5789
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5790
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
5791
-  shlibpath_var=LD_LIBRARY_PATH
 
5792
-  shlibpath_overrides_runpath=no
 
5793
-  hardcode_into_libs=yes
 
5794
-  ;;
 
5795
-
 
5796
-irix5* | irix6* | nonstopux*)
 
5797
-  case $host_os in
 
5798
-    nonstopux*) version_type=nonstopux ;;
 
5799
-    *)
 
5800
-       if test "$lt_cv_prog_gnu_ld" = yes; then
 
5801
-               version_type=linux
 
5802
-       else
 
5803
-               version_type=irix
 
5804
-       fi ;;
 
5805
-  esac
 
5806
-  need_lib_prefix=no
 
5807
-  need_version=no
 
5808
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5809
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
5810
-  case $host_os in
 
5811
-  irix5* | nonstopux*)
 
5812
-    libsuff= shlibsuff=
 
5813
-    ;;
 
5814
-  *)
 
5815
-    case $LD in # libtool.m4 will add one of these switches to LD
 
5816
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
5817
-      libsuff= shlibsuff= libmagic=32-bit;;
 
5818
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
5819
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
5820
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
5821
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
5822
-    *) libsuff= shlibsuff= libmagic=never-match;;
 
5823
-    esac
 
5824
-    ;;
 
5825
-  esac
 
5826
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
5827
-  shlibpath_overrides_runpath=no
 
5828
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
5829
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
5830
-  hardcode_into_libs=yes
 
5831
-  ;;
 
5832
-
 
5833
-# No shared lib support for Linux oldld, aout, or coff.
 
5834
-linux*oldld* | linux*aout* | linux*coff*)
 
5835
-  dynamic_linker=no
 
5836
-  ;;
 
5837
-
 
5838
-# This must be Linux ELF.
 
5839
-linux* | k*bsd*-gnu)
 
5840
-  version_type=linux
 
5841
-  need_lib_prefix=no
 
5842
-  need_version=no
 
5843
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5844
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5845
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
5846
-  shlibpath_var=LD_LIBRARY_PATH
 
5847
-  shlibpath_overrides_runpath=no
 
5848
-  # Some binutils ld are patched to set DT_RUNPATH
 
5849
-  save_LDFLAGS=$LDFLAGS
 
5850
-  save_libdir=$libdir
 
5851
-  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 
5852
-       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 
5853
-  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
5854
-    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 
5855
-       [shlibpath_overrides_runpath=yes])])
 
5856
-  LDFLAGS=$save_LDFLAGS
 
5857
-  libdir=$save_libdir
 
5858
-
 
5859
-  # This implies no fast_install, which is unacceptable.
 
5860
-  # Some rework will be needed to allow for fast_install
 
5861
-  # before this can be enabled.
 
5862
-  hardcode_into_libs=yes
 
5863
-
 
5864
-  # Append ld.so.conf contents to the search path
 
5865
-  if test -f /etc/ld.so.conf; then
 
5866
-    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' ' '`
 
5867
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
5868
-  fi
 
5869
-
 
5870
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
5871
-  # powerpc, because MkLinux only supported shared libraries with the
 
5872
-  # GNU dynamic linker.  Since this was broken with cross compilers,
 
5873
-  # most powerpc-linux boxes support dynamic linking these days and
 
5874
-  # people can always --disable-shared, the test was removed, and we
 
5875
-  # assume the GNU/Linux dynamic linker is in use.
 
5876
-  dynamic_linker='GNU/Linux ld.so'
 
5877
-  ;;
 
5878
-
 
5879
-netbsd*)
 
5880
-  version_type=sunos
 
5881
-  need_lib_prefix=no
 
5882
-  need_version=no
 
5883
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
5884
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
5885
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
5886
-    dynamic_linker='NetBSD (a.out) ld.so'
 
5887
-  else
 
5888
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
5889
-    soname_spec='${libname}${release}${shared_ext}$major'
 
5890
-    dynamic_linker='NetBSD ld.elf_so'
 
5891
-  fi
 
5892
-  shlibpath_var=LD_LIBRARY_PATH
 
5893
-  shlibpath_overrides_runpath=yes
 
5894
-  hardcode_into_libs=yes
 
5895
-  ;;
 
5896
-
 
5897
-newsos6)
 
5898
-  version_type=linux
 
5899
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5900
-  shlibpath_var=LD_LIBRARY_PATH
 
5901
-  shlibpath_overrides_runpath=yes
 
5902
-  ;;
 
5903
-
 
5904
-*nto* | *qnx*)
 
5905
-  version_type=qnx
 
5906
-  need_lib_prefix=no
 
5907
-  need_version=no
 
5908
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5909
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5910
-  shlibpath_var=LD_LIBRARY_PATH
 
5911
-  shlibpath_overrides_runpath=no
 
5912
-  hardcode_into_libs=yes
 
5913
-  dynamic_linker='ldqnx.so'
 
5914
-  ;;
 
5915
-
 
5916
-openbsd*)
 
5917
-  version_type=sunos
 
5918
-  sys_lib_dlsearch_path_spec="/usr/lib"
 
5919
-  need_lib_prefix=no
 
5920
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
5921
-  case $host_os in
 
5922
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
5923
-    *)                         need_version=no  ;;
 
5924
-  esac
 
5925
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
5926
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
5927
-  shlibpath_var=LD_LIBRARY_PATH
 
5928
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5929
-    case $host_os in
 
5930
-      openbsd2.[[89]] | openbsd2.[[89]].*)
 
5931
-       shlibpath_overrides_runpath=no
 
5932
-       ;;
 
5933
-      *)
 
5934
-       shlibpath_overrides_runpath=yes
 
5935
-       ;;
 
5936
-      esac
 
5937
-  else
 
5938
-    shlibpath_overrides_runpath=yes
 
5939
-  fi
 
5940
-  ;;
 
5941
-
 
5942
-os2*)
 
5943
-  libname_spec='$name'
 
5944
-  shrext_cmds=".dll"
 
5945
-  need_lib_prefix=no
 
5946
-  library_names_spec='$libname${shared_ext} $libname.a'
 
5947
-  dynamic_linker='OS/2 ld.exe'
 
5948
-  shlibpath_var=LIBPATH
 
5949
-  ;;
 
5950
-
 
5951
-osf3* | osf4* | osf5*)
 
5952
-  version_type=osf
 
5953
-  need_lib_prefix=no
 
5954
-  need_version=no
 
5955
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5956
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5957
-  shlibpath_var=LD_LIBRARY_PATH
 
5958
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
5959
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
5960
-  ;;
 
5961
-
 
5962
-rdos*)
 
5963
-  dynamic_linker=no
 
5964
-  ;;
 
5965
-
 
5966
-solaris*)
 
5967
-  version_type=linux
 
5968
-  need_lib_prefix=no
 
5969
-  need_version=no
 
5970
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5971
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5972
-  shlibpath_var=LD_LIBRARY_PATH
 
5973
-  shlibpath_overrides_runpath=yes
 
5974
-  hardcode_into_libs=yes
 
5975
-  # ldd complains unless libraries are executable
 
5976
-  postinstall_cmds='chmod +x $lib'
 
5977
-  ;;
 
5978
-
 
5979
-sunos4*)
 
5980
-  version_type=sunos
 
5981
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
5982
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
5983
-  shlibpath_var=LD_LIBRARY_PATH
 
5984
-  shlibpath_overrides_runpath=yes
 
5985
-  if test "$with_gnu_ld" = yes; then
 
5986
-    need_lib_prefix=no
 
5987
-  fi
 
5988
-  need_version=yes
 
5989
-  ;;
 
5990
-
 
5991
-sysv4 | sysv4.3*)
 
5992
-  version_type=linux
 
5993
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
5994
-  soname_spec='${libname}${release}${shared_ext}$major'
 
5995
-  shlibpath_var=LD_LIBRARY_PATH
 
5996
-  case $host_vendor in
 
5997
-    sni)
 
5998
-      shlibpath_overrides_runpath=no
 
5999
-      need_lib_prefix=no
 
6000
-      runpath_var=LD_RUN_PATH
 
6001
-      ;;
 
6002
-    siemens)
 
6003
-      need_lib_prefix=no
 
6004
-      ;;
 
6005
-    motorola)
 
6006
-      need_lib_prefix=no
 
6007
-      need_version=no
 
6008
-      shlibpath_overrides_runpath=no
 
6009
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
6010
-      ;;
 
6011
-  esac
 
6012
-  ;;
 
6013
-
 
6014
-sysv4*MP*)
 
6015
-  if test -d /usr/nec ;then
 
6016
-    version_type=linux
 
6017
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
6018
-    soname_spec='$libname${shared_ext}.$major'
 
6019
-    shlibpath_var=LD_LIBRARY_PATH
 
6020
-  fi
 
6021
-  ;;
 
6022
-
 
6023
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6024
-  version_type=freebsd-elf
 
6025
-  need_lib_prefix=no
 
6026
-  need_version=no
 
6027
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
6028
-  soname_spec='${libname}${release}${shared_ext}$major'
 
6029
-  shlibpath_var=LD_LIBRARY_PATH
 
6030
-  shlibpath_overrides_runpath=yes
 
6031
-  hardcode_into_libs=yes
 
6032
-  if test "$with_gnu_ld" = yes; then
 
6033
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
6034
-  else
 
6035
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
6036
-    case $host_os in
 
6037
-      sco3.2v5*)
 
6038
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
6039
-       ;;
 
6040
-    esac
 
6041
-  fi
 
6042
-  sys_lib_dlsearch_path_spec='/usr/lib'
 
6043
-  ;;
 
6044
-
 
6045
-tpf*)
 
6046
-  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
6047
-  version_type=linux
 
6048
-  need_lib_prefix=no
 
6049
-  need_version=no
 
6050
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
6051
-  shlibpath_var=LD_LIBRARY_PATH
 
6052
-  shlibpath_overrides_runpath=no
 
6053
-  hardcode_into_libs=yes
 
6054
-  ;;
 
6055
-
 
6056
-uts4*)
 
6057
-  version_type=linux
 
6058
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
6059
-  soname_spec='${libname}${release}${shared_ext}$major'
 
6060
-  shlibpath_var=LD_LIBRARY_PATH
 
6061
-  ;;
 
6062
-
 
6063
-*)
 
6064
-  dynamic_linker=no
 
6065
-  ;;
 
6066
-esac
 
6067
-AC_MSG_RESULT([$dynamic_linker])
 
6068
-test "$dynamic_linker" = no && can_build_shared=no
 
6069
-
 
6070
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
6071
-if test "$GCC" = yes; then
 
6072
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
6073
-fi
 
6074
-
 
6075
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
6076
-  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
6077
-fi
 
6078
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
6079
-  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
6080
-fi
 
6081
-
 
6082
-_LT_DECL([], [variables_saved_for_relink], [1],
 
6083
-    [Variables whose values should be saved in libtool wrapper scripts and
 
6084
-    restored at link time])
 
6085
-_LT_DECL([], [need_lib_prefix], [0],
 
6086
-    [Do we need the "lib" prefix for modules?])
 
6087
-_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 
6088
-_LT_DECL([], [version_type], [0], [Library versioning type])
 
6089
-_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 
6090
-_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 
6091
-_LT_DECL([], [shlibpath_overrides_runpath], [0],
 
6092
-    [Is shlibpath searched before the hard-coded library search path?])
 
6093
-_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 
6094
-_LT_DECL([], [library_names_spec], [1],
 
6095
-    [[List of archive names.  First name is the real one, the rest are links.
 
6096
-    The last name is the one that the linker finds with -lNAME]])
 
6097
-_LT_DECL([], [soname_spec], [1],
 
6098
-    [[The coded name of the library, if different from the real name]])
 
6099
-_LT_DECL([], [postinstall_cmds], [2],
 
6100
-    [Command to use after installation of a shared archive])
 
6101
-_LT_DECL([], [postuninstall_cmds], [2],
 
6102
-    [Command to use after uninstallation of a shared archive])
 
6103
-_LT_DECL([], [finish_cmds], [2],
 
6104
-    [Commands used to finish a libtool library installation in a directory])
 
6105
-_LT_DECL([], [finish_eval], [1],
 
6106
-    [[As "finish_cmds", except a single script fragment to be evaled but
 
6107
-    not shown]])
 
6108
-_LT_DECL([], [hardcode_into_libs], [0],
 
6109
-    [Whether we should hardcode library paths into libraries])
 
6110
-_LT_DECL([], [sys_lib_search_path_spec], [2],
 
6111
-    [Compile-time system search path for libraries])
 
6112
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
 
6113
-    [Run-time system search path for libraries])
 
6114
-])# _LT_SYS_DYNAMIC_LINKER
 
6115
-
 
6116
-
 
6117
-# _LT_PATH_TOOL_PREFIX(TOOL)
 
6118
-# --------------------------
 
6119
-# find a file program which can recognize shared library
 
6120
-AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 
6121
-[m4_require([_LT_DECL_EGREP])dnl
 
6122
-AC_MSG_CHECKING([for $1])
 
6123
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
6124
-[case $MAGIC_CMD in
 
6125
-[[\\/*] |  ?:[\\/]*])
 
6126
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
6127
-  ;;
 
6128
-*)
 
6129
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
6130
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6131
-dnl $ac_dummy forces splitting on constant user-supplied paths.
 
6132
-dnl POSIX.2 word splitting is done only on the output of word expansions,
 
6133
-dnl not every word.  This closes a longstanding sh security hole.
 
6134
-  ac_dummy="m4_if([$2], , $PATH, [$2])"
 
6135
-  for ac_dir in $ac_dummy; do
 
6136
-    IFS="$lt_save_ifs"
 
6137
-    test -z "$ac_dir" && ac_dir=.
 
6138
-    if test -f $ac_dir/$1; then
 
6139
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
6140
-      if test -n "$file_magic_test_file"; then
 
6141
-       case $deplibs_check_method in
 
6142
-       "file_magic "*)
 
6143
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
6144
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
6145
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
6146
-           $EGREP "$file_magic_regex" > /dev/null; then
 
6147
-           :
 
6148
-         else
 
6149
-           cat <<_LT_EOF 1>&2
 
6150
-
 
6151
-*** Warning: the command libtool uses to detect shared libraries,
 
6152
-*** $file_magic_cmd, produces output that libtool cannot recognize.
 
6153
-*** The result is that libtool may fail to recognize shared libraries
 
6154
-*** as such.  This will affect the creation of libtool libraries that
 
6155
-*** depend on shared libraries, but programs linked with such libtool
 
6156
-*** libraries will work regardless of this problem.  Nevertheless, you
 
6157
-*** may want to report the problem to your system manager and/or to
 
6158
-*** bug-libtool@gnu.org
 
6159
-
 
6160
-_LT_EOF
 
6161
-         fi ;;
 
6162
-       esac
 
6163
-      fi
 
6164
-      break
 
6165
-    fi
 
6166
-  done
 
6167
-  IFS="$lt_save_ifs"
 
6168
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
6169
-  ;;
 
6170
-esac])
 
6171
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
6172
-if test -n "$MAGIC_CMD"; then
 
6173
-  AC_MSG_RESULT($MAGIC_CMD)
 
6174
-else
 
6175
-  AC_MSG_RESULT(no)
 
6176
-fi
 
6177
-_LT_DECL([], [MAGIC_CMD], [0],
 
6178
-        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 
6179
-])# _LT_PATH_TOOL_PREFIX
 
6180
-
 
6181
-# Old name:
 
6182
-AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 
6183
-dnl aclocal-1.4 backwards compatibility:
 
6184
-dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 
6185
-
 
6186
-
 
6187
-# _LT_PATH_MAGIC
 
6188
-# --------------
 
6189
-# find a file program which can recognize a shared library
 
6190
-m4_defun([_LT_PATH_MAGIC],
 
6191
-[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
6192
-if test -z "$lt_cv_path_MAGIC_CMD"; then
 
6193
-  if test -n "$ac_tool_prefix"; then
 
6194
-    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
6195
-  else
 
6196
-    MAGIC_CMD=:
 
6197
-  fi
 
6198
-fi
 
6199
-])# _LT_PATH_MAGIC
 
6200
-
 
6201
-
 
6202
-# LT_PATH_LD
 
6203
-# ----------
 
6204
-# find the pathname to the GNU or non-GNU linker
 
6205
-AC_DEFUN([LT_PATH_LD],
 
6206
-[AC_REQUIRE([AC_PROG_CC])dnl
 
6207
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
6208
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
6209
-m4_require([_LT_DECL_SED])dnl
 
6210
-m4_require([_LT_DECL_EGREP])dnl
 
6211
-
 
6212
-AC_ARG_WITH([gnu-ld],
 
6213
-    [AS_HELP_STRING([--with-gnu-ld],
 
6214
-       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
6215
-    [test "$withval" = no || with_gnu_ld=yes],
 
6216
-    [with_gnu_ld=no])dnl
 
6217
-
 
6218
-ac_prog=ld
 
6219
-if test "$GCC" = yes; then
 
6220
-  # Check if gcc -print-prog-name=ld gives a path.
 
6221
-  AC_MSG_CHECKING([for ld used by $CC])
 
6222
-  case $host in
 
6223
-  *-*-mingw*)
 
6224
-    # gcc leaves a trailing carriage return which upsets mingw
 
6225
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6226
-  *)
 
6227
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6228
-  esac
 
6229
-  case $ac_prog in
 
6230
-    # Accept absolute paths.
 
6231
-    [[\\/]]* | ?:[[\\/]]*)
 
6232
-      re_direlt='/[[^/]][[^/]]*/\.\./'
 
6233
-      # Canonicalize the pathname of ld
 
6234
-      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6235
-      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6236
-       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6237
-      done
 
6238
-      test -z "$LD" && LD="$ac_prog"
 
6239
-      ;;
 
6240
-  "")
 
6241
-    # If it fails, then pretend we aren't using GCC.
 
6242
-    ac_prog=ld
 
6243
-    ;;
 
6244
-  *)
 
6245
-    # If it is relative, then search for the first ld in PATH.
 
6246
-    with_gnu_ld=unknown
 
6247
-    ;;
 
6248
-  esac
 
6249
-elif test "$with_gnu_ld" = yes; then
 
6250
-  AC_MSG_CHECKING([for GNU ld])
 
6251
-else
 
6252
-  AC_MSG_CHECKING([for non-GNU ld])
 
6253
-fi
 
6254
-AC_CACHE_VAL(lt_cv_path_LD,
 
6255
-[if test -z "$LD"; then
 
6256
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6257
-  for ac_dir in $PATH; do
 
6258
-    IFS="$lt_save_ifs"
 
6259
-    test -z "$ac_dir" && ac_dir=.
 
6260
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6261
-      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6262
-      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6263
-      # but apparently some variants of GNU ld only accept -v.
 
6264
-      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6265
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6266
-      *GNU* | *'with BFD'*)
 
6267
-       test "$with_gnu_ld" != no && break
 
6268
-       ;;
 
6269
-      *)
 
6270
-       test "$with_gnu_ld" != yes && break
 
6271
-       ;;
 
6272
-      esac
 
6273
-    fi
 
6274
-  done
 
6275
-  IFS="$lt_save_ifs"
 
6276
-else
 
6277
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6278
-fi])
 
6279
-LD="$lt_cv_path_LD"
 
6280
-if test -n "$LD"; then
 
6281
-  AC_MSG_RESULT($LD)
 
6282
-else
 
6283
-  AC_MSG_RESULT(no)
 
6284
-fi
 
6285
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
6286
-_LT_PATH_LD_GNU
 
6287
-AC_SUBST([LD])
 
6288
-
 
6289
-_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 
6290
-])# LT_PATH_LD
 
6291
-
 
6292
-# Old names:
 
6293
-AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 
6294
-AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 
6295
-dnl aclocal-1.4 backwards compatibility:
 
6296
-dnl AC_DEFUN([AM_PROG_LD], [])
 
6297
-dnl AC_DEFUN([AC_PROG_LD], [])
 
6298
-
 
6299
-
 
6300
-# _LT_PATH_LD_GNU
 
6301
-#- --------------
 
6302
-m4_defun([_LT_PATH_LD_GNU],
 
6303
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
6304
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6305
-case `$LD -v 2>&1 </dev/null` in
 
6306
-*GNU* | *'with BFD'*)
 
6307
-  lt_cv_prog_gnu_ld=yes
 
6308
-  ;;
 
6309
-*)
 
6310
-  lt_cv_prog_gnu_ld=no
 
6311
-  ;;
 
6312
-esac])
 
6313
-with_gnu_ld=$lt_cv_prog_gnu_ld
 
6314
-])# _LT_PATH_LD_GNU
 
6315
-
 
6316
-
 
6317
-# _LT_CMD_RELOAD
 
6318
-# --------------
 
6319
-# find reload flag for linker
 
6320
-#   -- PORTME Some linkers may need a different reload flag.
 
6321
-m4_defun([_LT_CMD_RELOAD],
 
6322
-[AC_CACHE_CHECK([for $LD option to reload object files],
 
6323
-  lt_cv_ld_reload_flag,
 
6324
-  [lt_cv_ld_reload_flag='-r'])
 
6325
-reload_flag=$lt_cv_ld_reload_flag
 
6326
-case $reload_flag in
 
6327
-"" | " "*) ;;
 
6328
-*) reload_flag=" $reload_flag" ;;
 
6329
-esac
 
6330
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6331
-case $host_os in
 
6332
-  darwin*)
 
6333
-    if test "$GCC" = yes; then
 
6334
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6335
-    else
 
6336
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6337
-    fi
 
6338
-    ;;
 
6339
-esac
 
6340
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
6341
-_LT_DECL([], [reload_cmds], [2])dnl
 
6342
-])# _LT_CMD_RELOAD
 
6343
-
 
6344
-
 
6345
-# _LT_CHECK_MAGIC_METHOD
 
6346
-# ----------------------
 
6347
-# how to check for library dependencies
 
6348
-#  -- PORTME fill in with the dynamic library characteristics
 
6349
-m4_defun([_LT_CHECK_MAGIC_METHOD],
 
6350
-[m4_require([_LT_DECL_EGREP])
 
6351
-m4_require([_LT_DECL_OBJDUMP])
 
6352
-AC_CACHE_CHECK([how to recognize dependent libraries],
 
6353
-lt_cv_deplibs_check_method,
 
6354
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
6355
-lt_cv_file_magic_test_file=
 
6356
-lt_cv_deplibs_check_method='unknown'
 
6357
-# Need to set the preceding variable on all platforms that support
 
6358
-# interlibrary dependencies.
 
6359
-# 'none' -- dependencies not supported.
 
6360
-# `unknown' -- same as none, but documents that we really don't know.
 
6361
-# 'pass_all' -- all dependencies passed with no checks.
 
6362
-# 'test_compile' -- check by making test program.
 
6363
-# 'file_magic [[regex]]' -- check by looking for files in library path
 
6364
-# which responds to the $file_magic_cmd with a given extended regex.
 
6365
-# If you have `file' or equivalent on your system and you're not sure
 
6366
-# whether `pass_all' will *always* work, you probably want this one.
 
6367
-
 
6368
-case $host_os in
 
6369
-aix[[4-9]]*)
 
6370
-  lt_cv_deplibs_check_method=pass_all
 
6371
-  ;;
 
6372
-
 
6373
-beos*)
 
6374
-  lt_cv_deplibs_check_method=pass_all
 
6375
-  ;;
 
6376
-
 
6377
-bsdi[[45]]*)
 
6378
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
6379
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
6380
-  lt_cv_file_magic_test_file=/shlib/libc.so
 
6381
-  ;;
 
6382
-
 
6383
-cygwin*)
 
6384
-  # func_win32_libid is a shell function defined in ltmain.sh
 
6385
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6386
-  lt_cv_file_magic_cmd='func_win32_libid'
 
6387
-  ;;
 
6388
-
 
6389
-mingw* | pw32*)
 
6390
-  # Base MSYS/MinGW do not provide the 'file' command needed by
 
6391
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6392
-  # unless we find 'file', for example because we are cross-compiling.
 
6393
-  if ( file / ) >/dev/null 2>&1; then
 
6394
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6395
-    lt_cv_file_magic_cmd='func_win32_libid'
 
6396
-  else
 
6397
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6398
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6399
-  fi
 
6400
-  ;;
 
6401
-
 
6402
-cegcc)
 
6403
-  # use the weaker test based on 'objdump'. See mingw*.
 
6404
-  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6405
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6406
-  ;;
 
6407
-
 
6408
-darwin* | rhapsody*)
 
6409
-  lt_cv_deplibs_check_method=pass_all
 
6410
-  ;;
 
6411
-
 
6412
-freebsd* | dragonfly*)
 
6413
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6414
-    case $host_cpu in
 
6415
-    i*86 )
 
6416
-      # Not sure whether the presence of OpenBSD here was a mistake.
 
6417
-      # Let's accept both of them until this is cleared up.
 
6418
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 
6419
-      lt_cv_file_magic_cmd=/usr/bin/file
 
6420
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
6421
-      ;;
 
6422
-    esac
 
6423
-  else
 
6424
-    lt_cv_deplibs_check_method=pass_all
 
6425
-  fi
 
6426
-  ;;
 
6427
-
 
6428
-gnu*)
 
6429
-  lt_cv_deplibs_check_method=pass_all
 
6430
-  ;;
 
6431
-
 
6432
-hpux10.20* | hpux11*)
 
6433
-  lt_cv_file_magic_cmd=/usr/bin/file
 
6434
-  case $host_cpu in
 
6435
-  ia64*)
 
6436
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
6437
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
6438
-    ;;
 
6439
-  hppa*64*)
 
6440
-    [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]']
 
6441
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
6442
-    ;;
 
6443
-  *)
 
6444
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
6445
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
6446
-    ;;
 
6447
-  esac
 
6448
-  ;;
 
6449
-
 
6450
-interix[[3-9]]*)
 
6451
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
6452
-  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 
6453
-  ;;
 
6454
-
 
6455
-irix5* | irix6* | nonstopux*)
 
6456
-  case $LD in
 
6457
-  *-32|*"-32 ") libmagic=32-bit;;
 
6458
-  *-n32|*"-n32 ") libmagic=N32;;
 
6459
-  *-64|*"-64 ") libmagic=64-bit;;
 
6460
-  *) libmagic=never-match;;
 
6461
-  esac
 
6462
-  lt_cv_deplibs_check_method=pass_all
 
6463
-  ;;
 
6464
-
 
6465
-# This must be Linux ELF.
 
6466
-linux* | k*bsd*-gnu)
 
6467
-  lt_cv_deplibs_check_method=pass_all
 
6468
-  ;;
 
6469
-
 
6470
-netbsd*)
 
6471
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6472
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
6473
-  else
 
6474
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
6475
-  fi
 
6476
-  ;;
 
6477
-
 
6478
-newos6*)
 
6479
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
6480
-  lt_cv_file_magic_cmd=/usr/bin/file
 
6481
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
6482
-  ;;
 
6483
-
 
6484
-*nto* | *qnx*)
 
6485
-  lt_cv_deplibs_check_method=pass_all
 
6486
-  ;;
 
6487
-
 
6488
-openbsd*)
 
6489
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6490
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 
6491
-  else
 
6492
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
6493
-  fi
 
6494
-  ;;
 
6495
-
 
6496
-osf3* | osf4* | osf5*)
 
6497
-  lt_cv_deplibs_check_method=pass_all
 
6498
-  ;;
 
6499
-
 
6500
-rdos*)
 
6501
-  lt_cv_deplibs_check_method=pass_all
 
6502
-  ;;
 
6503
-
 
6504
-solaris*)
 
6505
-  lt_cv_deplibs_check_method=pass_all
 
6506
-  ;;
 
6507
-
 
6508
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6509
-  lt_cv_deplibs_check_method=pass_all
 
6510
-  ;;
 
6511
-
 
6512
-sysv4 | sysv4.3*)
 
6513
-  case $host_vendor in
 
6514
-  motorola)
 
6515
-    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]]'
 
6516
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
6517
-    ;;
 
6518
-  ncr)
 
6519
-    lt_cv_deplibs_check_method=pass_all
 
6520
-    ;;
 
6521
-  sequent)
 
6522
-    lt_cv_file_magic_cmd='/bin/file'
 
6523
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
6524
-    ;;
 
6525
-  sni)
 
6526
-    lt_cv_file_magic_cmd='/bin/file'
 
6527
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
6528
-    lt_cv_file_magic_test_file=/lib/libc.so
 
6529
-    ;;
 
6530
-  siemens)
 
6531
-    lt_cv_deplibs_check_method=pass_all
 
6532
-    ;;
 
6533
-  pc)
 
6534
-    lt_cv_deplibs_check_method=pass_all
 
6535
-    ;;
 
6536
-  esac
 
6537
-  ;;
 
6538
-
 
6539
-tpf*)
 
6540
-  lt_cv_deplibs_check_method=pass_all
 
6541
-  ;;
 
6542
-esac
 
6543
-])
 
6544
-file_magic_cmd=$lt_cv_file_magic_cmd
 
6545
-deplibs_check_method=$lt_cv_deplibs_check_method
 
6546
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
6547
-
 
6548
-_LT_DECL([], [deplibs_check_method], [1],
 
6549
-    [Method to check whether dependent libraries are shared objects])
 
6550
-_LT_DECL([], [file_magic_cmd], [1],
 
6551
-    [Command to use when deplibs_check_method == "file_magic"])
 
6552
-])# _LT_CHECK_MAGIC_METHOD
 
6553
-
 
6554
-
 
6555
-# LT_PATH_NM
 
6556
-# ----------
 
6557
-# find the pathname to a BSD- or MS-compatible name lister
 
6558
-AC_DEFUN([LT_PATH_NM],
 
6559
-[AC_REQUIRE([AC_PROG_CC])dnl
 
6560
-AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 
6561
-[if test -n "$NM"; then
 
6562
-  # Let the user override the test.
 
6563
-  lt_cv_path_NM="$NM"
 
6564
-else
 
6565
-  lt_nm_to_check="${ac_tool_prefix}nm"
 
6566
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6567
-    lt_nm_to_check="$lt_nm_to_check nm"
 
6568
-  fi
 
6569
-  for lt_tmp_nm in $lt_nm_to_check; do
 
6570
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6571
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6572
-      IFS="$lt_save_ifs"
 
6573
-      test -z "$ac_dir" && ac_dir=.
 
6574
-      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6575
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6576
-       # Check to see if the nm accepts a BSD-compat flag.
 
6577
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6578
-       #   nm: unknown option "B" ignored
 
6579
-       # Tru64's nm complains that /dev/null is an invalid object file
 
6580
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6581
-       */dev/null* | *'Invalid file or object type'*)
 
6582
-         lt_cv_path_NM="$tmp_nm -B"
 
6583
-         break
 
6584
-         ;;
 
6585
-       *)
 
6586
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6587
-         */dev/null*)
 
6588
-           lt_cv_path_NM="$tmp_nm -p"
 
6589
-           break
 
6590
-           ;;
 
6591
-         *)
 
6592
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6593
-           continue # so that we can try to find one that supports BSD flags
 
6594
-           ;;
 
6595
-         esac
 
6596
-         ;;
 
6597
-       esac
 
6598
-      fi
 
6599
-    done
 
6600
-    IFS="$lt_save_ifs"
 
6601
-  done
 
6602
-  : ${lt_cv_path_NM=no}
 
6603
-fi])
 
6604
-if test "$lt_cv_path_NM" != "no"; then
 
6605
-  NM="$lt_cv_path_NM"
 
6606
-else
 
6607
-  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6608
-  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
6609
-  AC_SUBST([DUMPBIN])
 
6610
-  if test "$DUMPBIN" != ":"; then
 
6611
-    NM="$DUMPBIN"
 
6612
-  fi
 
6613
-fi
 
6614
-test -z "$NM" && NM=nm
 
6615
-AC_SUBST([NM])
 
6616
-_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 
6617
-
 
6618
-AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
 
6619
-  [lt_cv_nm_interface="BSD nm"
 
6620
-  echo "int some_variable = 0;" > conftest.$ac_ext
 
6621
-  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
6622
-  (eval "$ac_compile" 2>conftest.err)
 
6623
-  cat conftest.err >&AS_MESSAGE_LOG_FD
 
6624
-  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
6625
-  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6626
-  cat conftest.err >&AS_MESSAGE_LOG_FD
 
6627
-  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
6628
-  cat conftest.out >&AS_MESSAGE_LOG_FD
 
6629
-  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6630
-    lt_cv_nm_interface="MS dumpbin"
 
6631
-  fi
 
6632
-  rm -f conftest*])
 
6633
-])# LT_PATH_NM
 
6634
-
 
6635
-# Old names:
 
6636
-AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
 
6637
-AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
 
6638
-dnl aclocal-1.4 backwards compatibility:
 
6639
-dnl AC_DEFUN([AM_PROG_NM], [])
 
6640
-dnl AC_DEFUN([AC_PROG_NM], [])
 
6641
-
 
6642
-
 
6643
-# LT_LIB_M
 
6644
-# --------
 
6645
-# check for math library
 
6646
-AC_DEFUN([LT_LIB_M],
 
6647
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
6648
-LIBM=
 
6649
-case $host in
 
6650
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
6651
-  # These system don't have libm, or don't need it
 
6652
-  ;;
 
6653
-*-ncr-sysv4.3*)
 
6654
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
6655
-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
6656
-  ;;
 
6657
-*)
 
6658
-  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
6659
-  ;;
 
6660
-esac
 
6661
-AC_SUBST([LIBM])
 
6662
-])# LT_LIB_M
 
6663
-
 
6664
-# Old name:
 
6665
-AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
 
6666
-dnl aclocal-1.4 backwards compatibility:
 
6667
-dnl AC_DEFUN([AC_CHECK_LIBM], [])
 
6668
-
 
6669
-
 
6670
-# _LT_COMPILER_NO_RTTI([TAGNAME])
 
6671
-# -------------------------------
 
6672
-m4_defun([_LT_COMPILER_NO_RTTI],
 
6673
-[m4_require([_LT_TAG_COMPILER])dnl
 
6674
-
 
6675
-_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
6676
-
 
6677
-if test "$GCC" = yes; then
 
6678
-  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
6679
-
 
6680
-  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4794
6681
-    lt_cv_prog_compiler_rtti_exceptions,
4795
6682
-    [-fno-rtti -fno-exceptions], [],
4796
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
6683
-    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4797
6684
-fi
4798
 
-])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
4799
 
+    aix[[4-9]]*)
4800
 
+      if test "$host_cpu" = ia64; then
4801
 
+       # On IA64, the linker does run time linking by default, so we don't
4802
 
+       # have to do anything special.
4803
 
+       aix_use_runtimelinking=no
4804
 
+       exp_sym_flag='-Bexport'
4805
 
+       no_entry_flag=""
4806
 
+      else
4807
 
+       # If we're using GNU nm, then we don't want the "-C" option.
4808
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
4809
 
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
4810
 
+         _LT_AC_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'
4811
 
+       else
4812
 
+         _LT_AC_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'
4813
 
+       fi
4814
 
+       aix_use_runtimelinking=no
4815
 
 
4816
 
+       # Test if we are trying to use run time linking or normal
4817
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4818
 
+       # need to do runtime linking.
4819
 
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
4820
 
+         for ld_flag in $LDFLAGS; do
4821
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
4822
 
+           aix_use_runtimelinking=yes
4823
 
+           break
4824
 
+         fi
4825
 
+         done
4826
 
+         ;;
4827
 
+       esac
4828
 
 
4829
 
-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4830
 
-# ---------------------------------
4831
 
-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4832
 
-[AC_REQUIRE([AC_CANONICAL_HOST])
4833
 
-AC_REQUIRE([LT_AC_PROG_SED])
4834
 
-AC_REQUIRE([AC_PROG_NM])
4835
 
-AC_REQUIRE([AC_OBJEXT])
 
6685
-_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 
6686
-       [Compiler flag to turn off builtin functions])
 
6687
-])# _LT_COMPILER_NO_RTTI
 
6688
-
 
6689
-
 
6690
-# _LT_CMD_GLOBAL_SYMBOLS
 
6691
-# ----------------------
 
6692
-m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 
6693
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
6694
-AC_REQUIRE([AC_PROG_CC])dnl
 
6695
-AC_REQUIRE([LT_PATH_NM])dnl
 
6696
-AC_REQUIRE([LT_PATH_LD])dnl
 
6697
-m4_require([_LT_DECL_SED])dnl
 
6698
-m4_require([_LT_DECL_EGREP])dnl
 
6699
-m4_require([_LT_TAG_COMPILER])dnl
 
6700
-
4836
6701
-# Check for command to grab the raw symbol name followed by C symbol from nm.
4837
6702
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4838
6703
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4839
6704
-[
4840
6705
-# These are sane defaults that work on at least a few old systems.
4841
6706
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
4842
 
+       exp_sym_flag='-bexport'
4843
 
+       no_entry_flag='-bnoentry'
4844
 
+      fi
4845
 
 
 
6707
-
4846
6708
-# Character class describing NM global symbol codes.
4847
6709
-symcode='[[BCDEGRST]]'
4848
 
+      # When large executables or shared objects are built, AIX ld can
4849
 
+      # have problems creating the table of contents.  If linking a library
4850
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
4851
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
4852
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4853
 
 
 
6710
-
4854
6711
-# Regexp to match symbols that can be accessed directly from C.
4855
6712
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4856
 
+      _LT_AC_TAGVAR(archive_cmds, $1)=''
4857
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4858
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4859
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4860
 
 
4861
 
-# Transform an extracted symbol line into a proper C declaration
4862
 
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4863
 
+      if test "$GCC" = yes; then
4864
 
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
4865
 
+       # We only want to do this on AIX 4.2 and lower, the check
4866
 
+       # below for broken collect2 doesn't work under 4.3+
4867
 
+         collect2name=`${CC} -print-prog-name=collect2`
4868
 
+         if test -f "$collect2name" && \
4869
 
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
4870
 
+         then
4871
 
+         # We have reworked collect2
4872
 
+         :
4873
 
+         else
4874
 
+         # We have old collect2
4875
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4876
 
+         # It fails to find uninstalled libraries when the uninstalled
4877
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
4878
 
+         # to unsupported forces relinking
4879
 
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4880
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4881
 
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4882
 
+         fi
4883
 
+         ;;
4884
 
+       esac
4885
 
+       shared_flag='-shared'
4886
 
+       if test "$aix_use_runtimelinking" = yes; then
4887
 
+         shared_flag="$shared_flag "'${wl}-G'
4888
 
+       fi
4889
 
+      else
4890
 
+       # not using gcc
4891
 
+       if test "$host_cpu" = ia64; then
4892
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4893
 
+       # chokes on -Wl,-G. The following line is correct:
4894
 
+         shared_flag='-G'
4895
 
+       else
4896
 
+         if test "$aix_use_runtimelinking" = yes; then
4897
 
+           shared_flag='${wl}-G'
4898
 
+         else
4899
 
+           shared_flag='${wl}-bM:SRE'
4900
 
+         fi
4901
 
+       fi
4902
 
+      fi
4903
 
 
4904
 
-# Transform an extracted symbol line into symbol name and symbol address
4905
 
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4906
 
+      # It seems that -bexpall does not export symbols beginning with
4907
 
+      # underscore (_), so it is better to generate a list of symbols to export.
4908
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4909
 
+      if test "$aix_use_runtimelinking" = yes; then
4910
 
+       # Warning - without using the other runtime loading flags (-brtl),
4911
 
+       # -berok will link without error, but may produce a broken library.
4912
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4913
 
+       # Determine the default libpath from the value encoded in an empty executable.
4914
 
+       _LT_AC_SYS_LIBPATH_AIX
4915
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4916
 
+       _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
4917
 
+       else
4918
 
+       if test "$host_cpu" = ia64; then
4919
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4920
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4921
 
+         _LT_AC_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"
4922
 
+       else
4923
 
+        # Determine the default libpath from the value encoded in an empty executable.
4924
 
+        _LT_AC_SYS_LIBPATH_AIX
4925
 
+        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4926
 
+         # Warning - without using the other run time loading flags,
4927
 
+         # -berok will link without error, but may produce a broken library.
4928
 
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4929
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4930
 
+         # Exported symbols can be pulled into shared objects from archives
4931
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4932
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4933
 
+         # This is similar to how AIX traditionally builds its shared libraries.
4934
 
+         _LT_AC_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'
4935
 
+       fi
4936
 
+      fi
4937
 
+      ;;
4938
 
 
 
6713
-
4939
6714
-# Define system-specific variables.
4940
6715
-case $host_os in
4941
6716
-aix*)
4942
6717
-  symcode='[[BCDT]]'
4943
6718
-  ;;
4944
 
-cygwin* | mingw* | pw32*)
 
6719
-cygwin* | mingw* | pw32* | cegcc*)
4945
6720
-  symcode='[[ABCDGISTW]]'
4946
6721
-  ;;
4947
 
-hpux*) # Its linker distinguishes data from code symbols
 
6722
-hpux*)
4948
6723
-  if test "$host_cpu" = ia64; then
4949
6724
-    symcode='[[ABCDEGRST]]'
4950
6725
-  fi
4951
 
-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4952
 
-  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4953
 
-  ;;
4954
 
-linux* | k*bsd*-gnu)
4955
 
-  if test "$host_cpu" = ia64; then
4956
 
-    symcode='[[ABCDGIRSTW]]'
4957
 
-    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4958
 
-    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4959
 
-  fi
4960
6726
-  ;;
4961
6727
-irix* | nonstopux*)
4962
6728
-  symcode='[[BCDEGRST]]'
4980
6746
-  symcode='[[DFNSTU]]'
4981
6747
-  ;;
4982
6748
-esac
4983
 
+    amigaos*)
4984
 
+      _LT_AC_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)'
4985
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4986
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4987
 
+      # see comment about different semantics on the GNU ld section
4988
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
4989
 
+      ;;
4990
 
 
 
6749
-
 
6750
-# If we're using GNU nm, then use its standard symbol codes.
 
6751
-case `$NM -V 2>&1` in
 
6752
-*GNU* | *'with BFD'*)
 
6753
-  symcode='[[ABCDGIRSTW]]' ;;
 
6754
-esac
 
6755
-
 
6756
-# Transform an extracted symbol line into a proper C declaration.
 
6757
-# Some systems (esp. on ia64) link data and code symbols differently,
 
6758
-# so use this general approach.
 
6759
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6760
-
 
6761
-# Transform an extracted symbol line into symbol name and symbol address
 
6762
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6763
-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'"
 
6764
-
4991
6765
-# Handle CRLF in mingw tool chain
4992
6766
-opt_cr=
4993
6767
-case $build_os in
4994
6768
-mingw*)
4995
 
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6769
-  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4996
6770
-  ;;
4997
6771
-esac
4998
 
+    bsdi[[45]]*)
4999
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5000
 
+      ;;
5001
 
 
5002
 
-# If we're using GNU nm, then use its standard symbol codes.
5003
 
-case `$NM -V 2>&1` in
5004
 
-*GNU* | *'with BFD'*)
5005
 
-  symcode='[[ABCDGIRSTW]]' ;;
5006
 
-esac
5007
 
+    cygwin* | mingw* | pw32*)
5008
 
+      # When not using gcc, we currently assume that we are using
5009
 
+      # Microsoft Visual C++.
5010
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
5011
 
+      # no search path for DLLs.
5012
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5013
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5014
 
+      # Tell ltmain to make .lib files, not .a files.
5015
 
+      libext=lib
5016
 
+      # Tell ltmain to make .dll files, not .so files.
5017
 
+      shrext_cmds=".dll"
5018
 
+      # FIXME: Setting linknames here is a bad hack.
5019
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5020
 
+      # The linker will automatically build a .lib file if we build a DLL.
5021
 
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
5022
 
+      # FIXME: Should let the user specify the lib program.
5023
 
+      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5024
 
+      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
5025
 
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5026
 
+      ;;
5027
 
 
5028
 
-# Try without a prefix undercore, then with it.
 
6772
-
 
6773
-# Try without a prefix underscore, then with it.
5029
6774
-for ac_symprfx in "" "_"; do
5030
 
+    darwin* | rhapsody*)
5031
 
+      case $host_os in
5032
 
+        rhapsody* | darwin1.[[012]])
5033
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
5034
 
+         ;;
5035
 
+       *) # Darwin 1.3 on
5036
 
+         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5037
 
+           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5038
 
+         else
5039
 
+           case ${MACOSX_DEPLOYMENT_TARGET} in
5040
 
+             10.[[012]])
5041
 
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5042
 
+               ;;
5043
 
+             10.*)
5044
 
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
5045
 
+               ;;
5046
 
+           esac
5047
 
+         fi
5048
 
+         ;;
5049
 
+      esac
5050
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5051
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
5052
 
+      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5053
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5054
 
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
5055
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5056
 
+    if test "$GCC" = yes ; then
5057
 
+       output_verbose_link_cmd='echo'
5058
 
+        _LT_AC_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}"
5059
 
+        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
5060
 
+        _LT_AC_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}"
5061
 
+        _LT_AC_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}"
5062
 
+    else
5063
 
+      case $cc_basename in
5064
 
+        xlc*)
5065
 
+         output_verbose_link_cmd='echo'
5066
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
5067
 
+         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5068
 
+          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5069
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5070
 
+          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5071
 
+          ;;
5072
 
+       *)
5073
 
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
5074
 
+          ;;
5075
 
+      esac
5076
 
+    fi
5077
 
+      ;;
5078
 
+
5079
 
+    dgux*)
5080
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5081
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5082
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5083
 
+      ;;
5084
 
 
 
6775
-
5085
6776
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5086
6777
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
5087
 
+    freebsd1*)
5088
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
5089
 
+      ;;
5090
 
 
 
6778
-
5091
6779
-  # Write the raw and C identifiers.
5092
 
-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5093
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5094
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
5095
 
+    # does not break anything, and helps significantly (at the cost of a little
5096
 
+    # extra space).
5097
 
+    freebsd2.2*)
5098
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5099
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5100
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5101
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5102
 
+      ;;
5103
 
 
 
6780
-  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6781
-    # Fake it for dumpbin and say T for any non-static function
 
6782
-    # and D for any global variable.
 
6783
-    # Also find C++ and __fastcall symbols from MSVC++,
 
6784
-    # which start with @ or ?.
 
6785
-    lt_cv_sys_global_symbol_pipe="$AWK ['"\
 
6786
-"     {last_section=section; section=\$ 3};"\
 
6787
-"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6788
-"     \$ 0!~/External *\|/{next};"\
 
6789
-"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6790
-"     {if(hide[section]) next};"\
 
6791
-"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6792
-"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6793
-"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6794
-"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6795
-"     ' prfx=^$ac_symprfx]"
 
6796
-  else
 
6797
-    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6798
-  fi
 
6799
-
5104
6800
-  # Check to see that the pipe works correctly.
5105
6801
-  pipe_works=no
5106
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5107
 
+    freebsd2*)
5108
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5109
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5110
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5111
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5112
 
+      ;;
5113
 
 
 
6802
-
5114
6803
-  rm -f conftest*
5115
 
-  cat > conftest.$ac_ext <<EOF
 
6804
-  cat > conftest.$ac_ext <<_LT_EOF
5116
6805
-#ifdef __cplusplus
5117
6806
-extern "C" {
5118
6807
-#endif
5119
6808
-char nm_test_var;
5120
 
-void nm_test_func(){}
 
6809
-void nm_test_func(void);
 
6810
-void nm_test_func(void){}
5121
6811
-#ifdef __cplusplus
5122
6812
-}
5123
6813
-#endif
5124
6814
-int main(){nm_test_var='a';nm_test_func();return(0);}
5125
 
-EOF
5126
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5127
 
+    freebsd* | dragonfly*)
5128
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5129
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5130
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5131
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5132
 
+      ;;
5133
 
 
 
6815
-_LT_EOF
 
6816
-
5134
6817
-  if AC_TRY_EVAL(ac_compile); then
5135
6818
-    # Now try to grab the symbols.
5136
6819
-    nlist=conftest.nm
5138
6821
-      # Try sorting and uniquifying the output.
5139
6822
-      if sort "$nlist" | uniq > "$nlist"T; then
5140
6823
-       mv -f "$nlist"T "$nlist"
5141
 
+    hpux9*)
5142
 
+      if test "$GCC" = yes; then
5143
 
+       _LT_AC_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'
5144
 
       else
 
6824
-      else
5145
6825
-       rm -f "$nlist"T
5146
 
+       _LT_AC_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'
5147
 
       fi
5148
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5149
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5150
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5151
 
 
 
6826
-      fi
 
6827
-
5152
6828
-      # Make sure that we snagged all the symbols we need.
5153
 
-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
5154
 
-       if grep ' nm_test_func$' "$nlist" >/dev/null; then
5155
 
-         cat <<EOF > conftest.$ac_ext
 
6829
-      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6830
-       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6831
-         cat <<_LT_EOF > conftest.$ac_ext
5156
6832
-#ifdef __cplusplus
5157
6833
-extern "C" {
5158
6834
-#endif
5159
6835
-
5160
 
-EOF
 
6836
-_LT_EOF
5161
6837
-         # Now generate the symbol file.
5162
 
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5163
 
-
5164
 
-         cat <<EOF >> conftest.$ac_ext
5165
 
-#if defined (__STDC__) && __STDC__
5166
 
-# define lt_ptr_t void *
5167
 
-#else
5168
 
-# define lt_ptr_t char *
5169
 
-# define const
5170
 
-#endif
5171
 
-
5172
 
-/* The mapping between symbol names and symbols. */
 
6838
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6839
-
 
6840
-         cat <<_LT_EOF >> conftest.$ac_ext
 
6841
-
 
6842
-/* The mapping between symbol names and symbols.  */
5173
6843
-const struct {
5174
6844
-  const char *name;
5175
 
-  lt_ptr_t address;
 
6845
-  void       *address;
5176
6846
-}
5177
 
-lt_preloaded_symbols[[]] =
 
6847
-lt__PROGRAM__LTX_preloaded_symbols[[]] =
5178
6848
-{
5179
 
-EOF
5180
 
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5181
 
-         cat <<\EOF >> conftest.$ac_ext
5182
 
-  {0, (lt_ptr_t) 0}
 
6849
-  { "@PROGRAM@", (void *) 0 },
 
6850
-_LT_EOF
 
6851
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6852
-         cat <<\_LT_EOF >> conftest.$ac_ext
 
6853
-  {0, (void *) 0}
5183
6854
-};
5184
 
+      # hardcode_minus_L: Not really in the search PATH,
5185
 
+      # but as the default location of the library.
5186
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5187
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5188
 
+      ;;
5189
 
 
 
6855
-
 
6856
-/* This works around a problem in FreeBSD linker */
 
6857
-#ifdef FREEBSD_WORKAROUND
 
6858
-static const void *lt_preloaded_setup() {
 
6859
-  return lt__PROGRAM__LTX_preloaded_symbols;
 
6860
-}
 
6861
-#endif
 
6862
-
5190
6863
-#ifdef __cplusplus
5191
6864
-}
5192
6865
-#endif
5193
 
-EOF
 
6866
-_LT_EOF
5194
6867
-         # Now try linking the two files.
5195
6868
-         mv conftest.$ac_objext conftstm.$ac_objext
5196
6869
-         lt_save_LIBS="$LIBS"
5197
6870
-         lt_save_CFLAGS="$CFLAGS"
5198
6871
-         LIBS="conftstm.$ac_objext"
5199
 
-         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 
6872
-         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
5200
6873
-         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
5201
6874
-           pipe_works=yes
5202
6875
-         fi
5205
6878
-       else
5206
6879
-         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
5207
6880
-       fi
5208
 
+    hpux10*)
5209
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5210
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5211
 
       else
 
6881
-      else
5212
6882
-       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
5213
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5214
 
       fi
 
6883
-      fi
5215
6884
-    else
5216
6885
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
5217
6886
-    fi
5220
6889
-    cat conftest.$ac_ext >&5
5221
6890
-  fi
5222
6891
-  rm -rf conftest* conftst*
5223
 
+      if test "$with_gnu_ld" = no; then
5224
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5225
 
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5226
 
 
 
6892
-
5227
6893
-  # Do not use the global_symbol_pipe unless it works.
5228
6894
-  if test "$pipe_works" = yes; then
5229
6895
-    break
5240
6906
-else
5241
6907
-  AC_MSG_RESULT(ok)
5242
6908
-fi
5243
 
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5244
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5245
 
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5246
 
 
5247
 
+       # hardcode_minus_L: Not really in the search PATH,
5248
 
+       # but as the default location of the library.
5249
 
+       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5250
 
+      fi
5251
 
+      ;;
5252
 
 
5253
 
-# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
5254
 
-# ---------------------------------------
5255
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
5256
 
-[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
5257
 
-_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5258
 
-_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
5259
 
+    hpux11*)
5260
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5261
 
+       case $host_cpu in
5262
 
+       hppa*64*)
5263
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5264
 
+         ;;
5265
 
+       ia64*)
5266
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5267
 
+         ;;
5268
 
+       *)
5269
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5270
 
+         ;;
5271
 
+       esac
5272
 
+      else
5273
 
+       case $host_cpu in
5274
 
+       hppa*64*)
5275
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5276
 
+         ;;
5277
 
+       ia64*)
5278
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5279
 
+         ;;
5280
 
+       *)
5281
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5282
 
+         ;;
5283
 
+       esac
5284
 
+      fi
5285
 
+      if test "$with_gnu_ld" = no; then
5286
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5287
 
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5288
 
 
 
6909
-
 
6910
-_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
 
6911
-    [Take the output of nm and produce a listing of raw symbols and C names])
 
6912
-_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
 
6913
-    [Transform the output of nm in a proper C declaration])
 
6914
-_LT_DECL([global_symbol_to_c_name_address],
 
6915
-    [lt_cv_sys_global_symbol_to_c_name_address], [1],
 
6916
-    [Transform the output of nm in a C name address pair])
 
6917
-_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
 
6918
-    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
 
6919
-    [Transform the output of nm in a C name address pair when lib prefix is needed])
 
6920
-]) # _LT_CMD_GLOBAL_SYMBOLS
 
6921
-
 
6922
-
 
6923
-# _LT_COMPILER_PIC([TAGNAME])
 
6924
-# ---------------------------
 
6925
-m4_defun([_LT_COMPILER_PIC],
 
6926
-[m4_require([_LT_TAG_COMPILER])dnl
 
6927
-_LT_TAGVAR(lt_prog_compiler_wl, $1)=
 
6928
-_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
6929
-_LT_TAGVAR(lt_prog_compiler_static, $1)=
 
6930
-
5289
6931
-AC_MSG_CHECKING([for $compiler option to produce PIC])
5290
 
- ifelse([$1],[CXX],[
 
6932
-m4_if([$1], [CXX], [
5291
6933
-  # C++ specific cases for pic, static, wl, etc.
5292
6934
-  if test "$GXX" = yes; then
5293
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5294
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5295
 
+       case $host_cpu in
5296
 
+       hppa*64*|ia64*)
5297
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5298
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
5299
 
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5300
 
+         ;;
5301
 
+       *)
5302
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5303
 
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5304
 
 
 
6935
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
6936
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
6937
-
5305
6938
-    case $host_os in
5306
6939
-    aix*)
5307
6940
-      # All AIX code is PIC.
5308
6941
-      if test "$host_cpu" = ia64; then
5309
6942
-       # AIX 5 now supports IA64 processor
5310
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5311
 
+         # hardcode_minus_L: Not really in the search PATH,
5312
 
+         # but as the default location of the library.
5313
 
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5314
 
+         ;;
5315
 
+       esac
5316
 
       fi
5317
 
       ;;
 
6943
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
6944
-      fi
 
6945
-      ;;
 
6946
-
5318
6947
-    amigaos*)
5319
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
5320
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
5321
 
-      # like `-m68040'.
5322
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
6948
-      case $host_cpu in
 
6949
-      powerpc)
 
6950
-            # see comment about AmigaOS4 .so support
 
6951
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
6952
-        ;;
 
6953
-      m68k)
 
6954
-            # FIXME: we need at least 68020 code to build shared libraries, but
 
6955
-            # adding the `-m68020' flag to GCC prevents building anything better,
 
6956
-            # like `-m68040'.
 
6957
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
6958
-        ;;
 
6959
-      esac
5323
6960
-      ;;
 
6961
-
5324
6962
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5325
6963
-      # PIC is the default for these OSes.
5326
6964
-      ;;
5327
 
-    mingw* | cygwin* | os2* | pw32*)
 
6965
-    mingw* | cygwin* | os2* | pw32* | cegcc*)
5328
6966
-      # This hack is so that the source file can tell whether it is being
5329
6967
-      # built for inclusion in a dll (and should export symbols for example).
5330
6968
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5331
6969
-      # (--disable-auto-import) libraries
5332
6970
-      m4_if([$1], [GCJ], [],
5333
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
6971
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5334
6972
-      ;;
5335
6973
-    darwin* | rhapsody*)
5336
6974
-      # PIC is the default on this platform
5337
6975
-      # Common symbols not allowed in MH_DYLIB files
5338
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
6976
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5339
6977
-      ;;
5340
6978
-    *djgpp*)
5341
6979
-      # DJGPP does not support shared libraries at all
5342
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
6980
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
5343
6981
-      ;;
5344
6982
-    interix[[3-9]]*)
5345
6983
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5347
6985
-      ;;
5348
6986
-    sysv4*MP*)
5349
6987
-      if test -d /usr/nec; then
5350
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5351
 
+
5352
 
+    irix5* | irix6* | nonstopux*)
5353
 
+      if test "$GCC" = yes; then
5354
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5355
 
+      else
5356
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5357
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
5358
 
       fi
5359
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5360
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5361
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5362
 
       ;;
 
6988
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
6989
-      fi
 
6990
-      ;;
5363
6991
-    hpux*)
5364
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5365
 
-      # not for PA HP-UX.
 
6992
-      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
6993
-      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
6994
-      # sets the default TLS model and affects inlining.
5366
6995
-      case $host_cpu in
5367
 
-      hppa*64*|ia64*)
 
6996
-      hppa*64*)
5368
6997
-       ;;
5369
6998
-      *)
5370
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
6999
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5371
7000
-       ;;
5372
7001
-      esac
5373
 
+
5374
 
+    netbsd* | netbsdelf*-gnu)
5375
 
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5376
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5377
 
+      else
5378
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
5379
 
+      fi
5380
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5381
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5382
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5383
 
       ;;
 
7002
-      ;;
 
7003
-    *qnx* | *nto*)
 
7004
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7005
-      # it will coredump.
 
7006
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
7007
-      ;;
5384
7008
-    *)
5385
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5386
 
+
5387
 
+    newsos6)
5388
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5389
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5390
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5391
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5392
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5393
 
       ;;
 
7009
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7010
-      ;;
5394
7011
-    esac
5395
7012
-  else
5396
7013
-    case $host_os in
5398
7015
-       # All AIX code is PIC.
5399
7016
-       if test "$host_cpu" = ia64; then
5400
7017
-         # AIX 5 now supports IA64 processor
5401
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5402
 
+
5403
 
+    openbsd*)
5404
 
+      if test -f /usr/libexec/ld.so; then
5405
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5406
 
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5407
 
+       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5408
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5409
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5410
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5411
 
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5412
 
        else
5413
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
7018
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7019
-       else
 
7020
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5414
7021
-       fi
5415
7022
-       ;;
5416
7023
-      chorus*)
5417
7024
-       case $cc_basename in
5418
7025
-       cxch68*)
5419
7026
-         # Green Hills C++ Compiler
5420
 
-         # _LT_AC_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"
 
7027
-         # _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"
5421
7028
-         ;;
5422
7029
-       esac
5423
7030
-       ;;
5424
 
-       darwin*)
5425
 
-         # PIC is the default on this platform
5426
 
-         # Common symbols not allowed in MH_DYLIB files
5427
 
-         case $cc_basename in
5428
 
-           xlc*)
5429
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5430
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5431
 
-           ;;
5432
 
-         esac
5433
 
-       ;;
5434
7031
-      dgux*)
5435
7032
-       case $cc_basename in
5436
7033
-         ec++*)
5437
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7034
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5438
7035
-           ;;
5439
7036
-         ghcx*)
5440
7037
-           # Green Hills C++ Compiler
5441
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
7038
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5442
7039
-           ;;
5443
7040
-         *)
5444
7041
-           ;;
5450
7047
-      hpux9* | hpux10* | hpux11*)
5451
7048
-       case $cc_basename in
5452
7049
-         CC*)
5453
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5454
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
7050
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7051
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5455
7052
-           if test "$host_cpu" != ia64; then
5456
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
7053
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5457
7054
-           fi
5458
7055
-           ;;
5459
7056
-         aCC*)
5460
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5461
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
7057
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7058
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5462
7059
-           case $host_cpu in
5463
7060
-           hppa*64*|ia64*)
5464
7061
-             # +Z the default
5465
7062
-             ;;
5466
7063
-           *)
5467
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
7064
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5468
7065
-             ;;
5469
7066
-           esac
5470
7067
-           ;;
5479
7076
-      irix5* | irix6* | nonstopux*)
5480
7077
-       case $cc_basename in
5481
7078
-         CC*)
5482
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5483
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7079
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7080
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5484
7081
-           # CC pic flag -KPIC is the default.
5485
7082
-           ;;
5486
7083
-         *)
5491
7088
-       case $cc_basename in
5492
7089
-         KCC*)
5493
7090
-           # KAI C++ Compiler
5494
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5495
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5496
 
-           ;;
5497
 
-         icpc* | ecpc*)
5498
 
-           # Intel C++
5499
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5500
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5501
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
7091
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
7092
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7093
-           ;;
 
7094
-         ecpc* )
 
7095
-           # old Intel C++ for x86_64 which still supported -KPIC.
 
7096
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7097
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7098
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
7099
-           ;;
 
7100
-         icpc* )
 
7101
-           # Intel C++, used to be incompatible with GCC.
 
7102
-           # ICC 10 doesn't accept -KPIC any more.
 
7103
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7104
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7105
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
5502
7106
-           ;;
5503
7107
-         pgCC* | pgcpp*)
5504
 
-           # Portland Group C++ compiler.
5505
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5506
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5507
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7108
-           # Portland Group C++ compiler
 
7109
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7110
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
7111
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5508
7112
-           ;;
5509
7113
-         cxx*)
5510
7114
-           # Compaq C++
5511
7115
-           # Make sure the PIC flag is empty.  It appears that all Alpha
5512
7116
-           # Linux and Compaq Tru64 Unix objects are PIC.
5513
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5514
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7117
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
7118
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7119
-           ;;
 
7120
-         xlc* | xlC*)
 
7121
-           # IBM XL 8.0 on PPC
 
7122
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7123
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 
7124
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
5515
7125
-           ;;
5516
7126
-         *)
5517
7127
-           case `$CC -V 2>&1 | sed 5q` in
5518
7128
-           *Sun\ C*)
5519
7129
-             # Sun C++ 5.9
5520
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5521
 
-             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5522
 
-             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
7130
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7131
-             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7132
-             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5523
7133
-             ;;
5524
7134
-           esac
5525
7135
-           ;;
5532
7142
-      mvs*)
5533
7143
-       case $cc_basename in
5534
7144
-         cxx*)
5535
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 
7145
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5536
7146
-           ;;
5537
7147
-         *)
5538
7148
-           ;;
5540
7150
-       ;;
5541
7151
-      netbsd*)
5542
7152
-       ;;
 
7153
-      *qnx* | *nto*)
 
7154
-        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7155
-        # it will coredump.
 
7156
-        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
7157
-        ;;
5543
7158
-      osf3* | osf4* | osf5*)
5544
7159
-       case $cc_basename in
5545
7160
-         KCC*)
5546
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
7161
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5547
7162
-           ;;
5548
7163
-         RCC*)
5549
7164
-           # Rational C++ 2.4.1
5550
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
7165
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5551
7166
-           ;;
5552
7167
-         cxx*)
5553
7168
-           # Digital/Compaq C++
5554
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7169
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5555
7170
-           # Make sure the PIC flag is empty.  It appears that all Alpha
5556
7171
-           # Linux and Compaq Tru64 Unix objects are PIC.
5557
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5558
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7172
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
7173
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5559
7174
-           ;;
5560
7175
-         *)
5561
7176
-           ;;
5567
7182
-       case $cc_basename in
5568
7183
-         CC*)
5569
7184
-           # Sun C++ 4.2, 5.x and Centerline C++
5570
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5571
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5572
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
7185
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7186
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7187
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5573
7188
-           ;;
5574
7189
-         gcx*)
5575
7190
-           # Green Hills C++ Compiler
5576
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
7191
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5577
7192
-           ;;
5578
7193
-         *)
5579
7194
-           ;;
5583
7198
-       case $cc_basename in
5584
7199
-         CC*)
5585
7200
-           # Sun C++ 4.x
5586
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5587
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7201
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
7202
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5588
7203
-           ;;
5589
7204
-         lcc*)
5590
7205
-           # Lucid
5591
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
7206
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5592
7207
-           ;;
5593
7208
-         *)
5594
7209
-           ;;
5595
7210
-       esac
5596
7211
-       ;;
 
7212
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7213
-       case $cc_basename in
 
7214
-         CC*)
 
7215
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7216
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7217
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7218
-           ;;
 
7219
-       esac
 
7220
-       ;;
5597
7221
-      tandem*)
5598
7222
-       case $cc_basename in
5599
7223
-         NCC*)
5600
7224
-           # NonStop-UX NCC 3.20
5601
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7225
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5602
7226
-           ;;
5603
7227
-         *)
5604
7228
-           ;;
5605
7229
-       esac
5606
7230
-       ;;
5607
 
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5608
 
-       case $cc_basename in
5609
 
-         CC*)
5610
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5611
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5612
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5613
 
-           ;;
5614
 
-       esac
5615
 
+         case $host_os in
5616
 
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5617
 
+            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5618
 
+            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5619
 
+            ;;
5620
 
+          *)
5621
 
+            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5622
 
+            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5623
 
+            ;;
5624
 
+         esac
5625
 
+        fi
5626
 
+      else
5627
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5628
 
+      fi
5629
 
+      ;;
5630
 
+
5631
 
+    os2*)
5632
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5633
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5634
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5635
 
+      _LT_AC_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'
5636
 
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5637
 
+      ;;
5638
 
+
5639
 
+    osf3*)
5640
 
+      if test "$GCC" = yes; then
5641
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5642
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5643
 
+      else
5644
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5645
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5646
 
+      fi
5647
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5648
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5649
 
+      ;;
5650
 
+
5651
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
5652
 
+      if test "$GCC" = yes; then
5653
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5654
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5655
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5656
 
+      else
5657
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5658
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5659
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
5660
 
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
5661
 
+
5662
 
+       # Both c and cxx compiler support -rpath directly
5663
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5664
 
+      fi
5665
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5666
 
+      ;;
5667
 
+
5668
 
+    solaris*)
5669
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
5670
 
+      if test "$GCC" = yes; then
5671
 
+       wlarc='${wl}'
5672
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5673
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5674
 
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
5675
 
+      else
5676
 
+       wlarc=''
5677
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5678
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5679
 
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5680
 
+      fi
5681
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5682
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5683
 
+      case $host_os in
5684
 
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5685
 
+      *)
5686
 
+       # The compiler driver will combine and reorder linker options,
5687
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
5688
 
+       # but is careful enough not to reorder.
5689
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
5690
 
+       if test "$GCC" = yes; then
5691
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5692
 
+       else
5693
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5694
 
+       fi
5695
 
        ;;
5696
7231
-      vxworks*)
5697
 
+      esac
5698
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5699
 
+      ;;
5700
 
+
5701
 
+    sunos4*)
5702
 
+      if test "x$host_vendor" = xsequent; then
5703
 
+       # Use $CC to link under sequent, because it throws in some extra .o
5704
 
+       # files that make .init and .fini sections work.
5705
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5706
 
+      else
5707
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5708
 
+      fi
5709
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5710
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5711
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5712
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5713
 
+      ;;
5714
 
+
5715
 
+    sysv4)
5716
 
+      case $host_vendor in
5717
 
+       sni)
5718
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5719
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5720
 
        ;;
 
7232
-       ;;
5721
7233
-      *)
5722
 
-       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5723
 
+       siemens)
5724
 
+         ## LD is ld it makes a PLAMLIB
5725
 
+         ## CC just makes a GrossModule.
5726
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5727
 
+         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5728
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
5729
 
+        ;;
5730
 
+       motorola)
5731
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5732
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5733
 
        ;;
 
7234
-       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
7235
-       ;;
5734
7236
-    esac
5735
7237
-  fi
5736
7238
-],
5737
7239
-[
5738
7240
-  if test "$GCC" = yes; then
5739
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5740
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5741
 
+      esac
5742
 
+      runpath_var='LD_RUN_PATH'
5743
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5744
 
+      ;;
5745
 
 
 
7241
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7242
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
7243
-
5746
7244
-    case $host_os in
5747
7245
-      aix*)
5748
7246
-      # All AIX code is PIC.
5749
7247
-      if test "$host_cpu" = ia64; then
5750
7248
-       # AIX 5 now supports IA64 processor
5751
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5752
 
+    sysv4.3*)
5753
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5754
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5755
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5756
 
+      ;;
5757
 
+
5758
 
+    sysv4*MP*)
5759
 
+      if test -d /usr/nec; then
5760
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5761
 
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5762
 
+       runpath_var=LD_RUN_PATH
5763
 
+       hardcode_runpath_var=yes
5764
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5765
 
       fi
5766
 
       ;;
5767
 
 
 
7249
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7250
-      fi
 
7251
-      ;;
 
7252
-
5768
7253
-    amigaos*)
5769
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
5770
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
5771
 
-      # like `-m68040'.
5772
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5773
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5774
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5775
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5776
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5777
 
+      runpath_var='LD_RUN_PATH'
5778
 
+
5779
 
+      if test "$GCC" = yes; then
5780
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5781
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5782
 
+      else
5783
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5784
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5785
 
+      fi
5786
 
       ;;
5787
 
 
 
7254
-      case $host_cpu in
 
7255
-      powerpc)
 
7256
-            # see comment about AmigaOS4 .so support
 
7257
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7258
-        ;;
 
7259
-      m68k)
 
7260
-            # FIXME: we need at least 68020 code to build shared libraries, but
 
7261
-            # adding the `-m68020' flag to GCC prevents building anything better,
 
7262
-            # like `-m68040'.
 
7263
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
7264
-        ;;
 
7265
-      esac
 
7266
-      ;;
 
7267
-
5788
7268
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5789
7269
-      # PIC is the default for these OSes.
5790
 
+    sysv5* | sco3.2v5* | sco5v6*)
5791
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
5792
 
+      # link with -lc, and that would cause any symbols used from libc to
5793
 
+      # always be unresolved, which means just about no library would
5794
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
5795
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
5796
 
+      # as -z defs.
5797
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5798
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
5799
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5800
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5801
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
5802
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5803
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5804
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
5805
 
+      runpath_var='LD_RUN_PATH'
5806
 
+
5807
 
+      if test "$GCC" = yes; then
5808
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5809
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5810
 
+      else
5811
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5812
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5813
 
+      fi
5814
 
       ;;
5815
 
 
5816
 
-    mingw* | cygwin* | pw32* | os2*)
 
7270
-      ;;
 
7271
-
 
7272
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
5817
7273
-      # This hack is so that the source file can tell whether it is being
5818
7274
-      # built for inclusion in a dll (and should export symbols for example).
5819
7275
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5820
7276
-      # (--disable-auto-import) libraries
5821
7277
-      m4_if([$1], [GCJ], [],
5822
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5823
 
+    uts4*)
5824
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5825
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5826
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5827
 
+      ;;
5828
 
+
5829
 
+    *)
5830
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
5831
 
+      ;;
5832
 
+    esac
5833
 
+  fi
5834
 
+])
5835
 
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5836
 
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5837
 
+
5838
 
+#
5839
 
+# Do we need to explicitly link libc?
5840
 
+#
5841
 
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
5842
 
+x|xyes)
5843
 
+  # Assume -lc should be added
5844
 
+  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5845
 
+
5846
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
5847
 
+    case $_LT_AC_TAGVAR(archive_cmds, $1) in
5848
 
+    *'~'*)
5849
 
+      # FIXME: we may have to deal with multi-command sequences.
5850
 
+      ;;
5851
 
+    '$CC '*)
5852
 
+      # Test whether the compiler implicitly links with -lc since on some
5853
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
5854
 
+      # to ld, don't add -lc before -lgcc.
5855
 
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5856
 
+      $rm conftest*
5857
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5858
 
+
5859
 
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5860
 
+        soname=conftest
5861
 
+        lib=conftest
5862
 
+        libobjs=conftest.$ac_objext
5863
 
+        deplibs=
5864
 
+        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
5865
 
+       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
5866
 
+        compiler_flags=-v
5867
 
+        linker_flags=-v
5868
 
+        verstring=
5869
 
+        output_objdir=.
5870
 
+        libname=conftest
5871
 
+        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
5872
 
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5873
 
+        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
5874
 
+        then
5875
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5876
 
+        else
5877
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5878
 
+        fi
5879
 
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5880
 
+      else
5881
 
+        cat conftest.err 1>&5
5882
 
+      fi
5883
 
+      $rm conftest*
5884
 
+      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
5885
 
       ;;
5886
 
+    esac
5887
 
+  fi
5888
 
+  ;;
5889
 
+esac
5890
 
+])# AC_LIBTOOL_PROG_LD_SHLIBS
5891
 
 
 
7278
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
7279
-      ;;
 
7280
-
5892
7281
-    darwin* | rhapsody*)
5893
7282
-      # PIC is the default on this platform
5894
7283
-      # Common symbols not allowed in MH_DYLIB files
5895
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5896
 
-      ;;
5897
 
 
 
7284
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
7285
-      ;;
 
7286
-
 
7287
-    hpux*)
 
7288
-      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7289
-      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7290
-      # sets the default TLS model and affects inlining.
 
7291
-      case $host_cpu in
 
7292
-      hppa*64*)
 
7293
-       # +Z the default
 
7294
-       ;;
 
7295
-      *)
 
7296
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7297
-       ;;
 
7298
-      esac
 
7299
-      ;;
 
7300
-
5898
7301
-    interix[[3-9]]*)
5899
7302
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5900
7303
-      # Instead, we relocate shared libraries at runtime.
5901
7304
-      ;;
5902
 
+# _LT_AC_FILE_LTDLL_C
5903
 
+# -------------------
5904
 
+# Be careful that the start marker always follows a newline.
5905
 
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
5906
 
+# /* ltdll.c starts here */
5907
 
+# #define WIN32_LEAN_AND_MEAN
5908
 
+# #include <windows.h>
5909
 
+# #undef WIN32_LEAN_AND_MEAN
5910
 
+# #include <stdio.h>
5911
 
+#
5912
 
+# #ifndef __CYGWIN__
5913
 
+# #  ifdef __CYGWIN32__
5914
 
+# #    define __CYGWIN__ __CYGWIN32__
5915
 
+# #  endif
5916
 
+# #endif
5917
 
+#
5918
 
+# #ifdef __cplusplus
5919
 
+# extern "C" {
5920
 
+# #endif
5921
 
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
5922
 
+# #ifdef __cplusplus
5923
 
+# }
5924
 
+# #endif
5925
 
+#
5926
 
+# #ifdef __CYGWIN__
5927
 
+# #include <cygwin/cygwin_dll.h>
5928
 
+# DECLARE_CYGWIN_DLL( DllMain );
5929
 
+# #endif
5930
 
+# HINSTANCE __hDllInstance_base;
5931
 
+#
5932
 
+# BOOL APIENTRY
5933
 
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
5934
 
+# {
5935
 
+#   __hDllInstance_base = hInst;
5936
 
+#   return TRUE;
5937
 
+# }
5938
 
+# /* ltdll.c ends here */
5939
 
+])# _LT_AC_FILE_LTDLL_C
5940
 
 
 
7305
-
5941
7306
-    msdosdjgpp*)
5942
7307
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
5943
7308
-      # on systems that don't support them.
5944
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
7309
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5945
7310
-      enable_shared=no
5946
7311
-      ;;
5947
 
 
 
7312
-
 
7313
-    *nto* | *qnx*)
 
7314
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7315
-      # it will coredump.
 
7316
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
7317
-      ;;
 
7318
-
5948
7319
-    sysv4*MP*)
5949
7320
-      if test -d /usr/nec; then
5950
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
7321
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5951
7322
-      fi
5952
7323
-      ;;
5953
 
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
5954
 
+# ---------------------------------
5955
 
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
5956
 
 
5957
 
-    hpux*)
5958
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5959
 
-      # not for PA HP-UX.
5960
 
-      case $host_cpu in
5961
 
-      hppa*64*|ia64*)
5962
 
-       # +Z the default
5963
 
-       ;;
5964
 
-      *)
5965
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5966
 
-       ;;
5967
 
-      esac
5968
 
-      ;;
5969
 
 
 
7324
-
5970
7325
-    *)
5971
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7326
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5972
7327
-      ;;
5973
7328
-    esac
5974
7329
-  else
5975
7330
-    # PORTME Check for flag to pass linker flags through the system compiler.
5976
7331
-    case $host_os in
5977
7332
-    aix*)
5978
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7333
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5979
7334
-      if test "$host_cpu" = ia64; then
5980
7335
-       # AIX 5 now supports IA64 processor
5981
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7336
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5982
7337
-      else
5983
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
7338
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5984
7339
-      fi
5985
7340
-      ;;
5986
 
-      darwin*)
5987
 
-        # PIC is the default on this platform
5988
 
-        # Common symbols not allowed in MH_DYLIB files
5989
 
-       case $cc_basename in
5990
 
-         xlc*)
5991
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5992
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5993
 
-         ;;
5994
 
-       esac
5995
 
-       ;;
5996
 
+# old names
5997
 
+AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
5998
 
+AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
5999
 
+AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
6000
 
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6001
 
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6002
 
+AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
6003
 
+AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
6004
 
 
6005
 
-    mingw* | cygwin* | pw32* | os2*)
 
7341
-
 
7342
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
6006
7343
-      # This hack is so that the source file can tell whether it is being
6007
7344
-      # built for inclusion in a dll (and should export symbols for example).
6008
7345
-      m4_if([$1], [GCJ], [],
6009
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
7346
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
6010
7347
-      ;;
6011
 
+# This is just to silence aclocal about the macro not being used
6012
 
+ifelse([AC_DISABLE_FAST_INSTALL])
6013
 
 
 
7348
-
6014
7349
-    hpux9* | hpux10* | hpux11*)
6015
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7350
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6016
7351
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6017
7352
-      # not for PA HP-UX.
6018
7353
-      case $host_cpu in
6020
7355
-       # +Z the default
6021
7356
-       ;;
6022
7357
-      *)
6023
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
7358
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6024
7359
-       ;;
6025
7360
-      esac
6026
7361
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
6027
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
7362
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6028
7363
-      ;;
6029
 
+AC_DEFUN([LT_AC_PROG_GCJ],
6030
 
+[AC_CHECK_TOOL(GCJ, gcj, no)
6031
 
+  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6032
 
+  AC_SUBST(GCJFLAGS)
6033
 
+])
6034
 
 
 
7364
-
6035
7365
-    irix5* | irix6* | nonstopux*)
6036
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7366
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6037
7367
-      # PIC (with -KPIC) is the default.
6038
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6039
 
-      ;;
6040
 
+AC_DEFUN([LT_AC_PROG_RC],
6041
 
+[AC_CHECK_TOOL(RC, windres, no)
6042
 
+])
6043
 
 
6044
 
-    newsos6)
6045
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6046
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6047
 
-      ;;
6048
 
 
 
7368
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7369
-      ;;
 
7370
-
6049
7371
-    linux* | k*bsd*-gnu)
6050
7372
-      case $cc_basename in
6051
 
-      icc* | ecc*)
6052
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6053
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6054
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6055
 
-        ;;
 
7373
-      # old Intel for x86_64 which still supported -KPIC.
 
7374
-      ecc*)
 
7375
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7376
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7377
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
7378
-        ;;
 
7379
-      # icc used to be incompatible with GCC.
 
7380
-      # ICC 10 doesn't accept -KPIC any more.
 
7381
-      icc* | ifort*)
 
7382
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7383
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
7384
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
7385
-        ;;
 
7386
-      # Lahey Fortran 8.1.
 
7387
-      lf95*)
 
7388
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7389
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
7390
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
7391
-       ;;
6056
7392
-      pgcc* | pgf77* | pgf90* | pgf95*)
6057
7393
-        # Portland Group compilers (*not* the Pentium gcc compiler,
6058
7394
-       # which looks to be a dead project)
6059
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6060
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6061
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7395
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7396
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
7397
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6062
7398
-        ;;
6063
7399
-      ccc*)
6064
 
-        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7400
-        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6065
7401
-        # All Alpha code is PIC.
6066
 
-        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7402
-        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6067
7403
-        ;;
 
7404
-      xl*)
 
7405
-       # IBM XL C 8.0/Fortran 10.1 on PPC
 
7406
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7407
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 
7408
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 
7409
-       ;;
6068
7410
-      *)
6069
 
-        case `$CC -V 2>&1 | sed 5q` in
 
7411
-       case `$CC -V 2>&1 | sed 5q` in
6070
7412
-       *Sun\ C*)
6071
7413
-         # Sun C 5.9
6072
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6073
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6074
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7414
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7415
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7416
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6075
7417
-         ;;
6076
7418
-       *Sun\ F*)
6077
7419
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
6078
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6079
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6080
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
 
7420
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7421
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7422
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
6081
7423
-         ;;
6082
7424
-       esac
6083
7425
-       ;;
6084
7426
-      esac
6085
7427
-      ;;
6086
 
+# Cheap backport of AS_EXECUTABLE_P and required macros
6087
 
+# from Autoconf 2.59; we should not use $as_executable_p directly.
6088
 
 
 
7428
-
 
7429
-    newsos6)
 
7430
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7431
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7432
-      ;;
 
7433
-
 
7434
-    *nto* | *qnx*)
 
7435
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7436
-      # it will coredump.
 
7437
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
7438
-      ;;
 
7439
-
6089
7440
-    osf3* | osf4* | osf5*)
6090
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7441
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6091
7442
-      # All OSF/1 code is PIC.
6092
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7443
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6093
7444
-      ;;
6094
 
+# _AS_TEST_PREPARE
6095
 
+# ----------------
6096
 
+m4_ifndef([_AS_TEST_PREPARE],
6097
 
+[m4_defun([_AS_TEST_PREPARE],
6098
 
+[if test -x / >/dev/null 2>&1; then
6099
 
+  as_executable_p='test -x'
6100
 
+else
6101
 
+  as_executable_p='test -f'
6102
 
+fi
6103
 
+])])# _AS_TEST_PREPARE
6104
 
 
 
7445
-
6105
7446
-    rdos*)
6106
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
7447
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6107
7448
-      ;;
6108
 
+# AS_EXECUTABLE_P
6109
 
+# ---------------
6110
 
+# Check whether a file is executable.
6111
 
+m4_ifndef([AS_EXECUTABLE_P],
6112
 
+[m4_defun([AS_EXECUTABLE_P],
6113
 
+[AS_REQUIRE([_AS_TEST_PREPARE])dnl
6114
 
+$as_executable_p $1[]dnl
6115
 
+])])# AS_EXECUTABLE_P
6116
 
 
 
7449
-
6117
7450
-    solaris*)
6118
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6119
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7451
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7452
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6120
7453
-      case $cc_basename in
6121
7454
-      f77* | f90* | f95*)
6122
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6123
 
-      *)
6124
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6125
 
-      esac
6126
 
-      ;;
6127
 
+# NOTE: This macro has been submitted for inclusion into   #
6128
 
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
6129
 
+#  a released version of Autoconf we should remove this    #
6130
 
+#  macro and use it instead.                               #
6131
 
+# LT_AC_PROG_SED
6132
 
+# --------------
6133
 
+# Check for a fully-functional sed program, that truncates
6134
 
+# as few characters as possible.  Prefer GNU sed if found.
6135
 
+AC_DEFUN([LT_AC_PROG_SED],
6136
 
+[AC_MSG_CHECKING([for a sed that does not truncate output])
6137
 
+AC_CACHE_VAL(lt_cv_path_SED,
6138
 
+[# Loop through the user's path and test for sed and gsed.
6139
 
+# Then use that list of sed's as ones to test for truncation.
6140
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141
 
+for as_dir in $PATH
6142
 
+do
6143
 
+  IFS=$as_save_IFS
6144
 
+  test -z "$as_dir" && as_dir=.
6145
 
+  for lt_ac_prog in sed gsed; do
6146
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6147
 
+      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6148
 
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6149
 
+      fi
6150
 
+    done
6151
 
+  done
6152
 
+done
6153
 
+IFS=$as_save_IFS
6154
 
+lt_ac_max=0
6155
 
+lt_ac_count=0
6156
 
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6157
 
+# along with /bin/sed that truncates output.
6158
 
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6159
 
+  test ! -f $lt_ac_sed && continue
6160
 
+  cat /dev/null > conftest.in
6161
 
+  lt_ac_count=0
6162
 
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6163
 
+  # Check for GNU sed and select it if it is found.
6164
 
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6165
 
+    lt_cv_path_SED=$lt_ac_sed
6166
 
+    break
6167
 
+  fi
6168
 
+  while true; do
6169
 
+    cat conftest.in conftest.in >conftest.tmp
6170
 
+    mv conftest.tmp conftest.in
6171
 
+    cp conftest.in conftest.nl
6172
 
+    echo >>conftest.nl
6173
 
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6174
 
+    cmp -s conftest.out conftest.nl || break
6175
 
+    # 10000 chars as input seems more than enough
6176
 
+    test $lt_ac_count -gt 10 && break
6177
 
+    lt_ac_count=`expr $lt_ac_count + 1`
6178
 
+    if test $lt_ac_count -gt $lt_ac_max; then
6179
 
+      lt_ac_max=$lt_ac_count
6180
 
+      lt_cv_path_SED=$lt_ac_sed
6181
 
+    fi
6182
 
+  done
6183
 
+done
6184
 
+])
6185
 
+SED=$lt_cv_path_SED
6186
 
+AC_SUBST([SED])
6187
 
+AC_MSG_RESULT([$SED])
6188
 
+])
6189
 
 
6190
 
-    sunos4*)
6191
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6192
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6193
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6194
 
-      ;;
 
7455
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
 
7456
-      *)
 
7457
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
 
7458
-      esac
 
7459
-      ;;
 
7460
-
 
7461
-    sunos4*)
 
7462
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
7463
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
7464
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7465
-      ;;
 
7466
-
 
7467
-    sysv4 | sysv4.2uw2* | sysv4.3*)
 
7468
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7469
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7470
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7471
-      ;;
 
7472
-
 
7473
-    sysv4*MP*)
 
7474
-      if test -d /usr/nec ;then
 
7475
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
 
7476
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7477
-      fi
 
7478
-      ;;
 
7479
-
 
7480
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7481
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7482
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
7483
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7484
-      ;;
 
7485
-
 
7486
-    unicos*)
 
7487
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
7488
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
7489
-      ;;
 
7490
-
 
7491
-    uts4*)
 
7492
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
7493
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
7494
-      ;;
 
7495
-
 
7496
-    *)
 
7497
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
7498
-      ;;
 
7499
-    esac
 
7500
-  fi
 
7501
-])
 
7502
-case $host_os in
 
7503
-  # For platforms which do not support PIC, -DPIC is meaningless:
 
7504
-  *djgpp*)
 
7505
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
7506
-    ;;
 
7507
-  *)
 
7508
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
 
7509
-    ;;
 
7510
-esac
 
7511
-AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
 
7512
-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
 
7513
-       [How to pass a linker flag through the compiler])
 
7514
-
 
7515
-#
 
7516
-# Check to make sure the PIC flag actually works.
 
7517
-#
 
7518
-if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
7519
-  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
 
7520
-    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
 
7521
-    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
 
7522
-    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
 
7523
-     "" | " "*) ;;
 
7524
-     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 
7525
-     esac],
 
7526
-    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
7527
-     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 
7528
-fi
 
7529
-_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
 
7530
-       [Additional compiler flags for building library objects])
 
7531
-
 
7532
-#
 
7533
-# Check to make sure the static flag actually works.
 
7534
-#
 
7535
-wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
 
7536
-_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
 
7537
-  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
 
7538
-  $lt_tmp_static_flag,
 
7539
-  [],
 
7540
-  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
 
7541
-_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
 
7542
-       [Compiler flag to prevent dynamic linking])
 
7543
-])# _LT_COMPILER_PIC
 
7544
-
 
7545
-
 
7546
-# _LT_LINKER_SHLIBS([TAGNAME])
 
7547
-# ----------------------------
 
7548
-# See if the linker supports building shared libraries.
 
7549
-m4_defun([_LT_LINKER_SHLIBS],
 
7550
-[AC_REQUIRE([LT_PATH_LD])dnl
 
7551
-AC_REQUIRE([LT_PATH_NM])dnl
 
7552
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
7553
-m4_require([_LT_DECL_EGREP])dnl
 
7554
-m4_require([_LT_DECL_SED])dnl
 
7555
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
7556
-m4_require([_LT_TAG_COMPILER])dnl
 
7557
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
7558
-m4_if([$1], [CXX], [
 
7559
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7560
-  case $host_os in
 
7561
-  aix[[4-9]]*)
 
7562
-    # If we're using GNU nm, then we don't want the "-C" option.
 
7563
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
7564
-    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
7565
-      _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'
 
7566
-    else
 
7567
-      _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'
 
7568
-    fi
 
7569
-    ;;
 
7570
-  pw32*)
 
7571
-    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 
7572
-  ;;
 
7573
-  cygwin* | mingw* | cegcc*)
 
7574
-    _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'
 
7575
-  ;;
 
7576
-  *)
 
7577
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7578
-  ;;
 
7579
-  esac
 
7580
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 
7581
-], [
 
7582
-  runpath_var=
 
7583
-  _LT_TAGVAR(allow_undefined_flag, $1)=
 
7584
-  _LT_TAGVAR(always_export_symbols, $1)=no
 
7585
-  _LT_TAGVAR(archive_cmds, $1)=
 
7586
-  _LT_TAGVAR(archive_expsym_cmds, $1)=
 
7587
-  _LT_TAGVAR(compiler_needs_object, $1)=no
 
7588
-  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
7589
-  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
7590
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7591
-  _LT_TAGVAR(hardcode_automatic, $1)=no
 
7592
-  _LT_TAGVAR(hardcode_direct, $1)=no
 
7593
-  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
7594
-  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
7595
-  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
7596
-  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
7597
-  _LT_TAGVAR(hardcode_minus_L, $1)=no
 
7598
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
7599
-  _LT_TAGVAR(inherit_rpath, $1)=no
 
7600
-  _LT_TAGVAR(link_all_deplibs, $1)=unknown
 
7601
-  _LT_TAGVAR(module_cmds, $1)=
 
7602
-  _LT_TAGVAR(module_expsym_cmds, $1)=
 
7603
-  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
 
7604
-  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
 
7605
-  _LT_TAGVAR(thread_safe_flag_spec, $1)=
 
7606
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
7607
-  # include_expsyms should be a list of space-separated symbols to be *always*
 
7608
-  # included in the symbol list
 
7609
-  _LT_TAGVAR(include_expsyms, $1)=
 
7610
-  # exclude_expsyms can be an extended regexp of symbols to exclude
 
7611
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
7612
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
7613
-  # as well as any symbol that contains `d'.
 
7614
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 
7615
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
7616
-  # platforms (ab)use it in PIC code, but their linkers get confused if
 
7617
-  # the symbol is explicitly referenced.  Since portable code cannot
 
7618
-  # rely on this symbol name, it's probably fine to never include it in
 
7619
-  # preloaded symbol tables.
 
7620
-  # Exclude shared library initialization/finalization symbols.
 
7621
-dnl Note also adjust exclude_expsyms for C++ above.
 
7622
-  extract_expsyms_cmds=
 
7623
-
 
7624
-  case $host_os in
 
7625
-  cygwin* | mingw* | pw32* | cegcc*)
 
7626
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
7627
-    # When not using gcc, we currently assume that we are using
 
7628
-    # Microsoft Visual C++.
 
7629
-    if test "$GCC" != yes; then
 
7630
-      with_gnu_ld=no
 
7631
-    fi
 
7632
-    ;;
 
7633
-  interix*)
 
7634
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7635
-    with_gnu_ld=yes
 
7636
-    ;;
 
7637
-  openbsd*)
 
7638
-    with_gnu_ld=no
 
7639
-    ;;
 
7640
-  esac
 
7641
-
 
7642
-  _LT_TAGVAR(ld_shlibs, $1)=yes
 
7643
-  if test "$with_gnu_ld" = yes; then
 
7644
-    # If archive_cmds runs LD, not CC, wlarc should be empty
 
7645
-    wlarc='${wl}'
 
7646
-
 
7647
-    # Set some defaults for GNU ld with shared library support. These
 
7648
-    # are reset later if shared libraries are not supported. Putting them
 
7649
-    # here allows them to be overridden if necessary.
 
7650
-    runpath_var=LD_RUN_PATH
 
7651
-    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
7652
-    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
7653
-    # ancient GNU ld didn't support --whole-archive et. al.
 
7654
-    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
7655
-      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
7656
-    else
 
7657
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
7658
-    fi
 
7659
-    supports_anon_versioning=no
 
7660
-    case `$LD -v 2>&1` in
 
7661
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
 
7662
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
7663
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
7664
-      *\ 2.11.*) ;; # other 2.11 versions
 
7665
-      *) supports_anon_versioning=yes ;;
 
7666
-    esac
 
7667
-
 
7668
-    # See if GNU ld supports shared libraries.
 
7669
-    case $host_os in
 
7670
-    aix[[3-9]]*)
 
7671
-      # On AIX/PPC, the GNU linker is very broken
 
7672
-      if test "$host_cpu" != ia64; then
 
7673
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
7674
-       cat <<_LT_EOF 1>&2
 
7675
-
 
7676
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
7677
-*** to be unable to reliably create shared libraries on AIX.
 
7678
-*** Therefore, libtool is disabling shared libraries support.  If you
 
7679
-*** really care for shared libraries, you may want to modify your PATH
 
7680
-*** so that a non-GNU linker is found, and then restart.
 
7681
-
 
7682
-_LT_EOF
 
7683
-      fi
 
7684
-      ;;
 
7685
-
 
7686
-    amigaos*)
 
7687
-      case $host_cpu in
 
7688
-      powerpc)
 
7689
-            # see comment about AmigaOS4 .so support
 
7690
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7691
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 
7692
-        ;;
 
7693
-      m68k)
 
7694
-            _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)'
 
7695
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
7696
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
7697
-        ;;
 
7698
-      esac
 
7699
-      ;;
 
7700
-
 
7701
-    beos*)
 
7702
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
7703
-       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
7704
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
7705
-       # support --undefined.  This deserves some investigation.  FIXME
 
7706
-       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7707
-      else
 
7708
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
7709
-      fi
 
7710
-      ;;
 
7711
-
 
7712
-    cygwin* | mingw* | pw32* | cegcc*)
 
7713
-      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
7714
-      # as there is no search path for DLLs.
 
7715
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
7716
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
7717
-      _LT_TAGVAR(always_export_symbols, $1)=no
 
7718
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
7719
-      _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'
 
7720
-
 
7721
-      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
7722
-        _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'
 
7723
-       # If the export-symbols file already is a .def file (1st line
 
7724
-       # is EXPORTS), use it as is; otherwise, prepend...
 
7725
-       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
7726
-         cp $export_symbols $output_objdir/$soname.def;
 
7727
-       else
 
7728
-         echo EXPORTS > $output_objdir/$soname.def;
 
7729
-         cat $export_symbols >> $output_objdir/$soname.def;
 
7730
-       fi~
 
7731
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
7732
-      else
 
7733
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
7734
-      fi
 
7735
-      ;;
 
7736
-
 
7737
-    interix[[3-9]]*)
 
7738
-      _LT_TAGVAR(hardcode_direct, $1)=no
 
7739
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
7740
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
7741
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
7742
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
7743
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
7744
-      # default) and relocated if they conflict, which is a slow very memory
 
7745
-      # consuming and fragmenting process.  To avoid this, we pick a random,
 
7746
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
7747
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
7748
-      _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'
 
7749
-      _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'
 
7750
-      ;;
 
7751
-
 
7752
-    gnu* | linux* | tpf* | k*bsd*-gnu)
 
7753
-      tmp_diet=no
 
7754
-      if test "$host_os" = linux-dietlibc; then
 
7755
-       case $cc_basename in
 
7756
-         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
7757
-       esac
 
7758
-      fi
 
7759
-      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
7760
-        && test "$tmp_diet" = no
 
7761
-      then
 
7762
-       tmp_addflag=
 
7763
-       tmp_sharedflag='-shared'
 
7764
-       case $cc_basename,$host_cpu in
 
7765
-        pgcc*)                         # Portland Group C compiler
 
7766
-         _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'
 
7767
-         tmp_addflag=' $pic_flag'
 
7768
-         ;;
 
7769
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
7770
-         _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'
 
7771
-         tmp_addflag=' $pic_flag -Mnomain' ;;
 
7772
-       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
7773
-         tmp_addflag=' -i_dynamic' ;;
 
7774
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
7775
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
 
7776
-       ifc* | ifort*)                  # Intel Fortran compiler
 
7777
-         tmp_addflag=' -nofor_main' ;;
 
7778
-       lf95*)                          # Lahey Fortran 8.1
 
7779
-         _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
7780
-         tmp_sharedflag='--shared' ;;
 
7781
-       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
 
7782
-         tmp_sharedflag='-qmkshrobj'
 
7783
-         tmp_addflag= ;;
 
7784
-       esac
 
7785
-       case `$CC -V 2>&1 | sed 5q` in
 
7786
-       *Sun\ C*)                       # Sun C 5.9
 
7787
-         _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'
 
7788
-         _LT_TAGVAR(compiler_needs_object, $1)=yes
 
7789
-         tmp_sharedflag='-G' ;;
 
7790
-       *Sun\ F*)                       # Sun Fortran 8.3
 
7791
-         tmp_sharedflag='-G' ;;
 
7792
-       esac
 
7793
-       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7794
-
 
7795
-        if test "x$supports_anon_versioning" = xyes; then
 
7796
-          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
7797
-           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
7798
-           echo "local: *; };" >> $output_objdir/$libname.ver~
 
7799
-           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7800
+  dnl Search the library and its dependencies in $additional_libdir and
 
7801
+  dnl $LDFLAGS. Using breadth-first-seach.
 
7802
+  LIB[]NAME=
 
7803
+  LTLIB[]NAME=
 
7804
+  INC[]NAME=
 
7805
+  LIB[]NAME[]_PREFIX=
 
7806
+  rpathdirs=
 
7807
+  ltrpathdirs=
 
7808
+  names_already_handled=
 
7809
+  names_next_round='$1 $2'
 
7810
+  while test -n "$names_next_round"; do
 
7811
+    names_this_round="$names_next_round"
 
7812
+    names_next_round=
 
7813
+    for name in $names_this_round; do
 
7814
+      already_handled=
 
7815
+      for n in $names_already_handled; do
 
7816
+        if test "$n" = "$name"; then
 
7817
+          already_handled=yes
 
7818
+          break
 
7819
+        fi
 
7820
+      done
 
7821
+      if test -z "$already_handled"; then
 
7822
+        names_already_handled="$names_already_handled $name"
 
7823
+        dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
 
7824
+        dnl or AC_LIB_HAVE_LINKFLAGS call.
 
7825
+        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
7826
+        eval value=\"\$HAVE_LIB$uppername\"
 
7827
+        if test -n "$value"; then
 
7828
+          if test "$value" = yes; then
 
7829
+            eval value=\"\$LIB$uppername\"
 
7830
+            test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
 
7831
+            eval value=\"\$LTLIB$uppername\"
 
7832
+            test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
 
7833
+          else
 
7834
+            dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
 
7835
+            dnl that this library doesn't exist. So just drop it.
 
7836
+            :
 
7837
+          fi
 
7838
+        else
 
7839
+          dnl Search the library lib$name in $additional_libdir and $LDFLAGS
 
7840
+          dnl and the already constructed $LIBNAME/$LTLIBNAME.
 
7841
+          found_dir=
 
7842
+          found_la=
 
7843
+          found_so=
 
7844
+          found_a=
 
7845
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
7846
+          if test -n "$acl_shlibext"; then
 
7847
+            shrext=".$acl_shlibext"             # typically: shrext=.so
 
7848
+          else
 
7849
+            shrext=
 
7850
+          fi
 
7851
+          if test $use_additional = yes; then
 
7852
+            dir="$additional_libdir"
 
7853
+            dnl The same code as in the loop below:
 
7854
+            dnl First look for a shared library.
 
7855
+            if test -n "$acl_shlibext"; then
 
7856
+              if test -f "$dir/$libname$shrext"; then
 
7857
+                found_dir="$dir"
 
7858
+                found_so="$dir/$libname$shrext"
 
7859
+              else
 
7860
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
7861
+                  ver=`(cd "$dir" && \
 
7862
+                        for f in "$libname$shrext".*; do echo "$f"; done \
 
7863
+                        | sed -e "s,^$libname$shrext\\\\.,," \
 
7864
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
7865
+                        | sed 1q ) 2>/dev/null`
 
7866
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
7867
+                    found_dir="$dir"
 
7868
+                    found_so="$dir/$libname$shrext.$ver"
 
7869
+                  fi
 
7870
+                else
 
7871
+                  eval library_names=\"$acl_library_names_spec\"
 
7872
+                  for f in $library_names; do
 
7873
+                    if test -f "$dir/$f"; then
 
7874
+                      found_dir="$dir"
 
7875
+                      found_so="$dir/$f"
 
7876
+                      break
 
7877
+                    fi
 
7878
+                  done
 
7879
+                fi
 
7880
+              fi
 
7881
+            fi
 
7882
+            dnl Then look for a static library.
 
7883
+            if test "X$found_dir" = "X"; then
 
7884
+              if test -f "$dir/$libname.$acl_libext"; then
 
7885
+                found_dir="$dir"
 
7886
+                found_a="$dir/$libname.$acl_libext"
 
7887
+              fi
 
7888
+            fi
 
7889
+            if test "X$found_dir" != "X"; then
 
7890
+              if test -f "$dir/$libname.la"; then
 
7891
+                found_la="$dir/$libname.la"
 
7892
+              fi
 
7893
+            fi
 
7894
+          fi
 
7895
+          if test "X$found_dir" = "X"; then
 
7896
+            for x in $LDFLAGS $LTLIB[]NAME; do
 
7897
+              AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
7898
+              case "$x" in
 
7899
+                -L*)
 
7900
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
7901
+                  dnl First look for a shared library.
 
7902
+                  if test -n "$acl_shlibext"; then
 
7903
+                    if test -f "$dir/$libname$shrext"; then
 
7904
+                      found_dir="$dir"
 
7905
+                      found_so="$dir/$libname$shrext"
 
7906
+                    else
 
7907
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
7908
+                        ver=`(cd "$dir" && \
 
7909
+                              for f in "$libname$shrext".*; do echo "$f"; done \
 
7910
+                              | sed -e "s,^$libname$shrext\\\\.,," \
 
7911
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
7912
+                              | sed 1q ) 2>/dev/null`
 
7913
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
7914
+                          found_dir="$dir"
 
7915
+                          found_so="$dir/$libname$shrext.$ver"
 
7916
+                        fi
 
7917
+                      else
 
7918
+                        eval library_names=\"$acl_library_names_spec\"
 
7919
+                        for f in $library_names; do
 
7920
+                          if test -f "$dir/$f"; then
 
7921
+                            found_dir="$dir"
 
7922
+                            found_so="$dir/$f"
 
7923
+                            break
 
7924
+                          fi
 
7925
+                        done
 
7926
+                      fi
 
7927
+                    fi
 
7928
+                  fi
 
7929
+                  dnl Then look for a static library.
 
7930
+                  if test "X$found_dir" = "X"; then
 
7931
+                    if test -f "$dir/$libname.$acl_libext"; then
 
7932
+                      found_dir="$dir"
 
7933
+                      found_a="$dir/$libname.$acl_libext"
 
7934
+                    fi
 
7935
+                  fi
 
7936
+                  if test "X$found_dir" != "X"; then
 
7937
+                    if test -f "$dir/$libname.la"; then
 
7938
+                      found_la="$dir/$libname.la"
 
7939
+                    fi
 
7940
+                  fi
 
7941
+                  ;;
 
7942
+              esac
 
7943
+              if test "X$found_dir" != "X"; then
 
7944
+                break
 
7945
+              fi
 
7946
+            done
 
7947
+          fi
 
7948
+          if test "X$found_dir" != "X"; then
 
7949
+            dnl Found the library.
 
7950
+            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
 
7951
+            if test "X$found_so" != "X"; then
 
7952
+              dnl Linking with a shared library. We attempt to hardcode its
 
7953
+              dnl directory into the executable's runpath, unless it's the
 
7954
+              dnl standard /usr/lib.
 
7955
+              if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
7956
+                dnl No hardcoding is needed.
 
7957
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
7958
+              else
 
7959
+                dnl Use an explicit option to hardcode DIR into the resulting
 
7960
+                dnl binary.
 
7961
+                dnl Potentially add DIR to ltrpathdirs.
 
7962
+                dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
 
7963
+                haveit=
 
7964
+                for x in $ltrpathdirs; do
 
7965
+                  if test "X$x" = "X$found_dir"; then
 
7966
+                    haveit=yes
 
7967
+                    break
 
7968
+                  fi
 
7969
+                done
 
7970
+                if test -z "$haveit"; then
 
7971
+                  ltrpathdirs="$ltrpathdirs $found_dir"
 
7972
+                fi
 
7973
+                dnl The hardcoding into $LIBNAME is system dependent.
 
7974
+                if test "$acl_hardcode_direct" = yes; then
 
7975
+                  dnl Using DIR/libNAME.so during linking hardcodes DIR into the
 
7976
+                  dnl resulting binary.
 
7977
+                  LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
7978
+                else
 
7979
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
7980
+                    dnl Use an explicit option to hardcode DIR into the resulting
 
7981
+                    dnl binary.
 
7982
+                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
7983
+                    dnl Potentially add DIR to rpathdirs.
 
7984
+                    dnl The rpathdirs will be appended to $LIBNAME at the end.
 
7985
+                    haveit=
 
7986
+                    for x in $rpathdirs; do
 
7987
+                      if test "X$x" = "X$found_dir"; then
 
7988
+                        haveit=yes
 
7989
+                        break
 
7990
+                      fi
 
7991
+                    done
 
7992
+                    if test -z "$haveit"; then
 
7993
+                      rpathdirs="$rpathdirs $found_dir"
 
7994
+                    fi
 
7995
+                  else
 
7996
+                    dnl Rely on "-L$found_dir".
 
7997
+                    dnl But don't add it if it's already contained in the LDFLAGS
 
7998
+                    dnl or the already constructed $LIBNAME
 
7999
+                    haveit=
 
8000
+                    for x in $LDFLAGS $LIB[]NAME; do
 
8001
+                      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
8002
+                      if test "X$x" = "X-L$found_dir"; then
 
8003
+                        haveit=yes
 
8004
+                        break
 
8005
+                      fi
 
8006
+                    done
 
8007
+                    if test -z "$haveit"; then
 
8008
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
 
8009
+                    fi
 
8010
+                    if test "$acl_hardcode_minus_L" != no; then
 
8011
+                      dnl FIXME: Not sure whether we should use
 
8012
+                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
 
8013
+                      dnl here.
 
8014
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
 
8015
+                    else
 
8016
+                      dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
 
8017
+                      dnl here, because this doesn't fit in flags passed to the
 
8018
+                      dnl compiler. So give up. No hardcoding. This affects only
 
8019
+                      dnl very old systems.
 
8020
+                      dnl FIXME: Not sure whether we should use
 
8021
+                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
 
8022
+                      dnl here.
 
8023
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
 
8024
+                    fi
 
8025
+                  fi
 
8026
+                fi
 
8027
+              fi
 
8028
+            else
 
8029
+              if test "X$found_a" != "X"; then
 
8030
+                dnl Linking with a static library.
 
8031
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
 
8032
+              else
 
8033
+                dnl We shouldn't come here, but anyway it's good to have a
 
8034
+                dnl fallback.
 
8035
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
 
8036
+              fi
 
8037
+            fi
 
8038
+            dnl Assume the include files are nearby.
 
8039
+            additional_includedir=
 
8040
+            case "$found_dir" in
 
8041
+              */$acl_libdirstem | */$acl_libdirstem/)
 
8042
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
8043
+                LIB[]NAME[]_PREFIX="$basedir"
 
8044
+                additional_includedir="$basedir/include"
 
8045
+                ;;
 
8046
+            esac
 
8047
+            if test "X$additional_includedir" != "X"; then
 
8048
+              dnl Potentially add $additional_includedir to $INCNAME.
 
8049
+              dnl But don't add it
 
8050
+              dnl   1. if it's the standard /usr/include,
 
8051
+              dnl   2. if it's /usr/local/include and we are using GCC on Linux,
 
8052
+              dnl   3. if it's already present in $CPPFLAGS or the already
 
8053
+              dnl      constructed $INCNAME,
 
8054
+              dnl   4. if it doesn't exist as a directory.
 
8055
+              if test "X$additional_includedir" != "X/usr/include"; then
 
8056
+                haveit=
 
8057
+                if test "X$additional_includedir" = "X/usr/local/include"; then
 
8058
+                  if test -n "$GCC"; then
 
8059
+                    case $host_os in
 
8060
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
8061
+                    esac
 
8062
+                  fi
 
8063
+                fi
 
8064
+                if test -z "$haveit"; then
 
8065
+                  for x in $CPPFLAGS $INC[]NAME; do
 
8066
+                    AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
8067
+                    if test "X$x" = "X-I$additional_includedir"; then
 
8068
+                      haveit=yes
 
8069
+                      break
 
8070
+                    fi
 
8071
+                  done
 
8072
+                  if test -z "$haveit"; then
 
8073
+                    if test -d "$additional_includedir"; then
 
8074
+                      dnl Really add $additional_includedir to $INCNAME.
 
8075
+                      INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
 
8076
+                    fi
 
8077
+                  fi
 
8078
+                fi
 
8079
+              fi
 
8080
+            fi
 
8081
+            dnl Look for dependencies.
 
8082
+            if test -n "$found_la"; then
 
8083
+              dnl Read the .la file. It defines the variables
 
8084
+              dnl dlname, library_names, old_library, dependency_libs, current,
 
8085
+              dnl age, revision, installed, dlopen, dlpreopen, libdir.
 
8086
+              save_libdir="$libdir"
 
8087
+              case "$found_la" in
 
8088
+                */* | *\\*) . "$found_la" ;;
 
8089
+                *) . "./$found_la" ;;
 
8090
+              esac
 
8091
+              libdir="$save_libdir"
 
8092
+              dnl We use only dependency_libs.
 
8093
+              for dep in $dependency_libs; do
 
8094
+                case "$dep" in
 
8095
+                  -L*)
 
8096
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
8097
+                    dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
 
8098
+                    dnl But don't add it
 
8099
+                    dnl   1. if it's the standard /usr/lib,
 
8100
+                    dnl   2. if it's /usr/local/lib and we are using GCC on Linux,
 
8101
+                    dnl   3. if it's already present in $LDFLAGS or the already
 
8102
+                    dnl      constructed $LIBNAME,
 
8103
+                    dnl   4. if it doesn't exist as a directory.
 
8104
+                    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
8105
+                      haveit=
 
8106
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
8107
+                        if test -n "$GCC"; then
 
8108
+                          case $host_os in
 
8109
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
8110
+                          esac
 
8111
+                        fi
 
8112
+                      fi
 
8113
+                      if test -z "$haveit"; then
 
8114
+                        haveit=
 
8115
+                        for x in $LDFLAGS $LIB[]NAME; do
 
8116
+                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
8117
+                          if test "X$x" = "X-L$additional_libdir"; then
 
8118
+                            haveit=yes
 
8119
+                            break
 
8120
+                          fi
 
8121
+                        done
 
8122
+                        if test -z "$haveit"; then
 
8123
+                          if test -d "$additional_libdir"; then
 
8124
+                            dnl Really add $additional_libdir to $LIBNAME.
 
8125
+                            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
 
8126
+                          fi
 
8127
+                        fi
 
8128
+                        haveit=
 
8129
+                        for x in $LDFLAGS $LTLIB[]NAME; do
 
8130
+                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
8131
+                          if test "X$x" = "X-L$additional_libdir"; then
 
8132
+                            haveit=yes
 
8133
+                            break
 
8134
+                          fi
 
8135
+                        done
 
8136
+                        if test -z "$haveit"; then
 
8137
+                          if test -d "$additional_libdir"; then
 
8138
+                            dnl Really add $additional_libdir to $LTLIBNAME.
 
8139
+                            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
 
8140
+                          fi
 
8141
+                        fi
 
8142
+                      fi
 
8143
+                    fi
 
8144
+                    ;;
 
8145
+                  -R*)
 
8146
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
8147
+                    if test "$enable_rpath" != no; then
 
8148
+                      dnl Potentially add DIR to rpathdirs.
 
8149
+                      dnl The rpathdirs will be appended to $LIBNAME at the end.
 
8150
+                      haveit=
 
8151
+                      for x in $rpathdirs; do
 
8152
+                        if test "X$x" = "X$dir"; then
 
8153
+                          haveit=yes
 
8154
+                          break
 
8155
+                        fi
 
8156
+                      done
 
8157
+                      if test -z "$haveit"; then
 
8158
+                        rpathdirs="$rpathdirs $dir"
 
8159
+                      fi
 
8160
+                      dnl Potentially add DIR to ltrpathdirs.
 
8161
+                      dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
 
8162
+                      haveit=
 
8163
+                      for x in $ltrpathdirs; do
 
8164
+                        if test "X$x" = "X$dir"; then
 
8165
+                          haveit=yes
 
8166
+                          break
 
8167
+                        fi
 
8168
+                      done
 
8169
+                      if test -z "$haveit"; then
 
8170
+                        ltrpathdirs="$ltrpathdirs $dir"
 
8171
+                      fi
 
8172
+                    fi
 
8173
+                    ;;
 
8174
+                  -l*)
 
8175
+                    dnl Handle this in the next round.
 
8176
+                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
8177
+                    ;;
 
8178
+                  *.la)
 
8179
+                    dnl Handle this in the next round. Throw away the .la's
 
8180
+                    dnl directory; it is already contained in a preceding -L
 
8181
+                    dnl option.
 
8182
+                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
8183
+                    ;;
 
8184
+                  *)
 
8185
+                    dnl Most likely an immediate library name.
 
8186
+                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
 
8187
+                    LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
 
8188
+                    ;;
 
8189
+                esac
 
8190
+              done
 
8191
+            fi
 
8192
+          else
 
8193
+            dnl Didn't find the library; assume it is in the system directories
 
8194
+            dnl known to the linker and runtime loader. (All the system
 
8195
+            dnl directories known to the linker should also be known to the
 
8196
+            dnl runtime loader, otherwise the system is severely misconfigured.)
 
8197
+            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
 
8198
+            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
 
8199
+          fi
 
8200
         fi
 
8201
-
 
8202
-       case $cc_basename in
 
8203
-       xlf*)
 
8204
-         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8205
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
 
8206
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
8207
-         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
8208
-         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8209
-         if test "x$supports_anon_versioning" = xyes; then
 
8210
-           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
8211
-             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8212
-             echo "local: *; };" >> $output_objdir/$libname.ver~
 
8213
-             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8214
-         fi
 
8215
-         ;;
 
8216
-       esac
 
8217
-      else
 
8218
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
8219
-      fi
 
8220
-      ;;
 
8221
-
 
8222
-    netbsd*)
 
8223
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8224
-       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8225
-       wlarc=
 
8226
-      else
 
8227
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8228
-       _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'
 
8229
-      fi
 
8230
-      ;;
 
8231
-
 
8232
-    solaris*)
 
8233
-      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8234
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
8235
-       cat <<_LT_EOF 1>&2
 
8236
-
 
8237
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8238
-*** create shared libraries on Solaris systems.  Therefore, libtool
 
8239
-*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8240
-*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8241
-*** your PATH or compiler configuration so that the native linker is
 
8242
-*** used, and then restart.
 
8243
-
 
8244
-_LT_EOF
 
8245
-      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8246
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8247
-       _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'
 
8248
-      else
 
8249
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
8250
-      fi
 
8251
-      ;;
 
8252
-
 
8253
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8254
-      case `$LD -v 2>&1` in
 
8255
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
 
8256
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
8257
-       cat <<_LT_EOF 1>&2
 
8258
-
 
8259
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8260
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8261
-*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8262
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8263
-*** your PATH or compiler configuration so that the native linker is
 
8264
-*** used, and then restart.
 
8265
-
 
8266
-_LT_EOF
 
8267
-       ;;
 
8268
-       *)
 
8269
-         # For security reasons, it is highly recommended that you always
 
8270
-         # use absolute paths for naming shared libraries, and exclude the
 
8271
-         # DT_RUNPATH tag from executables and libraries.  But doing so
 
8272
-         # requires that you compile everything twice, which is a pain.
 
8273
-         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8274
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8275
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8276
-           _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'
 
8277
-         else
 
8278
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
8279
-         fi
 
8280
-       ;;
 
8281
-      esac
 
8282
-      ;;
 
8283
-
 
8284
-    sunos4*)
 
8285
-      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8286
-      wlarc=
 
8287
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8288
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8289
-      ;;
 
8290
-
 
8291
-    *)
 
8292
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8293
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8294
-       _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'
 
8295
-      else
 
8296
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
8297
-      fi
 
8298
-      ;;
 
8299
-    esac
 
8300
-
 
8301
-    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
 
8302
-      runpath_var=
 
8303
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
8304
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
8305
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
8306
-    fi
 
8307
-  else
 
8308
-    # PORTME fill in a description of your system's linker (not GNU ld)
 
8309
-    case $host_os in
 
8310
-    aix3*)
 
8311
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
8312
-      _LT_TAGVAR(always_export_symbols, $1)=yes
 
8313
-      _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'
 
8314
-      # Note: this linker hardcodes the directories in LIBPATH if there
 
8315
-      # are no directories specified by -L.
 
8316
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8317
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8318
-       # Neither direct hardcoding nor static linking is supported with a
 
8319
-       # broken collect2.
 
8320
-       _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
8321
-      fi
 
8322
-      ;;
 
8323
-
 
8324
-    aix[[4-9]]*)
 
8325
-      if test "$host_cpu" = ia64; then
 
8326
-       # On IA64, the linker does run time linking by default, so we don't
 
8327
-       # have to do anything special.
 
8328
-       aix_use_runtimelinking=no
 
8329
-       exp_sym_flag='-Bexport'
 
8330
-       no_entry_flag=""
 
8331
-      else
 
8332
-       # If we're using GNU nm, then we don't want the "-C" option.
 
8333
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8334
-       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8335
-         _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'
 
8336
-       else
 
8337
-         _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'
 
8338
-       fi
 
8339
-       aix_use_runtimelinking=no
 
8340
-
 
8341
-       # Test if we are trying to use run time linking or normal
 
8342
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8343
-       # need to do runtime linking.
 
8344
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 
8345
-         for ld_flag in $LDFLAGS; do
 
8346
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8347
-           aix_use_runtimelinking=yes
 
8348
-           break
 
8349
-         fi
 
8350
-         done
 
8351
-         ;;
 
8352
-       esac
 
8353
-
 
8354
-       exp_sym_flag='-bexport'
 
8355
-       no_entry_flag='-bnoentry'
 
8356
-      fi
 
8357
-
 
8358
-      # When large executables or shared objects are built, AIX ld can
 
8359
-      # have problems creating the table of contents.  If linking a library
 
8360
-      # or program results in "error TOC overflow" add -mminimal-toc to
 
8361
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8362
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8363
-
 
8364
-      _LT_TAGVAR(archive_cmds, $1)=''
 
8365
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8366
-      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
8367
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
8368
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
8369
-      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 
8370
-
 
8371
-      if test "$GCC" = yes; then
 
8372
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
8373
-       # We only want to do this on AIX 4.2 and lower, the check
 
8374
-       # below for broken collect2 doesn't work under 4.3+
 
8375
-         collect2name=`${CC} -print-prog-name=collect2`
 
8376
-         if test -f "$collect2name" &&
 
8377
-          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8378
-         then
 
8379
-         # We have reworked collect2
 
8380
-         :
 
8381
-         else
 
8382
-         # We have old collect2
 
8383
-         _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
8384
-         # It fails to find uninstalled libraries when the uninstalled
 
8385
-         # path is not listed in the libpath.  Setting hardcode_minus_L
 
8386
-         # to unsupported forces relinking
 
8387
-         _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8388
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8389
-         _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
8390
-         fi
 
8391
-         ;;
 
8392
-       esac
 
8393
-       shared_flag='-shared'
 
8394
-       if test "$aix_use_runtimelinking" = yes; then
 
8395
-         shared_flag="$shared_flag "'${wl}-G'
 
8396
-       fi
 
8397
-      else
 
8398
-       # not using gcc
 
8399
-       if test "$host_cpu" = ia64; then
 
8400
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8401
-       # chokes on -Wl,-G. The following line is correct:
 
8402
-         shared_flag='-G'
 
8403
-       else
 
8404
-         if test "$aix_use_runtimelinking" = yes; then
 
8405
-           shared_flag='${wl}-G'
 
8406
-         else
 
8407
-           shared_flag='${wl}-bM:SRE'
 
8408
-         fi
 
8409
-       fi
 
8410
-      fi
 
8411
-
 
8412
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 
8413
-      # It seems that -bexpall does not export symbols beginning with
 
8414
-      # underscore (_), so it is better to generate a list of symbols to export.
 
8415
-      _LT_TAGVAR(always_export_symbols, $1)=yes
 
8416
-      if test "$aix_use_runtimelinking" = yes; then
 
8417
-       # Warning - without using the other runtime loading flags (-brtl),
 
8418
-       # -berok will link without error, but may produce a broken library.
 
8419
-       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 
8420
-        # Determine the default libpath from the value encoded in an
 
8421
-        # empty executable.
 
8422
-        _LT_SYS_MODULE_PATH_AIX
 
8423
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8424
-        _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"
 
8425
-      else
 
8426
-       if test "$host_cpu" = ia64; then
 
8427
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
8428
-         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
8429
-         _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"
 
8430
-       else
 
8431
-        # Determine the default libpath from the value encoded in an
 
8432
-        # empty executable.
 
8433
-        _LT_SYS_MODULE_PATH_AIX
 
8434
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8435
-         # Warning - without using the other run time loading flags,
 
8436
-         # -berok will link without error, but may produce a broken library.
 
8437
-         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
8438
-         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
8439
-         # Exported symbols can be pulled into shared objects from archives
 
8440
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
8441
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
8442
-         # This is similar to how AIX traditionally builds its shared libraries.
 
8443
-         _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'
 
8444
-       fi
 
8445
-      fi
 
8446
-      ;;
 
8447
-
 
8448
-    amigaos*)
 
8449
-      case $host_cpu in
 
8450
-      powerpc)
 
8451
-            # see comment about AmigaOS4 .so support
 
8452
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8453
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 
8454
-        ;;
 
8455
-      m68k)
 
8456
-            _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)'
 
8457
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8458
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8459
-        ;;
 
8460
-      esac
 
8461
-      ;;
 
8462
-
 
8463
-    bsdi[[45]]*)
 
8464
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 
8465
-      ;;
 
8466
-
 
8467
-    cygwin* | mingw* | pw32* | cegcc*)
 
8468
-      # When not using gcc, we currently assume that we are using
 
8469
-      # Microsoft Visual C++.
 
8470
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
8471
-      # no search path for DLLs.
 
8472
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 
8473
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
8474
-      # Tell ltmain to make .lib files, not .a files.
 
8475
-      libext=lib
 
8476
-      # Tell ltmain to make .dll files, not .so files.
 
8477
-      shrext_cmds=".dll"
 
8478
-      # FIXME: Setting linknames here is a bad hack.
 
8479
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8480
-      # The linker will automatically build a .lib file if we build a DLL.
 
8481
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 
8482
-      # FIXME: Should let the user specify the lib program.
 
8483
-      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8484
-      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
 
8485
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
8486
-      ;;
 
8487
-
 
8488
-    darwin* | rhapsody*)
 
8489
-      _LT_DARWIN_LINKER_FEATURES($1)
 
8490
-      ;;
 
8491
-
 
8492
-    dgux*)
 
8493
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8494
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8495
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8496
-      ;;
 
8497
-
 
8498
-    freebsd1*)
 
8499
-      _LT_TAGVAR(ld_shlibs, $1)=no
 
8500
-      ;;
 
8501
-
 
8502
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
8503
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
8504
-    # does not break anything, and helps significantly (at the cost of a little
 
8505
-    # extra space).
 
8506
-    freebsd2.2*)
 
8507
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
8508
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8509
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8510
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8511
-      ;;
 
8512
-
 
8513
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
8514
-    freebsd2*)
 
8515
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8516
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8517
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8518
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8519
-      ;;
 
8520
-
 
8521
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
8522
-    freebsd* | dragonfly*)
 
8523
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
8524
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8525
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8526
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8527
-      ;;
 
8528
-
 
8529
-    hpux9*)
 
8530
-      if test "$GCC" = yes; then
 
8531
-       _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'
 
8532
-      else
 
8533
-       _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'
 
8534
-      fi
 
8535
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8536
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8537
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8538
-
 
8539
-      # hardcode_minus_L: Not really in the search PATH,
 
8540
-      # but as the default location of the library.
 
8541
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8542
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8543
-      ;;
 
8544
-
 
8545
-    hpux10*)
 
8546
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8547
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8548
-      else
 
8549
-       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8550
-      fi
 
8551
-      if test "$with_gnu_ld" = no; then
 
8552
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8553
-       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
8554
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8555
-       _LT_TAGVAR(hardcode_direct, $1)=yes
 
8556
-       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
8557
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8558
-       # hardcode_minus_L: Not really in the search PATH,
 
8559
-       # but as the default location of the library.
 
8560
-       _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8561
-      fi
 
8562
-      ;;
 
8563
-
 
8564
-    hpux11*)
 
8565
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8566
-       case $host_cpu in
 
8567
-       hppa*64*)
 
8568
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8569
-         ;;
 
8570
-       ia64*)
 
8571
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8572
-         ;;
 
8573
-       *)
 
8574
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8575
-         ;;
 
8576
-       esac
 
8577
-      else
 
8578
-       case $host_cpu in
 
8579
-       hppa*64*)
 
8580
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8581
-         ;;
 
8582
-       ia64*)
 
8583
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8584
-         ;;
 
8585
-       *)
 
8586
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8587
-         ;;
 
8588
-       esac
 
8589
-      fi
 
8590
-      if test "$with_gnu_ld" = no; then
 
8591
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
8592
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8593
-
 
8594
-       case $host_cpu in
 
8595
-       hppa*64*|ia64*)
 
8596
-         _LT_TAGVAR(hardcode_direct, $1)=no
 
8597
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8598
-         ;;
 
8599
-       *)
 
8600
-         _LT_TAGVAR(hardcode_direct, $1)=yes
 
8601
-         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
8602
-         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8603
-
 
8604
-         # hardcode_minus_L: Not really in the search PATH,
 
8605
-         # but as the default location of the library.
 
8606
-         _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8607
-         ;;
 
8608
-       esac
 
8609
-      fi
 
8610
-      ;;
 
8611
-
 
8612
-    irix5* | irix6* | nonstopux*)
 
8613
-      if test "$GCC" = yes; then
 
8614
-       _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'
 
8615
-       # Try to use the -exported_symbol ld option, if it does not
 
8616
-       # work, assume that -exports_file does not work either and
 
8617
-       # implicitly export all symbols.
 
8618
-        save_LDFLAGS="$LDFLAGS"
 
8619
-        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8620
-        AC_LINK_IFELSE(int foo(void) {},
 
8621
-          _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'
 
8622
-        )
 
8623
-        LDFLAGS="$save_LDFLAGS"
 
8624
-      else
 
8625
-       _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'
 
8626
-       _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'
 
8627
-      fi
 
8628
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
8629
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8630
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8631
-      _LT_TAGVAR(inherit_rpath, $1)=yes
 
8632
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
8633
-      ;;
 
8634
-
 
8635
-    netbsd*)
 
8636
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8637
-       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
8638
-      else
 
8639
-       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
8640
-      fi
 
8641
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8642
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8643
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8644
-      ;;
 
8645
-
 
8646
-    newsos6)
 
8647
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8648
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8649
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8650
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8651
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8652
-      ;;
 
8653
-
 
8654
-    *nto* | *qnx*)
 
8655
-      ;;
 
8656
-
 
8657
-    openbsd*)
 
8658
-      if test -f /usr/libexec/ld.so; then
 
8659
-       _LT_TAGVAR(hardcode_direct, $1)=yes
 
8660
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8661
-       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
8662
-       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8663
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8664
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8665
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
8666
-         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
8667
-       else
 
8668
-         case $host_os in
 
8669
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
8670
-            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8671
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8672
-            ;;
 
8673
-          *)
 
8674
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8675
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
8676
-            ;;
 
8677
-         esac
 
8678
-       fi
 
8679
-      else
 
8680
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
8681
-      fi
 
8682
-      ;;
 
8683
-
 
8684
-    os2*)
 
8685
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8686
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8687
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
8688
-      _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'
 
8689
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8690
-      ;;
 
8691
-
 
8692
-    osf3*)
 
8693
-      if test "$GCC" = yes; then
 
8694
-       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
8695
-       _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'
 
8696
-      else
 
8697
-       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
8698
-       _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'
 
8699
-      fi
 
8700
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
8701
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8702
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8703
-      ;;
 
8704
-
 
8705
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
8706
-      if test "$GCC" = yes; then
 
8707
-       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
8708
-       _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'
 
8709
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
8710
-      else
 
8711
-       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
8712
-       _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'
 
8713
-       _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~
 
8714
-       $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'
 
8715
-
 
8716
-       # Both c and cxx compiler support -rpath directly
 
8717
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
8718
-      fi
 
8719
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
8720
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
8721
-      ;;
 
8722
-
 
8723
-    solaris*)
 
8724
-      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
 
8725
-      if test "$GCC" = yes; then
 
8726
-       wlarc='${wl}'
 
8727
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8728
-       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8729
-         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8730
-      else
 
8731
-       case `$CC -V 2>&1` in
 
8732
-       *"Compilers 5.0"*)
 
8733
-         wlarc=''
 
8734
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8735
-         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8736
-         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8737
-         ;;
 
8738
-       *)
 
8739
-         wlarc='${wl}'
 
8740
-         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8741
-         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8742
-         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8743
-         ;;
 
8744
-       esac
 
8745
-      fi
 
8746
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
8747
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8748
-      case $host_os in
 
8749
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
8750
-      *)
 
8751
-       # The compiler driver will combine and reorder linker options,
 
8752
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8753
-       # but is careful enough not to reorder.
 
8754
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8755
-       if test "$GCC" = yes; then
 
8756
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8757
-       else
 
8758
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
8759
-       fi
 
8760
-       ;;
 
8761
-      esac
 
8762
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
8763
-      ;;
 
8764
-
 
8765
-    sunos4*)
 
8766
-      if test "x$host_vendor" = xsequent; then
 
8767
-       # Use $CC to link under sequent, because it throws in some extra .o
 
8768
-       # files that make .init and .fini sections work.
 
8769
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8770
-      else
 
8771
-       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
8772
-      fi
 
8773
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8774
-      _LT_TAGVAR(hardcode_direct, $1)=yes
 
8775
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
8776
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8777
-      ;;
 
8778
-
 
8779
-    sysv4)
 
8780
-      case $host_vendor in
 
8781
-       sni)
 
8782
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8783
-         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
 
8784
-       ;;
 
8785
-       siemens)
 
8786
-         ## LD is ld it makes a PLAMLIB
 
8787
-         ## CC just makes a GrossModule.
 
8788
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
8789
-         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
 
8790
-         _LT_TAGVAR(hardcode_direct, $1)=no
 
8791
-        ;;
 
8792
-       motorola)
 
8793
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8794
-         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
 
8795
-       ;;
 
8796
-      esac
 
8797
-      runpath_var='LD_RUN_PATH'
 
8798
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8799
-      ;;
 
8800
-
 
8801
-    sysv4.3*)
 
8802
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8803
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8804
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
 
8805
-      ;;
 
8806
-
 
8807
-    sysv4*MP*)
 
8808
-      if test -d /usr/nec; then
 
8809
-       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8810
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8811
-       runpath_var=LD_RUN_PATH
 
8812
-       hardcode_runpath_var=yes
 
8813
-       _LT_TAGVAR(ld_shlibs, $1)=yes
 
8814
-      fi
 
8815
-      ;;
 
8816
-
 
8817
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
8818
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
8819
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
8820
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8821
-      runpath_var='LD_RUN_PATH'
 
8822
-
 
8823
-      if test "$GCC" = yes; then
 
8824
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8825
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8826
-      else
 
8827
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8828
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8829
-      fi
 
8830
-      ;;
 
8831
-
 
8832
-    sysv5* | sco3.2v5* | sco5v6*)
 
8833
-      # Note: We can NOT use -z defs as we might desire, because we do not
 
8834
-      # link with -lc, and that would cause any symbols used from libc to
 
8835
-      # always be unresolved, which means just about no library would
 
8836
-      # ever link correctly.  If we're not using GNU ld we use -z text
 
8837
-      # though, which does catch some bad symbols but isn't as heavy-handed
 
8838
-      # as -z defs.
 
8839
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
8840
-      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
8841
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
8842
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8843
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
8844
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
8845
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
8846
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
8847
-      runpath_var='LD_RUN_PATH'
 
8848
-
 
8849
-      if test "$GCC" = yes; then
 
8850
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8851
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8852
-      else
 
8853
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8854
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8855
       fi
 
8856
-      ;;
 
8857
-
 
8858
-    uts4*)
 
8859
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8860
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8861
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
8862
-      ;;
 
8863
-
 
8864
-    *)
 
8865
-      _LT_TAGVAR(ld_shlibs, $1)=no
 
8866
-      ;;
 
8867
-    esac
 
8868
-
 
8869
-    if test x$host_vendor = xsni; then
 
8870
-      case $host in
 
8871
-      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8872
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
 
8873
-       ;;
 
8874
-      esac
 
8875
+    done
 
8876
+  done
 
8877
+  if test "X$rpathdirs" != "X"; then
 
8878
+    if test -n "$acl_hardcode_libdir_separator"; then
 
8879
+      dnl Weird platform: only the last -rpath option counts, the user must
 
8880
+      dnl pass all path elements in one option. We can arrange that for a
 
8881
+      dnl single library, but not when more than one $LIBNAMEs are used.
 
8882
+      alldirs=
 
8883
+      for found_dir in $rpathdirs; do
 
8884
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
8885
+      done
 
8886
+      dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
 
8887
+      acl_save_libdir="$libdir"
 
8888
+      libdir="$alldirs"
 
8889
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
8890
+      libdir="$acl_save_libdir"
 
8891
+      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
8892
+    else
 
8893
+      dnl The -rpath options are cumulative.
 
8894
+      for found_dir in $rpathdirs; do
 
8895
+        acl_save_libdir="$libdir"
 
8896
+        libdir="$found_dir"
 
8897
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
8898
+        libdir="$acl_save_libdir"
 
8899
+        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
 
8900
+      done
 
8901
     fi
 
8902
   fi
 
8903
+  if test "X$ltrpathdirs" != "X"; then
 
8904
+    dnl When using libtool, the option that works for both libraries and
 
8905
+    dnl executables is -R. The -R options are cumulative.
 
8906
+    for found_dir in $ltrpathdirs; do
 
8907
+      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
 
8908
+    done
 
8909
+  fi
 
8910
 ])
 
8911
-AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
8912
-test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
8913
 
 
8914
-_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
 
8915
-
 
8916
-_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
 
8917
-_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
 
8918
-_LT_DECL([], [extract_expsyms_cmds], [2],
 
8919
-    [The commands to extract the exported symbol list from a shared archive])
 
8920
+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
 
8921
+dnl unless already present in VAR.
 
8922
+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
 
8923
+dnl contains two or three consecutive elements that belong together.
 
8924
+AC_DEFUN([AC_LIB_APPENDTOVAR],
 
8925
+[
 
8926
+  for element in [$2]; do
 
8927
+    haveit=
 
8928
+    for x in $[$1]; do
 
8929
+      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
8930
+      if test "X$x" = "X$element"; then
 
8931
+        haveit=yes
 
8932
+        break
 
8933
+      fi
 
8934
+    done
 
8935
+    if test -z "$haveit"; then
 
8936
+      [$1]="${[$1]}${[$1]:+ }$element"
 
8937
+    fi
 
8938
+  done
 
8939
+])
 
8940
 
 
8941
-#
 
8942
-# Do we need to explicitly link libc?
 
8943
-#
 
8944
-case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
 
8945
-x|xyes)
 
8946
-  # Assume -lc should be added
 
8947
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
8948
-
 
8949
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
8950
-    case $_LT_TAGVAR(archive_cmds, $1) in
 
8951
-    *'~'*)
 
8952
-      # FIXME: we may have to deal with multi-command sequences.
 
8953
-      ;;
 
8954
-    '$CC '*)
 
8955
-      # Test whether the compiler implicitly links with -lc since on some
 
8956
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
8957
-      # to ld, don't add -lc before -lgcc.
 
8958
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
 
8959
-      $RM conftest*
 
8960
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8961
-
 
8962
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
8963
-        soname=conftest
 
8964
-        lib=conftest
 
8965
-        libobjs=conftest.$ac_objext
 
8966
-        deplibs=
 
8967
-        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
 
8968
-       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
 
8969
-        compiler_flags=-v
 
8970
-        linker_flags=-v
 
8971
-        verstring=
 
8972
-        output_objdir=.
 
8973
-        libname=conftest
 
8974
-        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
 
8975
-        _LT_TAGVAR(allow_undefined_flag, $1)=
 
8976
-        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
 
8977
-        then
 
8978
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
8979
+dnl For those cases where a variable contains several -L and -l options
 
8980
+dnl referring to unknown libraries and directories, this macro determines the
 
8981
+dnl necessary additional linker options for the runtime path.
 
8982
+dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
 
8983
+dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
 
8984
+dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
 
8985
+dnl otherwise linking without libtool is assumed.
 
8986
+AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
 
8987
+[
 
8988
+  AC_REQUIRE([AC_LIB_RPATH])
 
8989
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
 
8990
+  $1=
 
8991
+  if test "$enable_rpath" != no; then
 
8992
+    if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
8993
+      dnl Use an explicit option to hardcode directories into the resulting
 
8994
+      dnl binary.
 
8995
+      rpathdirs=
 
8996
+      next=
 
8997
+      for opt in $2; do
 
8998
+        if test -n "$next"; then
 
8999
+          dir="$next"
 
9000
+          dnl No need to hardcode the standard /usr/lib.
 
9001
+          if test "X$dir" != "X/usr/$acl_libdirstem"; then
 
9002
+            rpathdirs="$rpathdirs $dir"
 
9003
+          fi
 
9004
+          next=
 
9005
         else
 
9006
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
9007
+          case $opt in
 
9008
+            -L) next=yes ;;
 
9009
+            -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
 
9010
+                 dnl No need to hardcode the standard /usr/lib.
 
9011
+                 if test "X$dir" != "X/usr/$acl_libdirstem"; then
 
9012
+                   rpathdirs="$rpathdirs $dir"
 
9013
+                 fi
 
9014
+                 next= ;;
 
9015
+            *) next= ;;
 
9016
+          esac
 
9017
+        fi
 
9018
+      done
 
9019
+      if test "X$rpathdirs" != "X"; then
 
9020
+        if test -n ""$3""; then
 
9021
+          dnl libtool is used for linking. Use -R options.
 
9022
+          for dir in $rpathdirs; do
 
9023
+            $1="${$1}${$1:+ }-R$dir"
 
9024
+          done
 
9025
+        else
 
9026
+          dnl The linker is used for linking directly.
 
9027
+          if test -n "$acl_hardcode_libdir_separator"; then
 
9028
+            dnl Weird platform: only the last -rpath option counts, the user
 
9029
+            dnl must pass all path elements in one option.
 
9030
+            alldirs=
 
9031
+            for dir in $rpathdirs; do
 
9032
+              alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
 
9033
+            done
 
9034
+            acl_save_libdir="$libdir"
 
9035
+            libdir="$alldirs"
 
9036
+            eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
9037
+            libdir="$acl_save_libdir"
 
9038
+            $1="$flag"
 
9039
+          else
 
9040
+            dnl The -rpath options are cumulative.
 
9041
+            for dir in $rpathdirs; do
 
9042
+              acl_save_libdir="$libdir"
 
9043
+              libdir="$dir"
 
9044
+              eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
9045
+              libdir="$acl_save_libdir"
 
9046
+              $1="${$1}${$1:+ }$flag"
 
9047
+            done
 
9048
+          fi
 
9049
         fi
 
9050
-        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
9051
-      else
 
9052
-        cat conftest.err 1>&5
 
9053
       fi
 
9054
-      $RM conftest*
 
9055
-      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
 
9056
-      ;;
 
9057
-    esac
 
9058
-  fi
 
9059
-  ;;
 
9060
-esac
 
9061
-
 
9062
-_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
 
9063
-    [Whether or not to add -lc for building shared libraries])
 
9064
-_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
 
9065
-    [enable_shared_with_static_runtimes], [0],
 
9066
-    [Whether or not to disallow shared libs when runtime libs are static])
 
9067
-_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
 
9068
-    [Compiler flag to allow reflexive dlopens])
 
9069
-_LT_TAGDECL([], [whole_archive_flag_spec], [1],
 
9070
-    [Compiler flag to generate shared objects directly from archives])
 
9071
-_LT_TAGDECL([], [compiler_needs_object], [1],
 
9072
-    [Whether the compiler copes with passing no objects directly])
 
9073
-_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
 
9074
-    [Create an old-style archive from a shared archive])
 
9075
-_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
 
9076
-    [Create a temporary old-style archive to link instead of a shared archive])
 
9077
-_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
 
9078
-_LT_TAGDECL([], [archive_expsym_cmds], [2])
 
9079
-_LT_TAGDECL([], [module_cmds], [2],
 
9080
-    [Commands used to build a loadable module if different from building
 
9081
-    a shared archive.])
 
9082
-_LT_TAGDECL([], [module_expsym_cmds], [2])
 
9083
-_LT_TAGDECL([], [with_gnu_ld], [1],
 
9084
-    [Whether we are building with GNU ld or not])
 
9085
-_LT_TAGDECL([], [allow_undefined_flag], [1],
 
9086
-    [Flag that allows shared libraries with undefined symbols to be built])
 
9087
-_LT_TAGDECL([], [no_undefined_flag], [1],
 
9088
-    [Flag that enforces no undefined symbols])
 
9089
-_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
 
9090
-    [Flag to hardcode $libdir into a binary during linking.
 
9091
-    This must work even if $libdir does not exist])
 
9092
-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
 
9093
-    [[If ld is used when linking, flag to hardcode $libdir into a binary
 
9094
-    during linking.  This must work even if $libdir does not exist]])
 
9095
-_LT_TAGDECL([], [hardcode_libdir_separator], [1],
 
9096
-    [Whether we need a single "-rpath" flag with a separated argument])
 
9097
-_LT_TAGDECL([], [hardcode_direct], [0],
 
9098
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 
9099
-    DIR into the resulting binary])
 
9100
-_LT_TAGDECL([], [hardcode_direct_absolute], [0],
 
9101
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 
9102
-    DIR into the resulting binary and the resulting library dependency is
 
9103
-    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
 
9104
-    library is relocated])
 
9105
-_LT_TAGDECL([], [hardcode_minus_L], [0],
 
9106
-    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
9107
-    into the resulting binary])
 
9108
-_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
 
9109
-    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
9110
-    into the resulting binary])
 
9111
-_LT_TAGDECL([], [hardcode_automatic], [0],
 
9112
-    [Set to "yes" if building a shared library automatically hardcodes DIR
 
9113
-    into the library and all subsequent libraries and executables linked
 
9114
-    against it])
 
9115
-_LT_TAGDECL([], [inherit_rpath], [0],
 
9116
-    [Set to yes if linker adds runtime paths of dependent libraries
 
9117
-    to runtime path list])
 
9118
-_LT_TAGDECL([], [link_all_deplibs], [0],
 
9119
-    [Whether libtool must link a program against all its dependency libraries])
 
9120
-_LT_TAGDECL([], [fix_srcfile_path], [1],
 
9121
-    [Fix the shell variable $srcfile for the compiler])
 
9122
-_LT_TAGDECL([], [always_export_symbols], [0],
 
9123
-    [Set to "yes" if exported symbols are required])
 
9124
-_LT_TAGDECL([], [export_symbols_cmds], [2],
 
9125
-    [The commands to list exported symbols])
 
9126
-_LT_TAGDECL([], [exclude_expsyms], [1],
 
9127
-    [Symbols that should not be listed in the preloaded symbols])
 
9128
-_LT_TAGDECL([], [include_expsyms], [1],
 
9129
-    [Symbols that must always be exported])
 
9130
-_LT_TAGDECL([], [prelink_cmds], [2],
 
9131
-    [Commands necessary for linking programs (against libraries) with templates])
 
9132
-_LT_TAGDECL([], [file_list_spec], [1],
 
9133
-    [Specify filename containing input files])
 
9134
-dnl FIXME: Not yet implemented
 
9135
-dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
 
9136
-dnl    [Compiler flag to generate thread safe objects])
 
9137
-])# _LT_LINKER_SHLIBS
 
9138
-
 
9139
-
 
9140
-# _LT_LANG_C_CONFIG([TAG])
 
9141
-# ------------------------
 
9142
-# Ensure that the configuration variables for a C compiler are suitably
 
9143
-# defined.  These variables are subsequently used by _LT_CONFIG to write
 
9144
-# the compiler configuration to `libtool'.
 
9145
-m4_defun([_LT_LANG_C_CONFIG],
 
9146
-[m4_require([_LT_DECL_EGREP])dnl
 
9147
-lt_save_CC="$CC"
 
9148
-AC_LANG_PUSH(C)
 
9149
-
 
9150
-# Source file extension for C test sources.
 
9151
-ac_ext=c
 
9152
-
 
9153
-# Object file extension for compiled C test sources.
 
9154
-objext=o
 
9155
-_LT_TAGVAR(objext, $1)=$objext
 
9156
-
 
9157
-# Code to be used in simple compile tests
 
9158
-lt_simple_compile_test_code="int some_variable = 0;"
 
9159
-
 
9160
-# Code to be used in simple link tests
 
9161
-lt_simple_link_test_code='int main(){return(0);}'
 
9162
-
 
9163
-_LT_TAG_COMPILER
 
9164
-# Save the default compiler, since it gets overwritten when the other
 
9165
-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9166
-compiler_DEFAULT=$CC
 
9167
-
 
9168
-# save warnings/boilerplate of simple test code
 
9169
-_LT_COMPILER_BOILERPLATE
 
9170
-_LT_LINKER_BOILERPLATE
 
9171
-
 
9172
-if test -n "$compiler"; then
 
9173
-  _LT_COMPILER_NO_RTTI($1)
 
9174
-  _LT_COMPILER_PIC($1)
 
9175
-  _LT_COMPILER_C_O($1)
 
9176
-  _LT_COMPILER_FILE_LOCKS($1)
 
9177
-  _LT_LINKER_SHLIBS($1)
 
9178
-  _LT_SYS_DYNAMIC_LINKER($1)
 
9179
-  _LT_LINKER_HARDCODE_LIBPATH($1)
 
9180
-  LT_SYS_DLOPEN_SELF
 
9181
-  _LT_CMD_STRIPLIB
 
9182
-
 
9183
-  # Report which library types will actually be built
 
9184
-  AC_MSG_CHECKING([if libtool supports shared libraries])
 
9185
-  AC_MSG_RESULT([$can_build_shared])
 
9186
-
 
9187
-  AC_MSG_CHECKING([whether to build shared libraries])
 
9188
-  test "$can_build_shared" = "no" && enable_shared=no
 
9189
-
 
9190
-  # On AIX, shared libraries and static libraries use the same namespace, and
 
9191
-  # are all built from PIC.
 
9192
-  case $host_os in
 
9193
-  aix3*)
 
9194
-    test "$enable_shared" = yes && enable_static=no
 
9195
-    if test -n "$RANLIB"; then
 
9196
-      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
9197
-      postinstall_cmds='$RANLIB $lib'
 
9198
     fi
 
9199
-    ;;
 
9200
-
 
9201
-  aix[[4-9]]*)
 
9202
-    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
9203
-      test "$enable_shared" = yes && enable_static=no
 
9204
-    fi
 
9205
-    ;;
 
9206
-  esac
 
9207
-  AC_MSG_RESULT([$enable_shared])
 
9208
+  fi
 
9209
+  AC_SUBST([$1])
 
9210
+])
 
9211
 
 
9212
-  AC_MSG_CHECKING([whether to build static libraries])
 
9213
-  # Make sure either enable_shared or enable_static is yes.
 
9214
-  test "$enable_shared" = yes || enable_static=yes
 
9215
-  AC_MSG_RESULT([$enable_static])
 
9216
+# lib-prefix.m4 serial 5 (gettext-0.15)
 
9217
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
 
9218
+dnl This file is free software; the Free Software Foundation
 
9219
+dnl gives unlimited permission to copy and/or distribute it,
 
9220
+dnl with or without modifications, as long as this notice is preserved.
 
9221
 
 
9222
-  _LT_CONFIG($1)
 
9223
-fi
 
9224
-AC_LANG_POP
 
9225
-CC="$lt_save_CC"
 
9226
-])# _LT_LANG_C_CONFIG
 
9227
+dnl From Bruno Haible.
 
9228
 
 
9229
+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
 
9230
+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
 
9231
+dnl require excessive bracketing.
 
9232
+ifdef([AC_HELP_STRING],
 
9233
+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
 
9234
+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
 
9235
 
 
9236
-# _LT_PROG_CXX
 
9237
-# ------------
 
9238
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
 
9239
-# compiler, we have our own version here.
 
9240
-m4_defun([_LT_PROG_CXX],
 
9241
+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
 
9242
+dnl to access previously installed libraries. The basic assumption is that
 
9243
+dnl a user will want packages to use other packages he previously installed
 
9244
+dnl with the same --prefix option.
 
9245
+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
 
9246
+dnl libraries, but is otherwise very convenient.
 
9247
+AC_DEFUN([AC_LIB_PREFIX],
 
9248
 [
 
9249
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
 
9250
-AC_PROG_CXX
 
9251
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
9252
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
9253
-    (test "X$CXX" != "Xg++"))) ; then
 
9254
-  AC_PROG_CXXCPP
 
9255
-else
 
9256
-  _lt_caught_CXX_error=yes
 
9257
-fi
 
9258
-popdef([AC_MSG_ERROR])
 
9259
-])# _LT_PROG_CXX
 
9260
-
 
9261
-dnl aclocal-1.4 backwards compatibility:
 
9262
-dnl AC_DEFUN([_LT_PROG_CXX], [])
 
9263
-
 
9264
-
 
9265
-# _LT_LANG_CXX_CONFIG([TAG])
 
9266
-# --------------------------
 
9267
-# Ensure that the configuration variables for a C++ compiler are suitably
 
9268
-# defined.  These variables are subsequently used by _LT_CONFIG to write
 
9269
-# the compiler configuration to `libtool'.
 
9270
-m4_defun([_LT_LANG_CXX_CONFIG],
 
9271
-[AC_REQUIRE([_LT_PROG_CXX])dnl
 
9272
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
9273
-m4_require([_LT_DECL_EGREP])dnl
 
9274
-
 
9275
-AC_LANG_PUSH(C++)
 
9276
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
9277
-_LT_TAGVAR(allow_undefined_flag, $1)=
 
9278
-_LT_TAGVAR(always_export_symbols, $1)=no
 
9279
-_LT_TAGVAR(archive_expsym_cmds, $1)=
 
9280
-_LT_TAGVAR(compiler_needs_object, $1)=no
 
9281
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
9282
-_LT_TAGVAR(hardcode_direct, $1)=no
 
9283
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
9284
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
9285
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
9286
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
9287
-_LT_TAGVAR(hardcode_minus_L, $1)=no
 
9288
-_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
9289
-_LT_TAGVAR(hardcode_automatic, $1)=no
 
9290
-_LT_TAGVAR(inherit_rpath, $1)=no
 
9291
-_LT_TAGVAR(module_cmds, $1)=
 
9292
-_LT_TAGVAR(module_expsym_cmds, $1)=
 
9293
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
9294
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9295
-_LT_TAGVAR(no_undefined_flag, $1)=
 
9296
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
9297
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
9298
-
 
9299
-# Source file extension for C++ test sources.
 
9300
-ac_ext=cpp
 
9301
-
 
9302
-# Object file extension for compiled C++ test sources.
 
9303
-objext=o
 
9304
-_LT_TAGVAR(objext, $1)=$objext
 
9305
-
 
9306
-# No sense in running all these tests if we already determined that
 
9307
-# the CXX compiler isn't working.  Some variables (like enable_shared)
 
9308
-# are currently assumed to apply to all compilers on this platform,
 
9309
-# and will be corrupted by setting them based on a non-working compiler.
 
9310
-if test "$_lt_caught_CXX_error" != yes; then
 
9311
-  # Code to be used in simple compile tests
 
9312
-  lt_simple_compile_test_code="int some_variable = 0;"
 
9313
-
 
9314
-  # Code to be used in simple link tests
 
9315
-  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
 
9316
-
 
9317
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
9318
-  _LT_TAG_COMPILER
 
9319
-
 
9320
-  # save warnings/boilerplate of simple test code
 
9321
-  _LT_COMPILER_BOILERPLATE
 
9322
-  _LT_LINKER_BOILERPLATE
 
9323
-
 
9324
-  # Allow CC to be a program name with arguments.
 
9325
-  lt_save_CC=$CC
 
9326
-  lt_save_LD=$LD
 
9327
-  lt_save_GCC=$GCC
 
9328
-  GCC=$GXX
 
9329
-  lt_save_with_gnu_ld=$with_gnu_ld
 
9330
-  lt_save_path_LD=$lt_cv_path_LD
 
9331
-  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
9332
-    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
9333
-  else
 
9334
-    $as_unset lt_cv_prog_gnu_ld
 
9335
-  fi
 
9336
-  if test -n "${lt_cv_path_LDCXX+set}"; then
 
9337
-    lt_cv_path_LD=$lt_cv_path_LDCXX
 
9338
-  else
 
9339
-    $as_unset lt_cv_path_LD
 
9340
-  fi
 
9341
-  test -z "${LDCXX+set}" || LD=$LDCXX
 
9342
-  CC=${CXX-"c++"}
 
9343
-  compiler=$CC
 
9344
-  _LT_TAGVAR(compiler, $1)=$CC
 
9345
-  _LT_CC_BASENAME([$compiler])
 
9346
-
 
9347
-  if test -n "$compiler"; then
 
9348
-    # We don't want -fno-exception when compiling C++ code, so set the
 
9349
-    # no_builtin_flag separately
 
9350
-    if test "$GXX" = yes; then
 
9351
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
9352
+  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
 
9353
+  AC_REQUIRE([AC_PROG_CC])
 
9354
+  AC_REQUIRE([AC_CANONICAL_HOST])
 
9355
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
 
9356
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
 
9357
+  dnl By default, look in $includedir and $libdir.
 
9358
+  use_additional=yes
 
9359
+  AC_LIB_WITH_FINAL_PREFIX([
 
9360
+    eval additional_includedir=\"$includedir\"
 
9361
+    eval additional_libdir=\"$libdir\"
 
9362
+  ])
 
9363
+  AC_LIB_ARG_WITH([lib-prefix],
 
9364
+[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
 
9365
+  --without-lib-prefix    don't search for libraries in includedir and libdir],
 
9366
+[
 
9367
+    if test "X$withval" = "Xno"; then
 
9368
+      use_additional=no
 
9369
     else
 
9370
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
9371
-    fi
 
9372
-
 
9373
-    if test "$GXX" = yes; then
 
9374
-      # Set up default GNU C++ configuration
 
9375
-
 
9376
-      LT_PATH_LD
 
9377
-
 
9378
-      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
9379
-      # archiving commands below assume that GNU ld is being used.
 
9380
-      if test "$with_gnu_ld" = yes; then
 
9381
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9382
-        _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'
 
9383
-
 
9384
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
9385
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
9386
-
 
9387
-        # If archive_cmds runs LD, not CC, wlarc should be empty
 
9388
-        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
9389
-        #     investigate it a little bit more. (MM)
 
9390
-        wlarc='${wl}'
 
9391
-
 
9392
-        # ancient GNU ld didn't support --whole-archive et. al.
 
9393
-        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
9394
-         $GREP 'no-whole-archive' > /dev/null; then
 
9395
-          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9396
-        else
 
9397
-          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
9398
-        fi
 
9399
+      if test "X$withval" = "X"; then
 
9400
+        AC_LIB_WITH_FINAL_PREFIX([
 
9401
+          eval additional_includedir=\"$includedir\"
 
9402
+          eval additional_libdir=\"$libdir\"
 
9403
+        ])
 
9404
       else
 
9405
-        with_gnu_ld=no
 
9406
-        wlarc=
 
9407
-
 
9408
-        # A generic and very simple default shared library creation
 
9409
-        # command for GNU C++ for the case where it uses the native
 
9410
-        # linker, instead of GNU ld.  If possible, this setting should
 
9411
-        # overridden to take advantage of the native linker features on
 
9412
-        # the platform it is being used on.
 
9413
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
9414
+        additional_includedir="$withval/include"
 
9415
+        additional_libdir="$withval/$acl_libdirstem"
 
9416
       fi
 
9417
-
 
9418
-      # Commands to make compiler produce verbose output that lists
 
9419
-      # what "hidden" libraries, object files and flags are used when
 
9420
-      # linking a shared library.
 
9421
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
9422
-
 
9423
-    else
 
9424
-      GXX=no
 
9425
-      with_gnu_ld=no
 
9426
-      wlarc=
 
9427
     fi
 
9428
-
 
9429
-    # PORTME: fill in a description of your system's C++ link characteristics
 
9430
-    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
9431
-    _LT_TAGVAR(ld_shlibs, $1)=yes
 
9432
-    case $host_os in
 
9433
-      aix3*)
 
9434
-        # FIXME: insert proper C++ library support
 
9435
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
9436
-        ;;
 
9437
-      aix[[4-9]]*)
 
9438
-        if test "$host_cpu" = ia64; then
 
9439
-          # On IA64, the linker does run time linking by default, so we don't
 
9440
-          # have to do anything special.
 
9441
-          aix_use_runtimelinking=no
 
9442
-          exp_sym_flag='-Bexport'
 
9443
-          no_entry_flag=""
 
9444
-        else
 
9445
-          aix_use_runtimelinking=no
 
9446
-
 
9447
-          # Test if we are trying to use run time linking or normal
 
9448
-          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9449
-          # need to do runtime linking.
 
9450
-          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 
9451
-           for ld_flag in $LDFLAGS; do
 
9452
-             case $ld_flag in
 
9453
-             *-brtl*)
 
9454
-               aix_use_runtimelinking=yes
 
9455
-               break
 
9456
-               ;;
 
9457
-             esac
 
9458
-           done
 
9459
-           ;;
 
9460
-          esac
 
9461
-
 
9462
-          exp_sym_flag='-bexport'
 
9463
-          no_entry_flag='-bnoentry'
 
9464
+])
 
9465
+  if test $use_additional = yes; then
 
9466
+    dnl Potentially add $additional_includedir to $CPPFLAGS.
 
9467
+    dnl But don't add it
 
9468
+    dnl   1. if it's the standard /usr/include,
 
9469
+    dnl   2. if it's already present in $CPPFLAGS,
 
9470
+    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
 
9471
+    dnl   4. if it doesn't exist as a directory.
 
9472
+    if test "X$additional_includedir" != "X/usr/include"; then
 
9473
+      haveit=
 
9474
+      for x in $CPPFLAGS; do
 
9475
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
9476
+        if test "X$x" = "X-I$additional_includedir"; then
 
9477
+          haveit=yes
 
9478
+          break
 
9479
         fi
 
9480
-
 
9481
-        # When large executables or shared objects are built, AIX ld can
 
9482
-        # have problems creating the table of contents.  If linking a library
 
9483
-        # or program results in "error TOC overflow" add -mminimal-toc to
 
9484
-        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9485
-        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9486
-
 
9487
-        _LT_TAGVAR(archive_cmds, $1)=''
 
9488
-        _LT_TAGVAR(hardcode_direct, $1)=yes
 
9489
-        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
9490
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
9491
-        _LT_TAGVAR(link_all_deplibs, $1)=yes
 
9492
-        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 
9493
-
 
9494
-        if test "$GXX" = yes; then
 
9495
-          case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
9496
-          # We only want to do this on AIX 4.2 and lower, the check
 
9497
-          # below for broken collect2 doesn't work under 4.3+
 
9498
-         collect2name=`${CC} -print-prog-name=collect2`
 
9499
-         if test -f "$collect2name" &&
 
9500
-            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9501
-         then
 
9502
-           # We have reworked collect2
 
9503
-           :
 
9504
-         else
 
9505
-           # We have old collect2
 
9506
-           _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
9507
-           # It fails to find uninstalled libraries when the uninstalled
 
9508
-           # path is not listed in the libpath.  Setting hardcode_minus_L
 
9509
-           # to unsupported forces relinking
 
9510
-           _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
9511
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
9512
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
9513
-         fi
 
9514
-          esac
 
9515
-          shared_flag='-shared'
 
9516
-         if test "$aix_use_runtimelinking" = yes; then
 
9517
-           shared_flag="$shared_flag "'${wl}-G'
 
9518
-         fi
 
9519
-        else
 
9520
-          # not using gcc
 
9521
-          if test "$host_cpu" = ia64; then
 
9522
-         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9523
-         # chokes on -Wl,-G. The following line is correct:
 
9524
-         shared_flag='-G'
 
9525
-          else
 
9526
-           if test "$aix_use_runtimelinking" = yes; then
 
9527
-             shared_flag='${wl}-G'
 
9528
-           else
 
9529
-             shared_flag='${wl}-bM:SRE'
 
9530
-           fi
 
9531
+      done
 
9532
+      if test -z "$haveit"; then
 
9533
+        if test "X$additional_includedir" = "X/usr/local/include"; then
 
9534
+          if test -n "$GCC"; then
 
9535
+            case $host_os in
 
9536
+              linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
9537
+            esac
 
9538
           fi
 
9539
         fi
 
9540
-
 
9541
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 
9542
-        # It seems that -bexpall does not export symbols beginning with
 
9543
-        # underscore (_), so it is better to generate a list of symbols to
 
9544
-       # export.
 
9545
-        _LT_TAGVAR(always_export_symbols, $1)=yes
 
9546
-        if test "$aix_use_runtimelinking" = yes; then
 
9547
-          # Warning - without using the other runtime loading flags (-brtl),
 
9548
-          # -berok will link without error, but may produce a broken library.
 
9549
-          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 
9550
-          # Determine the default libpath from the value encoded in an empty
 
9551
-          # executable.
 
9552
-          _LT_SYS_MODULE_PATH_AIX
 
9553
-          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9554
-
 
9555
-          _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"
 
9556
-        else
 
9557
-          if test "$host_cpu" = ia64; then
 
9558
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
9559
-           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
9560
-           _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"
 
9561
-          else
 
9562
-           # Determine the default libpath from the value encoded in an
 
9563
-           # empty executable.
 
9564
-           _LT_SYS_MODULE_PATH_AIX
 
9565
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9566
-           # Warning - without using the other run time loading flags,
 
9567
-           # -berok will link without error, but may produce a broken library.
 
9568
-           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
9569
-           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
9570
-           # Exported symbols can be pulled into shared objects from archives
 
9571
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
9572
-           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
9573
-           # This is similar to how AIX traditionally builds its shared
 
9574
-           # libraries.
 
9575
-           _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'
 
9576
+        if test -z "$haveit"; then
 
9577
+          if test -d "$additional_includedir"; then
 
9578
+            dnl Really add $additional_includedir to $CPPFLAGS.
 
9579
+            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
 
9580
           fi
 
9581
         fi
 
9582
-        ;;
 
9583
-
 
9584
-      beos*)
 
9585
-       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9586
-         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
9587
-         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9588
-         # support --undefined.  This deserves some investigation.  FIXME
 
9589
-         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9590
-       else
 
9591
-         _LT_TAGVAR(ld_shlibs, $1)=no
 
9592
-       fi
 
9593
-       ;;
 
9594
-
 
9595
-      chorus*)
 
9596
-        case $cc_basename in
 
9597
-          *)
 
9598
-         # FIXME: insert proper C++ library support
 
9599
-         _LT_TAGVAR(ld_shlibs, $1)=no
 
9600
-         ;;
 
9601
-        esac
 
9602
-        ;;
 
9603
-
 
9604
-      cygwin* | mingw* | pw32* | cegcc*)
 
9605
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
9606
-        # as there is no search path for DLLs.
 
9607
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
9608
-        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
9609
-        _LT_TAGVAR(always_export_symbols, $1)=no
 
9610
-        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
9611
-
 
9612
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9613
-          _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'
 
9614
-          # If the export-symbols file already is a .def file (1st line
 
9615
-          # is EXPORTS), use it as is; otherwise, prepend...
 
9616
-          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9617
-           cp $export_symbols $output_objdir/$soname.def;
 
9618
-          else
 
9619
-           echo EXPORTS > $output_objdir/$soname.def;
 
9620
-           cat $export_symbols >> $output_objdir/$soname.def;
 
9621
-          fi~
 
9622
-          $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'
 
9623
-        else
 
9624
-          _LT_TAGVAR(ld_shlibs, $1)=no
 
9625
+      fi
 
9626
+    fi
 
9627
+    dnl Potentially add $additional_libdir to $LDFLAGS.
 
9628
+    dnl But don't add it
 
9629
+    dnl   1. if it's the standard /usr/lib,
 
9630
+    dnl   2. if it's already present in $LDFLAGS,
 
9631
+    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
 
9632
+    dnl   4. if it doesn't exist as a directory.
 
9633
+    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
9634
+      haveit=
 
9635
+      for x in $LDFLAGS; do
 
9636
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
 
9637
+        if test "X$x" = "X-L$additional_libdir"; then
 
9638
+          haveit=yes
 
9639
+          break
 
9640
         fi
 
9641
-        ;;
 
9642
-      darwin* | rhapsody*)
 
9643
-        _LT_DARWIN_LINKER_FEATURES($1)
 
9644
-       ;;
 
9645
-
 
9646
-      dgux*)
 
9647
-        case $cc_basename in
 
9648
-          ec++*)
 
9649
-           # FIXME: insert proper C++ library support
 
9650
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
9651
-           ;;
 
9652
-          ghcx*)
 
9653
-           # Green Hills C++ Compiler
 
9654
-           # FIXME: insert proper C++ library support
 
9655
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
9656
-           ;;
 
9657
-          *)
 
9658
-           # FIXME: insert proper C++ library support
 
9659
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
9660
-           ;;
 
9661
-        esac
 
9662
-        ;;
 
9663
-
 
9664
-      freebsd[[12]]*)
 
9665
-        # C++ shared libraries reported to be fairly broken before
 
9666
-       # switch to ELF
 
9667
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
9668
-        ;;
 
9669
-
 
9670
-      freebsd-elf*)
 
9671
-        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
9672
-        ;;
 
9673
-
 
9674
-      freebsd* | dragonfly*)
 
9675
-        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
9676
-        # conventions
 
9677
-        _LT_TAGVAR(ld_shlibs, $1)=yes
 
9678
-        ;;
 
9679
-
 
9680
-      gnu*)
 
9681
-        ;;
 
9682
-
 
9683
-      hpux9*)
 
9684
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
9685
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
9686
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
9687
-        _LT_TAGVAR(hardcode_direct, $1)=yes
 
9688
-        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
9689
-                                            # but as the default
 
9690
-                                            # location of the library.
 
9691
-
 
9692
-        case $cc_basename in
 
9693
-          CC*)
 
9694
-            # FIXME: insert proper C++ library support
 
9695
-            _LT_TAGVAR(ld_shlibs, $1)=no
 
9696
-            ;;
 
9697
-          aCC*)
 
9698
-            _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'
 
9699
-            # Commands to make compiler produce verbose output that lists
 
9700
-            # what "hidden" libraries, object files and flags are used when
 
9701
-            # linking a shared library.
 
9702
-            #
 
9703
-            # There doesn't appear to be a way to prevent this compiler from
 
9704
-            # explicitly linking system object files so we need to strip them
 
9705
-            # from the output so that they don't get included in the library
 
9706
-            # dependencies.
 
9707
-            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'
 
9708
-            ;;
 
9709
-          *)
 
9710
-            if test "$GXX" = yes; then
 
9711
-              _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'
 
9712
-            else
 
9713
-              # FIXME: insert proper C++ library support
 
9714
-              _LT_TAGVAR(ld_shlibs, $1)=no
 
9715
-            fi
 
9716
-            ;;
 
9717
-        esac
 
9718
-        ;;
 
9719
-
 
9720
-      hpux10*|hpux11*)
 
9721
-        if test $with_gnu_ld = no; then
 
9722
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
9723
-         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
9724
-
 
9725
-          case $host_cpu in
 
9726
-            hppa*64*|ia64*)
 
9727
-              ;;
 
9728
-            *)
 
9729
-             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
9730
-              ;;
 
9731
-          esac
 
9732
+      done
 
9733
+      if test -z "$haveit"; then
 
9734
+        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
9735
+          if test -n "$GCC"; then
 
9736
+            case $host_os in
 
9737
+              linux*) haveit=yes;;
 
9738
+            esac
 
9739
+          fi
 
9740
         fi
 
9741
-        case $host_cpu in
 
9742
-          hppa*64*|ia64*)
 
9743
-            _LT_TAGVAR(hardcode_direct, $1)=no
 
9744
-            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
9745
-            ;;
 
9746
-          *)
 
9747
-            _LT_TAGVAR(hardcode_direct, $1)=yes
 
9748
-            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
9749
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
9750
-                                                # but as the default
 
9751
-                                                # location of the library.
 
9752
-            ;;
 
9753
-        esac
 
9754
-
 
9755
-        case $cc_basename in
 
9756
-          CC*)
 
9757
-           # FIXME: insert proper C++ library support
 
9758
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
9759
-           ;;
 
9760
-          aCC*)
 
9761
-           case $host_cpu in
 
9762
-             hppa*64*)
 
9763
-               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
9764
-               ;;
 
9765
-             ia64*)
 
9766
-               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
9767
-               ;;
 
9768
-             *)
 
9769
-               _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'
 
9770
-               ;;
 
9771
-           esac
 
9772
-           # Commands to make compiler produce verbose output that lists
 
9773
-           # what "hidden" libraries, object files and flags are used when
 
9774
-           # linking a shared library.
 
9775
-           #
 
9776
-           # There doesn't appear to be a way to prevent this compiler from
 
9777
-           # explicitly linking system object files so we need to strip them
 
9778
-           # from the output so that they don't get included in the library
 
9779
-           # dependencies.
 
9780
-           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'
 
9781
-           ;;
 
9782
-          *)
 
9783
-           if test "$GXX" = yes; then
 
9784
-             if test $with_gnu_ld = no; then
 
9785
-               case $host_cpu in
 
9786
-                 hppa*64*)
 
9787
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
9788
-                   ;;
 
9789
-                 ia64*)
 
9790
-                   _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'
 
9791
-                   ;;
 
9792
-                 *)
 
9793
-                   _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'
 
9794
-                   ;;
 
9795
-               esac
 
9796
-             fi
 
9797
-           else
 
9798
-             # FIXME: insert proper C++ library support
 
9799
-             _LT_TAGVAR(ld_shlibs, $1)=no
 
9800
-           fi
 
9801
-           ;;
 
9802
-        esac
 
9803
-        ;;
 
9804
-
 
9805
-      interix[[3-9]]*)
 
9806
-       _LT_TAGVAR(hardcode_direct, $1)=no
 
9807
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
9808
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
9809
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
9810
-       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9811
-       # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9812
-       # default) and relocated if they conflict, which is a slow very memory
 
9813
-       # consuming and fragmenting process.  To avoid this, we pick a random,
 
9814
-       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9815
-       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9816
-       _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'
 
9817
-       _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'
 
9818
-       ;;
 
9819
-      irix5* | irix6*)
 
9820
-        case $cc_basename in
 
9821
-          CC*)
 
9822
-           # SGI C++
 
9823
-           _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'
 
9824
-
 
9825
-           # Archives containing C++ object files must be created using
 
9826
-           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
9827
-           # necessary to make sure instantiated templates are included
 
9828
-           # in the archive.
 
9829
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
9830
-           ;;
 
9831
-          *)
 
9832
-           if test "$GXX" = yes; then
 
9833
-             if test "$with_gnu_ld" = no; then
 
9834
-               _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'
 
9835
-             else
 
9836
-               _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'
 
9837
-             fi
 
9838
-           fi
 
9839
-           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
9840
-           ;;
 
9841
-        esac
 
9842
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
9843
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
9844
-        _LT_TAGVAR(inherit_rpath, $1)=yes
 
9845
-        ;;
 
9846
-
 
9847
-      linux* | k*bsd*-gnu)
 
9848
-        case $cc_basename in
 
9849
-          KCC*)
 
9850
-           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
9851
-
 
9852
-           # KCC will only create a shared library if the output file
 
9853
-           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
9854
-           # to its proper name (with version) after linking.
 
9855
-           _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'
 
9856
-           _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'
 
9857
-           # Commands to make compiler produce verbose output that lists
 
9858
-           # what "hidden" libraries, object files and flags are used when
 
9859
-           # linking a shared library.
 
9860
-           #
 
9861
-           # There doesn't appear to be a way to prevent this compiler from
 
9862
-           # explicitly linking system object files so we need to strip them
 
9863
-           # from the output so that they don't get included in the library
 
9864
-           # dependencies.
 
9865
-           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'
 
9866
-
 
9867
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
9868
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
9869
-
 
9870
-           # Archives containing C++ object files must be created using
 
9871
-           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
9872
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
9873
-           ;;
 
9874
-         icpc* | ecpc* )
 
9875
-           # Intel C++
 
9876
-           with_gnu_ld=yes
 
9877
-           # version 8.0 and above of icpc choke on multiply defined symbols
 
9878
-           # if we add $predep_objects and $postdep_objects, however 7.1 and
 
9879
-           # earlier do not add the objects themselves.
 
9880
-           case `$CC -V 2>&1` in
 
9881
-             *"Version 7."*)
 
9882
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9883
-               _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'
 
9884
-               ;;
 
9885
-             *)  # Version 8.0 or newer
 
9886
-               tmp_idyn=
 
9887
-               case $host_cpu in
 
9888
-                 ia64*) tmp_idyn=' -i_dynamic';;
 
9889
-               esac
 
9890
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9891
-               _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'
 
9892
-               ;;
 
9893
-           esac
 
9894
-           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
9895
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
9896
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
9897
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9898
-           ;;
 
9899
-          pgCC* | pgcpp*)
 
9900
-            # Portland Group C++ compiler
 
9901
-           case `$CC -V` in
 
9902
-           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
 
9903
-             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
 
9904
-               rm -rf $tpldir~
 
9905
-               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
9906
-               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
9907
-             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
 
9908
-               rm -rf $tpldir~
 
9909
-               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
9910
-               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
9911
-               $RANLIB $oldlib'
 
9912
-             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
 
9913
-               rm -rf $tpldir~
 
9914
-               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
9915
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
9916
-             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
 
9917
-               rm -rf $tpldir~
 
9918
-               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
9919
-               $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'
 
9920
-             ;;
 
9921
-           *) # Version 6 will use weak symbols
 
9922
-             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
9923
-             _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'
 
9924
-             ;;
 
9925
-           esac
 
9926
-
 
9927
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
9928
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
9929
-           _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'
 
9930
-            ;;
 
9931
-         cxx*)
 
9932
-           # Compaq C++
 
9933
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9934
-           _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'
 
9935
-
 
9936
-           runpath_var=LD_RUN_PATH
 
9937
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
9938
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
9939
-
 
9940
-           # Commands to make compiler produce verbose output that lists
 
9941
-           # what "hidden" libraries, object files and flags are used when
 
9942
-           # linking a shared library.
 
9943
-           #
 
9944
-           # There doesn't appear to be a way to prevent this compiler from
 
9945
-           # explicitly linking system object files so we need to strip them
 
9946
-           # from the output so that they don't get included in the library
 
9947
-           # dependencies.
 
9948
-           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'
 
9949
-           ;;
 
9950
-         xl*)
 
9951
-           # IBM XL 8.0 on PPC, with GNU ld
 
9952
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
9953
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
9954
-           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9955
-           if test "x$supports_anon_versioning" = xyes; then
 
9956
-             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
9957
-               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9958
-               echo "local: *; };" >> $output_objdir/$libname.ver~
 
9959
-               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9960
-           fi
 
9961
-           ;;
 
9962
-         *)
 
9963
-           case `$CC -V 2>&1 | sed 5q` in
 
9964
-           *Sun\ C*)
 
9965
-             # Sun C++ 5.9
 
9966
-             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
9967
-             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
9968
-             _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'
 
9969
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
9970
-             _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'
 
9971
-             _LT_TAGVAR(compiler_needs_object, $1)=yes
 
9972
-
 
9973
-             # Not sure whether something based on
 
9974
-             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
9975
-             # would be better.
 
9976
-             output_verbose_link_cmd='echo'
 
9977
-
 
9978
-             # Archives containing C++ object files must be created using
 
9979
-             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
9980
-             # necessary to make sure instantiated templates are included
 
9981
-             # in the archive.
 
9982
-             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
9983
-             ;;
 
9984
-           esac
 
9985
-           ;;
 
9986
-       esac
 
9987
-       ;;
 
9988
-
 
9989
-      lynxos*)
 
9990
-        # FIXME: insert proper C++ library support
 
9991
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
9992
-       ;;
 
9993
-
 
9994
-      m88k*)
 
9995
-        # FIXME: insert proper C++ library support
 
9996
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
9997
-       ;;
 
9998
-
 
9999
-      mvs*)
 
10000
-        case $cc_basename in
 
10001
-          cxx*)
 
10002
-           # FIXME: insert proper C++ library support
 
10003
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10004
-           ;;
 
10005
-         *)
 
10006
-           # FIXME: insert proper C++ library support
 
10007
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10008
-           ;;
 
10009
-       esac
 
10010
-       ;;
 
10011
-
 
10012
-      netbsd*)
 
10013
-        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10014
-         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
10015
-         wlarc=
 
10016
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
10017
-         _LT_TAGVAR(hardcode_direct, $1)=yes
 
10018
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10019
-       fi
 
10020
-       # Workaround some broken pre-1.5 toolchains
 
10021
-       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
10022
-       ;;
 
10023
-
 
10024
-      *nto* | *qnx*)
 
10025
-        _LT_TAGVAR(ld_shlibs, $1)=yes
 
10026
-       ;;
 
10027
-
 
10028
-      openbsd2*)
 
10029
-        # C++ shared libraries are fairly broken
 
10030
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
10031
-       ;;
 
10032
-
 
10033
-      openbsd*)
 
10034
-       if test -f /usr/libexec/ld.so; then
 
10035
-         _LT_TAGVAR(hardcode_direct, $1)=yes
 
10036
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10037
-         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
10038
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
10039
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
10040
-         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10041
-           _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'
 
10042
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
10043
-           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10044
-         fi
 
10045
-         output_verbose_link_cmd=echo
 
10046
-       else
 
10047
-         _LT_TAGVAR(ld_shlibs, $1)=no
 
10048
-       fi
 
10049
-       ;;
 
10050
-
 
10051
-      osf3* | osf4* | osf5*)
 
10052
-        case $cc_basename in
 
10053
-          KCC*)
 
10054
-           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
10055
-
 
10056
-           # KCC will only create a shared library if the output file
 
10057
-           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
10058
-           # to its proper name (with version) after linking.
 
10059
-           _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'
 
10060
-
 
10061
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
10062
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
10063
-
 
10064
-           # Archives containing C++ object files must be created using
 
10065
-           # the KAI C++ compiler.
 
10066
-           case $host in
 
10067
-             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
10068
-             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
 
10069
-           esac
 
10070
-           ;;
 
10071
-          RCC*)
 
10072
-           # Rational C++ 2.4.1
 
10073
-           # FIXME: insert proper C++ library support
 
10074
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10075
-           ;;
 
10076
-          cxx*)
 
10077
-           case $host in
 
10078
-             osf3*)
 
10079
-               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
10080
-               _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'
 
10081
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
10082
-               ;;
 
10083
-             *)
 
10084
-               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
10085
-               _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'
 
10086
-               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
10087
-                 echo "-hidden">> $lib.exp~
 
10088
-                 $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~
 
10089
-                 $RM $lib.exp'
 
10090
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
10091
-               ;;
 
10092
-           esac
 
10093
-
 
10094
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
10095
-
 
10096
-           # Commands to make compiler produce verbose output that lists
 
10097
-           # what "hidden" libraries, object files and flags are used when
 
10098
-           # linking a shared library.
 
10099
-           #
 
10100
-           # There doesn't appear to be a way to prevent this compiler from
 
10101
-           # explicitly linking system object files so we need to strip them
 
10102
-           # from the output so that they don't get included in the library
 
10103
-           # dependencies.
 
10104
-           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'
 
10105
-           ;;
 
10106
-         *)
 
10107
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
10108
-             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
10109
-             case $host in
 
10110
-               osf3*)
 
10111
-                 _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'
 
10112
-                 ;;
 
10113
-               *)
 
10114
-                 _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'
 
10115
-                 ;;
 
10116
-             esac
 
10117
-
 
10118
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
10119
-             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
10120
-
 
10121
-             # Commands to make compiler produce verbose output that lists
 
10122
-             # what "hidden" libraries, object files and flags are used when
 
10123
-             # linking a shared library.
 
10124
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
10125
-
 
10126
-           else
 
10127
-             # FIXME: insert proper C++ library support
 
10128
-             _LT_TAGVAR(ld_shlibs, $1)=no
 
10129
-           fi
 
10130
-           ;;
 
10131
-        esac
 
10132
-        ;;
 
10133
-
 
10134
-      psos*)
 
10135
-        # FIXME: insert proper C++ library support
 
10136
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
10137
-        ;;
 
10138
-
 
10139
-      sunos4*)
 
10140
-        case $cc_basename in
 
10141
-          CC*)
 
10142
-           # Sun C++ 4.x
 
10143
-           # FIXME: insert proper C++ library support
 
10144
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10145
-           ;;
 
10146
-          lcc*)
 
10147
-           # Lucid
 
10148
-           # FIXME: insert proper C++ library support
 
10149
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10150
-           ;;
 
10151
-          *)
 
10152
-           # FIXME: insert proper C++ library support
 
10153
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10154
-           ;;
 
10155
-        esac
 
10156
-        ;;
 
10157
-
 
10158
-      solaris*)
 
10159
-        case $cc_basename in
 
10160
-          CC*)
 
10161
-           # Sun C++ 4.2, 5.x and Centerline C++
 
10162
-            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
 
10163
-           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
10164
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
10165
-           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10166
-             $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'
 
10167
-
 
10168
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
10169
-           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10170
-           case $host_os in
 
10171
-             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
10172
-             *)
 
10173
-               # The compiler driver will combine and reorder linker options,
 
10174
-               # but understands `-z linker_flag'.
 
10175
-               # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10176
-               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
10177
-               ;;
 
10178
-           esac
 
10179
-           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
10180
-
 
10181
-           output_verbose_link_cmd='echo'
 
10182
-
 
10183
-           # Archives containing C++ object files must be created using
 
10184
-           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
10185
-           # necessary to make sure instantiated templates are included
 
10186
-           # in the archive.
 
10187
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
10188
-           ;;
 
10189
-          gcx*)
 
10190
-           # Green Hills C++ Compiler
 
10191
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
10192
-
 
10193
-           # The C++ compiler must be used to create the archive.
 
10194
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
10195
-           ;;
 
10196
-          *)
 
10197
-           # GNU C++ compiler with Solaris linker
 
10198
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
10199
-             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
10200
-             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
10201
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
10202
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10203
-                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
10204
-
 
10205
-               # Commands to make compiler produce verbose output that lists
 
10206
-               # what "hidden" libraries, object files and flags are used when
 
10207
-               # linking a shared library.
 
10208
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
10209
-             else
 
10210
-               # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
10211
-               # platform.
 
10212
-               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
10213
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10214
-                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
10215
-
 
10216
-               # Commands to make compiler produce verbose output that lists
 
10217
-               # what "hidden" libraries, object files and flags are used when
 
10218
-               # linking a shared library.
 
10219
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
10220
-             fi
 
10221
-
 
10222
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
10223
-             case $host_os in
 
10224
-               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
10225
-               *)
 
10226
-                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10227
-                 ;;
 
10228
-             esac
 
10229
-           fi
 
10230
-           ;;
 
10231
-        esac
 
10232
-        ;;
 
10233
-
 
10234
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
10235
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
10236
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
10237
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10238
-      runpath_var='LD_RUN_PATH'
 
10239
-
 
10240
-      case $cc_basename in
 
10241
-        CC*)
 
10242
-         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10243
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10244
-         ;;
 
10245
-       *)
 
10246
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10247
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10248
-         ;;
 
10249
-      esac
 
10250
-      ;;
 
10251
-
 
10252
-      sysv5* | sco3.2v5* | sco5v6*)
 
10253
-       # Note: We can NOT use -z defs as we might desire, because we do not
 
10254
-       # link with -lc, and that would cause any symbols used from libc to
 
10255
-       # always be unresolved, which means just about no library would
 
10256
-       # ever link correctly.  If we're not using GNU ld we use -z text
 
10257
-       # though, which does catch some bad symbols but isn't as heavy-handed
 
10258
-       # as -z defs.
 
10259
-       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
10260
-       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
10261
-       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
10262
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
10263
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
10264
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
10265
-       _LT_TAGVAR(link_all_deplibs, $1)=yes
 
10266
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
10267
-       runpath_var='LD_RUN_PATH'
 
10268
-
 
10269
-       case $cc_basename in
 
10270
-          CC*)
 
10271
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10272
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10273
-           ;;
 
10274
-         *)
 
10275
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10276
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10277
-           ;;
 
10278
-       esac
 
10279
-      ;;
 
10280
-
 
10281
-      tandem*)
 
10282
-        case $cc_basename in
 
10283
-          NCC*)
 
10284
-           # NonStop-UX NCC 3.20
 
10285
-           # FIXME: insert proper C++ library support
 
10286
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10287
-           ;;
 
10288
-          *)
 
10289
-           # FIXME: insert proper C++ library support
 
10290
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
10291
-           ;;
 
10292
-        esac
 
10293
-        ;;
 
10294
-
 
10295
-      vxworks*)
 
10296
-        # FIXME: insert proper C++ library support
 
10297
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
10298
-        ;;
 
10299
-
 
10300
-      *)
 
10301
-        # FIXME: insert proper C++ library support
 
10302
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
10303
-        ;;
 
10304
-    esac
 
10305
-
 
10306
-    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
10307
-    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
10308
-
 
10309
-    _LT_TAGVAR(GCC, $1)="$GXX"
 
10310
-    _LT_TAGVAR(LD, $1)="$LD"
 
10311
-
 
10312
-    ## CAVEAT EMPTOR:
 
10313
-    ## There is no encapsulation within the following macros, do not change
 
10314
-    ## the running order or otherwise move them around unless you know exactly
 
10315
-    ## what you are doing...
 
10316
-    _LT_SYS_HIDDEN_LIBDEPS($1)
 
10317
-    _LT_COMPILER_PIC($1)
 
10318
-    _LT_COMPILER_C_O($1)
 
10319
-    _LT_COMPILER_FILE_LOCKS($1)
 
10320
-    _LT_LINKER_SHLIBS($1)
 
10321
-    _LT_SYS_DYNAMIC_LINKER($1)
 
10322
-    _LT_LINKER_HARDCODE_LIBPATH($1)
 
10323
-
 
10324
-    _LT_CONFIG($1)
 
10325
-  fi # test -n "$compiler"
 
10326
-
 
10327
-  CC=$lt_save_CC
 
10328
-  LDCXX=$LD
 
10329
-  LD=$lt_save_LD
 
10330
-  GCC=$lt_save_GCC
 
10331
-  with_gnu_ld=$lt_save_with_gnu_ld
 
10332
-  lt_cv_path_LDCXX=$lt_cv_path_LD
 
10333
-  lt_cv_path_LD=$lt_save_path_LD
 
10334
-  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
10335
-  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
10336
-fi # test "$_lt_caught_CXX_error" != yes
 
10337
-
 
10338
-AC_LANG_POP
 
10339
-])# _LT_LANG_CXX_CONFIG
 
10340
-
 
10341
-
 
10342
-# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 
10343
-# ---------------------------------
 
10344
-# Figure out "hidden" library dependencies from verbose
 
10345
-# compiler output when linking a shared library.
 
10346
-# Parse the compiler output and extract the necessary
 
10347
-# objects, libraries and library flags.
 
10348
-m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 
10349
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
10350
-# Dependencies to place before and after the object being linked:
 
10351
-_LT_TAGVAR(predep_objects, $1)=
 
10352
-_LT_TAGVAR(postdep_objects, $1)=
 
10353
-_LT_TAGVAR(predeps, $1)=
 
10354
-_LT_TAGVAR(postdeps, $1)=
 
10355
-_LT_TAGVAR(compiler_lib_search_path, $1)=
 
10356
-
 
10357
-dnl we can't use the lt_simple_compile_test_code here,
 
10358
-dnl because it contains code intended for an executable,
 
10359
-dnl not a library.  It's possible we should let each
 
10360
-dnl tag define a new lt_????_link_test_code variable,
 
10361
-dnl but it's only used here...
 
10362
-m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
 
10363
-int a;
 
10364
-void foo (void) { a = 0; }
 
10365
-_LT_EOF
 
10366
-], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
 
10367
-class Foo
 
10368
-{
 
10369
-public:
 
10370
-  Foo (void) { a = 0; }
 
10371
-private:
 
10372
-  int a;
 
10373
-};
 
10374
-_LT_EOF
 
10375
-], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
 
10376
-      subroutine foo
 
10377
-      implicit none
 
10378
-      integer*4 a
 
10379
-      a=0
 
10380
-      return
 
10381
-      end
 
10382
-_LT_EOF
 
10383
-], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
 
10384
-      subroutine foo
 
10385
-      implicit none
 
10386
-      integer a
 
10387
-      a=0
 
10388
-      return
 
10389
-      end
 
10390
-_LT_EOF
 
10391
-], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
 
10392
-public class foo {
 
10393
-  private int a;
 
10394
-  public void bar (void) {
 
10395
-    a = 0;
 
10396
-  }
 
10397
-};
 
10398
-_LT_EOF
 
10399
-])
 
10400
-dnl Parse the compiler output and extract the necessary
 
10401
-dnl objects, libraries and library flags.
 
10402
-if AC_TRY_EVAL(ac_compile); then
 
10403
-  # Parse the compiler output and extract the necessary
 
10404
-  # objects, libraries and library flags.
 
10405
-
 
10406
-  # Sentinel used to keep track of whether or not we are before
 
10407
-  # the conftest object file.
 
10408
-  pre_test_object_deps_done=no
 
10409
-
 
10410
-  for p in `eval "$output_verbose_link_cmd"`; do
 
10411
-    case $p in
 
10412
-
 
10413
-    -L* | -R* | -l*)
 
10414
-       # Some compilers place space between "-{L,R}" and the path.
 
10415
-       # Remove the space.
 
10416
-       if test $p = "-L" ||
 
10417
-          test $p = "-R"; then
 
10418
-        prev=$p
 
10419
-        continue
 
10420
-       else
 
10421
-        prev=
 
10422
-       fi
 
10423
-
 
10424
-       if test "$pre_test_object_deps_done" = no; then
 
10425
-        case $p in
 
10426
-        -L* | -R*)
 
10427
-          # Internal compiler library paths should come after those
 
10428
-          # provided the user.  The postdeps already come after the
 
10429
-          # user supplied libs so there is no need to process them.
 
10430
-          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
 
10431
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
10432
-          else
 
10433
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
10434
-          fi
 
10435
-          ;;
 
10436
-        # The "-l" case would never come before the object being
 
10437
-        # linked, so don't bother handling this case.
 
10438
-        esac
 
10439
-       else
 
10440
-        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
 
10441
-          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
 
10442
-        else
 
10443
-          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 
10444
-        fi
 
10445
-       fi
 
10446
-       ;;
 
10447
-
 
10448
-    *.$objext)
 
10449
-       # This assumes that the test object file only shows up
 
10450
-       # once in the compiler output.
 
10451
-       if test "$p" = "conftest.$objext"; then
 
10452
-        pre_test_object_deps_done=yes
 
10453
-        continue
 
10454
-       fi
 
10455
-
 
10456
-       if test "$pre_test_object_deps_done" = no; then
 
10457
-        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
 
10458
-          _LT_TAGVAR(predep_objects, $1)="$p"
 
10459
-        else
 
10460
-          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
 
10461
-        fi
 
10462
-       else
 
10463
-        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
 
10464
-          _LT_TAGVAR(postdep_objects, $1)="$p"
 
10465
-        else
 
10466
-          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
 
10467
-        fi
 
10468
-       fi
 
10469
-       ;;
 
10470
-
 
10471
-    *) ;; # Ignore the rest.
 
10472
-
 
10473
-    esac
 
10474
-  done
 
10475
-
 
10476
-  # Clean up.
 
10477
-  rm -f a.out a.exe
 
10478
-else
 
10479
-  echo "libtool.m4: error: problem compiling $1 test program"
 
10480
-fi
 
10481
-
 
10482
-$RM -f confest.$objext
 
10483
-
 
10484
-# PORTME: override above test on systems where it is broken
 
10485
-m4_if([$1], [CXX],
 
10486
-[case $host_os in
 
10487
-interix[[3-9]]*)
 
10488
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
10489
-  # hack all around it, let's just trust "g++" to DTRT.
 
10490
-  _LT_TAGVAR(predep_objects,$1)=
 
10491
-  _LT_TAGVAR(postdep_objects,$1)=
 
10492
-  _LT_TAGVAR(postdeps,$1)=
 
10493
-  ;;
 
10494
-
 
10495
-linux*)
 
10496
-  case `$CC -V 2>&1 | sed 5q` in
 
10497
-  *Sun\ C*)
 
10498
-    # Sun C++ 5.9
 
10499
-
 
10500
-    # The more standards-conforming stlport4 library is
 
10501
-    # incompatible with the Cstd library. Avoid specifying
 
10502
-    # it if it's in CXXFLAGS. Ignore libCrun as
 
10503
-    # -library=stlport4 depends on it.
 
10504
-    case " $CXX $CXXFLAGS " in
 
10505
-    *" -library=stlport4 "*)
 
10506
-      solaris_use_stlport4=yes
 
10507
-      ;;
 
10508
-    esac
 
10509
-
 
10510
-    if test "$solaris_use_stlport4" != yes; then
 
10511
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
10512
-    fi
 
10513
-    ;;
 
10514
-  esac
 
10515
-  ;;
 
10516
-
 
10517
-solaris*)
 
10518
-  case $cc_basename in
 
10519
-  CC*)
 
10520
-    # The more standards-conforming stlport4 library is
 
10521
-    # incompatible with the Cstd library. Avoid specifying
 
10522
-    # it if it's in CXXFLAGS. Ignore libCrun as
 
10523
-    # -library=stlport4 depends on it.
 
10524
-    case " $CXX $CXXFLAGS " in
 
10525
-    *" -library=stlport4 "*)
 
10526
-      solaris_use_stlport4=yes
 
10527
-      ;;
 
10528
-    esac
 
10529
-
 
10530
-    # Adding this requires a known-good setup of shared libraries for
 
10531
-    # Sun compiler versions before 5.6, else PIC objects from an old
 
10532
-    # archive will be linked into the output, leading to subtle bugs.
 
10533
-    if test "$solaris_use_stlport4" != yes; then
 
10534
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
10535
+        if test -z "$haveit"; then
 
10536
+          if test -d "$additional_libdir"; then
 
10537
+            dnl Really add $additional_libdir to $LDFLAGS.
 
10538
+            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
 
10539
+          fi
 
10540
+        fi
 
10541
+      fi
 
10542
     fi
 
10543
-    ;;
 
10544
-  esac
 
10545
-  ;;
 
10546
-esac
 
10547
+  fi
 
10548
 ])
 
10549
 
 
10550
-case " $_LT_TAGVAR(postdeps, $1) " in
 
10551
-*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
10552
-esac
 
10553
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=
 
10554
-if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
 
10555
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
10556
-fi
 
10557
-_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
 
10558
-    [The directories searched by this compiler when creating a shared library])
 
10559
-_LT_TAGDECL([], [predep_objects], [1],
 
10560
-    [Dependencies to place before and after the objects being linked to
 
10561
-    create a shared library])
 
10562
-_LT_TAGDECL([], [postdep_objects], [1])
 
10563
-_LT_TAGDECL([], [predeps], [1])
 
10564
-_LT_TAGDECL([], [postdeps], [1])
 
10565
-_LT_TAGDECL([], [compiler_lib_search_path], [1],
 
10566
-    [The library search path used internally by the compiler when linking
 
10567
-    a shared library])
 
10568
-])# _LT_SYS_HIDDEN_LIBDEPS
 
10569
-
 
10570
-
 
10571
-# _LT_PROG_F77
 
10572
-# ------------
 
10573
-# Since AC_PROG_F77 is broken, in that it returns the empty string
 
10574
-# if there is no fortran compiler, we have our own version here.
 
10575
-m4_defun([_LT_PROG_F77],
 
10576
+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
 
10577
+dnl acl_final_exec_prefix, containing the values to which $prefix and
 
10578
+dnl $exec_prefix will expand at the end of the configure script.
 
10579
+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
 
10580
 [
 
10581
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
 
10582
-AC_PROG_F77
 
10583
-if test -z "$F77" || test "X$F77" = "Xno"; then
 
10584
-  _lt_disable_F77=yes
 
10585
-fi
 
10586
-popdef([AC_MSG_ERROR])
 
10587
-])# _LT_PROG_F77
 
10588
-
 
10589
-dnl aclocal-1.4 backwards compatibility:
 
10590
-dnl AC_DEFUN([_LT_PROG_F77], [])
 
10591
-
 
10592
-
 
10593
-# _LT_LANG_F77_CONFIG([TAG])
 
10594
-# --------------------------
 
10595
-# Ensure that the configuration variables for a Fortran 77 compiler are
 
10596
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
10597
-# to write the compiler configuration to `libtool'.
 
10598
-m4_defun([_LT_LANG_F77_CONFIG],
 
10599
-[AC_REQUIRE([_LT_PROG_F77])dnl
 
10600
-AC_LANG_PUSH(Fortran 77)
 
10601
-
 
10602
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
10603
-_LT_TAGVAR(allow_undefined_flag, $1)=
 
10604
-_LT_TAGVAR(always_export_symbols, $1)=no
 
10605
-_LT_TAGVAR(archive_expsym_cmds, $1)=
 
10606
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
10607
-_LT_TAGVAR(hardcode_direct, $1)=no
 
10608
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
10609
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
10610
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
10611
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
10612
-_LT_TAGVAR(hardcode_minus_L, $1)=no
 
10613
-_LT_TAGVAR(hardcode_automatic, $1)=no
 
10614
-_LT_TAGVAR(inherit_rpath, $1)=no
 
10615
-_LT_TAGVAR(module_cmds, $1)=
 
10616
-_LT_TAGVAR(module_expsym_cmds, $1)=
 
10617
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
10618
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
10619
-_LT_TAGVAR(no_undefined_flag, $1)=
 
10620
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
10621
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
10622
-
 
10623
-# Source file extension for f77 test sources.
 
10624
-ac_ext=f
 
10625
-
 
10626
-# Object file extension for compiled f77 test sources.
 
10627
-objext=o
 
10628
-_LT_TAGVAR(objext, $1)=$objext
 
10629
-
 
10630
-# No sense in running all these tests if we already determined that
 
10631
-# the F77 compiler isn't working.  Some variables (like enable_shared)
 
10632
-# are currently assumed to apply to all compilers on this platform,
 
10633
-# and will be corrupted by setting them based on a non-working compiler.
 
10634
-if test "$_lt_disable_F77" != yes; then
 
10635
-  # Code to be used in simple compile tests
 
10636
-  lt_simple_compile_test_code="\
 
10637
-      subroutine t
 
10638
-      return
 
10639
-      end
 
10640
-"
 
10641
-
 
10642
-  # Code to be used in simple link tests
 
10643
-  lt_simple_link_test_code="\
 
10644
-      program t
 
10645
-      end
 
10646
-"
 
10647
-
 
10648
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
10649
-  _LT_TAG_COMPILER
 
10650
-
 
10651
-  # save warnings/boilerplate of simple test code
 
10652
-  _LT_COMPILER_BOILERPLATE
 
10653
-  _LT_LINKER_BOILERPLATE
 
10654
-
 
10655
-  # Allow CC to be a program name with arguments.
 
10656
-  lt_save_CC="$CC"
 
10657
-  lt_save_GCC=$GCC
 
10658
-  CC=${F77-"f77"}
 
10659
-  compiler=$CC
 
10660
-  _LT_TAGVAR(compiler, $1)=$CC
 
10661
-  _LT_CC_BASENAME([$compiler])
 
10662
-  GCC=$G77
 
10663
-  if test -n "$compiler"; then
 
10664
-    AC_MSG_CHECKING([if libtool supports shared libraries])
 
10665
-    AC_MSG_RESULT([$can_build_shared])
 
10666
-
 
10667
-    AC_MSG_CHECKING([whether to build shared libraries])
 
10668
-    test "$can_build_shared" = "no" && enable_shared=no
 
10669
-
 
10670
-    # On AIX, shared libraries and static libraries use the same namespace, and
 
10671
-    # are all built from PIC.
 
10672
-    case $host_os in
 
10673
-      aix3*)
 
10674
-        test "$enable_shared" = yes && enable_static=no
 
10675
-        if test -n "$RANLIB"; then
 
10676
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10677
-          postinstall_cmds='$RANLIB $lib'
 
10678
-        fi
 
10679
-        ;;
 
10680
-      aix[[4-9]]*)
 
10681
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10682
-         test "$enable_shared" = yes && enable_static=no
 
10683
-       fi
 
10684
-        ;;
 
10685
-    esac
 
10686
-    AC_MSG_RESULT([$enable_shared])
 
10687
+  dnl Unfortunately, prefix and exec_prefix get only finally determined
 
10688
+  dnl at the end of configure.
 
10689
+  if test "X$prefix" = "XNONE"; then
 
10690
+    acl_final_prefix="$ac_default_prefix"
 
10691
+  else
 
10692
+    acl_final_prefix="$prefix"
 
10693
+  fi
 
10694
+  if test "X$exec_prefix" = "XNONE"; then
 
10695
+    acl_final_exec_prefix='${prefix}'
 
10696
+  else
 
10697
+    acl_final_exec_prefix="$exec_prefix"
 
10698
+  fi
 
10699
+  acl_save_prefix="$prefix"
 
10700
+  prefix="$acl_final_prefix"
 
10701
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
10702
+  prefix="$acl_save_prefix"
 
10703
+])
 
10704
 
 
10705
-    AC_MSG_CHECKING([whether to build static libraries])
 
10706
-    # Make sure either enable_shared or enable_static is yes.
 
10707
-    test "$enable_shared" = yes || enable_static=yes
 
10708
-    AC_MSG_RESULT([$enable_static])
 
10709
-
 
10710
-    _LT_TAGVAR(GCC, $1)="$G77"
 
10711
-    _LT_TAGVAR(LD, $1)="$LD"
 
10712
-
 
10713
-    ## CAVEAT EMPTOR:
 
10714
-    ## There is no encapsulation within the following macros, do not change
 
10715
-    ## the running order or otherwise move them around unless you know exactly
 
10716
-    ## what you are doing...
 
10717
-    _LT_COMPILER_PIC($1)
 
10718
-    _LT_COMPILER_C_O($1)
 
10719
-    _LT_COMPILER_FILE_LOCKS($1)
 
10720
-    _LT_LINKER_SHLIBS($1)
 
10721
-    _LT_SYS_DYNAMIC_LINKER($1)
 
10722
-    _LT_LINKER_HARDCODE_LIBPATH($1)
 
10723
-
 
10724
-    _LT_CONFIG($1)
 
10725
-  fi # test -n "$compiler"
 
10726
-
 
10727
-  GCC=$lt_save_GCC
 
10728
-  CC="$lt_save_CC"
 
10729
-fi # test "$_lt_disable_F77" != yes
 
10730
-
 
10731
-AC_LANG_POP
 
10732
-])# _LT_LANG_F77_CONFIG
 
10733
-
 
10734
-
 
10735
-# _LT_PROG_FC
 
10736
-# -----------
 
10737
-# Since AC_PROG_FC is broken, in that it returns the empty string
 
10738
-# if there is no fortran compiler, we have our own version here.
 
10739
-m4_defun([_LT_PROG_FC],
 
10740
+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
 
10741
+dnl variables prefix and exec_prefix bound to the values they will have
 
10742
+dnl at the end of the configure script.
 
10743
+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
 
10744
 [
 
10745
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
 
10746
-AC_PROG_FC
 
10747
-if test -z "$FC" || test "X$FC" = "Xno"; then
 
10748
-  _lt_disable_FC=yes
 
10749
-fi
 
10750
-popdef([AC_MSG_ERROR])
 
10751
-])# _LT_PROG_FC
 
10752
-
 
10753
-dnl aclocal-1.4 backwards compatibility:
 
10754
-dnl AC_DEFUN([_LT_PROG_FC], [])
 
10755
-
 
10756
-
 
10757
-# _LT_LANG_FC_CONFIG([TAG])
 
10758
-# -------------------------
 
10759
-# Ensure that the configuration variables for a Fortran compiler are
 
10760
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
10761
-# to write the compiler configuration to `libtool'.
 
10762
-m4_defun([_LT_LANG_FC_CONFIG],
 
10763
-[AC_REQUIRE([_LT_PROG_FC])dnl
 
10764
-AC_LANG_PUSH(Fortran)
 
10765
-
 
10766
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
10767
-_LT_TAGVAR(allow_undefined_flag, $1)=
 
10768
-_LT_TAGVAR(always_export_symbols, $1)=no
 
10769
-_LT_TAGVAR(archive_expsym_cmds, $1)=
 
10770
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
10771
-_LT_TAGVAR(hardcode_direct, $1)=no
 
10772
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
10773
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
10774
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
10775
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
10776
-_LT_TAGVAR(hardcode_minus_L, $1)=no
 
10777
-_LT_TAGVAR(hardcode_automatic, $1)=no
 
10778
-_LT_TAGVAR(inherit_rpath, $1)=no
 
10779
-_LT_TAGVAR(module_cmds, $1)=
 
10780
-_LT_TAGVAR(module_expsym_cmds, $1)=
 
10781
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
10782
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
10783
-_LT_TAGVAR(no_undefined_flag, $1)=
 
10784
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
10785
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
10786
-
 
10787
-# Source file extension for fc test sources.
 
10788
-ac_ext=${ac_fc_srcext-f}
 
10789
-
 
10790
-# Object file extension for compiled fc test sources.
 
10791
-objext=o
 
10792
-_LT_TAGVAR(objext, $1)=$objext
 
10793
-
 
10794
-# No sense in running all these tests if we already determined that
 
10795
-# the FC compiler isn't working.  Some variables (like enable_shared)
 
10796
-# are currently assumed to apply to all compilers on this platform,
 
10797
-# and will be corrupted by setting them based on a non-working compiler.
 
10798
-if test "$_lt_disable_FC" != yes; then
 
10799
-  # Code to be used in simple compile tests
 
10800
-  lt_simple_compile_test_code="\
 
10801
-      subroutine t
 
10802
-      return
 
10803
-      end
 
10804
-"
 
10805
-
 
10806
-  # Code to be used in simple link tests
 
10807
-  lt_simple_link_test_code="\
 
10808
-      program t
 
10809
-      end
 
10810
-"
 
10811
-
 
10812
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
10813
-  _LT_TAG_COMPILER
 
10814
-
 
10815
-  # save warnings/boilerplate of simple test code
 
10816
-  _LT_COMPILER_BOILERPLATE
 
10817
-  _LT_LINKER_BOILERPLATE
 
10818
-
 
10819
-  # Allow CC to be a program name with arguments.
 
10820
-  lt_save_CC="$CC"
 
10821
-  lt_save_GCC=$GCC
 
10822
-  CC=${FC-"f95"}
 
10823
-  compiler=$CC
 
10824
-  GCC=$ac_cv_fc_compiler_gnu
 
10825
-
 
10826
-  _LT_TAGVAR(compiler, $1)=$CC
 
10827
-  _LT_CC_BASENAME([$compiler])
 
10828
-
 
10829
-  if test -n "$compiler"; then
 
10830
-    AC_MSG_CHECKING([if libtool supports shared libraries])
 
10831
-    AC_MSG_RESULT([$can_build_shared])
 
10832
-
 
10833
-    AC_MSG_CHECKING([whether to build shared libraries])
 
10834
-    test "$can_build_shared" = "no" && enable_shared=no
 
10835
-
 
10836
-    # On AIX, shared libraries and static libraries use the same namespace, and
 
10837
-    # are all built from PIC.
 
10838
-    case $host_os in
 
10839
-      aix3*)
 
10840
-        test "$enable_shared" = yes && enable_static=no
 
10841
-        if test -n "$RANLIB"; then
 
10842
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10843
-          postinstall_cmds='$RANLIB $lib'
 
10844
-        fi
 
10845
-        ;;
 
10846
-      aix[[4-9]]*)
 
10847
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10848
-         test "$enable_shared" = yes && enable_static=no
 
10849
-       fi
 
10850
-        ;;
 
10851
-    esac
 
10852
-    AC_MSG_RESULT([$enable_shared])
 
10853
-
 
10854
-    AC_MSG_CHECKING([whether to build static libraries])
 
10855
-    # Make sure either enable_shared or enable_static is yes.
 
10856
-    test "$enable_shared" = yes || enable_static=yes
 
10857
-    AC_MSG_RESULT([$enable_static])
 
10858
-
 
10859
-    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
 
10860
-    _LT_TAGVAR(LD, $1)="$LD"
 
10861
-
 
10862
-    ## CAVEAT EMPTOR:
 
10863
-    ## There is no encapsulation within the following macros, do not change
 
10864
-    ## the running order or otherwise move them around unless you know exactly
 
10865
-    ## what you are doing...
 
10866
-    _LT_SYS_HIDDEN_LIBDEPS($1)
 
10867
-    _LT_COMPILER_PIC($1)
 
10868
-    _LT_COMPILER_C_O($1)
 
10869
-    _LT_COMPILER_FILE_LOCKS($1)
 
10870
-    _LT_LINKER_SHLIBS($1)
 
10871
-    _LT_SYS_DYNAMIC_LINKER($1)
 
10872
-    _LT_LINKER_HARDCODE_LIBPATH($1)
 
10873
-
 
10874
-    _LT_CONFIG($1)
 
10875
-  fi # test -n "$compiler"
 
10876
-
 
10877
-  GCC=$lt_save_GCC
 
10878
-  CC="$lt_save_CC"
 
10879
-fi # test "$_lt_disable_FC" != yes
 
10880
-
 
10881
-AC_LANG_POP
 
10882
-])# _LT_LANG_FC_CONFIG
 
10883
-
 
10884
-
 
10885
-# _LT_LANG_GCJ_CONFIG([TAG])
 
10886
-# --------------------------
 
10887
-# Ensure that the configuration variables for the GNU Java Compiler compiler
 
10888
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
10889
-# to write the compiler configuration to `libtool'.
 
10890
-m4_defun([_LT_LANG_GCJ_CONFIG],
 
10891
-[AC_REQUIRE([LT_PROG_GCJ])dnl
 
10892
-AC_LANG_SAVE
 
10893
-
 
10894
-# Source file extension for Java test sources.
 
10895
-ac_ext=java
 
10896
-
 
10897
-# Object file extension for compiled Java test sources.
 
10898
-objext=o
 
10899
-_LT_TAGVAR(objext, $1)=$objext
 
10900
-
 
10901
-# Code to be used in simple compile tests
 
10902
-lt_simple_compile_test_code="class foo {}"
 
10903
-
 
10904
-# Code to be used in simple link tests
 
10905
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
 
10906
-
 
10907
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
10908
-_LT_TAG_COMPILER
 
10909
-
 
10910
-# save warnings/boilerplate of simple test code
 
10911
-_LT_COMPILER_BOILERPLATE
 
10912
-_LT_LINKER_BOILERPLATE
 
10913
-
 
10914
-# Allow CC to be a program name with arguments.
 
10915
-lt_save_CC="$CC"
 
10916
-lt_save_GCC=$GCC
 
10917
-GCC=yes
 
10918
-CC=${GCJ-"gcj"}
 
10919
-compiler=$CC
 
10920
-_LT_TAGVAR(compiler, $1)=$CC
 
10921
-_LT_TAGVAR(LD, $1)="$LD"
 
10922
-_LT_CC_BASENAME([$compiler])
 
10923
-
 
10924
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
10925
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
10926
-
 
10927
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
10928
-
 
10929
-if test -n "$compiler"; then
 
10930
-  _LT_COMPILER_NO_RTTI($1)
 
10931
-  _LT_COMPILER_PIC($1)
 
10932
-  _LT_COMPILER_C_O($1)
 
10933
-  _LT_COMPILER_FILE_LOCKS($1)
 
10934
-  _LT_LINKER_SHLIBS($1)
 
10935
-  _LT_LINKER_HARDCODE_LIBPATH($1)
 
10936
-
 
10937
-  _LT_CONFIG($1)
 
10938
-fi
 
10939
-
 
10940
-AC_LANG_RESTORE
 
10941
-
 
10942
-GCC=$lt_save_GCC
 
10943
-CC="$lt_save_CC"
 
10944
-])# _LT_LANG_GCJ_CONFIG
 
10945
-
 
10946
-
 
10947
-# _LT_LANG_RC_CONFIG([TAG])
 
10948
-# -------------------------
 
10949
-# Ensure that the configuration variables for the Windows resource compiler
 
10950
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
10951
-# to write the compiler configuration to `libtool'.
 
10952
-m4_defun([_LT_LANG_RC_CONFIG],
 
10953
-[AC_REQUIRE([LT_PROG_RC])dnl
 
10954
-AC_LANG_SAVE
 
10955
-
 
10956
-# Source file extension for RC test sources.
 
10957
-ac_ext=rc
 
10958
-
 
10959
-# Object file extension for compiled RC test sources.
 
10960
-objext=o
 
10961
-_LT_TAGVAR(objext, $1)=$objext
 
10962
-
 
10963
-# Code to be used in simple compile tests
 
10964
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
10965
-
 
10966
-# Code to be used in simple link tests
 
10967
-lt_simple_link_test_code="$lt_simple_compile_test_code"
 
10968
-
 
10969
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
10970
-_LT_TAG_COMPILER
 
10971
-
 
10972
-# save warnings/boilerplate of simple test code
 
10973
-_LT_COMPILER_BOILERPLATE
 
10974
-_LT_LINKER_BOILERPLATE
 
10975
-
 
10976
-# Allow CC to be a program name with arguments.
 
10977
-lt_save_CC="$CC"
 
10978
-lt_save_GCC=$GCC
 
10979
-GCC=
 
10980
-CC=${RC-"windres"}
 
10981
-compiler=$CC
 
10982
-_LT_TAGVAR(compiler, $1)=$CC
 
10983
-_LT_CC_BASENAME([$compiler])
 
10984
-_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
10985
-
 
10986
-if test -n "$compiler"; then
 
10987
-  :
 
10988
-  _LT_CONFIG($1)
 
10989
-fi
 
10990
-
 
10991
-GCC=$lt_save_GCC
 
10992
-AC_LANG_RESTORE
 
10993
-CC="$lt_save_CC"
 
10994
-])# _LT_LANG_RC_CONFIG
 
10995
-
 
10996
+  acl_save_prefix="$prefix"
 
10997
+  prefix="$acl_final_prefix"
 
10998
+  acl_save_exec_prefix="$exec_prefix"
 
10999
+  exec_prefix="$acl_final_exec_prefix"
 
11000
+  $1
 
11001
+  exec_prefix="$acl_save_exec_prefix"
 
11002
+  prefix="$acl_save_prefix"
 
11003
+])
 
11004
 
 
11005
-# LT_PROG_GCJ
 
11006
-# -----------
 
11007
-AC_DEFUN([LT_PROG_GCJ],
 
11008
-[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
 
11009
-  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
 
11010
-    [AC_CHECK_TOOL(GCJ, gcj,)
 
11011
-      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
11012
-      AC_SUBST(GCJFLAGS)])])[]dnl
 
11013
+dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
 
11014
+dnl the basename of the libdir, either "lib" or "lib64".
 
11015
+AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
 
11016
+[
 
11017
+  dnl There is no formal standard regarding lib and lib64. The current
 
11018
+  dnl practice is that on a system supporting 32-bit and 64-bit instruction
 
11019
+  dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
 
11020
+  dnl libraries go under $prefix/lib. We determine the compiler's default
 
11021
+  dnl mode by looking at the compiler's library search path. If at least
 
11022
+  dnl of its elements ends in /lib64 or points to a directory whose absolute
 
11023
+  dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
 
11024
+  dnl default, namely "lib".
 
11025
+  acl_libdirstem=lib
 
11026
+  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
11027
+  if test -n "$searchpath"; then
 
11028
+    acl_save_IFS="${IFS=       }"; IFS=":"
 
11029
+    for searchdir in $searchpath; do
 
11030
+      if test -d "$searchdir"; then
 
11031
+        case "$searchdir" in
 
11032
+          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
11033
+          *) searchdir=`cd "$searchdir" && pwd`
 
11034
+             case "$searchdir" in
 
11035
+               */lib64 ) acl_libdirstem=lib64 ;;
 
11036
+             esac ;;
 
11037
+        esac
 
11038
+      fi
 
11039
+    done
 
11040
+    IFS="$acl_save_IFS"
 
11041
+  fi
 
11042
 ])
 
11043
 
 
11044
-# Old name:
 
11045
-AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
 
11046
-dnl aclocal-1.4 backwards compatibility:
 
11047
-dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
11048
-
 
11049
-
 
11050
-# LT_PROG_RC
 
11051
-# ----------
 
11052
-AC_DEFUN([LT_PROG_RC],
 
11053
-[AC_CHECK_TOOL(RC, windres,)
 
11054
-])
6195
11055
+# nls.m4 serial 3 (gettext-0.15)
6196
11056
+dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
6197
11057
+dnl This file is free software; the Free Software Foundation
6207
11067
+dnl gettext package package is covered by the GNU General Public License.
6208
11068
+dnl They are *not* in the public domain.
6209
11069
 
6210
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
6211
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6212
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6213
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6214
 
-      ;;
 
11070
-# Old name:
 
11071
-AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
 
11072
-dnl aclocal-1.4 backwards compatibility:
 
11073
-dnl AC_DEFUN([LT_AC_PROG_RC], [])
6215
11074
+dnl Authors:
6216
11075
+dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
6217
11076
+dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
6218
11077
 
6219
 
-    sysv4*MP*)
6220
 
-      if test -d /usr/nec ;then
6221
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
6222
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6223
 
-      fi
6224
 
-      ;;
6225
11078
+AC_PREREQ(2.50)
6226
11079
 
6227
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6228
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6229
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6230
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6231
 
-      ;;
 
11080
-# _LT_DECL_EGREP
 
11081
-# --------------
 
11082
-# If we don't have a new enough Autoconf to choose the best grep
 
11083
-# available, choose the one first in the user's PATH.
 
11084
-m4_defun([_LT_DECL_EGREP],
 
11085
-[AC_REQUIRE([AC_PROG_EGREP])dnl
 
11086
-AC_REQUIRE([AC_PROG_FGREP])dnl
 
11087
-test -z "$GREP" && GREP=grep
 
11088
-_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
 
11089
-_LT_DECL([], [EGREP], [1], [An ERE matcher])
 
11090
-_LT_DECL([], [FGREP], [1], [A literal string matcher])
 
11091
-dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
 
11092
-AC_SUBST([GREP])
6232
11093
+AC_DEFUN([AM_NLS],
6233
11094
+[
6234
11095
+  AC_MSG_CHECKING([whether NLS is requested])
6238
11099
+    USE_NLS=$enableval, USE_NLS=yes)
6239
11100
+  AC_MSG_RESULT($USE_NLS)
6240
11101
+  AC_SUBST(USE_NLS)
6241
 
+])
 
11102
 ])
6242
11103
 
6243
 
-    unicos*)
6244
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6245
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6246
 
-      ;;
6247
11104
+# po.m4 serial 15 (gettext-0.17)
6248
11105
+dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
6249
11106
+dnl This file is free software; the Free Software Foundation
6259
11116
+dnl gettext package package is covered by the GNU General Public License.
6260
11117
+dnl They are *not* in the public domain.
6261
11118
 
6262
 
-    uts4*)
6263
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6264
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6265
 
-      ;;
 
11119
-# _LT_DECL_OBJDUMP
 
11120
-# --------------
 
11121
-# If we don't have a new enough Autoconf to choose the best objdump
 
11122
-# available, choose the one first in the user's PATH.
 
11123
-m4_defun([_LT_DECL_OBJDUMP],
 
11124
-[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
11125
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
11126
-_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
11127
-AC_SUBST([OBJDUMP])
 
11128
-])
6266
11129
+dnl Authors:
6267
11130
+dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
6268
11131
+dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
6269
11132
 
6270
 
-    *)
6271
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6272
 
-      ;;
6273
 
-    esac
 
11133
+AC_PREREQ(2.50)
 
11134
 
 
11135
-# _LT_DECL_SED
 
11136
-# ------------
 
11137
-# Check for a fully-functional sed program, that truncates
 
11138
-# as few characters as possible.  Prefer GNU sed if found.
 
11139
-m4_defun([_LT_DECL_SED],
 
11140
-[AC_PROG_SED
 
11141
-test -z "$SED" && SED=sed
 
11142
-Xsed="$SED -e 1s/^X//"
 
11143
-_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
 
11144
-_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
 
11145
-    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
 
11146
-])# _LT_DECL_SED
 
11147
-
 
11148
-m4_ifndef([AC_PROG_SED], [
 
11149
-# NOTE: This macro has been submitted for inclusion into   #
 
11150
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 
11151
-#  a released version of Autoconf we should remove this    #
 
11152
-#  macro and use it instead.                               #
 
11153
-
 
11154
-m4_defun([AC_PROG_SED],
 
11155
-[AC_MSG_CHECKING([for a sed that does not truncate output])
 
11156
-AC_CACHE_VAL(lt_cv_path_SED,
 
11157
-[# Loop through the user's path and test for sed and gsed.
 
11158
-# Then use that list of sed's as ones to test for truncation.
 
11159
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11160
-for as_dir in $PATH
 
11161
-do
 
11162
-  IFS=$as_save_IFS
 
11163
-  test -z "$as_dir" && as_dir=.
 
11164
-  for lt_ac_prog in sed gsed; do
 
11165
-    for ac_exec_ext in '' $ac_executable_extensions; do
 
11166
-      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
11167
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
11168
-      fi
 
11169
-    done
 
11170
-  done
 
11171
-done
 
11172
-IFS=$as_save_IFS
 
11173
-lt_ac_max=0
 
11174
-lt_ac_count=0
 
11175
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
11176
-# along with /bin/sed that truncates output.
 
11177
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
11178
-  test ! -f $lt_ac_sed && continue
 
11179
-  cat /dev/null > conftest.in
 
11180
-  lt_ac_count=0
 
11181
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
11182
-  # Check for GNU sed and select it if it is found.
 
11183
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
11184
-    lt_cv_path_SED=$lt_ac_sed
 
11185
-    break
6274
11186
-  fi
 
11187
-  while true; do
 
11188
-    cat conftest.in conftest.in >conftest.tmp
 
11189
-    mv conftest.tmp conftest.in
 
11190
-    cp conftest.in conftest.nl
 
11191
-    echo >>conftest.nl
 
11192
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
11193
-    cmp -s conftest.out conftest.nl || break
 
11194
-    # 10000 chars as input seems more than enough
 
11195
-    test $lt_ac_count -gt 10 && break
 
11196
-    lt_ac_count=`expr $lt_ac_count + 1`
 
11197
-    if test $lt_ac_count -gt $lt_ac_max; then
 
11198
-      lt_ac_max=$lt_ac_count
 
11199
-      lt_cv_path_SED=$lt_ac_sed
 
11200
-    fi
 
11201
-  done
 
11202
-done
6275
11203
-])
6276
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
6277
 
+AC_PREREQ(2.50)
6278
 
 
6279
 
-#
6280
 
-# Check to make sure the PIC flag actually works.
6281
 
-#
6282
 
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6283
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6284
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
6285
 
-    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6286
 
-    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6287
 
-     "" | " "*) ;;
6288
 
-     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
6289
 
-     esac],
6290
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6291
 
-     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
6292
 
-fi
6293
 
-case $host_os in
6294
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
6295
 
-  *djgpp*)
6296
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6297
 
-    ;;
6298
 
-  *)
6299
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
6300
 
-    ;;
6301
 
-esac
 
11204
-SED=$lt_cv_path_SED
 
11205
-AC_SUBST([SED])
 
11206
-AC_MSG_RESULT([$SED])
 
11207
-])#AC_PROG_SED
 
11208
-])#m4_ifndef
 
11209
-
 
11210
-# Old name:
 
11211
-AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
 
11212
-dnl aclocal-1.4 backwards compatibility:
 
11213
-dnl AC_DEFUN([LT_AC_PROG_SED], [])
 
11214
-
 
11215
-
 
11216
-# _LT_CHECK_SHELL_FEATURES
 
11217
-# ------------------------
 
11218
-# Find out whether the shell is Bourne or XSI compatible,
 
11219
-# or has some other useful features.
 
11220
-m4_defun([_LT_CHECK_SHELL_FEATURES],
 
11221
-[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
 
11222
-# Try some XSI features
 
11223
-xsi_shell=no
 
11224
-( _lt_dummy="a/b/c"
 
11225
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
11226
-      = c,a/b,, \
 
11227
-    && eval 'test $(( 1 + 1 )) -eq 2 \
 
11228
-    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
11229
-  && xsi_shell=yes
 
11230
-AC_MSG_RESULT([$xsi_shell])
 
11231
-_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
 
11232
-
 
11233
-AC_MSG_CHECKING([whether the shell understands "+="])
 
11234
-lt_shell_append=no
 
11235
-( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
 
11236
-    >/dev/null 2>&1 \
 
11237
-  && lt_shell_append=yes
 
11238
-AC_MSG_RESULT([$lt_shell_append])
 
11239
-_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
6302
11240
+dnl Checks for all prerequisites of the po subdirectory.
6303
11241
+AC_DEFUN([AM_PO_SUBDIRS],
6304
11242
+[
6307
11245
+  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
6308
11246
+  AC_REQUIRE([AM_NLS])dnl
6309
11247
 
6310
 
-#
6311
 
-# Check to make sure the static flag actually works.
6312
 
-#
6313
 
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
6314
 
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
6315
 
-  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
6316
 
-  $lt_tmp_static_flag,
6317
 
-  [],
6318
 
-  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
6319
 
-])
 
11248
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
11249
-  lt_unset=unset
 
11250
-else
 
11251
-  lt_unset=false
 
11252
-fi
 
11253
-_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
6320
11254
+  dnl Release version of the gettext macros. This is used to ensure that
6321
11255
+  dnl the gettext macros and po/Makefile.in.in are in sync.
6322
11256
+  AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
6323
11257
 
 
11258
-# test EBCDIC or ASCII
 
11259
-case `echo X|tr X '\101'` in
 
11260
- A) # ASCII based system
 
11261
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
11262
-  lt_SP2NL='tr \040 \012'
 
11263
-  lt_NL2SP='tr \015\012 \040\040'
 
11264
-  ;;
 
11265
- *) # EBCDIC based system
 
11266
-  lt_SP2NL='tr \100 \n'
 
11267
-  lt_NL2SP='tr \r\n \100\100'
 
11268
-  ;;
 
11269
-esac
 
11270
-_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
 
11271
-_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 
11272
-])# _LT_CHECK_SHELL_FEATURES
6324
11273
+  dnl Perform the following tests also if --disable-nls has been given,
6325
11274
+  dnl because they are needed for "make dist" to work.
6326
11275
 
6327
 
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
6328
 
-# ------------------------------------
6329
 
-# See if the linker supports building shared libraries.
6330
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
6331
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
6332
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6333
 
-ifelse([$1],[CXX],[
6334
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6335
 
-  case $host_os in
6336
 
-  aix[[4-9]]*)
6337
 
-    # If we're using GNU nm, then we don't want the "-C" option.
6338
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
6339
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6340
 
-      _LT_AC_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'
6341
 
-    else
6342
 
-      _LT_AC_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'
6343
 
-    fi
6344
 
-    ;;
6345
 
-  pw32*)
6346
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
6347
 
-  ;;
6348
 
-  cygwin* | mingw*)
6349
 
-    _LT_AC_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'
6350
 
-  ;;
6351
 
-  *)
6352
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6353
 
-  ;;
6354
 
-  esac
6355
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6356
 
-],[
6357
 
-  runpath_var=
6358
 
-  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6359
 
-  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6360
 
-  _LT_AC_TAGVAR(archive_cmds, $1)=
6361
 
-  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
6362
 
-  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
6363
 
-  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
6364
 
-  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6365
 
-  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6366
 
-  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
6367
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6368
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6369
 
-  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6370
 
-  _LT_AC_TAGVAR(hardcode_direct, $1)=no
6371
 
-  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6372
 
-  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6373
 
-  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
6374
 
-  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
6375
 
-  _LT_AC_TAGVAR(module_cmds, $1)=
6376
 
-  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
6377
 
-  _LT_AC_TAGVAR(always_export_symbols, $1)=no
6378
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6379
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
6380
 
-  # included in the symbol list
6381
 
-  _LT_AC_TAGVAR(include_expsyms, $1)=
6382
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
6383
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6384
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6385
 
-  # as well as any symbol that contains `d'.
6386
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6387
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6388
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
6389
 
-  # the symbol is explicitly referenced.  Since portable code cannot
6390
 
-  # rely on this symbol name, it's probably fine to never include it in
6391
 
-  # preloaded symbol tables.
6392
 
-  # Exclude shared library initialization/finalization symbols.
6393
 
-dnl Note also adjust exclude_expsyms for C++ above.
6394
 
-  extract_expsyms_cmds=
6395
 
-  # Just being paranoid about ensuring that cc_basename is set.
6396
 
-  _LT_CC_BASENAME([$compiler])
6397
 
-  case $host_os in
6398
 
-  cygwin* | mingw* | pw32*)
6399
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
6400
 
-    # When not using gcc, we currently assume that we are using
6401
 
-    # Microsoft Visual C++.
6402
 
-    if test "$GCC" != yes; then
6403
 
-      with_gnu_ld=no
6404
 
-    fi
6405
 
-    ;;
6406
 
-  interix*)
6407
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
6408
 
-    with_gnu_ld=yes
6409
 
-    ;;
6410
 
-  openbsd*)
6411
 
-    with_gnu_ld=no
6412
 
-    ;;
6413
11276
+  dnl Search for GNU msgfmt in the PATH.
6414
11277
+  dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
6415
11278
+  dnl The second test excludes FreeBSD msgfmt.
6418
11281
+     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
6419
11282
+    :)
6420
11283
+  AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
6421
 
+
 
11284
 
 
11285
-# _LT_PROG_XSI_SHELLFNS
 
11286
-# ---------------------
 
11287
-# Bourne and XSI compatible variants of some useful shell functions.
 
11288
-m4_defun([_LT_PROG_XSI_SHELLFNS],
 
11289
-[case $xsi_shell in
 
11290
-  yes)
 
11291
-    cat << \_LT_EOF >> "$cfgfile"
 
11292
-
 
11293
-# func_dirname file append nondir_replacement
 
11294
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
11295
-# otherwise set result to NONDIR_REPLACEMENT.
 
11296
-func_dirname ()
 
11297
-{
 
11298
-  case ${1} in
 
11299
-    */*) func_dirname_result="${1%/*}${2}" ;;
 
11300
-    *  ) func_dirname_result="${3}" ;;
6422
11301
+  dnl Test whether it is GNU msgfmt >= 0.15.
6423
11302
+changequote(,)dnl
6424
11303
+  case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6425
11304
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
6426
11305
+    *) MSGFMT_015=$MSGFMT ;;
6427
 
+  esac
 
11306
   esac
 
11307
-}
6428
11308
+changequote([,])dnl
6429
11309
+  AC_SUBST([MSGFMT_015])
6430
11310
+changequote(,)dnl
6431
11311
+  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6432
11312
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
6433
11313
+    *) GMSGFMT_015=$GMSGFMT ;;
6434
 
   esac
 
11314
+  esac
6435
11315
+changequote([,])dnl
6436
11316
+  AC_SUBST([GMSGFMT_015])
6437
11317
 
6438
 
-  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6439
 
-  if test "$with_gnu_ld" = yes; then
6440
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
6441
 
-    wlarc='${wl}'
 
11318
-# func_basename file
 
11319
-func_basename ()
 
11320
-{
 
11321
-  func_basename_result="${1##*/}"
 
11322
-}
6442
11323
+  dnl Search for GNU xgettext 0.12 or newer in the PATH.
6443
11324
+  dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
6444
11325
+  dnl The second test excludes FreeBSD xgettext.
6449
11330
+  dnl Remove leftover from FreeBSD xgettext call.
6450
11331
+  rm -f messages.po
6451
11332
 
6452
 
-    # Set some defaults for GNU ld with shared library support. These
6453
 
-    # are reset later if shared libraries are not supported. Putting them
6454
 
-    # here allows them to be overridden if necessary.
6455
 
-    runpath_var=LD_RUN_PATH
6456
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6457
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6458
 
-    # ancient GNU ld didn't support --whole-archive et. al.
6459
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6460
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6461
 
-      else
6462
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6463
 
-    fi
6464
 
-    supports_anon_versioning=no
6465
 
-    case `$LD -v 2>/dev/null` in
6466
 
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6467
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6468
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6469
 
-      *\ 2.11.*) ;; # other 2.11 versions
6470
 
-      *) supports_anon_versioning=yes ;;
6471
 
-    esac
 
11333
-# func_dirname_and_basename file append nondir_replacement
 
11334
-# perform func_basename and func_dirname in a single function
 
11335
-# call:
 
11336
-#   dirname:  Compute the dirname of FILE.  If nonempty,
 
11337
-#             add APPEND to the result, otherwise set result
 
11338
-#             to NONDIR_REPLACEMENT.
 
11339
-#             value returned in "$func_dirname_result"
 
11340
-#   basename: Compute filename of FILE.
 
11341
-#             value retuned in "$func_basename_result"
 
11342
-# Implementation must be kept synchronized with func_dirname
 
11343
-# and func_basename. For efficiency, we do not delegate to
 
11344
-# those functions but instead duplicate the functionality here.
 
11345
-func_dirname_and_basename ()
 
11346
-{
 
11347
-  case ${1} in
 
11348
-    */*) func_dirname_result="${1%/*}${2}" ;;
 
11349
-    *  ) func_dirname_result="${3}" ;;
6472
11350
+  dnl Test whether it is GNU xgettext >= 0.15.
6473
11351
+changequote(,)dnl
6474
11352
+  case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6475
11353
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
6476
11354
+    *) XGETTEXT_015=$XGETTEXT ;;
6477
 
+  esac
 
11355
   esac
 
11356
-  func_basename_result="${1##*/}"
 
11357
-}
6478
11358
+changequote([,])dnl
6479
11359
+  AC_SUBST([XGETTEXT_015])
6480
11360
 
6481
 
-    # See if GNU ld supports shared libraries.
6482
 
-    case $host_os in
6483
 
-    aix[[3-9]]*)
6484
 
-      # On AIX/PPC, the GNU linker is very broken
6485
 
-      if test "$host_cpu" != ia64; then
6486
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
6487
 
-       cat <<EOF 1>&2
 
11361
-# func_stripname prefix suffix name
 
11362
-# strip PREFIX and SUFFIX off of NAME.
 
11363
-# PREFIX and SUFFIX must not contain globbing or regex special
 
11364
-# characters, hashes, percent signs, but SUFFIX may contain a leading
 
11365
-# dot (in which case that matches only a dot).
 
11366
-func_stripname ()
 
11367
-{
 
11368
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
11369
-  # positional parameters, so assign one to ordinary parameter first.
 
11370
-  func_stripname_result=${3}
 
11371
-  func_stripname_result=${func_stripname_result#"${1}"}
 
11372
-  func_stripname_result=${func_stripname_result%"${2}"}
 
11373
-}
6488
11374
+  dnl Search for GNU msgmerge 0.11 or newer in the PATH.
6489
11375
+  AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
6490
11376
+    [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
6491
 
 
6492
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6493
 
-*** to be unable to reliably create shared libraries on AIX.
6494
 
-*** Therefore, libtool is disabling shared libraries support.  If you
6495
 
-*** really care for shared libraries, you may want to modify your PATH
6496
 
-*** so that a non-GNU linker is found, and then restart.
 
11377
+
6497
11378
+  dnl Installation directories.
6498
11379
+  dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
6499
11380
+  dnl have to define it here, so that it can be used in po/Makefile.
6500
11381
+  test -n "$localedir" || localedir='${datadir}/locale'
6501
11382
+  AC_SUBST([localedir])
6502
 
 
6503
 
-EOF
6504
 
-      fi
6505
 
-      ;;
 
11383
+
6506
11384
+  dnl Support for AM_XGETTEXT_OPTION.
6507
11385
+  test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
6508
11386
+  AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
6509
 
 
6510
 
-    amigaos*)
6511
 
-      _LT_AC_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)'
6512
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6513
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
11387
+
6514
11388
+  AC_CONFIG_COMMANDS([po-directories], [[
6515
11389
+    for ac_file in $CONFIG_FILES; do
6516
11390
+      # Support "outfile[:infile[:infile...]]"
6632
11506
+    LINGUAS="${LINGUAS-%UNSET%}"
6633
11507
+   ])
6634
11508
+])
6635
 
+
 
11509
 
 
11510
-# func_opt_split
 
11511
-func_opt_split ()
 
11512
-{
 
11513
-  func_opt_split_opt=${1%%=*}
 
11514
-  func_opt_split_arg=${1#*=}
 
11515
-}
6636
11516
+dnl Postprocesses a Makefile in a directory containing PO files.
6637
11517
+AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
6638
11518
+[
6641
11521
+  # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
6642
11522
+  # - LINGUAS is the value of the environment variable LINGUAS at configure
6643
11523
+  #   time.
6644
 
+
 
11524
 
 
11525
-# func_lo2o object
 
11526
-func_lo2o ()
 
11527
-{
 
11528
-  case ${1} in
 
11529
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
11530
-    *)    func_lo2o_result=${1} ;;
6645
11531
+changequote(,)dnl
6646
11532
+  # Adjust a relative srcdir.
6647
11533
+  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6654
11540
+    .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6655
11541
+    /*) top_srcdir="$ac_given_srcdir" ;;
6656
11542
+    *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
6657
 
+  esac
6658
 
+
 
11543
   esac
 
11544
-}
 
11545
-
 
11546
-# func_xform libobj-or-source
 
11547
-func_xform ()
 
11548
-{
 
11549
-  func_xform_result=${1%.*}.lo
 
11550
-}
 
11551
 
 
11552
-# func_arith arithmetic-term...
 
11553
-func_arith ()
 
11554
-{
 
11555
-  func_arith_result=$(( $[*] ))
 
11556
-}
6659
11557
+  # Find a way to echo strings without interpreting backslash.
6660
11558
+  if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
6661
11559
+    gt_echo='echo'
6671
11569
+      gt_echo='echo_func'
6672
11570
+    fi
6673
11571
+  fi
6674
 
+
 
11572
 
 
11573
-# func_len string
 
11574
-# STRING may not start with a hyphen.
 
11575
-func_len ()
 
11576
-{
 
11577
-  func_len_result=${#1}
6675
11578
+  # A sed script that extracts the value of VARIABLE from a Makefile.
6676
11579
+  sed_x_variable='
6677
11580
+# Test if the hold space is empty.
6684
11587
+  # Seen the first line of the variable definition.
6685
11588
+  s/^[  ]*VARIABLE[     ]*=//
6686
11589
+  ba
6687
 
+}
 
11590
 }
6688
11591
+bd
6689
11592
+:a
6690
11593
+# Here we are processing a line from the variable definition.
6711
11614
+'
6712
11615
+changequote([,])dnl
6713
11616
 
6714
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6715
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
6716
 
-      # to version 4, is to share data among multiple programs linked
6717
 
-      # with the same dynamic library.  Since this doesn't match the
6718
 
-      # behavior of shared libraries on other platforms, we can't use
6719
 
-      # them.
6720
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6721
 
-      ;;
 
11617
-_LT_EOF
 
11618
-    ;;
 
11619
-  *) # Bourne compatible functions.
 
11620
-    cat << \_LT_EOF >> "$cfgfile"
6722
11621
+  # Set POTFILES to the value of the Makefile variable POTFILES.
6723
11622
+  sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
6724
11623
+  POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
6730
11629
+  done
6731
11630
+  POMAKEFILEDEPS=""
6732
11631
 
6733
 
-    beos*)
6734
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6735
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6736
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6737
 
-       # support --undefined.  This deserves some investigation.  FIXME
6738
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11632
-# func_dirname file append nondir_replacement
 
11633
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
11634
-# otherwise set result to NONDIR_REPLACEMENT.
 
11635
-func_dirname ()
 
11636
-{
 
11637
-  # Extract subdirectory from the argument.
 
11638
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
11639
-  if test "X$func_dirname_result" = "X${1}"; then
 
11640
-    func_dirname_result="${3}"
6739
11641
+  if test -n "$OBSOLETE_ALL_LINGUAS"; then
6740
11642
+    test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6741
11643
+  fi
6743
11645
+    # The LINGUAS file contains the set of available languages.
6744
11646
+    ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6745
11647
+    POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6746
 
+  else
 
11648
   else
 
11649
-    func_dirname_result="$func_dirname_result${2}"
6747
11650
+    # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
6748
11651
+    sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
6749
11652
+    ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
6802
11705
+      useit=no
6803
11706
+      if test "%UNSET%" != "$LINGUAS"; then
6804
11707
+        desiredlanguages="$LINGUAS"
6805
 
       else
6806
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11708
+      else
6807
11709
+        desiredlanguages="$ALL_LINGUAS"
6808
 
       fi
6809
 
-      ;;
6810
 
-
6811
 
-    cygwin* | mingw* | pw32*)
6812
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6813
 
-      # as there is no search path for DLLs.
6814
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6815
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6816
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=no
6817
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6818
 
-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
6819
 
-
6820
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6821
 
-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6822
 
-       # If the export-symbols file already is a .def file (1st line
6823
 
-       # is EXPORTS), use it as is; otherwise, prepend...
6824
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6825
 
-         cp $export_symbols $output_objdir/$soname.def;
6826
 
-       else
6827
 
-         echo EXPORTS > $output_objdir/$soname.def;
6828
 
-         cat $export_symbols >> $output_objdir/$soname.def;
6829
 
-       fi~
6830
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6831
 
-      else
6832
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
11710
+      fi
6833
11711
+      for desiredlang in $desiredlanguages; do
6834
11712
+        # Use the presentlang catalog if desiredlang is
6835
11713
+        #   a. equal to presentlang, or
6842
11720
+      done
6843
11721
+      if test $useit = yes; then
6844
11722
+        INST_LINGUAS="$INST_LINGUAS $presentlang"
6845
 
       fi
6846
 
-      ;;
 
11723
+      fi
6847
11724
+    done
6848
11725
+  fi
6849
11726
+  CATALOGS=
6861
11738
+      frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
6862
11739
+      CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
6863
11740
+    done
6864
 
+  fi
 
11741
   fi
 
11742
-}
6865
11743
 
6866
 
-    interix[[3-9]]*)
6867
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
6868
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6869
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6870
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6871
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6872
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
6873
 
-      # default) and relocated if they conflict, which is a slow very memory
6874
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
6875
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6876
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
6877
 
-      _LT_AC_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'
6878
 
-      _LT_AC_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'
6879
 
-      ;;
 
11744
-# func_basename file
 
11745
-func_basename ()
 
11746
-{
 
11747
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
11748
-}
6880
11749
+  sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
6881
11750
+  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
6882
11751
+    # Add dependencies that cannot be formulated as a simple suffix rule.
6908
11777
+  mv "$ac_file.tmp" "$ac_file"
6909
11778
+])
6910
11779
 
6911
 
-    gnu* | linux* | k*bsd*-gnu)
6912
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6913
 
-       tmp_addflag=
6914
 
-       case $cc_basename,$host_cpu in
6915
 
-       pgcc*)                          # Portland Group C compiler
6916
 
-         _LT_AC_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'
6917
 
-         tmp_addflag=' $pic_flag'
6918
 
-         ;;
6919
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
6920
 
-         _LT_AC_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'
6921
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
6922
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
6923
 
-         tmp_addflag=' -i_dynamic' ;;
6924
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
6925
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
6926
 
-       ifc* | ifort*)                  # Intel Fortran compiler
6927
 
-         tmp_addflag=' -nofor_main' ;;
6928
 
-       esac
6929
 
-       case `$CC -V 2>&1 | sed 5q` in
6930
 
-       *Sun\ C*)                       # Sun C 5.9
6931
 
-         _LT_AC_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'
6932
 
-         tmp_sharedflag='-G' ;;
6933
 
-       *Sun\ F*)                       # Sun Fortran 8.3
6934
 
-         tmp_sharedflag='-G' ;;
6935
 
-       *)
6936
 
-         tmp_sharedflag='-shared' ;;
6937
 
-       esac
6938
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11780
-dnl func_dirname_and_basename
 
11781
-dnl A portable version of this function is already defined in general.m4sh
 
11782
-dnl so there is no need for it here.
 
11783
-
 
11784
-# func_stripname prefix suffix name
 
11785
-# strip PREFIX and SUFFIX off of NAME.
 
11786
-# PREFIX and SUFFIX must not contain globbing or regex special
 
11787
-# characters, hashes, percent signs, but SUFFIX may contain a leading
 
11788
-# dot (in which case that matches only a dot).
 
11789
-# func_strip_suffix prefix name
 
11790
-func_stripname ()
 
11791
-{
 
11792
-  case ${2} in
 
11793
-    .*) func_stripname_result=`$ECHO "X${3}" \
 
11794
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
11795
-    *)  func_stripname_result=`$ECHO "X${3}" \
 
11796
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
11797
-  esac
 
11798
-}
6939
11799
+dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
6940
11800
+AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
6941
11801
+[
6942
11802
+  XGETTEXT_EXTRA_OPTIONS=
6943
11803
+])
6944
 
+
 
11804
 
 
11805
-# sed scripts:
 
11806
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
 
11807
-my_sed_long_arg='1s/^-[[^=]]*=//'
6945
11808
+dnl Registers an option to be passed to xgettext in the po subdirectory.
6946
11809
+AC_DEFUN([AM_XGETTEXT_OPTION],
6947
11810
+[
6949
11812
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
6950
11813
+])
6951
11814
 
6952
 
-       if test $supports_anon_versioning = yes; then
6953
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6954
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6955
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
6956
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6957
 
-       fi
6958
 
-      else
6959
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
6960
 
-      fi
6961
 
-      ;;
 
11815
-# func_opt_split
 
11816
-func_opt_split ()
 
11817
-{
 
11818
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
11819
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
11820
-}
6962
11821
+# progtest.m4 serial 4 (gettext-0.14.2)
6963
11822
+dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
6964
11823
+dnl This file is free software; the Free Software Foundation
6974
11833
+dnl gettext package package is covered by the GNU General Public License.
6975
11834
+dnl They are *not* in the public domain.
6976
11835
 
6977
 
-    netbsd*)
6978
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6979
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6980
 
-       wlarc=
6981
 
-      else
6982
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6983
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6984
 
-      fi
6985
 
-      ;;
 
11836
-# func_lo2o object
 
11837
-func_lo2o ()
 
11838
-{
 
11839
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
11840
-}
6986
11841
+dnl Authors:
6987
11842
+dnl   Ulrich Drepper <drepper@cygnus.com>, 1996.
6988
11843
 
6989
 
-    solaris*)
6990
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6991
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
6992
 
-       cat <<EOF 1>&2
 
11844
-# func_xform libobj-or-source
 
11845
-func_xform ()
 
11846
-{
 
11847
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
11848
-}
6993
11849
+AC_PREREQ(2.50)
6994
11850
 
6995
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6996
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
6997
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
6998
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
6999
 
-*** your PATH or compiler configuration so that the native linker is
7000
 
-*** used, and then restart.
 
11851
-# func_arith arithmetic-term...
 
11852
-func_arith ()
 
11853
-{
 
11854
-  func_arith_result=`expr "$[@]"`
 
11855
-}
7001
11856
+# Search path for a program which passes the given test.
7002
11857
 
7003
 
-EOF
7004
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7005
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7006
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7007
 
-      else
7008
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7009
 
-      fi
7010
 
-      ;;
 
11858
-# func_len string
 
11859
-# STRING may not start with a hyphen.
 
11860
-func_len ()
 
11861
-{
 
11862
-  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
 
11863
-}
7011
11864
+dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
7012
11865
+dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
7013
11866
+AC_DEFUN([AM_PATH_PROG_WITH_TEST],
7026
11879
+  rm -f conf$$.sh
7027
11880
+fi
7028
11881
 
7029
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7030
 
-      case `$LD -v 2>&1` in
7031
 
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
7032
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7033
 
-       cat <<_LT_EOF 1>&2
 
11882
-_LT_EOF
 
11883
-esac
7034
11884
+# Find out how to test for executable files. Don't use a zero-byte file,
7035
11885
+# as systems may use methods other than mode bits to determine executability.
7036
11886
+cat >conf$$.file <<_ASEOF
7045
11895
+fi
7046
11896
+rm -f conf$$.file
7047
11897
 
7048
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7049
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
7050
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
7051
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7052
 
-*** your PATH or compiler configuration so that the native linker is
7053
 
-*** used, and then restart.
 
11898
-case $lt_shell_append in
 
11899
-  yes)
 
11900
-    cat << \_LT_EOF >> "$cfgfile"
 
11901
-
 
11902
-# func_append var value
 
11903
-# Append VALUE to the end of shell variable VAR.
 
11904
-func_append ()
 
11905
-{
 
11906
-  eval "$[1]+=\$[2]"
 
11907
-}
 
11908
-_LT_EOF
7054
11909
+# Extract the first word of "$2", so it can be a program name with args.
7055
11910
+set dummy $2; ac_word=[$]2
7056
11911
+AC_MSG_CHECKING([for $ac_word])
7058
11913
+[case "[$]$1" in
7059
11914
+  [[\\/]]* | ?:[[\\/]]*)
7060
11915
+    ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
7061
 
+    ;;
7062
 
+  *)
 
11916
     ;;
 
11917
   *)
 
11918
-    cat << \_LT_EOF >> "$cfgfile"
 
11919
-
 
11920
-# func_append var value
 
11921
-# Append VALUE to the end of shell variable VAR.
 
11922
-func_append ()
 
11923
-{
 
11924
-  eval "$[1]=\$$[1]\$[2]"
 
11925
-}
 
11926
-
 
11927
-_LT_EOF
7063
11928
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7064
11929
+    for ac_dir in ifelse([$5], , $PATH, [$5]); do
7065
11930
+      IFS="$ac_save_IFS"
7079
11944
+dnl so AC_PATH_PROGS will keep looking.
7080
11945
+ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
7081
11946
+])dnl
7082
 
+    ;;
 
11947
     ;;
 
11948
-  esac
7083
11949
+esac])dnl
7084
11950
+$1="$ac_cv_path_$1"
7085
11951
+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
7088
11954
+  AC_MSG_RESULT(no)
7089
11955
+fi
7090
11956
+AC_SUBST($1)dnl
7091
 
+])
 
11957
 ])
7092
11958
 
7093
 
-_LT_EOF
7094
 
-       ;;
7095
 
-       *)
7096
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7097
 
-           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7098
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7099
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7100
 
-         else
7101
 
-           _LT_AC_TAGVAR(ld_shlibs, $1)=no
7102
 
-         fi
7103
 
-       ;;
7104
 
-      esac
7105
 
-      ;;
 
11959
-# Helper functions for option handling.                    -*- Autoconf -*-
 
11960
-#
 
11961
-#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
11962
-#   Written by Gary V. Vaughan, 2004
7106
11963
+# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
7107
 
+#
 
11964
 #
 
11965
-# This file is free software; the Free Software Foundation gives
 
11966
-# unlimited permission to copy and/or distribute it, with or without
 
11967
-# modifications, as long as this notice is preserved.
 
11968
-
 
11969
-# serial 6 ltoptions.m4
 
11970
-
 
11971
-# This is to help aclocal find these macros, as it can't see m4_define.
 
11972
-AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
 
11973
-
 
11974
-
 
11975
-# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
 
11976
-# ------------------------------------------
 
11977
-m4_define([_LT_MANGLE_OPTION],
 
11978
-[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
 
11979
-
 
11980
-
 
11981
-# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
 
11982
-# ---------------------------------------
 
11983
-# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
 
11984
-# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
 
11985
-# saved as a flag.
 
11986
-m4_define([_LT_SET_OPTION],
 
11987
-[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
 
11988
-m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
 
11989
-        _LT_MANGLE_DEFUN([$1], [$2]),
 
11990
-    [m4_warning([Unknown $1 option `$2'])])[]dnl
 
11991
-])
 
11992
-
 
11993
-
 
11994
-# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
 
11995
-# ------------------------------------------------------------
 
11996
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
11997
-m4_define([_LT_IF_OPTION],
 
11998
-[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
 
11999
-
7108
12000
+# This file is free software; the Free Software Foundation
7109
12001
+# gives unlimited permission to copy and/or distribute it,
7110
12002
+# with or without modifications, as long as this notice is preserved.
7111
12003
 
7112
 
-    sunos4*)
7113
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7114
 
-      wlarc=
7115
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7116
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7117
 
-      ;;
 
12004
-# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
 
12005
-# -------------------------------------------------------
 
12006
-# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
 
12007
-# are set.
 
12008
-m4_define([_LT_UNLESS_OPTIONS],
 
12009
-[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
12010
-           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
 
12011
-                     [m4_define([$0_found])])])[]dnl
 
12012
-m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
 
12013
-])[]dnl
7118
12014
+# AM_AUTOMAKE_VERSION(VERSION)
7119
12015
+# ----------------------------
7120
12016
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
7126
12022
+dnl require some minimum version.  Point them to the right macro.
7127
12023
+m4_if([$1], [1.10.1], [],
7128
12024
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7129
 
+])
 
12025
 ])
7130
12026
 
7131
 
-    *)
7132
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7133
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7134
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7135
 
-      else
7136
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7137
 
-      fi
7138
 
-      ;;
7139
 
-    esac
7140
12027
+# _AM_AUTOCONF_VERSION(VERSION)
7141
12028
+# -----------------------------
7142
12029
+# aclocal traces this macro to find the Autoconf version.
7144
12031
+# the logic in aclocal, which can simply ignore this definition.
7145
12032
+m4_define([_AM_AUTOCONF_VERSION], [])
7146
12033
 
7147
 
-    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
7148
 
-      runpath_var=
7149
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7150
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7151
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7152
 
-    fi
7153
 
-  else
7154
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
7155
 
-    case $host_os in
7156
 
-    aix3*)
7157
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7158
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7159
 
-      _LT_AC_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'
7160
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
7161
 
-      # are no directories specified by -L.
7162
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7163
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7164
 
-       # Neither direct hardcoding nor static linking is supported with a
7165
 
-       # broken collect2.
7166
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7167
 
-      fi
7168
 
-      ;;
 
12034
-# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
 
12035
-# ----------------------------------------
 
12036
-# OPTION-LIST is a space-separated list of Libtool options associated
 
12037
-# with MACRO-NAME.  If any OPTION has a matching handler declared with
 
12038
-# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
 
12039
-# the unknown option and exit.
 
12040
-m4_defun([_LT_SET_OPTIONS],
 
12041
-[# Set options
 
12042
-m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
12043
-    [_LT_SET_OPTION([$1], _LT_Option)])
 
12044
-
 
12045
-m4_if([$1],[LT_INIT],[
 
12046
-  dnl
 
12047
-  dnl Simply set some default values (i.e off) if boolean options were not
 
12048
-  dnl specified:
 
12049
-  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
 
12050
-  ])
 
12051
-  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
 
12052
-  ])
 
12053
-  dnl
 
12054
-  dnl If no reference was made to various pairs of opposing options, then
 
12055
-  dnl we run the default mode handler for the pair.  For example, if neither
 
12056
-  dnl `shared' nor `disable-shared' was passed, we enable building of shared
 
12057
-  dnl archives by default:
 
12058
-  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
 
12059
-  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
 
12060
-  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
 
12061
-  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
 
12062
-                  [_LT_ENABLE_FAST_INSTALL])
 
12063
-  ])
 
12064
-])# _LT_SET_OPTIONS
 
12065
-
 
12066
-
 
12067
-
 
12068
-# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
 
12069
-# -----------------------------------------
 
12070
-m4_define([_LT_MANGLE_DEFUN],
 
12071
-[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
7169
12072
+# AM_SET_CURRENT_AUTOMAKE_VERSION
7170
12073
+# -------------------------------
7171
12074
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7176
12079
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7177
12080
+_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7178
12081
 
7179
 
-    aix[[4-9]]*)
7180
 
-      if test "$host_cpu" = ia64; then
7181
 
-       # On IA64, the linker does run time linking by default, so we don't
7182
 
-       # have to do anything special.
7183
 
-       aix_use_runtimelinking=no
7184
 
-       exp_sym_flag='-Bexport'
7185
 
-       no_entry_flag=""
7186
 
-      else
7187
 
-       # If we're using GNU nm, then we don't want the "-C" option.
7188
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
7189
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7190
 
-         _LT_AC_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'
7191
 
-       else
7192
 
-         _LT_AC_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'
7193
 
-       fi
7194
 
-       aix_use_runtimelinking=no
7195
12082
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7196
12083
 
7197
 
-       # Test if we are trying to use run time linking or normal
7198
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7199
 
-       # need to do runtime linking.
7200
 
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
7201
 
-         for ld_flag in $LDFLAGS; do
7202
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7203
 
-           aix_use_runtimelinking=yes
7204
 
-           break
7205
 
-         fi
7206
 
-         done
7207
 
-         ;;
7208
 
-       esac
 
12084
-# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
 
12085
-# -----------------------------------------------
 
12086
-m4_define([LT_OPTION_DEFINE],
 
12087
-[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
 
12088
-])# LT_OPTION_DEFINE
7209
12089
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7210
12090
+#
7211
12091
+# This file is free software; the Free Software Foundation
7212
12092
+# gives unlimited permission to copy and/or distribute it,
7213
12093
+# with or without modifications, as long as this notice is preserved.
7214
 
+
 
12094
 
7215
12095
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
7216
12096
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
7217
12097
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
7250
12130
+# absolute PATH.  The drawback is that using absolute paths prevent a
7251
12131
+# configured tree to be moved without reconfiguration.
7252
12132
 
7253
 
-       exp_sym_flag='-bexport'
7254
 
-       no_entry_flag='-bnoentry'
7255
 
-      fi
 
12133
-# dlopen
 
12134
-# ------
 
12135
-LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
7256
12136
+AC_DEFUN([AM_AUX_DIR_EXPAND],
7257
12137
+[dnl Rely on autoconf to set up CDPATH properly.
7258
12138
+AC_PREREQ([2.50])dnl
7259
12139
+# expand $ac_aux_dir to an absolute path
7260
12140
+am_aux_dir=`cd $ac_aux_dir && pwd`
7261
 
+])
7262
 
 
7263
 
-      # When large executables or shared objects are built, AIX ld can
7264
 
-      # have problems creating the table of contents.  If linking a library
7265
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
7266
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7267
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7268
 
 
7269
 
-      _LT_AC_TAGVAR(archive_cmds, $1)=''
7270
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7271
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7272
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7273
 
+# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
7274
 
+# Free Software Foundation, Inc.
7275
 
+#
7276
 
+# This file is free software; the Free Software Foundation
7277
 
+# gives unlimited permission to copy and/or distribute it,
7278
 
+# with or without modifications, as long as this notice is preserved.
7279
 
 
7280
 
-      if test "$GCC" = yes; then
7281
 
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
7282
 
-       # We only want to do this on AIX 4.2 and lower, the check
7283
 
-       # below for broken collect2 doesn't work under 4.3+
7284
 
-         collect2name=`${CC} -print-prog-name=collect2`
7285
 
-         if test -f "$collect2name" && \
7286
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
7287
 
-         then
7288
 
-         # We have reworked collect2
7289
 
-         :
7290
 
-         else
7291
 
-         # We have old collect2
7292
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7293
 
-         # It fails to find uninstalled libraries when the uninstalled
7294
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
7295
 
-         # to unsupported forces relinking
7296
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7297
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7298
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7299
 
-         fi
7300
 
-         ;;
7301
 
-       esac
7302
 
-       shared_flag='-shared'
7303
 
-       if test "$aix_use_runtimelinking" = yes; then
7304
 
-         shared_flag="$shared_flag "'${wl}-G'
7305
 
-       fi
7306
 
-      else
7307
 
-       # not using gcc
7308
 
-       if test "$host_cpu" = ia64; then
7309
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7310
 
-       # chokes on -Wl,-G. The following line is correct:
7311
 
-         shared_flag='-G'
7312
 
-       else
7313
 
-         if test "$aix_use_runtimelinking" = yes; then
7314
 
-           shared_flag='${wl}-G'
7315
 
-         else
7316
 
-           shared_flag='${wl}-bM:SRE'
7317
 
-         fi
7318
 
-       fi
7319
 
-      fi
7320
 
+# serial 4
7321
 
 
7322
 
-      # It seems that -bexpall does not export symbols beginning with
7323
 
-      # underscore (_), so it is better to generate a list of symbols to export.
7324
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7325
 
-      if test "$aix_use_runtimelinking" = yes; then
7326
 
-       # Warning - without using the other runtime loading flags (-brtl),
7327
 
-       # -berok will link without error, but may produce a broken library.
7328
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7329
 
-       # Determine the default libpath from the value encoded in an empty executable.
7330
 
-       _LT_AC_SYS_LIBPATH_AIX
7331
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7332
 
-       _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7333
 
-       else
7334
 
-       if test "$host_cpu" = ia64; then
7335
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7336
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
7337
 
-         _LT_AC_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"
7338
 
-       else
7339
 
-        # Determine the default libpath from the value encoded in an empty executable.
7340
 
-        _LT_AC_SYS_LIBPATH_AIX
7341
 
-        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7342
 
-         # Warning - without using the other run time loading flags,
7343
 
-         # -berok will link without error, but may produce a broken library.
7344
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7345
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7346
 
-         # Exported symbols can be pulled into shared objects from archives
7347
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
7348
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7349
 
-         # This is similar to how AIX traditionally builds its shared libraries.
7350
 
-         _LT_AC_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'
7351
 
-       fi
7352
 
-      fi
7353
 
-      ;;
7354
 
+# This was merged into AC_PROG_CC in Autoconf.
7355
 
 
7356
 
-    amigaos*)
7357
 
-      _LT_AC_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)'
7358
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7359
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7360
 
-      # see comment about different semantics on the GNU ld section
7361
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
7362
 
-      ;;
7363
 
+AU_DEFUN([AM_PROG_CC_STDC],
7364
 
+[AC_PROG_CC
7365
 
+AC_DIAGNOSE([obsolete], [$0:
7366
 
+       your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
7367
 
+       `ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when
7368
 
+       you adjust the code.  You can also remove the above call to
7369
 
+       AC_PROG_CC if you already called it elsewhere.])
7370
 
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
7371
 
+])
7372
 
+AU_DEFUN([fp_PROG_CC_STDC])
7373
 
 
7374
 
-    bsdi[[45]]*)
7375
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
7376
 
-      ;;
 
12141
 ])
 
12142
 
 
12143
-AU_DEFUN([AC_LIBTOOL_DLOPEN],
 
12144
-[_LT_SET_OPTION([LT_INIT], [dlopen])
 
12145
-AC_DIAGNOSE([obsolete],
 
12146
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
12147
-put the `dlopen' option into LT_INIT's first parameter.])
 
12148
-])
7377
12149
+# AM_CONDITIONAL                                            -*- Autoconf -*-
7378
12150
 
7379
 
-    cygwin* | mingw* | pw32*)
7380
 
-      # When not using gcc, we currently assume that we are using
7381
 
-      # Microsoft Visual C++.
7382
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
7383
 
-      # no search path for DLLs.
7384
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
7385
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7386
 
-      # Tell ltmain to make .lib files, not .a files.
7387
 
-      libext=lib
7388
 
-      # Tell ltmain to make .dll files, not .so files.
7389
 
-      shrext_cmds=".dll"
7390
 
-      # FIXME: Setting linknames here is a bad hack.
7391
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7392
 
-      # The linker will automatically build a .lib file if we build a DLL.
7393
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
7394
 
-      # FIXME: Should let the user specify the lib program.
7395
 
-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
7396
 
-      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
7397
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7398
 
-      ;;
 
12151
-dnl aclocal-1.4 backwards compatibility:
 
12152
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
7399
12153
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7400
12154
+# Free Software Foundation, Inc.
7401
12155
+#
7402
12156
+# This file is free software; the Free Software Foundation
7403
12157
+# gives unlimited permission to copy and/or distribute it,
7404
12158
+# with or without modifications, as long as this notice is preserved.
7405
 
 
7406
 
-    darwin* | rhapsody*)
7407
 
-      case $host_os in
7408
 
-        rhapsody* | darwin1.[[012]])
7409
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
7410
 
-         ;;
7411
 
-       *) # Darwin 1.3 on
7412
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7413
 
-           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7414
 
-         else
7415
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
7416
 
-             10.[[012]])
7417
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7418
 
-               ;;
7419
 
-             10.*)
7420
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
7421
 
-               ;;
7422
 
-           esac
7423
 
-         fi
7424
 
-         ;;
7425
 
-      esac
7426
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7427
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
7428
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
7429
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7430
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
7431
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7432
 
-    if test "$GCC" = yes ; then
7433
 
-       output_verbose_link_cmd='echo'
7434
 
-        _LT_AC_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}"
7435
 
-        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7436
 
-        _LT_AC_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}"
7437
 
-        _LT_AC_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}"
7438
 
-    else
7439
 
-      case $cc_basename in
7440
 
-        xlc*)
7441
 
-         output_verbose_link_cmd='echo'
7442
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7443
 
-         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7444
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7445
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7446
 
-          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7447
 
-          ;;
7448
 
-       *)
7449
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
7450
 
-          ;;
7451
 
-      esac
7452
 
-    fi
7453
 
-      ;;
 
12159
+
7454
12160
+# serial 8
7455
12161
 
7456
 
-    dgux*)
7457
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7458
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7459
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7460
 
-      ;;
7461
12162
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7462
12163
+# -------------------------------------
7463
12164
+# Define a conditional.
7482
12183
+Usually this means the macro was only invoked conditionally.]])
7483
12184
+fi])])
7484
12185
 
7485
 
-    freebsd1*)
7486
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
7487
 
-      ;;
 
12186
-# win32-dll
 
12187
-# ---------
 
12188
-# Declare package support for building win32 dll's.
 
12189
-LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 
12190
-[enable_win32_dll=yes
7488
12191
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7489
12192
+# Free Software Foundation, Inc.
7490
12193
+#
7492
12195
+# gives unlimited permission to copy and/or distribute it,
7493
12196
+# with or without modifications, as long as this notice is preserved.
7494
12197
 
7495
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7496
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
7497
 
-    # does not break anything, and helps significantly (at the cost of a little
7498
 
-    # extra space).
7499
 
-    freebsd2.2*)
7500
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7501
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7502
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7503
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7504
 
-      ;;
 
12198
-case $host in
 
12199
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
12200
-  AC_CHECK_TOOL(AS, as, false)
 
12201
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
12202
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
12203
-  ;;
 
12204
-esac
7505
12205
+# serial 9
7506
12206
 
7507
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7508
 
-    freebsd2*)
7509
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7510
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7511
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7512
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7513
 
-      ;;
 
12207
-test -z "$AS" && AS=as
 
12208
-_LT_DECL([], [AS],      [0], [Assembler program])dnl
7514
12209
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7515
12210
+# written in clear, in which case automake, when reading aclocal.m4,
7516
12211
+# will think it sees a *use*, and therefore will trigger all it's
7517
12212
+# C support machinery.  Also note that it means that autoscan, seeing
7518
12213
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
7519
12214
 
7520
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7521
 
-    freebsd* | dragonfly*)
7522
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7523
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7524
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7525
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7526
 
-      ;;
 
12215
-test -z "$DLLTOOL" && DLLTOOL=dlltool
 
12216
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
7527
12217
 
7528
 
-    hpux9*)
7529
 
-      if test "$GCC" = yes; then
7530
 
-       _LT_AC_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'
7531
 
-      else
7532
 
-       _LT_AC_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'
7533
 
-      fi
7534
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7535
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7536
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
12218
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
12219
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
12220
-])# win32-dll
7537
12221
+# _AM_DEPENDENCIES(NAME)
7538
12222
+# ----------------------
7539
12223
+# See how the compiler implements dependency checking.
7550
12234
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
7551
12235
+AC_REQUIRE([AM_DEP_TRACK])dnl
7552
12236
 
7553
 
-      # hardcode_minus_L: Not really in the search PATH,
7554
 
-      # but as the default location of the library.
7555
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7556
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7557
 
-      ;;
 
12237
-AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
12238
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
12239
-_LT_SET_OPTION([LT_INIT], [win32-dll])
 
12240
-AC_DIAGNOSE([obsolete],
 
12241
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
12242
-put the `win32-dll' option into LT_INIT's first parameter.])
 
12243
-])
7558
12244
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
7559
12245
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
7560
12246
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7562
12248
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
7563
12249
+                   [depcc="$$1"   am_compiler_list=])
7564
12250
 
7565
 
-    hpux10*)
7566
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7567
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7568
 
-      else
7569
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7570
 
-      fi
7571
 
-      if test "$with_gnu_ld" = no; then
7572
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7573
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
12251
-dnl aclocal-1.4 backwards compatibility:
 
12252
-dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
7574
12253
+AC_CACHE_CHECK([dependency style of $depcc],
7575
12254
+               [am_cv_$1_dependencies_compiler_type],
7576
12255
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7592
12271
+  # directory.
7593
12272
+  mkdir sub
7594
12273
 
7595
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7596
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7597
12274
+  am_cv_$1_dependencies_compiler_type=none
7598
12275
+  if test "$am_compiler_list" = ""; then
7599
12276
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
7615
12292
+    done
7616
12293
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7617
12294
 
7618
 
-       # hardcode_minus_L: Not really in the search PATH,
7619
 
-       # but as the default location of the library.
7620
 
-       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
12295
-# _LT_ENABLE_SHARED([DEFAULT])
 
12296
-# ----------------------------
 
12297
-# implement the --enable-shared flag, and supports the `shared' and
 
12298
-# `disable-shared' LT_INIT options.
 
12299
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
12300
-m4_define([_LT_ENABLE_SHARED],
 
12301
-[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
12302
-AC_ARG_ENABLE([shared],
 
12303
-    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
12304
-       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
 
12305
-    [p=${PACKAGE-default}
 
12306
-    case $enableval in
 
12307
-    yes) enable_shared=yes ;;
 
12308
-    no) enable_shared=no ;;
 
12309
-    *)
 
12310
-      enable_shared=no
 
12311
-      # Look at the argument we got.  We use all the common list separators.
 
12312
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12313
-      for pkg in $enableval; do
 
12314
-       IFS="$lt_save_ifs"
 
12315
-       if test "X$pkg" = "X$p"; then
 
12316
-         enable_shared=yes
 
12317
-       fi
 
12318
-      done
 
12319
-      IFS="$lt_save_ifs"
7621
12320
+    case $depmode in
7622
12321
+    nosideeffect)
7623
12322
+      # after this tag, mechanisms are not by side-effect, so they'll
7626
12325
+       continue
7627
12326
+      else
7628
12327
+       break
7629
 
       fi
 
12328
+      fi
7630
12329
       ;;
7631
 
-
7632
 
-    hpux11*)
7633
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7634
 
-       case $host_cpu in
7635
 
-       hppa*64*)
7636
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7637
 
-         ;;
7638
 
-       ia64*)
7639
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7640
 
-         ;;
7641
 
-       *)
7642
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7643
 
-         ;;
7644
 
-       esac
7645
 
-      else
7646
 
-       case $host_cpu in
7647
 
-       hppa*64*)
7648
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7649
 
-         ;;
7650
 
-       ia64*)
7651
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7652
 
-         ;;
7653
 
-       *)
7654
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7655
 
-         ;;
7656
 
-       esac
 
12330
-    esac],
 
12331
-    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
 
12332
-
 
12333
-    _LT_DECL([build_libtool_libs], [enable_shared], [0],
 
12334
-       [Whether or not to build shared libraries])
 
12335
-])# _LT_ENABLE_SHARED
 
12336
-
 
12337
-LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
 
12338
-LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
7657
12339
+    none) break ;;
7658
12340
+    esac
7659
12341
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7679
12361
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7680
12362
+        am_cv_$1_dependencies_compiler_type=$depmode
7681
12363
+        break
7682
 
       fi
7683
 
-      if test "$with_gnu_ld" = no; then
7684
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7685
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
12364
+      fi
7686
12365
+    fi
7687
12366
+  done
7688
12367
 
7689
 
-       case $host_cpu in
7690
 
-       hppa*64*|ia64*)
7691
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7692
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
7693
 
-         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7694
 
-         ;;
7695
 
-       *)
7696
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7697
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
12368
-# Old names:
 
12369
-AC_DEFUN([AC_ENABLE_SHARED],
 
12370
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
7698
12371
+  cd ..
7699
12372
+  rm -rf conftest.dir
7700
12373
+else
7701
12374
+  am_cv_$1_dependencies_compiler_type=none
7702
12375
+fi
7703
 
+])
 
12376
 ])
7704
12377
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
7705
12378
+AM_CONDITIONAL([am__fastdep$1], [
7706
12379
+  test "x$enable_dependency_tracking" != xno \
7707
12380
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
7708
12381
+])
7709
 
 
7710
 
-         # hardcode_minus_L: Not really in the search PATH,
7711
 
-         # but as the default location of the library.
7712
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7713
 
-         ;;
7714
 
-       esac
7715
 
-      fi
7716
 
-      ;;
7717
 
 
7718
 
-    irix5* | irix6* | nonstopux*)
7719
 
-      if test "$GCC" = yes; then
7720
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7721
 
-      else
7722
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7723
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
7724
 
-      fi
7725
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7726
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7727
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7728
 
-      ;;
 
12382
+
 
12383
 
 
12384
-AC_DEFUN([AC_DISABLE_SHARED],
 
12385
-[_LT_SET_OPTION([LT_INIT], [disable-shared])
7729
12386
+# AM_SET_DEPDIR
7730
12387
+# -------------
7731
12388
+# Choose a directory name for dependency files.
7733
12390
+AC_DEFUN([AM_SET_DEPDIR],
7734
12391
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
7735
12392
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
7736
 
+])
7737
 
 
7738
 
-    netbsd*)
7739
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7740
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7741
 
-      else
7742
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7743
 
-      fi
7744
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7745
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7746
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7747
 
-      ;;
7748
 
 
7749
 
-    newsos6)
7750
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7751
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7752
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7753
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7754
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7755
 
-      ;;
 
12393
 ])
 
12394
 
 
12395
-AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
 
12396
-AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
12397
 
 
12398
-dnl aclocal-1.4 backwards compatibility:
 
12399
-dnl AC_DEFUN([AM_ENABLE_SHARED], [])
 
12400
-dnl AC_DEFUN([AM_DISABLE_SHARED], [])
7756
12401
+# AM_DEP_TRACK
7757
12402
+# ------------
7758
12403
+AC_DEFUN([AM_DEP_TRACK],
7767
12412
+AC_SUBST([AMDEPBACKSLASH])dnl
7768
12413
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
7769
12414
+])
7770
 
+
 
12415
 
7771
12416
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
7772
12417
 
7773
 
-    openbsd*)
7774
 
-      if test -f /usr/libexec/ld.so; then
7775
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7776
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7777
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7778
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7779
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7780
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7781
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7782
 
-       else
7783
 
-         case $host_os in
7784
 
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
7785
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7786
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7787
 
-            ;;
7788
 
-          *)
7789
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7790
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7791
 
-            ;;
7792
 
-         esac
7793
 
-        fi
7794
 
-      else
7795
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7796
 
-      fi
7797
 
-      ;;
7798
12418
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7799
12419
+# Free Software Foundation, Inc.
7800
12420
+#
7802
12422
+# gives unlimited permission to copy and/or distribute it,
7803
12423
+# with or without modifications, as long as this notice is preserved.
7804
12424
 
7805
 
-    os2*)
7806
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7807
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7808
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7809
 
-      _LT_AC_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'
7810
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12425
-# _LT_ENABLE_STATIC([DEFAULT])
 
12426
-# ----------------------------
 
12427
-# implement the --enable-static flag, and support the `static' and
 
12428
-# `disable-static' LT_INIT options.
 
12429
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
12430
-m4_define([_LT_ENABLE_STATIC],
 
12431
-[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
12432
-AC_ARG_ENABLE([static],
 
12433
-    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
12434
-       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
 
12435
-    [p=${PACKAGE-default}
 
12436
-    case $enableval in
 
12437
-    yes) enable_static=yes ;;
 
12438
-    no) enable_static=no ;;
 
12439
-    *)
 
12440
-     enable_static=no
 
12441
-      # Look at the argument we got.  We use all the common list separators.
 
12442
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12443
-      for pkg in $enableval; do
 
12444
-       IFS="$lt_save_ifs"
 
12445
-       if test "X$pkg" = "X$p"; then
 
12446
-         enable_static=yes
 
12447
-       fi
 
12448
-      done
 
12449
-      IFS="$lt_save_ifs"
7811
12450
-      ;;
 
12451
-    esac],
 
12452
-    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
7812
12453
+#serial 3
7813
12454
 
7814
 
-    osf3*)
7815
 
-      if test "$GCC" = yes; then
7816
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7817
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7818
 
-      else
7819
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7820
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7821
 
-      fi
7822
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7823
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7824
 
-      ;;
 
12455
-    _LT_DECL([build_old_libs], [enable_static], [0],
 
12456
-       [Whether or not to build static libraries])
 
12457
-])# _LT_ENABLE_STATIC
7825
12458
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
7826
12459
+# ------------------------------
7827
12460
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
7866
12499
+done
7867
12500
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
7868
12501
 
7869
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
7870
 
-      if test "$GCC" = yes; then
7871
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7872
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7873
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7874
 
-      else
7875
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7876
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7877
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7878
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
12502
-LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
 
12503
-LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
7879
12504
 
7880
 
-       # Both c and cxx compiler support -rpath directly
7881
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7882
 
-      fi
7883
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7884
 
-      ;;
 
12505
-# Old names:
 
12506
-AC_DEFUN([AC_ENABLE_STATIC],
 
12507
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
7885
12508
+# AM_OUTPUT_DEPENDENCY_COMMANDS
7886
12509
+# -----------------------------
7887
12510
+# This macro should only be invoked once -- use via AC_REQUIRE.
7893
12516
+[AC_CONFIG_COMMANDS([depfiles],
7894
12517
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
7895
12518
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
7896
 
+])
7897
 
 
7898
 
-    solaris*)
7899
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
7900
 
-      if test "$GCC" = yes; then
7901
 
-       wlarc='${wl}'
7902
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7903
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7904
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7905
 
-      else
7906
 
-       wlarc=''
7907
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7908
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7909
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7910
 
-      fi
7911
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7912
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7913
 
-      case $host_os in
7914
 
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7915
 
-      *)
7916
 
-       # The compiler driver will combine and reorder linker options,
7917
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
7918
 
-       # but is careful enough not to reorder.
7919
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
7920
 
-       if test "$GCC" = yes; then
7921
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7922
 
-       else
7923
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7924
 
-       fi
7925
 
-       ;;
7926
 
-      esac
7927
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7928
 
-      ;;
7929
 
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7930
 
+# Free Software Foundation, Inc.
7931
 
+#
7932
 
+# This file is free software; the Free Software Foundation
7933
 
+# gives unlimited permission to copy and/or distribute it,
7934
 
+# with or without modifications, as long as this notice is preserved.
7935
 
 
7936
 
-    sunos4*)
7937
 
-      if test "x$host_vendor" = xsequent; then
7938
 
-       # Use $CC to link under sequent, because it throws in some extra .o
7939
 
-       # files that make .init and .fini sections work.
7940
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7941
 
-      else
7942
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7943
 
-      fi
7944
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7945
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7946
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7947
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7948
 
-      ;;
7949
 
+# serial 8
7950
 
 
7951
 
-    sysv4)
7952
 
-      case $host_vendor in
7953
 
-       sni)
7954
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7955
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
7956
 
-       ;;
7957
 
-       siemens)
7958
 
-         ## LD is ld it makes a PLAMLIB
7959
 
-         ## CC just makes a GrossModule.
7960
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7961
 
-         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
7962
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
7963
 
-        ;;
7964
 
-       motorola)
7965
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7966
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
7967
 
-       ;;
7968
 
-      esac
7969
 
-      runpath_var='LD_RUN_PATH'
7970
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7971
 
-      ;;
7972
 
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
7973
 
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
7974
 
 
7975
 
-    sysv4.3*)
7976
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7977
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7978
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
7979
 
-      ;;
 
12519
 ])
 
12520
 
 
12521
-AC_DEFUN([AC_DISABLE_STATIC],
 
12522
-[_LT_SET_OPTION([LT_INIT], [disable-static])
 
12523
-])
7980
12524
+# Do all the work for Automake.                             -*- Autoconf -*-
7981
12525
 
7982
 
-    sysv4*MP*)
7983
 
-      if test -d /usr/nec; then
7984
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7985
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7986
 
-       runpath_var=LD_RUN_PATH
7987
 
-       hardcode_runpath_var=yes
7988
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7989
 
-      fi
7990
 
-      ;;
 
12526
-AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
 
12527
-AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7991
12528
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7992
12529
+# 2005, 2006, 2008 Free Software Foundation, Inc.
7993
12530
+#
7995
12532
+# gives unlimited permission to copy and/or distribute it,
7996
12533
+# with or without modifications, as long as this notice is preserved.
7997
12534
 
7998
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7999
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8000
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8001
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8002
 
-      runpath_var='LD_RUN_PATH'
 
12535
-dnl aclocal-1.4 backwards compatibility:
 
12536
-dnl AC_DEFUN([AM_ENABLE_STATIC], [])
 
12537
-dnl AC_DEFUN([AM_DISABLE_STATIC], [])
8003
12538
+# serial 13
8004
12539
 
8005
 
-      if test "$GCC" = yes; then
8006
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8007
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8008
 
-      else
8009
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8010
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8011
 
-      fi
8012
 
-      ;;
8013
12540
+# This macro actually does too much.  Some checks are only needed if
8014
12541
+# your package does certain things.  But this isn't really a big deal.
8015
 
+
 
12542
 
8016
12543
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
8017
12544
+# AM_INIT_AUTOMAKE([OPTIONS])
8018
12545
+# -----------------------------------------------
8041
12568
+  fi
8042
12569
+fi
8043
12570
 
8044
 
-    sysv5* | sco3.2v5* | sco5v6*)
8045
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
8046
 
-      # link with -lc, and that would cause any symbols used from libc to
8047
 
-      # always be unresolved, which means just about no library would
8048
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
8049
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
8050
 
-      # as -z defs.
8051
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8052
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
8053
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8054
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8055
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8056
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8057
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8058
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8059
 
-      runpath_var='LD_RUN_PATH'
 
12571
-# _LT_ENABLE_FAST_INSTALL([DEFAULT])
 
12572
-# ----------------------------------
 
12573
-# implement the --enable-fast-install flag, and support the `fast-install'
 
12574
-# and `disable-fast-install' LT_INIT options.
 
12575
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
12576
-m4_define([_LT_ENABLE_FAST_INSTALL],
 
12577
-[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
12578
-AC_ARG_ENABLE([fast-install],
 
12579
-    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
12580
-    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
12581
-    [p=${PACKAGE-default}
 
12582
-    case $enableval in
 
12583
-    yes) enable_fast_install=yes ;;
 
12584
-    no) enable_fast_install=no ;;
 
12585
-    *)
 
12586
-      enable_fast_install=no
 
12587
-      # Look at the argument we got.  We use all the common list separators.
 
12588
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12589
-      for pkg in $enableval; do
 
12590
-       IFS="$lt_save_ifs"
 
12591
-       if test "X$pkg" = "X$p"; then
 
12592
-         enable_fast_install=yes
 
12593
-       fi
 
12594
-      done
 
12595
-      IFS="$lt_save_ifs"
 
12596
-      ;;
 
12597
-    esac],
 
12598
-    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
8060
12599
+# test whether we have cygpath
8061
12600
+if test -z "$CYGPATH_W"; then
8062
12601
+  if (cygpath --version) >/dev/null 2>/dev/null; then
8067
12606
+fi
8068
12607
+AC_SUBST([CYGPATH_W])
8069
12608
 
8070
 
-      if test "$GCC" = yes; then
8071
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8072
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8073
 
-      else
8074
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8075
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8076
 
-      fi
8077
 
-      ;;
 
12609
-_LT_DECL([fast_install], [enable_fast_install], [0],
 
12610
-        [Whether or not to optimize for fast installation])dnl
 
12611
-])# _LT_ENABLE_FAST_INSTALL
8078
12612
+# Define the identity of the package.
8079
12613
+dnl Distinguish between old-style and new-style calls.
8080
12614
+m4_ifval([$2],
8088
12622
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8089
12623
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8090
12624
 
8091
 
-    uts4*)
8092
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8093
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8094
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8095
 
-      ;;
 
12625
-LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
 
12626
-LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
8096
12627
+_AM_IF_OPTION([no-define],,
8097
12628
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
8098
12629
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
8099
12630
 
8100
 
-    *)
8101
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
8102
 
-      ;;
8103
 
-    esac
8104
 
-  fi
 
12631
-# Old names:
 
12632
-AU_DEFUN([AC_ENABLE_FAST_INSTALL],
 
12633
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
 
12634
-AC_DIAGNOSE([obsolete],
 
12635
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
12636
-the `fast-install' option into LT_INIT's first parameter.])
8105
12637
+# Some tools Automake needs.
8106
12638
+AC_REQUIRE([AM_SANITY_CHECK])dnl
8107
12639
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
8134
12666
+                  [_AM_DEPENDENCIES(OBJC)],
8135
12667
+                  [define([AC_PROG_OBJC],
8136
12668
+                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8137
 
+])
8138
12669
 ])
8139
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8140
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8141
12670
-
8142
 
-#
8143
 
-# Do we need to explicitly link libc?
8144
 
-#
8145
 
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8146
 
-x|xyes)
8147
 
-  # Assume -lc should be added
8148
 
-  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8149
 
 
8150
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
8151
 
-    case $_LT_AC_TAGVAR(archive_cmds, $1) in
8152
 
-    *'~'*)
8153
 
-      # FIXME: we may have to deal with multi-command sequences.
8154
 
-      ;;
8155
 
-    '$CC '*)
8156
 
-      # Test whether the compiler implicitly links with -lc since on some
8157
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8158
 
-      # to ld, don't add -lc before -lgcc.
8159
 
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8160
 
-      $rm conftest*
8161
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8162
 
 
8163
 
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8164
 
-        soname=conftest
8165
 
-        lib=conftest
8166
 
-        libobjs=conftest.$ac_objext
8167
 
-        deplibs=
8168
 
-        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8169
 
-       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
8170
 
-        compiler_flags=-v
8171
 
-        linker_flags=-v
8172
 
-        verstring=
8173
 
-        output_objdir=.
8174
 
-        libname=conftest
8175
 
-        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8176
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8177
 
-        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8178
 
-        then
8179
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8180
 
-        else
8181
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8182
 
-        fi
8183
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8184
 
-      else
8185
 
-        cat conftest.err 1>&5
8186
 
-      fi
8187
 
-      $rm conftest*
8188
 
-      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8189
 
-      ;;
8190
 
-    esac
8191
 
-  fi
8192
 
-  ;;
8193
 
-esac
8194
 
-])# AC_LIBTOOL_PROG_LD_SHLIBS
 
12671
-AU_DEFUN([AC_DISABLE_FAST_INSTALL],
 
12672
-[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
 
12673
-AC_DIAGNOSE([obsolete],
 
12674
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
12675
-the `disable-fast-install' option into LT_INIT's first parameter.])
 
12676
 ])
 
12677
 
 
12678
-dnl aclocal-1.4 backwards compatibility:
 
12679
-dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
 
12680
-dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 
12681
 
8195
12682
+# When config.status generates a header, we must update the stamp-h file.
8196
12683
+# This file resides in the same directory as the config header
8197
12684
+# that is generated.  The stamp files are numbered to have different names.
8198
12685
 
 
12686
-# _LT_WITH_PIC([MODE])
 
12687
-# --------------------
 
12688
-# implement the --with-pic flag, and support the `pic-only' and `no-pic'
 
12689
-# LT_INIT options.
 
12690
-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
12691
-m4_define([_LT_WITH_PIC],
 
12692
-[AC_ARG_WITH([pic],
 
12693
-    [AS_HELP_STRING([--with-pic],
 
12694
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
12695
-    [pic_mode="$withval"],
 
12696
-    [pic_mode=default])
 
12697
-
 
12698
-test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
 
12699
-
 
12700
-_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
 
12701
-])# _LT_WITH_PIC
 
12702
-
 
12703
-LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
 
12704
-LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
 
12705
-
 
12706
-# Old name:
 
12707
-AU_DEFUN([AC_LIBTOOL_PICMODE],
 
12708
-[_LT_SET_OPTION([LT_INIT], [pic-only])
 
12709
-AC_DIAGNOSE([obsolete],
 
12710
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
12711
-put the `pic-only' option into LT_INIT's first parameter.])
 
12712
-])
 
12713
-
 
12714
-dnl aclocal-1.4 backwards compatibility:
 
12715
-dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
 
12716
-
 
12717
-
 
12718
-m4_define([_LTDL_MODE], [])
 
12719
-LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
 
12720
-                [m4_define([_LTDL_MODE], [nonrecursive])])
 
12721
-LT_OPTION_DEFINE([LTDL_INIT], [recursive],
 
12722
-                [m4_define([_LTDL_MODE], [recursive])])
 
12723
-LT_OPTION_DEFINE([LTDL_INIT], [subproject],
 
12724
-                [m4_define([_LTDL_MODE], [subproject])])
 
12725
-
 
12726
-m4_define([_LTDL_TYPE], [])
 
12727
-LT_OPTION_DEFINE([LTDL_INIT], [installable],
 
12728
-                [m4_define([_LTDL_TYPE], [installable])])
 
12729
-LT_OPTION_DEFINE([LTDL_INIT], [convenience],
 
12730
-                [m4_define([_LTDL_TYPE], [convenience])])
8199
12731
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
8200
12732
+# loop where config.status creates the headers, so we can generate
8201
12733
+# our stamp files there.
8213
12745
+done
8214
12746
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8215
12747
 
8216
 
-# _LT_AC_FILE_LTDLL_C
8217
 
-# -------------------
8218
 
-# Be careful that the start marker always follows a newline.
8219
 
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
8220
 
-# /* ltdll.c starts here */
8221
 
-# #define WIN32_LEAN_AND_MEAN
8222
 
-# #include <windows.h>
8223
 
-# #undef WIN32_LEAN_AND_MEAN
8224
 
-# #include <stdio.h>
8225
 
-#
8226
 
-# #ifndef __CYGWIN__
8227
 
-# #  ifdef __CYGWIN32__
8228
 
-# #    define __CYGWIN__ __CYGWIN32__
8229
 
-# #  endif
8230
 
-# #endif
8231
 
-#
8232
 
-# #ifdef __cplusplus
8233
 
-# extern "C" {
8234
 
-# #endif
8235
 
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8236
 
-# #ifdef __cplusplus
8237
 
-# }
8238
 
-# #endif
8239
 
-#
8240
 
-# #ifdef __CYGWIN__
8241
 
-# #include <cygwin/cygwin_dll.h>
8242
 
-# DECLARE_CYGWIN_DLL( DllMain );
8243
 
-# #endif
8244
 
-# HINSTANCE __hDllInstance_base;
 
12748
-# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
 
12749
-#
 
12750
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
12751
-# Written by Gary V. Vaughan, 2004
8245
12752
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
8246
12753
 #
8247
 
-# BOOL APIENTRY
8248
 
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8249
 
-# {
8250
 
-#   __hDllInstance_base = hInst;
8251
 
-#   return TRUE;
8252
 
-# }
8253
 
-# /* ltdll.c ends here */
8254
 
-])# _LT_AC_FILE_LTDLL_C
 
12754
-# This file is free software; the Free Software Foundation gives
 
12755
-# unlimited permission to copy and/or distribute it, with or without
 
12756
-# modifications, as long as this notice is preserved.
 
12757
-
 
12758
-# serial 6 ltsugar.m4
 
12759
-
 
12760
-# This is to help aclocal find these macros, as it can't see m4_define.
 
12761
-AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
 
12762
-
 
12763
-
 
12764
-# lt_join(SEP, ARG1, [ARG2...])
 
12765
-# -----------------------------
 
12766
-# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
 
12767
-# associated separator.
 
12768
-# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
 
12769
-# versions in m4sugar had bugs.
 
12770
-m4_define([lt_join],
 
12771
-[m4_if([$#], [1], [],
 
12772
-       [$#], [2], [[$2]],
 
12773
-       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
 
12774
-m4_define([_lt_join],
 
12775
-[m4_if([$#$2], [2], [],
 
12776
-       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
8255
12777
+# This file is free software; the Free Software Foundation
8256
12778
+# gives unlimited permission to copy and/or distribute it,
8257
12779
+# with or without modifications, as long as this notice is preserved.
8264
12786
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
8265
12787
+AC_SUBST(install_sh)])
8266
12788
 
8267
 
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
8268
 
-# ---------------------------------
8269
 
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
 
12789
-# lt_car(LIST)
 
12790
-# lt_cdr(LIST)
 
12791
-# ------------
 
12792
-# Manipulate m4 lists.
 
12793
-# These macros are necessary as long as will still need to support
 
12794
-# Autoconf-2.59 which quotes differently.
 
12795
-m4_define([lt_car], [[$1]])
 
12796
-m4_define([lt_cdr],
 
12797
-[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
 
12798
-       [$#], 1, [],
 
12799
-       [m4_dquote(m4_shift($@))])])
 
12800
-m4_define([lt_unquote], $1)
 
12801
-
 
12802
-
 
12803
-# lt_append(MACRO-NAME, STRING, [SEPARATOR])
 
12804
-# ------------------------------------------
 
12805
-# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
 
12806
-# Note that neither SEPARATOR nor STRING are expanded; they are appended
 
12807
-# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
 
12808
-# No SEPARATOR is output if MACRO-NAME was previously undefined (different
 
12809
-# than defined and empty).
8270
12810
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
8271
 
+#
 
12811
 #
 
12812
-# This macro is needed until we can rely on Autoconf 2.62, since earlier
 
12813
-# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
 
12814
-m4_define([lt_append],
 
12815
-[m4_define([$1],
 
12816
-          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
 
12817
-
 
12818
-
 
12819
-
 
12820
-# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
 
12821
-# ----------------------------------------------------------
 
12822
-# Produce a SEP delimited list of all paired combinations of elements of
 
12823
-# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
 
12824
-# has the form PREFIXmINFIXSUFFIXn.
 
12825
-# Needed until we can rely on m4_combine added in Autoconf 2.62.
 
12826
-m4_define([lt_combine],
 
12827
-[m4_if(m4_eval([$# > 3]), [1],
 
12828
-       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
12829
-[[m4_foreach([_Lt_prefix], [$2],
 
12830
-            [m4_foreach([_Lt_suffix],
 
12831
-               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
12832
-       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
 
12833
-
 
12834
-
 
12835
-# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
 
12836
-# -----------------------------------------------------------------------
 
12837
-# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
 
12838
-# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
 
12839
-m4_define([lt_if_append_uniq],
 
12840
-[m4_ifdef([$1],
 
12841
-         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
 
12842
-                [lt_append([$1], [$2], [$3])$4],
 
12843
-                [$5])],
 
12844
-         [lt_append([$1], [$2], [$3])$4])])
 
12845
-
 
12846
-
 
12847
-# lt_dict_add(DICT, KEY, VALUE)
 
12848
-# -----------------------------
 
12849
-m4_define([lt_dict_add],
 
12850
-[m4_define([$1($2)], [$3])])
 
12851
-
 
12852
-
 
12853
-# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
 
12854
-# --------------------------------------------
 
12855
-m4_define([lt_dict_add_subkey],
 
12856
-[m4_define([$1($2:$3)], [$4])])
8272
12857
+# This file is free software; the Free Software Foundation
8273
12858
+# gives unlimited permission to copy and/or distribute it,
8274
12859
+# with or without modifications, as long as this notice is preserved.
8275
12860
 
8276
12861
+# serial 2
8277
12862
 
8278
 
-# old names
8279
 
-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
8280
 
-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
8281
 
-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
8282
 
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
8283
 
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
8284
 
-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
8285
 
-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
 
12863
-# lt_dict_fetch(DICT, KEY, [SUBKEY])
 
12864
-# ----------------------------------
 
12865
-m4_define([lt_dict_fetch],
 
12866
-[m4_ifval([$3],
 
12867
-       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
 
12868
-    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
 
12869
-
 
12870
-
 
12871
-# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
 
12872
-# -----------------------------------------------------------------
 
12873
-m4_define([lt_if_dict_fetch],
 
12874
-[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
 
12875
-       [$5],
 
12876
-    [$6])])
 
12877
-
 
12878
-
 
12879
-# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
 
12880
-# --------------------------------------------------------------
 
12881
-m4_define([lt_dict_filter],
 
12882
-[m4_if([$5], [], [],
 
12883
-  [lt_join(m4_quote(m4_default([$4], [[, ]])),
 
12884
-           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
 
12885
-                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
 
12886
-])
8286
12887
+# Check whether the underlying file-system supports filenames
8287
12888
+# with a leading dot.  For instance MS-DOS doesn't.
8288
12889
+AC_DEFUN([AM_SET_LEADING_DOT],
8296
12897
+rmdir .tst 2>/dev/null
8297
12898
+AC_SUBST([am__leading_dot])])
8298
12899
 
8299
 
-# This is just to silence aclocal about the macro not being used
8300
 
-ifelse([AC_DISABLE_FAST_INSTALL])
 
12900
-# ltversion.m4 -- version numbers                      -*- Autoconf -*-
 
12901
-#
 
12902
-#   Copyright (C) 2004 Free Software Foundation, Inc.
 
12903
-#   Written by Scott James Remnant, 2004
8301
12904
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
8302
12905
+# 2006  Free Software Foundation, Inc.
8303
 
+#
 
12906
 #
 
12907
-# This file is free software; the Free Software Foundation gives
 
12908
-# unlimited permission to copy and/or distribute it, with or without
 
12909
-# modifications, as long as this notice is preserved.
 
12910
-
 
12911
-# Generated from ltversion.in.
 
12912
-
 
12913
-# serial 3012 ltversion.m4
 
12914
-# This file is part of GNU Libtool
8304
12915
+# This file is free software; the Free Software Foundation
8305
12916
+# gives unlimited permission to copy and/or distribute it,
8306
12917
+# with or without modifications, as long as this notice is preserved.
8307
 
+
 
12918
 
 
12919
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
12920
-m4_define([LT_PACKAGE_REVISION], [1.3012])
8308
12921
+# serial 10
8309
12922
 
8310
 
-AC_DEFUN([LT_AC_PROG_GCJ],
8311
 
-[AC_CHECK_TOOL(GCJ, gcj, no)
8312
 
-  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
8313
 
-  AC_SUBST(GCJFLAGS)
 
12923
-AC_DEFUN([LTVERSION_VERSION],
 
12924
-[macro_version='2.2.6'
 
12925
-macro_revision='1.3012'
 
12926
-_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 
12927
-_LT_DECL(, macro_revision, 0)
8314
12928
+# AM_PATH_LISPDIR
8315
12929
+# ---------------
8316
12930
+AC_DEFUN([AM_PATH_LISPDIR],
8351
12965
+AC_SUBST([lispdir])
8352
12966
+])# AM_PATH_LISPDIR
8353
12967
 
8354
 
-AC_DEFUN([LT_AC_PROG_RC],
8355
 
-[AC_CHECK_TOOL(RC, windres, no)
8356
 
-])
 
12968
-# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 
12969
-#
 
12970
-#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
 
12971
-#   Written by Scott James Remnant, 2004.
 
12972
-#
 
12973
-# This file is free software; the Free Software Foundation gives
 
12974
-# unlimited permission to copy and/or distribute it, with or without
 
12975
-# modifications, as long as this notice is preserved.
8357
12976
+AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
8358
12977
 
8359
 
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
8360
 
+# From Jim Meyering
8361
 
 
8362
 
-# Cheap backport of AS_EXECUTABLE_P and required macros
8363
 
-# from Autoconf 2.59; we should not use $as_executable_p directly.
8364
 
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
8365
 
+# Free Software Foundation, Inc.
8366
 
+#
8367
 
+# This file is free software; the Free Software Foundation
8368
 
+# gives unlimited permission to copy and/or distribute it,
8369
 
+# with or without modifications, as long as this notice is preserved.
8370
 
 
8371
 
-# _AS_TEST_PREPARE
8372
 
-# ----------------
8373
 
-m4_ifndef([_AS_TEST_PREPARE],
8374
 
-[m4_defun([_AS_TEST_PREPARE],
8375
 
-[if test -x / >/dev/null 2>&1; then
8376
 
-  as_executable_p='test -x'
8377
 
-else
8378
 
-  as_executable_p='test -f'
8379
 
-fi
8380
 
-])])# _AS_TEST_PREPARE
8381
 
+# serial 4
8382
 
 
8383
 
-# AS_EXECUTABLE_P
8384
 
-# ---------------
8385
 
-# Check whether a file is executable.
8386
 
-m4_ifndef([AS_EXECUTABLE_P],
8387
 
-[m4_defun([AS_EXECUTABLE_P],
8388
 
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
8389
 
-$as_executable_p $1[]dnl
8390
 
-])])# AS_EXECUTABLE_P
8391
 
+AC_DEFUN([AM_MAINTAINER_MODE],
8392
 
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
8393
 
+  dnl maintainer-mode is disabled by default
8394
 
+  AC_ARG_ENABLE(maintainer-mode,
8395
 
+[  --enable-maintainer-mode  enable make rules and dependencies not useful
8396
 
+                         (and sometimes confusing) to the casual installer],
8397
 
+      USE_MAINTAINER_MODE=$enableval,
8398
 
+      USE_MAINTAINER_MODE=no)
8399
 
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
8400
 
+  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
8401
 
+  MAINT=$MAINTAINER_MODE_TRUE
8402
 
+  AC_SUBST(MAINT)dnl
8403
 
+]
8404
 
+)
8405
 
 
8406
 
-# NOTE: This macro has been submitted for inclusion into   #
8407
 
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
8408
 
-#  a released version of Autoconf we should remove this    #
8409
 
-#  macro and use it instead.                               #
8410
 
-# LT_AC_PROG_SED
8411
 
-# --------------
8412
 
-# Check for a fully-functional sed program, that truncates
8413
 
-# as few characters as possible.  Prefer GNU sed if found.
8414
 
-AC_DEFUN([LT_AC_PROG_SED],
8415
 
-[AC_MSG_CHECKING([for a sed that does not truncate output])
8416
 
-AC_CACHE_VAL(lt_cv_path_SED,
8417
 
-[# Loop through the user's path and test for sed and gsed.
8418
 
-# Then use that list of sed's as ones to test for truncation.
8419
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420
 
-for as_dir in $PATH
8421
 
-do
8422
 
-  IFS=$as_save_IFS
8423
 
-  test -z "$as_dir" && as_dir=.
8424
 
-  for lt_ac_prog in sed gsed; do
8425
 
-    for ac_exec_ext in '' $ac_executable_extensions; do
8426
 
-      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
8427
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8428
 
-      fi
8429
 
-    done
8430
 
-  done
8431
 
-done
8432
 
-IFS=$as_save_IFS
8433
 
-lt_ac_max=0
8434
 
-lt_ac_count=0
8435
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8436
 
-# along with /bin/sed that truncates output.
8437
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8438
 
-  test ! -f $lt_ac_sed && continue
8439
 
-  cat /dev/null > conftest.in
8440
 
-  lt_ac_count=0
8441
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8442
 
-  # Check for GNU sed and select it if it is found.
8443
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8444
 
-    lt_cv_path_SED=$lt_ac_sed
8445
 
-    break
8446
 
-  fi
8447
 
-  while true; do
8448
 
-    cat conftest.in conftest.in >conftest.tmp
8449
 
-    mv conftest.tmp conftest.in
8450
 
-    cp conftest.in conftest.nl
8451
 
-    echo >>conftest.nl
8452
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8453
 
-    cmp -s conftest.out conftest.nl || break
8454
 
-    # 10000 chars as input seems more than enough
8455
 
-    test $lt_ac_count -gt 10 && break
8456
 
-    lt_ac_count=`expr $lt_ac_count + 1`
8457
 
-    if test $lt_ac_count -gt $lt_ac_max; then
8458
 
-      lt_ac_max=$lt_ac_count
8459
 
-      lt_cv_path_SED=$lt_ac_sed
8460
 
-    fi
8461
 
-  done
8462
 
-done
8463
 
-])
8464
 
-SED=$lt_cv_path_SED
8465
 
-AC_SUBST([SED])
8466
 
-AC_MSG_RESULT([$SED])
8467
 
-])
8468
 
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
8469
 
 
 
12978
-# serial 4 lt~obsolete.m4
 
12979
+# Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
12980
 
 
12981
-# These exist entirely to fool aclocal when bootstrapping libtool.
 
12982
-#
 
12983
-# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
 
12984
-# which have later been changed to m4_define as they aren't part of the
 
12985
-# exported API, or moved to Autoconf or Automake where they belong.
 
12986
-#
 
12987
-# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
 
12988
-# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
 
12989
-# using a macro with the same name in our local m4/libtool.m4 it'll
 
12990
-# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
 
12991
-# and doesn't know about Autoconf macros at all.)
 
12992
-#
 
12993
-# So we provide this file, which has a silly filename so it's always
 
12994
-# included after everything else.  This provides aclocal with the
 
12995
-# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
 
12996
-# because those macros already exist, or will be overwritten later.
 
12997
-# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
 
12998
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
12999
 #
 
13000
-# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
 
13001
-# Yes, that means every name once taken will need to remain here until
 
13002
-# we give up compatibility with versions before 1.7, at which point
 
13003
-# we need to keep only those names which we still refer to.
 
13004
-
 
13005
-# This is to help aclocal find these macros, as it can't see m4_define.
 
13006
-AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
 
13007
-
 
13008
-m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
 
13009
-m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
 
13010
-m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
 
13011
-m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
 
13012
-m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
 
13013
-m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
 
13014
-m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
 
13015
-m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
 
13016
-m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
 
13017
-m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
 
13018
-m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
 
13019
-m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
 
13020
-m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
 
13021
-m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
 
13022
-m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
 
13023
-m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
 
13024
-m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
 
13025
-m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
 
13026
-m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
 
13027
-m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
 
13028
-m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
 
13029
-m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
 
13030
-m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
 
13031
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
 
13032
-m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
 
13033
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
 
13034
-m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
 
13035
-m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
 
13036
-m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
 
13037
-m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
 
13038
-m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
 
13039
-m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
 
13040
-m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
 
13041
-m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
 
13042
-m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
 
13043
-m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
 
13044
-m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
 
13045
-m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
 
13046
-m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 
13047
-m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
 
13048
-m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
 
13049
-m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
 
13050
-m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
 
13051
-m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 
13052
-m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 
13053
-m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
 
13054
-m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
 
13055
-m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
 
13056
-m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
 
13057
-m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
 
13058
-m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
 
13059
-m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 
13060
-m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 
13061
-m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
 
13062
-m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
 
13063
-
8470
13064
-# nls.m4 serial 3 (gettext-0.15)
8471
13065
-dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
8472
13066
-dnl This file is free software; the Free Software Foundation
8481
13075
-dnl by the GNU Library General Public License, and the rest of the GNU
8482
13076
-dnl gettext package package is covered by the GNU General Public License.
8483
13077
-dnl They are *not* in the public domain.
8484
 
+# Check to see how 'make' treats includes.                 -*- Autoconf -*-
8485
 
 
 
13078
-
8486
13079
-dnl Authors:
8487
13080
-dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8488
13081
-dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8489
 
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
8490
 
+#
8491
13082
+# This file is free software; the Free Software Foundation
8492
13083
+# gives unlimited permission to copy and/or distribute it,
8493
13084
+# with or without modifications, as long as this notice is preserved.
8854
13445
-  # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
8855
13446
-  # - LINGUAS is the value of the environment variable LINGUAS at configure
8856
13447
-  #   time.
8857
 
-
 
13448
+# Helper functions for option handling.                     -*- Autoconf -*-
 
13449
+
 
13450
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
13451
+#
 
13452
+# This file is free software; the Free Software Foundation
 
13453
+# gives unlimited permission to copy and/or distribute it,
 
13454
+# with or without modifications, as long as this notice is preserved.
 
13455
 
8858
13456
-changequote(,)dnl
8859
13457
-  # Adjust a relative srcdir.
8860
13458
-  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8868
13466
-    /*) top_srcdir="$ac_given_srcdir" ;;
8869
13467
-    *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
8870
13468
-  esac
8871
 
+# Helper functions for option handling.                     -*- Autoconf -*-
 
13469
+# serial 3
8872
13470
 
8873
13471
-  # Find a way to echo strings without interpreting backslash.
8874
13472
-  if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
8885
13483
-      gt_echo='echo_func'
8886
13484
-    fi
8887
13485
-  fi
8888
 
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
8889
 
+#
8890
 
+# This file is free software; the Free Software Foundation
8891
 
+# gives unlimited permission to copy and/or distribute it,
8892
 
+# with or without modifications, as long as this notice is preserved.
 
13486
+# _AM_MANGLE_OPTION(NAME)
 
13487
+# -----------------------
 
13488
+AC_DEFUN([_AM_MANGLE_OPTION],
 
13489
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
8893
13490
 
8894
13491
-  # A sed script that extracts the value of VARIABLE from a Makefile.
8895
13492
-  sed_x_variable='
8929
13526
-:d
8930
13527
-'
8931
13528
-changequote([,])dnl
8932
 
+# serial 3
 
13529
+# _AM_SET_OPTION(NAME)
 
13530
+# ------------------------------
 
13531
+# Set option NAME.  Presently that only means defining a flag for this option.
 
13532
+AC_DEFUN([_AM_SET_OPTION],
 
13533
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
8933
13534
 
8934
13535
-  # Set POTFILES to the value of the Makefile variable POTFILES.
8935
13536
-  sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
8941
13542
-    POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
8942
13543
-  done
8943
13544
-  POMAKEFILEDEPS=""
8944
 
+# _AM_MANGLE_OPTION(NAME)
8945
 
+# -----------------------
8946
 
+AC_DEFUN([_AM_MANGLE_OPTION],
8947
 
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
13545
+# _AM_SET_OPTIONS(OPTIONS)
 
13546
+# ----------------------------------
 
13547
+# OPTIONS is a space-separated list of Automake options.
 
13548
+AC_DEFUN([_AM_SET_OPTIONS],
 
13549
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
8948
13550
 
8949
13551
-  if test -n "$OBSOLETE_ALL_LINGUAS"; then
8950
13552
-    test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9046
13648
-      CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
9047
13649
-    done
9048
13650
-  fi
9049
 
+# _AM_SET_OPTION(NAME)
9050
 
+# ------------------------------
9051
 
+# Set option NAME.  Presently that only means defining a flag for this option.
9052
 
+AC_DEFUN([_AM_SET_OPTION],
9053
 
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
13651
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 
13652
+# -------------------------------------------
 
13653
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
13654
+AC_DEFUN([_AM_IF_OPTION],
 
13655
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9054
13656
 
9055
13657
-  sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
9056
13658
-  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
9082
13684
-  fi
9083
13685
-  mv "$ac_file.tmp" "$ac_file"
9084
13686
-])
9085
 
+# _AM_SET_OPTIONS(OPTIONS)
9086
 
+# ----------------------------------
9087
 
+# OPTIONS is a space-separated list of Automake options.
9088
 
+AC_DEFUN([_AM_SET_OPTIONS],
9089
 
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
13687
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
13688
+
 
13689
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
13690
+# Free Software Foundation, Inc.
 
13691
+#
 
13692
+# This file is free software; the Free Software Foundation
 
13693
+# gives unlimited permission to copy and/or distribute it,
 
13694
+# with or without modifications, as long as this notice is preserved.
 
13695
+
 
13696
+# serial 4
 
13697
+
 
13698
+# AM_SANITY_CHECK
 
13699
+# ---------------
 
13700
+AC_DEFUN([AM_SANITY_CHECK],
 
13701
+[AC_MSG_CHECKING([whether build environment is sane])
 
13702
+# Just in case
 
13703
+sleep 1
 
13704
+echo timestamp > conftest.file
 
13705
+# Do `set' in a subshell so we don't clobber the current shell's
 
13706
+# arguments.  Must try -L first in case configure is actually a
 
13707
+# symlink; some systems play weird games with the mod time of symlinks
 
13708
+# (eg FreeBSD returns the mod time of the symlink's containing
 
13709
+# directory).
 
13710
+if (
 
13711
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
13712
+   if test "$[*]" = "X"; then
 
13713
+      # -L didn't work.
 
13714
+      set X `ls -t $srcdir/configure conftest.file`
 
13715
+   fi
 
13716
+   rm -f conftest.file
 
13717
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
13718
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
9090
13719
 
9091
13720
-dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
9092
13721
-AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
9093
13722
-[
9094
13723
-  XGETTEXT_EXTRA_OPTIONS=
9095
13724
-])
9096
 
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9097
 
+# -------------------------------------------
9098
 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9099
 
+AC_DEFUN([_AM_IF_OPTION],
9100
 
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
13725
+      # If neither matched, then we have a broken ls.  This can happen
 
13726
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
13727
+      # broken ls alias from the environment.  This has actually
 
13728
+      # happened.  Such a system could not be considered "sane".
 
13729
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
13730
+alias in your environment])
 
13731
+   fi
9101
13732
 
9102
13733
-dnl Registers an option to be passed to xgettext in the po subdirectory.
9103
13734
-AC_DEFUN([AM_XGETTEXT_OPTION],
9105
13736
-  AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
9106
13737
-  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
9107
13738
-])
9108
 
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
13739
+   test "$[2]" = conftest.file
 
13740
+   )
 
13741
+then
 
13742
+   # Ok.
 
13743
+   :
 
13744
+else
 
13745
+   AC_MSG_ERROR([newly created file is older than distributed files!
 
13746
+Check your system clock])
 
13747
+fi
 
13748
+AC_MSG_RESULT(yes)])
9109
13749
 
9110
13750
-# progtest.m4 serial 4 (gettext-0.14.2)
9111
13751
-dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
9121
13761
-dnl by the GNU Library General Public License, and the rest of the GNU
9122
13762
-dnl gettext package package is covered by the GNU General Public License.
9123
13763
-dnl They are *not* in the public domain.
9124
 
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
9125
 
+# Free Software Foundation, Inc.
 
13764
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
9126
13765
+#
9127
13766
+# This file is free software; the Free Software Foundation
9128
13767
+# gives unlimited permission to copy and/or distribute it,
9130
13769
 
9131
13770
-dnl Authors:
9132
13771
-dnl   Ulrich Drepper <drepper@cygnus.com>, 1996.
9133
 
+# serial 4
 
13772
+# AM_PROG_INSTALL_STRIP
 
13773
+# ---------------------
 
13774
+# One issue with vendor `install' (even GNU) is that you can't
 
13775
+# specify the program used to strip binaries.  This is especially
 
13776
+# annoying in cross-compiling environments, where the build's strip
 
13777
+# is unlikely to handle the host's binaries.
 
13778
+# Fortunately install-sh will honor a STRIPPROG variable, so we
 
13779
+# always use install-sh in `make install-strip', and initialize
 
13780
+# STRIPPROG with the value of the STRIP variable (set by the user).
 
13781
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
 
13782
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
13783
+# Installed binaries are usually stripped using `strip' when the user
 
13784
+# run `make install-strip'.  However `strip' might not be the right
 
13785
+# tool to use in cross-compilation environments, therefore Automake
 
13786
+# will honor the `STRIP' environment variable to overrule this program.
 
13787
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
13788
+if test "$cross_compiling" != no; then
 
13789
+  AC_CHECK_TOOL([STRIP], [strip], :)
 
13790
+fi
 
13791
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
13792
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
9134
13793
 
9135
13794
-AC_PREREQ(2.50)
9136
 
+# AM_SANITY_CHECK
9137
 
+# ---------------
9138
 
+AC_DEFUN([AM_SANITY_CHECK],
9139
 
+[AC_MSG_CHECKING([whether build environment is sane])
9140
 
+# Just in case
9141
 
+sleep 1
9142
 
+echo timestamp > conftest.file
9143
 
+# Do `set' in a subshell so we don't clobber the current shell's
9144
 
+# arguments.  Must try -L first in case configure is actually a
9145
 
+# symlink; some systems play weird games with the mod time of symlinks
9146
 
+# (eg FreeBSD returns the mod time of the symlink's containing
9147
 
+# directory).
9148
 
+if (
9149
 
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9150
 
+   if test "$[*]" = "X"; then
9151
 
+      # -L didn't work.
9152
 
+      set X `ls -t $srcdir/configure conftest.file`
9153
 
+   fi
9154
 
+   rm -f conftest.file
9155
 
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
9156
 
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
13795
+# Copyright (C) 2006  Free Software Foundation, Inc.
 
13796
+#
 
13797
+# This file is free software; the Free Software Foundation
 
13798
+# gives unlimited permission to copy and/or distribute it,
 
13799
+# with or without modifications, as long as this notice is preserved.
9157
13800
 
9158
13801
-# Search path for a program which passes the given test.
9159
 
+      # If neither matched, then we have a broken ls.  This can happen
9160
 
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
9161
 
+      # broken ls alias from the environment.  This has actually
9162
 
+      # happened.  Such a system could not be considered "sane".
9163
 
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
9164
 
+alias in your environment])
9165
 
+   fi
 
13802
+# _AM_SUBST_NOTMAKE(VARIABLE)
 
13803
+# ---------------------------
 
13804
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 
13805
+# This macro is traced by Automake.
 
13806
+AC_DEFUN([_AM_SUBST_NOTMAKE])
9166
13807
 
9167
13808
-dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
9168
13809
-dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
9180
13821
-    PATH_SEPARATOR=:
9181
13822
-  fi
9182
13823
-  rm -f conf$$.sh
9183
 
+   test "$[2]" = conftest.file
9184
 
+   )
9185
 
+then
9186
 
+   # Ok.
9187
 
+   :
9188
 
+else
9189
 
+   AC_MSG_ERROR([newly created file is older than distributed files!
9190
 
+Check your system clock])
9191
 
 fi
9192
 
+AC_MSG_RESULT(yes)])
 
13824
-fi
 
13825
+# Check how to create a tarball.                            -*- Autoconf -*-
9193
13826
 
9194
13827
-# Find out how to test for executable files. Don't use a zero-byte file,
9195
13828
-# as systems may use methods other than mode bits to determine executability.
9202
13835
-  ac_executable_p="test -x"
9203
13836
-else
9204
13837
-  ac_executable_p="test -f"
9205
 
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
9206
 
+#
9207
 
+# This file is free software; the Free Software Foundation
9208
 
+# gives unlimited permission to copy and/or distribute it,
9209
 
+# with or without modifications, as long as this notice is preserved.
9210
 
+
9211
 
+# AM_PROG_INSTALL_STRIP
9212
 
+# ---------------------
9213
 
+# One issue with vendor `install' (even GNU) is that you can't
9214
 
+# specify the program used to strip binaries.  This is especially
9215
 
+# annoying in cross-compiling environments, where the build's strip
9216
 
+# is unlikely to handle the host's binaries.
9217
 
+# Fortunately install-sh will honor a STRIPPROG variable, so we
9218
 
+# always use install-sh in `make install-strip', and initialize
9219
 
+# STRIPPROG with the value of the STRIP variable (set by the user).
9220
 
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
9221
 
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9222
 
+# Installed binaries are usually stripped using `strip' when the user
9223
 
+# run `make install-strip'.  However `strip' might not be the right
9224
 
+# tool to use in cross-compilation environments, therefore Automake
9225
 
+# will honor the `STRIP' environment variable to overrule this program.
9226
 
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
9227
 
+if test "$cross_compiling" != no; then
9228
 
+  AC_CHECK_TOOL([STRIP], [strip], :)
9229
 
 fi
 
13838
-fi
9230
13839
-rm -f conf$$.file
9231
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9232
 
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
13840
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
13841
+#
 
13842
+# This file is free software; the Free Software Foundation
 
13843
+# gives unlimited permission to copy and/or distribute it,
 
13844
+# with or without modifications, as long as this notice is preserved.
9233
13845
 
9234
13846
-# Extract the first word of "$2", so it can be a program name with args.
9235
13847
-set dummy $2; ac_word=[$]2
9253
13865
-          fi
9254
13866
-        fi
9255
13867
-      done
9256
 
+# Copyright (C) 2006  Free Software Foundation, Inc.
9257
 
+#
9258
 
+# This file is free software; the Free Software Foundation
9259
 
+# gives unlimited permission to copy and/or distribute it,
9260
 
+# with or without modifications, as long as this notice is preserved.
9261
 
+
9262
 
+# _AM_SUBST_NOTMAKE(VARIABLE)
9263
 
+# ---------------------------
9264
 
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9265
 
+# This macro is traced by Automake.
9266
 
+AC_DEFUN([_AM_SUBST_NOTMAKE])
9267
 
+
9268
 
+# Check how to create a tarball.                            -*- Autoconf -*-
9269
 
+
9270
 
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
9271
 
+#
9272
 
+# This file is free software; the Free Software Foundation
9273
 
+# gives unlimited permission to copy and/or distribute it,
9274
 
+# with or without modifications, as long as this notice is preserved.
9275
 
+
9276
13868
+# serial 2
9277
13869
+
9278
13870
+# _AM_PROG_TAR(FORMAT)
9375
13967
+AC_SUBST([am__untar])
9376
13968
+]) # _AM_PROG_TAR
9377
13969
 
 
13970
+m4_include([m4/autobuild.m4])
 
13971
+m4_include([m4/libtool.m4])
 
13972
+m4_include([m4/ltoptions.m4])
 
13973
+m4_include([m4/ltsugar.m4])
 
13974
+m4_include([m4/ltversion.m4])
 
13975
+m4_include([m4/lt~obsolete.m4])
9378
13976
 m4_include([acinclude.m4])
9379
13977
Index: sid/am/Makefile.in
9380
13978
===================================================================
9381
13979
--- sid.orig/am/Makefile.in
9382
13980
+++ sid/am/Makefile.in
9383
 
@@ -1,8 +1,8 @@
9384
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
9385
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
9386
 
 # @configure_input@
9387
 
 
9388
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
9389
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
9390
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
9391
 
 # This Makefile.in is free software; the Free Software Foundation
9392
 
 # gives unlimited permission to copy and/or distribute it,
9393
 
 # with or without modifications, as long as this notice is preserved.
 
13981
@@ -35,7 +35,10 @@
 
13982
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
13983
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
13984
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
13985
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
13986
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
13987
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
13988
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
13989
+       $(top_srcdir)/configure.in
 
13990
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
13991
        $(ACLOCAL_M4)
 
13992
 mkinstalldirs = $(install_sh) -d
9394
13993
Index: sid/benchmark-suite/Makefile.in
9395
13994
===================================================================
9396
13995
--- sid.orig/benchmark-suite/Makefile.in
9397
13996
+++ sid/benchmark-suite/Makefile.in
9398
 
@@ -1,8 +1,8 @@
9399
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
9400
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
9401
 
 # @configure_input@
9402
 
 
9403
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
9404
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
9405
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
9406
 
 # This Makefile.in is free software; the Free Software Foundation
9407
 
 # gives unlimited permission to copy and/or distribute it,
9408
 
 # with or without modifications, as long as this notice is preserved.
 
13997
@@ -35,7 +35,10 @@
 
13998
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
13999
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14000
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14001
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14002
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14003
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14004
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14005
+       $(top_srcdir)/configure.in
 
14006
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14007
        $(ACLOCAL_M4)
 
14008
 mkinstalldirs = $(install_sh) -d
9409
14009
Index: sid/build-aux/config.guess
9410
14010
===================================================================
9411
14011
--- sid.orig/build-aux/config.guess
9412
14012
+++ sid/build-aux/config.guess
9413
 
@@ -1,10 +1,10 @@
9414
 
 #! /bin/sh
9415
 
 # Attempt to guess a canonical system name.
9416
 
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
9417
 
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
9418
 
-#   Inc.
9419
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9420
 
+#   Free Software Foundation, Inc.
 
14013
@@ -4,7 +4,7 @@
 
14014
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
14015
 #   Free Software Foundation, Inc.
9421
14016
 
9422
 
-timestamp='2006-07-02'
 
14017
-timestamp='2008-01-08'
9423
14018
+timestamp='2008-01-23'
9424
14019
 
9425
14020
 # This file is free software; you can redistribute it and/or modify it
9426
14021
 # under the terms of the GNU General Public License as published by
9427
 
@@ -56,8 +56,8 @@
9428
 
 GNU config.guess ($timestamp)
9429
 
 
9430
 
 Originally written by Per Bothner.
9431
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9432
 
-Free Software Foundation, Inc.
9433
 
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
9434
 
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9435
 
 
9436
 
 This is free software; see the source for copying conditions.  There is NO
9437
 
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9438
 
@@ -161,6 +161,7 @@
9439
 
            arm*) machine=arm-unknown ;;
9440
 
            sh3el) machine=shl-unknown ;;
9441
 
            sh3eb) machine=sh-unknown ;;
9442
 
+           sh5el) machine=sh5le-unknown ;;
9443
 
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
9444
 
        esac
9445
 
        # The Operating System including object format, if it has switched
9446
 
@@ -329,7 +330,7 @@
9447
 
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
9448
 
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
9449
 
        exit ;;
9450
 
-    i86pc:SunOS:5.*:*)
9451
 
+    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
9452
 
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
9453
 
        exit ;;
9454
 
     sun4*:SunOS:6*:*)
9455
 
@@ -531,7 +532,7 @@
9456
 
                echo rs6000-ibm-aix3.2
9457
 
        fi
9458
 
        exit ;;
9459
 
-    *:AIX:*:[45])
9460
 
+    *:AIX:*:[456])
9461
 
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
9462
 
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
9463
 
                IBM_ARCH=rs6000
9464
 
@@ -780,7 +781,7 @@
9465
 
     i*:CYGWIN*:*)
9466
 
        echo ${UNAME_MACHINE}-pc-cygwin
9467
 
        exit ;;
9468
 
-    i*:MINGW*:*)
9469
 
+    *:MINGW*:*)
9470
 
        echo ${UNAME_MACHINE}-pc-mingw32
9471
 
        exit ;;
9472
 
     i*:windows32*:*)
9473
 
@@ -790,12 +791,18 @@
9474
 
     i*:PW*:*)
9475
 
        echo ${UNAME_MACHINE}-pc-pw32
9476
 
        exit ;;
9477
 
-    x86:Interix*:[3456]*)
9478
 
-       echo i586-pc-interix${UNAME_RELEASE}
9479
 
-       exit ;;
9480
 
-    EM64T:Interix*:[3456]*)
9481
 
-       echo x86_64-unknown-interix${UNAME_RELEASE}
9482
 
-       exit ;;
9483
 
+    *:Interix*:[3456]*)
9484
 
+       case ${UNAME_MACHINE} in
9485
 
+           x86)
9486
 
+               echo i586-pc-interix${UNAME_RELEASE}
9487
 
+               exit ;;
9488
 
+           EM64T | authenticamd)
9489
 
+               echo x86_64-unknown-interix${UNAME_RELEASE}
9490
 
+               exit ;;
9491
 
+           IA64)
9492
 
+               echo ia64-unknown-interix${UNAME_RELEASE}
9493
 
+               exit ;;
9494
 
+       esac ;;
9495
 
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
9496
 
        echo i${UNAME_MACHINE}-pc-mks
9497
 
        exit ;;
9498
 
@@ -829,7 +836,14 @@
9499
 
        echo ${UNAME_MACHINE}-pc-minix
9500
 
        exit ;;
9501
 
     arm*:Linux:*:*)
9502
 
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
9503
 
+       eval $set_cc_for_build
9504
 
+       if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
9505
 
+           | grep -q __ARM_EABI__
9506
 
+       then
9507
 
+           echo ${UNAME_MACHINE}-unknown-linux-gnu
9508
 
+       else
9509
 
+           echo ${UNAME_MACHINE}-unknown-linux-gnueabi
9510
 
+       fi
9511
 
        exit ;;
9512
 
     avr32*:Linux:*:*)
9513
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
9514
 
@@ -950,6 +964,9 @@
9515
 
     x86_64:Linux:*:*)
9516
 
        echo x86_64-unknown-linux-gnu
9517
 
        exit ;;
9518
 
+    xtensa*:Linux:*:*)
9519
 
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
9520
 
+       exit ;;
9521
 
     i*86:Linux:*:*)
9522
 
        # The BFD linker knows what the default object file format is, so
9523
 
        # first see if it will tell us. cd to the root directory to prevent
9524
 
@@ -1208,6 +1225,15 @@
9525
 
     SX-6:SUPER-UX:*:*)
9526
 
        echo sx6-nec-superux${UNAME_RELEASE}
9527
 
        exit ;;
9528
 
+    SX-7:SUPER-UX:*:*)
9529
 
+       echo sx7-nec-superux${UNAME_RELEASE}
9530
 
+       exit ;;
9531
 
+    SX-8:SUPER-UX:*:*)
9532
 
+       echo sx8-nec-superux${UNAME_RELEASE}
9533
 
+       exit ;;
9534
 
+    SX-8R:SUPER-UX:*:*)
9535
 
+       echo sx8r-nec-superux${UNAME_RELEASE}
9536
 
+       exit ;;
9537
 
     Power*:Rhapsody:*:*)
9538
 
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
9539
 
        exit ;;
9540
 
@@ -1458,9 +1484,9 @@
 
14022
@@ -1484,9 +1484,9 @@
9541
14023
 the operating system you are using. It is advised that you
9542
14024
 download the most up to date version of the config scripts from
9543
14025
 
9549
14031
 
9550
14032
 If the version you run ($0) is already up to date, please
9551
14033
 send the following data and any information you think might be
9552
 
Index: sid/build-aux/config.sub
9553
 
===================================================================
9554
 
--- sid.orig/build-aux/config.sub
9555
 
+++ sid/build-aux/config.sub
9556
 
@@ -1,10 +1,10 @@
9557
 
 #! /bin/sh
9558
 
 # Configuration validation subroutine script.
9559
 
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
9560
 
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
9561
 
-#   Inc.
9562
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9563
 
+#   Free Software Foundation, Inc.
9564
 
 
9565
 
-timestamp='2006-09-20'
9566
 
+timestamp='2008-01-16'
9567
 
 
9568
 
 # This file is (in principle) common to ALL GNU software.
9569
 
 # The presence of a machine in this file suggests that SOME GNU software
9570
 
@@ -72,8 +72,8 @@
9571
 
 version="\
9572
 
 GNU config.sub ($timestamp)
9573
 
 
9574
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9575
 
-Free Software Foundation, Inc.
9576
 
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
9577
 
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9578
 
 
9579
 
 This is free software; see the source for copying conditions.  There is NO
9580
 
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9581
 
@@ -245,12 +245,12 @@
9582
 
        | bfin \
9583
 
        | c4x | clipper \
9584
 
        | d10v | d30v | dlx | dsp16xx \
9585
 
-       | fr30 | frv \
9586
 
+       | fido | fr30 | frv \
9587
 
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
9588
 
        | i370 | i860 | i960 | ia64 \
9589
 
        | ip2k | iq2000 \
9590
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
9591
 
-       | maxq | mb | microblaze | mcore \
9592
 
+       | maxq | mb | microblaze | mcore | mep \
9593
 
        | mips | mipsbe | mipseb | mipsel | mipsle \
9594
 
        | mips16 \
9595
 
        | mips64 | mips64el \
9596
 
@@ -324,7 +324,7 @@
9597
 
        | clipper-* | craynv-* | cydra-* \
9598
 
        | d10v-* | d30v-* | dlx-* \
9599
 
        | elxsi-* \
9600
 
-       | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
9601
 
+       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
9602
 
        | h8300-* | h8500-* \
9603
 
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
9604
 
        | i*86-* | i860-* | i960-* | ia64-* \
9605
 
@@ -369,10 +369,14 @@
9606
 
        | v850-* | v850e-* | vax-* \
9607
 
        | we32k-* \
9608
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
9609
 
-       | xstormy16-* | xtensa-* \
9610
 
+       | xstormy16-* | xtensa*-* \
9611
 
        | ymp-* \
9612
 
        | z8k-*)
9613
 
                ;;
9614
 
+       # Recognize the basic CPU types without company name, with glob match.
9615
 
+       xtensa*)
9616
 
+               basic_machine=$basic_machine-unknown
9617
 
+               ;;
9618
 
        # Recognize the various machine names and aliases which stand
9619
 
        # for a CPU type and a company and sometimes even an OS.
9620
 
        386bsd)
9621
 
@@ -443,6 +447,14 @@
9622
 
                basic_machine=ns32k-sequent
9623
 
                os=-dynix
9624
 
                ;;
9625
 
+       blackfin)
9626
 
+               basic_machine=bfin-unknown
9627
 
+               os=-linux
9628
 
+               ;;
9629
 
+       blackfin-*)
9630
 
+               basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
9631
 
+               os=-linux
9632
 
+               ;;
9633
 
        c90)
9634
 
                basic_machine=c90-cray
9635
 
                os=-unicos
9636
 
@@ -475,8 +487,8 @@
9637
 
                basic_machine=craynv-cray
9638
 
                os=-unicosmp
9639
 
                ;;
9640
 
-       cr16c)
9641
 
-               basic_machine=cr16c-unknown
9642
 
+       cr16)
9643
 
+               basic_machine=cr16-unknown
9644
 
                os=-elf
9645
 
                ;;
9646
 
        crds | unos)
9647
 
@@ -668,6 +680,14 @@
9648
 
                basic_machine=m68k-isi
9649
 
                os=-sysv
9650
 
                ;;
9651
 
+       m68knommu)
9652
 
+               basic_machine=m68k-unknown
9653
 
+               os=-linux
9654
 
+               ;;
9655
 
+       m68knommu-*)
9656
 
+               basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
9657
 
+               os=-linux
9658
 
+               ;;
9659
 
        m88k-omron*)
9660
 
                basic_machine=m88k-omron
9661
 
                ;;
9662
 
@@ -683,6 +703,10 @@
9663
 
                basic_machine=i386-pc
9664
 
                os=-mingw32
9665
 
                ;;
9666
 
+       mingw32ce)
9667
 
+               basic_machine=arm-unknown
9668
 
+               os=-mingw32ce
9669
 
+               ;;
9670
 
        miniframe)
9671
 
                basic_machine=m68000-convergent
9672
 
                ;;
9673
 
@@ -809,6 +833,14 @@
9674
 
                basic_machine=i860-intel
9675
 
                os=-osf
9676
 
                ;;
9677
 
+       parisc)
9678
 
+               basic_machine=hppa-unknown
9679
 
+               os=-linux
9680
 
+               ;;
9681
 
+       parisc-*)
9682
 
+               basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
9683
 
+               os=-linux
9684
 
+               ;;
9685
 
        pbd)
9686
 
                basic_machine=sparc-tti
9687
 
                ;;
9688
 
@@ -925,6 +957,9 @@
9689
 
                basic_machine=sh-hitachi
9690
 
                os=-hms
9691
 
                ;;
9692
 
+       sh5el)
9693
 
+               basic_machine=sh5le-unknown
9694
 
+               ;;
9695
 
        sh64)
9696
 
                basic_machine=sh64-unknown
9697
 
                ;;
9698
 
@@ -1014,6 +1049,10 @@
9699
 
                basic_machine=tic6x-unknown
9700
 
                os=-coff
9701
 
                ;;
9702
 
+       tile*)
9703
 
+               basic_machine=tile-unknown
9704
 
+               os=-linux-gnu
9705
 
+               ;;
9706
 
        tx39)
9707
 
                basic_machine=mipstx39-unknown
9708
 
                ;;
9709
 
@@ -1219,7 +1258,7 @@
9710
 
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
9711
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
9712
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
9713
 
-             | -skyos* | -haiku* | -rdos* | -toppers*)
9714
 
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
9715
 
        # Remember, each alternative MUST END IN *, to match a version number.
9716
 
                ;;
9717
 
        -qnx*)
9718
 
@@ -1414,6 +1453,9 @@
9719
 
        m68*-cisco)
9720
 
                os=-aout
9721
 
                ;;
9722
 
+        mep-*)
9723
 
+               os=-elf
9724
 
+               ;;
9725
 
        mips*-cisco)
9726
 
                os=-elf
9727
 
                ;;
9728
 
Index: sid/build-aux/depcomp
9729
 
===================================================================
9730
 
--- sid.orig/build-aux/depcomp
9731
 
+++ sid/build-aux/depcomp
9732
 
@@ -1,9 +1,9 @@
9733
 
 #! /bin/sh
9734
 
 # depcomp - compile a program generating dependencies as side-effects
9735
 
 
9736
 
-scriptversion=2006-10-15.18
9737
 
+scriptversion=2007-03-29.01
9738
 
 
9739
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
9740
 
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
9741
 
 # Foundation, Inc.
9742
 
 
9743
 
 # This program is free software; you can redistribute it and/or modify
9744
 
@@ -215,34 +215,39 @@
9745
 
   # current directory.  Also, the AIX compiler puts `$object:' at the
9746
 
   # start of each line; $object doesn't have directory information.
9747
 
   # Version 6 uses the directory in both cases.
9748
 
-  stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
9749
 
-  tmpdepfile="$stripped.u"
9750
 
+  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
9751
 
+  test "x$dir" = "x$object" && dir=
9752
 
+  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
9753
 
   if test "$libtool" = yes; then
9754
 
+    tmpdepfile1=$dir$base.u
9755
 
+    tmpdepfile2=$base.u
9756
 
+    tmpdepfile3=$dir.libs/$base.u
9757
 
     "$@" -Wc,-M
9758
 
   else
9759
 
+    tmpdepfile1=$dir$base.u
9760
 
+    tmpdepfile2=$dir$base.u
9761
 
+    tmpdepfile3=$dir$base.u
9762
 
     "$@" -M
9763
 
   fi
9764
 
   stat=$?
9765
 
 
9766
 
-  if test -f "$tmpdepfile"; then :
9767
 
-  else
9768
 
-    stripped=`echo "$stripped" | sed 's,^.*/,,'`
9769
 
-    tmpdepfile="$stripped.u"
9770
 
-  fi
9771
 
-
9772
 
   if test $stat -eq 0; then :
9773
 
   else
9774
 
-    rm -f "$tmpdepfile"
9775
 
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
9776
 
     exit $stat
9777
 
   fi
9778
 
 
9779
 
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
9780
 
+  do
9781
 
+    test -f "$tmpdepfile" && break
9782
 
+  done
9783
 
   if test -f "$tmpdepfile"; then
9784
 
-    outname="$stripped.o"
9785
 
     # Each line is of the form `foo.o: dependent.h'.
9786
 
     # Do two passes, one to just change these to
9787
 
     # `$object: dependent.h' and one to simply `dependent.h:'.
9788
 
-    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
9789
 
-    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
9790
 
+    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
9791
 
+    # That's a tab and a space in the [].
9792
 
+    sed -e 's,^.*\.[a-z]*:[     ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
9793
 
   else
9794
 
     # The sourcefile does not contain any dependencies, so just
9795
 
     # store a dummy comment line, to avoid errors with the Makefile
9796
 
Index: sid/build-aux/install-sh
9797
 
===================================================================
9798
 
--- sid.orig/build-aux/install-sh
9799
 
+++ sid/build-aux/install-sh
9800
 
@@ -1,7 +1,7 @@
9801
 
 #!/bin/sh
9802
 
 # install - install a program, script, or datafile
9803
 
 
9804
 
-scriptversion=2006-10-14.15
9805
 
+scriptversion=2006-12-25.00
9806
 
 
9807
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
9808
 
 # later released in X11R6 (xc/config/util/install.sh) with the
9809
 
@@ -48,7 +48,7 @@
9810
 
 # set DOITPROG to echo to test this script
9811
 
 
9812
 
 # Don't use :- since 4.3BSD and earlier shells don't like it.
9813
 
-doit="${DOITPROG-}"
9814
 
+doit=${DOITPROG-}
9815
 
 if test -z "$doit"; then
9816
 
   doit_exec=exec
9817
 
 else
9818
 
@@ -58,34 +58,49 @@
9819
 
 # Put in absolute file names if you don't have them in your path;
9820
 
 # or use environment vars.
9821
 
 
9822
 
-mvprog="${MVPROG-mv}"
9823
 
-cpprog="${CPPROG-cp}"
9824
 
-chmodprog="${CHMODPROG-chmod}"
9825
 
-chownprog="${CHOWNPROG-chown}"
9826
 
-chgrpprog="${CHGRPPROG-chgrp}"
9827
 
-stripprog="${STRIPPROG-strip}"
9828
 
-rmprog="${RMPROG-rm}"
9829
 
-mkdirprog="${MKDIRPROG-mkdir}"
9830
 
+chgrpprog=${CHGRPPROG-chgrp}
9831
 
+chmodprog=${CHMODPROG-chmod}
9832
 
+chownprog=${CHOWNPROG-chown}
9833
 
+cmpprog=${CMPPROG-cmp}
9834
 
+cpprog=${CPPROG-cp}
9835
 
+mkdirprog=${MKDIRPROG-mkdir}
9836
 
+mvprog=${MVPROG-mv}
9837
 
+rmprog=${RMPROG-rm}
9838
 
+stripprog=${STRIPPROG-strip}
9839
 
+
9840
 
+posix_glob='?'
9841
 
+initialize_posix_glob='
9842
 
+  test "$posix_glob" != "?" || {
9843
 
+    if (set -f) 2>/dev/null; then
9844
 
+      posix_glob=
9845
 
+    else
9846
 
+      posix_glob=:
9847
 
+    fi
9848
 
+  }
9849
 
+'
9850
 
 
9851
 
-posix_glob=
9852
 
 posix_mkdir=
9853
 
 
9854
 
 # Desired mode of installed file.
9855
 
 mode=0755
9856
 
 
9857
 
+chgrpcmd=
9858
 
 chmodcmd=$chmodprog
9859
 
 chowncmd=
9860
 
-chgrpcmd=
9861
 
-stripcmd=
9862
 
+mvcmd=$mvprog
9863
 
 rmcmd="$rmprog -f"
9864
 
-mvcmd="$mvprog"
9865
 
+stripcmd=
9866
 
+
9867
 
 src=
9868
 
 dst=
9869
 
 dir_arg=
9870
 
-dstarg=
9871
 
+dst_arg=
9872
 
+
9873
 
+copy_on_change=false
9874
 
 no_target_directory=
9875
 
 
9876
 
-usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
9877
 
+usage="\
9878
 
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
9879
 
    or: $0 [OPTION]... SRCFILES... DIRECTORY
9880
 
    or: $0 [OPTION]... -t DIRECTORY SRCFILES...
9881
 
    or: $0 [OPTION]... -d DIRECTORIES...
9882
 
@@ -95,65 +110,55 @@
9883
 
 In the 4th, create DIRECTORIES.
9884
 
 
9885
 
 Options:
9886
 
--c         (ignored)
9887
 
--d         create directories instead of installing files.
9888
 
--g GROUP   $chgrpprog installed files to GROUP.
9889
 
--m MODE    $chmodprog installed files to MODE.
9890
 
--o USER    $chownprog installed files to USER.
9891
 
--s         $stripprog installed files.
9892
 
--t DIRECTORY  install into DIRECTORY.
9893
 
--T         report an error if DSTFILE is a directory.
9894
 
---help     display this help and exit.
9895
 
---version  display version info and exit.
9896
 
+     --help     display this help and exit.
9897
 
+     --version  display version info and exit.
9898
 
+
9899
 
+  -c            (ignored)
9900
 
+  -C            install only if different (preserve the last data modification time)
9901
 
+  -d            create directories instead of installing files.
9902
 
+  -g GROUP      $chgrpprog installed files to GROUP.
9903
 
+  -m MODE       $chmodprog installed files to MODE.
9904
 
+  -o USER       $chownprog installed files to USER.
9905
 
+  -s            $stripprog installed files.
9906
 
+  -t DIRECTORY  install into DIRECTORY.
9907
 
+  -T            report an error if DSTFILE is a directory.
9908
 
 
9909
 
 Environment variables override the default commands:
9910
 
-  CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
9911
 
+  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
9912
 
+  RMPROG STRIPPROG
9913
 
 "
9914
 
 
9915
 
 while test $# -ne 0; do
9916
 
   case $1 in
9917
 
-    -c) shift
9918
 
-        continue;;
9919
 
+    -c) ;;
9920
 
+
9921
 
+    -C) copy_on_change=true;;
9922
 
 
9923
 
-    -d) dir_arg=true
9924
 
-        shift
9925
 
-        continue;;
9926
 
+    -d) dir_arg=true;;
9927
 
 
9928
 
     -g) chgrpcmd="$chgrpprog $2"
9929
 
-        shift
9930
 
-        shift
9931
 
-        continue;;
9932
 
+       shift;;
9933
 
 
9934
 
     --help) echo "$usage"; exit $?;;
9935
 
 
9936
 
     -m) mode=$2
9937
 
-        shift
9938
 
-        shift
9939
 
        case $mode in
9940
 
          *' '* | *'    '* | *'
9941
 
 '*       | *'*'* | *'?'* | *'['*)
9942
 
            echo "$0: invalid mode: $mode" >&2
9943
 
            exit 1;;
9944
 
        esac
9945
 
-        continue;;
9946
 
+       shift;;
9947
 
 
9948
 
     -o) chowncmd="$chownprog $2"
9949
 
-        shift
9950
 
-        shift
9951
 
-        continue;;
9952
 
-
9953
 
-    -s) stripcmd=$stripprog
9954
 
-        shift
9955
 
-        continue;;
9956
 
-
9957
 
-    -t) dstarg=$2
9958
 
-       shift
9959
 
-       shift
9960
 
-       continue;;
9961
 
-
9962
 
-    -T) no_target_directory=true
9963
 
-       shift
9964
 
-       continue;;
9965
 
+       shift;;
9966
 
+
9967
 
+    -s) stripcmd=$stripprog;;
9968
 
+
9969
 
+    -t) dst_arg=$2
9970
 
+       shift;;
9971
 
+
9972
 
+    -T) no_target_directory=true;;
9973
 
 
9974
 
     --version) echo "$0 $scriptversion"; exit $?;;
9975
 
 
9976
 
@@ -165,21 +170,22 @@
9977
 
 
9978
 
     *)  break;;
9979
 
   esac
9980
 
+  shift
9981
 
 done
9982
 
 
9983
 
-if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
9984
 
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
9985
 
   # When -d is used, all remaining arguments are directories to create.
9986
 
   # When -t is used, the destination is already specified.
9987
 
   # Otherwise, the last argument is the destination.  Remove it from $@.
9988
 
   for arg
9989
 
   do
9990
 
-    if test -n "$dstarg"; then
9991
 
+    if test -n "$dst_arg"; then
9992
 
       # $@ is not empty: it contains at least $arg.
9993
 
-      set fnord "$@" "$dstarg"
9994
 
+      set fnord "$@" "$dst_arg"
9995
 
       shift # fnord
9996
 
     fi
9997
 
     shift # arg
9998
 
-    dstarg=$arg
9999
 
+    dst_arg=$arg
10000
 
   done
10001
 
 fi
10002
 
 
10003
 
@@ -224,7 +230,7 @@
10004
 
 do
10005
 
   # Protect names starting with `-'.
10006
 
   case $src in
10007
 
-    -*) src=./$src ;;
10008
 
+    -*) src=./$src;;
10009
 
   esac
10010
 
 
10011
 
   if test -n "$dir_arg"; then
10012
 
@@ -242,22 +248,22 @@
10013
 
       exit 1
10014
 
     fi
10015
 
 
10016
 
-    if test -z "$dstarg"; then
10017
 
+    if test -z "$dst_arg"; then
10018
 
       echo "$0: no destination specified." >&2
10019
 
       exit 1
10020
 
     fi
10021
 
 
10022
 
-    dst=$dstarg
10023
 
+    dst=$dst_arg
10024
 
     # Protect names starting with `-'.
10025
 
     case $dst in
10026
 
-      -*) dst=./$dst ;;
10027
 
+      -*) dst=./$dst;;
10028
 
     esac
10029
 
 
10030
 
     # If destination is a directory, append the input filename; won't work
10031
 
     # if double slashes aren't ignored.
10032
 
     if test -d "$dst"; then
10033
 
       if test -n "$no_target_directory"; then
10034
 
-       echo "$0: $dstarg: Is a directory" >&2
10035
 
+       echo "$0: $dst_arg: Is a directory" >&2
10036
 
        exit 1
10037
 
       fi
10038
 
       dstdir=$dst
10039
 
@@ -378,26 +384,19 @@
10040
 
       # directory the slow way, step by step, checking for races as we go.
10041
 
 
10042
 
       case $dstdir in
10043
 
-       /*) prefix=/ ;;
10044
 
-       -*) prefix=./ ;;
10045
 
-       *)  prefix= ;;
10046
 
+       /*) prefix='/';;
10047
 
+       -*) prefix='./';;
10048
 
+       *)  prefix='';;
10049
 
       esac
10050
 
 
10051
 
-      case $posix_glob in
10052
 
-        '')
10053
 
-         if (set -f) 2>/dev/null; then
10054
 
-           posix_glob=true
10055
 
-         else
10056
 
-           posix_glob=false
10057
 
-         fi ;;
10058
 
-      esac
10059
 
+      eval "$initialize_posix_glob"
10060
 
 
10061
 
       oIFS=$IFS
10062
 
       IFS=/
10063
 
-      $posix_glob && set -f
10064
 
+      $posix_glob set -f
10065
 
       set fnord $dstdir
10066
 
       shift
10067
 
-      $posix_glob && set +f
10068
 
+      $posix_glob set +f
10069
 
       IFS=$oIFS
10070
 
 
10071
 
       prefixes=
10072
 
@@ -459,41 +458,54 @@
10073
 
     # ignore errors from any of these, just make sure not to ignore
10074
 
     # errors from the above "$doit $cpprog $src $dsttmp" command.
10075
 
     #
10076
 
-    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
10077
 
-      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
10078
 
-      && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
10079
 
-      && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
10080
 
-
10081
 
-    # Now rename the file to the real destination.
10082
 
-    { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
10083
 
-      || {
10084
 
-          # The rename failed, perhaps because mv can't rename something else
10085
 
-          # to itself, or perhaps because mv is so ancient that it does not
10086
 
-          # support -f.
10087
 
-
10088
 
-          # Now remove or move aside any old file at destination location.
10089
 
-          # We try this two ways since rm can't unlink itself on some
10090
 
-          # systems and the destination file might be busy for other
10091
 
-          # reasons.  In this case, the final cleanup might fail but the new
10092
 
-          # file should still install successfully.
10093
 
-          {
10094
 
-            if test -f "$dst"; then
10095
 
-              $doit $rmcmd -f "$dst" 2>/dev/null \
10096
 
-              || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
10097
 
-                    && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
10098
 
-              || {
10099
 
-                echo "$0: cannot unlink or rename $dst" >&2
10100
 
-                (exit 1); exit 1
10101
 
-              }
10102
 
-            else
10103
 
-              :
10104
 
-            fi
10105
 
-          } &&
10106
 
-
10107
 
-          # Now rename the file to the real destination.
10108
 
-          $doit $mvcmd "$dsttmp" "$dst"
10109
 
-        }
10110
 
-    } || exit 1
10111
 
+    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
10112
 
+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
10113
 
+    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
10114
 
+    { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
10115
 
+
10116
 
+    # If -C, don't bother to copy if it wouldn't change the file.
10117
 
+    if $copy_on_change &&
10118
 
+       old=`LC_ALL=C ls -dlL "$dst"    2>/dev/null` &&
10119
 
+       new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
10120
 
+
10121
 
+       eval "$initialize_posix_glob" &&
10122
 
+       $posix_glob set -f &&
10123
 
+       set X $old && old=:$2:$4:$5:$6 &&
10124
 
+       set X $new && new=:$2:$4:$5:$6 &&
10125
 
+       $posix_glob set +f &&
10126
 
+
10127
 
+       test "$old" = "$new" &&
10128
 
+       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
10129
 
+    then
10130
 
+      rm -f "$dsttmp"
10131
 
+    else
10132
 
+      # Rename the file to the real destination.
10133
 
+      $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
10134
 
+
10135
 
+      # The rename failed, perhaps because mv can't rename something else
10136
 
+      # to itself, or perhaps because mv is so ancient that it does not
10137
 
+      # support -f.
10138
 
+      {
10139
 
+       # Now remove or move aside any old file at destination location.
10140
 
+       # We try this two ways since rm can't unlink itself on some
10141
 
+       # systems and the destination file might be busy for other
10142
 
+       # reasons.  In this case, the final cleanup might fail but the new
10143
 
+       # file should still install successfully.
10144
 
+       {
10145
 
+         test ! -f "$dst" ||
10146
 
+         $doit $rmcmd -f "$dst" 2>/dev/null ||
10147
 
+         { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
10148
 
+           { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
10149
 
+         } ||
10150
 
+         { echo "$0: cannot unlink or rename $dst" >&2
10151
 
+           (exit 1); exit 1
10152
 
+         }
10153
 
+       } &&
10154
 
+
10155
 
+       # Now rename the file to the real destination.
10156
 
+       $doit $mvcmd "$dsttmp" "$dst"
10157
 
+      }
10158
 
+    fi || exit 1
10159
 
 
10160
 
     trap '' 0
10161
 
   fi
10162
14034
Index: sid/build-aux/ltmain.sh
10163
14035
===================================================================
10164
14036
--- sid.orig/build-aux/ltmain.sh
10165
14037
+++ sid/build-aux/ltmain.sh
10166
 
@@ -43,8 +43,8 @@
 
14038
@@ -65,7 +65,7 @@
 
14039
 #       compiler:              $LTCC
 
14040
 #       compiler flags:                $LTCFLAGS
 
14041
 #       linker:                $LD (gnu? $with_gnu_ld)
 
14042
-#       $progname:             (GNU libtool) 2.2.6
 
14043
+#       $progname:             (GNU libtool) 2.2.6 Debian-2.2.6a-4
 
14044
 #       automake:              $automake_version
 
14045
 #       autoconf:              $autoconf_version
 
14046
 #
 
14047
@@ -73,7 +73,7 @@
10167
14048
 
10168
14049
 PROGRAM=ltmain.sh
10169
14050
 PACKAGE=libtool
10170
 
-VERSION=1.5.26
10171
 
-TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
10172
 
+VERSION="1.5.26 Debian 1.5.26-4"
10173
 
+TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
10174
 
 
10175
 
 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
10176
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10177
 
@@ -2023,8 +2023,8 @@
 
14051
-VERSION=2.2.6
 
14052
+VERSION="2.2.6 Debian-2.2.6a-4"
 
14053
 TIMESTAMP=""
 
14054
 package_revision=1.3012
 
14055
 
 
14056
@@ -116,15 +116,15 @@
 
14057
 
 
14058
 : ${CP="cp -f"}
 
14059
 : ${ECHO="echo"}
 
14060
-: ${EGREP="/usr/bin/grep -E"}
 
14061
-: ${FGREP="/usr/bin/grep -F"}
 
14062
-: ${GREP="/usr/bin/grep"}
 
14063
+: ${EGREP="/bin/grep -E"}
 
14064
+: ${FGREP="/bin/grep -F"}
 
14065
+: ${GREP="/bin/grep"}
 
14066
 : ${LN_S="ln -s"}
 
14067
 : ${MAKE="make"}
 
14068
 : ${MKDIR="mkdir"}
 
14069
 : ${MV="mv -f"}
 
14070
 : ${RM="rm -f"}
 
14071
-: ${SED="/opt/local/bin/gsed"}
 
14072
+: ${SED="/bin/sed"}
 
14073
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 
14074
 : ${Xsed="$SED -e 1s/^X//"}
 
14075
 
 
14076
@@ -4929,8 +4929,8 @@
10178
14077
     else
10179
14078
       shlib_search_path=
10180
14079
     fi
10183
14082
+    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
10184
14083
+    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
10185
14084
 
10186
 
     output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
10187
 
     if test "X$output_objdir" = "X$output"; then
10188
 
@@ -2135,7 +2135,10 @@
 
14085
     func_dirname "$output" "/" ""
 
14086
     output_objdir="$func_dirname_result$objdir"
 
14087
@@ -5033,7 +5033,10 @@
10189
14088
        case $pass in
10190
14089
        dlopen) libs="$dlfiles" ;;
10191
14090
        dlpreopen) libs="$dlprefiles" ;;
10196
14095
+         ;;
10197
14096
        esac
10198
14097
       fi
10199
 
       if test "$pass" = dlopen; then
10200
 
@@ -3269,6 +3272,11 @@
 
14098
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
 
14099
@@ -5344,19 +5347,19 @@
 
14100
            # It is a libtool convenience library, so add in its objects.
 
14101
            convenience="$convenience $ladir/$objdir/$old_library"
 
14102
            old_convenience="$old_convenience $ladir/$objdir/$old_library"
 
14103
+           tmp_libs=
 
14104
+           for deplib in $dependency_libs; do
 
14105
+             deplibs="$deplib $deplibs"
 
14106
+             if $opt_duplicate_deps ; then
 
14107
+               case "$tmp_libs " in
 
14108
+               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
14109
+               esac
 
14110
+             fi
 
14111
+             tmp_libs="$tmp_libs $deplib"
 
14112
+           done
 
14113
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
 
14114
            func_fatal_error "\`$lib' is not a convenience library"
 
14115
          fi
 
14116
-         tmp_libs=
 
14117
-         for deplib in $dependency_libs; do
 
14118
-           deplibs="$deplib $deplibs"
 
14119
-           if $opt_duplicate_deps ; then
 
14120
-             case "$tmp_libs " in
 
14121
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
14122
-             esac
 
14123
-           fi
 
14124
-           tmp_libs="$tmp_libs $deplib"
 
14125
-         done
 
14126
          continue
 
14127
        fi # $pass = conv
 
14128
 
 
14129
@@ -5893,6 +5896,7 @@
 
14130
          if test "$link_all_deplibs" != no; then
 
14131
            # Add the search paths of all dependency libraries
 
14132
            for deplib in $dependency_libs; do
 
14133
+             path=
 
14134
              case $deplib in
 
14135
              -L*) path="$deplib" ;;
 
14136
              *.la)
 
14137
@@ -6206,6 +6210,9 @@
10201
14138
            revision="$number_minor"
10202
14139
            lt_irix_increment=no
10203
14140
            ;;
10204
14141
+         *)
10205
 
+           $echo "$modename: unknown library version type \`$version_type'" 1>&2
10206
 
+           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
10207
 
+           exit $EXIT_FAILURE
 
14142
+           func_fatal_configuration "$modename: unknown library version type \`$version_type'"
10208
14143
+           ;;
10209
14144
          esac
10210
14145
          ;;
10211
14146
        no)
10212
 
Index: sid/build-aux/mdate-sh
10213
 
===================================================================
10214
 
--- sid.orig/build-aux/mdate-sh
10215
 
+++ sid/build-aux/mdate-sh
10216
 
@@ -1,9 +1,9 @@
10217
 
 #!/bin/sh
10218
 
 # Get modification time of a file or directory and pretty-print it.
10219
 
 
10220
 
-scriptversion=2005-06-29.22
10221
 
+scriptversion=2007-03-30.02
10222
 
 
10223
 
-# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005 Free Software
10224
 
+# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007 Free Software
10225
 
 # Foundation, Inc.
10226
 
 # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
10227
 
 #
10228
 
@@ -75,6 +75,10 @@
10229
 
 else
10230
 
   ls_command='ls -l -d'
10231
 
 fi
10232
 
+# Avoid user/group names that might have spaces, when possible.
10233
 
+if ls -n /dev/null 1>/dev/null 2>&1; then
10234
 
+  ls_command="$ls_command -n"
10235
 
+fi
10236
 
 
10237
 
 # A `ls -l' line looks as follows on OS/2.
10238
 
 #  drwxrwx---        0 Aug 11  2001 foo
10239
 
@@ -89,7 +93,7 @@
10240
 
 # words should be skipped to get the date.
10241
 
 
10242
 
 # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
10243
 
-set x`ls -l -d /`
10244
 
+set x`$ls_command /`
10245
 
 
10246
 
 # Find which argument is the month.
10247
 
 month=
10248
14147
Index: sid/configure
10249
14148
===================================================================
10250
14149
--- sid.orig/configure
10251
14150
+++ sid/configure
10252
 
@@ -6209,7 +6209,7 @@
 
14151
@@ -6465,7 +6465,7 @@
10253
14152
   lt_cv_deplibs_check_method=pass_all
10254
14153
   ;;
10255
14154
 
10256
14155
-netbsd*)
10257
14156
+netbsd* | netbsdelf*-gnu)
10258
 
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
14157
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
10259
14158
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10260
14159
   else
10261
 
@@ -9861,12 +9861,13 @@
10262
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
10263
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14160
@@ -8536,6 +8536,10 @@
 
14161
 $RM -r conftest*
 
14162
 
 
14163
 
 
14164
+## CAVEAT EMPTOR:
 
14165
+## There is no encapsulation within the following macros, do not change
 
14166
+## the running order or otherwise move them around unless you know exactly
 
14167
+## what you are doing...
 
14168
 if test -n "$compiler"; then
 
14169
 
 
14170
 lt_prog_compiler_no_builtin_flag=
 
14171
@@ -8561,11 +8565,11 @@
 
14172
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14173
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14174
    -e 's:$: $lt_compiler_flag:'`
 
14175
-   (eval echo "\"\$as_me:8564: $lt_compile\"" >&5)
 
14176
+   (eval echo "\"\$as_me:8568: $lt_compile\"" >&5)
 
14177
    (eval "$lt_compile" 2>conftest.err)
 
14178
    ac_status=$?
 
14179
    cat conftest.err >&5
 
14180
-   echo "$as_me:8568: \$? = $ac_status" >&5
 
14181
+   echo "$as_me:8572: \$? = $ac_status" >&5
 
14182
    if (exit $ac_status) && test -s "$ac_outfile"; then
 
14183
      # The compiler can only warn and ignore the option if not recognized
 
14184
      # So say no if there are warnings other than the usual output.
 
14185
@@ -8900,11 +8904,11 @@
 
14186
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14187
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14188
    -e 's:$: $lt_compiler_flag:'`
 
14189
-   (eval echo "\"\$as_me:8903: $lt_compile\"" >&5)
 
14190
+   (eval echo "\"\$as_me:8907: $lt_compile\"" >&5)
 
14191
    (eval "$lt_compile" 2>conftest.err)
 
14192
    ac_status=$?
 
14193
    cat conftest.err >&5
 
14194
-   echo "$as_me:8907: \$? = $ac_status" >&5
 
14195
+   echo "$as_me:8911: \$? = $ac_status" >&5
 
14196
    if (exit $ac_status) && test -s "$ac_outfile"; then
 
14197
      # The compiler can only warn and ignore the option if not recognized
 
14198
      # So say no if there are warnings other than the usual output.
 
14199
@@ -9005,11 +9009,11 @@
 
14200
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14201
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14202
    -e 's:$: $lt_compiler_flag:'`
 
14203
-   (eval echo "\"\$as_me:9008: $lt_compile\"" >&5)
 
14204
+   (eval echo "\"\$as_me:9012: $lt_compile\"" >&5)
 
14205
    (eval "$lt_compile" 2>out/conftest.err)
 
14206
    ac_status=$?
 
14207
    cat out/conftest.err >&5
 
14208
-   echo "$as_me:9012: \$? = $ac_status" >&5
 
14209
+   echo "$as_me:9016: \$? = $ac_status" >&5
 
14210
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14211
    then
 
14212
      # The compiler can only warn and ignore the option if not recognized
 
14213
@@ -9060,11 +9064,11 @@
 
14214
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14215
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14216
    -e 's:$: $lt_compiler_flag:'`
 
14217
-   (eval echo "\"\$as_me:9063: $lt_compile\"" >&5)
 
14218
+   (eval echo "\"\$as_me:9067: $lt_compile\"" >&5)
 
14219
    (eval "$lt_compile" 2>out/conftest.err)
 
14220
    ac_status=$?
 
14221
    cat out/conftest.err >&5
 
14222
-   echo "$as_me:9067: \$? = $ac_status" >&5
 
14223
+   echo "$as_me:9071: \$? = $ac_status" >&5
 
14224
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14225
    then
 
14226
      # The compiler can only warn and ignore the option if not recognized
 
14227
@@ -9179,6 +9183,9 @@
 
14228
   openbsd*)
 
14229
     with_gnu_ld=no
 
14230
     ;;
 
14231
+  linux* | k*bsd*-gnu)
 
14232
+    link_all_deplibs=no
 
14233
+    ;;
 
14234
   esac
 
14235
 
 
14236
   ld_shlibs=yes
 
14237
@@ -9361,7 +9368,7 @@
 
14238
       fi
 
14239
       ;;
 
14240
 
 
14241
-    netbsd*)
 
14242
+    netbsd* | netbsdelf*-gnu)
 
14243
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
14244
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
14245
        wlarc=
 
14246
@@ -9536,6 +9543,7 @@
 
14247
        if test "$aix_use_runtimelinking" = yes; then
 
14248
          shared_flag="$shared_flag "'${wl}-G'
10264
14249
        fi
10265
14250
+       link_all_deplibs=no
10266
14251
       else
10267
 
        ld_shlibs=no
10268
 
       fi
10269
 
       ;;
10270
 
 
10271
 
-    netbsd*)
10272
 
+    netbsd* | netbsdelf*-gnu)
10273
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10274
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10275
 
        wlarc=
10276
 
@@ -10409,7 +10410,7 @@
 
14252
        # not using gcc
 
14253
        if test "$host_cpu" = ia64; then
 
14254
@@ -9950,7 +9958,7 @@
10277
14255
       link_all_deplibs=yes
10278
14256
       ;;
10279
14257
 
10280
14258
-    netbsd*)
10281
14259
+    netbsd* | netbsdelf*-gnu)
10282
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
14260
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10283
14261
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10284
14262
       else
10285
 
@@ -11120,6 +11121,18 @@
10286
 
   dynamic_linker='GNU/Linux ld.so'
10287
 
   ;;
10288
 
 
10289
 
+netbsdelf*-gnu)
10290
 
+  version_type=linux
10291
 
+  need_lib_prefix=no
10292
 
+  need_version=no
10293
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10294
 
+  soname_spec='${libname}${release}${shared_ext}$major'
10295
 
+  shlibpath_var=LD_LIBRARY_PATH
10296
 
+  shlibpath_overrides_runpath=no
10297
 
+  hardcode_into_libs=yes
10298
 
+  dynamic_linker='NetBSD ld.elf_so'
10299
 
+  ;;
10300
 
+
10301
 
 netbsd*)
10302
 
   version_type=sunos
10303
 
   need_lib_prefix=no
10304
 
@@ -11960,7 +11973,7 @@
10305
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10306
 
   lt_status=$lt_dlunknown
10307
 
   cat > conftest.$ac_ext <<EOF
10308
 
-#line 11963 "configure"
10309
 
+#line 11976 "configure"
10310
 
 #include "confdefs.h"
10311
 
 
10312
 
 #if HAVE_DLFCN_H
10313
 
@@ -12060,7 +12073,7 @@
10314
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10315
 
   lt_status=$lt_dlunknown
10316
 
   cat > conftest.$ac_ext <<EOF
10317
 
-#line 12063 "configure"
10318
 
+#line 12076 "configure"
10319
 
 #include "confdefs.h"
10320
 
 
10321
 
 #if HAVE_DLFCN_H
10322
 
@@ -13648,7 +13661,7 @@
10323
 
        ;;
10324
 
     esac
10325
 
     ;;
10326
 
-  netbsd*)
10327
 
+  netbsd* | netbsdelf*-gnu)
10328
 
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10329
 
       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10330
 
       wlarc=
10331
 
@@ -14352,7 +14365,7 @@
10332
 
            ;;
10333
 
        esac
10334
 
        ;;
10335
 
-      netbsd*)
10336
 
+      netbsd* | netbsdelf*-gnu)
10337
 
        ;;
10338
 
       osf3* | osf4* | osf5*)
10339
 
        case $cc_basename in
10340
 
@@ -14461,11 +14474,11 @@
10341
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10342
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10343
 
    -e 's:$: $lt_compiler_flag:'`
10344
 
-   (eval echo "\"\$as_me:14464: $lt_compile\"" >&5)
10345
 
+   (eval echo "\"\$as_me:14477: $lt_compile\"" >&5)
10346
 
    (eval "$lt_compile" 2>conftest.err)
10347
 
    ac_status=$?
10348
 
    cat conftest.err >&5
10349
 
-   echo "$as_me:14468: \$? = $ac_status" >&5
10350
 
+   echo "$as_me:14481: \$? = $ac_status" >&5
10351
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
10352
 
      # The compiler can only warn and ignore the option if not recognized
10353
 
      # So say no if there are warnings other than the usual output.
10354
 
@@ -14565,11 +14578,11 @@
10355
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10356
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10357
 
    -e 's:$: $lt_compiler_flag:'`
10358
 
-   (eval echo "\"\$as_me:14568: $lt_compile\"" >&5)
10359
 
+   (eval echo "\"\$as_me:14581: $lt_compile\"" >&5)
10360
 
    (eval "$lt_compile" 2>out/conftest.err)
10361
 
    ac_status=$?
10362
 
    cat out/conftest.err >&5
10363
 
-   echo "$as_me:14572: \$? = $ac_status" >&5
10364
 
+   echo "$as_me:14585: \$? = $ac_status" >&5
10365
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10366
 
    then
10367
 
      # The compiler can only warn and ignore the option if not recognized
10368
 
@@ -14637,6 +14650,9 @@
10369
 
   cygwin* | mingw*)
10370
 
     export_symbols_cmds_CXX='$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'
10371
 
   ;;
10372
 
+  linux* | k*bsd*-gnu)
10373
 
+    link_all_deplibs_CXX=no
10374
 
+  ;;
10375
 
   *)
10376
 
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10377
 
   ;;
10378
 
@@ -15083,6 +15099,18 @@
10379
 
   dynamic_linker='GNU/Linux ld.so'
10380
 
   ;;
10381
 
 
10382
 
+netbsdelf*-gnu)
10383
 
+  version_type=linux
10384
 
+  need_lib_prefix=no
10385
 
+  need_version=no
10386
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10387
 
+  soname_spec='${libname}${release}${shared_ext}$major'
10388
 
+  shlibpath_var=LD_LIBRARY_PATH
10389
 
+  shlibpath_overrides_runpath=no
10390
 
+  hardcode_into_libs=yes
10391
 
+  dynamic_linker='NetBSD ld.elf_so'
10392
 
+  ;;
10393
 
+
10394
 
 netbsd*)
10395
 
   version_type=sunos
10396
 
   need_lib_prefix=no
10397
 
@@ -16148,11 +16176,11 @@
10398
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10399
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10400
 
    -e 's:$: $lt_compiler_flag:'`
10401
 
-   (eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
10402
 
+   (eval echo "\"\$as_me:16179: $lt_compile\"" >&5)
10403
 
    (eval "$lt_compile" 2>conftest.err)
10404
 
    ac_status=$?
10405
 
    cat conftest.err >&5
10406
 
-   echo "$as_me:16155: \$? = $ac_status" >&5
10407
 
+   echo "$as_me:16183: \$? = $ac_status" >&5
10408
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
10409
 
      # The compiler can only warn and ignore the option if not recognized
10410
 
      # So say no if there are warnings other than the usual output.
10411
 
@@ -16252,11 +16280,11 @@
10412
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10413
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10414
 
    -e 's:$: $lt_compiler_flag:'`
10415
 
-   (eval echo "\"\$as_me:16255: $lt_compile\"" >&5)
10416
 
+   (eval echo "\"\$as_me:16283: $lt_compile\"" >&5)
10417
 
    (eval "$lt_compile" 2>out/conftest.err)
10418
 
    ac_status=$?
10419
 
    cat out/conftest.err >&5
10420
 
-   echo "$as_me:16259: \$? = $ac_status" >&5
10421
 
+   echo "$as_me:16287: \$? = $ac_status" >&5
10422
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10423
 
    then
10424
 
      # The compiler can only warn and ignore the option if not recognized
10425
 
@@ -16517,12 +16545,13 @@
10426
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
10427
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10428
 
        fi
10429
 
+       link_all_deplibs_F77=no
10430
 
       else
10431
 
        ld_shlibs_F77=no
10432
 
       fi
10433
 
       ;;
10434
 
 
10435
 
-    netbsd*)
10436
 
+    netbsd* | netbsdelf*-gnu)
10437
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10438
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10439
 
        wlarc=
10440
 
@@ -17045,7 +17074,7 @@
10441
 
       link_all_deplibs_F77=yes
10442
 
       ;;
10443
 
 
10444
 
-    netbsd*)
10445
 
+    netbsd* | netbsdelf*-gnu)
10446
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10447
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10448
 
       else
10449
 
@@ -17704,6 +17733,18 @@
10450
 
   dynamic_linker='GNU/Linux ld.so'
10451
 
   ;;
10452
 
 
10453
 
+netbsdelf*-gnu)
10454
 
+  version_type=linux
10455
 
+  need_lib_prefix=no
10456
 
+  need_version=no
10457
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10458
 
+  soname_spec='${libname}${release}${shared_ext}$major'
10459
 
+  shlibpath_var=LD_LIBRARY_PATH
10460
 
+  shlibpath_overrides_runpath=no
10461
 
+  hardcode_into_libs=yes
10462
 
+  dynamic_linker='NetBSD ld.elf_so'
10463
 
+  ;;
10464
 
+
10465
 
 netbsd*)
10466
 
   version_type=sunos
10467
 
   need_lib_prefix=no
10468
 
@@ -18459,11 +18500,11 @@
10469
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10470
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10471
 
    -e 's:$: $lt_compiler_flag:'`
10472
 
-   (eval echo "\"\$as_me:18462: $lt_compile\"" >&5)
10473
 
+   (eval echo "\"\$as_me:18503: $lt_compile\"" >&5)
10474
 
    (eval "$lt_compile" 2>conftest.err)
10475
 
    ac_status=$?
10476
 
    cat conftest.err >&5
10477
 
-   echo "$as_me:18466: \$? = $ac_status" >&5
10478
 
+   echo "$as_me:18507: \$? = $ac_status" >&5
10479
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
10480
 
      # The compiler can only warn and ignore the option if not recognized
10481
 
      # So say no if there are warnings other than the usual output.
10482
 
@@ -18749,11 +18790,11 @@
10483
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10484
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10485
 
    -e 's:$: $lt_compiler_flag:'`
10486
 
-   (eval echo "\"\$as_me:18752: $lt_compile\"" >&5)
10487
 
+   (eval echo "\"\$as_me:18793: $lt_compile\"" >&5)
10488
 
    (eval "$lt_compile" 2>conftest.err)
10489
 
    ac_status=$?
10490
 
    cat conftest.err >&5
10491
 
-   echo "$as_me:18756: \$? = $ac_status" >&5
10492
 
+   echo "$as_me:18797: \$? = $ac_status" >&5
10493
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
10494
 
      # The compiler can only warn and ignore the option if not recognized
10495
 
      # So say no if there are warnings other than the usual output.
10496
 
@@ -18853,11 +18894,11 @@
10497
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10498
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10499
 
    -e 's:$: $lt_compiler_flag:'`
10500
 
-   (eval echo "\"\$as_me:18856: $lt_compile\"" >&5)
10501
 
+   (eval echo "\"\$as_me:18897: $lt_compile\"" >&5)
10502
 
    (eval "$lt_compile" 2>out/conftest.err)
10503
 
    ac_status=$?
10504
 
    cat out/conftest.err >&5
10505
 
-   echo "$as_me:18860: \$? = $ac_status" >&5
10506
 
+   echo "$as_me:18901: \$? = $ac_status" >&5
10507
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10508
 
    then
10509
 
      # The compiler can only warn and ignore the option if not recognized
10510
 
@@ -19118,12 +19159,13 @@
10511
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
10512
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10513
 
        fi
10514
 
+       link_all_deplibs_GCJ=no
10515
 
       else
10516
 
        ld_shlibs_GCJ=no
10517
 
       fi
10518
 
       ;;
10519
 
 
10520
 
-    netbsd*)
10521
 
+    netbsd* | netbsdelf*-gnu)
10522
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10523
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10524
 
        wlarc=
10525
 
@@ -19666,7 +19708,7 @@
10526
 
       link_all_deplibs_GCJ=yes
10527
 
       ;;
10528
 
 
10529
 
-    netbsd*)
10530
 
+    netbsd* | netbsdelf*-gnu)
10531
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10532
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10533
 
       else
10534
 
@@ -20325,6 +20367,18 @@
10535
 
   dynamic_linker='GNU/Linux ld.so'
10536
 
   ;;
10537
 
 
10538
 
+netbsdelf*-gnu)
10539
 
+  version_type=linux
10540
 
+  need_lib_prefix=no
10541
 
+  need_version=no
10542
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10543
 
+  soname_spec='${libname}${release}${shared_ext}$major'
10544
 
+  shlibpath_var=LD_LIBRARY_PATH
10545
 
+  shlibpath_overrides_runpath=no
10546
 
+  hardcode_into_libs=yes
10547
 
+  dynamic_linker='NetBSD ld.elf_so'
10548
 
+  ;;
10549
 
+
10550
 
 netbsd*)
10551
 
   version_type=sunos
10552
 
   need_lib_prefix=no
10553
 
@@ -41930,6 +41984,15 @@
10554
 
 #
10555
 
 # Which way does the stack grow?
10556
 
 #
10557
 
+# Following code comes from Autoconf 2.61's internal _AC_LIBOBJ_ALLOCA
10558
 
+# macro (/usr/share/autoconf/autoconf/functions.m4).  Gnulib has
10559
 
+# very similar code, so in future we could look at using that.
10560
 
+#
10561
 
+# An important detail is that the code involves find_stack_direction
10562
 
+# calling _itself_ - which means that find_stack_direction (or at
10563
 
+# least the second find_stack_direction() call) cannot be inlined.
10564
 
+# If the code could be inlined, that might cause the test to give
10565
 
+# an incorrect answer.
10566
 
 #--------------------------------------------------------------------
10567
 
 
10568
 
 SCM_I_GSC_STACK_GROWS_UP=0
10569
 
@@ -41943,9 +42006,26 @@
10570
 
 cat confdefs.h >>conftest.$ac_ext
10571
 
 cat >>conftest.$ac_ext <<_ACEOF
10572
 
 /* end confdefs.h.  */
10573
 
-aux (l) unsigned long l;
10574
 
-            { int x; exit (l >= ((unsigned long)&x)); }
10575
 
-          main () { int q; aux((unsigned long)&q); }
10576
 
+$ac_includes_default
10577
 
+int
10578
 
+find_stack_direction ()
10579
 
+{
10580
 
+  static char *addr = 0;
10581
 
+  auto char dummy;
10582
 
+  if (addr == 0)
10583
 
+    {
10584
 
+      addr = &dummy;
10585
 
+      return find_stack_direction ();
10586
 
+    }
10587
 
+  else
10588
 
+    return (&dummy > addr) ? 1 : -1;
10589
 
+}
10590
 
+
10591
 
+int
10592
 
+main ()
10593
 
+{
10594
 
+  return find_stack_direction () < 0;
10595
 
+}
10596
 
 _ACEOF
10597
 
 rm -f conftest$ac_exeext
10598
 
 if { (ac_try="$ac_link"
10599
 
@@ -43544,7 +43624,7 @@
 
14263
@@ -10927,6 +10935,18 @@
 
14264
   dynamic_linker='GNU/Linux ld.so'
 
14265
   ;;
 
14266
 
 
14267
+netbsdelf*-gnu)
 
14268
+  version_type=linux
 
14269
+  need_lib_prefix=no
 
14270
+  need_version=no
 
14271
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14272
+  soname_spec='${libname}${release}${shared_ext}$major'
 
14273
+  shlibpath_var=LD_LIBRARY_PATH
 
14274
+  shlibpath_overrides_runpath=no
 
14275
+  hardcode_into_libs=yes
 
14276
+  dynamic_linker='NetBSD ld.elf_so'
 
14277
+  ;;
 
14278
+
 
14279
 netbsd*)
 
14280
   version_type=sunos
 
14281
   need_lib_prefix=no
 
14282
@@ -11860,7 +11880,7 @@
 
14283
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
14284
   lt_status=$lt_dlunknown
 
14285
   cat > conftest.$ac_ext <<_LT_EOF
 
14286
-#line 11863 "configure"
 
14287
+#line 11883 "configure"
 
14288
 #include "confdefs.h"
 
14289
 
 
14290
 #if HAVE_DLFCN_H
 
14291
@@ -11956,7 +11976,7 @@
 
14292
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
14293
   lt_status=$lt_dlunknown
 
14294
   cat > conftest.$ac_ext <<_LT_EOF
 
14295
-#line 11959 "configure"
 
14296
+#line 11979 "configure"
 
14297
 #include "confdefs.h"
 
14298
 
 
14299
 #if HAVE_DLFCN_H
 
14300
@@ -34820,7 +34840,7 @@
10600
14301
 ac_config_files="$ac_config_files libguile/gen-scmconfig.h"
10601
14302
 
10602
14303
 
10605
14306
 
10606
14307
 
10607
14308
 ac_config_files="$ac_config_files guile-1.8.pc"
10608
 
@@ -44195,9 +44275,7 @@
 
14309
@@ -35752,9 +35772,7 @@
10609
14310
     "am/Makefile") CONFIG_FILES="$CONFIG_FILES am/Makefile" ;;
10610
14311
     "benchmark-suite/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark-suite/Makefile" ;;
10611
14312
     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10615
14316
     "doc/tutorial/Makefile") CONFIG_FILES="$CONFIG_FILES doc/tutorial/Makefile" ;;
10616
14317
     "emacs/Makefile") CONFIG_FILES="$CONFIG_FILES emacs/Makefile" ;;
10617
14318
     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
10618
 
@@ -44991,21 +45069,22 @@
10619
 
   fi
10620
 
   rm -f "$tmp/out12"
10621
 
 # Compute $ac_file's index in $config_headers.
10622
 
+_am_arg=$ac_file
10623
 
 _am_stamp_count=1
10624
 
 for _am_header in $config_headers :; do
10625
 
   case $_am_header in
10626
 
-    $ac_file | $ac_file:* )
10627
 
+    $_am_arg | $_am_arg:* )
10628
 
       break ;;
10629
 
     * )
10630
 
       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10631
 
   esac
10632
 
 done
10633
 
-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10634
 
-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10635
 
-        X$ac_file : 'X\(//\)[^/]' \| \
10636
 
-        X$ac_file : 'X\(//\)$' \| \
10637
 
-        X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10638
 
-echo X$ac_file |
10639
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10640
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10641
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
10642
 
+        X"$_am_arg" : 'X\(//\)$' \| \
10643
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10644
 
+echo X"$_am_arg" |
10645
 
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10646
 
            s//\1/
10647
 
            q
10648
 
@@ -45042,7 +45121,7 @@
10649
 
   # each Makefile.in and add a new line on top of each file to say so.
10650
 
   # Grep'ing the whole file is not good either: AIX grep has a line
10651
 
   # limit of 2048, but all sed's we know have understand at least 4000.
10652
 
-  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
10653
 
+  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10654
 
     dirpart=`$as_dirname -- "$mf" ||
10655
 
 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10656
 
         X"$mf" : 'X\(//\)[^/]' \| \
10657
14319
Index: sid/doc/Makefile.in
10658
14320
===================================================================
10659
14321
--- sid.orig/doc/Makefile.in
10660
14322
+++ sid/doc/Makefile.in
10661
 
@@ -1,8 +1,8 @@
10662
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10663
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10664
 
 # @configure_input@
10665
 
 
10666
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10667
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10668
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10669
 
 # This Makefile.in is free software; the Free Software Foundation
10670
 
 # gives unlimited permission to copy and/or distribute it,
10671
 
 # with or without modifications, as long as this notice is preserved.
10672
 
@@ -265,13 +265,10 @@
 
14323
@@ -37,7 +37,10 @@
 
14324
 subdir = doc
 
14325
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14326
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14327
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14328
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14329
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14330
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14331
+       $(top_srcdir)/configure.in
 
14332
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14333
        $(ACLOCAL_M4)
 
14334
 mkinstalldirs = $(install_sh) -d
 
14335
@@ -271,11 +274,8 @@
10673
14336
 top_srcdir = @top_srcdir@
10674
14337
 top_srcdir_absolute = @top_srcdir_absolute@
10675
14338
 AUTOMAKE_OPTIONS = gnu
10676
14339
-SUBDIRS = ref tutorial goops r5rs
10677
14340
+SUBDIRS = tutorial r5rs
10678
 
 
10679
 
 # pending the papers from Robert Merkel
10680
 
 # man_MANS = guile.1
 
14341
 dist_man1_MANS = guile.1
10681
14342
-EXAMPLE_SMOB_FILES = \
10682
 
-    ChangeLog Makefile README image-type.c image-type.h myguile.c
 
14343
-    ChangeLog-2008 Makefile README image-type.c image-type.h myguile.c
10683
14344
-
10684
14345
 OLDFMT = oldfmt.c
10685
 
 EXTRA_DIST = groupings.alist # guile-api.alist
10686
 
 @MAINTAINER_MODE_TRUE@workbook = $(top_srcdir_absolute)/../workbook
10687
 
@@ -390,8 +387,8 @@
10688
 
        unique=`for i in $$list; do \
10689
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10690
 
          done | \
10691
 
-         $(AWK) '    { files[$$0] = 1; } \
10692
 
-              END { for (i in files) print i; }'`; \
10693
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
10694
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10695
 
        mkid -fID $$unique
10696
 
 tags: TAGS
10697
 
 
10698
 
@@ -416,8 +413,8 @@
10699
 
        unique=`for i in $$list; do \
10700
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10701
 
          done | \
10702
 
-         $(AWK) '    { files[$$0] = 1; } \
10703
 
-              END { for (i in files) print i; }'`; \
10704
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10705
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10706
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
10707
 
          test -n "$$unique" || unique=$$empty_fix; \
10708
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
10709
 
@@ -427,13 +424,12 @@
10710
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
10711
 
                $(TAGS_FILES) $(LISP)
10712
 
        tags=; \
10713
 
-       here=`pwd`; \
10714
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
10715
 
        unique=`for i in $$list; do \
10716
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10717
 
          done | \
10718
 
-         $(AWK) '    { files[$$0] = 1; } \
10719
 
-              END { for (i in files) print i; }'`; \
10720
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10721
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10722
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
10723
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
10724
 
             $$tags $$unique
10725
 
@@ -595,10 +591,6 @@
 
14346
 EXTRA_DIST = groupings.alist ChangeLog-2008 # guile-api.alist
 
14347
 workbook = $(top_srcdir_absolute)/../workbook
 
14348
@@ -649,10 +649,6 @@
10726
14349
 
10727
14350
 dist-hook:
10728
14351
        cp $(srcdir)/$(OLDFMT) $(distdir)/
10731
14354
-         cp $(srcdir)/example-smob/$$f $(distdir)/example-smob/; \
10732
14355
-        done
10733
14356
 
10734
 
 # pending the papers from Robert Merkel
10735
 
 # EXTRA_DIST = guile.1
 
14357
 guile-api.alist: guile-api.alist-FORCE
 
14358
        ( cd $(top_builddir) ; $(mscripts)/update-guile-api.alist )
10736
14359
Index: sid/doc/r5rs/Makefile.in
10737
14360
===================================================================
10738
14361
--- sid.orig/doc/r5rs/Makefile.in
10739
14362
+++ sid/doc/r5rs/Makefile.in
10740
 
@@ -1,8 +1,8 @@
10741
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10742
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10743
 
 # @configure_input@
10744
 
 
10745
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10746
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10747
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10748
 
 # This Makefile.in is free software; the Free Software Foundation
10749
 
 # gives unlimited permission to copy and/or distribute it,
10750
 
 # with or without modifications, as long as this notice is preserved.
 
14363
@@ -35,7 +35,10 @@
 
14364
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14365
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14366
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14367
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14368
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14369
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14370
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14371
+       $(top_srcdir)/configure.in
 
14372
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14373
        $(ACLOCAL_M4)
 
14374
 mkinstalldirs = $(install_sh) -d
10751
14375
Index: sid/doc/tutorial/Makefile.in
10752
14376
===================================================================
10753
14377
--- sid.orig/doc/tutorial/Makefile.in
10754
14378
+++ sid/doc/tutorial/Makefile.in
10755
 
@@ -1,8 +1,8 @@
10756
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10757
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10758
 
 # @configure_input@
10759
 
 
10760
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10761
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10762
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10763
 
 # This Makefile.in is free software; the Free Software Foundation
10764
 
 # gives unlimited permission to copy and/or distribute it,
10765
 
 # with or without modifications, as long as this notice is preserved.
10766
 
@@ -44,13 +44,13 @@
 
14379
@@ -36,7 +36,10 @@
 
14380
        $(srcdir)/stamp-vti $(srcdir)/version.texi
 
14381
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14382
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14383
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14384
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14385
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14386
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14387
+       $(top_srcdir)/configure.in
 
14388
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14389
        $(ACLOCAL_M4)
 
14390
 mkinstalldirs = $(install_sh) -d
 
14391
@@ -44,14 +47,14 @@
10767
14392
 CONFIG_CLEAN_FILES =
10768
14393
 SOURCES =
10769
14394
 DIST_SOURCES =
10770
14395
-INFO_DEPS = $(srcdir)/guile-tut.info
10771
14396
+INFO_DEPS = $(srcdir)/guile-tut-1.8.info
10772
 
 am__TEXINFO_TEX_DIR = $(srcdir)/../ref
 
14397
 TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
 
14398
 am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
10773
14399
-DVIS = guile-tut.dvi
10774
14400
-PDFS = guile-tut.pdf
10775
14401
-PSS = guile-tut.ps
10783
14409
 TEXI2DVI = texi2dvi
10784
14410
 TEXI2PDF = $(TEXI2DVI) --pdf --batch
10785
14411
 MAKEINFOHTML = $(MAKEINFO) --html
10786
 
@@ -272,7 +272,7 @@
 
14412
@@ -274,7 +277,7 @@
10787
14413
 top_srcdir = @top_srcdir@
10788
14414
 top_srcdir_absolute = @top_srcdir_absolute@
10789
14415
 AUTOMAKE_OPTIONS = gnu
10790
14416
-info_TEXINFOS = guile-tut.texi
10791
14417
+info_TEXINFOS = guile-tut-1.8.texi
10792
 
 TEXINFO_TEX = ../ref/texinfo.tex
 
14418
 EXTRA_DIST = ChangeLog-2008
10793
14419
 all: all-am
10794
14420
 
10795
 
@@ -359,14 +359,14 @@
 
14421
@@ -361,14 +364,14 @@
10796
14422
            rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
10797
14423
          exit 1; \
10798
14424
        fi
10804
14430
+guile-tut-1.8.dvi: guile-tut-1.8.texi $(srcdir)/version.texi
10805
14431
+guile-tut-1.8.pdf: guile-tut-1.8.texi $(srcdir)/version.texi
10806
14432
+guile-tut-1.8.html: guile-tut-1.8.texi $(srcdir)/version.texi
10807
 
 $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
 
14433
 $(srcdir)/version.texi:  $(srcdir)/stamp-vti
10808
14434
-$(srcdir)/stamp-vti: guile-tut.texi $(top_srcdir)/configure
10809
14435
-       @(dir=.; test -f ./guile-tut.texi || dir=$(srcdir); \
10810
14436
-       set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/guile-tut.texi`; \
10814
14440
        echo "@set UPDATED $$1 $$2 $$3"; \
10815
14441
        echo "@set UPDATED-MONTH $$2 $$3"; \
10816
14442
        echo "@set EDITION $(VERSION)"; \
10817
 
@@ -460,11 +460,13 @@
 
14443
@@ -462,11 +465,13 @@
10818
14444
        done
10819
14445
 
10820
14446
 mostlyclean-aminfo:
10837
14463
===================================================================
10838
14464
--- sid.orig/emacs/Makefile.in
10839
14465
+++ sid/emacs/Makefile.in
10840
 
@@ -1,8 +1,8 @@
10841
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10842
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10843
 
 # @configure_input@
10844
 
 
10845
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10846
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10847
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10848
 
 # This Makefile.in is free software; the Free Software Foundation
10849
 
 # gives unlimited permission to copy and/or distribute it,
10850
 
 # with or without modifications, as long as this notice is preserved.
10851
 
@@ -369,8 +369,8 @@
10852
 
        unique=`for i in $$list; do \
10853
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10854
 
          done | \
10855
 
-         $(AWK) '    { files[$$0] = 1; } \
10856
 
-              END { for (i in files) print i; }'`; \
10857
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
10858
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10859
 
        mkid -fID $$unique
10860
 
 tags: TAGS
10861
 
 
10862
 
@@ -382,8 +382,8 @@
10863
 
        unique=`for i in $$list; do \
10864
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10865
 
          done | \
10866
 
-         $(AWK) '    { files[$$0] = 1; } \
10867
 
-              END { for (i in files) print i; }'`; \
10868
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10869
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10870
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
10871
 
          test -n "$$unique" || unique=$$empty_fix; \
10872
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
10873
 
@@ -393,13 +393,12 @@
10874
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
10875
 
                $(TAGS_FILES) $(LISP)
10876
 
        tags=; \
10877
 
-       here=`pwd`; \
10878
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
10879
 
        unique=`for i in $$list; do \
10880
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10881
 
          done | \
10882
 
-         $(AWK) '    { files[$$0] = 1; } \
10883
 
-              END { for (i in files) print i; }'`; \
10884
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10885
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10886
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
10887
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
10888
 
             $$tags $$unique
 
14466
@@ -37,7 +37,10 @@
 
14467
        $(srcdir)/Makefile.in
 
14468
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14469
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14470
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14471
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14472
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14473
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14474
+       $(top_srcdir)/configure.in
 
14475
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14476
        $(ACLOCAL_M4)
 
14477
 mkinstalldirs = $(install_sh) -d
10889
14478
Index: sid/examples/Makefile.in
10890
14479
===================================================================
10891
14480
--- sid.orig/examples/Makefile.in
10892
14481
+++ sid/examples/Makefile.in
10893
 
@@ -1,8 +1,8 @@
10894
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10895
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10896
 
 # @configure_input@
10897
 
 
10898
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10899
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10900
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10901
 
 # This Makefile.in is free software; the Free Software Foundation
10902
 
 # gives unlimited permission to copy and/or distribute it,
10903
 
 # with or without modifications, as long as this notice is preserved.
10904
 
@@ -382,8 +382,8 @@
10905
 
        unique=`for i in $$list; do \
10906
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10907
 
          done | \
10908
 
-         $(AWK) '    { files[$$0] = 1; } \
10909
 
-              END { for (i in files) print i; }'`; \
10910
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
10911
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10912
 
        mkid -fID $$unique
10913
 
 tags: TAGS
10914
 
 
10915
 
@@ -408,8 +408,8 @@
10916
 
        unique=`for i in $$list; do \
10917
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10918
 
          done | \
10919
 
-         $(AWK) '    { files[$$0] = 1; } \
10920
 
-              END { for (i in files) print i; }'`; \
10921
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10922
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10923
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
10924
 
          test -n "$$unique" || unique=$$empty_fix; \
10925
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
10926
 
@@ -419,13 +419,12 @@
10927
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
10928
 
                $(TAGS_FILES) $(LISP)
10929
 
        tags=; \
10930
 
-       here=`pwd`; \
10931
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
10932
 
        unique=`for i in $$list; do \
10933
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
10934
 
          done | \
10935
 
-         $(AWK) '    { files[$$0] = 1; } \
10936
 
-              END { for (i in files) print i; }'`; \
10937
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
10938
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
10939
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
10940
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
10941
 
             $$tags $$unique
 
14482
@@ -35,7 +35,10 @@
 
14483
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14484
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14485
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14486
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14487
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14488
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14489
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14490
+       $(top_srcdir)/configure.in
 
14491
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14492
        $(ACLOCAL_M4)
 
14493
 mkinstalldirs = $(install_sh) -d
10942
14494
Index: sid/examples/box/Makefile.in
10943
14495
===================================================================
10944
14496
--- sid.orig/examples/box/Makefile.in
10945
14497
+++ sid/examples/box/Makefile.in
10946
 
@@ -1,8 +1,8 @@
10947
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10948
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10949
 
 # @configure_input@
10950
 
 
10951
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10952
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10953
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10954
 
 # This Makefile.in is free software; the Free Software Foundation
10955
 
 # gives unlimited permission to copy and/or distribute it,
10956
 
 # with or without modifications, as long as this notice is preserved.
 
14498
@@ -35,7 +35,10 @@
 
14499
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14500
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14501
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14502
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14503
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14504
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14505
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14506
+       $(top_srcdir)/configure.in
 
14507
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14508
        $(ACLOCAL_M4)
 
14509
 mkinstalldirs = $(install_sh) -d
10957
14510
Index: sid/examples/box-dynamic/Makefile.in
10958
14511
===================================================================
10959
14512
--- sid.orig/examples/box-dynamic/Makefile.in
10960
14513
+++ sid/examples/box-dynamic/Makefile.in
10961
 
@@ -1,8 +1,8 @@
10962
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10963
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10964
 
 # @configure_input@
10965
 
 
10966
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10967
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10968
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10969
 
 # This Makefile.in is free software; the Free Software Foundation
10970
 
 # gives unlimited permission to copy and/or distribute it,
10971
 
 # with or without modifications, as long as this notice is preserved.
 
14514
@@ -35,7 +35,10 @@
 
14515
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14516
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14517
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14518
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14519
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14520
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14521
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14522
+       $(top_srcdir)/configure.in
 
14523
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14524
        $(ACLOCAL_M4)
 
14525
 mkinstalldirs = $(install_sh) -d
10972
14526
Index: sid/examples/box-dynamic-module/Makefile.in
10973
14527
===================================================================
10974
14528
--- sid.orig/examples/box-dynamic-module/Makefile.in
10975
14529
+++ sid/examples/box-dynamic-module/Makefile.in
10976
 
@@ -1,8 +1,8 @@
10977
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10978
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10979
 
 # @configure_input@
10980
 
 
10981
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10982
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10983
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10984
 
 # This Makefile.in is free software; the Free Software Foundation
10985
 
 # gives unlimited permission to copy and/or distribute it,
10986
 
 # with or without modifications, as long as this notice is preserved.
 
14530
@@ -35,7 +35,10 @@
 
14531
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14532
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14533
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14534
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14535
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14536
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14537
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14538
+       $(top_srcdir)/configure.in
 
14539
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14540
        $(ACLOCAL_M4)
 
14541
 mkinstalldirs = $(install_sh) -d
10987
14542
Index: sid/examples/box-module/Makefile.in
10988
14543
===================================================================
10989
14544
--- sid.orig/examples/box-module/Makefile.in
10990
14545
+++ sid/examples/box-module/Makefile.in
10991
 
@@ -1,8 +1,8 @@
10992
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
10993
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
10994
 
 # @configure_input@
10995
 
 
10996
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
10997
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
10998
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10999
 
 # This Makefile.in is free software; the Free Software Foundation
11000
 
 # gives unlimited permission to copy and/or distribute it,
11001
 
 # with or without modifications, as long as this notice is preserved.
 
14546
@@ -35,7 +35,10 @@
 
14547
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14548
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14549
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14550
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14551
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14552
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14553
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14554
+       $(top_srcdir)/configure.in
 
14555
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14556
        $(ACLOCAL_M4)
 
14557
 mkinstalldirs = $(install_sh) -d
11002
14558
Index: sid/examples/modules/Makefile.in
11003
14559
===================================================================
11004
14560
--- sid.orig/examples/modules/Makefile.in
11005
14561
+++ sid/examples/modules/Makefile.in
11006
 
@@ -1,8 +1,8 @@
11007
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
11008
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
11009
 
 # @configure_input@
11010
 
 
11011
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11012
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
11013
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11014
 
 # This Makefile.in is free software; the Free Software Foundation
11015
 
 # gives unlimited permission to copy and/or distribute it,
11016
 
 # with or without modifications, as long as this notice is preserved.
 
14562
@@ -35,7 +35,10 @@
 
14563
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14564
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14565
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14566
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14567
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14568
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14569
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14570
+       $(top_srcdir)/configure.in
 
14571
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14572
        $(ACLOCAL_M4)
 
14573
 mkinstalldirs = $(install_sh) -d
11017
14574
Index: sid/examples/safe/Makefile.in
11018
14575
===================================================================
11019
14576
--- sid.orig/examples/safe/Makefile.in
11020
14577
+++ sid/examples/safe/Makefile.in
11021
 
@@ -1,8 +1,8 @@
11022
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
11023
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
11024
 
 # @configure_input@
11025
 
 
11026
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11027
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
11028
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11029
 
 # This Makefile.in is free software; the Free Software Foundation
11030
 
 # gives unlimited permission to copy and/or distribute it,
11031
 
 # with or without modifications, as long as this notice is preserved.
 
14578
@@ -35,7 +35,10 @@
 
14579
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14580
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14581
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14582
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14583
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14584
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14585
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14586
+       $(top_srcdir)/configure.in
 
14587
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14588
        $(ACLOCAL_M4)
 
14589
 mkinstalldirs = $(install_sh) -d
11032
14590
Index: sid/examples/scripts/Makefile.in
11033
14591
===================================================================
11034
14592
--- sid.orig/examples/scripts/Makefile.in
11035
14593
+++ sid/examples/scripts/Makefile.in
11036
 
@@ -1,8 +1,8 @@
11037
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
11038
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
11039
 
 # @configure_input@
11040
 
 
11041
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11042
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
11043
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11044
 
 # This Makefile.in is free software; the Free Software Foundation
11045
 
 # gives unlimited permission to copy and/or distribute it,
11046
 
 # with or without modifications, as long as this notice is preserved.
 
14594
@@ -35,7 +35,10 @@
 
14595
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14596
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14597
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14598
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14599
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14600
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14601
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14602
+       $(top_srcdir)/configure.in
 
14603
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14604
        $(ACLOCAL_M4)
 
14605
 mkinstalldirs = $(install_sh) -d
11047
14606
Index: sid/guile-config/Makefile.in
11048
14607
===================================================================
11049
14608
--- sid.orig/guile-config/Makefile.in
11050
14609
+++ sid/guile-config/Makefile.in
11051
 
@@ -1,8 +1,8 @@
11052
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
11053
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
11054
 
 # @configure_input@
11055
 
 
11056
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11057
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
11058
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11059
 
 # This Makefile.in is free software; the Free Software Foundation
11060
 
 # gives unlimited permission to copy and/or distribute it,
11061
 
 # with or without modifications, as long as this notice is preserved.
11062
 
Index: sid/guile-readline/Makefile.in
11063
 
===================================================================
11064
 
--- sid.orig/guile-readline/Makefile.in
11065
 
+++ sid/guile-readline/Makefile.in
11066
 
@@ -1,8 +1,8 @@
11067
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
11068
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
11069
 
 # @configure_input@
11070
 
 
11071
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11072
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
11073
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11074
 
 # This Makefile.in is free software; the Free Software Foundation
11075
 
 # gives unlimited permission to copy and/or distribute it,
11076
 
 # with or without modifications, as long as this notice is preserved.
11077
 
@@ -301,8 +301,8 @@
11078
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
11079
 
          if test -f $$p; then \
11080
 
            f=$(am__strip_dir) \
11081
 
-           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
11082
 
-           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
11083
 
+           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
11084
 
+           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
11085
 
          else :; fi; \
11086
 
        done
11087
 
 
11088
 
@@ -310,8 +310,8 @@
11089
 
        @$(NORMAL_UNINSTALL)
11090
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
11091
 
          p=$(am__strip_dir) \
11092
 
-         echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
11093
 
-         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
11094
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
11095
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
11096
 
        done
11097
 
 
11098
 
 clean-libLTLIBRARIES:
11099
 
@@ -455,8 +455,8 @@
11100
 
        unique=`for i in $$list; do \
11101
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11102
 
          done | \
11103
 
-         $(AWK) '    { files[$$0] = 1; } \
11104
 
-              END { for (i in files) print i; }'`; \
11105
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
11106
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11107
 
        mkid -fID $$unique
11108
 
 tags: TAGS
11109
 
 
11110
 
@@ -481,8 +481,8 @@
11111
 
        unique=`for i in $$list; do \
11112
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11113
 
          done | \
11114
 
-         $(AWK) '    { files[$$0] = 1; } \
11115
 
-              END { for (i in files) print i; }'`; \
11116
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11117
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11118
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
11119
 
          test -n "$$unique" || unique=$$empty_fix; \
11120
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
11121
 
@@ -492,13 +492,12 @@
11122
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) guile-readline-config.h.in $(TAGS_DEPENDENCIES) \
11123
 
                $(TAGS_FILES) $(LISP)
11124
 
        tags=; \
11125
 
-       here=`pwd`; \
11126
 
        list='$(SOURCES) $(HEADERS) guile-readline-config.h.in $(LISP) $(TAGS_FILES)'; \
11127
 
        unique=`for i in $$list; do \
11128
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11129
 
          done | \
11130
 
-         $(AWK) '    { files[$$0] = 1; } \
11131
 
-              END { for (i in files) print i; }'`; \
11132
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11133
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11134
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
11135
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
11136
 
             $$tags $$unique
11137
 
@@ -572,6 +571,10 @@
11138
 
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
11139
 
        $(am__remove_distdir)
11140
 
 
11141
 
+dist-lzma: distdir
11142
 
+       tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
11143
 
+       $(am__remove_distdir)
11144
 
+
11145
 
 dist-tarZ: distdir
11146
 
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
11147
 
        $(am__remove_distdir)
11148
 
@@ -598,6 +601,8 @@
11149
 
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
11150
 
        *.tar.bz2*) \
11151
 
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
11152
 
+       *.tar.lzma*) \
11153
 
+         unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
11154
 
        *.tar.Z*) \
11155
 
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
11156
 
        *.shar.gz*) \
11157
 
@@ -760,8 +765,8 @@
11158
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
11159
 
        all all-am am--refresh check check-am clean clean-generic \
11160
 
        clean-libLTLIBRARIES clean-libtool ctags ctags-recursive dist \
11161
 
-       dist-all dist-bzip2 dist-gzip dist-hook dist-shar dist-tarZ \
11162
 
-       dist-zip distcheck distclean distclean-compile \
11163
 
+       dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
11164
 
+       dist-tarZ dist-zip distcheck distclean distclean-compile \
11165
 
        distclean-generic distclean-hdr distclean-libtool \
11166
 
        distclean-tags distcleancheck distdir distuninstallcheck dvi \
11167
 
        dvi-am html html-am info info-am install install-am \
 
14610
@@ -37,7 +37,10 @@
 
14611
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
14612
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
14613
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
14614
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
14615
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
14616
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
14617
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
14618
+       $(top_srcdir)/configure.in
 
14619
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
14620
        $(ACLOCAL_M4)
 
14621
 mkinstalldirs = $(install_sh) -d
11168
14622
Index: sid/guile-readline/aclocal.m4
11169
14623
===================================================================
11170
14624
--- sid.orig/guile-readline/aclocal.m4
11171
14625
+++ sid/guile-readline/aclocal.m4
11172
 
@@ -1,7 +1,7 @@
11173
 
-# generated automatically by aclocal 1.10 -*- Autoconf -*-
11174
 
+# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
11175
 
 
11176
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
11177
 
-# 2005, 2006  Free Software Foundation, Inc.
11178
 
+# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11179
 
 # This file is free software; the Free Software Foundation
11180
 
 # gives unlimited permission to copy and/or distribute it,
11181
 
 # with or without modifications, as long as this notice is preserved.
11182
 
@@ -11,2836 +11,1972 @@
11183
 
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11184
 
 # PARTICULAR PURPOSE.
11185
 
 
11186
 
-m4_if(m4_PACKAGE_VERSION, [2.61],,
11187
 
-[m4_fatal([this file was generated for autoconf 2.61.
11188
 
-You have another version of autoconf.  If you want to use that,
11189
 
-you should regenerate the build system entirely.], [63])])
11190
 
+m4_ifndef([AC_AUTOCONF_VERSION],
11191
 
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
11192
 
+m4_if(AC_AUTOCONF_VERSION, [2.61],,
11193
 
+[m4_warning([this file was generated for autoconf 2.61.
11194
 
+You have another version of autoconf.  It may work, but is not guaranteed to.
11195
 
+If you have problems, you may need to regenerate the build system entirely.
11196
 
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
11197
 
 
11198
 
-# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
11199
 
-#
11200
 
-# This file is free software; the Free Software Foundation
11201
 
-# gives unlimited permission to copy and/or distribute it,
11202
 
-# with or without modifications, as long as this notice is preserved.
 
14626
@@ -19,4268 +19,3398 @@
 
14627
 If you have problems, you may need to regenerate the build system entirely.
 
14628
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
14629
 
 
14630
-# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
11203
14631
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11204
 
 
 
14632
 #
 
14633
-# This file is free software; the Free Software Foundation
 
14634
-# gives unlimited permission to copy and/or distribute it,
 
14635
-# with or without modifications, as long as this notice is preserved.
 
14636
-
11205
14637
-# AM_AUTOMAKE_VERSION(VERSION)
11206
14638
-# ----------------------------
11207
14639
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
11211
14643
-[am__api_version='1.10'
11212
14644
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
11213
14645
-dnl require some minimum version.  Point them to the right macro.
11214
 
-m4_if([$1], [1.10], [],
 
14646
-m4_if([$1], [1.10.1], [],
11215
14647
-      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
11216
14648
-])
11217
 
+# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
11218
 
 
 
14649
-
11219
14650
-# _AM_AUTOCONF_VERSION(VERSION)
11220
14651
-# -----------------------------
11221
14652
-# aclocal traces this macro to find the Autoconf version.
11222
14653
-# This is a private macro too.  Using m4_define simplifies
11223
14654
-# the logic in aclocal, which can simply ignore this definition.
11224
14655
-m4_define([_AM_AUTOCONF_VERSION], [])
11225
 
 
 
14656
-
11226
14657
-# AM_SET_CURRENT_AUTOMAKE_VERSION
11227
14658
-# -------------------------------
11228
14659
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
11229
14660
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
11230
14661
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
11231
 
-[AM_AUTOMAKE_VERSION([1.10])dnl
11232
 
-_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
11233
 
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
11234
 
+# -----------------------------------------------------------
11235
 
+# If this macro is not defined by Autoconf, define it here.
11236
 
+m4_ifdef([AC_PROVIDE_IFELSE],
11237
 
+         [],
11238
 
+         [m4_define([AC_PROVIDE_IFELSE],
11239
 
+                [m4_ifdef([AC_PROVIDE_$1],
11240
 
+                          [$2], [$3])])])
11241
 
 
 
14662
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
14663
-m4_ifndef([AC_AUTOCONF_VERSION],
 
14664
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
14665
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
14666
-
11242
14667
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
11243
 
 
 
14668
-
11244
14669
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
11245
 
-#
 
14670
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14671
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14672
+#   Written by Gordon Matzigkeit, 1996
 
14673
 #
11246
14674
-# This file is free software; the Free Software Foundation
11247
14675
-# gives unlimited permission to copy and/or distribute it,
11248
14676
-# with or without modifications, as long as this notice is preserved.
11249
 
+# AC_PROG_LIBTOOL
11250
 
+# ---------------
11251
 
+AC_DEFUN([AC_PROG_LIBTOOL],
11252
 
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
11253
 
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
11254
 
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
11255
 
+  AC_PROVIDE_IFELSE([AC_PROG_CXX],
11256
 
+    [AC_LIBTOOL_CXX],
11257
 
+    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
11258
 
+  ])])
11259
 
+dnl And a similar setup for Fortran 77 support
11260
 
+  AC_PROVIDE_IFELSE([AC_PROG_F77],
11261
 
+    [AC_LIBTOOL_F77],
11262
 
+    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
11263
 
+])])
 
14677
+# This file is free software; the Free Software Foundation gives
 
14678
+# unlimited permission to copy and/or distribute it, with or without
 
14679
+# modifications, as long as this notice is preserved.
11264
14680
 
11265
14681
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
11266
14682
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
11267
14683
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
11268
 
-#
 
14684
+m4_define([_LT_COPYING], [dnl
 
14685
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14686
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14687
+#   Written by Gordon Matzigkeit, 1996
 
14688
 #
11269
14689
-# Of course, Automake must honor this variable whenever it calls a
11270
14690
-# tool from the auxiliary directory.  The problem is that $srcdir (and
11271
14691
-# therefore $ac_aux_dir as well) can be either absolute or relative,
11273
14693
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
11274
14694
-# source directory, any form will work fine, but in subdirectories a
11275
14695
-# relative path needs to be adjusted first.
11276
 
-#
 
14696
+#   This file is part of GNU Libtool.
 
14697
 #
11277
14698
-# $ac_aux_dir/missing
11278
14699
-#    fails when called from a subdirectory if $ac_aux_dir is relative
11279
14700
-# $top_srcdir/$ac_aux_dir/missing
11280
14701
-#    fails if $ac_aux_dir is absolute,
11281
14702
-#    fails when called from a subdirectory in a VPATH build with
11282
14703
-#          a relative $ac_aux_dir
11283
 
-#
 
14704
+# GNU Libtool is free software; you can redistribute it and/or
 
14705
+# modify it under the terms of the GNU General Public License as
 
14706
+# published by the Free Software Foundation; either version 2 of
 
14707
+# the License, or (at your option) any later version.
 
14708
 #
11284
14709
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
11285
14710
-# are both prefixed by $srcdir.  In an in-source build this is usually
11286
14711
-# harmless because $srcdir is `.', but things will broke when you
11287
14712
-# start a VPATH build or use an absolute $srcdir.
11288
 
-#
 
14713
+# As a special exception to the GNU General Public License,
 
14714
+# if you distribute this file as part of a program or library that
 
14715
+# is built using GNU Libtool, you may include this file under the
 
14716
+# same distribution terms that you use for the rest of that program.
 
14717
 #
11289
14718
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
11290
14719
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
11291
14720
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
11295
14724
-# unfortunately $(top_srcdir) has no meaning in configure.
11296
14725
-# However there are other variables, like CC, which are often used in
11297
14726
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
11298
 
-#
 
14727
+# GNU Libtool is distributed in the hope that it will be useful,
 
14728
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14729
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14730
+# GNU General Public License for more details.
 
14731
 #
11299
14732
-# Another solution, used here, is to always expand $ac_aux_dir to an
11300
14733
-# absolute PATH.  The drawback is that using absolute paths prevent a
11301
14734
-# configured tree to be moved without reconfiguration.
11302
 
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
11303
 
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
11304
 
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
11305
 
+  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
11306
 
+    [AC_LIBTOOL_GCJ],
11307
 
+    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
11308
 
+      [AC_LIBTOOL_GCJ],
11309
 
+      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
11310
 
+       [AC_LIBTOOL_GCJ],
11311
 
+      [ifdef([AC_PROG_GCJ],
11312
 
+            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
11313
 
+       ifdef([A][M_PROG_GCJ],
11314
 
+            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
11315
 
+       ifdef([LT_AC_PROG_GCJ],
11316
 
+            [define([LT_AC_PROG_GCJ],
11317
 
+               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
11318
 
+])])# AC_PROG_LIBTOOL
11319
 
 
 
14735
-
11320
14736
-AC_DEFUN([AM_AUX_DIR_EXPAND],
11321
14737
-[dnl Rely on autoconf to set up CDPATH properly.
11322
14738
-AC_PREREQ([2.50])dnl
11323
14739
-# expand $ac_aux_dir to an absolute path
11324
14740
-am_aux_dir=`cd $ac_aux_dir && pwd`
11325
 
-])
 
14741
+# You should have received a copy of the GNU General Public License
 
14742
+# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14743
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14744
+# obtained by writing to the Free Software Foundation, Inc.,
 
14745
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14746
 ])
11326
14747
 
11327
 
+# _AC_PROG_LIBTOOL
11328
 
+# ----------------
11329
 
+AC_DEFUN([_AC_PROG_LIBTOOL],
11330
 
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
11331
 
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
11332
 
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
11333
 
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
 
14748
+# serial 56 LT_INIT
11334
14749
 
11335
14750
-# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
11336
14751
-# Free Software Foundation, Inc.
11338
14753
-# This file is free software; the Free Software Foundation
11339
14754
-# gives unlimited permission to copy and/or distribute it,
11340
14755
-# with or without modifications, as long as this notice is preserved.
11341
 
+# This can be used to rebuild libtool when needed
11342
 
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
11343
14756
 
11344
14757
-# serial 4
11345
 
+# Always use our own libtool.
11346
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11347
 
+AC_SUBST(LIBTOOL)dnl
 
14758
+# LT_PREREQ(VERSION)
 
14759
+# ------------------
 
14760
+# Complain and exit if this libtool version is less that VERSION.
 
14761
+m4_defun([LT_PREREQ],
 
14762
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
 
14763
+       [m4_default([$3],
 
14764
+                  [m4_fatal([Libtool version $1 or higher is required],
 
14765
+                            63)])],
 
14766
+       [$2])])
11348
14767
 
11349
14768
-# This was merged into AC_PROG_CC in Autoconf.
11350
 
+# Prevent multiple expansion
11351
 
+define([AC_PROG_LIBTOOL], [])
11352
 
+])# _AC_PROG_LIBTOOL
11353
14769
 
11354
14770
-AU_DEFUN([AM_PROG_CC_STDC],
11355
14771
-[AC_PROG_CC
11359
14775
-       you adjust the code.  You can also remove the above call to
11360
14776
-       AC_PROG_CC if you already called it elsewhere.])
11361
14777
-am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
11362
 
-])
 
14778
+# _LT_CHECK_BUILDDIR
 
14779
+# ------------------
 
14780
+# Complain if the absolute build directory name contains unusual characters
 
14781
+m4_defun([_LT_CHECK_BUILDDIR],
 
14782
+[case `pwd` in
 
14783
+  *\ * | *\    *)
 
14784
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
 
14785
+esac
 
14786
 ])
11363
14787
-AU_DEFUN([fp_PROG_CC_STDC])
11364
14788
 
11365
14789
-# AM_CONDITIONAL                                            -*- Autoconf -*-
11366
 
+# AC_LIBTOOL_SETUP
11367
 
+# ----------------
11368
 
+AC_DEFUN([AC_LIBTOOL_SETUP],
11369
 
+[AC_PREREQ(2.50)dnl
11370
 
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
11371
 
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
11372
 
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
11373
 
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
11374
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
11375
 
+AC_REQUIRE([AC_PROG_CC])dnl
11376
 
+AC_REQUIRE([AC_PROG_LD])dnl
11377
 
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
11378
 
+AC_REQUIRE([AC_PROG_NM])dnl
11379
14790
 
11380
14791
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
11381
14792
-# Free Software Foundation, Inc.
11383
14794
-# This file is free software; the Free Software Foundation
11384
14795
-# gives unlimited permission to copy and/or distribute it,
11385
14796
-# with or without modifications, as long as this notice is preserved.
11386
 
+AC_REQUIRE([AC_PROG_LN_S])dnl
11387
 
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
11388
 
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11389
 
+AC_REQUIRE([AC_OBJEXT])dnl
11390
 
+AC_REQUIRE([AC_EXEEXT])dnl
11391
 
+dnl
11392
 
+AC_LIBTOOL_SYS_MAX_CMD_LEN
11393
 
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
11394
 
+AC_LIBTOOL_OBJDIR
 
14797
+# LT_INIT([OPTIONS])
 
14798
+# ------------------
 
14799
+AC_DEFUN([LT_INIT],
 
14800
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
14801
+AC_BEFORE([$0], [LT_LANG])dnl
 
14802
+AC_BEFORE([$0], [LT_OUTPUT])dnl
 
14803
+AC_BEFORE([$0], [LTDL_INIT])dnl
 
14804
+m4_require([_LT_CHECK_BUILDDIR])dnl
11395
14805
 
11396
14806
-# serial 8
11397
 
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
11398
 
+_LT_AC_PROG_ECHO_BACKSLASH
 
14807
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
 
14808
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
 
14809
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
 
14810
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
 
14811
+dnl unless we require an AC_DEFUNed macro:
 
14812
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
 
14813
+AC_REQUIRE([LTSUGAR_VERSION])dnl
 
14814
+AC_REQUIRE([LTVERSION_VERSION])dnl
 
14815
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 
14816
+m4_require([_LT_PROG_LTMAIN])dnl
11399
14817
 
11400
14818
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
11401
14819
-# -------------------------------------
11420
14838
-  AC_MSG_ERROR([[conditional "$1" was never defined.
11421
14839
-Usually this means the macro was only invoked conditionally.]])
11422
14840
-fi])])
11423
 
+case $host_os in
11424
 
+aix3*)
11425
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
11426
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
11427
 
+  # vanish in a puff of smoke.
11428
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
11429
 
+    COLLECT_NAMES=
11430
 
+    export COLLECT_NAMES
11431
 
+  fi
11432
 
+  ;;
11433
 
+esac
 
14841
+dnl Parse OPTIONS
 
14842
+_LT_SET_OPTIONS([$0], [$1])
11434
14843
 
11435
14844
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
11436
14845
-# Free Software Foundation, Inc.
11438
14847
-# This file is free software; the Free Software Foundation
11439
14848
-# gives unlimited permission to copy and/or distribute it,
11440
14849
-# with or without modifications, as long as this notice is preserved.
11441
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
11442
 
+# metacharacters that are still active within double-quoted strings.
11443
 
+Xsed='sed -e 1s/^X//'
11444
 
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
 
14850
+# This can be used to rebuild libtool when needed
 
14851
+LIBTOOL_DEPS="$ltmain"
11445
14852
 
11446
14853
-# serial 9
11447
 
+# Same as above, but do not quote variable references.
11448
 
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
 
14854
+# Always use our own libtool.
 
14855
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
14856
+AC_SUBST(LIBTOOL)dnl
11449
14857
 
11450
14858
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
11451
14859
-# written in clear, in which case automake, when reading aclocal.m4,
11452
14860
-# will think it sees a *use*, and therefore will trigger all it's
11453
14861
-# C support machinery.  Also note that it means that autoscan, seeing
11454
14862
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
11455
 
+# Sed substitution to delay expansion of an escaped shell variable in a
11456
 
+# double_quote_subst'ed string.
11457
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
14863
+_LT_SETUP
11458
14864
 
11459
 
+# Sed substitution to avoid accidental globbing in evaled expressions
11460
 
+no_glob_subst='s/\*/\\\*/g'
 
14865
+# Only expand once:
 
14866
+m4_define([LT_INIT])
 
14867
+])# LT_INIT
11461
14868
 
11462
14869
-# _AM_DEPENDENCIES(NAME)
11463
14870
-# ----------------------
11474
14881
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
11475
14882
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
11476
14883
-AC_REQUIRE([AM_DEP_TRACK])dnl
11477
 
+# Constants:
11478
 
+rm="rm -f"
 
14884
+# Old names:
 
14885
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
 
14886
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
 
14887
+dnl aclocal-1.4 backwards compatibility:
 
14888
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 
14889
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
11479
14890
 
11480
14891
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
11481
14892
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
11483
14894
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
11484
14895
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
11485
14896
-                   [depcc="$$1"   am_compiler_list=])
11486
 
-
 
14897
 
11487
14898
-AC_CACHE_CHECK([dependency style of $depcc],
11488
14899
-               [am_cv_$1_dependencies_compiler_type],
11489
14900
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11525
14936
-      touch sub/conftst$i.h
11526
14937
-    done
11527
14938
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11528
 
+# Global variables:
11529
 
+default_ofile=libtool
11530
 
+can_build_shared=yes
11531
 
 
 
14939
-
11532
14940
-    case $depmode in
11533
14941
-    nosideeffect)
11534
14942
-      # after this tag, mechanisms are not by side-effect, so they'll
11567
14975
-      fi
11568
14976
-    fi
11569
14977
-  done
11570
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
11571
 
+# which needs '.lib').
11572
 
+libext=a
11573
 
+ltmain="$ac_aux_dir/ltmain.sh"
11574
 
+ofile="$default_ofile"
11575
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
11576
 
 
 
14978
-
11577
14979
-  cd ..
11578
14980
-  rm -rf conftest.dir
11579
14981
-else
11584
14986
-AM_CONDITIONAL([am__fastdep$1], [
11585
14987
-  test "x$enable_dependency_tracking" != xno \
11586
14988
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
11587
 
-])
11588
 
+AC_CHECK_TOOL(AR, ar, false)
11589
 
+AC_CHECK_TOOL(RANLIB, ranlib, :)
11590
 
+AC_CHECK_TOOL(STRIP, strip, :)
 
14989
+# _LT_CC_BASENAME(CC)
 
14990
+# -------------------
 
14991
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
14992
+m4_defun([_LT_CC_BASENAME],
 
14993
+[for cc_temp in $1""; do
 
14994
+  case $cc_temp in
 
14995
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
14996
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
14997
+    \-*) ;;
 
14998
+    *) break;;
 
14999
+  esac
 
15000
+done
 
15001
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
15002
 ])
11591
15003
 
11592
 
+old_CC="$CC"
11593
 
+old_CFLAGS="$CFLAGS"
11594
15004
 
11595
15005
-# AM_SET_DEPDIR
11596
15006
-# -------------
11600
15010
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
11601
15011
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
11602
15012
-])
11603
 
+# Set sane defaults for various variables
11604
 
+test -z "$AR" && AR=ar
11605
 
+test -z "$AR_FLAGS" && AR_FLAGS=cru
11606
 
+test -z "$AS" && AS=as
11607
 
+test -z "$CC" && CC=cc
11608
 
+test -z "$LTCC" && LTCC=$CC
11609
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11610
 
+test -z "$DLLTOOL" && DLLTOOL=dlltool
11611
 
+test -z "$LD" && LD=ld
11612
 
+test -z "$LN_S" && LN_S="ln -s"
11613
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
11614
 
+test -z "$NM" && NM=nm
11615
 
+test -z "$SED" && SED=sed
11616
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
11617
 
+test -z "$RANLIB" && RANLIB=:
11618
 
+test -z "$STRIP" && STRIP=:
11619
 
+test -z "$ac_objext" && ac_objext=o
 
15013
+# _LT_FILEUTILS_DEFAULTS
 
15014
+# ----------------------
 
15015
+# It is okay to use these file commands and assume they have been set
 
15016
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
 
15017
+m4_defun([_LT_FILEUTILS_DEFAULTS],
 
15018
+[: ${CP="cp -f"}
 
15019
+: ${MV="mv -f"}
 
15020
+: ${RM="rm -f"}
 
15021
+])# _LT_FILEUTILS_DEFAULTS
11620
15022
 
11621
 
+# Determine commands to create old-style static archives.
11622
 
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
11623
 
+old_postinstall_cmds='chmod 644 $oldlib'
11624
 
+old_postuninstall_cmds=
11625
15023
 
11626
15024
-# AM_DEP_TRACK
11627
15025
-# ------------
11632
15030
-if test "x$enable_dependency_tracking" != xno; then
11633
15031
-  am_depcomp="$ac_aux_dir/depcomp"
11634
15032
-  AMDEPBACKSLASH='\'
11635
 
+if test -n "$RANLIB"; then
11636
 
+  case $host_os in
11637
 
+  openbsd*)
11638
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
11639
 
+    ;;
11640
 
+  *)
11641
 
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
11642
 
+    ;;
11643
 
+  esac
11644
 
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
15033
+# _LT_SETUP
 
15034
+# ---------
 
15035
+m4_defun([_LT_SETUP],
 
15036
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
15037
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
15038
+_LT_DECL([], [host_alias], [0], [The host system])dnl
 
15039
+_LT_DECL([], [host], [0])dnl
 
15040
+_LT_DECL([], [host_os], [0])dnl
 
15041
+dnl
 
15042
+_LT_DECL([], [build_alias], [0], [The build system])dnl
 
15043
+_LT_DECL([], [build], [0])dnl
 
15044
+_LT_DECL([], [build_os], [0])dnl
 
15045
+dnl
 
15046
+AC_REQUIRE([AC_PROG_CC])dnl
 
15047
+AC_REQUIRE([LT_PATH_LD])dnl
 
15048
+AC_REQUIRE([LT_PATH_NM])dnl
 
15049
+dnl
 
15050
+AC_REQUIRE([AC_PROG_LN_S])dnl
 
15051
+test -z "$LN_S" && LN_S="ln -s"
 
15052
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
 
15053
+dnl
 
15054
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
 
15055
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
 
15056
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 
15057
+dnl
 
15058
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
15059
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 
15060
+m4_require([_LT_CMD_RELOAD])dnl
 
15061
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 
15062
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 
15063
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
15064
+
 
15065
+_LT_CONFIG_LIBTOOL_INIT([
 
15066
+# See if we are running on zsh, and set the options which allow our
 
15067
+# commands through without removal of \ escapes INIT.
 
15068
+if test -n "\${ZSH_VERSION+set}" ; then
 
15069
+   setopt NO_GLOB_SUBST
11645
15070
 fi
11646
15071
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
11647
15072
-AC_SUBST([AMDEPBACKSLASH])dnl
11648
15073
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
11649
 
-])
11650
 
-
 
15074
 ])
 
15075
+if test -n "${ZSH_VERSION+set}" ; then
 
15076
+   setopt NO_GLOB_SUBST
 
15077
+fi
 
15078
 
11651
15079
-# Generate code to set up dependency tracking.              -*- Autoconf -*-
11652
15080
-
11653
15081
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
11656
15084
-# This file is free software; the Free Software Foundation
11657
15085
-# gives unlimited permission to copy and/or distribute it,
11658
15086
-# with or without modifications, as long as this notice is preserved.
 
15087
+_LT_CHECK_OBJDIR
11659
15088
 
11660
15089
-#serial 3
11661
 
+_LT_CC_BASENAME([$compiler])
 
15090
+m4_require([_LT_TAG_COMPILER])dnl
 
15091
+_LT_PROG_ECHO_BACKSLASH
11662
15092
 
11663
15093
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
11664
15094
-# ------------------------------
11673
15103
-  # each Makefile.in and add a new line on top of each file to say so.
11674
15104
-  # Grep'ing the whole file is not good either: AIX grep has a line
11675
15105
-  # limit of 2048, but all sed's we know have understand at least 4000.
11676
 
-  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
15106
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11677
15107
-    dirpart=`AS_DIRNAME("$mf")`
11678
15108
-  else
11679
15109
-    continue
11680
 
+# Only perform the check for file, if the check method requires it
11681
 
+case $deplibs_check_method in
11682
 
+file_magic*)
11683
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11684
 
+    AC_PATH_MAGIC
 
15110
+case $host_os in
 
15111
+aix3*)
 
15112
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
15113
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
15114
+  # vanish in a puff of smoke.
 
15115
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
15116
+    COLLECT_NAMES=
 
15117
+    export COLLECT_NAMES
11685
15118
   fi
11686
15119
-  # Extract the definition of DEPDIR, am__include, and am__quote
11687
15120
-  # from the Makefile without running `make'.
11711
15144
+  ;;
11712
15145
+esac
11713
15146
 
11714
 
+_LT_REQUIRED_DARWIN_CHECKS
 
15147
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
15148
+# metacharacters that are still active within double-quoted strings.
 
15149
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
11715
15150
 
11716
15151
-# AM_OUTPUT_DEPENDENCY_COMMANDS
11717
15152
-# -----------------------------
11725
15160
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
11726
15161
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
11727
15162
-])
11728
 
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
11729
 
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
11730
 
+enable_win32_dll=yes, enable_win32_dll=no)
 
15163
+# Same as above, but do not quote variable references.
 
15164
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
11731
15165
 
11732
15166
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
11733
15167
-# Free Software Foundation, Inc.
11735
15169
-# This file is free software; the Free Software Foundation
11736
15170
-# gives unlimited permission to copy and/or distribute it,
11737
15171
-# with or without modifications, as long as this notice is preserved.
11738
 
+AC_ARG_ENABLE([libtool-lock],
11739
 
+    [AC_HELP_STRING([--disable-libtool-lock],
11740
 
+       [avoid locking (might break parallel builds)])])
11741
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
15172
+# Sed substitution to delay expansion of an escaped shell variable in a
 
15173
+# double_quote_subst'ed string.
 
15174
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11742
15175
 
11743
15176
-# serial 8
11744
 
+AC_ARG_WITH([pic],
11745
 
+    [AC_HELP_STRING([--with-pic],
11746
 
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
11747
 
+    [pic_mode="$withval"],
11748
 
+    [pic_mode=default])
11749
 
+test -z "$pic_mode" && pic_mode=default
 
15177
+# Sed substitution to delay expansion of an escaped single quote.
 
15178
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
11750
15179
 
11751
15180
-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
11752
15181
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
11753
 
-
 
15182
+# Sed substitution to avoid accidental globbing in evaled expressions
 
15183
+no_glob_subst='s/\*/\\\*/g'
 
15184
 
11754
15185
-# Do all the work for Automake.                             -*- Autoconf -*-
11755
 
-
 
15186
+# Global variables:
 
15187
+ofile=libtool
 
15188
+can_build_shared=yes
 
15189
 
11756
15190
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
11757
 
-# 2005, 2006 Free Software Foundation, Inc.
 
15191
-# 2005, 2006, 2008 Free Software Foundation, Inc.
11758
15192
-#
11759
15193
-# This file is free software; the Free Software Foundation
11760
15194
-# gives unlimited permission to copy and/or distribute it,
11761
15195
-# with or without modifications, as long as this notice is preserved.
11762
 
-
11763
 
-# serial 12
11764
 
-
 
15196
+# All known linkers require a `.a' archive for static linking (except MSVC,
 
15197
+# which needs '.lib').
 
15198
+libext=a
 
15199
 
 
15200
-# serial 13
 
15201
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
15202
 
11765
15203
-# This macro actually does too much.  Some checks are only needed if
11766
15204
-# your package does certain things.  But this isn't really a big deal.
11767
 
-
 
15205
+old_CC="$CC"
 
15206
+old_CFLAGS="$CFLAGS"
 
15207
 
11768
15208
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
11769
15209
-# AM_INIT_AUTOMAKE([OPTIONS])
11770
15210
-# -----------------------------------------------
11792
15232
-    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
11793
15233
-  fi
11794
15234
-fi
11795
 
+# Use C for the default configuration in the libtool script
11796
 
+tagname=
11797
 
+AC_LIBTOOL_LANG_C_CONFIG
11798
 
+_LT_AC_TAGCONFIG
11799
 
+])# AC_LIBTOOL_SETUP
 
15235
+# Set sane defaults for various variables
 
15236
+test -z "$CC" && CC=cc
 
15237
+test -z "$LTCC" && LTCC=$CC
 
15238
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
15239
+test -z "$LD" && LD=ld
 
15240
+test -z "$ac_objext" && ac_objext=o
11800
15241
 
11801
15242
-# test whether we have cygpath
11802
15243
-if test -z "$CYGPATH_W"; then
11804
15245
-    CYGPATH_W='cygpath -w'
11805
15246
-  else
11806
15247
-    CYGPATH_W=echo
11807
 
-  fi
 
15248
+_LT_CC_BASENAME([$compiler])
 
15249
+
 
15250
+# Only perform the check for file, if the check method requires it
 
15251
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
15252
+case $deplibs_check_method in
 
15253
+file_magic*)
 
15254
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
15255
+    _LT_PATH_MAGIC
 
15256
   fi
11808
15257
-fi
11809
15258
-AC_SUBST([CYGPATH_W])
 
15259
+  ;;
 
15260
+esac
11810
15261
 
11811
15262
-# Define the identity of the package.
11812
15263
-dnl Distinguish between old-style and new-style calls.
11820
15271
-  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
11821
15272
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
11822
15273
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
11823
 
+# _LT_AC_SYS_COMPILER
11824
 
+# -------------------
11825
 
+AC_DEFUN([_LT_AC_SYS_COMPILER],
11826
 
+[AC_REQUIRE([AC_PROG_CC])dnl
 
15274
+# Use C for the default configuration in the libtool script
 
15275
+LT_SUPPORTED_TAG([CC])
 
15276
+_LT_LANG_C_CONFIG
 
15277
+_LT_LANG_DEFAULT_CONFIG
 
15278
+_LT_CONFIG_COMMANDS
 
15279
+])# _LT_SETUP
11827
15280
 
11828
15281
-_AM_IF_OPTION([no-define],,
11829
15282
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
11830
15283
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
11831
 
+# If no C compiler was specified, use CC.
11832
 
+LTCC=${LTCC-"$CC"}
11833
15284
 
11834
15285
-# Some tools Automake needs.
11835
15286
-AC_REQUIRE([AM_SANITY_CHECK])dnl
11865
15316
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
11866
15317
-])
11867
15318
-])
11868
 
+# If no C compiler flags were specified, use CFLAGS.
11869
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
15319
+# _LT_PROG_LTMAIN
 
15320
+# ---------------
 
15321
+# Note that this code is called both from `configure', and `config.status'
 
15322
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
 
15323
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
 
15324
+# so we pass a copy along to make sure it has a sensible value anyway.
 
15325
+m4_defun([_LT_PROG_LTMAIN],
 
15326
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
 
15327
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
 
15328
+ltmain="$ac_aux_dir/ltmain.sh"
 
15329
+])# _LT_PROG_LTMAIN
11870
15330
 
11871
 
+# Allow CC to be a program name with arguments.
11872
 
+compiler=$CC
11873
 
+])# _LT_AC_SYS_COMPILER
11874
15331
 
11875
15332
-# When config.status generates a header, we must update the stamp-h file.
11876
15333
-# This file resides in the same directory as the config header
11881
15338
-# our stamp files there.
11882
15339
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
11883
15340
-[# Compute $1's index in $config_headers.
 
15341
-_am_arg=$1
11884
15342
-_am_stamp_count=1
11885
15343
-for _am_header in $config_headers :; do
11886
15344
-  case $_am_header in
11887
 
-    $1 | $1:* )
 
15345
-    $_am_arg | $_am_arg:* )
11888
15346
-      break ;;
11889
15347
-    * )
11890
15348
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11891
 
+# _LT_CC_BASENAME(CC)
11892
 
+# -------------------
11893
 
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
11894
 
+AC_DEFUN([_LT_CC_BASENAME],
11895
 
+[for cc_temp in $1""; do
11896
 
+  case $cc_temp in
11897
 
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
11898
 
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
11899
 
+    \-*) ;;
11900
 
+    *) break;;
11901
 
   esac
11902
 
 done
11903
 
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
11904
 
-
 
15349
-  esac
 
15350
-done
 
15351
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
15352
+# So that we can recreate a full libtool script including additional
 
15353
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
 
15354
+# in macros and then make a single call at the end using the `libtool'
 
15355
+# label.
 
15356
 
11905
15357
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
11906
15358
-#
11907
15359
-# This file is free software; the Free Software Foundation
11908
15360
-# gives unlimited permission to copy and/or distribute it,
11909
15361
-# with or without modifications, as long as this notice is preserved.
11910
 
-
 
15362
 
11911
15363
-# AM_PROG_INSTALL_SH
11912
15364
-# ------------------
11913
15365
-# Define $install_sh.
11915
15367
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
11916
15368
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
11917
15369
-AC_SUBST(install_sh)])
11918
 
-
 
15370
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
 
15371
+# ----------------------------------------
 
15372
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
15373
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
 
15374
+[m4_ifval([$1],
 
15375
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
 
15376
+                     [$1
 
15377
+])])])
 
15378
 
11919
15379
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
11920
15380
-#
11921
15381
-# This file is free software; the Free Software Foundation
11922
15382
-# gives unlimited permission to copy and/or distribute it,
11923
15383
-# with or without modifications, as long as this notice is preserved.
11924
 
-
 
15384
+# Initialize.
 
15385
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
 
15386
 
11925
15387
-# serial 2
11926
 
-
 
15388
 
11927
15389
-# Check whether the underlying file-system supports filenames
11928
15390
-# with a leading dot.  For instance MS-DOS doesn't.
11929
15391
-AC_DEFUN([AM_SET_LEADING_DOT],
11936
15398
-fi
11937
15399
-rmdir .tst 2>/dev/null
11938
15400
-AC_SUBST([am__leading_dot])])
11939
 
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11940
 
+])
 
15401
+# _LT_CONFIG_LIBTOOL([COMMANDS])
 
15402
+# ------------------------------
 
15403
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
15404
+m4_define([_LT_CONFIG_LIBTOOL],
 
15405
+[m4_ifval([$1],
 
15406
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
 
15407
+                     [$1
 
15408
+])])])
11941
15409
 
11942
15410
-# Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
15411
+# Initialize.
 
15412
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
11943
15413
 
11944
15414
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
11945
15415
-#
11946
15416
-# This file is free software; the Free Software Foundation
11947
15417
-# gives unlimited permission to copy and/or distribute it,
11948
15418
-# with or without modifications, as long as this notice is preserved.
11949
 
+# _LT_COMPILER_BOILERPLATE
11950
 
+# ------------------------
11951
 
+# Check for compiler boilerplate output or warnings with
11952
 
+# the simple compiler test code.
11953
 
+AC_DEFUN([_LT_COMPILER_BOILERPLATE],
11954
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
11955
 
+ac_outfile=conftest.$ac_objext
11956
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11957
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11958
 
+_lt_compiler_boilerplate=`cat conftest.err`
11959
 
+$rm conftest*
11960
 
+])# _LT_COMPILER_BOILERPLATE
11961
15419
 
11962
15420
-# serial 3
 
15421
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
 
15422
+# -----------------------------------------------------
 
15423
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
 
15424
+[_LT_CONFIG_LIBTOOL([$1])
 
15425
+_LT_CONFIG_LIBTOOL_INIT([$2])
 
15426
+])
11963
15427
 
11964
15428
-# AM_MAKE_INCLUDE()
11965
15429
-# -----------------
12002
15466
-AC_MSG_RESULT([$_am_result])
12003
15467
-rm -f confinc confmf
12004
15468
-])
12005
 
+# _LT_LINKER_BOILERPLATE
12006
 
+# ----------------------
12007
 
+# Check for linker boilerplate output or warnings with
12008
 
+# the simple link test code.
12009
 
+AC_DEFUN([_LT_LINKER_BOILERPLATE],
12010
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
12011
 
+ac_outfile=conftest.$ac_objext
12012
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
12013
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12014
 
+_lt_linker_boilerplate=`cat conftest.err`
12015
 
+$rm -r conftest*
12016
 
+])# _LT_LINKER_BOILERPLATE
12017
15469
 
12018
15470
-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
12019
 
+# _LT_REQUIRED_DARWIN_CHECKS
12020
 
+# --------------------------
12021
 
+# Check for some things on darwin
12022
 
+AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
12023
 
+  case $host_os in
12024
 
+    rhapsody* | darwin*)
12025
 
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
12026
 
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
15471
+# _LT_FORMAT_COMMENT([COMMENT])
 
15472
+# -----------------------------
 
15473
+# Add leading comment marks to the start of each line, and a trailing
 
15474
+# full-stop to the whole comment if one is not present already.
 
15475
+m4_define([_LT_FORMAT_COMMENT],
 
15476
+[m4_ifval([$1], [
 
15477
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
 
15478
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
 
15479
+)])
12027
15480
 
12028
15481
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
12029
15482
-# Free Software Foundation, Inc.
12031
15484
-# This file is free software; the Free Software Foundation
12032
15485
-# gives unlimited permission to copy and/or distribute it,
12033
15486
-# with or without modifications, as long as this notice is preserved.
12034
 
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
12035
 
+      [lt_cv_apple_cc_single_mod=no
12036
 
+      if test -z "${LT_MULTI_MODULE}"; then
12037
 
+   # By default we will add the -single_module flag. You can override
12038
 
+   # by either setting the environment variable LT_MULTI_MODULE
12039
 
+   # non-empty at configure time, or by adding -multi_module to the
12040
 
+   # link flags.
12041
 
+   echo "int foo(void){return 1;}" > conftest.c
12042
 
+   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12043
 
+     -dynamiclib ${wl}-single_module conftest.c
12044
 
+   if test -f libconftest.dylib; then
12045
 
+     lt_cv_apple_cc_single_mod=yes
12046
 
+     rm -rf libconftest.dylib*
12047
 
+   fi
12048
 
+   rm conftest.c
12049
 
+      fi])
12050
 
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
12051
 
+      [lt_cv_ld_exported_symbols_list],
12052
 
+      [lt_cv_ld_exported_symbols_list=no
12053
 
+      save_LDFLAGS=$LDFLAGS
12054
 
+      echo "_main" > conftest.sym
12055
 
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
12056
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
12057
 
+   [lt_cv_ld_exported_symbols_list=yes],
12058
 
+   [lt_cv_ld_exported_symbols_list=no])
12059
 
+   LDFLAGS="$save_LDFLAGS"
12060
 
+    ])
12061
 
+    case $host_os in
12062
 
+    rhapsody* | darwin1.[[0123]])
12063
 
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
12064
 
+    darwin1.*)
12065
 
+     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
12066
 
+    darwin*)
12067
 
+      # if running on 10.5 or later, the deployment target defaults
12068
 
+      # to the OS version, if on x86, and 10.4, the deployment
12069
 
+      # target defaults to 10.4. Don't you love it?
12070
 
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
12071
 
+   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
12072
 
+     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
12073
 
+   10.[[012]]*)
12074
 
+     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
12075
 
+   10.*)
12076
 
+     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
12077
 
+      esac
12078
 
+    ;;
12079
 
+  esac
12080
 
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
12081
 
+      _lt_dar_single_mod='$single_module'
12082
 
+    fi
12083
 
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
12084
 
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
12085
 
+    else
12086
 
+      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
12087
 
+    fi
12088
 
+    if test "$DSYMUTIL" != ":"; then
12089
 
+      _lt_dsymutil="~$DSYMUTIL \$lib || :"
12090
 
+    else
12091
 
+      _lt_dsymutil=
12092
 
+    fi
12093
 
+    ;;
12094
 
+  esac
12095
 
+])
12096
15487
 
12097
15488
-# serial 5
12098
 
+# _LT_AC_SYS_LIBPATH_AIX
12099
 
+# ----------------------
12100
 
+# Links a minimal program and checks the executable
12101
 
+# for the system default hardcoded library path. In most cases,
12102
 
+# this is /usr/lib:/lib, but when the MPI compilers are used
12103
 
+# the location of the communication and MPI libs are included too.
12104
 
+# If we don't find anything, use the default library path according
12105
 
+# to the aix ld manual.
12106
 
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
12107
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
12108
 
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
12109
 
+lt_aix_libpath_sed='
12110
 
+    /Import File Strings/,/^$/ {
12111
 
+       /^0/ {
12112
 
+           s/^0  *\(.*\)$/\1/
12113
 
+           p
12114
 
+       }
12115
 
+    }'
12116
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12117
 
+# Check for a 64-bit object if we didn't find anything.
12118
 
+if test -z "$aix_libpath"; then
12119
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12120
 
+fi],[])
12121
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12122
 
+])# _LT_AC_SYS_LIBPATH_AIX
12123
15489
 
12124
15490
-# AM_MISSING_PROG(NAME, PROGRAM)
12125
15491
-# ------------------------------
12128
15494
-$1=${$1-"${am_missing_run}$2"}
12129
15495
-AC_SUBST($1)])
12130
15496
 
12131
 
+# _LT_AC_SHELL_INIT(ARG)
12132
 
+# ----------------------
12133
 
+AC_DEFUN([_LT_AC_SHELL_INIT],
12134
 
+[ifdef([AC_DIVERSION_NOTICE],
12135
 
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
12136
 
+        [AC_DIVERT_PUSH(NOTICE)])
12137
 
+$1
12138
 
+AC_DIVERT_POP
12139
 
+])# _LT_AC_SHELL_INIT
12140
15497
 
12141
15498
-# AM_MISSING_HAS_RUN
12142
15499
-# ------------------
12153
15510
-  am_missing_run=
12154
15511
-  AC_MSG_WARN([`missing' script is too old or missing])
12155
15512
-fi
12156
 
-])
 
15513
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
 
15514
+# -------------------------------------------------------------------
 
15515
+# CONFIGNAME is the name given to the value in the libtool script.
 
15516
+# VARNAME is the (base) name used in the configure script.
 
15517
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
 
15518
+# VARNAME.  Any other value will be used directly.
 
15519
+m4_define([_LT_DECL],
 
15520
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
 
15521
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
 
15522
+       [m4_ifval([$1], [$1], [$2])])
 
15523
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
 
15524
+    m4_ifval([$4],
 
15525
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
 
15526
+    lt_dict_add_subkey([lt_decl_dict], [$2],
 
15527
+       [tagged?], [m4_ifval([$5], [yes], [no])])])
 
15528
 ])
12157
15529
 
12158
15530
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
12159
15531
-#
12160
15532
-# This file is free software; the Free Software Foundation
12161
15533
-# gives unlimited permission to copy and/or distribute it,
12162
15534
-# with or without modifications, as long as this notice is preserved.
12163
 
+# _LT_AC_PROG_ECHO_BACKSLASH
12164
 
+# --------------------------
12165
 
+# Add some code to the start of the generated configure script which
12166
 
+# will find an echo command which doesn't interpret backslashes.
12167
 
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
12168
 
+[_LT_AC_SHELL_INIT([
12169
 
+# Check that we are running under the correct shell.
12170
 
+SHELL=${CONFIG_SHELL-/bin/sh}
12171
15535
 
12172
15536
-# AM_PROG_MKDIR_P
12173
15537
-# ---------------
12186
15550
-case $mkdir_p in
12187
15551
-  [[\\/$]]* | ?:[[\\/]]*) ;;
12188
15552
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
12189
 
+case X$ECHO in
12190
 
+X*--fallback-echo)
12191
 
+  # Remove one level of quotation (which was required for Make).
12192
 
+  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
12193
 
+  ;;
12194
 
 esac
 
15553
-esac
12195
15554
-])
12196
 
-
 
15555
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
 
15556
+# --------------------------------------------------------
 
15557
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
 
15558
 
12197
15559
-# Helper functions for option handling.                     -*- Autoconf -*-
12198
 
-
 
15560
 
12199
15561
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
12200
15562
-#
12201
15563
-# This file is free software; the Free Software Foundation
12202
15564
-# gives unlimited permission to copy and/or distribute it,
12203
15565
-# with or without modifications, as long as this notice is preserved.
 
15566
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
 
15567
+# ------------------------------------------------
 
15568
+m4_define([lt_decl_tag_varnames],
 
15569
+[_lt_decl_filter([tagged?], [yes], $@)])
12204
15570
 
12205
15571
-# serial 3
12206
 
+echo=${ECHO-echo}
12207
 
+if test "X[$]1" = X--no-reexec; then
12208
 
+  # Discard the --no-reexec flag, and continue.
12209
 
+  shift
12210
 
+elif test "X[$]1" = X--fallback-echo; then
12211
 
+  # Avoid inline document here, it may be left over
12212
 
+  :
12213
 
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
12214
 
+  # Yippee, $echo works!
12215
 
+  :
12216
 
+else
12217
 
+  # Restart under the correct shell.
12218
 
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
12219
 
+fi
12220
15572
 
12221
15573
-# _AM_MANGLE_OPTION(NAME)
12222
15574
-# -----------------------
12223
15575
-AC_DEFUN([_AM_MANGLE_OPTION],
12224
15576
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
12225
 
+if test "X[$]1" = X--fallback-echo; then
12226
 
+  # used as fallback echo
12227
 
+  shift
12228
 
+  cat <<EOF
12229
 
+[$]*
12230
 
+EOF
12231
 
+  exit 0
12232
 
+fi
 
15577
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
 
15578
+# ---------------------------------------------------------
 
15579
+m4_define([_lt_decl_filter],
 
15580
+[m4_case([$#],
 
15581
+  [0], [m4_fatal([$0: too few arguments: $#])],
 
15582
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
 
15583
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
 
15584
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
 
15585
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
 
15586
+])
12233
15587
 
12234
15588
-# _AM_SET_OPTION(NAME)
12235
15589
-# ------------------------------
12236
15590
-# Set option NAME.  Presently that only means defining a flag for this option.
12237
15591
-AC_DEFUN([_AM_SET_OPTION],
12238
15592
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
12239
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
12240
 
+# if CDPATH is set.
12241
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12242
15593
 
12243
15594
-# _AM_SET_OPTIONS(OPTIONS)
12244
15595
-# ----------------------------------
12245
15596
-# OPTIONS is a space-separated list of Automake options.
12246
15597
-AC_DEFUN([_AM_SET_OPTIONS],
12247
15598
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
12248
 
+if test -z "$ECHO"; then
12249
 
+if test "X${echo_test_string+set}" != Xset; then
12250
 
+# find a string as large as possible, as long as the shell can cope with it
12251
 
+  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
12252
 
+    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
12253
 
+    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
12254
 
+       echo_test_string=`eval $cmd` &&
12255
 
+       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
12256
 
+    then
12257
 
+      break
12258
 
+    fi
12259
 
+  done
12260
 
+fi
 
15599
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
 
15600
+# --------------------------------------------------
 
15601
+m4_define([lt_decl_quote_varnames],
 
15602
+[_lt_decl_filter([value], [1], $@)])
12261
15603
 
12262
15604
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
12263
15605
-# -------------------------------------------
12264
15606
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
12265
15607
-AC_DEFUN([_AM_IF_OPTION],
12266
15608
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
12267
 
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
12268
 
+   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
12269
 
+   test "X$echo_testing_string" = "X$echo_test_string"; then
12270
 
+  :
12271
 
+else
12272
 
+  # The Solaris, AIX, and Digital Unix default echo programs unquote
12273
 
+  # backslashes.  This makes it impossible to quote backslashes using
12274
 
+  #   echo "$something" | sed 's/\\/\\\\/g'
12275
 
+  #
12276
 
+  # So, first we look for a working echo in the user's PATH.
12277
15609
 
12278
15610
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
12279
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12280
 
+  for dir in $PATH /usr/ucb; do
12281
 
+    IFS="$lt_save_ifs"
12282
 
+    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
12283
 
+       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
12284
 
+       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
12285
 
+       test "X$echo_testing_string" = "X$echo_test_string"; then
12286
 
+      echo="$dir/echo"
12287
 
+      break
12288
 
+    fi
12289
 
+  done
12290
 
+  IFS="$lt_save_ifs"
 
15611
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
 
15612
+# ---------------------------------------------------
 
15613
+m4_define([lt_decl_dquote_varnames],
 
15614
+[_lt_decl_filter([value], [2], $@)])
12291
15615
 
12292
15616
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
12293
15617
-# Free Software Foundation, Inc.
12295
15619
-# This file is free software; the Free Software Foundation
12296
15620
-# gives unlimited permission to copy and/or distribute it,
12297
15621
-# with or without modifications, as long as this notice is preserved.
12298
 
-
 
15622
 
12299
15623
-# serial 4
12300
 
-
 
15624
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
 
15625
+# ---------------------------------------------------
 
15626
+m4_define([lt_decl_varnames_tagged],
 
15627
+[m4_assert([$# <= 2])dnl
 
15628
+_$0(m4_quote(m4_default([$1], [[, ]])),
 
15629
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
15630
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
15631
+m4_define([_lt_decl_varnames_tagged],
 
15632
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
 
15633
 
12301
15634
-# AM_SANITY_CHECK
12302
15635
-# ---------------
12303
15636
-AC_DEFUN([AM_SANITY_CHECK],
12319
15652
-   rm -f conftest.file
12320
15653
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
12321
15654
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
12322
 
+  if test "X$echo" = Xecho; then
12323
 
+    # We didn't find a better echo, so look for alternatives.
12324
 
+    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
12325
 
+       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
12326
 
+       test "X$echo_testing_string" = "X$echo_test_string"; then
12327
 
+      # This shell has a builtin print -r that does the trick.
12328
 
+      echo='print -r'
12329
 
+    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
12330
 
+        test "X$CONFIG_SHELL" != X/bin/ksh; then
12331
 
+      # If we have ksh, try running configure again with it.
12332
 
+      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12333
 
+      export ORIGINAL_CONFIG_SHELL
12334
 
+      CONFIG_SHELL=/bin/ksh
12335
 
+      export CONFIG_SHELL
12336
 
+      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
12337
 
+    else
12338
 
+      # Try using printf.
12339
 
+      echo='printf %s\n'
12340
 
+      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
12341
 
+        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
12342
 
+        test "X$echo_testing_string" = "X$echo_test_string"; then
12343
 
+       # Cool, printf works
12344
 
+       :
12345
 
+      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
12346
 
+          test "X$echo_testing_string" = 'X\t' &&
12347
 
+          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
12348
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
12349
 
+       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
12350
 
+       export CONFIG_SHELL
12351
 
+       SHELL="$CONFIG_SHELL"
12352
 
+       export SHELL
12353
 
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
12354
 
+      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
12355
 
+          test "X$echo_testing_string" = 'X\t' &&
12356
 
+          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
12357
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
12358
 
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
12359
 
+      else
12360
 
+       # maybe with a smaller string...
12361
 
+       prev=:
12362
15655
 
12363
15656
-      # If neither matched, then we have a broken ls.  This can happen
12364
15657
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
12367
15660
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
12368
15661
-alias in your environment])
12369
15662
-   fi
12370
 
+       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
12371
 
+         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
12372
 
+         then
12373
 
+           break
12374
 
+         fi
12375
 
+         prev="$cmd"
12376
 
+       done
 
15663
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
 
15664
+# ------------------------------------------------
 
15665
+m4_define([lt_decl_all_varnames],
 
15666
+[_$0(m4_quote(m4_default([$1], [[, ]])),
 
15667
+     m4_if([$2], [],
 
15668
+          m4_quote(lt_decl_varnames),
 
15669
+       m4_quote(m4_shift($@))))[]dnl
 
15670
+])
 
15671
+m4_define([_lt_decl_all_varnames],
 
15672
+[lt_join($@, lt_decl_varnames_tagged([$1],
 
15673
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
 
15674
+])
12377
15675
 
12378
15676
-   test "$[2]" = conftest.file
12379
15677
-   )
12383
15681
-else
12384
15682
-   AC_MSG_ERROR([newly created file is older than distributed files!
12385
15683
-Check your system clock])
12386
 
+       if test "$prev" != 'sed 50q "[$]0"'; then
12387
 
+         echo_test_string=`eval $prev`
12388
 
+         export echo_test_string
12389
 
+         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
12390
 
+       else
12391
 
+         # Oops.  We lost completely, so just stick with echo.
12392
 
+         echo=echo
12393
 
+       fi
12394
 
+      fi
12395
 
+    fi
12396
 
+  fi
12397
 
+fi
12398
 
 fi
 
15684
-fi
12399
15685
-AC_MSG_RESULT(yes)])
12400
 
-
 
15686
 
12401
15687
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
12402
15688
-#
12403
15689
-# This file is free software; the Free Software Foundation
12404
15690
-# gives unlimited permission to copy and/or distribute it,
12405
15691
-# with or without modifications, as long as this notice is preserved.
 
15692
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
 
15693
+# ------------------------------------
 
15694
+# Quote a variable value, and forward it to `config.status' so that its
 
15695
+# declaration there will have the same value as in `configure'.  VARNAME
 
15696
+# must have a single quote delimited value for this to work.
 
15697
+m4_define([_LT_CONFIG_STATUS_DECLARE],
 
15698
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
12406
15699
 
12407
15700
-# AM_PROG_INSTALL_STRIP
12408
15701
-# ---------------------
12422
15715
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
12423
15716
-if test "$cross_compiling" != no; then
12424
15717
-  AC_CHECK_TOOL([STRIP], [strip], :)
12425
 
+# Copy echo and quote the copy suitably for passing to libtool from
12426
 
+# the Makefile, instead of quoting the original, which is used later.
12427
 
+ECHO=$echo
12428
 
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
12429
 
+   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
12430
 
 fi
 
15718
-fi
12431
15719
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12432
15720
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
12433
15721
 
12434
15722
-# Copyright (C) 2006  Free Software Foundation, Inc.
12435
 
-#
 
15723
+# _LT_CONFIG_STATUS_DECLARATIONS
 
15724
+# ------------------------------
 
15725
+# We delimit libtool config variables with single quotes, so when
 
15726
+# we write them to config.status, we have to be sure to quote all
 
15727
+# embedded single quotes properly.  In configure, this macro expands
 
15728
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 
15729
 #
12436
15730
-# This file is free software; the Free Software Foundation
12437
15731
-# gives unlimited permission to copy and/or distribute it,
12438
15732
-# with or without modifications, as long as this notice is preserved.
12439
 
+AC_SUBST(ECHO)
12440
 
+])])# _LT_AC_PROG_ECHO_BACKSLASH
12441
 
 
 
15733
-
12442
15734
-# _AM_SUBST_NOTMAKE(VARIABLE)
12443
15735
-# ---------------------------
12444
 
-# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
15736
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
12445
15737
-# This macro is traced by Automake.
12446
15738
-AC_DEFUN([_AM_SUBST_NOTMAKE])
 
15739
+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
15740
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 
15741
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
 
15742
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
12447
15743
 
12448
15744
-# Check how to create a tarball.                            -*- Autoconf -*-
12449
 
+# _LT_AC_LOCK
12450
 
+# -----------
12451
 
+AC_DEFUN([_LT_AC_LOCK],
12452
 
+[AC_ARG_ENABLE([libtool-lock],
12453
 
+    [AC_HELP_STRING([--disable-libtool-lock],
12454
 
+       [avoid locking (might break parallel builds)])])
12455
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12456
15745
 
12457
15746
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
12458
15747
-#
12459
15748
-# This file is free software; the Free Software Foundation
12460
15749
-# gives unlimited permission to copy and/or distribute it,
12461
15750
-# with or without modifications, as long as this notice is preserved.
12462
 
+# Some flags need to be propagated to the compiler or linker for good
12463
 
+# libtool support.
12464
 
+case $host in
12465
 
+ia64-*-hpux*)
12466
 
+  # Find out which ABI we are using.
12467
 
+  echo 'int i;' > conftest.$ac_ext
12468
 
+  if AC_TRY_EVAL(ac_compile); then
12469
 
+    case `/usr/bin/file conftest.$ac_objext` in
12470
 
+    *ELF-32*)
12471
 
+      HPUX_IA64_MODE="32"
12472
 
+      ;;
12473
 
+    *ELF-64*)
12474
 
+      HPUX_IA64_MODE="64"
12475
 
+      ;;
12476
 
+    esac
12477
 
+  fi
12478
 
+  rm -rf conftest*
12479
 
+  ;;
12480
 
+*-*-irix6*)
12481
 
+  # Find out which ABI we are using.
12482
 
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
12483
 
+  if AC_TRY_EVAL(ac_compile); then
12484
 
+   if test "$lt_cv_prog_gnu_ld" = yes; then
12485
 
+    case `/usr/bin/file conftest.$ac_objext` in
12486
 
+    *32-bit*)
12487
 
+      LD="${LD-ld} -melf32bsmip"
12488
 
+      ;;
12489
 
+    *N32*)
12490
 
+      LD="${LD-ld} -melf32bmipn32"
12491
 
+      ;;
12492
 
+    *64-bit*)
12493
 
+      LD="${LD-ld} -melf64bmip"
12494
 
+      ;;
12495
 
+    esac
12496
 
+   else
12497
 
+    case `/usr/bin/file conftest.$ac_objext` in
12498
 
+    *32-bit*)
12499
 
+      LD="${LD-ld} -32"
12500
 
+      ;;
12501
 
+    *N32*)
12502
 
+      LD="${LD-ld} -n32"
12503
 
+      ;;
12504
 
+    *64-bit*)
12505
 
+      LD="${LD-ld} -64"
12506
 
+      ;;
12507
 
+    esac
12508
 
+   fi
12509
 
+  fi
12510
 
+  rm -rf conftest*
12511
 
+  ;;
12512
 
 
 
15751
-
12513
15752
-# serial 2
12514
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
12515
 
+s390*-*linux*|sparc*-*linux*)
12516
 
+  # Find out which ABI we are using.
12517
 
+  echo 'int i;' > conftest.$ac_ext
12518
 
+  if AC_TRY_EVAL(ac_compile); then
12519
 
+    case `/usr/bin/file conftest.o` in
12520
 
+    *32-bit*)
12521
 
+      case $host in
12522
 
+        x86_64-*kfreebsd*-gnu)
12523
 
+          LD="${LD-ld} -m elf_i386_fbsd"
12524
 
+          ;;
12525
 
+        x86_64-*linux*)
12526
 
+          LD="${LD-ld} -m elf_i386"
12527
 
+          ;;
12528
 
+        ppc64-*linux*|powerpc64-*linux*)
12529
 
+          LD="${LD-ld} -m elf32ppclinux"
12530
 
+          ;;
12531
 
+        s390x-*linux*)
12532
 
+          LD="${LD-ld} -m elf_s390"
12533
 
+          ;;
12534
 
+        sparc64-*linux*)
12535
 
+          LD="${LD-ld} -m elf32_sparc"
12536
 
+          ;;
12537
 
+      esac
12538
 
+      ;;
12539
 
+    *64-bit*)
12540
 
+      case $host in
12541
 
+        x86_64-*kfreebsd*-gnu)
12542
 
+          LD="${LD-ld} -m elf_x86_64_fbsd"
12543
 
+          ;;
12544
 
+        x86_64-*linux*)
12545
 
+          LD="${LD-ld} -m elf_x86_64"
12546
 
+          ;;
12547
 
+        ppc*-*linux*|powerpc*-*linux*)
12548
 
+          LD="${LD-ld} -m elf64ppc"
12549
 
+          ;;
12550
 
+        s390*-*linux*)
12551
 
+          LD="${LD-ld} -m elf64_s390"
12552
 
+          ;;
12553
 
+        sparc*-*linux*)
12554
 
+          LD="${LD-ld} -m elf64_sparc"
12555
 
+          ;;
12556
 
+      esac
12557
 
+      ;;
12558
 
+    esac
12559
 
+  fi
12560
 
+  rm -rf conftest*
12561
 
+  ;;
12562
 
 
 
15753
-
12563
15754
-# _AM_PROG_TAR(FORMAT)
12564
15755
-# --------------------
12565
15756
-# Check how to create a tarball in format FORMAT.
12636
15827
-  if test -s conftest.tar; then
12637
15828
-    AM_RUN_LOG([$am__untar <conftest.tar])
12638
15829
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
15830
-  fi
 
15831
-done
 
15832
-rm -rf conftest.dir
 
15833
-
 
15834
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
15835
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
15836
-AC_SUBST([am__tar])
 
15837
-AC_SUBST([am__untar])
 
15838
-]) # _AM_PROG_TAR
 
15839
+# _LT_LIBTOOL_TAGS
 
15840
+# ----------------
 
15841
+# Output comment and list of tags supported by the script
 
15842
+m4_defun([_LT_LIBTOOL_TAGS],
 
15843
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
 
15844
+available_tags="_LT_TAGS"dnl
 
15845
+])
 
15846
 
 
15847
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
15848
-#
 
15849
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15850
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15851
-#   Written by Gordon Matzigkeit, 1996
 
15852
-#
 
15853
-# This file is free software; the Free Software Foundation gives
 
15854
-# unlimited permission to copy and/or distribute it, with or without
 
15855
-# modifications, as long as this notice is preserved.
 
15856
 
 
15857
-m4_define([_LT_COPYING], [dnl
 
15858
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15859
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15860
-#   Written by Gordon Matzigkeit, 1996
 
15861
-#
 
15862
-#   This file is part of GNU Libtool.
 
15863
-#
 
15864
-# GNU Libtool is free software; you can redistribute it and/or
 
15865
-# modify it under the terms of the GNU General Public License as
 
15866
-# published by the Free Software Foundation; either version 2 of
 
15867
-# the License, or (at your option) any later version.
 
15868
-#
 
15869
-# As a special exception to the GNU General Public License,
 
15870
-# if you distribute this file as part of a program or library that
 
15871
-# is built using GNU Libtool, you may include this file under the
 
15872
-# same distribution terms that you use for the rest of that program.
 
15873
-#
 
15874
-# GNU Libtool is distributed in the hope that it will be useful,
 
15875
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15876
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15877
-# GNU General Public License for more details.
 
15878
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
 
15879
+# -----------------------------------
 
15880
+# Extract the dictionary values for VARNAME (optionally with TAG) and
 
15881
+# expand to a commented shell variable setting:
 
15882
 #
 
15883
-# You should have received a copy of the GNU General Public License
 
15884
-# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15885
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15886
-# obtained by writing to the Free Software Foundation, Inc.,
 
15887
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15888
+#    # Some comment about what VAR is for.
 
15889
+#    visible_name=$lt_internal_name
 
15890
+m4_define([_LT_LIBTOOL_DECLARE],
 
15891
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
 
15892
+                                          [description])))[]dnl
 
15893
+m4_pushdef([_libtool_name],
 
15894
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
 
15895
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
 
15896
+    [0], [_libtool_name=[$]$1],
 
15897
+    [1], [_libtool_name=$lt_[]$1],
 
15898
+    [2], [_libtool_name=$lt_[]$1],
 
15899
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
 
15900
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
 
15901
 ])
 
15902
 
 
15903
-# serial 56 LT_INIT
 
15904
-
 
15905
 
 
15906
-# LT_PREREQ(VERSION)
 
15907
-# ------------------
 
15908
-# Complain and exit if this libtool version is less that VERSION.
 
15909
-m4_defun([LT_PREREQ],
 
15910
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
 
15911
-       [m4_default([$3],
 
15912
-                  [m4_fatal([Libtool version $1 or higher is required],
 
15913
-                            63)])],
 
15914
-       [$2])])
 
15915
+# _LT_LIBTOOL_CONFIG_VARS
 
15916
+# -----------------------
 
15917
+# Produce commented declarations of non-tagged libtool config variables
 
15918
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
 
15919
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
 
15920
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
 
15921
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
 
15922
+[m4_foreach([_lt_var],
 
15923
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
 
15924
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
 
15925
 
 
15926
 
 
15927
-# _LT_CHECK_BUILDDIR
 
15928
-# ------------------
 
15929
-# Complain if the absolute build directory name contains unusual characters
 
15930
-m4_defun([_LT_CHECK_BUILDDIR],
 
15931
-[case `pwd` in
 
15932
-  *\ * | *\    *)
 
15933
-    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
 
15934
-esac
 
15935
-])
 
15936
+# _LT_LIBTOOL_TAG_VARS(TAG)
 
15937
+# -------------------------
 
15938
+m4_define([_LT_LIBTOOL_TAG_VARS],
 
15939
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
 
15940
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
 
15941
 
 
15942
 
 
15943
-# LT_INIT([OPTIONS])
 
15944
-# ------------------
 
15945
-AC_DEFUN([LT_INIT],
 
15946
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
15947
-AC_BEFORE([$0], [LT_LANG])dnl
 
15948
-AC_BEFORE([$0], [LT_OUTPUT])dnl
 
15949
-AC_BEFORE([$0], [LTDL_INIT])dnl
 
15950
-m4_require([_LT_CHECK_BUILDDIR])dnl
 
15951
+# _LT_TAGVAR(VARNAME, [TAGNAME])
 
15952
+# ------------------------------
 
15953
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 
15954
 
 
15955
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
 
15956
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
 
15957
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
 
15958
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
 
15959
-dnl unless we require an AC_DEFUNed macro:
 
15960
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
 
15961
-AC_REQUIRE([LTSUGAR_VERSION])dnl
 
15962
-AC_REQUIRE([LTVERSION_VERSION])dnl
 
15963
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 
15964
-m4_require([_LT_PROG_LTMAIN])dnl
 
15965
 
 
15966
-dnl Parse OPTIONS
 
15967
-_LT_SET_OPTIONS([$0], [$1])
 
15968
+# _LT_CONFIG_COMMANDS
 
15969
+# -------------------
 
15970
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
 
15971
+# variables for single and double quote escaping we saved from calls
 
15972
+# to _LT_DECL, we can put quote escaped variables declarations
 
15973
+# into `config.status', and then the shell code to quote escape them in
 
15974
+# for loops in `config.status'.  Finally, any additional code accumulated
 
15975
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
 
15976
+m4_defun([_LT_CONFIG_COMMANDS],
 
15977
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
 
15978
+       dnl If the libtool generation code has been placed in $CONFIG_LT,
 
15979
+       dnl instead of duplicating it all over again into config.status,
 
15980
+       dnl then we will have config.status run $CONFIG_LT later, so it
 
15981
+       dnl needs to know what name is stored there:
 
15982
+        [AC_CONFIG_COMMANDS([libtool],
 
15983
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
 
15984
+    dnl If the libtool generation code is destined for config.status,
 
15985
+    dnl expand the accumulated commands and init code now:
 
15986
+    [AC_CONFIG_COMMANDS([libtool],
 
15987
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
 
15988
+])#_LT_CONFIG_COMMANDS
 
15989
 
 
15990
-# This can be used to rebuild libtool when needed
 
15991
-LIBTOOL_DEPS="$ltmain"
 
15992
 
 
15993
-# Always use our own libtool.
 
15994
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
15995
-AC_SUBST(LIBTOOL)dnl
 
15996
+# Initialize.
 
15997
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
 
15998
+[
 
15999
 
 
16000
-_LT_SETUP
 
16001
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16002
+# if CDPATH is set.
 
16003
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16004
 
 
16005
-# Only expand once:
 
16006
-m4_define([LT_INIT])
 
16007
-])# LT_INIT
 
16008
-
 
16009
-# Old names:
 
16010
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
 
16011
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
 
16012
-dnl aclocal-1.4 backwards compatibility:
 
16013
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 
16014
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 
16015
+sed_quote_subst='$sed_quote_subst'
 
16016
+double_quote_subst='$double_quote_subst'
 
16017
+delay_variable_subst='$delay_variable_subst'
 
16018
+_LT_CONFIG_STATUS_DECLARATIONS
 
16019
+LTCC='$LTCC'
 
16020
+LTCFLAGS='$LTCFLAGS'
 
16021
+compiler='$compiler_DEFAULT'
 
16022
 
 
16023
+# Quote evaled strings.
 
16024
+for var in lt_decl_all_varnames([[ \
 
16025
+]], lt_decl_quote_varnames); do
 
16026
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16027
+    *[[\\\\\\\`\\"\\\$]]*)
 
16028
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16029
+      ;;
 
16030
+    *)
 
16031
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16032
+      ;;
 
16033
+    esac
 
16034
+done
 
16035
 
 
16036
-# _LT_CC_BASENAME(CC)
 
16037
-# -------------------
 
16038
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
16039
-m4_defun([_LT_CC_BASENAME],
 
16040
-[for cc_temp in $1""; do
 
16041
-  case $cc_temp in
 
16042
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
16043
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
16044
-    \-*) ;;
 
16045
-    *) break;;
 
16046
-  esac
 
16047
+# Double-quote double-evaled strings.
 
16048
+for var in lt_decl_all_varnames([[ \
 
16049
+]], lt_decl_dquote_varnames); do
 
16050
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16051
+    *[[\\\\\\\`\\"\\\$]]*)
 
16052
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16053
+      ;;
 
16054
+    *)
 
16055
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16056
+      ;;
 
16057
+    esac
 
16058
 done
 
16059
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
16060
-])
 
16061
 
 
16062
+# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16063
+case \$lt_ECHO in
 
16064
+*'\\\[$]0 --fallback-echo"')dnl "
 
16065
+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
 
16066
+  ;;
 
16067
+esac
 
16068
 
 
16069
-# _LT_FILEUTILS_DEFAULTS
 
16070
-# ----------------------
 
16071
-# It is okay to use these file commands and assume they have been set
 
16072
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
 
16073
-m4_defun([_LT_FILEUTILS_DEFAULTS],
 
16074
-[: ${CP="cp -f"}
 
16075
-: ${MV="mv -f"}
 
16076
-: ${RM="rm -f"}
 
16077
-])# _LT_FILEUTILS_DEFAULTS
 
16078
+_LT_OUTPUT_LIBTOOL_INIT
 
16079
+])
 
16080
 
 
16081
 
 
16082
-# _LT_SETUP
 
16083
+# LT_OUTPUT
 
16084
 # ---------
 
16085
-m4_defun([_LT_SETUP],
 
16086
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
16087
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
16088
-_LT_DECL([], [host_alias], [0], [The host system])dnl
 
16089
-_LT_DECL([], [host], [0])dnl
 
16090
-_LT_DECL([], [host_os], [0])dnl
 
16091
-dnl
 
16092
-_LT_DECL([], [build_alias], [0], [The build system])dnl
 
16093
-_LT_DECL([], [build], [0])dnl
 
16094
-_LT_DECL([], [build_os], [0])dnl
 
16095
-dnl
 
16096
-AC_REQUIRE([AC_PROG_CC])dnl
 
16097
-AC_REQUIRE([LT_PATH_LD])dnl
 
16098
-AC_REQUIRE([LT_PATH_NM])dnl
 
16099
-dnl
 
16100
-AC_REQUIRE([AC_PROG_LN_S])dnl
 
16101
-test -z "$LN_S" && LN_S="ln -s"
 
16102
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
 
16103
-dnl
 
16104
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
 
16105
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
 
16106
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 
16107
-dnl
 
16108
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
16109
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 
16110
-m4_require([_LT_CMD_RELOAD])dnl
 
16111
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 
16112
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 
16113
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
16114
-
 
16115
-_LT_CONFIG_LIBTOOL_INIT([
 
16116
-# See if we are running on zsh, and set the options which allow our
 
16117
-# commands through without removal of \ escapes INIT.
 
16118
-if test -n "\${ZSH_VERSION+set}" ; then
 
16119
-   setopt NO_GLOB_SUBST
 
16120
-fi
 
16121
-])
 
16122
-if test -n "${ZSH_VERSION+set}" ; then
 
16123
-   setopt NO_GLOB_SUBST
 
16124
-fi
 
16125
+# This macro allows early generation of the libtool script (before
 
16126
+# AC_OUTPUT is called), incase it is used in configure for compilation
 
16127
+# tests.
 
16128
+AC_DEFUN([LT_OUTPUT],
 
16129
+[: ${CONFIG_LT=./config.lt}
 
16130
+AC_MSG_NOTICE([creating $CONFIG_LT])
 
16131
+cat >"$CONFIG_LT" <<_LTEOF
 
16132
+#! $SHELL
 
16133
+# Generated by $as_me.
 
16134
+# Run this file to recreate a libtool stub with the current configuration.
 
16135
 
 
16136
-_LT_CHECK_OBJDIR
 
16137
+lt_cl_silent=false
 
16138
+SHELL=\${CONFIG_SHELL-$SHELL}
 
16139
+_LTEOF
 
16140
 
 
16141
-m4_require([_LT_TAG_COMPILER])dnl
 
16142
-_LT_PROG_ECHO_BACKSLASH
 
16143
+cat >>"$CONFIG_LT" <<\_LTEOF
 
16144
+AS_SHELL_SANITIZE
 
16145
+_AS_PREPARE
 
16146
 
 
16147
-case $host_os in
 
16148
-aix3*)
 
16149
-  # AIX sometimes has problems with the GCC collect2 program.  For some
 
16150
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
16151
-  # vanish in a puff of smoke.
 
16152
-  if test "X${COLLECT_NAMES+set}" != Xset; then
 
16153
-    COLLECT_NAMES=
 
16154
-    export COLLECT_NAMES
 
16155
-  fi
 
16156
-  ;;
 
16157
-esac
 
16158
+exec AS_MESSAGE_FD>&1
 
16159
+exec AS_MESSAGE_LOG_FD>>config.log
 
16160
+{
 
16161
+  echo
 
16162
+  AS_BOX([Running $as_me.])
 
16163
+} >&AS_MESSAGE_LOG_FD
 
16164
 
 
16165
-# Sed substitution that helps us do robust quoting.  It backslashifies
 
16166
-# metacharacters that are still active within double-quoted strings.
 
16167
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 
16168
+lt_cl_help="\
 
16169
+\`$as_me' creates a local libtool stub from the current configuration,
 
16170
+for use in further configure time tests before the real libtool is
 
16171
+generated.
 
16172
 
 
16173
-# Same as above, but do not quote variable references.
 
16174
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 
16175
+Usage: $[0] [[OPTIONS]]
 
16176
 
 
16177
-# Sed substitution to delay expansion of an escaped shell variable in a
 
16178
-# double_quote_subst'ed string.
 
16179
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
16180
+  -h, --help      print this help, then exit
 
16181
+  -V, --version   print version number, then exit
 
16182
+  -q, --quiet     do not print progress messages
 
16183
+  -d, --debug     don't remove temporary files
 
16184
 
 
16185
-# Sed substitution to delay expansion of an escaped single quote.
 
16186
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
16187
+Report bugs to <bug-libtool@gnu.org>."
 
16188
 
 
16189
-# Sed substitution to avoid accidental globbing in evaled expressions
 
16190
-no_glob_subst='s/\*/\\\*/g'
 
16191
+lt_cl_version="\
 
16192
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 
16193
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 
16194
+configured by $[0], generated by m4_PACKAGE_STRING.
 
16195
 
 
16196
-# Global variables:
 
16197
-ofile=libtool
 
16198
-can_build_shared=yes
 
16199
+Copyright (C) 2008 Free Software Foundation, Inc.
 
16200
+This config.lt script is free software; the Free Software Foundation
 
16201
+gives unlimited permision to copy, distribute and modify it."
 
16202
 
 
16203
-# All known linkers require a `.a' archive for static linking (except MSVC,
 
16204
-# which needs '.lib').
 
16205
-libext=a
 
16206
+while test $[#] != 0
 
16207
+do
 
16208
+  case $[1] in
 
16209
+    --version | --v* | -V )
 
16210
+      echo "$lt_cl_version"; exit 0 ;;
 
16211
+    --help | --h* | -h )
 
16212
+      echo "$lt_cl_help"; exit 0 ;;
 
16213
+    --debug | --d* | -d )
 
16214
+      debug=: ;;
 
16215
+    --quiet | --q* | --silent | --s* | -q )
 
16216
+      lt_cl_silent=: ;;
 
16217
 
 
16218
-with_gnu_ld="$lt_cv_prog_gnu_ld"
 
16219
+    -*) AC_MSG_ERROR([unrecognized option: $[1]
 
16220
+Try \`$[0] --help' for more information.]) ;;
 
16221
 
 
16222
-old_CC="$CC"
 
16223
-old_CFLAGS="$CFLAGS"
 
16224
+    *) AC_MSG_ERROR([unrecognized argument: $[1]
 
16225
+Try \`$[0] --help' for more information.]) ;;
 
16226
+  esac
 
16227
+  shift
 
16228
+done
 
16229
 
 
16230
-# Set sane defaults for various variables
 
16231
-test -z "$CC" && CC=cc
 
16232
-test -z "$LTCC" && LTCC=$CC
 
16233
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
16234
-test -z "$LD" && LD=ld
 
16235
-test -z "$ac_objext" && ac_objext=o
 
16236
+if $lt_cl_silent; then
 
16237
+  exec AS_MESSAGE_FD>/dev/null
 
16238
+fi
 
16239
+_LTEOF
 
16240
 
 
16241
-_LT_CC_BASENAME([$compiler])
 
16242
+cat >>"$CONFIG_LT" <<_LTEOF
 
16243
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
 
16244
+_LTEOF
 
16245
 
 
16246
-# Only perform the check for file, if the check method requires it
 
16247
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
16248
-case $deplibs_check_method in
 
16249
-file_magic*)
 
16250
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
16251
-    _LT_PATH_MAGIC
 
16252
-  fi
 
16253
-  ;;
 
16254
-esac
 
16255
+cat >>"$CONFIG_LT" <<\_LTEOF
 
16256
+AC_MSG_NOTICE([creating $ofile])
 
16257
+_LT_OUTPUT_LIBTOOL_COMMANDS
 
16258
+AS_EXIT(0)
 
16259
+_LTEOF
 
16260
+chmod +x "$CONFIG_LT"
 
16261
 
 
16262
-# Use C for the default configuration in the libtool script
 
16263
-LT_SUPPORTED_TAG([CC])
 
16264
-_LT_LANG_C_CONFIG
 
16265
-_LT_LANG_DEFAULT_CONFIG
 
16266
-_LT_CONFIG_COMMANDS
 
16267
-])# _LT_SETUP
 
16268
+# configure is writing to config.log, but config.lt does its own redirection,
 
16269
+# appending to config.log, which fails on DOS, as config.log is still kept
 
16270
+# open by configure.  Here we exec the FD to /dev/null, effectively closing
 
16271
+# config.log, so it can be properly (re)opened and appended to by config.lt.
 
16272
+if test "$no_create" != yes; then
 
16273
+  lt_cl_success=:
 
16274
+  test "$silent" = yes &&
 
16275
+    lt_config_lt_args="$lt_config_lt_args --quiet"
 
16276
+  exec AS_MESSAGE_LOG_FD>/dev/null
 
16277
+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
16278
+  exec AS_MESSAGE_LOG_FD>>config.log
 
16279
+  $lt_cl_success || AS_EXIT(1)
 
16280
+fi
 
16281
+])# LT_OUTPUT
 
16282
 
 
16283
 
 
16284
-# _LT_PROG_LTMAIN
 
16285
+# _LT_CONFIG(TAG)
 
16286
 # ---------------
 
16287
-# Note that this code is called both from `configure', and `config.status'
 
16288
-# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
 
16289
-# `config.status' has no value for ac_aux_dir unless we are using Automake,
 
16290
-# so we pass a copy along to make sure it has a sensible value anyway.
 
16291
-m4_defun([_LT_PROG_LTMAIN],
 
16292
-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
 
16293
-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
 
16294
-ltmain="$ac_aux_dir/ltmain.sh"
 
16295
-])# _LT_PROG_LTMAIN
 
16296
-
 
16297
-
 
16298
-
 
16299
-# So that we can recreate a full libtool script including additional
 
16300
-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
 
16301
-# in macros and then make a single call at the end using the `libtool'
 
16302
-# label.
 
16303
+# If TAG is the built-in tag, create an initial libtool script with a
 
16304
+# default configuration from the untagged config vars.  Otherwise add code
 
16305
+# to config.status for appending the configuration named by TAG from the
 
16306
+# matching tagged config vars.
 
16307
+m4_defun([_LT_CONFIG],
 
16308
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
16309
+_LT_CONFIG_SAVE_COMMANDS([
 
16310
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
 
16311
+  m4_if(_LT_TAG, [C], [
 
16312
+    # See if we are running on zsh, and set the options which allow our
 
16313
+    # commands through without removal of \ escapes.
 
16314
+    if test -n "${ZSH_VERSION+set}" ; then
 
16315
+      setopt NO_GLOB_SUBST
 
16316
+    fi
 
16317
 
 
16318
+    cfgfile="${ofile}T"
 
16319
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16320
+    $RM "$cfgfile"
 
16321
 
 
16322
-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
 
16323
-# ----------------------------------------
 
16324
-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
16325
-m4_define([_LT_CONFIG_LIBTOOL_INIT],
 
16326
-[m4_ifval([$1],
 
16327
-          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
 
16328
-                     [$1
 
16329
-])])])
 
16330
+    cat <<_LT_EOF >> "$cfgfile"
 
16331
+#! $SHELL
 
16332
 
 
16333
-# Initialize.
 
16334
-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
 
16335
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16336
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16337
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16338
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16339
+#
 
16340
+_LT_COPYING
 
16341
+_LT_LIBTOOL_TAGS
 
16342
 
 
16343
+# ### BEGIN LIBTOOL CONFIG
 
16344
+_LT_LIBTOOL_CONFIG_VARS
 
16345
+_LT_LIBTOOL_TAG_VARS
 
16346
+# ### END LIBTOOL CONFIG
 
16347
 
 
16348
-# _LT_CONFIG_LIBTOOL([COMMANDS])
 
16349
-# ------------------------------
 
16350
-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
16351
-m4_define([_LT_CONFIG_LIBTOOL],
 
16352
-[m4_ifval([$1],
 
16353
-          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
 
16354
-                     [$1
 
16355
-])])])
 
16356
+_LT_EOF
 
16357
 
 
16358
-# Initialize.
 
16359
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
 
16360
+  case $host_os in
 
16361
+  aix3*)
 
16362
+    cat <<\_LT_EOF >> "$cfgfile"
 
16363
+# AIX sometimes has problems with the GCC collect2 program.  For some
 
16364
+# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16365
+# vanish in a puff of smoke.
 
16366
+if test "X${COLLECT_NAMES+set}" != Xset; then
 
16367
+  COLLECT_NAMES=
 
16368
+  export COLLECT_NAMES
 
16369
+fi
 
16370
+_LT_EOF
 
16371
+    ;;
 
16372
+  esac
 
16373
 
 
16374
+  _LT_PROG_LTMAIN
 
16375
 
 
16376
-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
 
16377
-# -----------------------------------------------------
 
16378
-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
 
16379
-[_LT_CONFIG_LIBTOOL([$1])
 
16380
-_LT_CONFIG_LIBTOOL_INIT([$2])
 
16381
-])
 
16382
+  # We use sed instead of cat because bash on DJGPP gets confused if
 
16383
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
16384
+  # text mode, it properly converts lines to CR/LF.  This bash problem
 
16385
+  # is reportedly fixed, but why not run on old versions too?
 
16386
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
16387
+    || (rm -f "$cfgfile"; exit 1)
 
16388
 
 
16389
+  _LT_PROG_XSI_SHELLFNS
 
16390
 
 
16391
-# _LT_FORMAT_COMMENT([COMMENT])
 
16392
-# -----------------------------
 
16393
-# Add leading comment marks to the start of each line, and a trailing
 
16394
-# full-stop to the whole comment if one is not present already.
 
16395
-m4_define([_LT_FORMAT_COMMENT],
 
16396
-[m4_ifval([$1], [
 
16397
-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
 
16398
-              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
 
16399
-)])
 
16400
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
16401
+    || (rm -f "$cfgfile"; exit 1)
 
16402
 
 
16403
+  mv -f "$cfgfile" "$ofile" ||
 
16404
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16405
+  chmod +x "$ofile"
 
16406
+],
 
16407
+[cat <<_LT_EOF >> "$ofile"
 
16408
 
 
16409
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
 
16410
+dnl in a comment (ie after a #).
 
16411
+# ### BEGIN LIBTOOL TAG CONFIG: $1
 
16412
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
 
16413
+# ### END LIBTOOL TAG CONFIG: $1
 
16414
+_LT_EOF
 
16415
+])dnl /m4_if
 
16416
+],
 
16417
+[m4_if([$1], [], [
 
16418
+    PACKAGE='$PACKAGE'
 
16419
+    VERSION='$VERSION'
 
16420
+    TIMESTAMP='$TIMESTAMP'
 
16421
+    RM='$RM'
 
16422
+    ofile='$ofile'], [])
 
16423
+])dnl /_LT_CONFIG_SAVE_COMMANDS
 
16424
+])# _LT_CONFIG
 
16425
 
 
16426
 
 
16427
+# LT_SUPPORTED_TAG(TAG)
 
16428
+# ---------------------
 
16429
+# Trace this macro to discover what tags are supported by the libtool
 
16430
+# --tag option, using:
 
16431
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
 
16432
+AC_DEFUN([LT_SUPPORTED_TAG], [])
 
16433
 
 
16434
-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
 
16435
-# -------------------------------------------------------------------
 
16436
-# CONFIGNAME is the name given to the value in the libtool script.
 
16437
-# VARNAME is the (base) name used in the configure script.
 
16438
-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
 
16439
-# VARNAME.  Any other value will be used directly.
 
16440
-m4_define([_LT_DECL],
 
16441
-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
 
16442
-    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
 
16443
-       [m4_ifval([$1], [$1], [$2])])
 
16444
-    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
 
16445
-    m4_ifval([$4],
 
16446
-       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
 
16447
-    lt_dict_add_subkey([lt_decl_dict], [$2],
 
16448
-       [tagged?], [m4_ifval([$5], [yes], [no])])])
 
16449
-])
 
16450
 
 
16451
+# C support is built-in for now
 
16452
+m4_define([_LT_LANG_C_enabled], [])
 
16453
+m4_define([_LT_TAGS], [])
 
16454
 
 
16455
-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
 
16456
-# --------------------------------------------------------
 
16457
-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
 
16458
 
 
16459
+# LT_LANG(LANG)
 
16460
+# -------------
 
16461
+# Enable libtool support for the given language if not already enabled.
 
16462
+AC_DEFUN([LT_LANG],
 
16463
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
 
16464
+m4_case([$1],
 
16465
+  [C],                 [_LT_LANG(C)],
 
16466
+  [C++],               [_LT_LANG(CXX)],
 
16467
+  [Java],              [_LT_LANG(GCJ)],
 
16468
+  [Fortran 77],                [_LT_LANG(F77)],
 
16469
+  [Fortran],           [_LT_LANG(FC)],
 
16470
+  [Windows Resource],  [_LT_LANG(RC)],
 
16471
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
 
16472
+    [_LT_LANG($1)],
 
16473
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
 
16474
+])# LT_LANG
 
16475
 
 
16476
-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
 
16477
-# ------------------------------------------------
 
16478
-m4_define([lt_decl_tag_varnames],
 
16479
-[_lt_decl_filter([tagged?], [yes], $@)])
 
16480
 
 
16481
+# _LT_LANG(LANGNAME)
 
16482
+# ------------------
 
16483
+m4_defun([_LT_LANG],
 
16484
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
 
16485
+  [LT_SUPPORTED_TAG([$1])dnl
 
16486
+  m4_append([_LT_TAGS], [$1 ])dnl
 
16487
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
 
16488
+  _LT_LANG_$1_CONFIG($1)])dnl
 
16489
+])# _LT_LANG
 
16490
 
 
16491
-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
 
16492
-# ---------------------------------------------------------
 
16493
-m4_define([_lt_decl_filter],
 
16494
-[m4_case([$#],
 
16495
-  [0], [m4_fatal([$0: too few arguments: $#])],
 
16496
-  [1], [m4_fatal([$0: too few arguments: $#: $1])],
 
16497
-  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
 
16498
-  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
 
16499
-  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
 
16500
-])
 
16501
 
 
16502
+# _LT_LANG_DEFAULT_CONFIG
 
16503
+# -----------------------
 
16504
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
 
16505
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
16506
+  [LT_LANG(CXX)],
 
16507
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
 
16508
 
 
16509
-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
 
16510
-# --------------------------------------------------
 
16511
-m4_define([lt_decl_quote_varnames],
 
16512
-[_lt_decl_filter([value], [1], $@)])
 
16513
+AC_PROVIDE_IFELSE([AC_PROG_F77],
 
16514
+  [LT_LANG(F77)],
 
16515
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
 
16516
 
 
16517
+AC_PROVIDE_IFELSE([AC_PROG_FC],
 
16518
+  [LT_LANG(FC)],
 
16519
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
 
16520
 
 
16521
-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
 
16522
-# ---------------------------------------------------
 
16523
-m4_define([lt_decl_dquote_varnames],
 
16524
-[_lt_decl_filter([value], [2], $@)])
 
16525
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
 
16526
+dnl pulling things in needlessly.
 
16527
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
16528
+  [LT_LANG(GCJ)],
 
16529
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
16530
+    [LT_LANG(GCJ)],
 
16531
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
 
16532
+      [LT_LANG(GCJ)],
 
16533
+      [m4_ifdef([AC_PROG_GCJ],
 
16534
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
 
16535
+       m4_ifdef([A][M_PROG_GCJ],
 
16536
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
 
16537
+       m4_ifdef([LT_PROG_GCJ],
 
16538
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
16539
 
 
16540
+AC_PROVIDE_IFELSE([LT_PROG_RC],
 
16541
+  [LT_LANG(RC)],
 
16542
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
 
16543
+])# _LT_LANG_DEFAULT_CONFIG
 
16544
 
 
16545
-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
 
16546
-# ---------------------------------------------------
 
16547
-m4_define([lt_decl_varnames_tagged],
 
16548
-[m4_assert([$# <= 2])dnl
 
16549
-_$0(m4_quote(m4_default([$1], [[, ]])),
 
16550
-    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
16551
-    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
16552
-m4_define([_lt_decl_varnames_tagged],
 
16553
-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
 
16554
+# Obsolete macros:
 
16555
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 
16556
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 
16557
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 
16558
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
16559
+dnl aclocal-1.4 backwards compatibility:
 
16560
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 
16561
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 
16562
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 
16563
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 
16564
 
 
16565
 
 
16566
-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
 
16567
-# ------------------------------------------------
 
16568
-m4_define([lt_decl_all_varnames],
 
16569
-[_$0(m4_quote(m4_default([$1], [[, ]])),
 
16570
-     m4_if([$2], [],
 
16571
-          m4_quote(lt_decl_varnames),
 
16572
-       m4_quote(m4_shift($@))))[]dnl
 
16573
-])
 
16574
-m4_define([_lt_decl_all_varnames],
 
16575
-[lt_join($@, lt_decl_varnames_tagged([$1],
 
16576
-                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
 
16577
-])
 
16578
+# _LT_TAG_COMPILER
 
16579
+# ----------------
 
16580
+m4_defun([_LT_TAG_COMPILER],
 
16581
+[AC_REQUIRE([AC_PROG_CC])dnl
 
16582
 
 
16583
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
 
16584
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
 
16585
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
 
16586
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
 
16587
 
 
16588
-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
 
16589
-# ------------------------------------
 
16590
-# Quote a variable value, and forward it to `config.status' so that its
 
16591
-# declaration there will have the same value as in `configure'.  VARNAME
 
16592
-# must have a single quote delimited value for this to work.
 
16593
-m4_define([_LT_CONFIG_STATUS_DECLARE],
 
16594
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 
16595
+# If no C compiler was specified, use CC.
 
16596
+LTCC=${LTCC-"$CC"}
 
16597
 
 
16598
+# If no C compiler flags were specified, use CFLAGS.
 
16599
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16600
 
 
16601
-# _LT_CONFIG_STATUS_DECLARATIONS
 
16602
-# ------------------------------
 
16603
-# We delimit libtool config variables with single quotes, so when
 
16604
-# we write them to config.status, we have to be sure to quote all
 
16605
-# embedded single quotes properly.  In configure, this macro expands
 
16606
-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 
16607
-#
 
16608
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
16609
-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 
16610
-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
 
16611
-    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
 
16612
+# Allow CC to be a program name with arguments.
 
16613
+compiler=$CC
 
16614
+])# _LT_TAG_COMPILER
 
16615
 
 
16616
 
 
16617
-# _LT_LIBTOOL_TAGS
 
16618
-# ----------------
 
16619
-# Output comment and list of tags supported by the script
 
16620
-m4_defun([_LT_LIBTOOL_TAGS],
 
16621
-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
 
16622
-available_tags="_LT_TAGS"dnl
 
16623
-])
 
16624
+# _LT_COMPILER_BOILERPLATE
 
16625
+# ------------------------
 
16626
+# Check for compiler boilerplate output or warnings with
 
16627
+# the simple compiler test code.
 
16628
+m4_defun([_LT_COMPILER_BOILERPLATE],
 
16629
+[m4_require([_LT_DECL_SED])dnl
 
16630
+ac_outfile=conftest.$ac_objext
 
16631
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16632
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16633
+_lt_compiler_boilerplate=`cat conftest.err`
 
16634
+$RM conftest*
 
16635
+])# _LT_COMPILER_BOILERPLATE
 
16636
 
 
16637
 
 
16638
-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
 
16639
-# -----------------------------------
 
16640
-# Extract the dictionary values for VARNAME (optionally with TAG) and
 
16641
-# expand to a commented shell variable setting:
 
16642
-#
 
16643
-#    # Some comment about what VAR is for.
 
16644
-#    visible_name=$lt_internal_name
 
16645
-m4_define([_LT_LIBTOOL_DECLARE],
 
16646
-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
 
16647
-                                          [description])))[]dnl
 
16648
-m4_pushdef([_libtool_name],
 
16649
-    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
 
16650
-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
 
16651
-    [0], [_libtool_name=[$]$1],
 
16652
-    [1], [_libtool_name=$lt_[]$1],
 
16653
-    [2], [_libtool_name=$lt_[]$1],
 
16654
-    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
 
16655
-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
 
16656
+# _LT_LINKER_BOILERPLATE
 
16657
+# ----------------------
 
16658
+# Check for linker boilerplate output or warnings with
 
16659
+# the simple link test code.
 
16660
+m4_defun([_LT_LINKER_BOILERPLATE],
 
16661
+[m4_require([_LT_DECL_SED])dnl
 
16662
+ac_outfile=conftest.$ac_objext
 
16663
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
16664
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16665
+_lt_linker_boilerplate=`cat conftest.err`
 
16666
+$RM -r conftest*
 
16667
+])# _LT_LINKER_BOILERPLATE
 
16668
+
 
16669
+# _LT_REQUIRED_DARWIN_CHECKS
 
16670
+# -------------------------
 
16671
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 
16672
+  case $host_os in
 
16673
+    rhapsody* | darwin*)
 
16674
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
16675
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
16676
+    AC_CHECK_TOOL([LIPO], [lipo], [:])
 
16677
+    AC_CHECK_TOOL([OTOOL], [otool], [:])
 
16678
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 
16679
+    _LT_DECL([], [DSYMUTIL], [1],
 
16680
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 
16681
+    _LT_DECL([], [NMEDIT], [1],
 
16682
+      [Tool to change global to local symbols on Mac OS X])
 
16683
+    _LT_DECL([], [LIPO], [1],
 
16684
+      [Tool to manipulate fat objects and archives on Mac OS X])
 
16685
+    _LT_DECL([], [OTOOL], [1],
 
16686
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 
16687
+    _LT_DECL([], [OTOOL64], [1],
 
16688
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 
16689
+
 
16690
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
16691
+      [lt_cv_apple_cc_single_mod=no
 
16692
+      if test -z "${LT_MULTI_MODULE}"; then
 
16693
+       # By default we will add the -single_module flag. You can override
 
16694
+       # by either setting the environment variable LT_MULTI_MODULE
 
16695
+       # non-empty at configure time, or by adding -multi_module to the
 
16696
+       # link flags.
 
16697
+       rm -rf libconftest.dylib*
 
16698
+       echo "int foo(void){return 1;}" > conftest.c
 
16699
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
16700
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 
16701
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
16702
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
16703
+        _lt_result=$?
 
16704
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
16705
+         lt_cv_apple_cc_single_mod=yes
 
16706
+       else
 
16707
+         cat conftest.err >&AS_MESSAGE_LOG_FD
 
16708
+       fi
 
16709
+       rm -rf libconftest.dylib*
 
16710
+       rm -f conftest.*
 
16711
+      fi])
 
16712
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
16713
+      [lt_cv_ld_exported_symbols_list],
 
16714
+      [lt_cv_ld_exported_symbols_list=no
 
16715
+      save_LDFLAGS=$LDFLAGS
 
16716
+      echo "_main" > conftest.sym
 
16717
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
16718
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
16719
+       [lt_cv_ld_exported_symbols_list=yes],
 
16720
+       [lt_cv_ld_exported_symbols_list=no])
 
16721
+       LDFLAGS="$save_LDFLAGS"
 
16722
+    ])
 
16723
+    case $host_os in
 
16724
+    rhapsody* | darwin1.[[012]])
 
16725
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
16726
+    darwin1.*)
 
16727
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
16728
+    darwin*) # darwin 5.x on
 
16729
+      # if running on 10.5 or later, the deployment target defaults
 
16730
+      # to the OS version, if on x86, and 10.4, the deployment
 
16731
+      # target defaults to 10.4. Don't you love it?
 
16732
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
16733
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
16734
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
16735
+       10.[[012]]*)
 
16736
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
16737
+       10.*)
 
16738
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
16739
+      esac
 
16740
+    ;;
 
16741
+  esac
 
16742
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
16743
+      _lt_dar_single_mod='$single_module'
 
16744
+    fi
 
16745
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
16746
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
16747
+    else
 
16748
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16749
+    fi
 
16750
+    if test "$DSYMUTIL" != ":"; then
 
16751
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
16752
+    else
 
16753
+      _lt_dsymutil=
 
16754
+    fi
 
16755
+    ;;
 
16756
+  esac
 
16757
 ])
 
16758
 
 
16759
 
 
16760
-# _LT_LIBTOOL_CONFIG_VARS
 
16761
-# -----------------------
 
16762
-# Produce commented declarations of non-tagged libtool config variables
 
16763
-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
 
16764
-# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
 
16765
-# section) are produced by _LT_LIBTOOL_TAG_VARS.
 
16766
-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
 
16767
-[m4_foreach([_lt_var],
 
16768
-    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
 
16769
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
 
16770
+# _LT_DARWIN_LINKER_FEATURES
 
16771
+# --------------------------
 
16772
+# Checks for linker and compiler features on darwin
 
16773
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
 
16774
+[
 
16775
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 
16776
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
16777
+  _LT_TAGVAR(hardcode_direct, $1)=no
 
16778
+  _LT_TAGVAR(hardcode_automatic, $1)=yes
 
16779
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
16780
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
16781
+  _LT_TAGVAR(link_all_deplibs, $1)=yes
 
16782
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
16783
+  case $cc_basename in
 
16784
+     ifort*) _lt_dar_can_shared=yes ;;
 
16785
+     *) _lt_dar_can_shared=$GCC ;;
 
16786
+  esac
 
16787
+  if test "$_lt_dar_can_shared" = "yes"; then
 
16788
+    output_verbose_link_cmd=echo
 
16789
+    _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}"
 
16790
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16791
+    _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}"
 
16792
+    _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}"
 
16793
+    m4_if([$1], [CXX],
 
16794
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
16795
+      _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}"
 
16796
+      _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}"
 
16797
+    fi
 
16798
+],[])
 
16799
+  else
 
16800
+  _LT_TAGVAR(ld_shlibs, $1)=no
 
16801
+  fi
 
16802
+])
 
16803
 
 
16804
+# _LT_SYS_MODULE_PATH_AIX
 
16805
+# -----------------------
 
16806
+# Links a minimal program and checks the executable
 
16807
+# for the system default hardcoded library path. In most cases,
 
16808
+# this is /usr/lib:/lib, but when the MPI compilers are used
 
16809
+# the location of the communication and MPI libs are included too.
 
16810
+# If we don't find anything, use the default library path according
 
16811
+# to the aix ld manual.
 
16812
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
 
16813
+[m4_require([_LT_DECL_SED])dnl
 
16814
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
16815
+lt_aix_libpath_sed='
 
16816
+    /Import File Strings/,/^$/ {
 
16817
+       /^0/ {
 
16818
+           s/^0  *\(.*\)$/\1/
 
16819
+           p
 
16820
+       }
 
16821
+    }'
 
16822
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16823
+# Check for a 64-bit object if we didn't find anything.
 
16824
+if test -z "$aix_libpath"; then
 
16825
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16826
+fi],[])
 
16827
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
16828
+])# _LT_SYS_MODULE_PATH_AIX
 
16829
 
 
16830
-# _LT_LIBTOOL_TAG_VARS(TAG)
 
16831
-# -------------------------
 
16832
-m4_define([_LT_LIBTOOL_TAG_VARS],
 
16833
-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
 
16834
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
 
16835
 
 
16836
+# _LT_SHELL_INIT(ARG)
 
16837
+# -------------------
 
16838
+m4_define([_LT_SHELL_INIT],
 
16839
+[ifdef([AC_DIVERSION_NOTICE],
 
16840
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
16841
+        [AC_DIVERT_PUSH(NOTICE)])
 
16842
+$1
 
16843
+AC_DIVERT_POP
 
16844
+])# _LT_SHELL_INIT
 
16845
 
 
16846
-# _LT_TAGVAR(VARNAME, [TAGNAME])
 
16847
-# ------------------------------
 
16848
-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 
16849
 
 
16850
+# _LT_PROG_ECHO_BACKSLASH
 
16851
+# -----------------------
 
16852
+# Add some code to the start of the generated configure script which
 
16853
+# will find an echo command which doesn't interpret backslashes.
 
16854
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
 
16855
+[_LT_SHELL_INIT([
 
16856
+# Check that we are running under the correct shell.
 
16857
+SHELL=${CONFIG_SHELL-/bin/sh}
 
16858
 
 
16859
-# _LT_CONFIG_COMMANDS
 
16860
-# -------------------
 
16861
-# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
 
16862
-# variables for single and double quote escaping we saved from calls
 
16863
-# to _LT_DECL, we can put quote escaped variables declarations
 
16864
-# into `config.status', and then the shell code to quote escape them in
 
16865
-# for loops in `config.status'.  Finally, any additional code accumulated
 
16866
-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
 
16867
-m4_defun([_LT_CONFIG_COMMANDS],
 
16868
-[AC_PROVIDE_IFELSE([LT_OUTPUT],
 
16869
-       dnl If the libtool generation code has been placed in $CONFIG_LT,
 
16870
-       dnl instead of duplicating it all over again into config.status,
 
16871
-       dnl then we will have config.status run $CONFIG_LT later, so it
 
16872
-       dnl needs to know what name is stored there:
 
16873
-        [AC_CONFIG_COMMANDS([libtool],
 
16874
-            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
 
16875
-    dnl If the libtool generation code is destined for config.status,
 
16876
-    dnl expand the accumulated commands and init code now:
 
16877
-    [AC_CONFIG_COMMANDS([libtool],
 
16878
-        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
 
16879
-])#_LT_CONFIG_COMMANDS
 
16880
+case X$lt_ECHO in
 
16881
+X*--fallback-echo)
 
16882
+  # Remove one level of quotation (which was required for Make).
 
16883
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
16884
+  ;;
 
16885
+esac
 
16886
 
 
16887
+ECHO=${lt_ECHO-echo}
 
16888
+if test "X[$]1" = X--no-reexec; then
 
16889
+  # Discard the --no-reexec flag, and continue.
 
16890
+  shift
 
16891
+elif test "X[$]1" = X--fallback-echo; then
 
16892
+  # Avoid inline document here, it may be left over
 
16893
+  :
 
16894
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
16895
+  # Yippee, $ECHO works!
 
16896
+  :
 
16897
+else
 
16898
+  # Restart under the correct shell.
 
16899
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
16900
+fi
 
16901
 
 
16902
-# Initialize.
 
16903
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
 
16904
-[
 
16905
+if test "X[$]1" = X--fallback-echo; then
 
16906
+  # used as fallback echo
 
16907
+  shift
 
16908
+  cat <<_LT_EOF
 
16909
+[$]*
 
16910
+_LT_EOF
 
16911
+  exit 0
 
16912
+fi
 
16913
 
 
16914
 # The HP-UX ksh and POSIX shell print the target directory to stdout
 
16915
 # if CDPATH is set.
 
16916
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16917
 
 
16918
-sed_quote_subst='$sed_quote_subst'
 
16919
-double_quote_subst='$double_quote_subst'
 
16920
-delay_variable_subst='$delay_variable_subst'
 
16921
-_LT_CONFIG_STATUS_DECLARATIONS
 
16922
-LTCC='$LTCC'
 
16923
-LTCFLAGS='$LTCFLAGS'
 
16924
-compiler='$compiler_DEFAULT'
 
16925
-
 
16926
-# Quote evaled strings.
 
16927
-for var in lt_decl_all_varnames([[ \
 
16928
-]], lt_decl_quote_varnames); do
 
16929
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16930
-    *[[\\\\\\\`\\"\\\$]]*)
 
16931
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16932
-      ;;
 
16933
-    *)
 
16934
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16935
-      ;;
 
16936
-    esac
 
16937
-done
 
16938
-
 
16939
-# Double-quote double-evaled strings.
 
16940
-for var in lt_decl_all_varnames([[ \
 
16941
-]], lt_decl_dquote_varnames); do
 
16942
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16943
-    *[[\\\\\\\`\\"\\\$]]*)
 
16944
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16945
-      ;;
 
16946
-    *)
 
16947
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16948
-      ;;
 
16949
-    esac
 
16950
-done
 
16951
-
 
16952
-# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16953
-case \$lt_ECHO in
 
16954
-*'\\\[$]0 --fallback-echo"')dnl "
 
16955
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
 
16956
-  ;;
 
16957
-esac
 
16958
-
 
16959
-_LT_OUTPUT_LIBTOOL_INIT
 
16960
-])
 
16961
-
 
16962
-
 
16963
-# LT_OUTPUT
 
16964
-# ---------
 
16965
-# This macro allows early generation of the libtool script (before
 
16966
-# AC_OUTPUT is called), incase it is used in configure for compilation
 
16967
-# tests.
 
16968
-AC_DEFUN([LT_OUTPUT],
 
16969
-[: ${CONFIG_LT=./config.lt}
 
16970
-AC_MSG_NOTICE([creating $CONFIG_LT])
 
16971
-cat >"$CONFIG_LT" <<_LTEOF
 
16972
-#! $SHELL
 
16973
-# Generated by $as_me.
 
16974
-# Run this file to recreate a libtool stub with the current configuration.
 
16975
+if test -z "$lt_ECHO"; then
 
16976
+  if test "X${echo_test_string+set}" != Xset; then
 
16977
+    # find a string as large as possible, as long as the shell can cope with it
 
16978
+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
16979
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
16980
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
16981
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
16982
+      then
 
16983
+        break
 
16984
+      fi
 
16985
+    done
 
16986
+  fi
 
16987
 
 
16988
-lt_cl_silent=false
 
16989
-SHELL=\${CONFIG_SHELL-$SHELL}
 
16990
-_LTEOF
 
16991
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
16992
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
16993
+     test "X$echo_testing_string" = "X$echo_test_string"; then
 
16994
+    :
 
16995
+  else
 
16996
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
16997
+    # backslashes.  This makes it impossible to quote backslashes using
 
16998
+    #   echo "$something" | sed 's/\\/\\\\/g'
 
16999
+    #
 
17000
+    # So, first we look for a working echo in the user's PATH.
 
17001
 
 
17002
-cat >>"$CONFIG_LT" <<\_LTEOF
 
17003
-AS_SHELL_SANITIZE
 
17004
-_AS_PREPARE
 
17005
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
17006
+    for dir in $PATH /usr/ucb; do
 
17007
+      IFS="$lt_save_ifs"
 
17008
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
17009
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
17010
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
17011
+         test "X$echo_testing_string" = "X$echo_test_string"; then
 
17012
+        ECHO="$dir/echo"
 
17013
+        break
 
17014
+      fi
 
17015
+    done
 
17016
+    IFS="$lt_save_ifs"
 
17017
 
 
17018
-exec AS_MESSAGE_FD>&1
 
17019
-exec AS_MESSAGE_LOG_FD>>config.log
 
17020
-{
 
17021
-  echo
 
17022
-  AS_BOX([Running $as_me.])
 
17023
-} >&AS_MESSAGE_LOG_FD
 
17024
+    if test "X$ECHO" = Xecho; then
 
17025
+      # We didn't find a better echo, so look for alternatives.
 
17026
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
17027
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
17028
+         test "X$echo_testing_string" = "X$echo_test_string"; then
 
17029
+        # This shell has a builtin print -r that does the trick.
 
17030
+        ECHO='print -r'
 
17031
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
17032
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
 
17033
+        # If we have ksh, try running configure again with it.
 
17034
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
17035
+        export ORIGINAL_CONFIG_SHELL
 
17036
+        CONFIG_SHELL=/bin/ksh
 
17037
+        export CONFIG_SHELL
 
17038
+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
17039
+      else
 
17040
+        # Try using printf.
 
17041
+        ECHO='printf %s\n'
 
17042
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
17043
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
17044
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
17045
+         # Cool, printf works
 
17046
+         :
 
17047
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
17048
+            test "X$echo_testing_string" = 'X\t' &&
 
17049
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
17050
+            test "X$echo_testing_string" = "X$echo_test_string"; then
 
17051
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
17052
+         export CONFIG_SHELL
 
17053
+         SHELL="$CONFIG_SHELL"
 
17054
+         export SHELL
 
17055
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
17056
+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
17057
+            test "X$echo_testing_string" = 'X\t' &&
 
17058
+            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
17059
+            test "X$echo_testing_string" = "X$echo_test_string"; then
 
17060
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
17061
+        else
 
17062
+         # maybe with a smaller string...
 
17063
+         prev=:
 
17064
 
 
17065
-lt_cl_help="\
 
17066
-\`$as_me' creates a local libtool stub from the current configuration,
 
17067
-for use in further configure time tests before the real libtool is
 
17068
-generated.
 
17069
+         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
17070
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
17071
+           then
 
17072
+             break
 
17073
+           fi
 
17074
+           prev="$cmd"
 
17075
+         done
 
17076
 
 
17077
-Usage: $[0] [[OPTIONS]]
 
17078
+         if test "$prev" != 'sed 50q "[$]0"'; then
 
17079
+           echo_test_string=`eval $prev`
 
17080
+           export echo_test_string
 
17081
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
17082
+         else
 
17083
+           # Oops.  We lost completely, so just stick with echo.
 
17084
+           ECHO=echo
 
17085
+         fi
 
17086
+        fi
 
17087
+      fi
 
17088
+    fi
 
17089
+  fi
 
17090
+fi
 
17091
 
 
17092
-  -h, --help      print this help, then exit
 
17093
-  -V, --version   print version number, then exit
 
17094
-  -q, --quiet     do not print progress messages
 
17095
-  -d, --debug     don't remove temporary files
 
17096
+# Copy echo and quote the copy suitably for passing to libtool from
 
17097
+# the Makefile, instead of quoting the original, which is used later.
 
17098
+lt_ECHO=$ECHO
 
17099
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
17100
+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
17101
+fi
 
17102
 
 
17103
-Report bugs to <bug-libtool@gnu.org>."
 
17104
+AC_SUBST(lt_ECHO)
 
17105
+])
 
17106
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 
17107
+_LT_DECL([], [ECHO], [1],
 
17108
+    [An echo program that does not interpret backslashes])
 
17109
+])# _LT_PROG_ECHO_BACKSLASH
 
17110
 
 
17111
-lt_cl_version="\
 
17112
-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 
17113
-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 
17114
-configured by $[0], generated by m4_PACKAGE_STRING.
 
17115
 
 
17116
-Copyright (C) 2008 Free Software Foundation, Inc.
 
17117
-This config.lt script is free software; the Free Software Foundation
 
17118
-gives unlimited permision to copy, distribute and modify it."
 
17119
+# _LT_ENABLE_LOCK
 
17120
+# ---------------
 
17121
+m4_defun([_LT_ENABLE_LOCK],
 
17122
+[AC_ARG_ENABLE([libtool-lock],
 
17123
+  [AS_HELP_STRING([--disable-libtool-lock],
 
17124
+    [avoid locking (might break parallel builds)])])
 
17125
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
17126
 
 
17127
-while test $[#] != 0
 
17128
-do
 
17129
-  case $[1] in
 
17130
-    --version | --v* | -V )
 
17131
-      echo "$lt_cl_version"; exit 0 ;;
 
17132
-    --help | --h* | -h )
 
17133
-      echo "$lt_cl_help"; exit 0 ;;
 
17134
-    --debug | --d* | -d )
 
17135
-      debug=: ;;
 
17136
-    --quiet | --q* | --silent | --s* | -q )
 
17137
-      lt_cl_silent=: ;;
 
17138
-
 
17139
-    -*) AC_MSG_ERROR([unrecognized option: $[1]
 
17140
-Try \`$[0] --help' for more information.]) ;;
 
17141
-
 
17142
-    *) AC_MSG_ERROR([unrecognized argument: $[1]
 
17143
-Try \`$[0] --help' for more information.]) ;;
 
17144
-  esac
 
17145
-  shift
 
17146
-done
 
17147
-
 
17148
-if $lt_cl_silent; then
 
17149
-  exec AS_MESSAGE_FD>/dev/null
 
17150
-fi
 
17151
-_LTEOF
 
17152
-
 
17153
-cat >>"$CONFIG_LT" <<_LTEOF
 
17154
-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
 
17155
-_LTEOF
 
17156
-
 
17157
-cat >>"$CONFIG_LT" <<\_LTEOF
 
17158
-AC_MSG_NOTICE([creating $ofile])
 
17159
-_LT_OUTPUT_LIBTOOL_COMMANDS
 
17160
-AS_EXIT(0)
 
17161
-_LTEOF
 
17162
-chmod +x "$CONFIG_LT"
 
17163
+# Some flags need to be propagated to the compiler or linker for good
 
17164
+# libtool support.
 
17165
+case $host in
 
17166
+ia64-*-hpux*)
 
17167
+  # Find out which ABI we are using.
 
17168
+  echo 'int i;' > conftest.$ac_ext
 
17169
+  if AC_TRY_EVAL(ac_compile); then
 
17170
+    case `/usr/bin/file conftest.$ac_objext` in
 
17171
+      *ELF-32*)
 
17172
+       HPUX_IA64_MODE="32"
 
17173
+       ;;
 
17174
+      *ELF-64*)
 
17175
+       HPUX_IA64_MODE="64"
 
17176
+       ;;
 
17177
+    esac
 
17178
+  fi
 
17179
+  rm -rf conftest*
 
17180
+  ;;
 
17181
+*-*-irix6*)
 
17182
+  # Find out which ABI we are using.
 
17183
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
17184
+  if AC_TRY_EVAL(ac_compile); then
 
17185
+    if test "$lt_cv_prog_gnu_ld" = yes; then
 
17186
+      case `/usr/bin/file conftest.$ac_objext` in
 
17187
+       *32-bit*)
 
17188
+         LD="${LD-ld} -melf32bsmip"
 
17189
+         ;;
 
17190
+       *N32*)
 
17191
+         LD="${LD-ld} -melf32bmipn32"
 
17192
+         ;;
 
17193
+       *64-bit*)
 
17194
+         LD="${LD-ld} -melf64bmip"
 
17195
+       ;;
 
17196
+      esac
 
17197
+    else
 
17198
+      case `/usr/bin/file conftest.$ac_objext` in
 
17199
+       *32-bit*)
 
17200
+         LD="${LD-ld} -32"
 
17201
+         ;;
 
17202
+       *N32*)
 
17203
+         LD="${LD-ld} -n32"
 
17204
+         ;;
 
17205
+       *64-bit*)
 
17206
+         LD="${LD-ld} -64"
 
17207
+         ;;
 
17208
+      esac
 
17209
+    fi
 
17210
+  fi
 
17211
+  rm -rf conftest*
 
17212
+  ;;
 
17213
 
 
17214
-# configure is writing to config.log, but config.lt does its own redirection,
 
17215
-# appending to config.log, which fails on DOS, as config.log is still kept
 
17216
-# open by configure.  Here we exec the FD to /dev/null, effectively closing
 
17217
-# config.log, so it can be properly (re)opened and appended to by config.lt.
 
17218
-if test "$no_create" != yes; then
 
17219
-  lt_cl_success=:
 
17220
-  test "$silent" = yes &&
 
17221
-    lt_config_lt_args="$lt_config_lt_args --quiet"
 
17222
-  exec AS_MESSAGE_LOG_FD>/dev/null
 
17223
-  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
17224
-  exec AS_MESSAGE_LOG_FD>>config.log
 
17225
-  $lt_cl_success || AS_EXIT(1)
 
17226
-fi
 
17227
-])# LT_OUTPUT
 
17228
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
17229
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
17230
+  # Find out which ABI we are using.
 
17231
+  echo 'int i;' > conftest.$ac_ext
 
17232
+  if AC_TRY_EVAL(ac_compile); then
 
17233
+    case `/usr/bin/file conftest.o` in
 
17234
+      *32-bit*)
 
17235
+       case $host in
 
17236
+         x86_64-*kfreebsd*-gnu)
 
17237
+           LD="${LD-ld} -m elf_i386_fbsd"
 
17238
+           ;;
 
17239
+         x86_64-*linux*)
 
17240
+           LD="${LD-ld} -m elf_i386"
 
17241
+           ;;
 
17242
+         ppc64-*linux*|powerpc64-*linux*)
 
17243
+           LD="${LD-ld} -m elf32ppclinux"
 
17244
+           ;;
 
17245
+         s390x-*linux*)
 
17246
+           LD="${LD-ld} -m elf_s390"
 
17247
+           ;;
 
17248
+         sparc64-*linux*)
 
17249
+           LD="${LD-ld} -m elf32_sparc"
 
17250
+           ;;
 
17251
+       esac
 
17252
+       ;;
 
17253
+      *64-bit*)
 
17254
+       case $host in
 
17255
+         x86_64-*kfreebsd*-gnu)
 
17256
+           LD="${LD-ld} -m elf_x86_64_fbsd"
 
17257
+           ;;
 
17258
+         x86_64-*linux*)
 
17259
+           LD="${LD-ld} -m elf_x86_64"
 
17260
+           ;;
 
17261
+         ppc*-*linux*|powerpc*-*linux*)
 
17262
+           LD="${LD-ld} -m elf64ppc"
 
17263
+           ;;
 
17264
+         s390*-*linux*|s390*-*tpf*)
 
17265
+           LD="${LD-ld} -m elf64_s390"
 
17266
+           ;;
 
17267
+         sparc*-*linux*)
 
17268
+           LD="${LD-ld} -m elf64_sparc"
 
17269
+           ;;
 
17270
+       esac
 
17271
+       ;;
 
17272
+    esac
 
17273
+  fi
 
17274
+  rm -rf conftest*
 
17275
+  ;;
 
17276
 
12639
17277
+*-*-sco3.2v5*)
12640
17278
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12641
17279
+  SAVE_CFLAGS="$CFLAGS"
12642
17280
+  CFLAGS="$CFLAGS -belf"
12643
17281
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
12644
17282
+    [AC_LANG_PUSH(C)
12645
 
+     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
17283
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
12646
17284
+     AC_LANG_POP])
12647
17285
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12648
17286
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12649
17287
+    CFLAGS="$SAVE_CFLAGS"
12650
 
   fi
12651
 
-done
12652
 
-rm -rf conftest.dir
 
17288
+  fi
12653
17289
+  ;;
12654
17290
+sparc*-*solaris*)
12655
17291
+  # Find out which ABI we are using.
12660
17296
+      case $lt_cv_prog_gnu_ld in
12661
17297
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
12662
17298
+      *)
12663
 
+        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
17299
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
12664
17300
+         LD="${LD-ld} -64"
12665
17301
+       fi
12666
17302
+       ;;
12670
17306
+  fi
12671
17307
+  rm -rf conftest*
12672
17308
+  ;;
12673
 
 
12674
 
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
12675
 
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
12676
 
-AC_SUBST([am__tar])
12677
 
-AC_SUBST([am__untar])
12678
 
-]) # _AM_PROG_TAR
12679
 
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
12680
 
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
12681
 
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
12682
 
+  AC_CHECK_TOOL(AS, as, false)
12683
 
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
12684
 
+  ;;
12685
 
+  ])
12686
17309
+esac
12687
17310
 
12688
 
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
17311
-# _LT_CONFIG(TAG)
 
17312
-# ---------------
 
17313
-# If TAG is the built-in tag, create an initial libtool script with a
 
17314
-# default configuration from the untagged config vars.  Otherwise add code
 
17315
-# to config.status for appending the configuration named by TAG from the
 
17316
-# matching tagged config vars.
 
17317
-m4_defun([_LT_CONFIG],
 
17318
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
17319
-_LT_CONFIG_SAVE_COMMANDS([
 
17320
-  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
 
17321
-  m4_if(_LT_TAG, [C], [
 
17322
-    # See if we are running on zsh, and set the options which allow our
 
17323
-    # commands through without removal of \ escapes.
 
17324
-    if test -n "${ZSH_VERSION+set}" ; then
 
17325
-      setopt NO_GLOB_SUBST
 
17326
-    fi
12689
17327
+need_locks="$enable_libtool_lock"
12690
 
 
12691
 
-# serial 52 AC_PROG_LIBTOOL
12692
 
+])# _LT_AC_LOCK
12693
 
 
12694
 
 
12695
 
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
12696
 
-# -----------------------------------------------------------
12697
 
-# If this macro is not defined by Autoconf, define it here.
12698
 
-m4_ifdef([AC_PROVIDE_IFELSE],
12699
 
-         [],
12700
 
-         [m4_define([AC_PROVIDE_IFELSE],
12701
 
-                [m4_ifdef([AC_PROVIDE_$1],
12702
 
-                          [$2], [$3])])])
12703
 
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
17328
+])# _LT_ENABLE_LOCK
 
17329
 
 
17330
-    cfgfile="${ofile}T"
 
17331
-    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17332
-    $RM "$cfgfile"
 
17333
 
 
17334
-    cat <<_LT_EOF >> "$cfgfile"
 
17335
-#! $SHELL
 
17336
+# _LT_CMD_OLD_ARCHIVE
 
17337
+# -------------------
 
17338
+m4_defun([_LT_CMD_OLD_ARCHIVE],
 
17339
+[AC_CHECK_TOOL(AR, ar, false)
 
17340
+test -z "$AR" && AR=ar
 
17341
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
17342
+_LT_DECL([], [AR], [1], [The archiver])
 
17343
+_LT_DECL([], [AR_FLAGS], [1])
 
17344
 
 
17345
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17346
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17347
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17348
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17349
-#
 
17350
-_LT_COPYING
 
17351
-_LT_LIBTOOL_TAGS
 
17352
+AC_CHECK_TOOL(STRIP, strip, :)
 
17353
+test -z "$STRIP" && STRIP=:
 
17354
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 
17355
 
 
17356
-# ### BEGIN LIBTOOL CONFIG
 
17357
-_LT_LIBTOOL_CONFIG_VARS
 
17358
-_LT_LIBTOOL_TAG_VARS
 
17359
-# ### END LIBTOOL CONFIG
 
17360
+AC_CHECK_TOOL(RANLIB, ranlib, :)
 
17361
+test -z "$RANLIB" && RANLIB=:
 
17362
+_LT_DECL([], [RANLIB], [1],
 
17363
+    [Commands used to install an old-style archive])
 
17364
 
 
17365
-_LT_EOF
 
17366
+# Determine commands to create old-style static archives.
 
17367
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
17368
+old_postinstall_cmds='chmod 644 $oldlib'
 
17369
+old_postuninstall_cmds=
 
17370
 
 
17371
+if test -n "$RANLIB"; then
 
17372
   case $host_os in
 
17373
-  aix3*)
 
17374
-    cat <<\_LT_EOF >> "$cfgfile"
 
17375
-# AIX sometimes has problems with the GCC collect2 program.  For some
 
17376
-# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17377
-# vanish in a puff of smoke.
 
17378
-if test "X${COLLECT_NAMES+set}" != Xset; then
 
17379
-  COLLECT_NAMES=
 
17380
-  export COLLECT_NAMES
 
17381
-fi
 
17382
-_LT_EOF
 
17383
+  openbsd*)
 
17384
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
17385
+    ;;
 
17386
+  *)
 
17387
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
17388
     ;;
 
17389
   esac
 
17390
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
17391
+fi
 
17392
+_LT_DECL([], [old_postinstall_cmds], [2])
 
17393
+_LT_DECL([], [old_postuninstall_cmds], [2])
 
17394
+_LT_TAGDECL([], [old_archive_cmds], [2],
 
17395
+    [Commands used to build an old-style archive])
 
17396
+])# _LT_CMD_OLD_ARCHIVE
 
17397
 
 
17398
-  _LT_PROG_LTMAIN
 
17399
-
 
17400
-  # We use sed instead of cat because bash on DJGPP gets confused if
 
17401
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17402
-  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17403
-  # is reportedly fixed, but why not run on old versions too?
 
17404
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
17405
-    || (rm -f "$cfgfile"; exit 1)
 
17406
-
 
17407
-  _LT_PROG_XSI_SHELLFNS
 
17408
-
 
17409
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
17410
-    || (rm -f "$cfgfile"; exit 1)
 
17411
-
 
17412
-  mv -f "$cfgfile" "$ofile" ||
 
17413
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17414
-  chmod +x "$ofile"
 
17415
-],
 
17416
-[cat <<_LT_EOF >> "$ofile"
 
17417
-
 
17418
-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
 
17419
-dnl in a comment (ie after a #).
 
17420
-# ### BEGIN LIBTOOL TAG CONFIG: $1
 
17421
-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
 
17422
-# ### END LIBTOOL TAG CONFIG: $1
 
17423
-_LT_EOF
 
17424
-])dnl /m4_if
 
17425
-],
 
17426
-[m4_if([$1], [], [
 
17427
-    PACKAGE='$PACKAGE'
 
17428
-    VERSION='$VERSION'
 
17429
-    TIMESTAMP='$TIMESTAMP'
 
17430
-    RM='$RM'
 
17431
-    ofile='$ofile'], [])
 
17432
-])dnl /_LT_CONFIG_SAVE_COMMANDS
 
17433
-])# _LT_CONFIG
 
17434
-
 
17435
-
 
17436
-# LT_SUPPORTED_TAG(TAG)
 
17437
-# ---------------------
 
17438
-# Trace this macro to discover what tags are supported by the libtool
 
17439
-# --tag option, using:
 
17440
-#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
 
17441
-AC_DEFUN([LT_SUPPORTED_TAG], [])
 
17442
 
 
17443
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
12704
17444
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
12705
17445
+# ----------------------------------------------------------------
12706
17446
+# Check whether the given compiler option works
12707
 
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
12708
 
+[AC_REQUIRE([LT_AC_PROG_SED])
 
17447
+AC_DEFUN([_LT_COMPILER_OPTION],
 
17448
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
17449
+m4_require([_LT_DECL_SED])dnl
12709
17450
+AC_CACHE_CHECK([$1], [$2],
12710
17451
+  [$2=no
12711
 
+  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
17452
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
12712
17453
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12713
17454
+   lt_compiler_flag="$3"
12714
17455
+   # Insert the option either (1) after the last *FLAGS variable, or
12728
17469
+   if (exit $ac_status) && test -s "$ac_outfile"; then
12729
17470
+     # The compiler can only warn and ignore the option if not recognized
12730
17471
+     # So say no if there are warnings other than the usual output.
12731
 
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17472
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12732
17473
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12733
17474
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12734
17475
+       $2=yes
12735
17476
+     fi
12736
17477
+   fi
12737
 
+   $rm conftest*
 
17478
+   $RM conftest*
12738
17479
+])
12739
17480
 
 
17481
-# C support is built-in for now
 
17482
-m4_define([_LT_LANG_C_enabled], [])
 
17483
-m4_define([_LT_TAGS], [])
12740
17484
+if test x"[$]$2" = xyes; then
12741
 
+    ifelse([$5], , :, [$5])
 
17485
+    m4_if([$5], , :, [$5])
12742
17486
+else
12743
 
+    ifelse([$6], , :, [$6])
 
17487
+    m4_if([$6], , :, [$6])
12744
17488
+fi
12745
 
+])# AC_LIBTOOL_COMPILER_OPTION
12746
 
 
12747
 
-# AC_PROG_LIBTOOL
12748
 
-# ---------------
12749
 
-AC_DEFUN([AC_PROG_LIBTOOL],
12750
 
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
12751
 
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
12752
 
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
12753
 
-  AC_PROVIDE_IFELSE([AC_PROG_CXX],
12754
 
-    [AC_LIBTOOL_CXX],
12755
 
-    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
12756
 
-  ])])
12757
 
-dnl And a similar setup for Fortran 77 support
12758
 
-  AC_PROVIDE_IFELSE([AC_PROG_F77],
12759
 
-    [AC_LIBTOOL_F77],
12760
 
-    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
12761
 
-])])
12762
 
 
12763
 
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
12764
 
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
12765
 
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
12766
 
-  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
12767
 
-    [AC_LIBTOOL_GCJ],
12768
 
-    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
12769
 
-      [AC_LIBTOOL_GCJ],
12770
 
-      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
12771
 
-       [AC_LIBTOOL_GCJ],
12772
 
-      [ifdef([AC_PROG_GCJ],
12773
 
-            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
12774
 
-       ifdef([A][M_PROG_GCJ],
12775
 
-            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
12776
 
-       ifdef([LT_AC_PROG_GCJ],
12777
 
-            [define([LT_AC_PROG_GCJ],
12778
 
-               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
12779
 
-])])# AC_PROG_LIBTOOL
12780
 
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
12781
 
+#                          [ACTION-SUCCESS], [ACTION-FAILURE])
12782
 
+# ------------------------------------------------------------
12783
 
+# Check whether the given compiler option works
12784
 
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
12785
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
17489
+])# _LT_COMPILER_OPTION
 
17490
 
 
17491
+# Old name:
 
17492
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 
17493
+dnl aclocal-1.4 backwards compatibility:
 
17494
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 
17495
 
 
17496
-# LT_LANG(LANG)
 
17497
-# -------------
 
17498
-# Enable libtool support for the given language if not already enabled.
 
17499
-AC_DEFUN([LT_LANG],
 
17500
-[AC_BEFORE([$0], [LT_OUTPUT])dnl
 
17501
-m4_case([$1],
 
17502
-  [C],                 [_LT_LANG(C)],
 
17503
-  [C++],               [_LT_LANG(CXX)],
 
17504
-  [Java],              [_LT_LANG(GCJ)],
 
17505
-  [Fortran 77],                [_LT_LANG(F77)],
 
17506
-  [Fortran],           [_LT_LANG(FC)],
 
17507
-  [Windows Resource],  [_LT_LANG(RC)],
 
17508
-  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
 
17509
-    [_LT_LANG($1)],
 
17510
-    [m4_fatal([$0: unsupported language: "$1"])])])dnl
 
17511
-])# LT_LANG
 
17512
 
 
17513
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
17514
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 
17515
+# ----------------------------------------------------
 
17516
+# Check whether the given linker option works
 
17517
+AC_DEFUN([_LT_LINKER_OPTION],
 
17518
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
17519
+m4_require([_LT_DECL_SED])dnl
12786
17520
+AC_CACHE_CHECK([$1], [$2],
12787
17521
+  [$2=no
12788
17522
+   save_LDFLAGS="$LDFLAGS"
12794
17528
+     if test -s conftest.err; then
12795
17529
+       # Append any errors to the config.log.
12796
17530
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
12797
 
+       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17531
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12798
17532
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12799
17533
+       if diff conftest.exp conftest.er2 >/dev/null; then
12800
17534
+         $2=yes
12803
17537
+       $2=yes
12804
17538
+     fi
12805
17539
+   fi
12806
 
+   $rm -r conftest*
 
17540
+   $RM -r conftest*
12807
17541
+   LDFLAGS="$save_LDFLAGS"
12808
17542
+])
12809
17543
 
 
17544
-# _LT_LANG(LANGNAME)
 
17545
-# ------------------
 
17546
-m4_defun([_LT_LANG],
 
17547
-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
 
17548
-  [LT_SUPPORTED_TAG([$1])dnl
 
17549
-  m4_append([_LT_TAGS], [$1 ])dnl
 
17550
-  m4_define([_LT_LANG_]$1[_enabled], [])dnl
 
17551
-  _LT_LANG_$1_CONFIG($1)])dnl
 
17552
-])# _LT_LANG
12810
17553
+if test x"[$]$2" = xyes; then
12811
 
+    ifelse([$4], , :, [$4])
 
17554
+    m4_if([$4], , :, [$4])
12812
17555
+else
12813
 
+    ifelse([$5], , :, [$5])
 
17556
+    m4_if([$5], , :, [$5])
12814
17557
+fi
12815
 
+])# AC_LIBTOOL_LINKER_OPTION
12816
 
 
12817
 
-# _AC_PROG_LIBTOOL
12818
 
-# ----------------
12819
 
-AC_DEFUN([_AC_PROG_LIBTOOL],
12820
 
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
12821
 
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
12822
 
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
12823
 
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
12824
 
 
12825
 
-# This can be used to rebuild libtool when needed
12826
 
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
12827
 
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
12828
 
+# --------------------------
12829
 
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
12830
 
+[# find the maximum length of command line arguments
 
17558
+])# _LT_LINKER_OPTION
 
17559
 
 
17560
+# Old name:
 
17561
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 
17562
+dnl aclocal-1.4 backwards compatibility:
 
17563
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 
17564
 
 
17565
-# _LT_LANG_DEFAULT_CONFIG
 
17566
-# -----------------------
 
17567
-m4_defun([_LT_LANG_DEFAULT_CONFIG],
 
17568
-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
17569
-  [LT_LANG(CXX)],
 
17570
-  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
 
17571
 
 
17572
-AC_PROVIDE_IFELSE([AC_PROG_F77],
 
17573
-  [LT_LANG(F77)],
 
17574
-  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
 
17575
+# LT_CMD_MAX_LEN
 
17576
+#---------------
 
17577
+AC_DEFUN([LT_CMD_MAX_LEN],
 
17578
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
17579
+# find the maximum length of command line arguments
12831
17580
+AC_MSG_CHECKING([the maximum length of command line arguments])
12832
17581
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
12833
17582
+  i=0
12834
17583
+  teststring="ABCD"
12835
17584
 
12836
 
-# Always use our own libtool.
12837
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
12838
 
-AC_SUBST(LIBTOOL)dnl
12839
 
-
12840
 
-# Prevent multiple expansion
12841
 
-define([AC_PROG_LIBTOOL], [])
12842
 
-])# _AC_PROG_LIBTOOL
12843
 
-
12844
 
-
12845
 
-# AC_LIBTOOL_SETUP
12846
 
-# ----------------
12847
 
-AC_DEFUN([AC_LIBTOOL_SETUP],
12848
 
-[AC_PREREQ(2.50)dnl
12849
 
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
12850
 
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
12851
 
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
12852
 
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
12853
 
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
12854
 
-AC_REQUIRE([AC_PROG_CC])dnl
12855
 
-AC_REQUIRE([AC_PROG_LD])dnl
12856
 
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
12857
 
-AC_REQUIRE([AC_PROG_NM])dnl
12858
 
-
12859
 
-AC_REQUIRE([AC_PROG_LN_S])dnl
12860
 
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
12861
 
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
12862
 
-AC_REQUIRE([AC_OBJEXT])dnl
12863
 
-AC_REQUIRE([AC_EXEEXT])dnl
12864
 
-dnl
12865
 
-AC_LIBTOOL_SYS_MAX_CMD_LEN
12866
 
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
12867
 
-AC_LIBTOOL_OBJDIR
12868
 
-
12869
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
12870
 
-_LT_AC_PROG_ECHO_BACKSLASH
12871
 
-
12872
 
-case $host_os in
12873
 
-aix3*)
12874
 
-  # AIX sometimes has problems with the GCC collect2 program.  For some
12875
 
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
12876
 
-  # vanish in a puff of smoke.
12877
 
-  if test "X${COLLECT_NAMES+set}" != Xset; then
12878
 
-    COLLECT_NAMES=
12879
 
-    export COLLECT_NAMES
12880
 
-  fi
12881
 
-  ;;
12882
 
-esac
12883
 
-
12884
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
12885
 
-# metacharacters that are still active within double-quoted strings.
12886
 
-Xsed='sed -e 1s/^X//'
12887
 
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
12888
 
-
12889
 
-# Same as above, but do not quote variable references.
12890
 
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
12891
 
-
12892
 
-# Sed substitution to delay expansion of an escaped shell variable in a
12893
 
-# double_quote_subst'ed string.
12894
 
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
12895
 
-
12896
 
-# Sed substitution to avoid accidental globbing in evaled expressions
12897
 
-no_glob_subst='s/\*/\\\*/g'
12898
 
-
12899
 
-# Constants:
12900
 
-rm="rm -f"
12901
 
-
12902
 
-# Global variables:
12903
 
-default_ofile=libtool
12904
 
-can_build_shared=yes
 
17585
-AC_PROVIDE_IFELSE([AC_PROG_FC],
 
17586
-  [LT_LANG(FC)],
 
17587
-  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
12905
17588
+  case $build_os in
12906
17589
+  msdosdjgpp*)
12907
17590
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
12911
17594
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
12912
17595
+    ;;
12913
17596
 
12914
 
-# All known linkers require a `.a' archive for static linking (except MSVC,
12915
 
-# which needs '.lib').
12916
 
-libext=a
12917
 
-ltmain="$ac_aux_dir/ltmain.sh"
12918
 
-ofile="$default_ofile"
12919
 
-with_gnu_ld="$lt_cv_prog_gnu_ld"
 
17597
-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
 
17598
-dnl pulling things in needlessly.
 
17599
-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
17600
-  [LT_LANG(GCJ)],
 
17601
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
17602
-    [LT_LANG(GCJ)],
 
17603
-    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
 
17604
-      [LT_LANG(GCJ)],
 
17605
-      [m4_ifdef([AC_PROG_GCJ],
 
17606
-       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
 
17607
-       m4_ifdef([A][M_PROG_GCJ],
 
17608
-       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
 
17609
-       m4_ifdef([LT_PROG_GCJ],
 
17610
-       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
12920
17611
+  gnu*)
12921
17612
+    # Under GNU Hurd, this test is not required because there is
12922
17613
+    # no limit to the length of command line arguments.
12924
17615
+    lt_cv_sys_max_cmd_len=-1;
12925
17616
+    ;;
12926
17617
 
12927
 
-AC_CHECK_TOOL(AR, ar, false)
12928
 
-AC_CHECK_TOOL(RANLIB, ranlib, :)
12929
 
-AC_CHECK_TOOL(STRIP, strip, :)
12930
 
+  cygwin* | mingw*)
 
17618
-AC_PROVIDE_IFELSE([LT_PROG_RC],
 
17619
-  [LT_LANG(RC)],
 
17620
-  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
 
17621
-])# _LT_LANG_DEFAULT_CONFIG
 
17622
+  cygwin* | mingw* | cegcc*)
12931
17623
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
12932
17624
+    # about 5 minutes as the teststring grows exponentially.
12933
17625
+    # Worse, since 9x/ME are not pre-emptively multitasking,
12938
17630
+    lt_cv_sys_max_cmd_len=8192;
12939
17631
+    ;;
12940
17632
 
12941
 
-old_CC="$CC"
12942
 
-old_CFLAGS="$CFLAGS"
 
17633
-# Obsolete macros:
 
17634
-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 
17635
-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 
17636
-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 
17637
-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
17638
-dnl aclocal-1.4 backwards compatibility:
 
17639
-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 
17640
-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 
17641
-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 
17642
-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
12943
17643
+  amigaos*)
12944
17644
+    # On AmigaOS with pdksh, this test takes hours, literally.
12945
17645
+    # So we just punt and use a minimum line length of 8192.
12946
17646
+    lt_cv_sys_max_cmd_len=8192;
12947
17647
+    ;;
12948
17648
 
12949
 
-# Set sane defaults for various variables
12950
 
-test -z "$AR" && AR=ar
12951
 
-test -z "$AR_FLAGS" && AR_FLAGS=cru
12952
 
-test -z "$AS" && AS=as
12953
 
-test -z "$CC" && CC=cc
12954
 
-test -z "$LTCC" && LTCC=$CC
12955
 
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12956
 
-test -z "$DLLTOOL" && DLLTOOL=dlltool
12957
 
-test -z "$LD" && LD=ld
12958
 
-test -z "$LN_S" && LN_S="ln -s"
12959
 
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
12960
 
-test -z "$NM" && NM=nm
12961
 
-test -z "$SED" && SED=sed
12962
 
-test -z "$OBJDUMP" && OBJDUMP=objdump
12963
 
-test -z "$RANLIB" && RANLIB=:
12964
 
-test -z "$STRIP" && STRIP=:
12965
 
-test -z "$ac_objext" && ac_objext=o
12966
17649
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
12967
17650
+    # This has been around since 386BSD, at least.  Likely further.
12968
17651
+    if test -x /sbin/sysctl; then
12977
17660
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
12978
17661
+    ;;
12979
17662
 
12980
 
-# Determine commands to create old-style static archives.
12981
 
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
12982
 
-old_postinstall_cmds='chmod 644 $oldlib'
12983
 
-old_postuninstall_cmds=
 
17663
-# _LT_TAG_COMPILER
 
17664
-# ----------------
 
17665
-m4_defun([_LT_TAG_COMPILER],
 
17666
-[AC_REQUIRE([AC_PROG_CC])dnl
12984
17667
+  interix*)
12985
17668
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
12986
17669
+    lt_cv_sys_max_cmd_len=196608
12987
17670
+    ;;
12988
17671
 
12989
 
-if test -n "$RANLIB"; then
 
17672
-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
 
17673
-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
 
17674
-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
 
17675
-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
 
17676
-
 
17677
-# If no C compiler was specified, use CC.
 
17678
-LTCC=${LTCC-"$CC"}
 
17679
-
 
17680
-# If no C compiler flags were specified, use CFLAGS.
 
17681
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
17682
-
 
17683
-# Allow CC to be a program name with arguments.
 
17684
-compiler=$CC
 
17685
-])# _LT_TAG_COMPILER
 
17686
-
 
17687
-
 
17688
-# _LT_COMPILER_BOILERPLATE
 
17689
-# ------------------------
 
17690
-# Check for compiler boilerplate output or warnings with
 
17691
-# the simple compiler test code.
 
17692
-m4_defun([_LT_COMPILER_BOILERPLATE],
 
17693
-[m4_require([_LT_DECL_SED])dnl
 
17694
-ac_outfile=conftest.$ac_objext
 
17695
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17696
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17697
-_lt_compiler_boilerplate=`cat conftest.err`
 
17698
-$RM conftest*
 
17699
-])# _LT_COMPILER_BOILERPLATE
 
17700
-
 
17701
-
 
17702
-# _LT_LINKER_BOILERPLATE
 
17703
-# ----------------------
 
17704
-# Check for linker boilerplate output or warnings with
 
17705
-# the simple link test code.
 
17706
-m4_defun([_LT_LINKER_BOILERPLATE],
 
17707
-[m4_require([_LT_DECL_SED])dnl
 
17708
-ac_outfile=conftest.$ac_objext
 
17709
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
17710
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17711
-_lt_linker_boilerplate=`cat conftest.err`
 
17712
-$RM -r conftest*
 
17713
-])# _LT_LINKER_BOILERPLATE
 
17714
-
 
17715
-# _LT_REQUIRED_DARWIN_CHECKS
 
17716
-# -------------------------
 
17717
-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
12990
17718
-  case $host_os in
12991
 
-  openbsd*)
12992
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
17719
-    rhapsody* | darwin*)
 
17720
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
17721
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
17722
-    AC_CHECK_TOOL([LIPO], [lipo], [:])
 
17723
-    AC_CHECK_TOOL([OTOOL], [otool], [:])
 
17724
-    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 
17725
-    _LT_DECL([], [DSYMUTIL], [1],
 
17726
-      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 
17727
-    _LT_DECL([], [NMEDIT], [1],
 
17728
-      [Tool to change global to local symbols on Mac OS X])
 
17729
-    _LT_DECL([], [LIPO], [1],
 
17730
-      [Tool to manipulate fat objects and archives on Mac OS X])
 
17731
-    _LT_DECL([], [OTOOL], [1],
 
17732
-      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 
17733
-    _LT_DECL([], [OTOOL64], [1],
 
17734
-      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 
17735
-
 
17736
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
17737
-      [lt_cv_apple_cc_single_mod=no
 
17738
-      if test -z "${LT_MULTI_MODULE}"; then
 
17739
-       # By default we will add the -single_module flag. You can override
 
17740
-       # by either setting the environment variable LT_MULTI_MODULE
 
17741
-       # non-empty at configure time, or by adding -multi_module to the
 
17742
-       # link flags.
 
17743
-       rm -rf libconftest.dylib*
 
17744
-       echo "int foo(void){return 1;}" > conftest.c
 
17745
-       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
17746
--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 
17747
-       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
17748
-         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
17749
-        _lt_result=$?
 
17750
-       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
17751
-         lt_cv_apple_cc_single_mod=yes
 
17752
-       else
 
17753
-         cat conftest.err >&AS_MESSAGE_LOG_FD
 
17754
-       fi
 
17755
-       rm -rf libconftest.dylib*
 
17756
-       rm -f conftest.*
 
17757
-      fi])
 
17758
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
17759
-      [lt_cv_ld_exported_symbols_list],
 
17760
-      [lt_cv_ld_exported_symbols_list=no
 
17761
-      save_LDFLAGS=$LDFLAGS
 
17762
-      echo "_main" > conftest.sym
 
17763
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
17764
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
17765
-       [lt_cv_ld_exported_symbols_list=yes],
 
17766
-       [lt_cv_ld_exported_symbols_list=no])
 
17767
-       LDFLAGS="$save_LDFLAGS"
 
17768
-    ])
 
17769
-    case $host_os in
 
17770
-    rhapsody* | darwin1.[[012]])
 
17771
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
17772
-    darwin1.*)
 
17773
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
17774
-    darwin*) # darwin 5.x on
 
17775
-      # if running on 10.5 or later, the deployment target defaults
 
17776
-      # to the OS version, if on x86, and 10.4, the deployment
 
17777
-      # target defaults to 10.4. Don't you love it?
 
17778
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
17779
-       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
17780
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
17781
-       10.[[012]]*)
 
17782
-         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
17783
-       10.*)
 
17784
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
12993
17785
+  osf*)
12994
17786
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
12995
17787
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13000
17792
+    if test -x /sbin/sysconfig; then
13001
17793
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13002
17794
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
13003
 
+      esac
13004
 
+    fi
 
17795
       esac
 
17796
-    ;;
 
17797
-  esac
 
17798
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
17799
-      _lt_dar_single_mod='$single_module'
 
17800
     fi
 
17801
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
17802
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
13005
17803
+    ;;
13006
17804
+  sco3.2v5*)
13007
17805
+    lt_cv_sys_max_cmd_len=102400
13009
17807
+  sysv5* | sco5v6* | sysv4.2uw2*)
13010
17808
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13011
17809
+    if test -n "$kargmax"; then
13012
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
13013
 
+    else
 
17810
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
 
17811
     else
 
17812
-      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
13014
17813
+      lt_cv_sys_max_cmd_len=32768
13015
 
+    fi
13016
 
     ;;
13017
 
   *)
13018
 
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
17814
     fi
 
17815
-    if test "$DSYMUTIL" != ":"; then
 
17816
-      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
17817
+    ;;
 
17818
+  *)
13019
17819
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
13020
17820
+    if test -n "$lt_cv_sys_max_cmd_len"; then
13021
17821
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13022
17822
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13023
 
+    else
 
17823
     else
 
17824
-      _lt_dsymutil=
 
17825
+      # Make teststring a little bigger before we do anything with it.
 
17826
+      # a 1K string should be a reasonable start.
 
17827
+      for i in 1 2 3 4 5 6 7 8 ; do
 
17828
+        teststring=$teststring$teststring
 
17829
+      done
13024
17830
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13025
 
+      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
13026
 
+              = "XX$teststring") >/dev/null 2>&1 &&
13027
 
+             new_result=`expr "X$teststring" : ".*" 2>&1` &&
13028
 
+             lt_cv_sys_max_cmd_len=$new_result &&
 
17831
+      # If test is not a shell built-in, we'll probably end up computing a
 
17832
+      # maximum length that is only half of the actual maximum length, but
 
17833
+      # we can't tell.
 
17834
+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
17835
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
13029
17836
+             test $i != 17 # 1/2 MB should be enough
13030
17837
+      do
13031
17838
+        i=`expr $i + 1`
13032
17839
+        teststring=$teststring$teststring
13033
17840
+      done
 
17841
+      # Only check the string length outside the loop.
 
17842
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
13034
17843
+      teststring=
13035
 
+      # Add a significant safety factor because C++ compilers can tack on massive
13036
 
+      # amounts of additional arguments before passing them to the linker.
13037
 
+      # It appears as though 1/2 is a usable value.
 
17844
+      # Add a significant safety factor because C++ compilers can tack on
 
17845
+      # massive amounts of additional arguments before passing them to the
 
17846
+      # linker.  It appears as though 1/2 is a usable value.
13038
17847
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13039
 
+    fi
 
17848
     fi
13040
17849
     ;;
13041
17850
   esac
13042
 
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
13043
 
+])
 
17851
 ])
13044
17852
+if test -n $lt_cv_sys_max_cmd_len ; then
13045
17853
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
13046
17854
+else
13047
17855
+  AC_MSG_RESULT(none)
13048
 
 fi
13049
 
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
13050
 
 
13051
 
-_LT_CC_BASENAME([$compiler])
13052
 
-
13053
 
-# Only perform the check for file, if the check method requires it
13054
 
-case $deplibs_check_method in
13055
 
-file_magic*)
13056
 
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13057
 
-    AC_PATH_MAGIC
 
17856
+fi
 
17857
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
17858
+_LT_DECL([], [max_cmd_len], [0],
 
17859
+    [What is the maximum length of a command?])
 
17860
+])# LT_CMD_MAX_LEN
 
17861
 
 
17862
+# Old name:
 
17863
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 
17864
+dnl aclocal-1.4 backwards compatibility:
 
17865
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 
17866
 
 
17867
-# _LT_DARWIN_LINKER_FEATURES
 
17868
-# --------------------------
 
17869
-# Checks for linker and compiler features on darwin
 
17870
-m4_defun([_LT_DARWIN_LINKER_FEATURES],
 
17871
-[
 
17872
-  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 
17873
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
17874
-  _LT_TAGVAR(hardcode_direct, $1)=no
 
17875
-  _LT_TAGVAR(hardcode_automatic, $1)=yes
 
17876
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
17877
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
17878
-  _LT_TAGVAR(link_all_deplibs, $1)=yes
 
17879
-  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
17880
-  case $cc_basename in
 
17881
-     ifort*) _lt_dar_can_shared=yes ;;
 
17882
-     *) _lt_dar_can_shared=$GCC ;;
 
17883
-  esac
 
17884
-  if test "$_lt_dar_can_shared" = "yes"; then
 
17885
-    output_verbose_link_cmd=echo
 
17886
-    _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}"
 
17887
-    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17888
-    _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}"
 
17889
-    _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}"
 
17890
-    m4_if([$1], [CXX],
 
17891
-[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
17892
-      _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}"
 
17893
-      _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}"
 
17894
-    fi
 
17895
-],[])
 
17896
-  else
 
17897
-  _LT_TAGVAR(ld_shlibs, $1)=no
13058
17898
-  fi
 
17899
-])
 
17900
-
 
17901
-# _LT_SYS_MODULE_PATH_AIX
 
17902
-# -----------------------
 
17903
-# Links a minimal program and checks the executable
 
17904
-# for the system default hardcoded library path. In most cases,
 
17905
-# this is /usr/lib:/lib, but when the MPI compilers are used
 
17906
-# the location of the communication and MPI libs are included too.
 
17907
-# If we don't find anything, use the default library path according
 
17908
-# to the aix ld manual.
 
17909
-m4_defun([_LT_SYS_MODULE_PATH_AIX],
 
17910
-[m4_require([_LT_DECL_SED])dnl
 
17911
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
17912
-lt_aix_libpath_sed='
 
17913
-    /Import File Strings/,/^$/ {
 
17914
-       /^0/ {
 
17915
-           s/^0  *\(.*\)$/\1/
 
17916
-           p
 
17917
-       }
 
17918
-    }'
 
17919
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17920
-# Check for a 64-bit object if we didn't find anything.
 
17921
-if test -z "$aix_libpath"; then
 
17922
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17923
-fi],[])
 
17924
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
17925
-])# _LT_SYS_MODULE_PATH_AIX
 
17926
 
 
17927
+# _LT_HEADER_DLFCN
 
17928
+# ----------------
 
17929
+m4_defun([_LT_HEADER_DLFCN],
 
17930
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 
17931
+])# _LT_HEADER_DLFCN
 
17932
 
 
17933
-# _LT_SHELL_INIT(ARG)
 
17934
-# -------------------
 
17935
-m4_define([_LT_SHELL_INIT],
 
17936
-[ifdef([AC_DIVERSION_NOTICE],
 
17937
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
17938
-        [AC_DIVERT_PUSH(NOTICE)])
 
17939
-$1
 
17940
-AC_DIVERT_POP
 
17941
-])# _LT_SHELL_INIT
 
17942
 
 
17943
-
 
17944
-# _LT_PROG_ECHO_BACKSLASH
 
17945
-# -----------------------
 
17946
-# Add some code to the start of the generated configure script which
 
17947
-# will find an echo command which doesn't interpret backslashes.
 
17948
-m4_defun([_LT_PROG_ECHO_BACKSLASH],
 
17949
-[_LT_SHELL_INIT([
 
17950
-# Check that we are running under the correct shell.
 
17951
-SHELL=${CONFIG_SHELL-/bin/sh}
 
17952
-
 
17953
-case X$lt_ECHO in
 
17954
-X*--fallback-echo)
 
17955
-  # Remove one level of quotation (which was required for Make).
 
17956
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
13059
17957
-  ;;
13060
17958
-esac
13061
17959
-
13062
 
-_LT_REQUIRED_DARWIN_CHECKS
13063
 
 
13064
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
13065
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
13066
 
-enable_win32_dll=yes, enable_win32_dll=no)
13067
 
+# _LT_AC_CHECK_DLFCN
13068
 
+# ------------------
13069
 
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
13070
 
+[AC_CHECK_HEADERS(dlfcn.h)dnl
13071
 
+])# _LT_AC_CHECK_DLFCN
13072
 
 
13073
 
-AC_ARG_ENABLE([libtool-lock],
13074
 
-    [AC_HELP_STRING([--disable-libtool-lock],
13075
 
-       [avoid locking (might break parallel builds)])])
13076
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13077
 
 
13078
 
-AC_ARG_WITH([pic],
13079
 
-    [AC_HELP_STRING([--with-pic],
13080
 
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
13081
 
-    [pic_mode="$withval"],
13082
 
-    [pic_mode=default])
13083
 
-test -z "$pic_mode" && pic_mode=default
13084
 
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
13085
 
+#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
13086
 
+# ---------------------------------------------------------------------
13087
 
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
13088
 
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
17960
-ECHO=${lt_ECHO-echo}
 
17961
-if test "X[$]1" = X--no-reexec; then
 
17962
-  # Discard the --no-reexec flag, and continue.
 
17963
-  shift
 
17964
-elif test "X[$]1" = X--fallback-echo; then
 
17965
-  # Avoid inline document here, it may be left over
 
17966
-  :
 
17967
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
17968
-  # Yippee, $ECHO works!
 
17969
-  :
 
17970
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
17971
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
17972
+# ----------------------------------------------------------------
 
17973
+m4_defun([_LT_TRY_DLOPEN_SELF],
 
17974
+[m4_require([_LT_HEADER_DLFCN])dnl
13089
17975
+if test "$cross_compiling" = yes; then :
13090
17976
+  [$4]
13091
 
+else
 
17977
 else
 
17978
-  # Restart under the correct shell.
 
17979
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
17980
-fi
 
17981
-
 
17982
-if test "X[$]1" = X--fallback-echo; then
 
17983
-  # used as fallback echo
 
17984
-  shift
 
17985
-  cat <<_LT_EOF
 
17986
-[$]*
 
17987
-_LT_EOF
 
17988
-  exit 0
 
17989
-fi
13092
17990
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13093
17991
+  lt_status=$lt_dlunknown
13094
 
+  cat > conftest.$ac_ext <<EOF
 
17992
+  cat > conftest.$ac_ext <<_LT_EOF
13095
17993
+[#line __oline__ "configure"
13096
17994
+#include "confdefs.h"
13097
17995
 
13098
 
-# Use C for the default configuration in the libtool script
13099
 
-tagname=
13100
 
-AC_LIBTOOL_LANG_C_CONFIG
13101
 
-_LT_AC_TAGCONFIG
13102
 
-])# AC_LIBTOOL_SETUP
 
17996
-# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17997
-# if CDPATH is set.
 
17998
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13103
17999
+#if HAVE_DLFCN_H
13104
18000
+#include <dlfcn.h>
13105
18001
+#endif
13106
18002
 
 
18003
-if test -z "$lt_ECHO"; then
 
18004
-  if test "X${echo_test_string+set}" != Xset; then
 
18005
-    # find a string as large as possible, as long as the shell can cope with it
 
18006
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
18007
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
18008
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
18009
-        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
18010
-      then
 
18011
-        break
 
18012
-      fi
 
18013
-    done
 
18014
-  fi
13107
18015
+#include <stdio.h>
13108
18016
 
13109
 
-# _LT_AC_SYS_COMPILER
13110
 
-# -------------------
13111
 
-AC_DEFUN([_LT_AC_SYS_COMPILER],
13112
 
-[AC_REQUIRE([AC_PROG_CC])dnl
13113
 
-
13114
 
-# If no C compiler was specified, use CC.
13115
 
-LTCC=${LTCC-"$CC"}
13116
 
-
13117
 
-# If no C compiler flags were specified, use CFLAGS.
13118
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18017
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
18018
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
18019
-     test "X$echo_testing_string" = "X$echo_test_string"; then
 
18020
-    :
 
18021
-  else
 
18022
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
18023
-    # backslashes.  This makes it impossible to quote backslashes using
 
18024
-    #   echo "$something" | sed 's/\\/\\\\/g'
 
18025
-    #
 
18026
-    # So, first we look for a working echo in the user's PATH.
13119
18027
+#ifdef RTLD_GLOBAL
13120
18028
+#  define LT_DLGLOBAL          RTLD_GLOBAL
13121
18029
+#else
13126
18034
+#  endif
13127
18035
+#endif
13128
18036
 
13129
 
-# Allow CC to be a program name with arguments.
13130
 
-compiler=$CC
13131
 
-])# _LT_AC_SYS_COMPILER
 
18037
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
18038
-    for dir in $PATH /usr/ucb; do
 
18039
-      IFS="$lt_save_ifs"
 
18040
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
18041
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
18042
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
18043
-         test "X$echo_testing_string" = "X$echo_test_string"; then
 
18044
-        ECHO="$dir/echo"
 
18045
-        break
 
18046
-      fi
 
18047
-    done
 
18048
-    IFS="$lt_save_ifs"
13132
18049
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13133
18050
+   find out it does not work in some platform. */
13134
18051
+#ifndef LT_DLLAZY_OR_NOW
13151
18068
+#  endif
13152
18069
+#endif
13153
18070
 
13154
 
+#ifdef __cplusplus
13155
 
+extern "C" void exit (int);
13156
 
+#endif
13157
 
 
13158
 
-# _LT_CC_BASENAME(CC)
13159
 
-# -------------------
13160
 
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
13161
 
-AC_DEFUN([_LT_CC_BASENAME],
13162
 
-[for cc_temp in $1""; do
13163
 
-  case $cc_temp in
13164
 
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
13165
 
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
13166
 
-    \-*) ;;
13167
 
-    *) break;;
13168
 
-  esac
13169
 
-done
13170
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13171
 
-])
 
18071
-    if test "X$ECHO" = Xecho; then
 
18072
-      # We didn't find a better echo, so look for alternatives.
 
18073
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
18074
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
18075
-         test "X$echo_testing_string" = "X$echo_test_string"; then
 
18076
-        # This shell has a builtin print -r that does the trick.
 
18077
-        ECHO='print -r'
 
18078
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
18079
-          test "X$CONFIG_SHELL" != X/bin/ksh; then
 
18080
-        # If we have ksh, try running configure again with it.
 
18081
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
18082
-        export ORIGINAL_CONFIG_SHELL
 
18083
-        CONFIG_SHELL=/bin/ksh
 
18084
-        export CONFIG_SHELL
 
18085
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
18086
-      else
 
18087
-        # Try using printf.
 
18088
-        ECHO='printf %s\n'
 
18089
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
18090
-          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
18091
-          test "X$echo_testing_string" = "X$echo_test_string"; then
 
18092
-         # Cool, printf works
 
18093
-         :
 
18094
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
18095
-            test "X$echo_testing_string" = 'X\t' &&
 
18096
-            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
18097
-            test "X$echo_testing_string" = "X$echo_test_string"; then
 
18098
-         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
18099
-         export CONFIG_SHELL
 
18100
-         SHELL="$CONFIG_SHELL"
 
18101
-         export SHELL
 
18102
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
18103
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
18104
-            test "X$echo_testing_string" = 'X\t' &&
 
18105
-            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
18106
-            test "X$echo_testing_string" = "X$echo_test_string"; then
 
18107
-         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
18108
-        else
 
18109
-         # maybe with a smaller string...
 
18110
-         prev=:
13172
18111
+void fnord() { int i=42;}
13173
18112
+int main ()
13174
18113
+{
13175
18114
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13176
18115
+  int status = $lt_dlunknown;
13177
18116
 
 
18117
-         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
18118
-           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
18119
-           then
 
18120
-             break
 
18121
-           fi
 
18122
-           prev="$cmd"
 
18123
-         done
13178
18124
+  if (self)
13179
18125
+    {
13180
18126
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13184
18130
+  else
13185
18131
+    puts (dlerror ());
13186
18132
 
13187
 
-# _LT_COMPILER_BOILERPLATE
13188
 
-# ------------------------
13189
 
-# Check for compiler boilerplate output or warnings with
13190
 
-# the simple compiler test code.
13191
 
-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
13192
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
13193
 
-ac_outfile=conftest.$ac_objext
13194
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13195
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13196
 
-_lt_compiler_boilerplate=`cat conftest.err`
13197
 
-$rm conftest*
13198
 
-])# _LT_COMPILER_BOILERPLATE
13199
 
+    exit (status);
 
18133
-         if test "$prev" != 'sed 50q "[$]0"'; then
 
18134
-           echo_test_string=`eval $prev`
 
18135
-           export echo_test_string
 
18136
-           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
18137
-         else
 
18138
-           # Oops.  We lost completely, so just stick with echo.
 
18139
-           ECHO=echo
 
18140
-         fi
 
18141
-        fi
 
18142
-      fi
 
18143
-    fi
 
18144
+  return status;
13200
18145
+}]
13201
 
+EOF
 
18146
+_LT_EOF
13202
18147
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
13203
18148
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
13204
18149
+    lt_status=$?
13210
18155
+  else :
13211
18156
+    # compilation failed
13212
18157
+    $3
13213
 
+  fi
13214
 
+fi
 
18158
   fi
 
18159
 fi
13215
18160
+rm -fr conftest*
13216
 
+])# _LT_AC_TRY_DLOPEN_SELF
13217
 
 
13218
 
 
13219
 
-# _LT_LINKER_BOILERPLATE
13220
 
+# AC_LIBTOOL_DLOPEN_SELF
13221
 
 # ----------------------
13222
 
-# Check for linker boilerplate output or warnings with
13223
 
-# the simple link test code.
13224
 
-AC_DEFUN([_LT_LINKER_BOILERPLATE],
13225
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
13226
 
-ac_outfile=conftest.$ac_objext
13227
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
13228
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13229
 
-_lt_linker_boilerplate=`cat conftest.err`
13230
 
-$rm -r conftest*
13231
 
-])# _LT_LINKER_BOILERPLATE
13232
 
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
13233
 
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
18161
+])# _LT_TRY_DLOPEN_SELF
 
18162
 
 
18163
-# Copy echo and quote the copy suitably for passing to libtool from
 
18164
-# the Makefile, instead of quoting the original, which is used later.
 
18165
-lt_ECHO=$ECHO
 
18166
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
18167
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
18168
-fi
 
18169
 
 
18170
-AC_SUBST(lt_ECHO)
 
18171
-])
 
18172
-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 
18173
-_LT_DECL([], [ECHO], [1],
 
18174
-    [An echo program that does not interpret backslashes])
 
18175
-])# _LT_PROG_ECHO_BACKSLASH
 
18176
+# LT_SYS_DLOPEN_SELF
 
18177
+# ------------------
 
18178
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
 
18179
+[m4_require([_LT_HEADER_DLFCN])dnl
13234
18180
+if test "x$enable_dlopen" != xyes; then
13235
18181
+  enable_dlopen=unknown
13236
18182
+  enable_dlopen_self=unknown
13239
18185
+  lt_cv_dlopen=no
13240
18186
+  lt_cv_dlopen_libs=
13241
18187
 
13242
 
-# _LT_REQUIRED_DARWIN_CHECKS
13243
 
-# --------------------------
13244
 
-# Check for some things on darwin
13245
 
-AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
13246
 
   case $host_os in
13247
 
-    rhapsody* | darwin*)
13248
 
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
13249
 
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
13250
 
-
13251
 
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
13252
 
-      [lt_cv_apple_cc_single_mod=no
13253
 
-      if test -z "${LT_MULTI_MODULE}"; then
13254
 
-   # By default we will add the -single_module flag. You can override
13255
 
-   # by either setting the environment variable LT_MULTI_MODULE
13256
 
-   # non-empty at configure time, or by adding -multi_module to the
13257
 
-   # link flags.
13258
 
-   echo "int foo(void){return 1;}" > conftest.c
13259
 
-   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13260
 
-     -dynamiclib ${wl}-single_module conftest.c
13261
 
-   if test -f libconftest.dylib; then
13262
 
-     lt_cv_apple_cc_single_mod=yes
13263
 
-     rm -rf libconftest.dylib*
13264
 
-   fi
13265
 
-   rm conftest.c
13266
 
-      fi])
13267
 
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
13268
 
-      [lt_cv_ld_exported_symbols_list],
13269
 
-      [lt_cv_ld_exported_symbols_list=no
13270
 
-      save_LDFLAGS=$LDFLAGS
13271
 
-      echo "_main" > conftest.sym
13272
 
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
13273
 
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
13274
 
-   [lt_cv_ld_exported_symbols_list=yes],
13275
 
-   [lt_cv_ld_exported_symbols_list=no])
13276
 
-   LDFLAGS="$save_LDFLAGS"
13277
 
-    ])
13278
 
-    case $host_os in
13279
 
-    rhapsody* | darwin1.[[0123]])
13280
 
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
13281
 
-    darwin1.*)
13282
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
13283
 
-    darwin*)
13284
 
-      # if running on 10.5 or later, the deployment target defaults
13285
 
-      # to the OS version, if on x86, and 10.4, the deployment
13286
 
-      # target defaults to 10.4. Don't you love it?
13287
 
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
13288
 
-   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
13289
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
13290
 
-   10.[[012]]*)
13291
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
13292
 
-   10.*)
13293
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
13294
 
-      esac
13295
 
-    ;;
13296
 
-  esac
13297
 
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
13298
 
-      _lt_dar_single_mod='$single_module'
13299
 
-    fi
13300
 
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
13301
 
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
13302
 
-    else
13303
 
-      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
13304
 
-    fi
13305
 
-    if test "$DSYMUTIL" != ":"; then
13306
 
-      _lt_dsymutil="~$DSYMUTIL \$lib || :"
13307
 
-    else
13308
 
-      _lt_dsymutil=
13309
 
-    fi
 
18188
+  case $host_os in
13310
18189
+  beos*)
13311
18190
+    lt_cv_dlopen="load_add_on"
13312
18191
+    lt_cv_dlopen_libs=
13313
18192
+    lt_cv_dlopen_self=yes
13314
 
     ;;
13315
 
-  esac
13316
 
-])
13317
 
-
13318
 
-# _LT_AC_SYS_LIBPATH_AIX
13319
 
-# ----------------------
13320
 
-# Links a minimal program and checks the executable
13321
 
-# for the system default hardcoded library path. In most cases,
13322
 
-# this is /usr/lib:/lib, but when the MPI compilers are used
13323
 
-# the location of the communication and MPI libs are included too.
13324
 
-# If we don't find anything, use the default library path according
13325
 
-# to the aix ld manual.
13326
 
-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
13327
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
13328
 
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
13329
 
-lt_aix_libpath_sed='
13330
 
-    /Import File Strings/,/^$/ {
13331
 
-       /^0/ {
13332
 
-           s/^0  *\(.*\)$/\1/
13333
 
-           p
13334
 
-       }
13335
 
-    }'
13336
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13337
 
-# Check for a 64-bit object if we didn't find anything.
13338
 
-if test -z "$aix_libpath"; then
13339
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13340
 
-fi],[])
13341
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13342
 
-])# _LT_AC_SYS_LIBPATH_AIX
 
18193
+    ;;
13343
18194
 
13344
 
+  mingw* | pw32*)
 
18195
-# _LT_ENABLE_LOCK
 
18196
-# ---------------
 
18197
-m4_defun([_LT_ENABLE_LOCK],
 
18198
-[AC_ARG_ENABLE([libtool-lock],
 
18199
-  [AS_HELP_STRING([--disable-libtool-lock],
 
18200
-    [avoid locking (might break parallel builds)])])
 
18201
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
18202
+  mingw* | pw32* | cegcc*)
13345
18203
+    lt_cv_dlopen="LoadLibrary"
13346
18204
+    lt_cv_dlopen_libs=
13347
 
+   ;;
 
18205
+    ;;
13348
18206
 
13349
 
-# _LT_AC_SHELL_INIT(ARG)
13350
 
-# ----------------------
13351
 
-AC_DEFUN([_LT_AC_SHELL_INIT],
13352
 
-[ifdef([AC_DIVERSION_NOTICE],
13353
 
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
13354
 
-        [AC_DIVERT_PUSH(NOTICE)])
13355
 
-$1
13356
 
-AC_DIVERT_POP
13357
 
-])# _LT_AC_SHELL_INIT
 
18207
-# Some flags need to be propagated to the compiler or linker for good
 
18208
-# libtool support.
 
18209
-case $host in
 
18210
-ia64-*-hpux*)
 
18211
-  # Find out which ABI we are using.
 
18212
-  echo 'int i;' > conftest.$ac_ext
 
18213
-  if AC_TRY_EVAL(ac_compile); then
 
18214
-    case `/usr/bin/file conftest.$ac_objext` in
 
18215
-      *ELF-32*)
 
18216
-       HPUX_IA64_MODE="32"
 
18217
-       ;;
 
18218
-      *ELF-64*)
 
18219
-       HPUX_IA64_MODE="64"
 
18220
-       ;;
 
18221
-    esac
 
18222
-  fi
 
18223
-  rm -rf conftest*
 
18224
-  ;;
 
18225
-*-*-irix6*)
 
18226
-  # Find out which ABI we are using.
 
18227
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
18228
-  if AC_TRY_EVAL(ac_compile); then
 
18229
-    if test "$lt_cv_prog_gnu_ld" = yes; then
 
18230
-      case `/usr/bin/file conftest.$ac_objext` in
 
18231
-       *32-bit*)
 
18232
-         LD="${LD-ld} -melf32bsmip"
 
18233
-         ;;
 
18234
-       *N32*)
 
18235
-         LD="${LD-ld} -melf32bmipn32"
 
18236
-         ;;
 
18237
-       *64-bit*)
 
18238
-         LD="${LD-ld} -melf64bmip"
 
18239
-       ;;
 
18240
-      esac
 
18241
-    else
 
18242
-      case `/usr/bin/file conftest.$ac_objext` in
 
18243
-       *32-bit*)
 
18244
-         LD="${LD-ld} -32"
 
18245
-         ;;
 
18246
-       *N32*)
 
18247
-         LD="${LD-ld} -n32"
 
18248
-         ;;
 
18249
-       *64-bit*)
 
18250
-         LD="${LD-ld} -64"
 
18251
-         ;;
 
18252
-      esac
 
18253
-    fi
 
18254
-  fi
 
18255
-  rm -rf conftest*
 
18256
-  ;;
13358
18257
+  cygwin*)
13359
18258
+    lt_cv_dlopen="dlopen"
13360
18259
+    lt_cv_dlopen_libs=
13361
 
+   ;;
 
18260
+    ;;
13362
18261
 
 
18262
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
18263
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
18264
-  # Find out which ABI we are using.
 
18265
-  echo 'int i;' > conftest.$ac_ext
 
18266
-  if AC_TRY_EVAL(ac_compile); then
 
18267
-    case `/usr/bin/file conftest.o` in
 
18268
-      *32-bit*)
 
18269
-       case $host in
 
18270
-         x86_64-*kfreebsd*-gnu)
 
18271
-           LD="${LD-ld} -m elf_i386_fbsd"
 
18272
-           ;;
 
18273
-         x86_64-*linux*)
 
18274
-           LD="${LD-ld} -m elf_i386"
 
18275
-           ;;
 
18276
-         ppc64-*linux*|powerpc64-*linux*)
 
18277
-           LD="${LD-ld} -m elf32ppclinux"
 
18278
-           ;;
 
18279
-         s390x-*linux*)
 
18280
-           LD="${LD-ld} -m elf_s390"
 
18281
-           ;;
 
18282
-         sparc64-*linux*)
 
18283
-           LD="${LD-ld} -m elf32_sparc"
 
18284
-           ;;
 
18285
-       esac
 
18286
-       ;;
 
18287
-      *64-bit*)
 
18288
-       case $host in
 
18289
-         x86_64-*kfreebsd*-gnu)
 
18290
-           LD="${LD-ld} -m elf_x86_64_fbsd"
 
18291
-           ;;
 
18292
-         x86_64-*linux*)
 
18293
-           LD="${LD-ld} -m elf_x86_64"
 
18294
-           ;;
 
18295
-         ppc*-*linux*|powerpc*-*linux*)
 
18296
-           LD="${LD-ld} -m elf64ppc"
 
18297
-           ;;
 
18298
-         s390*-*linux*|s390*-*tpf*)
 
18299
-           LD="${LD-ld} -m elf64_s390"
 
18300
-           ;;
 
18301
-         sparc*-*linux*)
 
18302
-           LD="${LD-ld} -m elf64_sparc"
 
18303
-           ;;
 
18304
-       esac
 
18305
-       ;;
 
18306
-    esac
 
18307
-  fi
 
18308
-  rm -rf conftest*
 
18309
-  ;;
13363
18310
+  darwin*)
13364
18311
+  # if libdl is installed we need to link against it
13365
18312
+    AC_CHECK_LIB([dl], [dlopen],
13368
18315
+    lt_cv_dlopen_libs=
13369
18316
+    lt_cv_dlopen_self=yes
13370
18317
+    ])
13371
 
+   ;;
 
18318
+    ;;
13372
18319
 
13373
 
-# _LT_AC_PROG_ECHO_BACKSLASH
13374
 
-# --------------------------
13375
 
-# Add some code to the start of the generated configure script which
13376
 
-# will find an echo command which doesn't interpret backslashes.
13377
 
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
13378
 
-[_LT_AC_SHELL_INIT([
13379
 
-# Check that we are running under the correct shell.
13380
 
-SHELL=${CONFIG_SHELL-/bin/sh}
13381
 
-
13382
 
-case X$ECHO in
13383
 
-X*--fallback-echo)
13384
 
-  # Remove one level of quotation (which was required for Make).
13385
 
-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
18320
-*-*-sco3.2v5*)
 
18321
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
18322
-  SAVE_CFLAGS="$CFLAGS"
 
18323
-  CFLAGS="$CFLAGS -belf"
 
18324
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
18325
-    [AC_LANG_PUSH(C)
 
18326
-     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
18327
-     AC_LANG_POP])
 
18328
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
18329
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
18330
-    CFLAGS="$SAVE_CFLAGS"
 
18331
-  fi
 
18332
-  ;;
 
18333
-sparc*-*solaris*)
 
18334
-  # Find out which ABI we are using.
 
18335
-  echo 'int i;' > conftest.$ac_ext
 
18336
-  if AC_TRY_EVAL(ac_compile); then
 
18337
-    case `/usr/bin/file conftest.o` in
 
18338
-    *64-bit*)
 
18339
-      case $lt_cv_prog_gnu_ld in
 
18340
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
18341
-      *)
 
18342
-       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
18343
-         LD="${LD-ld} -64"
 
18344
-       fi
 
18345
-       ;;
 
18346
-      esac
 
18347
-      ;;
 
18348
-    esac
 
18349
-  fi
 
18350
-  rm -rf conftest*
13386
18351
-  ;;
13387
18352
-esac
13388
18353
+  *)
13406
18371
+    ;;
13407
18372
+  esac
13408
18373
 
13409
 
-echo=${ECHO-echo}
13410
 
-if test "X[$]1" = X--no-reexec; then
13411
 
-  # Discard the --no-reexec flag, and continue.
13412
 
-  shift
13413
 
-elif test "X[$]1" = X--fallback-echo; then
13414
 
-  # Avoid inline document here, it may be left over
13415
 
-  :
13416
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
13417
 
-  # Yippee, $echo works!
13418
 
-  :
13419
 
-else
13420
 
-  # Restart under the correct shell.
13421
 
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
13422
 
-fi
 
18374
-need_locks="$enable_libtool_lock"
 
18375
-])# _LT_ENABLE_LOCK
13423
18376
+  if test "x$lt_cv_dlopen" != xno; then
13424
18377
+    enable_dlopen=yes
13425
18378
+  else
13426
18379
+    enable_dlopen=no
13427
18380
+  fi
13428
18381
 
13429
 
-if test "X[$]1" = X--fallback-echo; then
13430
 
-  # used as fallback echo
13431
 
-  shift
13432
 
-  cat <<EOF
13433
 
-[$]*
13434
 
-EOF
13435
 
-  exit 0
13436
 
-fi
13437
18382
+  case $lt_cv_dlopen in
13438
18383
+  dlopen)
13439
18384
+    save_CPPFLAGS="$CPPFLAGS"
13440
18385
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13441
18386
 
13442
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
13443
 
-# if CDPATH is set.
13444
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18387
-# _LT_CMD_OLD_ARCHIVE
 
18388
-# -------------------
 
18389
-m4_defun([_LT_CMD_OLD_ARCHIVE],
 
18390
-[AC_CHECK_TOOL(AR, ar, false)
 
18391
-test -z "$AR" && AR=ar
 
18392
-test -z "$AR_FLAGS" && AR_FLAGS=cru
 
18393
-_LT_DECL([], [AR], [1], [The archiver])
 
18394
-_LT_DECL([], [AR_FLAGS], [1])
13445
18395
+    save_LDFLAGS="$LDFLAGS"
13446
18396
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13447
18397
 
13448
 
-if test -z "$ECHO"; then
13449
 
-if test "X${echo_test_string+set}" != Xset; then
13450
 
-# find a string as large as possible, as long as the shell can cope with it
13451
 
-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
13452
 
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
13453
 
-    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
13454
 
-       echo_test_string=`eval $cmd` &&
13455
 
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
13456
 
-    then
13457
 
-      break
13458
 
-    fi
13459
 
-  done
13460
 
-fi
 
18398
-AC_CHECK_TOOL(STRIP, strip, :)
 
18399
-test -z "$STRIP" && STRIP=:
 
18400
-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
13461
18401
+    save_LIBS="$LIBS"
13462
18402
+    LIBS="$lt_cv_dlopen_libs $LIBS"
13463
18403
 
13464
 
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
13465
 
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
13466
 
-   test "X$echo_testing_string" = "X$echo_test_string"; then
13467
 
-  :
13468
 
-else
13469
 
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
13470
 
-  # backslashes.  This makes it impossible to quote backslashes using
13471
 
-  #   echo "$something" | sed 's/\\/\\\\/g'
13472
 
-  #
13473
 
-  # So, first we look for a working echo in the user's PATH.
 
18404
-AC_CHECK_TOOL(RANLIB, ranlib, :)
 
18405
-test -z "$RANLIB" && RANLIB=:
 
18406
-_LT_DECL([], [RANLIB], [1],
 
18407
-    [Commands used to install an old-style archive])
13474
18408
+    AC_CACHE_CHECK([whether a program can dlopen itself],
13475
18409
+         lt_cv_dlopen_self, [dnl
13476
 
+         _LT_AC_TRY_DLOPEN_SELF(
 
18410
+         _LT_TRY_DLOPEN_SELF(
13477
18411
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
13478
18412
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
13479
18413
+    ])
13480
18414
 
13481
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13482
 
-  for dir in $PATH /usr/ucb; do
13483
 
-    IFS="$lt_save_ifs"
13484
 
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
13485
 
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
13486
 
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
13487
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
13488
 
-      echo="$dir/echo"
13489
 
-      break
 
18415
-# Determine commands to create old-style static archives.
 
18416
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
18417
-old_postinstall_cmds='chmod 644 $oldlib'
 
18418
-old_postuninstall_cmds=
13490
18419
+    if test "x$lt_cv_dlopen_self" = xyes; then
13491
18420
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13492
18421
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
13493
 
+         lt_cv_dlopen_self_static, [dnl
13494
 
+         _LT_AC_TRY_DLOPEN_SELF(
 
18422
+         lt_cv_dlopen_self_static, [dnl
 
18423
+         _LT_TRY_DLOPEN_SELF(
13495
18424
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
13496
18425
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
13497
18426
+      ])
13498
 
     fi
13499
 
-  done
13500
 
-  IFS="$lt_save_ifs"
 
18427
+    fi
13501
18428
 
13502
 
-  if test "X$echo" = Xecho; then
13503
 
-    # We didn't find a better echo, so look for alternatives.
13504
 
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
13505
 
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
13506
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
13507
 
-      # This shell has a builtin print -r that does the trick.
13508
 
-      echo='print -r'
13509
 
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
13510
 
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
13511
 
-      # If we have ksh, try running configure again with it.
13512
 
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13513
 
-      export ORIGINAL_CONFIG_SHELL
13514
 
-      CONFIG_SHELL=/bin/ksh
13515
 
-      export CONFIG_SHELL
13516
 
-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
13517
 
-    else
13518
 
-      # Try using printf.
13519
 
-      echo='printf %s\n'
13520
 
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
13521
 
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
13522
 
-        test "X$echo_testing_string" = "X$echo_test_string"; then
13523
 
-       # Cool, printf works
13524
 
-       :
13525
 
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
13526
 
-          test "X$echo_testing_string" = 'X\t' &&
13527
 
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
13528
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
13529
 
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
13530
 
-       export CONFIG_SHELL
13531
 
-       SHELL="$CONFIG_SHELL"
13532
 
-       export SHELL
13533
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
13534
 
-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
13535
 
-          test "X$echo_testing_string" = 'X\t' &&
13536
 
-          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
13537
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
13538
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
13539
 
-      else
13540
 
-       # maybe with a smaller string...
13541
 
-       prev=:
 
18429
-if test -n "$RANLIB"; then
 
18430
-  case $host_os in
 
18431
-  openbsd*)
 
18432
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
18433
-    ;;
 
18434
-  *)
 
18435
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
13542
18436
+    CPPFLAGS="$save_CPPFLAGS"
13543
18437
+    LDFLAGS="$save_LDFLAGS"
13544
18438
+    LIBS="$save_LIBS"
13545
 
+    ;;
13546
 
+  esac
13547
 
 
13548
 
-       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
13549
 
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
13550
 
-         then
13551
 
-           break
13552
 
-         fi
13553
 
-         prev="$cmd"
13554
 
-       done
 
18439
     ;;
 
18440
   esac
 
18441
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
18442
+
13555
18443
+  case $lt_cv_dlopen_self in
13556
18444
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13557
18445
+  *) enable_dlopen_self=unknown ;;
13558
18446
+  esac
13559
 
 
13560
 
-       if test "$prev" != 'sed 50q "[$]0"'; then
13561
 
-         echo_test_string=`eval $prev`
13562
 
-         export echo_test_string
13563
 
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
13564
 
-       else
13565
 
-         # Oops.  We lost completely, so just stick with echo.
13566
 
-         echo=echo
13567
 
-       fi
13568
 
-      fi
13569
 
-    fi
13570
 
-  fi
13571
 
-fi
 
18447
+
13572
18448
+  case $lt_cv_dlopen_self_static in
13573
18449
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13574
18450
+  *) enable_dlopen_self_static=unknown ;;
13575
18451
+  esac
13576
18452
 fi
13577
 
+])# AC_LIBTOOL_DLOPEN_SELF
13578
 
 
13579
 
-# Copy echo and quote the copy suitably for passing to libtool from
13580
 
-# the Makefile, instead of quoting the original, which is used later.
13581
 
-ECHO=$echo
13582
 
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
13583
 
-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
13584
 
-fi
13585
 
 
13586
 
-AC_SUBST(ECHO)
13587
 
-])])# _LT_AC_PROG_ECHO_BACKSLASH
13588
 
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
13589
 
+# ---------------------------------
13590
 
+# Check to see if options -c and -o are simultaneously supported by compiler
13591
 
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
13592
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
13593
 
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
18453
-_LT_DECL([], [old_postinstall_cmds], [2])
 
18454
-_LT_DECL([], [old_postuninstall_cmds], [2])
 
18455
-_LT_TAGDECL([], [old_archive_cmds], [2],
 
18456
-    [Commands used to build an old-style archive])
 
18457
-])# _LT_CMD_OLD_ARCHIVE
 
18458
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
 
18459
+        [Whether dlopen is supported])
 
18460
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 
18461
+        [Whether dlopen of programs is supported])
 
18462
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 
18463
+        [Whether dlopen of statically linked programs is supported])
 
18464
+])# LT_SYS_DLOPEN_SELF
 
18465
 
 
18466
+# Old name:
 
18467
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 
18468
+dnl aclocal-1.4 backwards compatibility:
 
18469
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 
18470
 
 
18471
-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
18472
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 
18473
-# ----------------------------------------------------------------
 
18474
-# Check whether the given compiler option works
 
18475
-AC_DEFUN([_LT_COMPILER_OPTION],
 
18476
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
18477
-m4_require([_LT_DECL_SED])dnl
 
18478
-AC_CACHE_CHECK([$1], [$2],
 
18479
-  [$2=no
 
18480
-   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
18481
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18482
-   lt_compiler_flag="$3"
 
18483
-   # Insert the option either (1) after the last *FLAGS variable, or
 
18484
+
 
18485
+# _LT_COMPILER_C_O([TAGNAME])
 
18486
+# ---------------------------
 
18487
+# Check to see if options -c and -o are simultaneously supported by compiler.
 
18488
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 
18489
+m4_defun([_LT_COMPILER_C_O],
 
18490
+[m4_require([_LT_DECL_SED])dnl
 
18491
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
18492
+m4_require([_LT_TAG_COMPILER])dnl
13594
18493
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
13595
 
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
13596
 
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
13597
 
+   $rm -r conftest 2>/dev/null
 
18494
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
18495
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
18496
+   $RM -r conftest 2>/dev/null
13598
18497
+   mkdir conftest
13599
18498
+   cd conftest
13600
18499
+   mkdir out
13601
18500
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13602
 
 
 
18501
+
13603
18502
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
13604
18503
+   # Insert the option either (1) after the last *FLAGS variable, or
13605
 
+   # (2) before a word containing "conftest.", or (3) at the end.
13606
 
+   # Note that $ac_compile itself does not contain backslashes and begins
13607
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
13608
 
+   lt_compile=`echo "$ac_compile" | $SED \
13609
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13610
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
13611
 
+   -e 's:$: $lt_compiler_flag:'`
13612
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
18504
    # (2) before a word containing "conftest.", or (3) at the end.
 
18505
    # Note that $ac_compile itself does not contain backslashes and begins
 
18506
    # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18507
-   # The option is referenced via a variable to avoid confusing sed.
 
18508
    lt_compile=`echo "$ac_compile" | $SED \
 
18509
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18510
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
18511
    -e 's:$: $lt_compiler_flag:'`
 
18512
    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
18513
-   (eval "$lt_compile" 2>conftest.err)
13613
18514
+   (eval "$lt_compile" 2>out/conftest.err)
13614
 
+   ac_status=$?
 
18515
    ac_status=$?
 
18516
-   cat conftest.err >&AS_MESSAGE_LOG_FD
13615
18517
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
13616
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
18518
    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
18519
-   if (exit $ac_status) && test -s "$ac_outfile"; then
13617
18520
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13618
18521
+   then
13619
 
+     # The compiler can only warn and ignore the option if not recognized
 
18522
      # The compiler can only warn and ignore the option if not recognized
 
18523
-     # So say no if there are warnings other than the usual output.
 
18524
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18525
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18526
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
18527
-       $2=yes
13620
18528
+     # So say no if there are warnings
13621
 
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
18529
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13622
18530
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13623
18531
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13624
 
+       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
13625
 
+     fi
13626
 
+   fi
 
18532
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
18533
      fi
 
18534
    fi
13627
18535
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
13628
 
+   $rm conftest*
 
18536
+   $RM conftest*
13629
18537
+   # SGI C++ compiler will create directory out/ii_files/ for
13630
18538
+   # template instantiation
13631
 
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13632
 
+   $rm out/* && rmdir out
 
18539
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
18540
+   $RM out/* && rmdir out
13633
18541
+   cd ..
13634
 
+   rmdir conftest
13635
 
+   $rm conftest*
13636
 
+])
13637
 
+])# AC_LIBTOOL_PROG_CC_C_O
13638
 
 
13639
 
-# _LT_AC_LOCK
13640
 
-# -----------
13641
 
-AC_DEFUN([_LT_AC_LOCK],
13642
 
-[AC_ARG_ENABLE([libtool-lock],
13643
 
-    [AC_HELP_STRING([--disable-libtool-lock],
13644
 
-       [avoid locking (might break parallel builds)])])
13645
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
13646
 
 
13647
 
-# Some flags need to be propagated to the compiler or linker for good
13648
 
-# libtool support.
13649
 
-case $host in
13650
 
-ia64-*-hpux*)
13651
 
-  # Find out which ABI we are using.
13652
 
-  echo 'int i;' > conftest.$ac_ext
13653
 
-  if AC_TRY_EVAL(ac_compile); then
13654
 
-    case `/usr/bin/file conftest.$ac_objext` in
13655
 
-    *ELF-32*)
13656
 
-      HPUX_IA64_MODE="32"
13657
 
-      ;;
13658
 
-    *ELF-64*)
13659
 
-      HPUX_IA64_MODE="64"
13660
 
-      ;;
13661
 
-    esac
13662
 
-  fi
13663
 
-  rm -rf conftest*
13664
 
-  ;;
13665
 
-*-*-irix6*)
13666
 
-  # Find out which ABI we are using.
13667
 
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
13668
 
-  if AC_TRY_EVAL(ac_compile); then
13669
 
-   if test "$lt_cv_prog_gnu_ld" = yes; then
13670
 
-    case `/usr/bin/file conftest.$ac_objext` in
13671
 
-    *32-bit*)
13672
 
-      LD="${LD-ld} -melf32bsmip"
13673
 
-      ;;
13674
 
-    *N32*)
13675
 
-      LD="${LD-ld} -melf32bmipn32"
13676
 
-      ;;
13677
 
-    *64-bit*)
13678
 
-      LD="${LD-ld} -melf64bmip"
13679
 
-      ;;
13680
 
-    esac
13681
 
-   else
13682
 
-    case `/usr/bin/file conftest.$ac_objext` in
13683
 
-    *32-bit*)
13684
 
-      LD="${LD-ld} -32"
13685
 
-      ;;
13686
 
-    *N32*)
13687
 
-      LD="${LD-ld} -n32"
13688
 
-      ;;
13689
 
-    *64-bit*)
13690
 
-      LD="${LD-ld} -64"
13691
 
-      ;;
13692
 
-    esac
 
18542
+   $RM -r conftest
 
18543
    $RM conftest*
 
18544
 ])
 
18545
-
 
18546
-if test x"[$]$2" = xyes; then
 
18547
-    m4_if([$5], , :, [$5])
 
18548
-else
 
18549
-    m4_if([$6], , :, [$6])
 
18550
-fi
 
18551
-])# _LT_COMPILER_OPTION
 
18552
-
 
18553
-# Old name:
 
18554
-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 
18555
-dnl aclocal-1.4 backwards compatibility:
 
18556
-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 
18557
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 
18558
+       [Does compiler simultaneously support -c and -o options?])
 
18559
+])# _LT_COMPILER_C_O
 
18560
 
 
18561
 
 
18562
-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
18563
-#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 
18564
-# ----------------------------------------------------
 
18565
-# Check whether the given linker option works
 
18566
-AC_DEFUN([_LT_LINKER_OPTION],
 
18567
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
18568
-m4_require([_LT_DECL_SED])dnl
 
18569
-AC_CACHE_CHECK([$1], [$2],
 
18570
-  [$2=no
 
18571
-   save_LDFLAGS="$LDFLAGS"
 
18572
-   LDFLAGS="$LDFLAGS $3"
 
18573
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
18574
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
18575
-     # The linker can only warn and ignore the option if not recognized
 
18576
-     # So say no if there are warnings
 
18577
-     if test -s conftest.err; then
 
18578
-       # Append any errors to the config.log.
 
18579
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 
18580
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
18581
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18582
-       if diff conftest.exp conftest.er2 >/dev/null; then
 
18583
-         $2=yes
 
18584
-       fi
 
18585
-     else
 
18586
-       $2=yes
 
18587
-     fi
13693
18588
-   fi
13694
 
-  fi
13695
 
-  rm -rf conftest*
13696
 
-  ;;
13697
 
-
13698
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
13699
 
-s390*-*linux*|sparc*-*linux*)
13700
 
-  # Find out which ABI we are using.
13701
 
-  echo 'int i;' > conftest.$ac_ext
13702
 
-  if AC_TRY_EVAL(ac_compile); then
13703
 
-    case `/usr/bin/file conftest.o` in
13704
 
-    *32-bit*)
13705
 
-      case $host in
13706
 
-        x86_64-*kfreebsd*-gnu)
13707
 
-          LD="${LD-ld} -m elf_i386_fbsd"
13708
 
-          ;;
13709
 
-        x86_64-*linux*)
13710
 
-          LD="${LD-ld} -m elf_i386"
13711
 
-          ;;
13712
 
-        ppc64-*linux*|powerpc64-*linux*)
13713
 
-          LD="${LD-ld} -m elf32ppclinux"
13714
 
-          ;;
13715
 
-        s390x-*linux*)
13716
 
-          LD="${LD-ld} -m elf_s390"
13717
 
-          ;;
13718
 
-        sparc64-*linux*)
13719
 
-          LD="${LD-ld} -m elf32_sparc"
13720
 
-          ;;
13721
 
-      esac
13722
 
-      ;;
13723
 
-    *64-bit*)
13724
 
-      case $host in
13725
 
-        x86_64-*kfreebsd*-gnu)
13726
 
-          LD="${LD-ld} -m elf_x86_64_fbsd"
13727
 
-          ;;
13728
 
-        x86_64-*linux*)
13729
 
-          LD="${LD-ld} -m elf_x86_64"
13730
 
-          ;;
13731
 
-        ppc*-*linux*|powerpc*-*linux*)
13732
 
-          LD="${LD-ld} -m elf64ppc"
13733
 
-          ;;
13734
 
-        s390*-*linux*)
13735
 
-          LD="${LD-ld} -m elf64_s390"
13736
 
-          ;;
13737
 
-        sparc*-*linux*)
13738
 
-          LD="${LD-ld} -m elf64_sparc"
13739
 
-          ;;
13740
 
-      esac
13741
 
-      ;;
13742
 
-    esac
13743
 
-  fi
13744
 
-  rm -rf conftest*
13745
 
-  ;;
13746
 
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
13747
 
+# -----------------------------------------
 
18589
-   $RM -r conftest*
 
18590
-   LDFLAGS="$save_LDFLAGS"
 
18591
-])
 
18592
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 
18593
+# ----------------------------------
13748
18594
+# Check to see if we can do hard links to lock some files if needed
13749
 
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
13750
 
+[AC_REQUIRE([_LT_AC_LOCK])dnl
 
18595
+m4_defun([_LT_COMPILER_FILE_LOCKS],
 
18596
+[m4_require([_LT_ENABLE_LOCK])dnl
 
18597
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
18598
+_LT_COMPILER_C_O([$1])
13751
18599
 
13752
 
-*-*-sco3.2v5*)
13753
 
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13754
 
-  SAVE_CFLAGS="$CFLAGS"
13755
 
-  CFLAGS="$CFLAGS -belf"
13756
 
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
13757
 
-    [AC_LANG_PUSH(C)
13758
 
-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
13759
 
-     AC_LANG_POP])
13760
 
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13761
 
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13762
 
-    CFLAGS="$SAVE_CFLAGS"
13763
 
-  fi
13764
 
-  ;;
13765
 
-sparc*-*solaris*)
13766
 
-  # Find out which ABI we are using.
13767
 
-  echo 'int i;' > conftest.$ac_ext
13768
 
-  if AC_TRY_EVAL(ac_compile); then
13769
 
-    case `/usr/bin/file conftest.o` in
13770
 
-    *64-bit*)
13771
 
-      case $lt_cv_prog_gnu_ld in
13772
 
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
13773
 
-      *)
13774
 
-        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
13775
 
-         LD="${LD-ld} -64"
13776
 
-       fi
13777
 
-       ;;
13778
 
-      esac
13779
 
-      ;;
13780
 
-    esac
 
18600
-if test x"[$]$2" = xyes; then
 
18601
-    m4_if([$4], , :, [$4])
13781
18602
+hard_links="nottested"
13782
 
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
18603
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
13783
18604
+  # do not overwrite the value of need_locks provided by the user
13784
18605
+  AC_MSG_CHECKING([if we can lock with hard links])
13785
18606
+  hard_links=yes
13786
 
+  $rm conftest*
 
18607
+  $RM conftest*
13787
18608
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13788
18609
+  touch conftest.a
13789
18610
+  ln conftest.a conftest.b 2>&5 || hard_links=no
13792
18613
+  if test "$hard_links" = no; then
13793
18614
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
13794
18615
+    need_locks=warn
13795
 
   fi
13796
 
-  rm -rf conftest*
13797
 
-  ;;
13798
 
-
13799
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
13800
 
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
13801
 
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
13802
 
-  AC_CHECK_TOOL(AS, as, false)
13803
 
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
13804
 
-  ;;
13805
 
-  ])
13806
 
-esac
13807
 
+else
 
18616
+  fi
 
18617
 else
 
18618
-    m4_if([$5], , :, [$5])
13808
18619
+  need_locks=no
13809
 
+fi
13810
 
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
13811
 
 
13812
 
-need_locks="$enable_libtool_lock"
13813
 
 
13814
 
-])# _LT_AC_LOCK
13815
 
+# AC_LIBTOOL_OBJDIR
13816
 
+# -----------------
13817
 
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
 
18620
 fi
 
18621
-])# _LT_LINKER_OPTION
 
18622
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 
18623
+])# _LT_COMPILER_FILE_LOCKS
 
18624
 
 
18625
-# Old name:
 
18626
-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 
18627
-dnl aclocal-1.4 backwards compatibility:
 
18628
-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 
18629
 
 
18630
+# _LT_CHECK_OBJDIR
 
18631
+# ----------------
 
18632
+m4_defun([_LT_CHECK_OBJDIR],
13818
18633
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
13819
18634
+[rm -f .libs 2>/dev/null
13820
18635
+mkdir .libs 2>/dev/null
13826
18641
+fi
13827
18642
+rmdir .libs 2>/dev/null])
13828
18643
+objdir=$lt_cv_objdir
13829
 
+])# AC_LIBTOOL_OBJDIR
13830
 
 
13831
 
 
13832
 
-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
13833
 
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
13834
 
-# ----------------------------------------------------------------
13835
 
-# Check whether the given compiler option works
13836
 
-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
13837
 
-[AC_REQUIRE([LT_AC_PROG_SED])
13838
 
-AC_CACHE_CHECK([$1], [$2],
13839
 
-  [$2=no
13840
 
-  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
13841
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13842
 
-   lt_compiler_flag="$3"
13843
 
-   # Insert the option either (1) after the last *FLAGS variable, or
13844
 
-   # (2) before a word containing "conftest.", or (3) at the end.
13845
 
-   # Note that $ac_compile itself does not contain backslashes and begins
13846
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
13847
 
-   # The option is referenced via a variable to avoid confusing sed.
13848
 
-   lt_compile=`echo "$ac_compile" | $SED \
13849
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13850
 
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
13851
 
-   -e 's:$: $lt_compiler_flag:'`
13852
 
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
13853
 
-   (eval "$lt_compile" 2>conftest.err)
13854
 
-   ac_status=$?
13855
 
-   cat conftest.err >&AS_MESSAGE_LOG_FD
13856
 
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
13857
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
13858
 
-     # The compiler can only warn and ignore the option if not recognized
13859
 
-     # So say no if there are warnings other than the usual output.
13860
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13861
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13862
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13863
 
-       $2=yes
13864
 
-     fi
13865
 
-   fi
13866
 
-   $rm conftest*
13867
 
-])
13868
 
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
13869
 
+# ----------------------------------------------
13870
 
+# Check hardcoding attributes.
13871
 
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
13872
 
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
13873
 
+_LT_AC_TAGVAR(hardcode_action, $1)=
13874
 
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
13875
 
+   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
13876
 
+   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
13877
 
 
13878
 
-if test x"[$]$2" = xyes; then
13879
 
-    ifelse([$5], , :, [$5])
13880
 
+  # We can hardcode non-existant directories.
13881
 
+  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
13882
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13883
 
+     # have to relink, otherwise we might link with an installed library
13884
 
+     # when we should be linking with a yet-to-be-installed one
13885
 
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
13886
 
+     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
13887
 
+    # Linking always hardcodes the temporary library directory.
13888
 
+    _LT_AC_TAGVAR(hardcode_action, $1)=relink
13889
 
+  else
13890
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13891
 
+    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
13892
 
+  fi
13893
 
 else
13894
 
-    ifelse([$6], , :, [$6])
13895
 
+  # We cannot hardcode anything, or else we can only hardcode existing
13896
 
+  # directories.
13897
 
+  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
13898
 
 fi
13899
 
-])# AC_LIBTOOL_COMPILER_OPTION
13900
 
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
13901
 
 
13902
 
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
13903
 
+  # Fast installation is not supported
13904
 
+  enable_fast_install=no
13905
 
+elif test "$shlibpath_overrides_runpath" = yes ||
13906
 
+     test "$enable_shared" = no; then
13907
 
+  # Fast installation is not necessary
13908
 
+  enable_fast_install=needless
13909
 
+fi
13910
 
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
13911
 
 
13912
 
-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
13913
 
-#                          [ACTION-SUCCESS], [ACTION-FAILURE])
13914
 
-# ------------------------------------------------------------
13915
 
-# Check whether the given compiler option works
13916
 
-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
13917
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
13918
 
-AC_CACHE_CHECK([$1], [$2],
13919
 
-  [$2=no
13920
 
-   save_LDFLAGS="$LDFLAGS"
13921
 
-   LDFLAGS="$LDFLAGS $3"
13922
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13923
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13924
 
-     # The linker can only warn and ignore the option if not recognized
13925
 
-     # So say no if there are warnings
13926
 
-     if test -s conftest.err; then
13927
 
-       # Append any errors to the config.log.
13928
 
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
13929
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13930
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13931
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
13932
 
-         $2=yes
13933
 
-       fi
13934
 
-     else
13935
 
-       $2=yes
13936
 
-     fi
13937
 
-   fi
13938
 
-   $rm -r conftest*
13939
 
-   LDFLAGS="$save_LDFLAGS"
13940
 
-])
13941
 
 
13942
 
-if test x"[$]$2" = xyes; then
13943
 
-    ifelse([$4], , :, [$4])
13944
 
+# AC_LIBTOOL_SYS_LIB_STRIP
13945
 
+# ------------------------
13946
 
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
13947
 
+[striplib=
13948
 
+old_striplib=
13949
 
+AC_MSG_CHECKING([whether stripping libraries is possible])
13950
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13951
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13952
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13953
 
+  AC_MSG_RESULT([yes])
13954
 
 else
13955
 
-    ifelse([$5], , :, [$5])
13956
 
+# FIXME - insert some real tests, host_os isn't really good enough
13957
 
+  case $host_os in
13958
 
+   darwin*)
13959
 
+       if test -n "$STRIP" ; then
13960
 
+         striplib="$STRIP -x"
13961
 
+         old_striplib="$STRIP -S"
13962
 
+         AC_MSG_RESULT([yes])
13963
 
+       else
13964
 
+  AC_MSG_RESULT([no])
13965
 
 fi
13966
 
-])# AC_LIBTOOL_LINKER_OPTION
13967
 
-
13968
 
-
13969
 
-# AC_LIBTOOL_SYS_MAX_CMD_LEN
13970
 
-# --------------------------
13971
 
-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
13972
 
-[# find the maximum length of command line arguments
 
18644
+_LT_DECL([], [objdir], [0],
 
18645
+         [The name of the directory that contains temporary libtool files])dnl
 
18646
+m4_pattern_allow([LT_OBJDIR])dnl
 
18647
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
 
18648
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
 
18649
+])# _LT_CHECK_OBJDIR
 
18650
 
 
18651
-# LT_CMD_MAX_LEN
 
18652
-#---------------
 
18653
-AC_DEFUN([LT_CMD_MAX_LEN],
 
18654
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
18655
-# find the maximum length of command line arguments
13973
18656
-AC_MSG_CHECKING([the maximum length of command line arguments])
13974
18657
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
13975
18658
-  i=0
13976
18659
-  teststring="ABCD"
13977
 
-
 
18660
 
13978
18661
-  case $build_os in
13979
18662
-  msdosdjgpp*)
13980
18663
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
13983
18666
-    # check would be larger than it should be.
13984
18667
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
13985
18668
-    ;;
13986
 
-
 
18669
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 
18670
+# --------------------------------------
 
18671
+# Check hardcoding attributes.
 
18672
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 
18673
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
 
18674
+_LT_TAGVAR(hardcode_action, $1)=
 
18675
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 
18676
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 
18677
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
18678
 
13987
18679
-  gnu*)
13988
18680
-    # Under GNU Hurd, this test is not required because there is
13989
18681
-    # no limit to the length of command line arguments.
13990
18682
-    # Libtool will interpret -1 as no limit whatsoever
13991
18683
-    lt_cv_sys_max_cmd_len=-1;
13992
18684
-    ;;
13993
 
-
13994
 
-  cygwin* | mingw*)
 
18685
+  # We can hardcode non-existent directories.
 
18686
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
 
18687
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
18688
+     # have to relink, otherwise we might link with an installed library
 
18689
+     # when we should be linking with a yet-to-be-installed one
 
18690
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
18691
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
 
18692
+    # Linking always hardcodes the temporary library directory.
 
18693
+    _LT_TAGVAR(hardcode_action, $1)=relink
 
18694
+  else
 
18695
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
18696
+    _LT_TAGVAR(hardcode_action, $1)=immediate
 
18697
+  fi
 
18698
+else
 
18699
+  # We cannot hardcode anything, or else we can only hardcode existing
 
18700
+  # directories.
 
18701
+  _LT_TAGVAR(hardcode_action, $1)=unsupported
 
18702
+fi
 
18703
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 
18704
 
 
18705
-  cygwin* | mingw* | cegcc*)
13995
18706
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
13996
18707
-    # about 5 minutes as the teststring grows exponentially.
13997
18708
-    # Worse, since 9x/ME are not pre-emptively multitasking,
14001
18712
-    # all of the supported platforms: 8192 (on NT/2K/XP).
14002
18713
-    lt_cv_sys_max_cmd_len=8192;
14003
18714
-    ;;
14004
 
-
 
18715
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
 
18716
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
 
18717
+  # Fast installation is not supported
 
18718
+  enable_fast_install=no
 
18719
+elif test "$shlibpath_overrides_runpath" = yes ||
 
18720
+     test "$enable_shared" = no; then
 
18721
+  # Fast installation is not necessary
 
18722
+  enable_fast_install=needless
 
18723
+fi
 
18724
+_LT_TAGDECL([], [hardcode_action], [0],
 
18725
+    [How to hardcode a shared library path into an executable])
 
18726
+])# _LT_LINKER_HARDCODE_LIBPATH
 
18727
 
14005
18728
-  amigaos*)
14006
18729
-    # On AmigaOS with pdksh, this test takes hours, literally.
14007
18730
-    # So we just punt and use a minimum line length of 8192.
14008
18731
-    lt_cv_sys_max_cmd_len=8192;
14009
18732
-    ;;
14010
 
-
 
18733
 
14011
18734
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
14012
18735
-    # This has been around since 386BSD, at least.  Likely further.
14013
18736
-    if test -x /sbin/sysctl; then
14014
18737
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
14015
18738
-    elif test -x /usr/sbin/sysctl; then
14016
18739
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
14017
 
-    else
 
18740
+# _LT_CMD_STRIPLIB
 
18741
+# ----------------
 
18742
+m4_defun([_LT_CMD_STRIPLIB],
 
18743
+[m4_require([_LT_DECL_EGREP])
 
18744
+striplib=
 
18745
+old_striplib=
 
18746
+AC_MSG_CHECKING([whether stripping libraries is possible])
 
18747
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
18748
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
18749
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
18750
+  AC_MSG_RESULT([yes])
 
18751
+else
 
18752
+# FIXME - insert some real tests, host_os isn't really good enough
 
18753
+  case $host_os in
 
18754
+  darwin*)
 
18755
+    if test -n "$STRIP" ; then
 
18756
+      striplib="$STRIP -x"
 
18757
+      old_striplib="$STRIP -S"
 
18758
+      AC_MSG_RESULT([yes])
 
18759
     else
14018
18760
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
14019
18761
-    fi
14020
18762
-    # And add a safety zone
14021
18763
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
14022
18764
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
14023
 
+       ;;
14024
 
+   *)
14025
 
+  AC_MSG_RESULT([no])
14026
 
     ;;
14027
 
+  esac
14028
 
+fi
14029
 
+])# AC_LIBTOOL_SYS_LIB_STRIP
14030
 
 
 
18765
-    ;;
 
18766
-
14031
18767
-  interix*)
14032
18768
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
14033
18769
-    lt_cv_sys_max_cmd_len=196608
14034
18770
-    ;;
14035
 
 
 
18771
-
14036
18772
-  osf*)
14037
18773
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
14038
18774
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
14052
18788
-  sysv5* | sco5v6* | sysv4.2uw2*)
14053
18789
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
14054
18790
-    if test -n "$kargmax"; then
14055
 
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
 
18791
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
14056
18792
-    else
14057
18793
-      lt_cv_sys_max_cmd_len=32768
14058
 
-    fi
14059
 
-    ;;
14060
 
-  *)
 
18794
+      AC_MSG_RESULT([no])
 
18795
     fi
 
18796
     ;;
 
18797
   *)
14061
18798
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
14062
18799
-    if test -n "$lt_cv_sys_max_cmd_len"; then
14063
18800
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
14064
18801
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
14065
 
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
18802
-    else
 
18803
-      # Make teststring a little bigger before we do anything with it.
 
18804
-      # a 1K string should be a reasonable start.
 
18805
-      for i in 1 2 3 4 5 6 7 8 ; do
 
18806
-        teststring=$teststring$teststring
 
18807
-      done
 
18808
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
18809
-      # If test is not a shell built-in, we'll probably end up computing a
 
18810
-      # maximum length that is only half of the actual maximum length, but
 
18811
-      # we can't tell.
 
18812
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
18813
-                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
18814
-             test $i != 17 # 1/2 MB should be enough
 
18815
-      do
 
18816
-        i=`expr $i + 1`
 
18817
-        teststring=$teststring$teststring
 
18818
-      done
 
18819
-      # Only check the string length outside the loop.
 
18820
-      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
18821
-      teststring=
 
18822
-      # Add a significant safety factor because C++ compilers can tack on
 
18823
-      # massive amounts of additional arguments before passing them to the
 
18824
-      # linker.  It appears as though 1/2 is a usable value.
 
18825
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
18826
-    fi
 
18827
+    AC_MSG_RESULT([no])
 
18828
     ;;
 
18829
   esac
 
18830
-])
 
18831
-if test -n $lt_cv_sys_max_cmd_len ; then
 
18832
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
18833
-else
 
18834
-  AC_MSG_RESULT(none)
 
18835
 fi
 
18836
-max_cmd_len=$lt_cv_sys_max_cmd_len
 
18837
-_LT_DECL([], [max_cmd_len], [0],
 
18838
-    [What is the maximum length of a command?])
 
18839
-])# LT_CMD_MAX_LEN
 
18840
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 
18841
+_LT_DECL([], [striplib], [1])
 
18842
+])# _LT_CMD_STRIPLIB
 
18843
 
 
18844
-# Old name:
 
18845
-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 
18846
-dnl aclocal-1.4 backwards compatibility:
 
18847
-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 
18848
 
 
18849
+# _LT_SYS_DYNAMIC_LINKER([TAG])
14066
18850
+# -----------------------------
14067
18851
+# PORTME Fill in your ld.so characteristics
14068
 
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
14069
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
18852
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
 
18853
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
18854
+m4_require([_LT_DECL_EGREP])dnl
 
18855
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
18856
+m4_require([_LT_DECL_OBJDUMP])dnl
 
18857
+m4_require([_LT_DECL_SED])dnl
14070
18858
+AC_MSG_CHECKING([dynamic linker characteristics])
14071
 
+library_names_spec=
14072
 
+libname_spec='lib$name'
14073
 
+soname_spec=
14074
 
+shrext_cmds=".so"
14075
 
+postinstall_cmds=
14076
 
+postuninstall_cmds=
14077
 
+finish_cmds=
14078
 
+finish_eval=
14079
 
+shlibpath_var=
14080
 
+shlibpath_overrides_runpath=unknown
14081
 
+version_type=none
14082
 
+dynamic_linker="$host_os ld.so"
14083
 
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
14084
 
+m4_if($1,[],[
 
18859
+m4_if([$1],
 
18860
+       [], [
14085
18861
+if test "$GCC" = yes; then
14086
18862
+  case $host_os in
14087
18863
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14088
18864
+    *) lt_awk_arg="/^libraries:/" ;;
14089
18865
+  esac
14090
18866
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14091
 
+  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
18867
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
14092
18868
+    # if the path contains ";" then we assume it to be the separator
14093
18869
+    # otherwise default to the standard path separator (i.e. ":") - it is
14094
18870
+    # assumed that no part of a normal pathname contains ";" but that should
14095
18871
+    # okay in the real world where ";" in dirpaths is itself problematic.
14096
 
+    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
18872
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
14097
18873
+  else
14098
 
+    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
18874
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14099
18875
+  fi
14100
18876
+  # Ok, now we have the path, separated by spaces, we can step through it
14101
18877
+  # and add multilib dir if necessary.
14104
18880
+  for lt_sys_path in $lt_search_path_spec; do
14105
18881
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
14106
18882
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
14107
 
     else
14108
 
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
14109
 
-      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
14110
 
-              = "XX$teststring") >/dev/null 2>&1 &&
14111
 
-             new_result=`expr "X$teststring" : ".*" 2>&1` &&
14112
 
-             lt_cv_sys_max_cmd_len=$new_result &&
14113
 
-             test $i != 17 # 1/2 MB should be enough
14114
 
-      do
14115
 
-        i=`expr $i + 1`
14116
 
-        teststring=$teststring$teststring
14117
 
-      done
14118
 
-      teststring=
14119
 
-      # Add a significant safety factor because C++ compilers can tack on massive
14120
 
-      # amounts of additional arguments before passing them to the linker.
14121
 
-      # It appears as though 1/2 is a usable value.
14122
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
18883
+    else
14123
18884
+      test -d "$lt_sys_path" && \
14124
18885
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14125
 
     fi
14126
 
-    ;;
14127
 
-  esac
14128
 
-])
14129
 
-if test -n $lt_cv_sys_max_cmd_len ; then
14130
 
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
18886
+    fi
14131
18887
+  done
14132
 
+  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
18888
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
14133
18889
+BEGIN {RS=" "; FS="/|\n";} {
14134
18890
+  lt_foo="";
14135
18891
+  lt_count=0;
14149
18905
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
14150
18906
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
14151
18907
+}'`
14152
 
+  sys_lib_search_path_spec=`echo $lt_search_path_spec`
14153
 
 else
14154
 
-  AC_MSG_RESULT(none)
14155
 
-fi
14156
 
-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
 
18908
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
18909
+else
14157
18910
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14158
18911
+fi])
 
18912
+library_names_spec=
 
18913
+libname_spec='lib$name'
 
18914
+soname_spec=
 
18915
+shrext_cmds=".so"
 
18916
+postinstall_cmds=
 
18917
+postuninstall_cmds=
 
18918
+finish_cmds=
 
18919
+finish_eval=
 
18920
+shlibpath_var=
 
18921
+shlibpath_overrides_runpath=unknown
 
18922
+version_type=none
 
18923
+dynamic_linker="$host_os ld.so"
 
18924
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
14159
18925
+need_lib_prefix=unknown
14160
18926
+hardcode_into_libs=no
14161
18927
 
 
18928
-# _LT_HEADER_DLFCN
 
18929
-# ----------------
 
18930
-m4_defun([_LT_HEADER_DLFCN],
 
18931
-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 
18932
-])# _LT_HEADER_DLFCN
14162
18933
+# when you set need_version to no, make sure it does not cause -set_version
14163
18934
+# flags to be left without arguments
14164
18935
+need_version=unknown
14165
18936
 
14166
 
-# _LT_AC_CHECK_DLFCN
14167
 
-# ------------------
14168
 
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
14169
 
-[AC_CHECK_HEADERS(dlfcn.h)dnl
14170
 
-])# _LT_AC_CHECK_DLFCN
14171
18937
+case $host_os in
14172
18938
+aix3*)
14173
18939
+  version_type=linux
14174
18940
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14175
18941
+  shlibpath_var=LIBPATH
14176
18942
 
14177
 
+  # AIX 3 has no versioning support, so we append a major version to the name.
14178
 
+  soname_spec='${libname}${release}${shared_ext}$major'
14179
 
+  ;;
14180
 
 
14181
 
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
14182
 
-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
14183
 
-# ---------------------------------------------------------------------
14184
 
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
14185
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
18943
-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
18944
-#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
18945
-# ----------------------------------------------------------------
 
18946
-m4_defun([_LT_TRY_DLOPEN_SELF],
 
18947
-[m4_require([_LT_HEADER_DLFCN])dnl
14186
18948
-if test "$cross_compiling" = yes; then :
14187
18949
-  [$4]
14188
18950
-else
14189
18951
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14190
18952
-  lt_status=$lt_dlunknown
14191
 
-  cat > conftest.$ac_ext <<EOF
 
18953
-  cat > conftest.$ac_ext <<_LT_EOF
14192
18954
-[#line __oline__ "configure"
14193
18955
-#include "confdefs.h"
14194
 
-
 
18956
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
18957
+  soname_spec='${libname}${release}${shared_ext}$major'
 
18958
+  ;;
 
18959
 
14195
18960
-#if HAVE_DLFCN_H
14196
18961
-#include <dlfcn.h>
14197
18962
-#endif
14198
 
-
 
18963
+aix[[4-9]]*)
 
18964
+  version_type=linux
 
18965
+  need_lib_prefix=no
 
18966
+  need_version=no
 
18967
+  hardcode_into_libs=yes
 
18968
+  if test "$host_cpu" = ia64; then
 
18969
+    # AIX 5 supports IA64
 
18970
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
18971
+    shlibpath_var=LD_LIBRARY_PATH
 
18972
+  else
 
18973
+    # With GCC up to 2.95.x, collect2 would create an import file
 
18974
+    # for dependence libraries.  The import file would start with
 
18975
+    # the line `#! .'.  This would cause the generated library to
 
18976
+    # depend on `.', always an invalid library.  This was fixed in
 
18977
+    # development snapshots of GCC prior to 3.0.
 
18978
+    case $host_os in
 
18979
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
18980
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
18981
+          echo ' yes '
 
18982
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
18983
+       :
 
18984
+      else
 
18985
+       can_build_shared=no
 
18986
+      fi
 
18987
+      ;;
 
18988
+    esac
 
18989
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
18990
+    # soname into executable. Probably we can add versioning support to
 
18991
+    # collect2, so additional links can be useful in future.
 
18992
+    if test "$aix_use_runtimelinking" = yes; then
 
18993
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
18994
+      # instead of lib<name>.a to let people know that these are not
 
18995
+      # typical AIX shared libraries.
 
18996
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
18997
+    else
 
18998
+      # We preserve .a as extension for shared libraries through AIX4.2
 
18999
+      # and later when we are not doing run time linking.
 
19000
+      library_names_spec='${libname}${release}.a $libname.a'
 
19001
+      soname_spec='${libname}${release}${shared_ext}$major'
 
19002
+    fi
 
19003
+    shlibpath_var=LIBPATH
 
19004
+  fi
 
19005
+  ;;
 
19006
 
14199
19007
-#include <stdio.h>
14200
 
-
 
19008
+amigaos*)
 
19009
+  case $host_cpu in
 
19010
+  powerpc)
 
19011
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
19012
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
19013
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19014
+    ;;
 
19015
+  m68k)
 
19016
+    library_names_spec='$libname.ixlibrary $libname.a'
 
19017
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
19018
+    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'
 
19019
+    ;;
 
19020
+  esac
 
19021
+  ;;
 
19022
 
14201
19023
-#ifdef RTLD_GLOBAL
14202
19024
-#  define LT_DLGLOBAL          RTLD_GLOBAL
14203
19025
-#else
14207
19029
-#    define LT_DLGLOBAL                0
14208
19030
-#  endif
14209
19031
-#endif
14210
 
-
 
19032
+beos*)
 
19033
+  library_names_spec='${libname}${shared_ext}'
 
19034
+  dynamic_linker="$host_os ld.so"
 
19035
+  shlibpath_var=LIBRARY_PATH
 
19036
+  ;;
 
19037
 
14211
19038
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14212
19039
-   find out it does not work in some platform. */
14213
19040
-#ifndef LT_DLLAZY_OR_NOW
14229
19056
-#    endif
14230
19057
-#  endif
14231
19058
-#endif
14232
 
-
14233
 
-#ifdef __cplusplus
14234
 
-extern "C" void exit (int);
14235
 
-#endif
14236
 
-
 
19059
+bsdi[[45]]*)
 
19060
+  version_type=linux
 
19061
+  need_version=no
 
19062
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19063
+  soname_spec='${libname}${release}${shared_ext}$major'
 
19064
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
19065
+  shlibpath_var=LD_LIBRARY_PATH
 
19066
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
19067
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
19068
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
19069
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
19070
+  # libtool to hard-code these into programs
 
19071
+  ;;
 
19072
 
14237
19073
-void fnord() { int i=42;}
14238
19074
-int main ()
14239
19075
-{
14240
19076
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14241
19077
-  int status = $lt_dlunknown;
14242
 
-
 
19078
+cygwin* | mingw* | pw32* | cegcc*)
 
19079
+  version_type=windows
 
19080
+  shrext_cmds=".dll"
 
19081
+  need_version=no
 
19082
+  need_lib_prefix=no
 
19083
 
14243
19084
-  if (self)
14244
19085
-    {
14245
19086
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14246
19087
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14247
19088
-      /* dlclose (self); */
14248
19089
-    }
14249
 
+aix[[4-9]]*)
14250
 
+  version_type=linux
14251
 
+  need_lib_prefix=no
14252
 
+  need_version=no
14253
 
+  hardcode_into_libs=yes
14254
 
+  if test "$host_cpu" = ia64; then
14255
 
+    # AIX 5 supports IA64
14256
 
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14257
 
+    shlibpath_var=LD_LIBRARY_PATH
14258
 
   else
 
19090
-  else
14259
19091
-    puts (dlerror ());
14260
 
-
14261
 
-    exit (status);
 
19092
+  case $GCC,$host_os in
 
19093
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
19094
+    library_names_spec='$libname.dll.a'
 
19095
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
19096
+    postinstall_cmds='base_file=`basename \${file}`~
 
19097
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
19098
+      dldir=$destdir/`dirname \$dlpath`~
 
19099
+      test -d \$dldir || mkdir -p \$dldir~
 
19100
+      $install_prog $dir/$dlname \$dldir/$dlname~
 
19101
+      chmod a+x \$dldir/$dlname~
 
19102
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
19103
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
19104
+      fi'
 
19105
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
19106
+      dlpath=$dir/\$dldll~
 
19107
+       $RM \$dlpath'
 
19108
+    shlibpath_overrides_runpath=yes
 
19109
 
 
19110
-  return status;
14262
19111
-}]
14263
 
-EOF
 
19112
-_LT_EOF
14264
19113
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
14265
19114
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
14266
19115
-    lt_status=$?
14268
19117
-      x$lt_dlno_uscore) $1 ;;
14269
19118
-      x$lt_dlneed_uscore) $2 ;;
14270
19119
-      x$lt_dlunknown|x*) $3 ;;
14271
 
+    # With GCC up to 2.95.x, collect2 would create an import file
14272
 
+    # for dependence libraries.  The import file would start with
14273
 
+    # the line `#! .'.  This would cause the generated library to
14274
 
+    # depend on `.', always an invalid library.  This was fixed in
14275
 
+    # development snapshots of GCC prior to 3.0.
14276
19120
+    case $host_os in
14277
 
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
14278
 
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14279
 
+          echo ' yes '
14280
 
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14281
 
+       :
 
19121
+    cygwin*)
 
19122
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
19123
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
19124
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
19125
+      ;;
 
19126
+    mingw* | cegcc*)
 
19127
+      # MinGW DLLs use traditional 'lib' prefix
 
19128
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
19129
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
19130
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 
19131
+        # It is most probably a Windows format PATH printed by
 
19132
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
19133
+        # path with ; separators, and with drive letters. We can handle the
 
19134
+        # drive letters (cygwin fileutils understands them), so leave them,
 
19135
+        # especially as we might pass files found there to a mingw objdump,
 
19136
+        # which wouldn't understand a cygwinified path. Ahh.
 
19137
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14282
19138
+      else
14283
 
+       can_build_shared=no
 
19139
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14284
19140
+      fi
14285
19141
+      ;;
 
19142
+    pw32*)
 
19143
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
19144
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
19145
+      ;;
14286
19146
     esac
14287
19147
-  else :
14288
19148
-    # compilation failed
14289
19149
-    $3
14290
 
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14291
 
+    # soname into executable. Probably we can add versioning support to
14292
 
+    # collect2, so additional links can be useful in future.
14293
 
+    if test "$aix_use_runtimelinking" = yes; then
14294
 
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14295
 
+      # instead of lib<name>.a to let people know that these are not
14296
 
+      # typical AIX shared libraries.
14297
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298
 
+    else
14299
 
+      # We preserve .a as extension for shared libraries through AIX4.2
14300
 
+      # and later when we are not doing run time linking.
14301
 
+      library_names_spec='${libname}${release}.a $libname.a'
14302
 
+      soname_spec='${libname}${release}${shared_ext}$major'
14303
 
+    fi
14304
 
+    shlibpath_var=LIBPATH
14305
 
   fi
 
19150
-  fi
14306
19151
-fi
14307
19152
-rm -fr conftest*
14308
 
-])# _LT_AC_TRY_DLOPEN_SELF
14309
 
+  ;;
14310
 
 
14311
 
+amigaos*)
14312
 
+  library_names_spec='$libname.ixlibrary $libname.a'
14313
 
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14314
 
+  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'
14315
 
+  ;;
14316
 
 
14317
 
-# AC_LIBTOOL_DLOPEN_SELF
14318
 
-# ----------------------
14319
 
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
14320
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
19153
-])# _LT_TRY_DLOPEN_SELF
 
19154
-
 
19155
-
 
19156
-# LT_SYS_DLOPEN_SELF
 
19157
-# ------------------
 
19158
-AC_DEFUN([LT_SYS_DLOPEN_SELF],
 
19159
-[m4_require([_LT_HEADER_DLFCN])dnl
14321
19160
-if test "x$enable_dlopen" != xyes; then
14322
19161
-  enable_dlopen=unknown
14323
19162
-  enable_dlopen_self=unknown
14325
19164
-else
14326
19165
-  lt_cv_dlopen=no
14327
19166
-  lt_cv_dlopen_libs=
14328
 
+beos*)
14329
 
+  library_names_spec='${libname}${shared_ext}'
14330
 
+  dynamic_linker="$host_os ld.so"
14331
 
+  shlibpath_var=LIBRARY_PATH
14332
 
+  ;;
14333
 
 
 
19167
-
14334
19168
-  case $host_os in
14335
19169
-  beos*)
14336
19170
-    lt_cv_dlopen="load_add_on"
14337
19171
-    lt_cv_dlopen_libs=
14338
19172
-    lt_cv_dlopen_self=yes
14339
 
-    ;;
14340
 
+bsdi[[45]]*)
14341
 
+  version_type=linux
14342
 
+  need_version=no
14343
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14344
 
+  soname_spec='${libname}${release}${shared_ext}$major'
14345
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14346
 
+  shlibpath_var=LD_LIBRARY_PATH
14347
 
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14348
 
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14349
 
+  # the default ld.so.conf also contains /usr/contrib/lib and
14350
 
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14351
 
+  # libtool to hard-code these into programs
14352
 
+  ;;
 
19173
     ;;
14353
19174
 
14354
 
-  mingw* | pw32*)
 
19175
-  mingw* | pw32* | cegcc*)
14355
19176
-    lt_cv_dlopen="LoadLibrary"
14356
19177
-    lt_cv_dlopen_libs=
14357
 
-   ;;
14358
 
+cygwin* | mingw* | pw32*)
14359
 
+  version_type=windows
14360
 
+  shrext_cmds=".dll"
14361
 
+  need_version=no
14362
 
+  need_lib_prefix=no
 
19178
+  *)
 
19179
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
19180
     ;;
 
19181
+  esac
 
19182
+  dynamic_linker='Win32 ld.exe'
 
19183
+  # FIXME: first we should search . and the directory the executable is in
 
19184
+  shlibpath_var=PATH
 
19185
+  ;;
14363
19186
 
14364
19187
-  cygwin*)
14365
19188
-    lt_cv_dlopen="dlopen"
14366
19189
-    lt_cv_dlopen_libs=
14367
 
-   ;;
14368
 
+  case $GCC,$host_os in
14369
 
+  yes,cygwin* | yes,mingw* | yes,pw32*)
14370
 
+    library_names_spec='$libname.dll.a'
14371
 
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14372
 
+    postinstall_cmds='base_file=`basename \${file}`~
14373
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14374
 
+      dldir=$destdir/`dirname \$dlpath`~
14375
 
+      test -d \$dldir || mkdir -p \$dldir~
14376
 
+      $install_prog $dir/$dlname \$dldir/$dlname~
14377
 
+      chmod a+x \$dldir/$dlname'
14378
 
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14379
 
+      dlpath=$dir/\$dldll~
14380
 
+       $rm \$dlpath'
14381
 
+    shlibpath_overrides_runpath=yes
 
19190
-    ;;
 
19191
+darwin* | rhapsody*)
 
19192
+  dynamic_linker="$host_os dyld"
 
19193
+  version_type=darwin
 
19194
+  need_lib_prefix=no
 
19195
+  need_version=no
 
19196
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
19197
+  soname_spec='${libname}${release}${major}$shared_ext'
 
19198
+  shlibpath_overrides_runpath=yes
 
19199
+  shlibpath_var=DYLD_LIBRARY_PATH
 
19200
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
19201
+m4_if([$1], [],[
 
19202
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 
19203
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
19204
+  ;;
14382
19205
 
14383
19206
-  darwin*)
14384
19207
-  # if libdl is installed we need to link against it
14388
19211
-    lt_cv_dlopen_libs=
14389
19212
-    lt_cv_dlopen_self=yes
14390
19213
-    ])
14391
 
-   ;;
14392
 
+    case $host_os in
14393
 
+    cygwin*)
14394
 
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14395
 
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
14396
 
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14397
 
+      ;;
14398
 
+    mingw*)
14399
 
+      # MinGW DLLs use traditional 'lib' prefix
14400
 
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
14401
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14402
 
+      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
14403
 
+        # It is most probably a Windows format PATH printed by
14404
 
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14405
 
+        # path with ; separators, and with drive letters. We can handle the
14406
 
+        # drive letters (cygwin fileutils understands them), so leave them,
14407
 
+        # especially as we might pass files found there to a mingw objdump,
14408
 
+        # which wouldn't understand a cygwinified path. Ahh.
14409
 
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14410
 
+      else
14411
 
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14412
 
+      fi
14413
 
+      ;;
14414
 
+    pw32*)
14415
 
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
14416
 
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
14417
 
+      ;;
14418
 
+    esac
14419
 
+    ;;
 
19214
-    ;;
 
19215
+dgux*)
 
19216
+  version_type=linux
 
19217
+  need_lib_prefix=no
 
19218
+  need_version=no
 
19219
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
19220
+  soname_spec='${libname}${release}${shared_ext}$major'
 
19221
+  shlibpath_var=LD_LIBRARY_PATH
 
19222
+  ;;
14420
19223
 
14421
 
   *)
 
19224
-  *)
14422
19225
-    AC_CHECK_FUNC([shl_load],
14423
19226
-         [lt_cv_dlopen="shl_load"],
14424
19227
-      [AC_CHECK_LIB([dld], [shl_load],
14436
19239
-         ])
14437
19240
-       ])
14438
19241
-      ])
14439
 
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
14440
 
     ;;
14441
 
   esac
14442
 
+  dynamic_linker='Win32 ld.exe'
14443
 
+  # FIXME: first we should search . and the directory the executable is in
14444
 
+  shlibpath_var=PATH
 
19242
-    ;;
 
19243
-  esac
 
19244
+freebsd1*)
 
19245
+  dynamic_linker=no
14445
19246
+  ;;
14446
19247
 
14447
19248
-  if test "x$lt_cv_dlopen" != xno; then
14448
19249
-    enable_dlopen=yes
14449
 
-  else
14450
 
-    enable_dlopen=no
14451
 
-  fi
14452
 
-
14453
 
-  case $lt_cv_dlopen in
14454
 
-  dlopen)
14455
 
-    save_CPPFLAGS="$CPPFLAGS"
14456
 
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14457
 
-
14458
 
-    save_LDFLAGS="$LDFLAGS"
14459
 
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14460
 
-
14461
 
-    save_LIBS="$LIBS"
14462
 
-    LIBS="$lt_cv_dlopen_libs $LIBS"
14463
 
+darwin* | rhapsody*)
14464
 
+  dynamic_linker="$host_os dyld"
14465
 
+  version_type=darwin
14466
 
+  need_lib_prefix=no
14467
 
+  need_version=no
14468
 
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14469
 
+  soname_spec='${libname}${release}${major}$shared_ext'
14470
 
+  shlibpath_overrides_runpath=yes
14471
 
+  shlibpath_var=DYLD_LIBRARY_PATH
14472
 
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14473
 
+  m4_if([$1], [],[
14474
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
14475
 
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14476
 
+  ;;
14477
 
 
14478
 
-    AC_CACHE_CHECK([whether a program can dlopen itself],
14479
 
-         lt_cv_dlopen_self, [dnl
14480
 
-         _LT_AC_TRY_DLOPEN_SELF(
14481
 
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
14482
 
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
14483
 
-    ])
14484
 
+dgux*)
14485
 
+  version_type=linux
14486
 
+  need_lib_prefix=no
14487
 
+  need_version=no
14488
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14489
 
+  soname_spec='${libname}${release}${shared_ext}$major'
14490
 
+  shlibpath_var=LD_LIBRARY_PATH
14491
 
+  ;;
14492
 
 
14493
 
-    if test "x$lt_cv_dlopen_self" = xyes; then
14494
 
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14495
 
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
14496
 
-         lt_cv_dlopen_self_static, [dnl
14497
 
-         _LT_AC_TRY_DLOPEN_SELF(
14498
 
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
14499
 
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
14500
 
-      ])
14501
 
-    fi
14502
 
+freebsd1*)
14503
 
+  dynamic_linker=no
14504
 
+  ;;
14505
 
 
14506
 
-    CPPFLAGS="$save_CPPFLAGS"
14507
 
-    LDFLAGS="$save_LDFLAGS"
14508
 
-    LIBS="$save_LIBS"
14509
19250
+freebsd* | dragonfly*)
14510
19251
+  # DragonFly does not have aout.  When/if they implement a new
14511
19252
+  # versioning mechanism, adjust this.
14512
19253
+  if test -x /usr/bin/objformat; then
14513
19254
+    objformat=`/usr/bin/objformat`
14514
 
+  else
 
19255
   else
 
19256
-    enable_dlopen=no
14515
19257
+    case $host_os in
14516
19258
+    freebsd[[123]]*) objformat=aout ;;
14517
19259
+    *) objformat=elf ;;
14518
19260
+    esac
14519
 
+  fi
 
19261
   fi
14520
19262
+  version_type=freebsd-$objformat
14521
19263
+  case $version_type in
14522
19264
+    freebsd-elf*)
14546
19288
+  *) # from 4.6 on, and DragonFly
14547
19289
+    shlibpath_overrides_runpath=yes
14548
19290
+    hardcode_into_libs=yes
14549
 
     ;;
14550
 
   esac
 
19291
+    ;;
 
19292
+  esac
14551
19293
+  ;;
14552
19294
 
14553
 
-  case $lt_cv_dlopen_self in
14554
 
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14555
 
-  *) enable_dlopen_self=unknown ;;
14556
 
-  esac
 
19295
-  case $lt_cv_dlopen in
 
19296
-  dlopen)
 
19297
-    save_CPPFLAGS="$CPPFLAGS"
 
19298
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14557
19299
+gnu*)
14558
19300
+  version_type=linux
14559
19301
+  need_lib_prefix=no
14564
19306
+  hardcode_into_libs=yes
14565
19307
+  ;;
14566
19308
 
14567
 
-  case $lt_cv_dlopen_self_static in
14568
 
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14569
 
-  *) enable_dlopen_self_static=unknown ;;
 
19309
-    save_LDFLAGS="$LDFLAGS"
 
19310
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
19311
-
 
19312
-    save_LIBS="$LIBS"
 
19313
-    LIBS="$lt_cv_dlopen_libs $LIBS"
 
19314
-
 
19315
-    AC_CACHE_CHECK([whether a program can dlopen itself],
 
19316
-         lt_cv_dlopen_self, [dnl
 
19317
-         _LT_TRY_DLOPEN_SELF(
 
19318
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
19319
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
19320
-    ])
 
19321
-
 
19322
-    if test "x$lt_cv_dlopen_self" = xyes; then
 
19323
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
19324
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
19325
-         lt_cv_dlopen_self_static, [dnl
 
19326
-         _LT_TRY_DLOPEN_SELF(
 
19327
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
19328
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
19329
-      ])
14570
19330
+hpux9* | hpux10* | hpux11*)
14571
19331
+  # Give a soname corresponding to the major version so that dld.sl refuses to
14572
19332
+  # link against other versions.
14586
19346
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14587
19347
+    else
14588
19348
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14589
 
+    fi
14590
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14591
 
+    ;;
14592
 
+   hppa*64*)
14593
 
+     shrext_cmds='.sl'
14594
 
+     hardcode_into_libs=yes
14595
 
+     dynamic_linker="$host_os dld.sl"
14596
 
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14597
 
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14598
 
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599
 
+     soname_spec='${libname}${release}${shared_ext}$major'
14600
 
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14601
 
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14602
 
+     ;;
14603
 
+   *)
 
19349
     fi
 
19350
-
 
19351
-    CPPFLAGS="$save_CPPFLAGS"
 
19352
-    LDFLAGS="$save_LDFLAGS"
 
19353
-    LIBS="$save_LIBS"
 
19354
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
19355
+    ;;
 
19356
+  hppa*64*)
 
19357
+    shrext_cmds='.sl'
 
19358
+    hardcode_into_libs=yes
 
19359
+    dynamic_linker="$host_os dld.sl"
 
19360
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
19361
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
19362
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19363
+    soname_spec='${libname}${release}${shared_ext}$major'
 
19364
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
19365
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
19366
+    ;;
 
19367
+  *)
14604
19368
+    shrext_cmds='.sl'
14605
19369
+    dynamic_linker="$host_os dld.sl"
14606
19370
+    shlibpath_var=SHLIB_PATH
14607
19371
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14608
19372
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609
19373
+    soname_spec='${libname}${release}${shared_ext}$major'
14610
 
+    ;;
 
19374
     ;;
14611
19375
   esac
14612
 
-fi
14613
 
-])# AC_LIBTOOL_DLOPEN_SELF
14614
 
-
14615
19376
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14616
19377
+  postinstall_cmds='chmod 555 $lib'
14617
19378
+  ;;
14618
19379
 
14619
 
-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
14620
 
-# ---------------------------------
14621
 
-# Check to see if options -c and -o are simultaneously supported by compiler
14622
 
-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
14623
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
14624
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
14625
 
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
14626
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
14627
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
14628
 
-   $rm -r conftest 2>/dev/null
14629
 
-   mkdir conftest
14630
 
-   cd conftest
14631
 
-   mkdir out
14632
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19380
-  case $lt_cv_dlopen_self in
 
19381
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
19382
-  *) enable_dlopen_self=unknown ;;
 
19383
-  esac
14633
19384
+interix[[3-9]]*)
14634
19385
+  version_type=linux
14635
19386
+  need_lib_prefix=no
14642
19393
+  hardcode_into_libs=yes
14643
19394
+  ;;
14644
19395
 
14645
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
14646
 
-   # Insert the option either (1) after the last *FLAGS variable, or
14647
 
-   # (2) before a word containing "conftest.", or (3) at the end.
14648
 
-   # Note that $ac_compile itself does not contain backslashes and begins
14649
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
14650
 
-   lt_compile=`echo "$ac_compile" | $SED \
14651
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14652
 
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
14653
 
-   -e 's:$: $lt_compiler_flag:'`
14654
 
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
14655
 
-   (eval "$lt_compile" 2>out/conftest.err)
14656
 
-   ac_status=$?
14657
 
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
14658
 
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
14659
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14660
 
-   then
14661
 
-     # The compiler can only warn and ignore the option if not recognized
14662
 
-     # So say no if there are warnings
14663
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14664
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14665
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14666
 
-       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
14667
 
-     fi
14668
 
-   fi
14669
 
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
14670
 
-   $rm conftest*
14671
 
-   # SGI C++ compiler will create directory out/ii_files/ for
14672
 
-   # template instantiation
14673
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14674
 
-   $rm out/* && rmdir out
14675
 
-   cd ..
14676
 
-   rmdir conftest
14677
 
-   $rm conftest*
14678
 
-])
14679
 
-])# AC_LIBTOOL_PROG_CC_C_O
 
19396
-  case $lt_cv_dlopen_self_static in
 
19397
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
19398
-  *) enable_dlopen_self_static=unknown ;;
14680
19399
+irix5* | irix6* | nonstopux*)
14681
19400
+  case $host_os in
14682
19401
+    nonstopux*) version_type=nonstopux ;;
14686
19405
+       else
14687
19406
+               version_type=irix
14688
19407
+       fi ;;
14689
 
+  esac
 
19408
   esac
 
19409
-fi
 
19410
-_LT_DECL([dlopen_support], [enable_dlopen], [0],
 
19411
-        [Whether dlopen is supported])
 
19412
-_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 
19413
-        [Whether dlopen of programs is supported])
 
19414
-_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 
19415
-        [Whether dlopen of statically linked programs is supported])
 
19416
-])# LT_SYS_DLOPEN_SELF
 
19417
-
 
19418
-# Old name:
 
19419
-AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 
19420
-dnl aclocal-1.4 backwards compatibility:
 
19421
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 
19422
-
 
19423
-
 
19424
-# _LT_COMPILER_C_O([TAGNAME])
 
19425
-# ---------------------------
 
19426
-# Check to see if options -c and -o are simultaneously supported by compiler.
 
19427
-# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 
19428
-m4_defun([_LT_COMPILER_C_O],
 
19429
-[m4_require([_LT_DECL_SED])dnl
 
19430
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
19431
-m4_require([_LT_TAG_COMPILER])dnl
 
19432
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 
19433
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
19434
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
19435
-   $RM -r conftest 2>/dev/null
 
19436
-   mkdir conftest
 
19437
-   cd conftest
 
19438
-   mkdir out
 
19439
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14690
19440
+  need_lib_prefix=no
14691
19441
+  need_version=no
14692
19442
+  soname_spec='${libname}${release}${shared_ext}$major'
14714
19464
+  hardcode_into_libs=yes
14715
19465
+  ;;
14716
19466
 
 
19467
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
19468
-   # Insert the option either (1) after the last *FLAGS variable, or
 
19469
-   # (2) before a word containing "conftest.", or (3) at the end.
 
19470
-   # Note that $ac_compile itself does not contain backslashes and begins
 
19471
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
19472
-   lt_compile=`echo "$ac_compile" | $SED \
 
19473
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
19474
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
19475
-   -e 's:$: $lt_compiler_flag:'`
 
19476
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
19477
-   (eval "$lt_compile" 2>out/conftest.err)
 
19478
-   ac_status=$?
 
19479
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 
19480
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
19481
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
19482
-   then
 
19483
-     # The compiler can only warn and ignore the option if not recognized
 
19484
-     # So say no if there are warnings
 
19485
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
19486
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
19487
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
19488
-       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
19489
-     fi
 
19490
-   fi
 
19491
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 
19492
-   $RM conftest*
 
19493
-   # SGI C++ compiler will create directory out/ii_files/ for
 
19494
-   # template instantiation
 
19495
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
19496
-   $RM out/* && rmdir out
 
19497
-   cd ..
 
19498
-   $RM -r conftest
 
19499
-   $RM conftest*
 
19500
-])
 
19501
-_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 
19502
-       [Does compiler simultaneously support -c and -o options?])
 
19503
-])# _LT_COMPILER_C_O
14717
19504
+# No shared lib support for Linux oldld, aout, or coff.
14718
19505
+linux*oldld* | linux*aout* | linux*coff*)
14719
19506
+  dynamic_linker=no
14720
19507
+  ;;
14721
19508
 
14722
 
-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
14723
 
-# -----------------------------------------
14724
 
-# Check to see if we can do hard links to lock some files if needed
14725
 
-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
14726
 
-[AC_REQUIRE([_LT_AC_LOCK])dnl
14727
19509
+# This must be Linux ELF.
14728
19510
+linux* | k*bsd*-gnu)
14729
19511
+  version_type=linux
14734
19516
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14735
19517
+  shlibpath_var=LD_LIBRARY_PATH
14736
19518
+  shlibpath_overrides_runpath=no
 
19519
+  # Some binutils ld are patched to set DT_RUNPATH
 
19520
+  save_LDFLAGS=$LDFLAGS
 
19521
+  save_libdir=$libdir
 
19522
+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 
19523
+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 
19524
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
19525
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 
19526
+       [shlibpath_overrides_runpath=yes])])
 
19527
+  LDFLAGS=$save_LDFLAGS
 
19528
+  libdir=$save_libdir
 
19529
 
 
19530
-# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 
19531
-# ----------------------------------
 
19532
-# Check to see if we can do hard links to lock some files if needed
 
19533
-m4_defun([_LT_COMPILER_FILE_LOCKS],
 
19534
-[m4_require([_LT_ENABLE_LOCK])dnl
 
19535
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
19536
-_LT_COMPILER_C_O([$1])
14737
19537
+  # This implies no fast_install, which is unacceptable.
14738
19538
+  # Some rework will be needed to allow for fast_install
14739
19539
+  # before this can be enabled.
14740
19540
+  hardcode_into_libs=yes
14741
19541
 
14742
19542
-hard_links="nottested"
14743
 
-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
19543
-if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
14744
19544
-  # do not overwrite the value of need_locks provided by the user
14745
19545
-  AC_MSG_CHECKING([if we can lock with hard links])
14746
19546
-  hard_links=yes
14747
 
-  $rm conftest*
 
19547
-  $RM conftest*
14748
19548
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14749
19549
-  touch conftest.a
14750
19550
-  ln conftest.a conftest.b 2>&5 || hard_links=no
14755
19555
-    need_locks=warn
14756
19556
+  # Append ld.so.conf contents to the search path
14757
19557
+  if test -f /etc/ld.so.conf; then
14758
 
+    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' ' '`
 
19558
+    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' ' '`
14759
19559
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14760
19560
   fi
14761
19561
-else
14762
19562
-  need_locks=no
14763
19563
-fi
14764
 
-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
14765
 
-
14766
 
-
14767
 
-# AC_LIBTOOL_OBJDIR
14768
 
-# -----------------
14769
 
-AC_DEFUN([AC_LIBTOOL_OBJDIR],
 
19564
-_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 
19565
-])# _LT_COMPILER_FILE_LOCKS
 
19566
 
 
19567
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
19568
+  # powerpc, because MkLinux only supported shared libraries with the
 
19569
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
19570
+  # most powerpc-linux boxes support dynamic linking these days and
 
19571
+  # people can always --disable-shared, the test was removed, and we
 
19572
+  # assume the GNU/Linux dynamic linker is in use.
 
19573
+  dynamic_linker='GNU/Linux ld.so'
 
19574
+  ;;
 
19575
 
 
19576
-# _LT_CHECK_OBJDIR
 
19577
-# ----------------
 
19578
-m4_defun([_LT_CHECK_OBJDIR],
14770
19579
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
14771
19580
-[rm -f .libs 2>/dev/null
14772
19581
-mkdir .libs 2>/dev/null
14778
19587
-fi
14779
19588
-rmdir .libs 2>/dev/null])
14780
19589
-objdir=$lt_cv_objdir
14781
 
-])# AC_LIBTOOL_OBJDIR
14782
 
 
14783
 
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
14784
 
+  # powerpc, because MkLinux only supported shared libraries with the
14785
 
+  # GNU dynamic linker.  Since this was broken with cross compilers,
14786
 
+  # most powerpc-linux boxes support dynamic linking these days and
14787
 
+  # people can always --disable-shared, the test was removed, and we
14788
 
+  # assume the GNU/Linux dynamic linker is in use.
14789
 
+  dynamic_linker='GNU/Linux ld.so'
14790
 
+  ;;
14791
 
 
14792
 
-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
14793
 
-# ----------------------------------------------
 
19590
-_LT_DECL([], [objdir], [0],
 
19591
-         [The name of the directory that contains temporary libtool files])dnl
 
19592
-m4_pattern_allow([LT_OBJDIR])dnl
 
19593
-AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
 
19594
-  [Define to the sub-directory in which libtool stores uninstalled libraries.])
 
19595
-])# _LT_CHECK_OBJDIR
 
19596
-
 
19597
-
 
19598
-# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 
19599
-# --------------------------------------
14794
19600
-# Check hardcoding attributes.
14795
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
 
19601
-m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
14796
19602
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
14797
 
-_LT_AC_TAGVAR(hardcode_action, $1)=
14798
 
-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
14799
 
-   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
14800
 
-   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
19603
-_LT_TAGVAR(hardcode_action, $1)=
 
19604
-if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 
19605
-   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 
19606
-   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
14801
19607
+netbsdelf*-gnu)
14802
19608
+  version_type=linux
14803
19609
+  need_lib_prefix=no
14810
19616
+  dynamic_linker='NetBSD ld.elf_so'
14811
19617
+  ;;
14812
19618
 
14813
 
-  # We can hardcode non-existant directories.
14814
 
-  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
 
19619
-  # We can hardcode non-existent directories.
 
19620
-  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
14815
19621
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14816
19622
-     # have to relink, otherwise we might link with an installed library
14817
19623
-     # when we should be linking with a yet-to-be-installed one
14818
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
14819
 
-     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
 
19624
-     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
19625
-     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
14820
19626
-    # Linking always hardcodes the temporary library directory.
14821
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=relink
 
19627
-    _LT_TAGVAR(hardcode_action, $1)=relink
14822
19628
+netbsd*)
14823
19629
+  version_type=sunos
14824
19630
+  need_lib_prefix=no
14825
19631
+  need_version=no
14826
 
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19632
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14827
19633
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14828
19634
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14829
19635
+    dynamic_linker='NetBSD (a.out) ld.so'
14830
19636
   else
14831
19637
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
 
19638
-    _LT_TAGVAR(hardcode_action, $1)=immediate
14833
19639
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14834
19640
+    soname_spec='${libname}${release}${shared_ext}$major'
14835
19641
+    dynamic_linker='NetBSD ld.elf_so'
14837
19643
-else
14838
19644
-  # We cannot hardcode anything, or else we can only hardcode existing
14839
19645
-  # directories.
14840
 
-  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
 
19646
-  _LT_TAGVAR(hardcode_action, $1)=unsupported
14841
19647
-fi
14842
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
 
19648
-AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
14843
19649
-
14844
 
-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
 
19650
-if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
 
19651
-   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
14845
19652
-  # Fast installation is not supported
14846
19653
-  enable_fast_install=no
14847
19654
-elif test "$shlibpath_overrides_runpath" = yes ||
14849
19656
-  # Fast installation is not necessary
14850
19657
-  enable_fast_install=needless
14851
19658
-fi
14852
 
-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
 
19659
-_LT_TAGDECL([], [hardcode_action], [0],
 
19660
-    [How to hardcode a shared library path into an executable])
 
19661
-])# _LT_LINKER_HARDCODE_LIBPATH
14853
19662
-
14854
19663
+  shlibpath_var=LD_LIBRARY_PATH
14855
19664
+  shlibpath_overrides_runpath=yes
14856
19665
+  hardcode_into_libs=yes
14857
19666
+  ;;
14858
19667
 
14859
 
-# AC_LIBTOOL_SYS_LIB_STRIP
14860
 
-# ------------------------
14861
 
-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
14862
 
-[striplib=
 
19668
-# _LT_CMD_STRIPLIB
 
19669
-# ----------------
 
19670
-m4_defun([_LT_CMD_STRIPLIB],
 
19671
-[m4_require([_LT_DECL_EGREP])
 
19672
-striplib=
14863
19673
-old_striplib=
14864
19674
-AC_MSG_CHECKING([whether stripping libraries is possible])
14865
 
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
19675
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14866
19676
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14867
19677
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14868
19678
-  AC_MSG_RESULT([yes])
14869
19679
-else
14870
19680
-# FIXME - insert some real tests, host_os isn't really good enough
14871
19681
-  case $host_os in
14872
 
-   darwin*)
14873
 
-       if test -n "$STRIP" ; then
14874
 
-         striplib="$STRIP -x"
14875
 
-         old_striplib="$STRIP -S"
14876
 
-         AC_MSG_RESULT([yes])
14877
 
-       else
14878
 
-  AC_MSG_RESULT([no])
14879
 
-fi
14880
 
-       ;;
14881
 
-   *)
14882
 
-  AC_MSG_RESULT([no])
 
19682
-  darwin*)
 
19683
-    if test -n "$STRIP" ; then
 
19684
-      striplib="$STRIP -x"
 
19685
-      old_striplib="$STRIP -S"
 
19686
-      AC_MSG_RESULT([yes])
 
19687
-    else
 
19688
-      AC_MSG_RESULT([no])
 
19689
-    fi
 
19690
-    ;;
 
19691
-  *)
 
19692
-    AC_MSG_RESULT([no])
14883
19693
-    ;;
14884
19694
-  esac
14885
19695
-fi
14886
 
-])# AC_LIBTOOL_SYS_LIB_STRIP
 
19696
-_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 
19697
-_LT_DECL([], [striplib], [1])
 
19698
-])# _LT_CMD_STRIPLIB
14887
19699
+newsos6)
14888
19700
+  version_type=linux
14889
19701
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14891
19703
+  shlibpath_overrides_runpath=yes
14892
19704
+  ;;
14893
19705
 
14894
 
+nto-qnx*)
14895
 
+  version_type=linux
 
19706
+*nto* | *qnx*)
 
19707
+  version_type=qnx
14896
19708
+  need_lib_prefix=no
14897
19709
+  need_version=no
14898
19710
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14899
19711
+  soname_spec='${libname}${release}${shared_ext}$major'
14900
19712
+  shlibpath_var=LD_LIBRARY_PATH
14901
 
+  shlibpath_overrides_runpath=yes
 
19713
+  shlibpath_overrides_runpath=no
 
19714
+  hardcode_into_libs=yes
 
19715
+  dynamic_linker='ldqnx.so'
14902
19716
+  ;;
14903
19717
 
14904
 
-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
19718
-# _LT_SYS_DYNAMIC_LINKER([TAG])
14905
19719
-# -----------------------------
14906
19720
-# PORTME Fill in your ld.so characteristics
14907
 
-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
14908
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
19721
-m4_defun([_LT_SYS_DYNAMIC_LINKER],
 
19722
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
19723
-m4_require([_LT_DECL_EGREP])dnl
 
19724
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
19725
-m4_require([_LT_DECL_OBJDUMP])dnl
 
19726
-m4_require([_LT_DECL_SED])dnl
14909
19727
-AC_MSG_CHECKING([dynamic linker characteristics])
14910
 
-library_names_spec=
14911
 
-libname_spec='lib$name'
14912
 
-soname_spec=
14913
 
-shrext_cmds=".so"
14914
 
-postinstall_cmds=
14915
 
-postuninstall_cmds=
14916
 
-finish_cmds=
14917
 
-finish_eval=
14918
 
-shlibpath_var=
14919
 
-shlibpath_overrides_runpath=unknown
14920
 
-version_type=none
14921
 
-dynamic_linker="$host_os ld.so"
14922
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
14923
 
-m4_if($1,[],[
 
19728
-m4_if([$1],
 
19729
-       [], [
14924
19730
-if test "$GCC" = yes; then
14925
19731
+openbsd*)
14926
19732
+  version_type=sunos
14930
19736
   case $host_os in
14931
19737
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14932
19738
-    *) lt_awk_arg="/^libraries:/" ;;
14933
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14934
 
+    *)                         need_version=no  ;;
 
19739
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
19740
+    *)                         need_version=no  ;;
14935
19741
   esac
14936
19742
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14937
 
-  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
19743
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
14938
19744
-    # if the path contains ";" then we assume it to be the separator
14939
19745
-    # otherwise default to the standard path separator (i.e. ":") - it is
14940
19746
-    # assumed that no part of a normal pathname contains ";" but that should
14941
19747
-    # okay in the real world where ";" in dirpaths is itself problematic.
14942
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
19748
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
14943
19749
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14944
19750
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14945
19751
+  shlibpath_var=LD_LIBRARY_PATH
14946
 
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19752
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14947
19753
+    case $host_os in
14948
19754
+      openbsd2.[[89]] | openbsd2.[[89]].*)
14949
19755
+       shlibpath_overrides_runpath=no
14953
19759
+       ;;
14954
19760
+      esac
14955
19761
   else
14956
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
19762
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14957
19763
+    shlibpath_overrides_runpath=yes
14958
19764
   fi
14959
19765
-  # Ok, now we have the path, separated by spaces, we can step through it
14968
19774
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14969
19775
-    fi
14970
19776
-  done
14971
 
-  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
19777
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
14972
19778
-BEGIN {RS=" "; FS="/|\n";} {
14973
19779
-  lt_foo="";
14974
19780
-  lt_count=0;
14988
19794
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
14989
19795
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
14990
19796
-}'`
14991
 
-  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
19797
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
14992
19798
-else
14993
19799
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14994
19800
-fi])
 
19801
-library_names_spec=
 
19802
-libname_spec='lib$name'
 
19803
-soname_spec=
 
19804
-shrext_cmds=".so"
 
19805
-postinstall_cmds=
 
19806
-postuninstall_cmds=
 
19807
-finish_cmds=
 
19808
-finish_eval=
 
19809
-shlibpath_var=
 
19810
-shlibpath_overrides_runpath=unknown
 
19811
-version_type=none
 
19812
-dynamic_linker="$host_os ld.so"
 
19813
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
14995
19814
-need_lib_prefix=unknown
14996
19815
-hardcode_into_libs=no
14997
 
+  ;;
14998
 
 
 
19816
-
14999
19817
-# when you set need_version to no, make sure it does not cause -set_version
15000
19818
-# flags to be left without arguments
15001
19819
-need_version=unknown
15002
 
-
 
19820
+  ;;
 
19821
 
15003
19822
-case $host_os in
15004
19823
-aix3*)
15005
19824
-  version_type=linux
15011
19830
+  library_names_spec='$libname${shared_ext} $libname.a'
15012
19831
+  dynamic_linker='OS/2 ld.exe'
15013
19832
   shlibpath_var=LIBPATH
15014
 
-
 
19833
+  ;;
 
19834
 
15015
19835
-  # AIX 3 has no versioning support, so we append a major version to the name.
15016
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15017
 
   ;;
15018
 
 
15019
 
-aix[[4-9]]*)
15020
 
-  version_type=linux
15021
19836
+osf3* | osf4* | osf5*)
15022
19837
+  version_type=osf
 
19838
+  need_lib_prefix=no
 
19839
+  need_version=no
 
19840
   soname_spec='${libname}${release}${shared_ext}$major'
 
19841
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19842
+  shlibpath_var=LD_LIBRARY_PATH
 
19843
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
19844
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
19845
   ;;
 
19846
 
 
19847
-aix[[4-9]]*)
 
19848
+rdos*)
 
19849
+  dynamic_linker=no
 
19850
+  ;;
 
19851
+
 
19852
+solaris*)
 
19853
   version_type=linux
15023
19854
   need_lib_prefix=no
15024
19855
   need_version=no
15025
19856
-  hardcode_into_libs=yes
15037
19868
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
15038
19869
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15039
19870
-          echo ' yes '
15040
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
19871
-          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15041
19872
-       :
15042
19873
-      else
15043
19874
-       can_build_shared=no
15063
19894
-  ;;
15064
19895
-
15065
19896
-amigaos*)
15066
 
-  library_names_spec='$libname.ixlibrary $libname.a'
15067
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15068
 
-  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'
 
19897
-  case $host_cpu in
 
19898
-  powerpc)
 
19899
-    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
19900
-    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
19901
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
19902
-    ;;
 
19903
-  m68k)
 
19904
-    library_names_spec='$libname.ixlibrary $libname.a'
 
19905
-    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
19906
-    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'
 
19907
-    ;;
 
19908
-  esac
 
19909
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069
19910
+  soname_spec='${libname}${release}${shared_ext}$major'
15070
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071
19911
+  shlibpath_var=LD_LIBRARY_PATH
15072
 
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15073
 
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
19912
+  shlibpath_overrides_runpath=yes
 
19913
+  hardcode_into_libs=yes
 
19914
+  # ldd complains unless libraries are executable
 
19915
+  postinstall_cmds='chmod +x $lib'
15074
19916
   ;;
15075
19917
 
15076
19918
-beos*)
15077
19919
-  library_names_spec='${libname}${shared_ext}'
15078
19920
-  dynamic_linker="$host_os ld.so"
15079
19921
-  shlibpath_var=LIBRARY_PATH
15080
 
+rdos*)
15081
 
+  dynamic_linker=no
 
19922
+sunos4*)
 
19923
+  version_type=sunos
 
19924
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
19925
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
19926
+  shlibpath_var=LD_LIBRARY_PATH
 
19927
+  shlibpath_overrides_runpath=yes
 
19928
+  if test "$with_gnu_ld" = yes; then
 
19929
+    need_lib_prefix=no
 
19930
+  fi
 
19931
+  need_version=yes
15082
19932
   ;;
15083
19933
 
15084
19934
-bsdi[[45]]*)
15085
 
+solaris*)
 
19935
+sysv4 | sysv4.3*)
15086
19936
   version_type=linux
15087
 
+  need_lib_prefix=no
15088
 
   need_version=no
 
19937
-  need_version=no
15089
19938
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15090
19939
   soname_spec='${libname}${release}${shared_ext}$major'
15091
19940
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15095
19944
-  # the default ld.so.conf also contains /usr/contrib/lib and
15096
19945
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15097
19946
-  # libtool to hard-code these into programs
15098
 
+  shlibpath_overrides_runpath=yes
15099
 
+  hardcode_into_libs=yes
15100
 
+  # ldd complains unless libraries are executable
15101
 
+  postinstall_cmds='chmod +x $lib'
15102
 
   ;;
15103
 
 
15104
 
-cygwin* | mingw* | pw32*)
 
19947
-  ;;
 
19948
-
 
19949
-cygwin* | mingw* | pw32* | cegcc*)
15105
19950
-  version_type=windows
15106
19951
-  shrext_cmds=".dll"
15107
19952
-  need_version=no
15108
19953
-  need_lib_prefix=no
15109
19954
-
15110
19955
-  case $GCC,$host_os in
15111
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
 
19956
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15112
19957
-    library_names_spec='$libname.dll.a'
15113
19958
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15114
19959
-    postinstall_cmds='base_file=`basename \${file}`~
15115
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
19960
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15116
19961
-      dldir=$destdir/`dirname \$dlpath`~
15117
19962
-      test -d \$dldir || mkdir -p \$dldir~
15118
19963
-      $install_prog $dir/$dlname \$dldir/$dlname~
15119
 
-      chmod a+x \$dldir/$dlname'
 
19964
-      chmod a+x \$dldir/$dlname~
 
19965
-      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
19966
-        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
19967
-      fi'
15120
19968
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15121
19969
-      dlpath=$dir/\$dldll~
15122
 
-       $rm \$dlpath'
 
19970
-       $RM \$dlpath'
15123
19971
-    shlibpath_overrides_runpath=yes
15124
 
+sunos4*)
15125
 
+  version_type=sunos
15126
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15127
 
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15128
 
+  shlibpath_var=LD_LIBRARY_PATH
15129
 
+  shlibpath_overrides_runpath=yes
15130
 
+  if test "$with_gnu_ld" = yes; then
15131
 
+    need_lib_prefix=no
15132
 
+  fi
15133
 
+  need_version=yes
15134
 
+  ;;
15135
 
 
 
19972
-
15136
19973
-    case $host_os in
15137
19974
-    cygwin*)
15138
19975
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15139
19976
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
15140
19977
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15141
 
+sysv4 | sysv4.3*)
15142
 
+  version_type=linux
15143
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15144
 
+  soname_spec='${libname}${release}${shared_ext}$major'
15145
 
+  shlibpath_var=LD_LIBRARY_PATH
15146
19978
+  case $host_vendor in
15147
19979
+    sni)
15148
19980
+      shlibpath_overrides_runpath=no
15149
19981
+      need_lib_prefix=no
15150
 
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
15151
19982
+      runpath_var=LD_RUN_PATH
15152
19983
       ;;
15153
 
-    mingw*)
 
19984
-    mingw* | cegcc*)
15154
19985
-      # MinGW DLLs use traditional 'lib' prefix
15155
19986
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
15156
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15157
 
-      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
 
19987
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
19988
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
15158
19989
-        # It is most probably a Windows format PATH printed by
15159
19990
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15160
19991
-        # path with ; separators, and with drive letters. We can handle the
15161
19992
-        # drive letters (cygwin fileutils understands them), so leave them,
15162
19993
-        # especially as we might pass files found there to a mingw objdump,
15163
19994
-        # which wouldn't understand a cygwinified path. Ahh.
15164
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
19995
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15165
19996
-      else
15166
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
19997
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15167
19998
-      fi
15168
19999
+    siemens)
15169
20000
+      need_lib_prefix=no
15194
20025
-  version_type=darwin
15195
20026
-  need_lib_prefix=no
15196
20027
-  need_version=no
15197
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
20028
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15198
20029
-  soname_spec='${libname}${release}${major}$shared_ext'
15199
20030
-  shlibpath_overrides_runpath=yes
15200
20031
-  shlibpath_var=DYLD_LIBRARY_PATH
15201
20032
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15202
 
-  m4_if([$1], [],[
15203
 
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
 
20033
-m4_if([$1], [],[
 
20034
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
15204
20035
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15205
20036
+sysv4*MP*)
15206
20037
+  if test -d /usr/nec ;then
15232
20063
-  # versioning mechanism, adjust this.
15233
20064
-  if test -x /usr/bin/objformat; then
15234
20065
-    objformat=`/usr/bin/objformat`
 
20066
+  shlibpath_overrides_runpath=yes
15235
20067
+  hardcode_into_libs=yes
15236
20068
+  if test "$with_gnu_ld" = yes; then
15237
20069
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15238
 
+    shlibpath_overrides_runpath=no
15239
20070
   else
15240
20071
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15241
 
+    shlibpath_overrides_runpath=yes
15242
20072
     case $host_os in
15243
20073
-    freebsd[[123]]*) objformat=aout ;;
15244
20074
-    *) objformat=elf ;;
15282
20112
   ;;
15283
20113
 
15284
20114
-gnu*)
15285
 
+uts4*)
 
20115
+tpf*)
 
20116
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15286
20117
   version_type=linux
15287
 
-  need_lib_prefix=no
15288
 
-  need_version=no
 
20118
   need_lib_prefix=no
 
20119
   need_version=no
15289
20120
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
20121
-  soname_spec='${libname}${release}${shared_ext}$major'
15290
20122
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15291
 
   soname_spec='${libname}${release}${shared_ext}$major'
15292
20123
   shlibpath_var=LD_LIBRARY_PATH
15293
 
-  hardcode_into_libs=yes
 
20124
+  shlibpath_overrides_runpath=no
 
20125
   hardcode_into_libs=yes
15294
20126
   ;;
15295
20127
 
15296
20128
-hpux9* | hpux10* | hpux11*)
15315
20147
-    fi
15316
20148
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15317
20149
-    ;;
15318
 
-   hppa*64*)
15319
 
-     shrext_cmds='.sl'
15320
 
-     hardcode_into_libs=yes
15321
 
-     dynamic_linker="$host_os dld.sl"
15322
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15323
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15324
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325
 
-     soname_spec='${libname}${release}${shared_ext}$major'
15326
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15327
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15328
 
-     ;;
15329
 
-   *)
 
20150
-  hppa*64*)
 
20151
-    shrext_cmds='.sl'
 
20152
-    hardcode_into_libs=yes
 
20153
-    dynamic_linker="$host_os dld.sl"
 
20154
-    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
20155
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
20156
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20157
-    soname_spec='${libname}${release}${shared_ext}$major'
 
20158
-    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
20159
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
20160
-    ;;
 
20161
-  *)
15330
20162
-    shrext_cmds='.sl'
15331
20163
-    dynamic_linker="$host_os dld.sl"
15332
20164
-    shlibpath_var=SHLIB_PATH
15337
20169
-  esac
15338
20170
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15339
20171
-  postinstall_cmds='chmod 555 $lib'
15340
 
+*)
15341
 
+  dynamic_linker=no
15342
 
   ;;
15343
 
+esac
15344
 
+AC_MSG_RESULT([$dynamic_linker])
15345
 
+test "$dynamic_linker" = no && can_build_shared=no
15346
 
 
 
20172
-  ;;
 
20173
-
15347
20174
-interix[[3-9]]*)
15348
 
-  version_type=linux
 
20175
+uts4*)
 
20176
   version_type=linux
15349
20177
-  need_lib_prefix=no
15350
20178
-  need_version=no
15351
20179
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15352
 
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20180
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20181
   soname_spec='${libname}${release}${shared_ext}$major'
15353
20182
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15354
 
-  shlibpath_var=LD_LIBRARY_PATH
 
20183
   shlibpath_var=LD_LIBRARY_PATH
15355
20184
-  shlibpath_overrides_runpath=no
15356
20185
-  hardcode_into_libs=yes
15357
20186
-  ;;
15358
 
+AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
15359
 
+[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
15360
 
+sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15361
 
+AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
15362
 
+[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
15363
 
+sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15364
 
 
 
20187
-
15365
20188
-irix5* | irix6* | nonstopux*)
15366
20189
-  case $host_os in
15367
20190
-    nonstopux*) version_type=nonstopux ;;
15397
20220
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15398
20221
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15399
20222
-  hardcode_into_libs=yes
15400
 
-  ;;
15401
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15402
 
+if test "$GCC" = yes; then
15403
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15404
 
+fi
15405
 
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
20223
   ;;
15406
20224
 
15407
20225
-# No shared lib support for Linux oldld, aout, or coff.
15408
20226
-linux*oldld* | linux*aout* | linux*coff*)
15409
 
-  dynamic_linker=no
15410
 
-  ;;
 
20227
+*)
 
20228
   dynamic_linker=no
 
20229
   ;;
 
20230
+esac
 
20231
+AC_MSG_RESULT([$dynamic_linker])
 
20232
+test "$dynamic_linker" = no && can_build_shared=no
15411
20233
 
15412
20234
-# This must be Linux ELF.
15413
20235
-linux* | k*bsd*-gnu)
15419
20241
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15420
20242
-  shlibpath_var=LD_LIBRARY_PATH
15421
20243
-  shlibpath_overrides_runpath=no
 
20244
-  # Some binutils ld are patched to set DT_RUNPATH
 
20245
-  save_LDFLAGS=$LDFLAGS
 
20246
-  save_libdir=$libdir
 
20247
-  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 
20248
-       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 
20249
-  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
20250
-    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 
20251
-       [shlibpath_overrides_runpath=yes])])
 
20252
-  LDFLAGS=$save_LDFLAGS
 
20253
-  libdir=$save_libdir
 
20254
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
20255
+if test "$GCC" = yes; then
 
20256
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
20257
+fi
 
20258
 
15422
20259
-  # This implies no fast_install, which is unacceptable.
15423
20260
-  # Some rework will be needed to allow for fast_install
15424
20261
-  # before this can be enabled.
15425
20262
-  hardcode_into_libs=yes
15426
 
+# _LT_AC_TAGCONFIG
15427
 
+# ----------------
15428
 
+AC_DEFUN([_LT_AC_TAGCONFIG],
15429
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
15430
 
+AC_ARG_WITH([tags],
15431
 
+    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
15432
 
+        [include additional configurations @<:@automatic@:>@])],
15433
 
+    [tagnames="$withval"])
 
20263
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20264
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20265
+fi
 
20266
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20267
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20268
+fi
15434
20269
 
15435
20270
-  # Append ld.so.conf contents to the search path
15436
20271
-  if test -f /etc/ld.so.conf; then
15437
 
-    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' ' '`
 
20272
-    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' ' '`
15438
20273
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15439
 
+if test -f "$ltmain" && test -n "$tagnames"; then
15440
 
+  if test ! -f "${ofile}"; then
15441
 
+    AC_MSG_WARN([output file `$ofile' does not exist])
15442
 
   fi
 
20274
-  fi
 
20275
+_LT_DECL([], [variables_saved_for_relink], [1],
 
20276
+    [Variables whose values should be saved in libtool wrapper scripts and
 
20277
+    restored at link time])
 
20278
+_LT_DECL([], [need_lib_prefix], [0],
 
20279
+    [Do we need the "lib" prefix for modules?])
 
20280
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 
20281
+_LT_DECL([], [version_type], [0], [Library versioning type])
 
20282
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 
20283
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 
20284
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
 
20285
+    [Is shlibpath searched before the hard-coded library search path?])
 
20286
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 
20287
+_LT_DECL([], [library_names_spec], [1],
 
20288
+    [[List of archive names.  First name is the real one, the rest are links.
 
20289
+    The last name is the one that the linker finds with -lNAME]])
 
20290
+_LT_DECL([], [soname_spec], [1],
 
20291
+    [[The coded name of the library, if different from the real name]])
 
20292
+_LT_DECL([], [postinstall_cmds], [2],
 
20293
+    [Command to use after installation of a shared archive])
 
20294
+_LT_DECL([], [postuninstall_cmds], [2],
 
20295
+    [Command to use after uninstallation of a shared archive])
 
20296
+_LT_DECL([], [finish_cmds], [2],
 
20297
+    [Commands used to finish a libtool library installation in a directory])
 
20298
+_LT_DECL([], [finish_eval], [1],
 
20299
+    [[As "finish_cmds", except a single script fragment to be evaled but
 
20300
+    not shown]])
 
20301
+_LT_DECL([], [hardcode_into_libs], [0],
 
20302
+    [Whether we should hardcode library paths into libraries])
 
20303
+_LT_DECL([], [sys_lib_search_path_spec], [2],
 
20304
+    [Compile-time system search path for libraries])
 
20305
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
 
20306
+    [Run-time system search path for libraries])
 
20307
+])# _LT_SYS_DYNAMIC_LINKER
15443
20308
 
15444
20309
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
15445
20310
-  # powerpc, because MkLinux only supported shared libraries with the
15449
20314
-  # assume the GNU/Linux dynamic linker is in use.
15450
20315
-  dynamic_linker='GNU/Linux ld.so'
15451
20316
-  ;;
15452
 
-
 
20317
 
15453
20318
-netbsd*)
15454
20319
-  version_type=sunos
15455
20320
-  need_lib_prefix=no
15456
20321
-  need_version=no
15457
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
20322
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15458
20323
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15459
20324
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15460
20325
-    dynamic_linker='NetBSD (a.out) ld.so'
15462
20327
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15463
20328
-    soname_spec='${libname}${release}${shared_ext}$major'
15464
20329
-    dynamic_linker='NetBSD ld.elf_so'
15465
 
+  if test -z "$LTCC"; then
15466
 
+    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15467
 
+    if test -z "$LTCC"; then
15468
 
+      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
15469
 
+    else
15470
 
+      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
15471
 
+    fi
15472
 
+  fi
15473
 
+  if test -z "$LTCFLAGS"; then
15474
 
+    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
15475
 
   fi
 
20330
-  fi
15476
20331
-  shlibpath_var=LD_LIBRARY_PATH
15477
20332
-  shlibpath_overrides_runpath=yes
15478
20333
-  hardcode_into_libs=yes
15479
 
-  ;;
15480
 
-
 
20334
+# _LT_PATH_TOOL_PREFIX(TOOL)
 
20335
+# --------------------------
 
20336
+# find a file program which can recognize shared library
 
20337
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 
20338
+[m4_require([_LT_DECL_EGREP])dnl
 
20339
+AC_MSG_CHECKING([for $1])
 
20340
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
20341
+[case $MAGIC_CMD in
 
20342
+[[\\/*] |  ?:[\\/]*])
 
20343
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
20344
   ;;
 
20345
+*)
 
20346
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
20347
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
20348
+dnl $ac_dummy forces splitting on constant user-supplied paths.
 
20349
+dnl POSIX.2 word splitting is done only on the output of word expansions,
 
20350
+dnl not every word.  This closes a longstanding sh security hole.
 
20351
+  ac_dummy="m4_if([$2], , $PATH, [$2])"
 
20352
+  for ac_dir in $ac_dummy; do
 
20353
+    IFS="$lt_save_ifs"
 
20354
+    test -z "$ac_dir" && ac_dir=.
 
20355
+    if test -f $ac_dir/$1; then
 
20356
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
20357
+      if test -n "$file_magic_test_file"; then
 
20358
+       case $deplibs_check_method in
 
20359
+       "file_magic "*)
 
20360
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
20361
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
20362
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
20363
+           $EGREP "$file_magic_regex" > /dev/null; then
 
20364
+           :
 
20365
+         else
 
20366
+           cat <<_LT_EOF 1>&2
 
20367
 
15481
20368
-newsos6)
15482
20369
-  version_type=linux
15483
20370
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484
20371
-  shlibpath_var=LD_LIBRARY_PATH
15485
20372
-  shlibpath_overrides_runpath=yes
15486
20373
-  ;;
 
20374
+*** Warning: the command libtool uses to detect shared libraries,
 
20375
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
20376
+*** The result is that libtool may fail to recognize shared libraries
 
20377
+*** as such.  This will affect the creation of libtool libraries that
 
20378
+*** depend on shared libraries, but programs linked with such libtool
 
20379
+*** libraries will work regardless of this problem.  Nevertheless, you
 
20380
+*** may want to report the problem to your system manager and/or to
 
20381
+*** bug-libtool@gnu.org
15487
20382
 
15488
 
-nto-qnx*)
15489
 
-  version_type=linux
 
20383
-*nto* | *qnx*)
 
20384
-  version_type=qnx
15490
20385
-  need_lib_prefix=no
15491
20386
-  need_version=no
15492
20387
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15493
20388
-  soname_spec='${libname}${release}${shared_ext}$major'
15494
20389
-  shlibpath_var=LD_LIBRARY_PATH
15495
 
-  shlibpath_overrides_runpath=yes
15496
 
-  ;;
15497
 
+  # Extract list of available tagged configurations in $ofile.
15498
 
+  # Note that this assumes the entire list is on one line.
15499
 
+  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
20390
-  shlibpath_overrides_runpath=no
 
20391
-  hardcode_into_libs=yes
 
20392
-  dynamic_linker='ldqnx.so'
 
20393
+_LT_EOF
 
20394
+         fi ;;
 
20395
+       esac
 
20396
+      fi
 
20397
+      break
 
20398
+    fi
 
20399
+  done
 
20400
+  IFS="$lt_save_ifs"
 
20401
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
20402
   ;;
 
20403
+esac])
 
20404
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
20405
+if test -n "$MAGIC_CMD"; then
 
20406
+  AC_MSG_RESULT($MAGIC_CMD)
 
20407
+else
 
20408
+  AC_MSG_RESULT(no)
 
20409
+fi
 
20410
+_LT_DECL([], [MAGIC_CMD], [0],
 
20411
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 
20412
+])# _LT_PATH_TOOL_PREFIX
15500
20413
 
15501
20414
-openbsd*)
15502
20415
-  version_type=sunos
15504
20417
-  need_lib_prefix=no
15505
20418
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15506
20419
-  case $host_os in
15507
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15508
 
-    *)                         need_version=no  ;;
15509
 
-  esac
 
20420
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
20421
-    *)                         need_version=no  ;;
 
20422
+# Old name:
 
20423
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 
20424
+dnl aclocal-1.4 backwards compatibility:
 
20425
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 
20426
+
 
20427
+
 
20428
+# _LT_PATH_MAGIC
 
20429
+# --------------
 
20430
+# find a file program which can recognize a shared library
 
20431
+m4_defun([_LT_PATH_MAGIC],
 
20432
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
20433
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
20434
+  if test -n "$ac_tool_prefix"; then
 
20435
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
20436
+  else
 
20437
+    MAGIC_CMD=:
 
20438
+  fi
 
20439
+fi
 
20440
+])# _LT_PATH_MAGIC
 
20441
+
 
20442
+
 
20443
+# LT_PATH_LD
 
20444
+# ----------
 
20445
+# find the pathname to the GNU or non-GNU linker
 
20446
+AC_DEFUN([LT_PATH_LD],
 
20447
+[AC_REQUIRE([AC_PROG_CC])dnl
 
20448
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
20449
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
20450
+m4_require([_LT_DECL_SED])dnl
 
20451
+m4_require([_LT_DECL_EGREP])dnl
 
20452
+
 
20453
+AC_ARG_WITH([gnu-ld],
 
20454
+    [AS_HELP_STRING([--with-gnu-ld],
 
20455
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
20456
+    [test "$withval" = no || with_gnu_ld=yes],
 
20457
+    [with_gnu_ld=no])dnl
 
20458
+
 
20459
+ac_prog=ld
 
20460
+if test "$GCC" = yes; then
 
20461
+  # Check if gcc -print-prog-name=ld gives a path.
 
20462
+  AC_MSG_CHECKING([for ld used by $CC])
 
20463
+  case $host in
 
20464
+  *-*-mingw*)
 
20465
+    # gcc leaves a trailing carriage return which upsets mingw
 
20466
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
20467
+  *)
 
20468
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
20469
   esac
15510
20470
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15511
20471
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15512
20472
-  shlibpath_var=LD_LIBRARY_PATH
15513
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
20473
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15514
20474
-    case $host_os in
15515
20475
-      openbsd2.[[89]] | openbsd2.[[89]].*)
15516
20476
-       shlibpath_overrides_runpath=no
15517
 
-       ;;
15518
 
-      *)
15519
 
-       shlibpath_overrides_runpath=yes
15520
 
+  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15521
 
+  for tagname in $tagnames; do
 
20477
+  case $ac_prog in
 
20478
+    # Accept absolute paths.
 
20479
+    [[\\/]]* | ?:[[\\/]]*)
 
20480
+      re_direlt='/[[^/]][[^/]]*/\.\./'
 
20481
+      # Canonicalize the pathname of ld
 
20482
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
20483
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
20484
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
20485
+      done
 
20486
+      test -z "$LD" && LD="$ac_prog"
 
20487
+      ;;
 
20488
+  "")
 
20489
+    # If it fails, then pretend we aren't using GCC.
 
20490
+    ac_prog=ld
 
20491
+    ;;
 
20492
+  *)
 
20493
+    # If it is relative, then search for the first ld in PATH.
 
20494
+    with_gnu_ld=unknown
 
20495
+    ;;
 
20496
+  esac
 
20497
+elif test "$with_gnu_ld" = yes; then
 
20498
+  AC_MSG_CHECKING([for GNU ld])
 
20499
+else
 
20500
+  AC_MSG_CHECKING([for non-GNU ld])
 
20501
+fi
 
20502
+AC_CACHE_VAL(lt_cv_path_LD,
 
20503
+[if test -z "$LD"; then
 
20504
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
20505
+  for ac_dir in $PATH; do
15522
20506
+    IFS="$lt_save_ifs"
15523
 
+    # Check whether tagname contains only valid characters
15524
 
+    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
15525
 
+    "") ;;
15526
 
+    *)  AC_MSG_ERROR([invalid tag name: $tagname])
15527
 
        ;;
15528
 
-      esac
15529
 
-  else
15530
 
-    shlibpath_overrides_runpath=yes
15531
 
-  fi
15532
 
-  ;;
15533
 
-
15534
 
-os2*)
15535
 
-  libname_spec='$name'
15536
 
-  shrext_cmds=".dll"
15537
 
-  need_lib_prefix=no
15538
 
-  library_names_spec='$libname${shared_ext} $libname.a'
15539
 
-  dynamic_linker='OS/2 ld.exe'
15540
 
-  shlibpath_var=LIBPATH
15541
 
-  ;;
15542
 
+    esac
15543
 
 
15544
 
-osf3* | osf4* | osf5*)
15545
 
-  version_type=osf
15546
 
-  need_lib_prefix=no
15547
 
-  need_version=no
15548
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15549
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550
 
-  shlibpath_var=LD_LIBRARY_PATH
15551
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15552
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15553
 
-  ;;
15554
 
+    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15555
 
+    then
15556
 
+      AC_MSG_ERROR([tag name \"$tagname\" already exists])
15557
 
+    fi
15558
 
 
15559
 
-rdos*)
15560
 
-  dynamic_linker=no
15561
 
-  ;;
15562
 
-
15563
 
-solaris*)
15564
 
-  version_type=linux
15565
 
-  need_lib_prefix=no
15566
 
-  need_version=no
15567
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15568
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15569
 
-  shlibpath_var=LD_LIBRARY_PATH
15570
 
-  shlibpath_overrides_runpath=yes
15571
 
-  hardcode_into_libs=yes
15572
 
-  # ldd complains unless libraries are executable
15573
 
-  postinstall_cmds='chmod +x $lib'
15574
 
-  ;;
15575
 
-
15576
 
-sunos4*)
15577
 
-  version_type=sunos
15578
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15579
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15580
 
-  shlibpath_var=LD_LIBRARY_PATH
15581
 
-  shlibpath_overrides_runpath=yes
15582
 
-  if test "$with_gnu_ld" = yes; then
15583
 
-    need_lib_prefix=no
15584
 
-  fi
15585
 
-  need_version=yes
15586
 
-  ;;
15587
 
-
15588
 
-sysv4 | sysv4.3*)
15589
 
-  version_type=linux
15590
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15591
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15592
 
-  shlibpath_var=LD_LIBRARY_PATH
15593
 
-  case $host_vendor in
15594
 
-    sni)
15595
 
-      shlibpath_overrides_runpath=no
15596
 
-      need_lib_prefix=no
15597
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
15598
 
-      runpath_var=LD_RUN_PATH
15599
 
-      ;;
15600
 
-    siemens)
15601
 
-      need_lib_prefix=no
15602
 
-      ;;
15603
 
-    motorola)
15604
 
-      need_lib_prefix=no
15605
 
-      need_version=no
15606
 
-      shlibpath_overrides_runpath=no
15607
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15608
 
-      ;;
15609
 
-  esac
15610
 
-  ;;
15611
 
-
15612
 
-sysv4*MP*)
15613
 
-  if test -d /usr/nec ;then
15614
 
-    version_type=linux
15615
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15616
 
-    soname_spec='$libname${shared_ext}.$major'
15617
 
-    shlibpath_var=LD_LIBRARY_PATH
15618
 
-  fi
15619
 
-  ;;
15620
 
-
15621
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15622
 
-  version_type=freebsd-elf
15623
 
-  need_lib_prefix=no
15624
 
-  need_version=no
15625
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15626
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15627
 
-  shlibpath_var=LD_LIBRARY_PATH
15628
 
-  hardcode_into_libs=yes
15629
 
-  if test "$with_gnu_ld" = yes; then
15630
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15631
 
-    shlibpath_overrides_runpath=no
15632
 
-  else
15633
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15634
 
-    shlibpath_overrides_runpath=yes
15635
 
-    case $host_os in
15636
 
-      sco3.2v5*)
15637
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15638
 
-       ;;
15639
 
-    esac
15640
 
-  fi
15641
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
15642
 
-  ;;
15643
 
-
15644
 
-uts4*)
15645
 
-  version_type=linux
15646
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647
 
-  soname_spec='${libname}${release}${shared_ext}$major'
15648
 
-  shlibpath_var=LD_LIBRARY_PATH
15649
 
-  ;;
15650
 
-
15651
 
-*)
15652
 
-  dynamic_linker=no
15653
 
-  ;;
15654
 
-esac
15655
 
-AC_MSG_RESULT([$dynamic_linker])
15656
 
-test "$dynamic_linker" = no && can_build_shared=no
15657
 
-
15658
 
-AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
15659
 
-[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
15660
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15661
 
-AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
15662
 
-[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
15663
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15664
 
-
15665
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15666
 
-if test "$GCC" = yes; then
15667
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15668
 
-fi
15669
 
-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
15670
 
-
15671
 
-
15672
 
-# _LT_AC_TAGCONFIG
15673
 
-# ----------------
15674
 
-AC_DEFUN([_LT_AC_TAGCONFIG],
15675
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
15676
 
-AC_ARG_WITH([tags],
15677
 
-    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
15678
 
-        [include additional configurations @<:@automatic@:>@])],
15679
 
-    [tagnames="$withval"])
15680
 
-
15681
 
-if test -f "$ltmain" && test -n "$tagnames"; then
15682
 
-  if test ! -f "${ofile}"; then
15683
 
-    AC_MSG_WARN([output file `$ofile' does not exist])
15684
 
-  fi
15685
 
-
15686
 
-  if test -z "$LTCC"; then
15687
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15688
 
-    if test -z "$LTCC"; then
15689
 
-      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
15690
 
-    else
15691
 
-      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
15692
 
-    fi
15693
 
-  fi
15694
 
-  if test -z "$LTCFLAGS"; then
15695
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
15696
 
-  fi
15697
 
-
15698
 
-  # Extract list of available tagged configurations in $ofile.
15699
 
-  # Note that this assumes the entire list is on one line.
15700
 
-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15701
 
-
15702
 
-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15703
 
-  for tagname in $tagnames; do
15704
 
-    IFS="$lt_save_ifs"
15705
 
-    # Check whether tagname contains only valid characters
15706
 
-    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
15707
 
-    "") ;;
15708
 
-    *)  AC_MSG_ERROR([invalid tag name: $tagname])
15709
 
-       ;;
15710
 
-    esac
15711
 
-
15712
 
-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15713
 
-    then
15714
 
-      AC_MSG_ERROR([tag name \"$tagname\" already exists])
15715
 
-    fi
15716
 
-
15717
 
-    # Update the list of available tags.
15718
 
-    if test -n "$tagname"; then
15719
 
-      echo appending configuration tag \"$tagname\" to $ofile
15720
 
+    # Update the list of available tags.
15721
 
+    if test -n "$tagname"; then
15722
 
+      echo appending configuration tag \"$tagname\" to $ofile
15723
 
 
15724
 
       case $tagname in
15725
 
       CXX)
15726
 
@@ -3380,7 +2516,7 @@
15727
 
   lt_cv_deplibs_check_method=pass_all
15728
 
   ;;
15729
 
 
15730
 
-netbsd*)
15731
 
+netbsd* | netbsdelf*-gnu)
15732
 
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15733
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
15734
 
   else
15735
 
@@ -4387,7 +3523,7 @@
15736
 
        ;;
15737
 
     esac
15738
 
     ;;
15739
 
-  netbsd*)
15740
 
+  netbsd* | netbsdelf*-gnu)
15741
 
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15742
 
       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15743
 
       wlarc=
15744
 
@@ -6079,7 +5215,7 @@
15745
 
            ;;
15746
 
        esac
15747
 
        ;;
15748
 
-      netbsd*)
15749
 
+      netbsd* | netbsdelf*-gnu)
15750
 
        ;;
15751
 
       osf3* | osf4* | osf5*)
15752
 
        case $cc_basename in
15753
 
@@ -6177,1357 +5313,2243 @@
15754
 
       ;;
15755
 
 
15756
 
     amigaos*)
15757
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
15758
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
15759
 
-      # like `-m68040'.
15760
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
15761
 
+      # FIXME: we need at least 68020 code to build shared libraries, but
15762
 
+      # adding the `-m68020' flag to GCC prevents building anything better,
15763
 
+      # like `-m68040'.
15764
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
15765
 
+      ;;
15766
 
+
15767
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15768
 
+      # PIC is the default for these OSes.
15769
 
+      ;;
15770
 
+
15771
 
+    mingw* | cygwin* | pw32* | os2*)
15772
 
+      # This hack is so that the source file can tell whether it is being
15773
 
+      # built for inclusion in a dll (and should export symbols for example).
15774
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15775
 
+      # (--disable-auto-import) libraries
15776
 
+      m4_if([$1], [GCJ], [],
15777
 
+       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
15778
 
+      ;;
15779
 
+
15780
 
+    darwin* | rhapsody*)
15781
 
+      # PIC is the default on this platform
15782
 
+      # Common symbols not allowed in MH_DYLIB files
15783
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
15784
 
+      ;;
15785
 
+
15786
 
+    interix[[3-9]]*)
15787
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15788
 
+      # Instead, we relocate shared libraries at runtime.
15789
 
+      ;;
15790
 
+
15791
 
+    msdosdjgpp*)
15792
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
15793
 
+      # on systems that don't support them.
15794
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
15795
 
+      enable_shared=no
15796
 
+      ;;
15797
 
+
15798
 
+    sysv4*MP*)
15799
 
+      if test -d /usr/nec; then
15800
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
15801
 
+      fi
15802
 
+      ;;
15803
 
+
15804
 
+    hpux*)
15805
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15806
 
+      # not for PA HP-UX.
15807
 
+      case $host_cpu in
15808
 
+      hppa*64*|ia64*)
15809
 
+       # +Z the default
15810
 
+       ;;
15811
 
+      *)
15812
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
15813
 
+       ;;
15814
 
+      esac
15815
 
+      ;;
15816
 
+
15817
 
+    *)
15818
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
15819
 
+      ;;
15820
 
+    esac
15821
 
+  else
15822
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
15823
 
+    case $host_os in
15824
 
+    aix*)
15825
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15826
 
+      if test "$host_cpu" = ia64; then
15827
 
+       # AIX 5 now supports IA64 processor
15828
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15829
 
+      else
15830
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
15831
 
+      fi
15832
 
+      ;;
15833
 
+      darwin*)
15834
 
+        # PIC is the default on this platform
15835
 
+        # Common symbols not allowed in MH_DYLIB files
15836
 
+       case $cc_basename in
15837
 
+         xlc*)
15838
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
15839
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15840
 
+         ;;
15841
 
+       esac
15842
 
+       ;;
15843
 
+
15844
 
+    mingw* | cygwin* | pw32* | os2*)
15845
 
+      # This hack is so that the source file can tell whether it is being
15846
 
+      # built for inclusion in a dll (and should export symbols for example).
15847
 
+      m4_if([$1], [GCJ], [],
15848
 
+       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
15849
 
+      ;;
15850
 
+
15851
 
+    hpux9* | hpux10* | hpux11*)
15852
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15853
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15854
 
+      # not for PA HP-UX.
15855
 
+      case $host_cpu in
15856
 
+      hppa*64*|ia64*)
15857
 
+       # +Z the default
15858
 
+       ;;
15859
 
+      *)
15860
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
15861
 
+       ;;
15862
 
+      esac
15863
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15864
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
15865
 
+      ;;
15866
 
+
15867
 
+    irix5* | irix6* | nonstopux*)
15868
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15869
 
+      # PIC (with -KPIC) is the default.
15870
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
15871
 
+      ;;
15872
 
+
15873
 
+    newsos6)
15874
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15875
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15876
 
+      ;;
15877
 
+
15878
 
+    linux* | k*bsd*-gnu)
15879
 
+      case $cc_basename in
15880
 
+      icc* | ecc*)
15881
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15882
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15883
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
15884
 
+        ;;
15885
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
15886
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
15887
 
+       # which looks to be a dead project)
15888
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15889
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
15890
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15891
 
+        ;;
15892
 
+      ccc*)
15893
 
+        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15894
 
+        # All Alpha code is PIC.
15895
 
+        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
15896
 
+        ;;
15897
 
+      *)
15898
 
+        case `$CC -V 2>&1 | sed 5q` in
15899
 
+       *Sun\ C*)
15900
 
+         # Sun C 5.9
15901
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15902
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15903
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15904
 
+         ;;
15905
 
+       *Sun\ F*)
15906
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
15907
 
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15908
 
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15909
 
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
15910
 
+         ;;
15911
 
+       esac
15912
 
+       ;;
15913
 
+      esac
15914
 
+      ;;
15915
 
+
15916
 
+    osf3* | osf4* | osf5*)
15917
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15918
 
+      # All OSF/1 code is PIC.
15919
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
15920
 
+      ;;
15921
 
+
15922
 
+    rdos*)
15923
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
15924
 
+      ;;
15925
 
+
15926
 
+    solaris*)
15927
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15928
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15929
 
+      case $cc_basename in
15930
 
+      f77* | f90* | f95*)
15931
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
15932
 
+      *)
15933
 
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
15934
 
+      esac
15935
 
+      ;;
15936
 
+
15937
 
+    sunos4*)
15938
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
15939
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
15940
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15941
 
+      ;;
15942
 
+
15943
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
15944
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15945
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15946
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15947
 
+      ;;
15948
 
+
15949
 
+    sysv4*MP*)
15950
 
+      if test -d /usr/nec ;then
15951
 
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
15952
 
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15953
 
+      fi
15954
 
+      ;;
15955
 
+
15956
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15957
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15958
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
15959
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15960
 
+      ;;
15961
 
+
15962
 
+    unicos*)
15963
 
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
15964
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
15965
 
+      ;;
15966
 
+
15967
 
+    uts4*)
15968
 
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
15969
 
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
15970
 
+      ;;
15971
 
+
15972
 
+    *)
15973
 
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
15974
 
+      ;;
15975
 
+    esac
15976
 
+  fi
15977
 
+])
15978
 
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
15979
 
+
15980
 
+#
15981
 
+# Check to make sure the PIC flag actually works.
15982
 
+#
15983
 
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
15984
 
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
15985
 
+    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
15986
 
+    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
15987
 
+    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
15988
 
+     "" | " "*) ;;
15989
 
+     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
15990
 
+     esac],
15991
 
+    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
15992
 
+     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
15993
 
+fi
15994
 
+case $host_os in
15995
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
15996
 
+  *djgpp*)
15997
 
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
15998
 
+    ;;
15999
 
+  *)
16000
 
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
16001
 
+    ;;
16002
 
+esac
16003
 
+
16004
 
+#
16005
 
+# Check to make sure the static flag actually works.
16006
 
+#
16007
 
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
16008
 
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
16009
 
+  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
16010
 
+  $lt_tmp_static_flag,
16011
 
+  [],
16012
 
+  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
16013
 
+])
16014
 
+
16015
 
+
16016
 
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
16017
 
+# ------------------------------------
16018
 
+# See if the linker supports building shared libraries.
16019
 
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
16020
 
+[AC_REQUIRE([LT_AC_PROG_SED])dnl
16021
 
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
16022
 
+ifelse([$1],[CXX],[
16023
 
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16024
 
+  case $host_os in
16025
 
+  aix[[4-9]]*)
16026
 
+    # If we're using GNU nm, then we don't want the "-C" option.
16027
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
16028
 
+    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16029
 
+      _LT_AC_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'
16030
 
+    else
16031
 
+      _LT_AC_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'
16032
 
+    fi
16033
 
+    ;;
16034
 
+  pw32*)
16035
 
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
16036
 
+  ;;
16037
 
+  cygwin* | mingw*)
16038
 
+    _LT_AC_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'
16039
 
+  ;;
16040
 
+  linux* | k*bsd*-gnu)
16041
 
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
16042
 
+  ;;
16043
 
+  *)
16044
 
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16045
 
+  ;;
16046
 
+  esac
16047
 
+  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
16048
 
+],[
16049
 
+  runpath_var=
16050
 
+  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
16051
 
+  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
16052
 
+  _LT_AC_TAGVAR(archive_cmds, $1)=
16053
 
+  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
16054
 
+  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
16055
 
+  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
16056
 
+  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
16057
 
+  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16058
 
+  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
16059
 
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16060
 
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
16061
 
+  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16062
 
+  _LT_AC_TAGVAR(hardcode_direct, $1)=no
16063
 
+  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
16064
 
+  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16065
 
+  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
16066
 
+  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
16067
 
+  _LT_AC_TAGVAR(module_cmds, $1)=
16068
 
+  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
16069
 
+  _LT_AC_TAGVAR(always_export_symbols, $1)=no
16070
 
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16071
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
16072
 
+  # included in the symbol list
16073
 
+  _LT_AC_TAGVAR(include_expsyms, $1)=
16074
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
16075
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16076
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16077
 
+  # as well as any symbol that contains `d'.
16078
 
+  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
16079
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16080
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
16081
 
+  # the symbol is explicitly referenced.  Since portable code cannot
16082
 
+  # rely on this symbol name, it's probably fine to never include it in
16083
 
+  # preloaded symbol tables.
16084
 
+  # Exclude shared library initialization/finalization symbols.
16085
 
+dnl Note also adjust exclude_expsyms for C++ above.
16086
 
+  extract_expsyms_cmds=
16087
 
+  # Just being paranoid about ensuring that cc_basename is set.
16088
 
+  _LT_CC_BASENAME([$compiler])
16089
 
+  case $host_os in
16090
 
+  cygwin* | mingw* | pw32*)
16091
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16092
 
+    # When not using gcc, we currently assume that we are using
16093
 
+    # Microsoft Visual C++.
16094
 
+    if test "$GCC" != yes; then
16095
 
+      with_gnu_ld=no
16096
 
+    fi
16097
 
+    ;;
16098
 
+  interix*)
16099
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
16100
 
+    with_gnu_ld=yes
16101
 
+    ;;
16102
 
+  openbsd*)
16103
 
+    with_gnu_ld=no
16104
 
+    ;;
16105
 
+  esac
16106
 
+
16107
 
+  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
16108
 
+  if test "$with_gnu_ld" = yes; then
16109
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
16110
 
+    wlarc='${wl}'
16111
 
+
16112
 
+    # Set some defaults for GNU ld with shared library support. These
16113
 
+    # are reset later if shared libraries are not supported. Putting them
16114
 
+    # here allows them to be overridden if necessary.
16115
 
+    runpath_var=LD_RUN_PATH
16116
 
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
16117
 
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
16118
 
+    # ancient GNU ld didn't support --whole-archive et. al.
16119
 
+    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16120
 
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16121
 
+      else
16122
 
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16123
 
+    fi
16124
 
+    supports_anon_versioning=no
16125
 
+    case `$LD -v 2>/dev/null` in
16126
 
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
16127
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16128
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16129
 
+      *\ 2.11.*) ;; # other 2.11 versions
16130
 
+      *) supports_anon_versioning=yes ;;
16131
 
+    esac
16132
 
+
16133
 
+    # See if GNU ld supports shared libraries.
16134
 
+    case $host_os in
16135
 
+    aix[[3-9]]*)
16136
 
+      # On AIX/PPC, the GNU linker is very broken
16137
 
+      if test "$host_cpu" != ia64; then
16138
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16139
 
+       cat <<EOF 1>&2
16140
 
+
16141
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16142
 
+*** to be unable to reliably create shared libraries on AIX.
16143
 
+*** Therefore, libtool is disabling shared libraries support.  If you
16144
 
+*** really care for shared libraries, you may want to modify your PATH
16145
 
+*** so that a non-GNU linker is found, and then restart.
16146
 
+
16147
 
+EOF
16148
 
+      fi
16149
 
+      ;;
16150
 
+
16151
 
+    amigaos*)
16152
 
+      _LT_AC_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)'
16153
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16154
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16155
 
+
16156
 
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16157
 
+      # that the semantics of dynamic libraries on AmigaOS, at least up
16158
 
+      # to version 4, is to share data among multiple programs linked
16159
 
+      # with the same dynamic library.  Since this doesn't match the
16160
 
+      # behavior of shared libraries on other platforms, we can't use
16161
 
+      # them.
16162
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
16163
 
+      ;;
16164
 
+
16165
 
+    beos*)
16166
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16167
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16168
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16169
 
+       # support --undefined.  This deserves some investigation.  FIXME
16170
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16171
 
+      else
16172
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16173
 
+      fi
16174
 
+      ;;
16175
 
+
16176
 
+    cygwin* | mingw* | pw32*)
16177
 
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
16178
 
+      # as there is no search path for DLLs.
16179
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16180
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16181
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=no
16182
 
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
16183
 
+      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
16184
 
+
16185
 
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16186
 
+        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16187
 
+       # If the export-symbols file already is a .def file (1st line
16188
 
+       # is EXPORTS), use it as is; otherwise, prepend...
16189
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16190
 
+         cp $export_symbols $output_objdir/$soname.def;
16191
 
+       else
16192
 
+         echo EXPORTS > $output_objdir/$soname.def;
16193
 
+         cat $export_symbols >> $output_objdir/$soname.def;
16194
 
+       fi~
16195
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16196
 
+      else
16197
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16198
 
+      fi
16199
 
+      ;;
16200
 
+
16201
 
+    interix[[3-9]]*)
16202
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
16203
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16204
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16205
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16206
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16207
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
16208
 
+      # default) and relocated if they conflict, which is a slow very memory
16209
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
16210
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16211
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16212
 
+      _LT_AC_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'
16213
 
+      _LT_AC_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'
16214
 
+      ;;
16215
 
+
16216
 
+    gnu* | linux* | k*bsd*-gnu)
16217
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16218
 
+       tmp_addflag=
16219
 
+       case $cc_basename,$host_cpu in
16220
 
+       pgcc*)                          # Portland Group C compiler
16221
 
+         _LT_AC_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'
16222
 
+         tmp_addflag=' $pic_flag'
16223
 
+         ;;
16224
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16225
 
+         _LT_AC_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'
16226
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
16227
 
+       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16228
 
+         tmp_addflag=' -i_dynamic' ;;
16229
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16230
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
16231
 
+       ifc* | ifort*)                  # Intel Fortran compiler
16232
 
+         tmp_addflag=' -nofor_main' ;;
16233
 
+       esac
16234
 
+       case `$CC -V 2>&1 | sed 5q` in
16235
 
+       *Sun\ C*)                       # Sun C 5.9
16236
 
+         _LT_AC_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'
16237
 
+         tmp_sharedflag='-G' ;;
16238
 
+       *Sun\ F*)                       # Sun Fortran 8.3
16239
 
+         tmp_sharedflag='-G' ;;
16240
 
+       *)
16241
 
+         tmp_sharedflag='-shared' ;;
16242
 
+       esac
16243
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16244
 
+
16245
 
+       if test $supports_anon_versioning = yes; then
16246
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
16247
 
+  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16248
 
+  $echo "local: *; };" >> $output_objdir/$libname.ver~
16249
 
+         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16250
 
+       fi
16251
 
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=no
16252
 
+      else
16253
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16254
 
+      fi
16255
 
+      ;;
16256
 
+
16257
 
+    netbsd* | netbsdelf*-gnu)
16258
 
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16259
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16260
 
+       wlarc=
16261
 
+      else
16262
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16263
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16264
 
+      fi
16265
 
+      ;;
16266
 
+
16267
 
+    solaris*)
16268
 
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16269
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16270
 
+       cat <<EOF 1>&2
16271
 
+
16272
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16273
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
16274
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
16275
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
16276
 
+*** your PATH or compiler configuration so that the native linker is
16277
 
+*** used, and then restart.
16278
 
+
16279
 
+EOF
16280
 
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16281
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16282
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16283
 
+      else
16284
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16285
 
+      fi
16286
 
+      ;;
16287
 
+
16288
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16289
 
+      case `$LD -v 2>&1` in
16290
 
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
16291
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16292
 
+       cat <<_LT_EOF 1>&2
16293
 
+
16294
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16295
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
16296
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
16297
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16298
 
+*** your PATH or compiler configuration so that the native linker is
16299
 
+*** used, and then restart.
16300
 
+
16301
 
+_LT_EOF
16302
 
+       ;;
16303
 
+       *)
16304
 
+         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16305
 
+           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16306
 
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16307
 
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16308
 
+         else
16309
 
+           _LT_AC_TAGVAR(ld_shlibs, $1)=no
16310
 
+         fi
16311
 
+       ;;
16312
 
+      esac
16313
 
+      ;;
16314
 
+
16315
 
+    sunos4*)
16316
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16317
 
+      wlarc=
16318
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16319
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16320
 
+      ;;
16321
 
+
16322
 
+    *)
16323
 
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16324
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16325
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16326
 
+      else
16327
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16328
 
+      fi
16329
 
+      ;;
16330
 
+    esac
16331
 
+
16332
 
+    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
16333
 
+      runpath_var=
16334
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
16335
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
16336
 
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
16337
 
+    fi
16338
 
+  else
16339
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
16340
 
+    case $host_os in
16341
 
+    aix3*)
16342
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16343
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16344
 
+      _LT_AC_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'
16345
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
16346
 
+      # are no directories specified by -L.
16347
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16348
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16349
 
+       # Neither direct hardcoding nor static linking is supported with a
16350
 
+       # broken collect2.
16351
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
16352
 
+      fi
16353
 
+      ;;
16354
 
+
16355
 
+    aix[[4-9]]*)
16356
 
+      if test "$host_cpu" = ia64; then
16357
 
+       # On IA64, the linker does run time linking by default, so we don't
16358
 
+       # have to do anything special.
16359
 
+       aix_use_runtimelinking=no
16360
 
+       exp_sym_flag='-Bexport'
16361
 
+       no_entry_flag=""
16362
 
+      else
16363
 
+       # If we're using GNU nm, then we don't want the "-C" option.
16364
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
16365
 
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16366
 
+         _LT_AC_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'
16367
 
+       else
16368
 
+         _LT_AC_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'
16369
 
+       fi
16370
 
+       aix_use_runtimelinking=no
16371
 
+
16372
 
+       # Test if we are trying to use run time linking or normal
16373
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16374
 
+       # need to do runtime linking.
16375
 
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
16376
 
+         for ld_flag in $LDFLAGS; do
16377
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16378
 
+           aix_use_runtimelinking=yes
16379
 
+           break
16380
 
+         fi
16381
 
+         done
16382
 
+         ;;
16383
 
+       esac
16384
 
+
16385
 
+       exp_sym_flag='-bexport'
16386
 
+       no_entry_flag='-bnoentry'
16387
 
+      fi
16388
 
+
16389
 
+      # When large executables or shared objects are built, AIX ld can
16390
 
+      # have problems creating the table of contents.  If linking a library
16391
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
16392
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
16393
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16394
 
+
16395
 
+      _LT_AC_TAGVAR(archive_cmds, $1)=''
16396
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16397
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
16398
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16399
 
+
16400
 
+      if test "$GCC" = yes; then
16401
 
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
16402
 
+       # We only want to do this on AIX 4.2 and lower, the check
16403
 
+       # below for broken collect2 doesn't work under 4.3+
16404
 
+         collect2name=`${CC} -print-prog-name=collect2`
16405
 
+         if test -f "$collect2name" && \
16406
 
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
16407
 
+         then
16408
 
+         # We have reworked collect2
16409
 
+         :
16410
 
+         else
16411
 
+         # We have old collect2
16412
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
16413
 
+         # It fails to find uninstalled libraries when the uninstalled
16414
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
16415
 
+         # to unsupported forces relinking
16416
 
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16417
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16418
 
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
16419
 
+         fi
16420
 
+         ;;
16421
 
+       esac
16422
 
+       shared_flag='-shared'
16423
 
+       if test "$aix_use_runtimelinking" = yes; then
16424
 
+         shared_flag="$shared_flag "'${wl}-G'
16425
 
+       fi
16426
 
+      else
16427
 
+       # not using gcc
16428
 
+       if test "$host_cpu" = ia64; then
16429
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16430
 
+       # chokes on -Wl,-G. The following line is correct:
16431
 
+         shared_flag='-G'
16432
 
+       else
16433
 
+         if test "$aix_use_runtimelinking" = yes; then
16434
 
+           shared_flag='${wl}-G'
16435
 
+         else
16436
 
+           shared_flag='${wl}-bM:SRE'
16437
 
+         fi
16438
 
+       fi
16439
 
+      fi
16440
 
+
16441
 
+      # It seems that -bexpall does not export symbols beginning with
16442
 
+      # underscore (_), so it is better to generate a list of symbols to export.
16443
 
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
16444
 
+      if test "$aix_use_runtimelinking" = yes; then
16445
 
+       # Warning - without using the other runtime loading flags (-brtl),
16446
 
+       # -berok will link without error, but may produce a broken library.
16447
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
16448
 
+       # Determine the default libpath from the value encoded in an empty executable.
16449
 
+       _LT_AC_SYS_LIBPATH_AIX
16450
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16451
 
+       _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16452
 
+       else
16453
 
+       if test "$host_cpu" = ia64; then
16454
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
16455
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
16456
 
+         _LT_AC_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"
16457
 
+       else
16458
 
+        # Determine the default libpath from the value encoded in an empty executable.
16459
 
+        _LT_AC_SYS_LIBPATH_AIX
16460
 
+        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
16461
 
+         # Warning - without using the other run time loading flags,
16462
 
+         # -berok will link without error, but may produce a broken library.
16463
 
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
16464
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
16465
 
+         # Exported symbols can be pulled into shared objects from archives
16466
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
16467
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16468
 
+         # This is similar to how AIX traditionally builds its shared libraries.
16469
 
+         _LT_AC_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'
16470
 
+       fi
16471
 
+      fi
16472
 
+      ;;
16473
 
+
16474
 
+    amigaos*)
16475
 
+      _LT_AC_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)'
16476
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16477
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16478
 
+      # see comment about different semantics on the GNU ld section
16479
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
16480
 
       ;;
16481
 
 
16482
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16483
 
-      # PIC is the default for these OSes.
16484
 
+    bsdi[[45]]*)
16485
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
16486
 
       ;;
16487
 
 
16488
 
-    mingw* | cygwin* | pw32* | os2*)
16489
 
-      # This hack is so that the source file can tell whether it is being
16490
 
-      # built for inclusion in a dll (and should export symbols for example).
16491
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16492
 
-      # (--disable-auto-import) libraries
16493
 
-      m4_if([$1], [GCJ], [],
16494
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
16495
 
+    cygwin* | mingw* | pw32*)
16496
 
+      # When not using gcc, we currently assume that we are using
16497
 
+      # Microsoft Visual C++.
16498
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
16499
 
+      # no search path for DLLs.
16500
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
16501
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16502
 
+      # Tell ltmain to make .lib files, not .a files.
16503
 
+      libext=lib
16504
 
+      # Tell ltmain to make .dll files, not .so files.
16505
 
+      shrext_cmds=".dll"
16506
 
+      # FIXME: Setting linknames here is a bad hack.
16507
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16508
 
+      # The linker will automatically build a .lib file if we build a DLL.
16509
 
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
16510
 
+      # FIXME: Should let the user specify the lib program.
16511
 
+      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
16512
 
+      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
16513
 
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
16514
 
       ;;
16515
 
 
16516
 
     darwin* | rhapsody*)
16517
 
-      # PIC is the default on this platform
16518
 
-      # Common symbols not allowed in MH_DYLIB files
16519
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
16520
 
+      case $host_os in
16521
 
+        rhapsody* | darwin1.[[012]])
16522
 
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
16523
 
+         ;;
16524
 
+       *) # Darwin 1.3 on
16525
 
+         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16526
 
+           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16527
 
+         else
16528
 
+           case ${MACOSX_DEPLOYMENT_TARGET} in
16529
 
+             10.[[012]])
16530
 
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16531
 
+               ;;
16532
 
+             10.*)
16533
 
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
16534
 
+               ;;
16535
 
+           esac
16536
 
+         fi
16537
 
+         ;;
16538
 
+      esac
16539
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16540
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
16541
 
+      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
16542
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
16543
 
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
16544
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16545
 
+    if test "$GCC" = yes ; then
16546
 
+       output_verbose_link_cmd='echo'
16547
 
+        _LT_AC_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}"
16548
 
+        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16549
 
+        _LT_AC_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}"
16550
 
+        _LT_AC_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}"
16551
 
+    else
16552
 
+      case $cc_basename in
16553
 
+        xlc*)
16554
 
+         output_verbose_link_cmd='echo'
16555
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16556
 
+         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16557
 
+          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16558
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16559
 
+          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16560
 
+          ;;
16561
 
+       *)
16562
 
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
16563
 
+          ;;
16564
 
+      esac
16565
 
+    fi
16566
 
       ;;
16567
 
 
16568
 
-    interix[[3-9]]*)
16569
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16570
 
-      # Instead, we relocate shared libraries at runtime.
16571
 
+    dgux*)
16572
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16573
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16574
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16575
 
       ;;
16576
 
 
16577
 
-    msdosdjgpp*)
16578
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
16579
 
-      # on systems that don't support them.
16580
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
16581
 
-      enable_shared=no
16582
 
+    freebsd1*)
16583
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
16584
 
       ;;
16585
 
 
16586
 
-    sysv4*MP*)
16587
 
-      if test -d /usr/nec; then
16588
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
16589
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16590
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
16591
 
+    # does not break anything, and helps significantly (at the cost of a little
16592
 
+    # extra space).
16593
 
+    freebsd2.2*)
16594
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16595
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16596
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16597
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16598
 
+      ;;
16599
 
+
16600
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16601
 
+    freebsd2*)
16602
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16603
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16604
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16605
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16606
 
+      ;;
16607
 
+
16608
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16609
 
+    freebsd* | dragonfly*)
16610
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16611
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16612
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16613
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16614
 
+      ;;
16615
 
+
16616
 
+    hpux9*)
16617
 
+      if test "$GCC" = yes; then
16618
 
+       _LT_AC_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'
16619
 
+      else
16620
 
+       _LT_AC_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'
16621
 
       fi
16622
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16623
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16624
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16625
 
+
16626
 
+      # hardcode_minus_L: Not really in the search PATH,
16627
 
+      # but as the default location of the library.
16628
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16629
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16630
 
       ;;
16631
 
 
16632
 
-    hpux*)
16633
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16634
 
-      # not for PA HP-UX.
16635
 
-      case $host_cpu in
16636
 
-      hppa*64*|ia64*)
16637
 
-       # +Z the default
16638
 
-       ;;
16639
 
-      *)
16640
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16641
 
-       ;;
16642
 
-      esac
16643
 
+    hpux10*)
16644
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16645
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16646
 
+      else
16647
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16648
 
+      fi
16649
 
+      if test "$with_gnu_ld" = no; then
16650
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16651
 
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16652
 
+
16653
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16654
 
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16655
 
+
16656
 
+       # hardcode_minus_L: Not really in the search PATH,
16657
 
+       # but as the default location of the library.
16658
 
+       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16659
 
+      fi
16660
 
       ;;
16661
 
 
16662
 
-    *)
16663
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
16664
 
+    hpux11*)
16665
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16666
 
+       case $host_cpu in
16667
 
+       hppa*64*)
16668
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16669
 
+         ;;
16670
 
+       ia64*)
16671
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16672
 
+         ;;
16673
 
+       *)
16674
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16675
 
+         ;;
16676
 
+       esac
16677
 
+      else
16678
 
+       case $host_cpu in
16679
 
+       hppa*64*)
16680
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16681
 
+         ;;
16682
 
+       ia64*)
16683
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16684
 
+         ;;
16685
 
+       *)
16686
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16687
 
+         ;;
16688
 
+       esac
16689
 
+      fi
16690
 
+      if test "$with_gnu_ld" = no; then
16691
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
16692
 
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16693
 
+
16694
 
+       case $host_cpu in
16695
 
+       hppa*64*|ia64*)
16696
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
16697
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
16698
 
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16699
 
+         ;;
16700
 
+       *)
16701
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16702
 
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16703
 
+
16704
 
+         # hardcode_minus_L: Not really in the search PATH,
16705
 
+         # but as the default location of the library.
16706
 
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16707
 
+         ;;
16708
 
+       esac
16709
 
+      fi
16710
 
       ;;
16711
 
-    esac
16712
 
-  else
16713
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
16714
 
-    case $host_os in
16715
 
-    aix*)
16716
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16717
 
-      if test "$host_cpu" = ia64; then
16718
 
-       # AIX 5 now supports IA64 processor
16719
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16720
 
+
16721
 
+    irix5* | irix6* | nonstopux*)
16722
 
+      if test "$GCC" = yes; then
16723
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16724
 
       else
16725
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
16726
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16727
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
16728
 
       fi
16729
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16730
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16731
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16732
 
       ;;
16733
 
-      darwin*)
16734
 
-        # PIC is the default on this platform
16735
 
-        # Common symbols not allowed in MH_DYLIB files
16736
 
-       case $cc_basename in
16737
 
-         xlc*)
16738
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
16739
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16740
 
-         ;;
16741
 
-       esac
16742
 
-       ;;
16743
 
 
16744
 
-    mingw* | cygwin* | pw32* | os2*)
16745
 
-      # This hack is so that the source file can tell whether it is being
16746
 
-      # built for inclusion in a dll (and should export symbols for example).
16747
 
-      m4_if([$1], [GCJ], [],
16748
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
16749
 
+    netbsd* | netbsdelf*-gnu)
16750
 
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16751
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16752
 
+      else
16753
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16754
 
+      fi
16755
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16756
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16757
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16758
 
       ;;
16759
 
 
16760
 
-    hpux9* | hpux10* | hpux11*)
16761
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16762
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16763
 
-      # not for PA HP-UX.
16764
 
-      case $host_cpu in
16765
 
-      hppa*64*|ia64*)
16766
 
-       # +Z the default
16767
 
-       ;;
16768
 
-      *)
16769
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
16770
 
-       ;;
16771
 
-      esac
16772
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16773
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
16774
 
+    newsos6)
16775
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16776
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16777
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16778
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16779
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16780
 
       ;;
16781
 
 
16782
 
-    irix5* | irix6* | nonstopux*)
16783
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16784
 
-      # PIC (with -KPIC) is the default.
16785
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16786
 
+    openbsd*)
16787
 
+      if test -f /usr/libexec/ld.so; then
16788
 
+       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16789
 
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16790
 
+       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16791
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16792
 
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16793
 
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16794
 
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
16795
 
+       else
16796
 
+         case $host_os in
16797
 
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
16798
 
+            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16799
 
+            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16800
 
+            ;;
16801
 
+          *)
16802
 
+            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16803
 
+            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
16804
 
+            ;;
16805
 
+         esac
16806
 
+        fi
16807
 
+      else
16808
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
16809
 
+      fi
16810
 
       ;;
16811
 
 
16812
 
-    newsos6)
16813
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16814
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16815
 
+    os2*)
16816
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16817
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16818
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
16819
 
+      _LT_AC_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'
16820
 
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16821
 
       ;;
16822
 
 
16823
 
-    linux* | k*bsd*-gnu)
16824
 
-      case $cc_basename in
16825
 
-      icc* | ecc*)
16826
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16827
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16828
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
16829
 
-        ;;
16830
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
16831
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
16832
 
-       # which looks to be a dead project)
16833
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16834
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
16835
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16836
 
-        ;;
16837
 
-      ccc*)
16838
 
-        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16839
 
-        # All Alpha code is PIC.
16840
 
-        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16841
 
-        ;;
16842
 
-      *)
16843
 
-        case `$CC -V 2>&1 | sed 5q` in
16844
 
-       *Sun\ C*)
16845
 
-         # Sun C 5.9
16846
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16847
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16848
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16849
 
-         ;;
16850
 
-       *Sun\ F*)
16851
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
16852
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16853
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16854
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
16855
 
-         ;;
16856
 
-       esac
16857
 
-       ;;
16858
 
-      esac
16859
 
+    osf3*)
16860
 
+      if test "$GCC" = yes; then
16861
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16862
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16863
 
+      else
16864
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
16865
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16866
 
+      fi
16867
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16868
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16869
 
       ;;
16870
 
 
16871
 
-    osf3* | osf4* | osf5*)
16872
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16873
 
-      # All OSF/1 code is PIC.
16874
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16875
 
-      ;;
16876
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
16877
 
+      if test "$GCC" = yes; then
16878
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
16879
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16880
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
16881
 
+      else
16882
 
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
16883
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16884
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16885
 
+       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16886
 
 
16887
 
-    rdos*)
16888
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
16889
 
+       # Both c and cxx compiler support -rpath directly
16890
 
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
16891
 
+      fi
16892
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
16893
 
       ;;
16894
 
 
16895
 
     solaris*)
16896
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16897
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16898
 
-      case $cc_basename in
16899
 
-      f77* | f90* | f95*)
16900
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
16901
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
16902
 
+      if test "$GCC" = yes; then
16903
 
+       wlarc='${wl}'
16904
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16905
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16906
 
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16907
 
+      else
16908
 
+       wlarc=''
16909
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16910
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16911
 
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16912
 
+      fi
16913
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
16914
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16915
 
+      case $host_os in
16916
 
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
20507
+    test -z "$ac_dir" && ac_dir=.
 
20508
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
20509
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
20510
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
20511
+      # but apparently some variants of GNU ld only accept -v.
 
20512
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
20513
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
20514
+      *GNU* | *'with BFD'*)
 
20515
+       test "$with_gnu_ld" != no && break
 
20516
        ;;
16917
20517
       *)
16918
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
16919
 
+       # The compiler driver will combine and reorder linker options,
16920
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
16921
 
+       # but is careful enough not to reorder.
16922
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
16923
 
+       if test "$GCC" = yes; then
16924
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
20518
-       shlibpath_overrides_runpath=yes
 
20519
+       test "$with_gnu_ld" != yes && break
 
20520
        ;;
 
20521
       esac
 
20522
-  else
 
20523
-    shlibpath_overrides_runpath=yes
 
20524
-  fi
 
20525
+    fi
 
20526
+  done
 
20527
+  IFS="$lt_save_ifs"
 
20528
+else
 
20529
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
20530
+fi])
 
20531
+LD="$lt_cv_path_LD"
 
20532
+if test -n "$LD"; then
 
20533
+  AC_MSG_RESULT($LD)
 
20534
+else
 
20535
+  AC_MSG_RESULT(no)
 
20536
+fi
 
20537
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
20538
+_LT_PATH_LD_GNU
 
20539
+AC_SUBST([LD])
 
20540
+
 
20541
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 
20542
+])# LT_PATH_LD
 
20543
+
 
20544
+# Old names:
 
20545
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 
20546
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 
20547
+dnl aclocal-1.4 backwards compatibility:
 
20548
+dnl AC_DEFUN([AM_PROG_LD], [])
 
20549
+dnl AC_DEFUN([AC_PROG_LD], [])
 
20550
+
 
20551
+
 
20552
+# _LT_PATH_LD_GNU
 
20553
+#- --------------
 
20554
+m4_defun([_LT_PATH_LD_GNU],
 
20555
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
20556
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 
20557
+case `$LD -v 2>&1 </dev/null` in
 
20558
+*GNU* | *'with BFD'*)
 
20559
+  lt_cv_prog_gnu_ld=yes
 
20560
   ;;
 
20561
+*)
 
20562
+  lt_cv_prog_gnu_ld=no
 
20563
+  ;;
 
20564
+esac])
 
20565
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
20566
+])# _LT_PATH_LD_GNU
 
20567
 
 
20568
-os2*)
 
20569
-  libname_spec='$name'
 
20570
-  shrext_cmds=".dll"
 
20571
-  need_lib_prefix=no
 
20572
-  library_names_spec='$libname${shared_ext} $libname.a'
 
20573
-  dynamic_linker='OS/2 ld.exe'
 
20574
-  shlibpath_var=LIBPATH
 
20575
+
 
20576
+# _LT_CMD_RELOAD
 
20577
+# --------------
 
20578
+# find reload flag for linker
 
20579
+#   -- PORTME Some linkers may need a different reload flag.
 
20580
+m4_defun([_LT_CMD_RELOAD],
 
20581
+[AC_CACHE_CHECK([for $LD option to reload object files],
 
20582
+  lt_cv_ld_reload_flag,
 
20583
+  [lt_cv_ld_reload_flag='-r'])
 
20584
+reload_flag=$lt_cv_ld_reload_flag
 
20585
+case $reload_flag in
 
20586
+"" | " "*) ;;
 
20587
+*) reload_flag=" $reload_flag" ;;
 
20588
+esac
 
20589
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
20590
+case $host_os in
 
20591
+  darwin*)
 
20592
+    if test "$GCC" = yes; then
 
20593
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
20594
+    else
 
20595
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
20596
+    fi
 
20597
+    ;;
 
20598
+esac
 
20599
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
20600
+_LT_DECL([], [reload_cmds], [2])dnl
 
20601
+])# _LT_CMD_RELOAD
 
20602
+
 
20603
+
 
20604
+# _LT_CHECK_MAGIC_METHOD
 
20605
+# ----------------------
 
20606
+# how to check for library dependencies
 
20607
+#  -- PORTME fill in with the dynamic library characteristics
 
20608
+m4_defun([_LT_CHECK_MAGIC_METHOD],
 
20609
+[m4_require([_LT_DECL_EGREP])
 
20610
+m4_require([_LT_DECL_OBJDUMP])
 
20611
+AC_CACHE_CHECK([how to recognize dependent libraries],
 
20612
+lt_cv_deplibs_check_method,
 
20613
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
20614
+lt_cv_file_magic_test_file=
 
20615
+lt_cv_deplibs_check_method='unknown'
 
20616
+# Need to set the preceding variable on all platforms that support
 
20617
+# interlibrary dependencies.
 
20618
+# 'none' -- dependencies not supported.
 
20619
+# `unknown' -- same as none, but documents that we really don't know.
 
20620
+# 'pass_all' -- all dependencies passed with no checks.
 
20621
+# 'test_compile' -- check by making test program.
 
20622
+# 'file_magic [[regex]]' -- check by looking for files in library path
 
20623
+# which responds to the $file_magic_cmd with a given extended regex.
 
20624
+# If you have `file' or equivalent on your system and you're not sure
 
20625
+# whether `pass_all' will *always* work, you probably want this one.
 
20626
+
 
20627
+case $host_os in
 
20628
+aix[[4-9]]*)
 
20629
+  lt_cv_deplibs_check_method=pass_all
 
20630
   ;;
 
20631
 
 
20632
-osf3* | osf4* | osf5*)
 
20633
-  version_type=osf
 
20634
-  need_lib_prefix=no
 
20635
-  need_version=no
 
20636
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20637
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20638
-  shlibpath_var=LD_LIBRARY_PATH
 
20639
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
20640
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
20641
+beos*)
 
20642
+  lt_cv_deplibs_check_method=pass_all
 
20643
   ;;
 
20644
 
 
20645
-rdos*)
 
20646
-  dynamic_linker=no
 
20647
+bsdi[[45]]*)
 
20648
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
20649
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
20650
+  lt_cv_file_magic_test_file=/shlib/libc.so
 
20651
   ;;
 
20652
 
 
20653
-solaris*)
 
20654
-  version_type=linux
 
20655
-  need_lib_prefix=no
 
20656
-  need_version=no
 
20657
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20658
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20659
-  shlibpath_var=LD_LIBRARY_PATH
 
20660
-  shlibpath_overrides_runpath=yes
 
20661
-  hardcode_into_libs=yes
 
20662
-  # ldd complains unless libraries are executable
 
20663
-  postinstall_cmds='chmod +x $lib'
 
20664
+cygwin*)
 
20665
+  # func_win32_libid is a shell function defined in ltmain.sh
 
20666
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
20667
+  lt_cv_file_magic_cmd='func_win32_libid'
 
20668
   ;;
 
20669
 
 
20670
-sunos4*)
 
20671
-  version_type=sunos
 
20672
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
20673
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
20674
-  shlibpath_var=LD_LIBRARY_PATH
 
20675
-  shlibpath_overrides_runpath=yes
 
20676
-  if test "$with_gnu_ld" = yes; then
 
20677
-    need_lib_prefix=no
 
20678
+mingw* | pw32*)
 
20679
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
20680
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
20681
+  # unless we find 'file', for example because we are cross-compiling.
 
20682
+  if ( file / ) >/dev/null 2>&1; then
 
20683
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
20684
+    lt_cv_file_magic_cmd='func_win32_libid'
 
20685
+  else
 
20686
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
20687
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
20688
   fi
 
20689
-  need_version=yes
 
20690
   ;;
 
20691
 
 
20692
-sysv4 | sysv4.3*)
 
20693
-  version_type=linux
 
20694
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20695
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20696
-  shlibpath_var=LD_LIBRARY_PATH
 
20697
-  case $host_vendor in
 
20698
-    sni)
 
20699
-      shlibpath_overrides_runpath=no
 
20700
-      need_lib_prefix=no
 
20701
-      runpath_var=LD_RUN_PATH
 
20702
-      ;;
 
20703
-    siemens)
 
20704
-      need_lib_prefix=no
 
20705
-      ;;
 
20706
-    motorola)
 
20707
-      need_lib_prefix=no
 
20708
-      need_version=no
 
20709
-      shlibpath_overrides_runpath=no
 
20710
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
20711
-      ;;
 
20712
-  esac
 
20713
+cegcc)
 
20714
+  # use the weaker test based on 'objdump'. See mingw*.
 
20715
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
20716
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
20717
   ;;
 
20718
 
 
20719
-sysv4*MP*)
 
20720
-  if test -d /usr/nec ;then
 
20721
-    version_type=linux
 
20722
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
20723
-    soname_spec='$libname${shared_ext}.$major'
 
20724
-    shlibpath_var=LD_LIBRARY_PATH
 
20725
-  fi
 
20726
+darwin* | rhapsody*)
 
20727
+  lt_cv_deplibs_check_method=pass_all
 
20728
   ;;
 
20729
 
 
20730
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
20731
-  version_type=freebsd-elf
 
20732
-  need_lib_prefix=no
 
20733
-  need_version=no
 
20734
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
20735
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20736
-  shlibpath_var=LD_LIBRARY_PATH
 
20737
-  shlibpath_overrides_runpath=yes
 
20738
-  hardcode_into_libs=yes
 
20739
-  if test "$with_gnu_ld" = yes; then
 
20740
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
20741
-  else
 
20742
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
20743
-    case $host_os in
 
20744
-      sco3.2v5*)
 
20745
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
20746
-       ;;
 
20747
+freebsd* | dragonfly*)
 
20748
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
20749
+    case $host_cpu in
 
20750
+    i*86 )
 
20751
+      # Not sure whether the presence of OpenBSD here was a mistake.
 
20752
+      # Let's accept both of them until this is cleared up.
 
20753
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 
20754
+      lt_cv_file_magic_cmd=/usr/bin/file
 
20755
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
20756
+      ;;
 
20757
     esac
 
20758
+  else
 
20759
+    lt_cv_deplibs_check_method=pass_all
 
20760
   fi
 
20761
-  sys_lib_dlsearch_path_spec='/usr/lib'
 
20762
   ;;
 
20763
 
 
20764
-tpf*)
 
20765
-  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
20766
-  version_type=linux
 
20767
-  need_lib_prefix=no
 
20768
-  need_version=no
 
20769
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20770
-  shlibpath_var=LD_LIBRARY_PATH
 
20771
-  shlibpath_overrides_runpath=no
 
20772
-  hardcode_into_libs=yes
 
20773
+gnu*)
 
20774
+  lt_cv_deplibs_check_method=pass_all
 
20775
   ;;
 
20776
 
 
20777
-uts4*)
 
20778
-  version_type=linux
 
20779
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
20780
-  soname_spec='${libname}${release}${shared_ext}$major'
 
20781
-  shlibpath_var=LD_LIBRARY_PATH
 
20782
+hpux10.20* | hpux11*)
 
20783
+  lt_cv_file_magic_cmd=/usr/bin/file
 
20784
+  case $host_cpu in
 
20785
+  ia64*)
 
20786
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
20787
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
20788
+    ;;
 
20789
+  hppa*64*)
 
20790
+    [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]']
 
20791
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
20792
+    ;;
 
20793
+  *)
 
20794
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
20795
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
20796
+    ;;
 
20797
+  esac
 
20798
   ;;
 
20799
 
 
20800
-*)
 
20801
-  dynamic_linker=no
 
20802
+interix[[3-9]]*)
 
20803
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
20804
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 
20805
   ;;
 
20806
-esac
 
20807
-AC_MSG_RESULT([$dynamic_linker])
 
20808
-test "$dynamic_linker" = no && can_build_shared=no
 
20809
 
 
20810
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
20811
-if test "$GCC" = yes; then
 
20812
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
20813
-fi
 
20814
+irix5* | irix6* | nonstopux*)
 
20815
+  case $LD in
 
20816
+  *-32|*"-32 ") libmagic=32-bit;;
 
20817
+  *-n32|*"-n32 ") libmagic=N32;;
 
20818
+  *-64|*"-64 ") libmagic=64-bit;;
 
20819
+  *) libmagic=never-match;;
 
20820
+  esac
 
20821
+  lt_cv_deplibs_check_method=pass_all
 
20822
+  ;;
 
20823
 
 
20824
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20825
-  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20826
-fi
 
20827
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20828
-  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20829
-fi
 
20830
+# This must be Linux ELF.
 
20831
+linux* | k*bsd*-gnu)
 
20832
+  lt_cv_deplibs_check_method=pass_all
 
20833
+  ;;
 
20834
 
 
20835
-_LT_DECL([], [variables_saved_for_relink], [1],
 
20836
-    [Variables whose values should be saved in libtool wrapper scripts and
 
20837
-    restored at link time])
 
20838
-_LT_DECL([], [need_lib_prefix], [0],
 
20839
-    [Do we need the "lib" prefix for modules?])
 
20840
-_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 
20841
-_LT_DECL([], [version_type], [0], [Library versioning type])
 
20842
-_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 
20843
-_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 
20844
-_LT_DECL([], [shlibpath_overrides_runpath], [0],
 
20845
-    [Is shlibpath searched before the hard-coded library search path?])
 
20846
-_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 
20847
-_LT_DECL([], [library_names_spec], [1],
 
20848
-    [[List of archive names.  First name is the real one, the rest are links.
 
20849
-    The last name is the one that the linker finds with -lNAME]])
 
20850
-_LT_DECL([], [soname_spec], [1],
 
20851
-    [[The coded name of the library, if different from the real name]])
 
20852
-_LT_DECL([], [postinstall_cmds], [2],
 
20853
-    [Command to use after installation of a shared archive])
 
20854
-_LT_DECL([], [postuninstall_cmds], [2],
 
20855
-    [Command to use after uninstallation of a shared archive])
 
20856
-_LT_DECL([], [finish_cmds], [2],
 
20857
-    [Commands used to finish a libtool library installation in a directory])
 
20858
-_LT_DECL([], [finish_eval], [1],
 
20859
-    [[As "finish_cmds", except a single script fragment to be evaled but
 
20860
-    not shown]])
 
20861
-_LT_DECL([], [hardcode_into_libs], [0],
 
20862
-    [Whether we should hardcode library paths into libraries])
 
20863
-_LT_DECL([], [sys_lib_search_path_spec], [2],
 
20864
-    [Compile-time system search path for libraries])
 
20865
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
 
20866
-    [Run-time system search path for libraries])
 
20867
-])# _LT_SYS_DYNAMIC_LINKER
 
20868
+netbsd* | netbsdelf*-gnu)
 
20869
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
20870
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
20871
+  else
 
20872
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
20873
+  fi
 
20874
+  ;;
 
20875
 
 
20876
+newos6*)
 
20877
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
20878
+  lt_cv_file_magic_cmd=/usr/bin/file
 
20879
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
20880
+  ;;
 
20881
 
 
20882
-# _LT_PATH_TOOL_PREFIX(TOOL)
 
20883
-# --------------------------
 
20884
-# find a file program which can recognize shared library
 
20885
-AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 
20886
-[m4_require([_LT_DECL_EGREP])dnl
 
20887
-AC_MSG_CHECKING([for $1])
 
20888
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
20889
-[case $MAGIC_CMD in
 
20890
-[[\\/*] |  ?:[\\/]*])
 
20891
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
20892
+*nto* | *qnx*)
 
20893
+  lt_cv_deplibs_check_method=pass_all
 
20894
   ;;
 
20895
-*)
 
20896
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
20897
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
20898
-dnl $ac_dummy forces splitting on constant user-supplied paths.
 
20899
-dnl POSIX.2 word splitting is done only on the output of word expansions,
 
20900
-dnl not every word.  This closes a longstanding sh security hole.
 
20901
-  ac_dummy="m4_if([$2], , $PATH, [$2])"
 
20902
-  for ac_dir in $ac_dummy; do
 
20903
-    IFS="$lt_save_ifs"
 
20904
-    test -z "$ac_dir" && ac_dir=.
 
20905
-    if test -f $ac_dir/$1; then
 
20906
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
20907
-      if test -n "$file_magic_test_file"; then
 
20908
-       case $deplibs_check_method in
 
20909
-       "file_magic "*)
 
20910
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
20911
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
20912
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
20913
-           $EGREP "$file_magic_regex" > /dev/null; then
 
20914
-           :
 
20915
-         else
 
20916
-           cat <<_LT_EOF 1>&2
 
20917
 
 
20918
-*** Warning: the command libtool uses to detect shared libraries,
 
20919
-*** $file_magic_cmd, produces output that libtool cannot recognize.
 
20920
-*** The result is that libtool may fail to recognize shared libraries
 
20921
-*** as such.  This will affect the creation of libtool libraries that
 
20922
-*** depend on shared libraries, but programs linked with such libtool
 
20923
-*** libraries will work regardless of this problem.  Nevertheless, you
 
20924
-*** may want to report the problem to your system manager and/or to
 
20925
-*** bug-libtool@gnu.org
 
20926
+openbsd*)
 
20927
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
20928
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 
20929
+  else
 
20930
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
20931
+  fi
 
20932
+  ;;
 
20933
 
 
20934
-_LT_EOF
 
20935
-         fi ;;
 
20936
-       esac
 
20937
-      fi
 
20938
-      break
 
20939
-    fi
 
20940
-  done
 
20941
-  IFS="$lt_save_ifs"
 
20942
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
20943
+osf3* | osf4* | osf5*)
 
20944
+  lt_cv_deplibs_check_method=pass_all
 
20945
   ;;
 
20946
-esac])
 
20947
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
20948
-if test -n "$MAGIC_CMD"; then
 
20949
-  AC_MSG_RESULT($MAGIC_CMD)
 
20950
-else
 
20951
-  AC_MSG_RESULT(no)
 
20952
-fi
 
20953
-_LT_DECL([], [MAGIC_CMD], [0],
 
20954
-        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 
20955
-])# _LT_PATH_TOOL_PREFIX
 
20956
 
 
20957
-# Old name:
 
20958
-AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 
20959
-dnl aclocal-1.4 backwards compatibility:
 
20960
-dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 
20961
+rdos*)
 
20962
+  lt_cv_deplibs_check_method=pass_all
 
20963
+  ;;
 
20964
 
 
20965
+solaris*)
 
20966
+  lt_cv_deplibs_check_method=pass_all
 
20967
+  ;;
 
20968
 
 
20969
-# _LT_PATH_MAGIC
 
20970
-# --------------
 
20971
-# find a file program which can recognize a shared library
 
20972
-m4_defun([_LT_PATH_MAGIC],
 
20973
-[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
20974
-if test -z "$lt_cv_path_MAGIC_CMD"; then
 
20975
-  if test -n "$ac_tool_prefix"; then
 
20976
-    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
20977
-  else
 
20978
-    MAGIC_CMD=:
 
20979
-  fi
 
20980
-fi
 
20981
-])# _LT_PATH_MAGIC
 
20982
-
 
20983
-
 
20984
-# LT_PATH_LD
 
20985
-# ----------
 
20986
-# find the pathname to the GNU or non-GNU linker
 
20987
-AC_DEFUN([LT_PATH_LD],
 
20988
-[AC_REQUIRE([AC_PROG_CC])dnl
 
20989
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
20990
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
20991
-m4_require([_LT_DECL_SED])dnl
 
20992
-m4_require([_LT_DECL_EGREP])dnl
 
20993
-
 
20994
-AC_ARG_WITH([gnu-ld],
 
20995
-    [AS_HELP_STRING([--with-gnu-ld],
 
20996
-       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
20997
-    [test "$withval" = no || with_gnu_ld=yes],
 
20998
-    [with_gnu_ld=no])dnl
 
20999
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
21000
+  lt_cv_deplibs_check_method=pass_all
 
21001
+  ;;
 
21002
 
 
21003
-ac_prog=ld
 
21004
-if test "$GCC" = yes; then
 
21005
-  # Check if gcc -print-prog-name=ld gives a path.
 
21006
-  AC_MSG_CHECKING([for ld used by $CC])
 
21007
-  case $host in
 
21008
-  *-*-mingw*)
 
21009
-    # gcc leaves a trailing carriage return which upsets mingw
 
21010
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
21011
-  *)
 
21012
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
21013
-  esac
 
21014
-  case $ac_prog in
 
21015
-    # Accept absolute paths.
 
21016
-    [[\\/]]* | ?:[[\\/]]*)
 
21017
-      re_direlt='/[[^/]][[^/]]*/\.\./'
 
21018
-      # Canonicalize the pathname of ld
 
21019
-      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
21020
-      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
21021
-       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
21022
-      done
 
21023
-      test -z "$LD" && LD="$ac_prog"
 
21024
-      ;;
 
21025
-  "")
 
21026
-    # If it fails, then pretend we aren't using GCC.
 
21027
-    ac_prog=ld
 
21028
+sysv4 | sysv4.3*)
 
21029
+  case $host_vendor in
 
21030
+  motorola)
 
21031
+    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]]'
 
21032
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
21033
     ;;
 
21034
-  *)
 
21035
-    # If it is relative, then search for the first ld in PATH.
 
21036
-    with_gnu_ld=unknown
 
21037
+  ncr)
 
21038
+    lt_cv_deplibs_check_method=pass_all
 
21039
+    ;;
 
21040
+  sequent)
 
21041
+    lt_cv_file_magic_cmd='/bin/file'
 
21042
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
21043
+    ;;
 
21044
+  sni)
 
21045
+    lt_cv_file_magic_cmd='/bin/file'
 
21046
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
21047
+    lt_cv_file_magic_test_file=/lib/libc.so
 
21048
+    ;;
 
21049
+  siemens)
 
21050
+    lt_cv_deplibs_check_method=pass_all
 
21051
+    ;;
 
21052
+  pc)
 
21053
+    lt_cv_deplibs_check_method=pass_all
 
21054
     ;;
 
21055
   esac
 
21056
-elif test "$with_gnu_ld" = yes; then
 
21057
-  AC_MSG_CHECKING([for GNU ld])
 
21058
+  ;;
 
21059
+
 
21060
+tpf*)
 
21061
+  lt_cv_deplibs_check_method=pass_all
 
21062
+  ;;
 
21063
+esac
 
21064
+])
 
21065
+file_magic_cmd=$lt_cv_file_magic_cmd
 
21066
+deplibs_check_method=$lt_cv_deplibs_check_method
 
21067
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
21068
+
 
21069
+_LT_DECL([], [deplibs_check_method], [1],
 
21070
+    [Method to check whether dependent libraries are shared objects])
 
21071
+_LT_DECL([], [file_magic_cmd], [1],
 
21072
+    [Command to use when deplibs_check_method == "file_magic"])
 
21073
+])# _LT_CHECK_MAGIC_METHOD
 
21074
+
 
21075
+
 
21076
+# LT_PATH_NM
 
21077
+# ----------
 
21078
+# find the pathname to a BSD- or MS-compatible name lister
 
21079
+AC_DEFUN([LT_PATH_NM],
 
21080
+[AC_REQUIRE([AC_PROG_CC])dnl
 
21081
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 
21082
+[if test -n "$NM"; then
 
21083
+  # Let the user override the test.
 
21084
+  lt_cv_path_NM="$NM"
 
21085
 else
 
21086
-  AC_MSG_CHECKING([for non-GNU ld])
 
21087
-fi
 
21088
-AC_CACHE_VAL(lt_cv_path_LD,
 
21089
-[if test -z "$LD"; then
 
21090
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
21091
-  for ac_dir in $PATH; do
 
21092
+  lt_nm_to_check="${ac_tool_prefix}nm"
 
21093
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
21094
+    lt_nm_to_check="$lt_nm_to_check nm"
 
21095
+  fi
 
21096
+  for lt_tmp_nm in $lt_nm_to_check; do
 
21097
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
21098
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
21099
+      IFS="$lt_save_ifs"
 
21100
+      test -z "$ac_dir" && ac_dir=.
 
21101
+      tmp_nm="$ac_dir/$lt_tmp_nm"
 
21102
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
21103
+       # Check to see if the nm accepts a BSD-compat flag.
 
21104
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
21105
+       #   nm: unknown option "B" ignored
 
21106
+       # Tru64's nm complains that /dev/null is an invalid object file
 
21107
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
21108
+       */dev/null* | *'Invalid file or object type'*)
 
21109
+         lt_cv_path_NM="$tmp_nm -B"
 
21110
+         break
 
21111
+         ;;
 
21112
+       *)
 
21113
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
21114
+         */dev/null*)
 
21115
+           lt_cv_path_NM="$tmp_nm -p"
 
21116
+           break
 
21117
+           ;;
 
21118
+         *)
 
21119
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
21120
+           continue # so that we can try to find one that supports BSD flags
 
21121
+           ;;
 
21122
+         esac
 
21123
+         ;;
 
21124
+       esac
 
21125
+      fi
 
21126
+    done
 
21127
     IFS="$lt_save_ifs"
 
21128
-    test -z "$ac_dir" && ac_dir=.
 
21129
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
21130
-      lt_cv_path_LD="$ac_dir/$ac_prog"
 
21131
-      # Check to see if the program is GNU ld.  I'd rather use --version,
 
21132
-      # but apparently some variants of GNU ld only accept -v.
 
21133
-      # Break only if it was the GNU/non-GNU ld that we prefer.
 
21134
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
21135
-      *GNU* | *'with BFD'*)
 
21136
-       test "$with_gnu_ld" != no && break
 
21137
-       ;;
 
21138
-      *)
 
21139
-       test "$with_gnu_ld" != yes && break
 
21140
-       ;;
 
21141
-      esac
 
21142
-    fi
 
21143
   done
 
21144
-  IFS="$lt_save_ifs"
 
21145
-else
 
21146
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
21147
+  : ${lt_cv_path_NM=no}
 
21148
 fi])
 
21149
-LD="$lt_cv_path_LD"
 
21150
-if test -n "$LD"; then
 
21151
-  AC_MSG_RESULT($LD)
 
21152
+if test "$lt_cv_path_NM" != "no"; then
 
21153
+  NM="$lt_cv_path_NM"
 
21154
 else
 
21155
-  AC_MSG_RESULT(no)
 
21156
+  # Didn't find any BSD compatible name lister, look for dumpbin.
 
21157
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
21158
+  AC_SUBST([DUMPBIN])
 
21159
+  if test "$DUMPBIN" != ":"; then
 
21160
+    NM="$DUMPBIN"
 
21161
+  fi
 
21162
 fi
 
21163
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
21164
-_LT_PATH_LD_GNU
 
21165
-AC_SUBST([LD])
 
21166
+test -z "$NM" && NM=nm
 
21167
+AC_SUBST([NM])
 
21168
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 
21169
 
 
21170
-_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 
21171
-])# LT_PATH_LD
 
21172
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
 
21173
+  [lt_cv_nm_interface="BSD nm"
 
21174
+  echo "int some_variable = 0;" > conftest.$ac_ext
 
21175
+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
21176
+  (eval "$ac_compile" 2>conftest.err)
 
21177
+  cat conftest.err >&AS_MESSAGE_LOG_FD
 
21178
+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
21179
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
21180
+  cat conftest.err >&AS_MESSAGE_LOG_FD
 
21181
+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
21182
+  cat conftest.out >&AS_MESSAGE_LOG_FD
 
21183
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
21184
+    lt_cv_nm_interface="MS dumpbin"
 
21185
+  fi
 
21186
+  rm -f conftest*])
 
21187
+])# LT_PATH_NM
 
21188
 
 
21189
 # Old names:
 
21190
-AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 
21191
-AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 
21192
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
 
21193
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
 
21194
 dnl aclocal-1.4 backwards compatibility:
 
21195
-dnl AC_DEFUN([AM_PROG_LD], [])
 
21196
-dnl AC_DEFUN([AC_PROG_LD], [])
 
21197
+dnl AC_DEFUN([AM_PROG_NM], [])
 
21198
+dnl AC_DEFUN([AC_PROG_NM], [])
 
21199
 
 
21200
 
 
21201
-# _LT_PATH_LD_GNU
 
21202
-#- --------------
 
21203
-m4_defun([_LT_PATH_LD_GNU],
 
21204
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
21205
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 
21206
-case `$LD -v 2>&1 </dev/null` in
 
21207
-*GNU* | *'with BFD'*)
 
21208
-  lt_cv_prog_gnu_ld=yes
 
21209
+# LT_LIB_M
 
21210
+# --------
 
21211
+# check for math library
 
21212
+AC_DEFUN([LT_LIB_M],
 
21213
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
21214
+LIBM=
 
21215
+case $host in
 
21216
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
21217
+  # These system don't have libm, or don't need it
 
21218
+  ;;
 
21219
+*-ncr-sysv4.3*)
 
21220
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
21221
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
21222
   ;;
 
21223
 *)
 
21224
-  lt_cv_prog_gnu_ld=no
 
21225
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
21226
   ;;
 
21227
-esac])
 
21228
-with_gnu_ld=$lt_cv_prog_gnu_ld
 
21229
-])# _LT_PATH_LD_GNU
 
21230
+esac
 
21231
+AC_SUBST([LIBM])
 
21232
+])# LT_LIB_M
 
21233
 
 
21234
+# Old name:
 
21235
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
 
21236
+dnl aclocal-1.4 backwards compatibility:
 
21237
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
 
21238
 
 
21239
-# _LT_CMD_RELOAD
 
21240
-# --------------
 
21241
-# find reload flag for linker
 
21242
-#   -- PORTME Some linkers may need a different reload flag.
 
21243
-m4_defun([_LT_CMD_RELOAD],
 
21244
-[AC_CACHE_CHECK([for $LD option to reload object files],
 
21245
-  lt_cv_ld_reload_flag,
 
21246
-  [lt_cv_ld_reload_flag='-r'])
 
21247
-reload_flag=$lt_cv_ld_reload_flag
 
21248
-case $reload_flag in
 
21249
-"" | " "*) ;;
 
21250
-*) reload_flag=" $reload_flag" ;;
 
21251
-esac
 
21252
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
21253
-case $host_os in
 
21254
-  darwin*)
 
21255
-    if test "$GCC" = yes; then
 
21256
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
21257
-    else
 
21258
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
21259
-    fi
 
21260
-    ;;
 
21261
-esac
 
21262
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
21263
-_LT_DECL([], [reload_cmds], [2])dnl
 
21264
-])# _LT_CMD_RELOAD
 
21265
 
 
21266
+# _LT_COMPILER_NO_RTTI([TAGNAME])
 
21267
+# -------------------------------
 
21268
+m4_defun([_LT_COMPILER_NO_RTTI],
 
21269
+[m4_require([_LT_TAG_COMPILER])dnl
 
21270
 
 
21271
-# _LT_CHECK_MAGIC_METHOD
 
21272
-# ----------------------
 
21273
-# how to check for library dependencies
 
21274
-#  -- PORTME fill in with the dynamic library characteristics
 
21275
-m4_defun([_LT_CHECK_MAGIC_METHOD],
 
21276
-[m4_require([_LT_DECL_EGREP])
 
21277
-m4_require([_LT_DECL_OBJDUMP])
 
21278
-AC_CACHE_CHECK([how to recognize dependent libraries],
 
21279
-lt_cv_deplibs_check_method,
 
21280
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
21281
-lt_cv_file_magic_test_file=
 
21282
-lt_cv_deplibs_check_method='unknown'
 
21283
-# Need to set the preceding variable on all platforms that support
 
21284
-# interlibrary dependencies.
 
21285
-# 'none' -- dependencies not supported.
 
21286
-# `unknown' -- same as none, but documents that we really don't know.
 
21287
-# 'pass_all' -- all dependencies passed with no checks.
 
21288
-# 'test_compile' -- check by making test program.
 
21289
-# 'file_magic [[regex]]' -- check by looking for files in library path
 
21290
-# which responds to the $file_magic_cmd with a given extended regex.
 
21291
-# If you have `file' or equivalent on your system and you're not sure
 
21292
-# whether `pass_all' will *always* work, you probably want this one.
 
21293
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
21294
 
 
21295
-case $host_os in
 
21296
-aix[[4-9]]*)
 
21297
-  lt_cv_deplibs_check_method=pass_all
 
21298
-  ;;
 
21299
+if test "$GCC" = yes; then
 
21300
+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
21301
 
 
21302
-beos*)
 
21303
-  lt_cv_deplibs_check_method=pass_all
 
21304
-  ;;
 
21305
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
21306
+    lt_cv_prog_compiler_rtti_exceptions,
 
21307
+    [-fno-rtti -fno-exceptions], [],
 
21308
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
21309
+fi
 
21310
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 
21311
+       [Compiler flag to turn off builtin functions])
 
21312
+])# _LT_COMPILER_NO_RTTI
 
21313
 
 
21314
-bsdi[[45]]*)
 
21315
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
21316
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
21317
-  lt_cv_file_magic_test_file=/shlib/libc.so
 
21318
-  ;;
 
21319
 
 
21320
-cygwin*)
 
21321
-  # func_win32_libid is a shell function defined in ltmain.sh
 
21322
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
21323
-  lt_cv_file_magic_cmd='func_win32_libid'
 
21324
-  ;;
 
21325
+# _LT_CMD_GLOBAL_SYMBOLS
 
21326
+# ----------------------
 
21327
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 
21328
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
21329
+AC_REQUIRE([AC_PROG_CC])dnl
 
21330
+AC_REQUIRE([LT_PATH_NM])dnl
 
21331
+AC_REQUIRE([LT_PATH_LD])dnl
 
21332
+m4_require([_LT_DECL_SED])dnl
 
21333
+m4_require([_LT_DECL_EGREP])dnl
 
21334
+m4_require([_LT_TAG_COMPILER])dnl
 
21335
 
 
21336
-mingw* | pw32*)
 
21337
-  # Base MSYS/MinGW do not provide the 'file' command needed by
 
21338
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
21339
-  # unless we find 'file', for example because we are cross-compiling.
 
21340
-  if ( file / ) >/dev/null 2>&1; then
 
21341
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
21342
-    lt_cv_file_magic_cmd='func_win32_libid'
 
21343
-  else
 
21344
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
21345
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
21346
-  fi
 
21347
-  ;;
 
21348
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
21349
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 
21350
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 
21351
+[
 
21352
+# These are sane defaults that work on at least a few old systems.
 
21353
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
21354
 
 
21355
-cegcc)
 
21356
-  # use the weaker test based on 'objdump'. See mingw*.
 
21357
-  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
21358
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
21359
-  ;;
 
21360
+# Character class describing NM global symbol codes.
 
21361
+symcode='[[BCDEGRST]]'
 
21362
 
 
21363
-darwin* | rhapsody*)
 
21364
-  lt_cv_deplibs_check_method=pass_all
 
21365
-  ;;
 
21366
+# Regexp to match symbols that can be accessed directly from C.
 
21367
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
21368
 
 
21369
-freebsd* | dragonfly*)
 
21370
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
21371
-    case $host_cpu in
 
21372
-    i*86 )
 
21373
-      # Not sure whether the presence of OpenBSD here was a mistake.
 
21374
-      # Let's accept both of them until this is cleared up.
 
21375
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 
21376
-      lt_cv_file_magic_cmd=/usr/bin/file
 
21377
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
21378
-      ;;
 
21379
-    esac
 
21380
-  else
 
21381
-    lt_cv_deplibs_check_method=pass_all
 
21382
+# Define system-specific variables.
 
21383
+case $host_os in
 
21384
+aix*)
 
21385
+  symcode='[[BCDT]]'
 
21386
+  ;;
 
21387
+cygwin* | mingw* | pw32* | cegcc*)
 
21388
+  symcode='[[ABCDGISTW]]'
 
21389
+  ;;
 
21390
+hpux*)
 
21391
+  if test "$host_cpu" = ia64; then
 
21392
+    symcode='[[ABCDEGRST]]'
 
21393
   fi
 
21394
   ;;
 
21395
-
 
21396
-gnu*)
 
21397
-  lt_cv_deplibs_check_method=pass_all
 
21398
+irix* | nonstopux*)
 
21399
+  symcode='[[BCDEGRST]]'
 
21400
   ;;
 
21401
-
 
21402
-hpux10.20* | hpux11*)
 
21403
-  lt_cv_file_magic_cmd=/usr/bin/file
 
21404
-  case $host_cpu in
 
21405
-  ia64*)
 
21406
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
21407
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
21408
-    ;;
 
21409
-  hppa*64*)
 
21410
-    [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]']
 
21411
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
21412
-    ;;
 
21413
-  *)
 
21414
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
21415
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
21416
-    ;;
 
21417
-  esac
 
21418
+osf*)
 
21419
+  symcode='[[BCDEGQRST]]'
 
21420
   ;;
 
21421
-
 
21422
-interix[[3-9]]*)
 
21423
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
21424
-  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 
21425
+solaris*)
 
21426
+  symcode='[[BDRT]]'
 
21427
   ;;
 
21428
-
 
21429
-irix5* | irix6* | nonstopux*)
 
21430
-  case $LD in
 
21431
-  *-32|*"-32 ") libmagic=32-bit;;
 
21432
-  *-n32|*"-n32 ") libmagic=N32;;
 
21433
-  *-64|*"-64 ") libmagic=64-bit;;
 
21434
-  *) libmagic=never-match;;
 
21435
-  esac
 
21436
-  lt_cv_deplibs_check_method=pass_all
 
21437
+sco3.2v5*)
 
21438
+  symcode='[[DT]]'
 
21439
   ;;
 
21440
-
 
21441
-# This must be Linux ELF.
 
21442
-linux* | k*bsd*-gnu)
 
21443
-  lt_cv_deplibs_check_method=pass_all
 
21444
+sysv4.2uw2*)
 
21445
+  symcode='[[DT]]'
 
21446
   ;;
 
21447
-
 
21448
-netbsd*)
 
21449
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
21450
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
21451
-  else
 
21452
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
21453
-  fi
 
21454
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
21455
+  symcode='[[ABDT]]'
 
21456
   ;;
 
21457
-
 
21458
-newos6*)
 
21459
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
21460
-  lt_cv_file_magic_cmd=/usr/bin/file
 
21461
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
21462
+sysv4)
 
21463
+  symcode='[[DFNSTU]]'
 
21464
   ;;
 
21465
+esac
 
21466
 
 
21467
-*nto* | *qnx*)
 
21468
-  lt_cv_deplibs_check_method=pass_all
 
21469
-  ;;
 
21470
+# If we're using GNU nm, then use its standard symbol codes.
 
21471
+case `$NM -V 2>&1` in
 
21472
+*GNU* | *'with BFD'*)
 
21473
+  symcode='[[ABCDGIRSTW]]' ;;
 
21474
+esac
 
21475
 
 
21476
-openbsd*)
 
21477
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
21478
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 
21479
-  else
 
21480
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
21481
-  fi
 
21482
-  ;;
 
21483
+# Transform an extracted symbol line into a proper C declaration.
 
21484
+# Some systems (esp. on ia64) link data and code symbols differently,
 
21485
+# so use this general approach.
 
21486
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
21487
 
 
21488
-osf3* | osf4* | osf5*)
 
21489
-  lt_cv_deplibs_check_method=pass_all
 
21490
-  ;;
 
21491
+# Transform an extracted symbol line into symbol name and symbol address
 
21492
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
21493
+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'"
 
21494
 
 
21495
-rdos*)
 
21496
-  lt_cv_deplibs_check_method=pass_all
 
21497
+# Handle CRLF in mingw tool chain
 
21498
+opt_cr=
 
21499
+case $build_os in
 
21500
+mingw*)
 
21501
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
21502
   ;;
 
21503
+esac
 
21504
 
 
21505
-solaris*)
 
21506
-  lt_cv_deplibs_check_method=pass_all
 
21507
-  ;;
 
21508
+# Try without a prefix underscore, then with it.
 
21509
+for ac_symprfx in "" "_"; do
 
21510
 
 
21511
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
21512
-  lt_cv_deplibs_check_method=pass_all
 
21513
-  ;;
 
21514
-
 
21515
-sysv4 | sysv4.3*)
 
21516
-  case $host_vendor in
 
21517
-  motorola)
 
21518
-    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]]'
 
21519
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
21520
-    ;;
 
21521
-  ncr)
 
21522
-    lt_cv_deplibs_check_method=pass_all
 
21523
-    ;;
 
21524
-  sequent)
 
21525
-    lt_cv_file_magic_cmd='/bin/file'
 
21526
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
21527
-    ;;
 
21528
-  sni)
 
21529
-    lt_cv_file_magic_cmd='/bin/file'
 
21530
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
21531
-    lt_cv_file_magic_test_file=/lib/libc.so
 
21532
-    ;;
 
21533
-  siemens)
 
21534
-    lt_cv_deplibs_check_method=pass_all
 
21535
-    ;;
 
21536
-  pc)
 
21537
-    lt_cv_deplibs_check_method=pass_all
 
21538
-    ;;
 
21539
-  esac
 
21540
-  ;;
 
21541
-
 
21542
-tpf*)
 
21543
-  lt_cv_deplibs_check_method=pass_all
 
21544
-  ;;
 
21545
-esac
 
21546
-])
 
21547
-file_magic_cmd=$lt_cv_file_magic_cmd
 
21548
-deplibs_check_method=$lt_cv_deplibs_check_method
 
21549
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
21550
-
 
21551
-_LT_DECL([], [deplibs_check_method], [1],
 
21552
-    [Method to check whether dependent libraries are shared objects])
 
21553
-_LT_DECL([], [file_magic_cmd], [1],
 
21554
-    [Command to use when deplibs_check_method == "file_magic"])
 
21555
-])# _LT_CHECK_MAGIC_METHOD
 
21556
-
 
21557
-
 
21558
-# LT_PATH_NM
 
21559
-# ----------
 
21560
-# find the pathname to a BSD- or MS-compatible name lister
 
21561
-AC_DEFUN([LT_PATH_NM],
 
21562
-[AC_REQUIRE([AC_PROG_CC])dnl
 
21563
-AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 
21564
-[if test -n "$NM"; then
 
21565
-  # Let the user override the test.
 
21566
-  lt_cv_path_NM="$NM"
 
21567
-else
 
21568
-  lt_nm_to_check="${ac_tool_prefix}nm"
 
21569
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
21570
-    lt_nm_to_check="$lt_nm_to_check nm"
 
21571
-  fi
 
21572
-  for lt_tmp_nm in $lt_nm_to_check; do
 
21573
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
21574
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
21575
-      IFS="$lt_save_ifs"
 
21576
-      test -z "$ac_dir" && ac_dir=.
 
21577
-      tmp_nm="$ac_dir/$lt_tmp_nm"
 
21578
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
21579
-       # Check to see if the nm accepts a BSD-compat flag.
 
21580
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
21581
-       #   nm: unknown option "B" ignored
 
21582
-       # Tru64's nm complains that /dev/null is an invalid object file
 
21583
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
21584
-       */dev/null* | *'Invalid file or object type'*)
 
21585
-         lt_cv_path_NM="$tmp_nm -B"
 
21586
-         break
 
21587
-         ;;
 
21588
-       *)
 
21589
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
21590
-         */dev/null*)
 
21591
-           lt_cv_path_NM="$tmp_nm -p"
 
21592
-           break
 
21593
-           ;;
 
21594
-         *)
 
21595
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
21596
-           continue # so that we can try to find one that supports BSD flags
 
21597
-           ;;
 
21598
-         esac
 
21599
-         ;;
 
21600
-       esac
 
21601
-      fi
 
21602
-    done
 
21603
-    IFS="$lt_save_ifs"
 
21604
-  done
 
21605
-  : ${lt_cv_path_NM=no}
 
21606
-fi])
 
21607
-if test "$lt_cv_path_NM" != "no"; then
 
21608
-  NM="$lt_cv_path_NM"
 
21609
-else
 
21610
-  # Didn't find any BSD compatible name lister, look for dumpbin.
 
21611
-  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
21612
-  AC_SUBST([DUMPBIN])
 
21613
-  if test "$DUMPBIN" != ":"; then
 
21614
-    NM="$DUMPBIN"
 
21615
-  fi
 
21616
-fi
 
21617
-test -z "$NM" && NM=nm
 
21618
-AC_SUBST([NM])
 
21619
-_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 
21620
-
 
21621
-AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
 
21622
-  [lt_cv_nm_interface="BSD nm"
 
21623
-  echo "int some_variable = 0;" > conftest.$ac_ext
 
21624
-  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
21625
-  (eval "$ac_compile" 2>conftest.err)
 
21626
-  cat conftest.err >&AS_MESSAGE_LOG_FD
 
21627
-  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
21628
-  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
21629
-  cat conftest.err >&AS_MESSAGE_LOG_FD
 
21630
-  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
21631
-  cat conftest.out >&AS_MESSAGE_LOG_FD
 
21632
-  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
21633
-    lt_cv_nm_interface="MS dumpbin"
 
21634
-  fi
 
21635
-  rm -f conftest*])
 
21636
-])# LT_PATH_NM
 
21637
-
 
21638
-# Old names:
 
21639
-AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
 
21640
-AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
 
21641
-dnl aclocal-1.4 backwards compatibility:
 
21642
-dnl AC_DEFUN([AM_PROG_NM], [])
 
21643
-dnl AC_DEFUN([AC_PROG_NM], [])
 
21644
-
 
21645
-
 
21646
-# LT_LIB_M
 
21647
-# --------
 
21648
-# check for math library
 
21649
-AC_DEFUN([LT_LIB_M],
 
21650
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
21651
-LIBM=
 
21652
-case $host in
 
21653
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
21654
-  # These system don't have libm, or don't need it
 
21655
-  ;;
 
21656
-*-ncr-sysv4.3*)
 
21657
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
21658
-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
21659
-  ;;
 
21660
-*)
 
21661
-  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
21662
-  ;;
 
21663
-esac
 
21664
-AC_SUBST([LIBM])
 
21665
-])# LT_LIB_M
 
21666
-
 
21667
-# Old name:
 
21668
-AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
 
21669
-dnl aclocal-1.4 backwards compatibility:
 
21670
-dnl AC_DEFUN([AC_CHECK_LIBM], [])
 
21671
-
 
21672
-
 
21673
-# _LT_COMPILER_NO_RTTI([TAGNAME])
 
21674
-# -------------------------------
 
21675
-m4_defun([_LT_COMPILER_NO_RTTI],
 
21676
-[m4_require([_LT_TAG_COMPILER])dnl
 
21677
-
 
21678
-_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
21679
-
 
21680
-if test "$GCC" = yes; then
 
21681
-  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
21682
-
 
21683
-  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
21684
-    lt_cv_prog_compiler_rtti_exceptions,
 
21685
-    [-fno-rtti -fno-exceptions], [],
 
21686
-    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
21687
-fi
 
21688
-_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 
21689
-       [Compiler flag to turn off builtin functions])
 
21690
-])# _LT_COMPILER_NO_RTTI
 
21691
-
 
21692
-
 
21693
-# _LT_CMD_GLOBAL_SYMBOLS
 
21694
-# ----------------------
 
21695
-m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 
21696
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
21697
-AC_REQUIRE([AC_PROG_CC])dnl
 
21698
-AC_REQUIRE([LT_PATH_NM])dnl
 
21699
-AC_REQUIRE([LT_PATH_LD])dnl
 
21700
-m4_require([_LT_DECL_SED])dnl
 
21701
-m4_require([_LT_DECL_EGREP])dnl
 
21702
-m4_require([_LT_TAG_COMPILER])dnl
 
21703
-
 
21704
-# Check for command to grab the raw symbol name followed by C symbol from nm.
 
21705
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 
21706
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 
21707
-[
 
21708
-# These are sane defaults that work on at least a few old systems.
 
21709
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
21710
-
 
21711
-# Character class describing NM global symbol codes.
 
21712
-symcode='[[BCDEGRST]]'
 
21713
-
 
21714
-# Regexp to match symbols that can be accessed directly from C.
 
21715
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
21716
-
 
21717
-# Define system-specific variables.
 
21718
-case $host_os in
 
21719
-aix*)
 
21720
-  symcode='[[BCDT]]'
 
21721
-  ;;
 
21722
-cygwin* | mingw* | pw32* | cegcc*)
 
21723
-  symcode='[[ABCDGISTW]]'
 
21724
-  ;;
 
21725
-hpux*)
 
21726
-  if test "$host_cpu" = ia64; then
 
21727
-    symcode='[[ABCDEGRST]]'
 
21728
-  fi
 
21729
-  ;;
 
21730
-irix* | nonstopux*)
 
21731
-  symcode='[[BCDEGRST]]'
 
21732
-  ;;
 
21733
-osf*)
 
21734
-  symcode='[[BCDEGQRST]]'
 
21735
-  ;;
 
21736
-solaris*)
 
21737
-  symcode='[[BDRT]]'
 
21738
-  ;;
 
21739
-sco3.2v5*)
 
21740
-  symcode='[[DT]]'
 
21741
-  ;;
 
21742
-sysv4.2uw2*)
 
21743
-  symcode='[[DT]]'
 
21744
-  ;;
 
21745
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
21746
-  symcode='[[ABDT]]'
 
21747
-  ;;
 
21748
-sysv4)
 
21749
-  symcode='[[DFNSTU]]'
 
21750
-  ;;
 
21751
-esac
 
21752
-
 
21753
-# If we're using GNU nm, then use its standard symbol codes.
 
21754
-case `$NM -V 2>&1` in
 
21755
-*GNU* | *'with BFD'*)
 
21756
-  symcode='[[ABCDGIRSTW]]' ;;
 
21757
-esac
 
21758
-
 
21759
-# Transform an extracted symbol line into a proper C declaration.
 
21760
-# Some systems (esp. on ia64) link data and code symbols differently,
 
21761
-# so use this general approach.
 
21762
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
21763
-
 
21764
-# Transform an extracted symbol line into symbol name and symbol address
 
21765
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
21766
-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'"
 
21767
-
 
21768
-# Handle CRLF in mingw tool chain
 
21769
-opt_cr=
 
21770
-case $build_os in
 
21771
-mingw*)
 
21772
-  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
21773
-  ;;
 
21774
-esac
 
21775
-
 
21776
-# Try without a prefix underscore, then with it.
 
21777
-for ac_symprfx in "" "_"; do
 
21778
-
 
21779
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
21780
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
21781
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
21782
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
21783
 
 
21784
   # Write the raw and C identifiers.
 
21785
   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
21786
@@ -4654,7 +3784,7 @@
 
21787
            ;;
 
21788
        esac
 
21789
        ;;
 
21790
-      netbsd*)
 
21791
+      netbsd* | netbsdelf*-gnu)
 
21792
        ;;
 
21793
       *qnx* | *nto*)
 
21794
         # QNX uses GNU C++, but need to define -shared option too, otherwise
 
21795
@@ -5079,6 +4209,9 @@
 
21796
   cygwin* | mingw* | cegcc*)
 
21797
     _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'
 
21798
   ;;
 
21799
+  linux* | k*bsd*-gnu)
 
21800
+    _LT_TAGVAR(link_all_deplibs, $1)=no
 
21801
+  ;;
 
21802
   *)
 
21803
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
21804
   ;;
 
21805
@@ -5143,6 +4276,9 @@
 
21806
   openbsd*)
 
21807
     with_gnu_ld=no
 
21808
     ;;
 
21809
+  linux* | k*bsd*-gnu)
 
21810
+    _LT_TAGVAR(link_all_deplibs, $1)=no
 
21811
+    ;;
 
21812
   esac
 
21813
 
 
21814
   _LT_TAGVAR(ld_shlibs, $1)=yes
 
21815
@@ -5325,7 +4461,7 @@
 
21816
       fi
 
21817
       ;;
 
21818
 
 
21819
-    netbsd*)
 
21820
+    netbsd* | netbsdelf*-gnu)
 
21821
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
21822
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
21823
        wlarc=
 
21824
@@ -5500,6 +4636,7 @@
 
21825
        if test "$aix_use_runtimelinking" = yes; then
 
21826
          shared_flag="$shared_flag "'${wl}-G'
 
21827
        fi
 
21828
+       _LT_TAGVAR(link_all_deplibs, $1)=no
 
21829
       else
 
21830
        # not using gcc
 
21831
        if test "$host_cpu" = ia64; then
 
21832
@@ -5738,7 +4875,7 @@
 
21833
       _LT_TAGVAR(link_all_deplibs, $1)=yes
 
21834
       ;;
 
21835
 
 
21836
-    netbsd*)
 
21837
+    netbsd* | netbsdelf*-gnu)
 
21838
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
21839
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
21840
       else
 
21841
@@ -6881,322 +6018,839 @@
 
21842
        _LT_TAGVAR(ld_shlibs, $1)=no
 
21843
        ;;
 
21844
 
 
21845
-      m88k*)
 
21846
-        # FIXME: insert proper C++ library support
 
21847
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
21848
-       ;;
 
21849
+      m88k*)
 
21850
+        # FIXME: insert proper C++ library support
 
21851
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
21852
+       ;;
 
21853
+
 
21854
+      mvs*)
 
21855
+        case $cc_basename in
 
21856
+          cxx*)
 
21857
+           # FIXME: insert proper C++ library support
 
21858
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
21859
+           ;;
 
21860
+         *)
 
21861
+           # FIXME: insert proper C++ library support
 
21862
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
21863
+           ;;
 
21864
+       esac
 
21865
+       ;;
 
21866
+
 
21867
+      netbsd*)
 
21868
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
21869
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
21870
+         wlarc=
 
21871
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
21872
+         _LT_TAGVAR(hardcode_direct, $1)=yes
 
21873
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
21874
+       fi
 
21875
+       # Workaround some broken pre-1.5 toolchains
 
21876
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
21877
+       ;;
 
21878
+
 
21879
+      *nto* | *qnx*)
 
21880
+        _LT_TAGVAR(ld_shlibs, $1)=yes
 
21881
+       ;;
 
21882
+
 
21883
+      openbsd2*)
 
21884
+        # C++ shared libraries are fairly broken
 
21885
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
21886
+       ;;
 
21887
+
 
21888
+      openbsd*)
 
21889
+       if test -f /usr/libexec/ld.so; then
 
21890
+         _LT_TAGVAR(hardcode_direct, $1)=yes
 
21891
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
21892
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
21893
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
21894
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
21895
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
21896
+           _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'
 
21897
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
21898
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
21899
+         fi
 
21900
+         output_verbose_link_cmd=echo
16925
21901
+       else
16926
 
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
21902
+         _LT_TAGVAR(ld_shlibs, $1)=no
16927
21903
+       fi
16928
21904
+       ;;
16929
 
       esac
16930
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16931
 
       ;;
16932
 
 
16933
 
     sunos4*)
16934
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
16935
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
16936
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16937
 
+      if test "x$host_vendor" = xsequent; then
16938
 
+       # Use $CC to link under sequent, because it throws in some extra .o
16939
 
+       # files that make .init and .fini sections work.
16940
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16941
 
+      else
16942
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16943
 
+      fi
16944
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16945
 
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
16946
 
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
16947
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16948
 
       ;;
16949
 
 
16950
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
16951
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16952
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16953
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16954
 
+    sysv4)
16955
 
+      case $host_vendor in
16956
 
+       sni)
16957
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16958
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
16959
 
+       ;;
16960
 
+       siemens)
16961
 
+         ## LD is ld it makes a PLAMLIB
16962
 
+         ## CC just makes a GrossModule.
16963
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16964
 
+         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
16965
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
16966
 
+        ;;
16967
 
+       motorola)
16968
 
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16969
 
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
16970
 
+       ;;
 
21905
+
 
21906
+      osf3* | osf4* | osf5*)
 
21907
+        case $cc_basename in
 
21908
+          KCC*)
 
21909
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
21910
+
 
21911
+           # KCC will only create a shared library if the output file
 
21912
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
21913
+           # to its proper name (with version) after linking.
 
21914
+           _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'
 
21915
+
 
21916
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
21917
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
21918
+
 
21919
+           # Archives containing C++ object files must be created using
 
21920
+           # the KAI C++ compiler.
 
21921
+           case $host in
 
21922
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
21923
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
 
21924
+           esac
 
21925
+           ;;
 
21926
+          RCC*)
 
21927
+           # Rational C++ 2.4.1
 
21928
+           # FIXME: insert proper C++ library support
 
21929
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
21930
+           ;;
 
21931
+          cxx*)
 
21932
+           case $host in
 
21933
+             osf3*)
 
21934
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
21935
+               _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'
 
21936
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
21937
+               ;;
 
21938
+             *)
 
21939
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
21940
+               _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'
 
21941
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
21942
+                 echo "-hidden">> $lib.exp~
 
21943
+                 $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~
 
21944
+                 $RM $lib.exp'
 
21945
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
21946
+               ;;
 
21947
+           esac
 
21948
+
 
21949
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
21950
+
 
21951
+           # Commands to make compiler produce verbose output that lists
 
21952
+           # what "hidden" libraries, object files and flags are used when
 
21953
+           # linking a shared library.
 
21954
+           #
 
21955
+           # There doesn't appear to be a way to prevent this compiler from
 
21956
+           # explicitly linking system object files so we need to strip them
 
21957
+           # from the output so that they don't get included in the library
 
21958
+           # dependencies.
 
21959
+           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'
 
21960
+           ;;
 
21961
+         *)
 
21962
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
21963
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
21964
+             case $host in
 
21965
+               osf3*)
 
21966
+                 _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'
 
21967
+                 ;;
 
21968
+               *)
 
21969
+                 _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'
 
21970
+                 ;;
 
21971
+             esac
 
21972
+
 
21973
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
21974
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
21975
+
 
21976
+             # Commands to make compiler produce verbose output that lists
 
21977
+             # what "hidden" libraries, object files and flags are used when
 
21978
+             # linking a shared library.
 
21979
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
21980
+
 
21981
+           else
 
21982
+             # FIXME: insert proper C++ library support
 
21983
+             _LT_TAGVAR(ld_shlibs, $1)=no
 
21984
+           fi
 
21985
+           ;;
 
21986
+        esac
 
21987
+        ;;
 
21988
+
 
21989
+      psos*)
 
21990
+        # FIXME: insert proper C++ library support
 
21991
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
21992
+        ;;
 
21993
+
 
21994
+      sunos4*)
 
21995
+        case $cc_basename in
 
21996
+          CC*)
 
21997
+           # Sun C++ 4.x
 
21998
+           # FIXME: insert proper C++ library support
 
21999
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
22000
+           ;;
 
22001
+          lcc*)
 
22002
+           # Lucid
 
22003
+           # FIXME: insert proper C++ library support
 
22004
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
22005
+           ;;
 
22006
+          *)
 
22007
+           # FIXME: insert proper C++ library support
 
22008
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
22009
+           ;;
 
22010
+        esac
 
22011
+        ;;
 
22012
+
 
22013
+      solaris*)
 
22014
+        case $cc_basename in
 
22015
+          CC*)
 
22016
+           # Sun C++ 4.2, 5.x and Centerline C++
 
22017
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
 
22018
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
22019
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
22020
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22021
+             $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'
 
22022
+
 
22023
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
22024
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22025
+           case $host_os in
 
22026
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
22027
+             *)
 
22028
+               # The compiler driver will combine and reorder linker options,
 
22029
+               # but understands `-z linker_flag'.
 
22030
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
 
22031
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
22032
+               ;;
 
22033
+           esac
 
22034
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
22035
+
 
22036
+           output_verbose_link_cmd='echo'
 
22037
+
 
22038
+           # Archives containing C++ object files must be created using
 
22039
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
22040
+           # necessary to make sure instantiated templates are included
 
22041
+           # in the archive.
 
22042
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
22043
+           ;;
 
22044
+          gcx*)
 
22045
+           # Green Hills C++ Compiler
 
22046
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22047
+
 
22048
+           # The C++ compiler must be used to create the archive.
 
22049
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
22050
+           ;;
 
22051
+          *)
 
22052
+           # GNU C++ compiler with Solaris linker
 
22053
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
22054
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
22055
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
22056
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22057
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22058
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
22059
+
 
22060
+               # Commands to make compiler produce verbose output that lists
 
22061
+               # what "hidden" libraries, object files and flags are used when
 
22062
+               # linking a shared library.
 
22063
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
22064
+             else
 
22065
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
22066
+               # platform.
 
22067
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22068
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22069
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
22070
+
 
22071
+               # Commands to make compiler produce verbose output that lists
 
22072
+               # what "hidden" libraries, object files and flags are used when
 
22073
+               # linking a shared library.
 
22074
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
22075
+             fi
 
22076
+
 
22077
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
22078
+             case $host_os in
 
22079
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
22080
+               *)
 
22081
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
22082
+                 ;;
 
22083
+             esac
 
22084
+           fi
 
22085
+           ;;
 
22086
+        esac
 
22087
+        ;;
 
22088
+
 
22089
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
22090
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
22091
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22092
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22093
+      runpath_var='LD_RUN_PATH'
 
22094
+
 
22095
+      case $cc_basename in
 
22096
+        CC*)
 
22097
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22098
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22099
+         ;;
 
22100
+       *)
 
22101
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22102
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22103
+         ;;
16971
22104
+      esac
16972
 
+      runpath_var='LD_RUN_PATH'
16973
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16974
 
+      ;;
16975
 
+
16976
 
+    sysv4.3*)
16977
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16978
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16979
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
16980
 
       ;;
16981
 
 
16982
 
     sysv4*MP*)
16983
 
-      if test -d /usr/nec ;then
16984
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
16985
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16986
 
+      if test -d /usr/nec; then
16987
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16988
 
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16989
 
+       runpath_var=LD_RUN_PATH
16990
 
+       hardcode_runpath_var=yes
16991
 
+       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
16992
 
       fi
16993
 
       ;;
16994
 
 
16995
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16996
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
16997
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
16998
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
16999
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
17000
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
17001
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17002
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17003
 
+      runpath_var='LD_RUN_PATH'
17004
 
+
17005
 
+      if test "$GCC" = yes; then
17006
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17007
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17008
 
+      else
17009
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17010
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17011
 
+      fi
17012
 
       ;;
17013
 
 
17014
 
-    unicos*)
17015
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
17016
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
17017
 
+    sysv5* | sco3.2v5* | sco5v6*)
17018
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
17019
 
+      # link with -lc, and that would cause any symbols used from libc to
17020
 
+      # always be unresolved, which means just about no library would
17021
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
17022
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
17023
 
+      # as -z defs.
17024
 
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
17025
 
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
17026
 
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17027
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17028
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17029
 
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
17030
 
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17031
 
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
17032
 
+      runpath_var='LD_RUN_PATH'
17033
 
+
17034
 
+      if test "$GCC" = yes; then
17035
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17036
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17037
 
+      else
17038
 
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17039
 
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17040
 
+      fi
17041
 
       ;;
17042
 
 
17043
 
     uts4*)
17044
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
17045
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17046
 
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17047
 
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
17048
 
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17049
 
       ;;
17050
 
 
17051
 
     *)
17052
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
17053
 
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
17054
 
       ;;
17055
 
     esac
17056
 
   fi
17057
 
 ])
17058
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
17059
 
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
17060
 
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
17061
 
 
17062
 
 #
17063
 
-# Check to make sure the PIC flag actually works.
17064
 
+# Do we need to explicitly link libc?
17065
 
 #
17066
 
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
17067
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
17068
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
17069
 
-    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
17070
 
-    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
17071
 
-     "" | " "*) ;;
17072
 
-     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
17073
 
-     esac],
17074
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
17075
 
-     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
17076
 
-fi
17077
 
-case $host_os in
17078
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
17079
 
-  *djgpp*)
17080
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
17081
 
-    ;;
17082
 
-  *)
17083
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
17084
 
-    ;;
17085
 
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
17086
 
+x|xyes)
17087
 
+  # Assume -lc should be added
17088
 
+  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
17089
 
+
17090
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
17091
 
+    case $_LT_AC_TAGVAR(archive_cmds, $1) in
17092
 
+    *'~'*)
17093
 
+      # FIXME: we may have to deal with multi-command sequences.
17094
 
+      ;;
17095
 
+    '$CC '*)
17096
 
+      # Test whether the compiler implicitly links with -lc since on some
17097
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17098
 
+      # to ld, don't add -lc before -lgcc.
17099
 
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
17100
 
+      $rm conftest*
17101
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17102
 
+
17103
 
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
17104
 
+        soname=conftest
17105
 
+        lib=conftest
17106
 
+        libobjs=conftest.$ac_objext
17107
 
+        deplibs=
17108
 
+        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
17109
 
+       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
17110
 
+        compiler_flags=-v
17111
 
+        linker_flags=-v
17112
 
+        verstring=
17113
 
+        output_objdir=.
17114
 
+        libname=conftest
17115
 
+        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
17116
 
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
17117
 
+        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
17118
 
+        then
17119
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17120
 
+        else
17121
 
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
17122
 
+        fi
17123
 
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
17124
 
+      else
17125
 
+        cat conftest.err 1>&5
17126
 
+      fi
17127
 
+      $rm conftest*
17128
 
+      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
17129
 
+      ;;
 
22105
+      ;;
 
22106
+
 
22107
+      sysv5* | sco3.2v5* | sco5v6*)
 
22108
+       # Note: We can NOT use -z defs as we might desire, because we do not
 
22109
+       # link with -lc, and that would cause any symbols used from libc to
 
22110
+       # always be unresolved, which means just about no library would
 
22111
+       # ever link correctly.  If we're not using GNU ld we use -z text
 
22112
+       # though, which does catch some bad symbols but isn't as heavy-handed
 
22113
+       # as -z defs.
 
22114
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
22115
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
22116
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22117
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22118
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
22119
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
22120
+       _LT_TAGVAR(link_all_deplibs, $1)=yes
 
22121
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
22122
+       runpath_var='LD_RUN_PATH'
 
22123
+
 
22124
+       case $cc_basename in
 
22125
+          CC*)
 
22126
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22127
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22128
+           ;;
 
22129
+         *)
 
22130
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22131
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22132
+           ;;
 
22133
+       esac
 
22134
+      ;;
 
22135
+
 
22136
+      tandem*)
 
22137
+        case $cc_basename in
 
22138
+          NCC*)
 
22139
+           # NonStop-UX NCC 3.20
 
22140
+           # FIXME: insert proper C++ library support
 
22141
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
22142
+           ;;
 
22143
+          *)
 
22144
+           # FIXME: insert proper C++ library support
 
22145
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
22146
+           ;;
 
22147
+        esac
 
22148
+        ;;
 
22149
+
 
22150
+      vxworks*)
 
22151
+        # FIXME: insert proper C++ library support
 
22152
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
22153
+        ;;
 
22154
+
 
22155
+      *)
 
22156
+        # FIXME: insert proper C++ library support
 
22157
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
22158
+        ;;
17130
22159
+    esac
17131
 
+  fi
17132
 
+  ;;
17133
 
 esac
17134
 
+])# AC_LIBTOOL_PROG_LD_SHLIBS
17135
 
+
17136
 
 
17137
 
+# _LT_AC_FILE_LTDLL_C
17138
 
+# -------------------
17139
 
+# Be careful that the start marker always follows a newline.
17140
 
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
17141
 
+# /* ltdll.c starts here */
17142
 
+# #define WIN32_LEAN_AND_MEAN
17143
 
+# #include <windows.h>
17144
 
+# #undef WIN32_LEAN_AND_MEAN
17145
 
+# #include <stdio.h>
17146
 
 #
17147
 
-# Check to make sure the static flag actually works.
17148
 
+# #ifndef __CYGWIN__
17149
 
+# #  ifdef __CYGWIN32__
17150
 
+# #    define __CYGWIN__ __CYGWIN32__
17151
 
+# #  endif
17152
 
+# #endif
17153
 
 #
17154
 
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
17155
 
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
17156
 
-  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
17157
 
-  $lt_tmp_static_flag,
17158
 
-  [],
17159
 
-  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
17160
 
-])
17161
 
+# #ifdef __cplusplus
17162
 
+# extern "C" {
17163
 
+# #endif
17164
 
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
17165
 
+# #ifdef __cplusplus
17166
 
+# }
17167
 
+# #endif
17168
 
+#
17169
 
+# #ifdef __CYGWIN__
17170
 
+# #include <cygwin/cygwin_dll.h>
17171
 
+# DECLARE_CYGWIN_DLL( DllMain );
17172
 
+# #endif
17173
 
+# HINSTANCE __hDllInstance_base;
17174
 
+#
17175
 
+# BOOL APIENTRY
17176
 
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
17177
 
+# {
17178
 
+#   __hDllInstance_base = hInst;
17179
 
+#   return TRUE;
17180
 
+# }
17181
 
+# /* ltdll.c ends here */
17182
 
+])# _LT_AC_FILE_LTDLL_C
17183
 
 
17184
 
 
17185
 
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
17186
 
-# ------------------------------------
17187
 
-# See if the linker supports building shared libraries.
17188
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
17189
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
17190
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
17191
 
-ifelse([$1],[CXX],[
17192
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17193
 
-  case $host_os in
17194
 
-  aix[[4-9]]*)
17195
 
-    # If we're using GNU nm, then we don't want the "-C" option.
17196
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
17197
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17198
 
-      _LT_AC_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'
17199
 
-    else
17200
 
-      _LT_AC_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'
17201
 
-    fi
17202
 
-    ;;
17203
 
-  pw32*)
17204
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
17205
 
-  ;;
17206
 
-  cygwin* | mingw*)
17207
 
-    _LT_AC_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'
17208
 
-  ;;
17209
 
-  *)
17210
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17211
 
-  ;;
17212
 
-  esac
17213
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
17214
 
-],[
17215
 
-  runpath_var=
17216
 
-  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
17217
 
-  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
17218
 
-  _LT_AC_TAGVAR(archive_cmds, $1)=
17219
 
-  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
17220
 
-  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
17221
 
-  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
17222
 
-  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
17223
 
-  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
17224
 
-  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
17225
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
17226
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
17227
 
-  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
17228
 
-  _LT_AC_TAGVAR(hardcode_direct, $1)=no
17229
 
-  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
17230
 
-  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
17231
 
-  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
17232
 
-  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
17233
 
-  _LT_AC_TAGVAR(module_cmds, $1)=
17234
 
-  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
17235
 
-  _LT_AC_TAGVAR(always_export_symbols, $1)=no
17236
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17237
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
17238
 
-  # included in the symbol list
17239
 
-  _LT_AC_TAGVAR(include_expsyms, $1)=
17240
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
17241
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17242
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17243
 
-  # as well as any symbol that contains `d'.
17244
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
17245
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17246
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
17247
 
-  # the symbol is explicitly referenced.  Since portable code cannot
17248
 
-  # rely on this symbol name, it's probably fine to never include it in
17249
 
-  # preloaded symbol tables.
17250
 
-  # Exclude shared library initialization/finalization symbols.
17251
 
-dnl Note also adjust exclude_expsyms for C++ above.
17252
 
-  extract_expsyms_cmds=
17253
 
-  # Just being paranoid about ensuring that cc_basename is set.
17254
 
-  _LT_CC_BASENAME([$compiler])
17255
 
-  case $host_os in
17256
 
-  cygwin* | mingw* | pw32*)
17257
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17258
 
-    # When not using gcc, we currently assume that we are using
17259
 
-    # Microsoft Visual C++.
17260
 
-    if test "$GCC" != yes; then
17261
 
-      with_gnu_ld=no
17262
 
-    fi
17263
 
-    ;;
17264
 
-  interix*)
17265
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
17266
 
-    with_gnu_ld=yes
17267
 
-    ;;
17268
 
-  openbsd*)
17269
 
-    with_gnu_ld=no
17270
 
-    ;;
17271
 
-  esac
17272
 
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
 
22160
+
 
22161
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
22162
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
22163
+
 
22164
+    _LT_TAGVAR(GCC, $1)="$GXX"
 
22165
+    _LT_TAGVAR(LD, $1)="$LD"
 
22166
+
 
22167
+    ## CAVEAT EMPTOR:
 
22168
+    ## There is no encapsulation within the following macros, do not change
 
22169
+    ## the running order or otherwise move them around unless you know exactly
 
22170
+    ## what you are doing...
 
22171
+    _LT_SYS_HIDDEN_LIBDEPS($1)
 
22172
+    _LT_COMPILER_PIC($1)
 
22173
+    _LT_COMPILER_C_O($1)
 
22174
+    _LT_COMPILER_FILE_LOCKS($1)
 
22175
+    _LT_LINKER_SHLIBS($1)
 
22176
+    _LT_SYS_DYNAMIC_LINKER($1)
 
22177
+    _LT_LINKER_HARDCODE_LIBPATH($1)
 
22178
+
 
22179
+    _LT_CONFIG($1)
 
22180
+  fi # test -n "$compiler"
 
22181
+
 
22182
+  CC=$lt_save_CC
 
22183
+  LDCXX=$LD
 
22184
+  LD=$lt_save_LD
 
22185
+  GCC=$lt_save_GCC
 
22186
+  with_gnu_ld=$lt_save_with_gnu_ld
 
22187
+  lt_cv_path_LDCXX=$lt_cv_path_LD
 
22188
+  lt_cv_path_LD=$lt_save_path_LD
 
22189
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
22190
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
22191
+fi # test "$_lt_caught_CXX_error" != yes
 
22192
+
 
22193
+AC_LANG_POP
 
22194
+])# _LT_LANG_CXX_CONFIG
 
22195
+
 
22196
+
 
22197
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
17273
22198
+# ---------------------------------
17274
 
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
17275
 
+
17276
 
+
17277
 
+# old names
17278
 
+AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
17279
 
+AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
17280
 
+AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
17281
 
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
17282
 
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
17283
 
+AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
17284
 
+AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
17285
 
+
17286
 
+# This is just to silence aclocal about the macro not being used
17287
 
+ifelse([AC_DISABLE_FAST_INSTALL])
17288
 
 
17289
 
-  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
17290
 
-  if test "$with_gnu_ld" = yes; then
17291
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
17292
 
-    wlarc='${wl}'
17293
 
+AC_DEFUN([LT_AC_PROG_GCJ],
17294
 
+[AC_CHECK_TOOL(GCJ, gcj, no)
17295
 
+  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
17296
 
+  AC_SUBST(GCJFLAGS)
17297
 
+])
17298
 
 
17299
 
-    # Set some defaults for GNU ld with shared library support. These
17300
 
-    # are reset later if shared libraries are not supported. Putting them
17301
 
-    # here allows them to be overridden if necessary.
17302
 
-    runpath_var=LD_RUN_PATH
17303
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
17304
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
17305
 
-    # ancient GNU ld didn't support --whole-archive et. al.
17306
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17307
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17308
 
-      else
17309
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
17310
 
-    fi
17311
 
-    supports_anon_versioning=no
17312
 
-    case `$LD -v 2>/dev/null` in
17313
 
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
17314
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17315
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17316
 
-      *\ 2.11.*) ;; # other 2.11 versions
17317
 
-      *) supports_anon_versioning=yes ;;
17318
 
-    esac
17319
 
+AC_DEFUN([LT_AC_PROG_RC],
17320
 
+[AC_CHECK_TOOL(RC, windres, no)
17321
 
+])
17322
 
 
17323
 
-    # See if GNU ld supports shared libraries.
17324
 
-    case $host_os in
17325
 
-    aix[[3-9]]*)
17326
 
-      # On AIX/PPC, the GNU linker is very broken
17327
 
-      if test "$host_cpu" != ia64; then
17328
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17329
 
-       cat <<EOF 1>&2
17330
 
 
17331
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17332
 
-*** to be unable to reliably create shared libraries on AIX.
17333
 
-*** Therefore, libtool is disabling shared libraries support.  If you
17334
 
-*** really care for shared libraries, you may want to modify your PATH
17335
 
-*** so that a non-GNU linker is found, and then restart.
17336
 
+# Cheap backport of AS_EXECUTABLE_P and required macros
17337
 
+# from Autoconf 2.59; we should not use $as_executable_p directly.
17338
 
 
17339
 
-EOF
17340
 
+# _AS_TEST_PREPARE
17341
 
+# ----------------
17342
 
+m4_ifndef([_AS_TEST_PREPARE],
17343
 
+[m4_defun([_AS_TEST_PREPARE],
17344
 
+[if test -x / >/dev/null 2>&1; then
17345
 
+  as_executable_p='test -x'
 
22199
+# Figure out "hidden" library dependencies from verbose
 
22200
+# compiler output when linking a shared library.
 
22201
+# Parse the compiler output and extract the necessary
 
22202
+# objects, libraries and library flags.
 
22203
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 
22204
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
22205
+# Dependencies to place before and after the object being linked:
 
22206
+_LT_TAGVAR(predep_objects, $1)=
 
22207
+_LT_TAGVAR(postdep_objects, $1)=
 
22208
+_LT_TAGVAR(predeps, $1)=
 
22209
+_LT_TAGVAR(postdeps, $1)=
 
22210
+_LT_TAGVAR(compiler_lib_search_path, $1)=
 
22211
+
 
22212
+dnl we can't use the lt_simple_compile_test_code here,
 
22213
+dnl because it contains code intended for an executable,
 
22214
+dnl not a library.  It's possible we should let each
 
22215
+dnl tag define a new lt_????_link_test_code variable,
 
22216
+dnl but it's only used here...
 
22217
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
 
22218
+int a;
 
22219
+void foo (void) { a = 0; }
 
22220
+_LT_EOF
 
22221
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
 
22222
+class Foo
 
22223
+{
 
22224
+public:
 
22225
+  Foo (void) { a = 0; }
 
22226
+private:
 
22227
+  int a;
 
22228
+};
 
22229
+_LT_EOF
 
22230
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
 
22231
+      subroutine foo
 
22232
+      implicit none
 
22233
+      integer*4 a
 
22234
+      a=0
 
22235
+      return
 
22236
+      end
 
22237
+_LT_EOF
 
22238
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
 
22239
+      subroutine foo
 
22240
+      implicit none
 
22241
+      integer a
 
22242
+      a=0
 
22243
+      return
 
22244
+      end
 
22245
+_LT_EOF
 
22246
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
 
22247
+public class foo {
 
22248
+  private int a;
 
22249
+  public void bar (void) {
 
22250
+    a = 0;
 
22251
+  }
 
22252
+};
 
22253
+_LT_EOF
 
22254
+])
 
22255
+dnl Parse the compiler output and extract the necessary
 
22256
+dnl objects, libraries and library flags.
 
22257
+if AC_TRY_EVAL(ac_compile); then
 
22258
+  # Parse the compiler output and extract the necessary
 
22259
+  # objects, libraries and library flags.
 
22260
+
 
22261
+  # Sentinel used to keep track of whether or not we are before
 
22262
+  # the conftest object file.
 
22263
+  pre_test_object_deps_done=no
 
22264
+
 
22265
+  for p in `eval "$output_verbose_link_cmd"`; do
 
22266
+    case $p in
 
22267
+
 
22268
+    -L* | -R* | -l*)
 
22269
+       # Some compilers place space between "-{L,R}" and the path.
 
22270
+       # Remove the space.
 
22271
+       if test $p = "-L" ||
 
22272
+          test $p = "-R"; then
 
22273
+        prev=$p
 
22274
+        continue
 
22275
+       else
 
22276
+        prev=
 
22277
+       fi
 
22278
+
 
22279
+       if test "$pre_test_object_deps_done" = no; then
 
22280
+        case $p in
 
22281
+        -L* | -R*)
 
22282
+          # Internal compiler library paths should come after those
 
22283
+          # provided the user.  The postdeps already come after the
 
22284
+          # user supplied libs so there is no need to process them.
 
22285
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
 
22286
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
22287
+          else
 
22288
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
22289
+          fi
 
22290
+          ;;
 
22291
+        # The "-l" case would never come before the object being
 
22292
+        # linked, so don't bother handling this case.
 
22293
+        esac
 
22294
+       else
 
22295
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
 
22296
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
 
22297
+        else
 
22298
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 
22299
+        fi
 
22300
+       fi
 
22301
+       ;;
 
22302
+
 
22303
+    *.$objext)
 
22304
+       # This assumes that the test object file only shows up
 
22305
+       # once in the compiler output.
 
22306
+       if test "$p" = "conftest.$objext"; then
 
22307
+        pre_test_object_deps_done=yes
 
22308
+        continue
 
22309
+       fi
 
22310
+
 
22311
+       if test "$pre_test_object_deps_done" = no; then
 
22312
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
 
22313
+          _LT_TAGVAR(predep_objects, $1)="$p"
 
22314
+        else
 
22315
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
 
22316
+        fi
 
22317
+       else
 
22318
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
 
22319
+          _LT_TAGVAR(postdep_objects, $1)="$p"
 
22320
+        else
 
22321
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
 
22322
+        fi
 
22323
+       fi
 
22324
+       ;;
 
22325
+
 
22326
+    *) ;; # Ignore the rest.
 
22327
+
 
22328
+    esac
 
22329
+  done
 
22330
+
 
22331
+  # Clean up.
 
22332
+  rm -f a.out a.exe
17346
22333
+else
17347
 
+  as_executable_p='test -f'
17348
 
+fi
17349
 
+])])# _AS_TEST_PREPARE
17350
 
+
17351
 
+# AS_EXECUTABLE_P
17352
 
+# ---------------
17353
 
+# Check whether a file is executable.
17354
 
+m4_ifndef([AS_EXECUTABLE_P],
17355
 
+[m4_defun([AS_EXECUTABLE_P],
17356
 
+[AS_REQUIRE([_AS_TEST_PREPARE])dnl
17357
 
+$as_executable_p $1[]dnl
17358
 
+])])# AS_EXECUTABLE_P
17359
 
+
 
22334
+  echo "libtool.m4: error: problem compiling $1 test program"
 
22335
+fi
 
22336
+
 
22337
+$RM -f confest.$objext
 
22338
+
 
22339
+# PORTME: override above test on systems where it is broken
 
22340
+m4_if([$1], [CXX],
 
22341
+[case $host_os in
 
22342
+interix[[3-9]]*)
 
22343
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
22344
+  # hack all around it, let's just trust "g++" to DTRT.
 
22345
+  _LT_TAGVAR(predep_objects,$1)=
 
22346
+  _LT_TAGVAR(postdep_objects,$1)=
 
22347
+  _LT_TAGVAR(postdeps,$1)=
 
22348
+  ;;
 
22349
+
 
22350
+linux*)
 
22351
+  case `$CC -V 2>&1 | sed 5q` in
 
22352
+  *Sun\ C*)
 
22353
+    # Sun C++ 5.9
 
22354
+
 
22355
+    # The more standards-conforming stlport4 library is
 
22356
+    # incompatible with the Cstd library. Avoid specifying
 
22357
+    # it if it's in CXXFLAGS. Ignore libCrun as
 
22358
+    # -library=stlport4 depends on it.
 
22359
+    case " $CXX $CXXFLAGS " in
 
22360
+    *" -library=stlport4 "*)
 
22361
+      solaris_use_stlport4=yes
 
22362
+      ;;
 
22363
+    esac
 
22364
+
 
22365
+    if test "$solaris_use_stlport4" != yes; then
 
22366
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
22367
+    fi
 
22368
+    ;;
 
22369
+  esac
 
22370
+  ;;
 
22371
+
 
22372
+solaris*)
 
22373
+  case $cc_basename in
 
22374
+  CC*)
 
22375
+    # The more standards-conforming stlport4 library is
 
22376
+    # incompatible with the Cstd library. Avoid specifying
 
22377
+    # it if it's in CXXFLAGS. Ignore libCrun as
 
22378
+    # -library=stlport4 depends on it.
 
22379
+    case " $CXX $CXXFLAGS " in
 
22380
+    *" -library=stlport4 "*)
 
22381
+      solaris_use_stlport4=yes
 
22382
+      ;;
 
22383
+    esac
 
22384
+
 
22385
+    # Adding this requires a known-good setup of shared libraries for
 
22386
+    # Sun compiler versions before 5.6, else PIC objects from an old
 
22387
+    # archive will be linked into the output, leading to subtle bugs.
 
22388
+    if test "$solaris_use_stlport4" != yes; then
 
22389
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
22390
+    fi
 
22391
+    ;;
 
22392
+  esac
 
22393
+  ;;
 
22394
+esac
 
22395
+])
 
22396
+
 
22397
+case " $_LT_TAGVAR(postdeps, $1) " in
 
22398
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
22399
+esac
 
22400
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
 
22401
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
 
22402
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
22403
+fi
 
22404
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
 
22405
+    [The directories searched by this compiler when creating a shared library])
 
22406
+_LT_TAGDECL([], [predep_objects], [1],
 
22407
+    [Dependencies to place before and after the objects being linked to
 
22408
+    create a shared library])
 
22409
+_LT_TAGDECL([], [postdep_objects], [1])
 
22410
+_LT_TAGDECL([], [predeps], [1])
 
22411
+_LT_TAGDECL([], [postdeps], [1])
 
22412
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
 
22413
+    [The library search path used internally by the compiler when linking
 
22414
+    a shared library])
 
22415
+])# _LT_SYS_HIDDEN_LIBDEPS
 
22416
+
 
22417
+
 
22418
+# _LT_PROG_F77
 
22419
+# ------------
 
22420
+# Since AC_PROG_F77 is broken, in that it returns the empty string
 
22421
+# if there is no fortran compiler, we have our own version here.
 
22422
+m4_defun([_LT_PROG_F77],
 
22423
+[
 
22424
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
 
22425
+AC_PROG_F77
 
22426
+if test -z "$F77" || test "X$F77" = "Xno"; then
 
22427
+  _lt_disable_F77=yes
 
22428
+fi
 
22429
+popdef([AC_MSG_ERROR])
 
22430
+])# _LT_PROG_F77
 
22431
+
 
22432
+dnl aclocal-1.4 backwards compatibility:
 
22433
+dnl AC_DEFUN([_LT_PROG_F77], [])
 
22434
+
 
22435
+
 
22436
+# _LT_LANG_F77_CONFIG([TAG])
 
22437
+# --------------------------
 
22438
+# Ensure that the configuration variables for a Fortran 77 compiler are
 
22439
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
22440
+# to write the compiler configuration to `libtool'.
 
22441
+m4_defun([_LT_LANG_F77_CONFIG],
 
22442
+[AC_REQUIRE([_LT_PROG_F77])dnl
 
22443
+AC_LANG_PUSH(Fortran 77)
 
22444
+
 
22445
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22446
+_LT_TAGVAR(allow_undefined_flag, $1)=
 
22447
+_LT_TAGVAR(always_export_symbols, $1)=no
 
22448
+_LT_TAGVAR(archive_expsym_cmds, $1)=
 
22449
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
22450
+_LT_TAGVAR(hardcode_direct, $1)=no
 
22451
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
22452
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
22453
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
22454
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
22455
+_LT_TAGVAR(hardcode_minus_L, $1)=no
 
22456
+_LT_TAGVAR(hardcode_automatic, $1)=no
 
22457
+_LT_TAGVAR(inherit_rpath, $1)=no
 
22458
+_LT_TAGVAR(module_cmds, $1)=
 
22459
+_LT_TAGVAR(module_expsym_cmds, $1)=
 
22460
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
22461
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
22462
+_LT_TAGVAR(no_undefined_flag, $1)=
 
22463
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
22464
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
22465
+
 
22466
+# Source file extension for f77 test sources.
 
22467
+ac_ext=f
 
22468
 
 
22469
-      mvs*)
 
22470
-        case $cc_basename in
 
22471
-          cxx*)
 
22472
-           # FIXME: insert proper C++ library support
 
22473
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22474
-           ;;
 
22475
-         *)
 
22476
-           # FIXME: insert proper C++ library support
 
22477
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22478
-           ;;
 
22479
-       esac
 
22480
-       ;;
 
22481
+# Object file extension for compiled f77 test sources.
 
22482
+objext=o
 
22483
+_LT_TAGVAR(objext, $1)=$objext
 
22484
 
 
22485
-      netbsd*)
 
22486
-        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
22487
-         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
22488
-         wlarc=
 
22489
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
22490
-         _LT_TAGVAR(hardcode_direct, $1)=yes
 
22491
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22492
-       fi
 
22493
-       # Workaround some broken pre-1.5 toolchains
 
22494
-       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
22495
-       ;;
 
22496
+# No sense in running all these tests if we already determined that
 
22497
+# the F77 compiler isn't working.  Some variables (like enable_shared)
 
22498
+# are currently assumed to apply to all compilers on this platform,
 
22499
+# and will be corrupted by setting them based on a non-working compiler.
 
22500
+if test "$_lt_disable_F77" != yes; then
 
22501
+  # Code to be used in simple compile tests
 
22502
+  lt_simple_compile_test_code="\
 
22503
+      subroutine t
 
22504
+      return
 
22505
+      end
 
22506
+"
 
22507
 
 
22508
-      *nto* | *qnx*)
 
22509
-        _LT_TAGVAR(ld_shlibs, $1)=yes
 
22510
-       ;;
 
22511
+  # Code to be used in simple link tests
 
22512
+  lt_simple_link_test_code="\
 
22513
+      program t
 
22514
+      end
 
22515
+"
 
22516
 
 
22517
-      openbsd2*)
 
22518
-        # C++ shared libraries are fairly broken
 
22519
-       _LT_TAGVAR(ld_shlibs, $1)=no
 
22520
-       ;;
 
22521
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
22522
+  _LT_TAG_COMPILER
 
22523
 
 
22524
-      openbsd*)
 
22525
-       if test -f /usr/libexec/ld.so; then
 
22526
-         _LT_TAGVAR(hardcode_direct, $1)=yes
 
22527
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22528
-         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
22529
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
22530
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
22531
-         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
22532
-           _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'
 
22533
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
22534
-           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
22535
-         fi
 
22536
-         output_verbose_link_cmd=echo
 
22537
-       else
 
22538
-         _LT_TAGVAR(ld_shlibs, $1)=no
 
22539
-       fi
 
22540
-       ;;
 
22541
+  # save warnings/boilerplate of simple test code
 
22542
+  _LT_COMPILER_BOILERPLATE
 
22543
+  _LT_LINKER_BOILERPLATE
 
22544
 
 
22545
-      osf3* | osf4* | osf5*)
 
22546
-        case $cc_basename in
 
22547
-          KCC*)
 
22548
-           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
22549
+  # Allow CC to be a program name with arguments.
 
22550
+  lt_save_CC="$CC"
 
22551
+  lt_save_GCC=$GCC
 
22552
+  CC=${F77-"f77"}
 
22553
+  compiler=$CC
 
22554
+  _LT_TAGVAR(compiler, $1)=$CC
 
22555
+  _LT_CC_BASENAME([$compiler])
 
22556
+  GCC=$G77
 
22557
+  if test -n "$compiler"; then
 
22558
+    AC_MSG_CHECKING([if libtool supports shared libraries])
 
22559
+    AC_MSG_RESULT([$can_build_shared])
 
22560
 
 
22561
-           # KCC will only create a shared library if the output file
 
22562
-           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
22563
-           # to its proper name (with version) after linking.
 
22564
-           _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'
 
22565
+    AC_MSG_CHECKING([whether to build shared libraries])
 
22566
+    test "$can_build_shared" = "no" && enable_shared=no
 
22567
 
 
22568
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
22569
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
22570
+    # On AIX, shared libraries and static libraries use the same namespace, and
 
22571
+    # are all built from PIC.
 
22572
+    case $host_os in
 
22573
+      aix3*)
 
22574
+        test "$enable_shared" = yes && enable_static=no
 
22575
+        if test -n "$RANLIB"; then
 
22576
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
22577
+          postinstall_cmds='$RANLIB $lib'
 
22578
+        fi
 
22579
+        ;;
 
22580
+      aix[[4-9]]*)
 
22581
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
22582
+         test "$enable_shared" = yes && enable_static=no
 
22583
+       fi
 
22584
+        ;;
 
22585
+    esac
 
22586
+    AC_MSG_RESULT([$enable_shared])
 
22587
 
 
22588
-           # Archives containing C++ object files must be created using
 
22589
-           # the KAI C++ compiler.
 
22590
-           case $host in
 
22591
-             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
22592
-             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
 
22593
-           esac
 
22594
-           ;;
 
22595
-          RCC*)
 
22596
-           # Rational C++ 2.4.1
 
22597
-           # FIXME: insert proper C++ library support
 
22598
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22599
-           ;;
 
22600
-          cxx*)
 
22601
-           case $host in
 
22602
-             osf3*)
 
22603
-               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
22604
-               _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'
 
22605
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
22606
-               ;;
 
22607
-             *)
 
22608
-               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
22609
-               _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'
 
22610
-               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
22611
-                 echo "-hidden">> $lib.exp~
 
22612
-                 $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~
 
22613
-                 $RM $lib.exp'
 
22614
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
22615
-               ;;
 
22616
-           esac
 
22617
+    AC_MSG_CHECKING([whether to build static libraries])
 
22618
+    # Make sure either enable_shared or enable_static is yes.
 
22619
+    test "$enable_shared" = yes || enable_static=yes
 
22620
+    AC_MSG_RESULT([$enable_static])
 
22621
 
 
22622
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
22623
+    _LT_TAGVAR(GCC, $1)="$G77"
 
22624
+    _LT_TAGVAR(LD, $1)="$LD"
 
22625
 
 
22626
-           # Commands to make compiler produce verbose output that lists
 
22627
-           # what "hidden" libraries, object files and flags are used when
 
22628
-           # linking a shared library.
 
22629
-           #
 
22630
-           # There doesn't appear to be a way to prevent this compiler from
 
22631
-           # explicitly linking system object files so we need to strip them
 
22632
-           # from the output so that they don't get included in the library
 
22633
-           # dependencies.
 
22634
-           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'
 
22635
-           ;;
 
22636
-         *)
 
22637
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
22638
-             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
22639
-             case $host in
 
22640
-               osf3*)
 
22641
-                 _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'
 
22642
-                 ;;
 
22643
-               *)
 
22644
-                 _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'
 
22645
-                 ;;
 
22646
-             esac
 
22647
+    ## CAVEAT EMPTOR:
 
22648
+    ## There is no encapsulation within the following macros, do not change
 
22649
+    ## the running order or otherwise move them around unless you know exactly
 
22650
+    ## what you are doing...
 
22651
+    _LT_COMPILER_PIC($1)
 
22652
+    _LT_COMPILER_C_O($1)
 
22653
+    _LT_COMPILER_FILE_LOCKS($1)
 
22654
+    _LT_LINKER_SHLIBS($1)
 
22655
+    _LT_SYS_DYNAMIC_LINKER($1)
 
22656
+    _LT_LINKER_HARDCODE_LIBPATH($1)
 
22657
 
 
22658
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
22659
-             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
22660
+    _LT_CONFIG($1)
 
22661
+  fi # test -n "$compiler"
 
22662
 
 
22663
-             # Commands to make compiler produce verbose output that lists
 
22664
-             # what "hidden" libraries, object files and flags are used when
 
22665
-             # linking a shared library.
 
22666
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
22667
+  GCC=$lt_save_GCC
 
22668
+  CC="$lt_save_CC"
 
22669
+fi # test "$_lt_disable_F77" != yes
 
22670
 
 
22671
-           else
 
22672
-             # FIXME: insert proper C++ library support
 
22673
-             _LT_TAGVAR(ld_shlibs, $1)=no
 
22674
-           fi
 
22675
-           ;;
 
22676
-        esac
 
22677
-        ;;
 
22678
+AC_LANG_POP
 
22679
+])# _LT_LANG_F77_CONFIG
 
22680
 
 
22681
-      psos*)
 
22682
-        # FIXME: insert proper C++ library support
 
22683
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
22684
-        ;;
 
22685
 
 
22686
-      sunos4*)
 
22687
-        case $cc_basename in
 
22688
-          CC*)
 
22689
-           # Sun C++ 4.x
 
22690
-           # FIXME: insert proper C++ library support
 
22691
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22692
-           ;;
 
22693
-          lcc*)
 
22694
-           # Lucid
 
22695
-           # FIXME: insert proper C++ library support
 
22696
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22697
-           ;;
 
22698
-          *)
 
22699
-           # FIXME: insert proper C++ library support
 
22700
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22701
-           ;;
 
22702
-        esac
 
22703
-        ;;
 
22704
+# _LT_PROG_FC
 
22705
+# -----------
 
22706
+# Since AC_PROG_FC is broken, in that it returns the empty string
 
22707
+# if there is no fortran compiler, we have our own version here.
 
22708
+m4_defun([_LT_PROG_FC],
 
22709
+[
 
22710
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
 
22711
+AC_PROG_FC
 
22712
+if test -z "$FC" || test "X$FC" = "Xno"; then
 
22713
+  _lt_disable_FC=yes
 
22714
+fi
 
22715
+popdef([AC_MSG_ERROR])
 
22716
+])# _LT_PROG_FC
 
22717
 
 
22718
-      solaris*)
 
22719
-        case $cc_basename in
 
22720
-          CC*)
 
22721
-           # Sun C++ 4.2, 5.x and Centerline C++
 
22722
-            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
 
22723
-           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
22724
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
22725
-           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22726
-             $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'
 
22727
+dnl aclocal-1.4 backwards compatibility:
 
22728
+dnl AC_DEFUN([_LT_PROG_FC], [])
 
22729
 
 
22730
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
22731
-           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22732
-           case $host_os in
 
22733
-             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
22734
-             *)
 
22735
-               # The compiler driver will combine and reorder linker options,
 
22736
-               # but understands `-z linker_flag'.
 
22737
-               # Supported since Solaris 2.6 (maybe 2.5.1?)
 
22738
-               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
22739
-               ;;
 
22740
-           esac
 
22741
-           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
22742
 
 
22743
-           output_verbose_link_cmd='echo'
 
22744
+# _LT_LANG_FC_CONFIG([TAG])
 
22745
+# -------------------------
 
22746
+# Ensure that the configuration variables for a Fortran compiler are
 
22747
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
22748
+# to write the compiler configuration to `libtool'.
 
22749
+m4_defun([_LT_LANG_FC_CONFIG],
 
22750
+[AC_REQUIRE([_LT_PROG_FC])dnl
 
22751
+AC_LANG_PUSH(Fortran)
 
22752
 
 
22753
-           # Archives containing C++ object files must be created using
 
22754
-           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
22755
-           # necessary to make sure instantiated templates are included
 
22756
-           # in the archive.
 
22757
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
22758
-           ;;
 
22759
-          gcx*)
 
22760
-           # Green Hills C++ Compiler
 
22761
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22762
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22763
+_LT_TAGVAR(allow_undefined_flag, $1)=
 
22764
+_LT_TAGVAR(always_export_symbols, $1)=no
 
22765
+_LT_TAGVAR(archive_expsym_cmds, $1)=
 
22766
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
22767
+_LT_TAGVAR(hardcode_direct, $1)=no
 
22768
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
22769
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
22770
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
22771
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
22772
+_LT_TAGVAR(hardcode_minus_L, $1)=no
 
22773
+_LT_TAGVAR(hardcode_automatic, $1)=no
 
22774
+_LT_TAGVAR(inherit_rpath, $1)=no
 
22775
+_LT_TAGVAR(module_cmds, $1)=
 
22776
+_LT_TAGVAR(module_expsym_cmds, $1)=
 
22777
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
22778
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
22779
+_LT_TAGVAR(no_undefined_flag, $1)=
 
22780
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
22781
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
22782
 
 
22783
-           # The C++ compiler must be used to create the archive.
 
22784
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
22785
-           ;;
 
22786
-          *)
 
22787
-           # GNU C++ compiler with Solaris linker
 
22788
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
22789
-             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
22790
-             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
22791
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22792
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22793
-                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
22794
+# Source file extension for fc test sources.
 
22795
+ac_ext=${ac_fc_srcext-f}
 
22796
 
 
22797
-               # Commands to make compiler produce verbose output that lists
 
22798
-               # what "hidden" libraries, object files and flags are used when
 
22799
-               # linking a shared library.
 
22800
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
22801
-             else
 
22802
-               # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
22803
-               # platform.
 
22804
-               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
22805
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
22806
-                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
22807
+# Object file extension for compiled fc test sources.
 
22808
+objext=o
 
22809
+_LT_TAGVAR(objext, $1)=$objext
 
22810
 
 
22811
-               # Commands to make compiler produce verbose output that lists
 
22812
-               # what "hidden" libraries, object files and flags are used when
 
22813
-               # linking a shared library.
 
22814
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
22815
-             fi
 
22816
+# No sense in running all these tests if we already determined that
 
22817
+# the FC compiler isn't working.  Some variables (like enable_shared)
 
22818
+# are currently assumed to apply to all compilers on this platform,
 
22819
+# and will be corrupted by setting them based on a non-working compiler.
 
22820
+if test "$_lt_disable_FC" != yes; then
 
22821
+  # Code to be used in simple compile tests
 
22822
+  lt_simple_compile_test_code="\
 
22823
+      subroutine t
 
22824
+      return
 
22825
+      end
 
22826
+"
 
22827
 
 
22828
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
22829
-             case $host_os in
 
22830
-               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
22831
-               *)
 
22832
-                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
22833
-                 ;;
 
22834
-             esac
 
22835
-           fi
 
22836
-           ;;
 
22837
-        esac
 
22838
-        ;;
 
22839
+  # Code to be used in simple link tests
 
22840
+  lt_simple_link_test_code="\
 
22841
+      program t
 
22842
+      end
 
22843
+"
 
22844
 
 
22845
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
22846
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
22847
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22848
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22849
-      runpath_var='LD_RUN_PATH'
 
22850
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
22851
+  _LT_TAG_COMPILER
 
22852
 
 
22853
-      case $cc_basename in
 
22854
-        CC*)
 
22855
-         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22856
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22857
-         ;;
 
22858
-       *)
 
22859
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22860
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22861
-         ;;
 
22862
-      esac
 
22863
-      ;;
 
22864
+  # save warnings/boilerplate of simple test code
 
22865
+  _LT_COMPILER_BOILERPLATE
 
22866
+  _LT_LINKER_BOILERPLATE
 
22867
 
 
22868
-      sysv5* | sco3.2v5* | sco5v6*)
 
22869
-       # Note: We can NOT use -z defs as we might desire, because we do not
 
22870
-       # link with -lc, and that would cause any symbols used from libc to
 
22871
-       # always be unresolved, which means just about no library would
 
22872
-       # ever link correctly.  If we're not using GNU ld we use -z text
 
22873
-       # though, which does catch some bad symbols but isn't as heavy-handed
 
22874
-       # as -z defs.
 
22875
-       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
22876
-       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
22877
-       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
22878
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
22879
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
22880
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
22881
-       _LT_TAGVAR(link_all_deplibs, $1)=yes
 
22882
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
22883
-       runpath_var='LD_RUN_PATH'
 
22884
+  # Allow CC to be a program name with arguments.
 
22885
+  lt_save_CC="$CC"
 
22886
+  lt_save_GCC=$GCC
 
22887
+  CC=${FC-"f95"}
 
22888
+  compiler=$CC
 
22889
+  GCC=$ac_cv_fc_compiler_gnu
 
22890
 
 
22891
-       case $cc_basename in
 
22892
-          CC*)
 
22893
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22894
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22895
-           ;;
 
22896
-         *)
 
22897
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22898
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
22899
-           ;;
 
22900
-       esac
 
22901
-      ;;
 
22902
+  _LT_TAGVAR(compiler, $1)=$CC
 
22903
+  _LT_CC_BASENAME([$compiler])
 
22904
 
 
22905
-      tandem*)
 
22906
-        case $cc_basename in
 
22907
-          NCC*)
 
22908
-           # NonStop-UX NCC 3.20
 
22909
-           # FIXME: insert proper C++ library support
 
22910
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22911
-           ;;
 
22912
-          *)
 
22913
-           # FIXME: insert proper C++ library support
 
22914
-           _LT_TAGVAR(ld_shlibs, $1)=no
 
22915
-           ;;
 
22916
-        esac
 
22917
-        ;;
 
22918
+  if test -n "$compiler"; then
 
22919
+    AC_MSG_CHECKING([if libtool supports shared libraries])
 
22920
+    AC_MSG_RESULT([$can_build_shared])
 
22921
 
 
22922
-      vxworks*)
 
22923
-        # FIXME: insert proper C++ library support
 
22924
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
22925
-        ;;
 
22926
+    AC_MSG_CHECKING([whether to build shared libraries])
 
22927
+    test "$can_build_shared" = "no" && enable_shared=no
 
22928
 
 
22929
-      *)
 
22930
-        # FIXME: insert proper C++ library support
 
22931
-        _LT_TAGVAR(ld_shlibs, $1)=no
 
22932
+    # On AIX, shared libraries and static libraries use the same namespace, and
 
22933
+    # are all built from PIC.
 
22934
+    case $host_os in
 
22935
+      aix3*)
 
22936
+        test "$enable_shared" = yes && enable_static=no
 
22937
+        if test -n "$RANLIB"; then
 
22938
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
22939
+          postinstall_cmds='$RANLIB $lib'
 
22940
+        fi
 
22941
+        ;;
 
22942
+      aix[[4-9]]*)
 
22943
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
22944
+         test "$enable_shared" = yes && enable_static=no
 
22945
+       fi
 
22946
         ;;
 
22947
     esac
 
22948
+    AC_MSG_RESULT([$enable_shared])
 
22949
 
 
22950
-    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
22951
-    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
22952
+    AC_MSG_CHECKING([whether to build static libraries])
 
22953
+    # Make sure either enable_shared or enable_static is yes.
 
22954
+    test "$enable_shared" = yes || enable_static=yes
 
22955
+    AC_MSG_RESULT([$enable_static])
 
22956
 
 
22957
-    _LT_TAGVAR(GCC, $1)="$GXX"
 
22958
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
 
22959
     _LT_TAGVAR(LD, $1)="$LD"
 
22960
 
 
22961
     ## CAVEAT EMPTOR:
 
22962
@@ -7211,1639 +6865,2004 @@
 
22963
     _LT_SYS_DYNAMIC_LINKER($1)
 
22964
     _LT_LINKER_HARDCODE_LIBPATH($1)
 
22965
 
 
22966
-    _LT_CONFIG($1)
 
22967
-  fi # test -n "$compiler"
 
22968
+    _LT_CONFIG($1)
 
22969
+  fi # test -n "$compiler"
 
22970
+
 
22971
+  GCC=$lt_save_GCC
 
22972
+  CC="$lt_save_CC"
 
22973
+fi # test "$_lt_disable_FC" != yes
 
22974
+
 
22975
+AC_LANG_POP
 
22976
+])# _LT_LANG_FC_CONFIG
 
22977
+
 
22978
+
 
22979
+# _LT_LANG_GCJ_CONFIG([TAG])
 
22980
+# --------------------------
 
22981
+# Ensure that the configuration variables for the GNU Java Compiler compiler
 
22982
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
22983
+# to write the compiler configuration to `libtool'.
 
22984
+m4_defun([_LT_LANG_GCJ_CONFIG],
 
22985
+[AC_REQUIRE([LT_PROG_GCJ])dnl
 
22986
+AC_LANG_SAVE
 
22987
+
 
22988
+# Source file extension for Java test sources.
 
22989
+ac_ext=java
 
22990
+
 
22991
+# Object file extension for compiled Java test sources.
 
22992
+objext=o
 
22993
+_LT_TAGVAR(objext, $1)=$objext
 
22994
+
 
22995
+# Code to be used in simple compile tests
 
22996
+lt_simple_compile_test_code="class foo {}"
 
22997
+
 
22998
+# Code to be used in simple link tests
 
22999
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
 
23000
+
 
23001
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
23002
+_LT_TAG_COMPILER
 
23003
+
 
23004
+# save warnings/boilerplate of simple test code
 
23005
+_LT_COMPILER_BOILERPLATE
 
23006
+_LT_LINKER_BOILERPLATE
 
23007
+
 
23008
+# Allow CC to be a program name with arguments.
 
23009
+lt_save_CC="$CC"
 
23010
+lt_save_GCC=$GCC
 
23011
+GCC=yes
 
23012
+CC=${GCJ-"gcj"}
 
23013
+compiler=$CC
 
23014
+_LT_TAGVAR(compiler, $1)=$CC
 
23015
+_LT_TAGVAR(LD, $1)="$LD"
 
23016
+_LT_CC_BASENAME([$compiler])
 
23017
+
 
23018
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
23019
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
23020
 
 
23021
-  CC=$lt_save_CC
 
23022
-  LDCXX=$LD
 
23023
-  LD=$lt_save_LD
 
23024
-  GCC=$lt_save_GCC
 
23025
-  with_gnu_ld=$lt_save_with_gnu_ld
 
23026
-  lt_cv_path_LDCXX=$lt_cv_path_LD
 
23027
-  lt_cv_path_LD=$lt_save_path_LD
 
23028
-  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
23029
-  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
23030
-fi # test "$_lt_caught_CXX_error" != yes
 
23031
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
23032
 
 
23033
-AC_LANG_POP
 
23034
-])# _LT_LANG_CXX_CONFIG
 
23035
+if test -n "$compiler"; then
 
23036
+  _LT_COMPILER_NO_RTTI($1)
 
23037
+  _LT_COMPILER_PIC($1)
 
23038
+  _LT_COMPILER_C_O($1)
 
23039
+  _LT_COMPILER_FILE_LOCKS($1)
 
23040
+  _LT_LINKER_SHLIBS($1)
 
23041
+  _LT_LINKER_HARDCODE_LIBPATH($1)
 
23042
 
 
23043
+  _LT_CONFIG($1)
 
23044
+fi
 
23045
 
 
23046
-# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 
23047
-# ---------------------------------
 
23048
-# Figure out "hidden" library dependencies from verbose
 
23049
-# compiler output when linking a shared library.
 
23050
-# Parse the compiler output and extract the necessary
 
23051
-# objects, libraries and library flags.
 
23052
-m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 
23053
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
23054
-# Dependencies to place before and after the object being linked:
 
23055
-_LT_TAGVAR(predep_objects, $1)=
 
23056
-_LT_TAGVAR(postdep_objects, $1)=
 
23057
-_LT_TAGVAR(predeps, $1)=
 
23058
-_LT_TAGVAR(postdeps, $1)=
 
23059
-_LT_TAGVAR(compiler_lib_search_path, $1)=
 
23060
+AC_LANG_RESTORE
 
23061
 
 
23062
-dnl we can't use the lt_simple_compile_test_code here,
 
23063
-dnl because it contains code intended for an executable,
 
23064
-dnl not a library.  It's possible we should let each
 
23065
-dnl tag define a new lt_????_link_test_code variable,
 
23066
-dnl but it's only used here...
 
23067
-m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
 
23068
-int a;
 
23069
-void foo (void) { a = 0; }
 
23070
-_LT_EOF
 
23071
-], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
 
23072
-class Foo
 
23073
-{
 
23074
-public:
 
23075
-  Foo (void) { a = 0; }
 
23076
-private:
 
23077
-  int a;
 
23078
-};
 
23079
-_LT_EOF
 
23080
-], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
 
23081
-      subroutine foo
 
23082
-      implicit none
 
23083
-      integer*4 a
 
23084
-      a=0
 
23085
-      return
 
23086
-      end
 
23087
-_LT_EOF
 
23088
-], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
 
23089
-      subroutine foo
 
23090
-      implicit none
 
23091
-      integer a
 
23092
-      a=0
 
23093
-      return
 
23094
-      end
 
23095
-_LT_EOF
 
23096
-], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
 
23097
-public class foo {
 
23098
-  private int a;
 
23099
-  public void bar (void) {
 
23100
-    a = 0;
 
23101
-  }
 
23102
-};
 
23103
-_LT_EOF
 
23104
-])
 
23105
-dnl Parse the compiler output and extract the necessary
 
23106
-dnl objects, libraries and library flags.
 
23107
-if AC_TRY_EVAL(ac_compile); then
 
23108
-  # Parse the compiler output and extract the necessary
 
23109
-  # objects, libraries and library flags.
 
23110
+GCC=$lt_save_GCC
 
23111
+CC="$lt_save_CC"
 
23112
+])# _LT_LANG_GCJ_CONFIG
 
23113
 
 
23114
-  # Sentinel used to keep track of whether or not we are before
 
23115
-  # the conftest object file.
 
23116
-  pre_test_object_deps_done=no
 
23117
 
 
23118
-  for p in `eval "$output_verbose_link_cmd"`; do
 
23119
-    case $p in
 
23120
+# _LT_LANG_RC_CONFIG([TAG])
 
23121
+# -------------------------
 
23122
+# Ensure that the configuration variables for the Windows resource compiler
 
23123
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
23124
+# to write the compiler configuration to `libtool'.
 
23125
+m4_defun([_LT_LANG_RC_CONFIG],
 
23126
+[AC_REQUIRE([LT_PROG_RC])dnl
 
23127
+AC_LANG_SAVE
 
23128
 
 
23129
-    -L* | -R* | -l*)
 
23130
-       # Some compilers place space between "-{L,R}" and the path.
 
23131
-       # Remove the space.
 
23132
-       if test $p = "-L" ||
 
23133
-          test $p = "-R"; then
 
23134
-        prev=$p
 
23135
-        continue
 
23136
-       else
 
23137
-        prev=
 
23138
-       fi
 
23139
+# Source file extension for RC test sources.
 
23140
+ac_ext=rc
 
23141
 
 
23142
-       if test "$pre_test_object_deps_done" = no; then
 
23143
-        case $p in
 
23144
-        -L* | -R*)
 
23145
-          # Internal compiler library paths should come after those
 
23146
-          # provided the user.  The postdeps already come after the
 
23147
-          # user supplied libs so there is no need to process them.
 
23148
-          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
 
23149
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
23150
-          else
 
23151
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
23152
-          fi
 
23153
-          ;;
 
23154
-        # The "-l" case would never come before the object being
 
23155
-        # linked, so don't bother handling this case.
 
23156
-        esac
 
23157
-       else
 
23158
-        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
 
23159
-          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
 
23160
-        else
 
23161
-          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 
23162
-        fi
 
23163
-       fi
 
23164
-       ;;
 
23165
+# Object file extension for compiled RC test sources.
 
23166
+objext=o
 
23167
+_LT_TAGVAR(objext, $1)=$objext
 
23168
 
 
23169
-    *.$objext)
 
23170
-       # This assumes that the test object file only shows up
 
23171
-       # once in the compiler output.
 
23172
-       if test "$p" = "conftest.$objext"; then
 
23173
-        pre_test_object_deps_done=yes
 
23174
-        continue
 
23175
-       fi
 
23176
+# Code to be used in simple compile tests
 
23177
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
23178
 
 
23179
-       if test "$pre_test_object_deps_done" = no; then
 
23180
-        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
 
23181
-          _LT_TAGVAR(predep_objects, $1)="$p"
 
23182
-        else
 
23183
-          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
 
23184
-        fi
 
23185
-       else
 
23186
-        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
 
23187
-          _LT_TAGVAR(postdep_objects, $1)="$p"
 
23188
-        else
 
23189
-          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
 
23190
-        fi
 
23191
-       fi
 
23192
-       ;;
 
23193
+# Code to be used in simple link tests
 
23194
+lt_simple_link_test_code="$lt_simple_compile_test_code"
 
23195
 
 
23196
-    *) ;; # Ignore the rest.
 
23197
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
23198
+_LT_TAG_COMPILER
 
23199
 
 
23200
-    esac
 
23201
-  done
 
23202
+# save warnings/boilerplate of simple test code
 
23203
+_LT_COMPILER_BOILERPLATE
 
23204
+_LT_LINKER_BOILERPLATE
 
23205
 
 
23206
-  # Clean up.
 
23207
-  rm -f a.out a.exe
 
23208
-else
 
23209
-  echo "libtool.m4: error: problem compiling $1 test program"
 
23210
+# Allow CC to be a program name with arguments.
 
23211
+lt_save_CC="$CC"
 
23212
+lt_save_GCC=$GCC
 
23213
+GCC=
 
23214
+CC=${RC-"windres"}
 
23215
+compiler=$CC
 
23216
+_LT_TAGVAR(compiler, $1)=$CC
 
23217
+_LT_CC_BASENAME([$compiler])
 
23218
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
23219
+
 
23220
+if test -n "$compiler"; then
 
23221
+  :
 
23222
+  _LT_CONFIG($1)
 
23223
 fi
 
23224
 
 
23225
-$RM -f confest.$objext
 
23226
+GCC=$lt_save_GCC
 
23227
+AC_LANG_RESTORE
 
23228
+CC="$lt_save_CC"
 
23229
+])# _LT_LANG_RC_CONFIG
 
23230
 
 
23231
-# PORTME: override above test on systems where it is broken
 
23232
-m4_if([$1], [CXX],
 
23233
-[case $host_os in
 
23234
-interix[[3-9]]*)
 
23235
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
23236
-  # hack all around it, let's just trust "g++" to DTRT.
 
23237
-  _LT_TAGVAR(predep_objects,$1)=
 
23238
-  _LT_TAGVAR(postdep_objects,$1)=
 
23239
-  _LT_TAGVAR(postdeps,$1)=
 
23240
-  ;;
 
23241
 
 
23242
-linux*)
 
23243
-  case `$CC -V 2>&1 | sed 5q` in
 
23244
-  *Sun\ C*)
 
23245
-    # Sun C++ 5.9
 
23246
+# LT_PROG_GCJ
 
23247
+# -----------
 
23248
+AC_DEFUN([LT_PROG_GCJ],
 
23249
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
 
23250
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
 
23251
+    [AC_CHECK_TOOL(GCJ, gcj,)
 
23252
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
23253
+      AC_SUBST(GCJFLAGS)])])[]dnl
 
23254
+])
 
23255
 
 
23256
-    # The more standards-conforming stlport4 library is
 
23257
-    # incompatible with the Cstd library. Avoid specifying
 
23258
-    # it if it's in CXXFLAGS. Ignore libCrun as
 
23259
-    # -library=stlport4 depends on it.
 
23260
-    case " $CXX $CXXFLAGS " in
 
23261
-    *" -library=stlport4 "*)
 
23262
-      solaris_use_stlport4=yes
 
23263
-      ;;
 
23264
-    esac
 
23265
+# Old name:
 
23266
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
 
23267
+dnl aclocal-1.4 backwards compatibility:
 
23268
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
23269
 
 
23270
-    if test "$solaris_use_stlport4" != yes; then
 
23271
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
23272
-    fi
 
23273
-    ;;
 
23274
-  esac
 
23275
-  ;;
 
23276
 
 
23277
-solaris*)
 
23278
-  case $cc_basename in
 
23279
-  CC*)
 
23280
-    # The more standards-conforming stlport4 library is
 
23281
-    # incompatible with the Cstd library. Avoid specifying
 
23282
-    # it if it's in CXXFLAGS. Ignore libCrun as
 
23283
-    # -library=stlport4 depends on it.
 
23284
-    case " $CXX $CXXFLAGS " in
 
23285
-    *" -library=stlport4 "*)
 
23286
-      solaris_use_stlport4=yes
 
23287
-      ;;
 
23288
-    esac
 
23289
+# LT_PROG_RC
 
23290
+# ----------
 
23291
+AC_DEFUN([LT_PROG_RC],
 
23292
+[AC_CHECK_TOOL(RC, windres,)
 
23293
+])
 
23294
+
 
23295
+# Old name:
 
23296
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
 
23297
+dnl aclocal-1.4 backwards compatibility:
 
23298
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
 
23299
+
 
23300
 
 
23301
-    # Adding this requires a known-good setup of shared libraries for
 
23302
-    # Sun compiler versions before 5.6, else PIC objects from an old
 
23303
-    # archive will be linked into the output, leading to subtle bugs.
 
23304
-    if test "$solaris_use_stlport4" != yes; then
 
23305
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
23306
-    fi
 
23307
-    ;;
 
23308
-  esac
 
23309
-  ;;
 
23310
-esac
 
23311
+# _LT_DECL_EGREP
 
23312
+# --------------
 
23313
+# If we don't have a new enough Autoconf to choose the best grep
 
23314
+# available, choose the one first in the user's PATH.
 
23315
+m4_defun([_LT_DECL_EGREP],
 
23316
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
23317
+AC_REQUIRE([AC_PROG_FGREP])dnl
 
23318
+test -z "$GREP" && GREP=grep
 
23319
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
 
23320
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
 
23321
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
 
23322
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
 
23323
+AC_SUBST([GREP])
 
23324
 ])
 
23325
 
 
23326
-case " $_LT_TAGVAR(postdeps, $1) " in
 
23327
-*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
23328
-esac
 
23329
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=
 
23330
-if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
 
23331
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
23332
-fi
 
23333
-_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
 
23334
-    [The directories searched by this compiler when creating a shared library])
 
23335
-_LT_TAGDECL([], [predep_objects], [1],
 
23336
-    [Dependencies to place before and after the objects being linked to
 
23337
-    create a shared library])
 
23338
-_LT_TAGDECL([], [postdep_objects], [1])
 
23339
-_LT_TAGDECL([], [predeps], [1])
 
23340
-_LT_TAGDECL([], [postdeps], [1])
 
23341
-_LT_TAGDECL([], [compiler_lib_search_path], [1],
 
23342
-    [The library search path used internally by the compiler when linking
 
23343
-    a shared library])
 
23344
-])# _LT_SYS_HIDDEN_LIBDEPS
 
23345
+
 
23346
+# _LT_DECL_OBJDUMP
 
23347
+# --------------
 
23348
+# If we don't have a new enough Autoconf to choose the best objdump
 
23349
+# available, choose the one first in the user's PATH.
 
23350
+m4_defun([_LT_DECL_OBJDUMP],
 
23351
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
23352
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
23353
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
23354
+AC_SUBST([OBJDUMP])
 
23355
+])
 
23356
 
 
23357
 
 
23358
-# _LT_PROG_F77
 
23359
+# _LT_DECL_SED
 
23360
 # ------------
 
23361
-# Since AC_PROG_F77 is broken, in that it returns the empty string
 
23362
-# if there is no fortran compiler, we have our own version here.
 
23363
-m4_defun([_LT_PROG_F77],
 
23364
-[
 
23365
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
 
23366
-AC_PROG_F77
 
23367
-if test -z "$F77" || test "X$F77" = "Xno"; then
 
23368
-  _lt_disable_F77=yes
 
23369
-fi
 
23370
-popdef([AC_MSG_ERROR])
 
23371
-])# _LT_PROG_F77
 
23372
+# Check for a fully-functional sed program, that truncates
 
23373
+# as few characters as possible.  Prefer GNU sed if found.
 
23374
+m4_defun([_LT_DECL_SED],
 
23375
+[AC_PROG_SED
 
23376
+test -z "$SED" && SED=sed
 
23377
+Xsed="$SED -e 1s/^X//"
 
23378
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
 
23379
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
 
23380
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
 
23381
+])# _LT_DECL_SED
 
23382
 
 
23383
-dnl aclocal-1.4 backwards compatibility:
 
23384
-dnl AC_DEFUN([_LT_PROG_F77], [])
 
23385
+m4_ifndef([AC_PROG_SED], [
17360
23386
+# NOTE: This macro has been submitted for inclusion into   #
17361
23387
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
17362
23388
+#  a released version of Autoconf we should remove this    #
17363
23389
+#  macro and use it instead.                               #
17364
 
+# LT_AC_PROG_SED
17365
 
+# --------------
17366
 
+# Check for a fully-functional sed program, that truncates
17367
 
+# as few characters as possible.  Prefer GNU sed if found.
17368
 
+AC_DEFUN([LT_AC_PROG_SED],
 
23390
+
 
23391
+m4_defun([AC_PROG_SED],
17369
23392
+[AC_MSG_CHECKING([for a sed that does not truncate output])
17370
23393
+AC_CACHE_VAL(lt_cv_path_SED,
17371
23394
+[# Loop through the user's path and test for sed and gsed.
17377
23400
+  test -z "$as_dir" && as_dir=.
17378
23401
+  for lt_ac_prog in sed gsed; do
17379
23402
+    for ac_exec_ext in '' $ac_executable_extensions; do
17380
 
+      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
 
23403
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
17381
23404
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
17382
 
       fi
17383
 
-      ;;
 
23405
+      fi
17384
23406
+    done
17385
23407
+  done
17386
23408
+done
17419
23441
+SED=$lt_cv_path_SED
17420
23442
+AC_SUBST([SED])
17421
23443
+AC_MSG_RESULT([$SED])
17422
 
+])
17423
 
 
17424
 
-    amigaos*)
17425
 
-      _LT_AC_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)'
17426
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
17427
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
23444
+])#AC_PROG_SED
 
23445
+])#m4_ifndef
 
23446
 
 
23447
+# Old name:
 
23448
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
 
23449
+dnl aclocal-1.4 backwards compatibility:
 
23450
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
 
23451
 
 
23452
-# _LT_LANG_F77_CONFIG([TAG])
 
23453
-# --------------------------
 
23454
-# Ensure that the configuration variables for a Fortran 77 compiler are
 
23455
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
23456
-# to write the compiler configuration to `libtool'.
 
23457
-m4_defun([_LT_LANG_F77_CONFIG],
 
23458
-[AC_REQUIRE([_LT_PROG_F77])dnl
 
23459
-AC_LANG_PUSH(Fortran 77)
 
23460
 
 
23461
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
23462
-_LT_TAGVAR(allow_undefined_flag, $1)=
 
23463
-_LT_TAGVAR(always_export_symbols, $1)=no
 
23464
-_LT_TAGVAR(archive_expsym_cmds, $1)=
 
23465
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
23466
-_LT_TAGVAR(hardcode_direct, $1)=no
 
23467
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
23468
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
23469
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
23470
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
23471
-_LT_TAGVAR(hardcode_minus_L, $1)=no
 
23472
-_LT_TAGVAR(hardcode_automatic, $1)=no
 
23473
-_LT_TAGVAR(inherit_rpath, $1)=no
 
23474
-_LT_TAGVAR(module_cmds, $1)=
 
23475
-_LT_TAGVAR(module_expsym_cmds, $1)=
 
23476
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
23477
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
23478
-_LT_TAGVAR(no_undefined_flag, $1)=
 
23479
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
23480
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
23481
+# _LT_CHECK_SHELL_FEATURES
 
23482
+# ------------------------
 
23483
+# Find out whether the shell is Bourne or XSI compatible,
 
23484
+# or has some other useful features.
 
23485
+m4_defun([_LT_CHECK_SHELL_FEATURES],
 
23486
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
 
23487
+# Try some XSI features
 
23488
+xsi_shell=no
 
23489
+( _lt_dummy="a/b/c"
 
23490
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
23491
+      = c,a/b,, \
 
23492
+    && eval 'test $(( 1 + 1 )) -eq 2 \
 
23493
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
23494
+  && xsi_shell=yes
 
23495
+AC_MSG_RESULT([$xsi_shell])
 
23496
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
 
23497
 
 
23498
-# Source file extension for f77 test sources.
 
23499
-ac_ext=f
 
23500
+AC_MSG_CHECKING([whether the shell understands "+="])
 
23501
+lt_shell_append=no
 
23502
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
 
23503
+    >/dev/null 2>&1 \
 
23504
+  && lt_shell_append=yes
 
23505
+AC_MSG_RESULT([$lt_shell_append])
 
23506
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
 
23507
 
 
23508
-# Object file extension for compiled f77 test sources.
 
23509
-objext=o
 
23510
-_LT_TAGVAR(objext, $1)=$objext
 
23511
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
23512
+  lt_unset=unset
 
23513
+else
 
23514
+  lt_unset=false
 
23515
+fi
 
23516
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
 
23517
 
 
23518
-# No sense in running all these tests if we already determined that
 
23519
-# the F77 compiler isn't working.  Some variables (like enable_shared)
 
23520
-# are currently assumed to apply to all compilers on this platform,
 
23521
-# and will be corrupted by setting them based on a non-working compiler.
 
23522
-if test "$_lt_disable_F77" != yes; then
 
23523
-  # Code to be used in simple compile tests
 
23524
-  lt_simple_compile_test_code="\
 
23525
-      subroutine t
 
23526
-      return
 
23527
-      end
 
23528
-"
 
23529
+# test EBCDIC or ASCII
 
23530
+case `echo X|tr X '\101'` in
 
23531
+ A) # ASCII based system
 
23532
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
23533
+  lt_SP2NL='tr \040 \012'
 
23534
+  lt_NL2SP='tr \015\012 \040\040'
 
23535
+  ;;
 
23536
+ *) # EBCDIC based system
 
23537
+  lt_SP2NL='tr \100 \n'
 
23538
+  lt_NL2SP='tr \r\n \100\100'
 
23539
+  ;;
 
23540
+esac
 
23541
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
 
23542
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 
23543
+])# _LT_CHECK_SHELL_FEATURES
 
23544
 
 
23545
-  # Code to be used in simple link tests
 
23546
-  lt_simple_link_test_code="\
 
23547
-      program t
 
23548
-      end
 
23549
-"
 
23550
 
 
23551
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
23552
-  _LT_TAG_COMPILER
 
23553
+# _LT_PROG_XSI_SHELLFNS
 
23554
+# ---------------------
 
23555
+# Bourne and XSI compatible variants of some useful shell functions.
 
23556
+m4_defun([_LT_PROG_XSI_SHELLFNS],
 
23557
+[case $xsi_shell in
 
23558
+  yes)
 
23559
+    cat << \_LT_EOF >> "$cfgfile"
 
23560
 
 
23561
-  # save warnings/boilerplate of simple test code
 
23562
-  _LT_COMPILER_BOILERPLATE
 
23563
-  _LT_LINKER_BOILERPLATE
 
23564
+# func_dirname file append nondir_replacement
 
23565
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23566
+# otherwise set result to NONDIR_REPLACEMENT.
 
23567
+func_dirname ()
 
23568
+{
 
23569
+  case ${1} in
 
23570
+    */*) func_dirname_result="${1%/*}${2}" ;;
 
23571
+    *  ) func_dirname_result="${3}" ;;
 
23572
+  esac
 
23573
+}
 
23574
 
 
23575
-  # Allow CC to be a program name with arguments.
 
23576
-  lt_save_CC="$CC"
 
23577
-  lt_save_GCC=$GCC
 
23578
-  CC=${F77-"f77"}
 
23579
-  compiler=$CC
 
23580
-  _LT_TAGVAR(compiler, $1)=$CC
 
23581
-  _LT_CC_BASENAME([$compiler])
 
23582
-  GCC=$G77
 
23583
-  if test -n "$compiler"; then
 
23584
-    AC_MSG_CHECKING([if libtool supports shared libraries])
 
23585
-    AC_MSG_RESULT([$can_build_shared])
 
23586
+# func_basename file
 
23587
+func_basename ()
 
23588
+{
 
23589
+  func_basename_result="${1##*/}"
 
23590
+}
 
23591
 
 
23592
-    AC_MSG_CHECKING([whether to build shared libraries])
 
23593
-    test "$can_build_shared" = "no" && enable_shared=no
 
23594
+# func_dirname_and_basename file append nondir_replacement
 
23595
+# perform func_basename and func_dirname in a single function
 
23596
+# call:
 
23597
+#   dirname:  Compute the dirname of FILE.  If nonempty,
 
23598
+#             add APPEND to the result, otherwise set result
 
23599
+#             to NONDIR_REPLACEMENT.
 
23600
+#             value returned in "$func_dirname_result"
 
23601
+#   basename: Compute filename of FILE.
 
23602
+#             value retuned in "$func_basename_result"
 
23603
+# Implementation must be kept synchronized with func_dirname
 
23604
+# and func_basename. For efficiency, we do not delegate to
 
23605
+# those functions but instead duplicate the functionality here.
 
23606
+func_dirname_and_basename ()
 
23607
+{
 
23608
+  case ${1} in
 
23609
+    */*) func_dirname_result="${1%/*}${2}" ;;
 
23610
+    *  ) func_dirname_result="${3}" ;;
 
23611
+  esac
 
23612
+  func_basename_result="${1##*/}"
 
23613
+}
 
23614
 
 
23615
-    # On AIX, shared libraries and static libraries use the same namespace, and
 
23616
-    # are all built from PIC.
 
23617
-    case $host_os in
 
23618
-      aix3*)
 
23619
-        test "$enable_shared" = yes && enable_static=no
 
23620
-        if test -n "$RANLIB"; then
 
23621
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
23622
-          postinstall_cmds='$RANLIB $lib'
 
23623
-        fi
 
23624
-        ;;
 
23625
-      aix[[4-9]]*)
 
23626
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
23627
-         test "$enable_shared" = yes && enable_static=no
 
23628
-       fi
 
23629
-        ;;
 
23630
-    esac
 
23631
-    AC_MSG_RESULT([$enable_shared])
 
23632
+# func_stripname prefix suffix name
 
23633
+# strip PREFIX and SUFFIX off of NAME.
 
23634
+# PREFIX and SUFFIX must not contain globbing or regex special
 
23635
+# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23636
+# dot (in which case that matches only a dot).
 
23637
+func_stripname ()
 
23638
+{
 
23639
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
23640
+  # positional parameters, so assign one to ordinary parameter first.
 
23641
+  func_stripname_result=${3}
 
23642
+  func_stripname_result=${func_stripname_result#"${1}"}
 
23643
+  func_stripname_result=${func_stripname_result%"${2}"}
 
23644
+}
 
23645
 
 
23646
-    AC_MSG_CHECKING([whether to build static libraries])
 
23647
-    # Make sure either enable_shared or enable_static is yes.
 
23648
-    test "$enable_shared" = yes || enable_static=yes
 
23649
-    AC_MSG_RESULT([$enable_static])
 
23650
+# func_opt_split
 
23651
+func_opt_split ()
 
23652
+{
 
23653
+  func_opt_split_opt=${1%%=*}
 
23654
+  func_opt_split_arg=${1#*=}
 
23655
+}
 
23656
 
 
23657
-    _LT_TAGVAR(GCC, $1)="$G77"
 
23658
-    _LT_TAGVAR(LD, $1)="$LD"
 
23659
+# func_lo2o object
 
23660
+func_lo2o ()
 
23661
+{
 
23662
+  case ${1} in
 
23663
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
23664
+    *)    func_lo2o_result=${1} ;;
 
23665
+  esac
 
23666
+}
 
23667
 
 
23668
-    ## CAVEAT EMPTOR:
 
23669
-    ## There is no encapsulation within the following macros, do not change
 
23670
-    ## the running order or otherwise move them around unless you know exactly
 
23671
-    ## what you are doing...
 
23672
-    _LT_COMPILER_PIC($1)
 
23673
-    _LT_COMPILER_C_O($1)
 
23674
-    _LT_COMPILER_FILE_LOCKS($1)
 
23675
-    _LT_LINKER_SHLIBS($1)
 
23676
-    _LT_SYS_DYNAMIC_LINKER($1)
 
23677
-    _LT_LINKER_HARDCODE_LIBPATH($1)
 
23678
+# func_xform libobj-or-source
 
23679
+func_xform ()
 
23680
+{
 
23681
+  func_xform_result=${1%.*}.lo
 
23682
+}
 
23683
 
 
23684
-    _LT_CONFIG($1)
 
23685
-  fi # test -n "$compiler"
 
23686
+# func_arith arithmetic-term...
 
23687
+func_arith ()
 
23688
+{
 
23689
+  func_arith_result=$(( $[*] ))
 
23690
+}
 
23691
 
 
23692
-  GCC=$lt_save_GCC
 
23693
-  CC="$lt_save_CC"
 
23694
-fi # test "$_lt_disable_F77" != yes
 
23695
+# func_len string
 
23696
+# STRING may not start with a hyphen.
 
23697
+func_len ()
 
23698
+{
 
23699
+  func_len_result=${#1}
 
23700
+}
 
23701
 
 
23702
-AC_LANG_POP
 
23703
-])# _LT_LANG_F77_CONFIG
 
23704
+_LT_EOF
 
23705
+    ;;
 
23706
+  *) # Bourne compatible functions.
 
23707
+    cat << \_LT_EOF >> "$cfgfile"
 
23708
 
 
23709
+# func_dirname file append nondir_replacement
 
23710
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23711
+# otherwise set result to NONDIR_REPLACEMENT.
 
23712
+func_dirname ()
 
23713
+{
 
23714
+  # Extract subdirectory from the argument.
 
23715
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
23716
+  if test "X$func_dirname_result" = "X${1}"; then
 
23717
+    func_dirname_result="${3}"
 
23718
+  else
 
23719
+    func_dirname_result="$func_dirname_result${2}"
 
23720
+  fi
 
23721
+}
 
23722
 
 
23723
-# _LT_PROG_FC
 
23724
-# -----------
 
23725
-# Since AC_PROG_FC is broken, in that it returns the empty string
 
23726
-# if there is no fortran compiler, we have our own version here.
 
23727
-m4_defun([_LT_PROG_FC],
 
23728
-[
 
23729
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
 
23730
-AC_PROG_FC
 
23731
-if test -z "$FC" || test "X$FC" = "Xno"; then
 
23732
-  _lt_disable_FC=yes
 
23733
-fi
 
23734
-popdef([AC_MSG_ERROR])
 
23735
-])# _LT_PROG_FC
 
23736
+# func_basename file
 
23737
+func_basename ()
 
23738
+{
 
23739
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
23740
+}
 
23741
 
 
23742
-dnl aclocal-1.4 backwards compatibility:
 
23743
-dnl AC_DEFUN([_LT_PROG_FC], [])
 
23744
+dnl func_dirname_and_basename
 
23745
+dnl A portable version of this function is already defined in general.m4sh
 
23746
+dnl so there is no need for it here.
 
23747
 
 
23748
+# func_stripname prefix suffix name
 
23749
+# strip PREFIX and SUFFIX off of NAME.
 
23750
+# PREFIX and SUFFIX must not contain globbing or regex special
 
23751
+# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23752
+# dot (in which case that matches only a dot).
 
23753
+# func_strip_suffix prefix name
 
23754
+func_stripname ()
 
23755
+{
 
23756
+  case ${2} in
 
23757
+    .*) func_stripname_result=`$ECHO "X${3}" \
 
23758
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
23759
+    *)  func_stripname_result=`$ECHO "X${3}" \
 
23760
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
23761
+  esac
 
23762
+}
 
23763
 
 
23764
-# _LT_LANG_FC_CONFIG([TAG])
 
23765
-# -------------------------
 
23766
-# Ensure that the configuration variables for a Fortran compiler are
 
23767
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
23768
-# to write the compiler configuration to `libtool'.
 
23769
-m4_defun([_LT_LANG_FC_CONFIG],
 
23770
-[AC_REQUIRE([_LT_PROG_FC])dnl
 
23771
-AC_LANG_PUSH(Fortran)
 
23772
+# sed scripts:
 
23773
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
 
23774
+my_sed_long_arg='1s/^-[[^=]]*=//'
 
23775
 
 
23776
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
23777
-_LT_TAGVAR(allow_undefined_flag, $1)=
 
23778
-_LT_TAGVAR(always_export_symbols, $1)=no
 
23779
-_LT_TAGVAR(archive_expsym_cmds, $1)=
 
23780
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
23781
-_LT_TAGVAR(hardcode_direct, $1)=no
 
23782
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
23783
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
23784
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
23785
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
23786
-_LT_TAGVAR(hardcode_minus_L, $1)=no
 
23787
-_LT_TAGVAR(hardcode_automatic, $1)=no
 
23788
-_LT_TAGVAR(inherit_rpath, $1)=no
 
23789
-_LT_TAGVAR(module_cmds, $1)=
 
23790
-_LT_TAGVAR(module_expsym_cmds, $1)=
 
23791
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
23792
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
23793
-_LT_TAGVAR(no_undefined_flag, $1)=
 
23794
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
23795
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
23796
+# func_opt_split
 
23797
+func_opt_split ()
 
23798
+{
 
23799
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
23800
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
23801
+}
 
23802
 
 
23803
-# Source file extension for fc test sources.
 
23804
-ac_ext=${ac_fc_srcext-f}
 
23805
+# func_lo2o object
 
23806
+func_lo2o ()
 
23807
+{
 
23808
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
23809
+}
 
23810
 
 
23811
-# Object file extension for compiled fc test sources.
 
23812
-objext=o
 
23813
-_LT_TAGVAR(objext, $1)=$objext
 
23814
+# func_xform libobj-or-source
 
23815
+func_xform ()
 
23816
+{
 
23817
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
23818
+}
 
23819
 
 
23820
-# No sense in running all these tests if we already determined that
 
23821
-# the FC compiler isn't working.  Some variables (like enable_shared)
 
23822
-# are currently assumed to apply to all compilers on this platform,
 
23823
-# and will be corrupted by setting them based on a non-working compiler.
 
23824
-if test "$_lt_disable_FC" != yes; then
 
23825
-  # Code to be used in simple compile tests
 
23826
-  lt_simple_compile_test_code="\
 
23827
-      subroutine t
 
23828
-      return
 
23829
-      end
 
23830
-"
 
23831
+# func_arith arithmetic-term...
 
23832
+func_arith ()
 
23833
+{
 
23834
+  func_arith_result=`expr "$[@]"`
 
23835
+}
 
23836
 
 
23837
-  # Code to be used in simple link tests
 
23838
-  lt_simple_link_test_code="\
 
23839
-      program t
 
23840
-      end
 
23841
-"
 
23842
+# func_len string
 
23843
+# STRING may not start with a hyphen.
 
23844
+func_len ()
 
23845
+{
 
23846
+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
 
23847
+}
 
23848
 
 
23849
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
23850
-  _LT_TAG_COMPILER
 
23851
+_LT_EOF
 
23852
+esac
 
23853
 
 
23854
-  # save warnings/boilerplate of simple test code
 
23855
-  _LT_COMPILER_BOILERPLATE
 
23856
-  _LT_LINKER_BOILERPLATE
 
23857
+case $lt_shell_append in
 
23858
+  yes)
 
23859
+    cat << \_LT_EOF >> "$cfgfile"
 
23860
 
 
23861
-  # Allow CC to be a program name with arguments.
 
23862
-  lt_save_CC="$CC"
 
23863
-  lt_save_GCC=$GCC
 
23864
-  CC=${FC-"f95"}
 
23865
-  compiler=$CC
 
23866
-  GCC=$ac_cv_fc_compiler_gnu
 
23867
+# func_append var value
 
23868
+# Append VALUE to the end of shell variable VAR.
 
23869
+func_append ()
 
23870
+{
 
23871
+  eval "$[1]+=\$[2]"
 
23872
+}
 
23873
+_LT_EOF
 
23874
+    ;;
 
23875
+  *)
 
23876
+    cat << \_LT_EOF >> "$cfgfile"
 
23877
 
 
23878
-  _LT_TAGVAR(compiler, $1)=$CC
 
23879
-  _LT_CC_BASENAME([$compiler])
 
23880
+# func_append var value
 
23881
+# Append VALUE to the end of shell variable VAR.
 
23882
+func_append ()
 
23883
+{
 
23884
+  eval "$[1]=\$$[1]\$[2]"
 
23885
+}
 
23886
 
 
23887
-  if test -n "$compiler"; then
 
23888
-    AC_MSG_CHECKING([if libtool supports shared libraries])
 
23889
-    AC_MSG_RESULT([$can_build_shared])
 
23890
+_LT_EOF
 
23891
+    ;;
 
23892
+  esac
 
23893
+])
 
23894
 
 
23895
-    AC_MSG_CHECKING([whether to build shared libraries])
 
23896
-    test "$can_build_shared" = "no" && enable_shared=no
 
23897
+# Helper functions for option handling.                    -*- Autoconf -*-
 
23898
+#
 
23899
+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
23900
+#   Written by Gary V. Vaughan, 2004
 
23901
+#
 
23902
+# This file is free software; the Free Software Foundation gives
 
23903
+# unlimited permission to copy and/or distribute it, with or without
 
23904
+# modifications, as long as this notice is preserved.
 
23905
 
 
23906
-    # On AIX, shared libraries and static libraries use the same namespace, and
 
23907
-    # are all built from PIC.
 
23908
-    case $host_os in
 
23909
-      aix3*)
 
23910
-        test "$enable_shared" = yes && enable_static=no
 
23911
-        if test -n "$RANLIB"; then
 
23912
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
23913
-          postinstall_cmds='$RANLIB $lib'
 
23914
-        fi
 
23915
-        ;;
 
23916
-      aix[[4-9]]*)
 
23917
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
23918
-         test "$enable_shared" = yes && enable_static=no
 
23919
-       fi
 
23920
-        ;;
 
23921
-    esac
 
23922
-    AC_MSG_RESULT([$enable_shared])
 
23923
+# serial 6 ltoptions.m4
 
23924
 
 
23925
-    AC_MSG_CHECKING([whether to build static libraries])
 
23926
-    # Make sure either enable_shared or enable_static is yes.
 
23927
-    test "$enable_shared" = yes || enable_static=yes
 
23928
-    AC_MSG_RESULT([$enable_static])
 
23929
+# This is to help aclocal find these macros, as it can't see m4_define.
 
23930
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
 
23931
 
 
23932
-    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
 
23933
-    _LT_TAGVAR(LD, $1)="$LD"
 
23934
 
 
23935
-    ## CAVEAT EMPTOR:
 
23936
-    ## There is no encapsulation within the following macros, do not change
 
23937
-    ## the running order or otherwise move them around unless you know exactly
 
23938
-    ## what you are doing...
 
23939
-    _LT_SYS_HIDDEN_LIBDEPS($1)
 
23940
-    _LT_COMPILER_PIC($1)
 
23941
-    _LT_COMPILER_C_O($1)
 
23942
-    _LT_COMPILER_FILE_LOCKS($1)
 
23943
-    _LT_LINKER_SHLIBS($1)
 
23944
-    _LT_SYS_DYNAMIC_LINKER($1)
 
23945
-    _LT_LINKER_HARDCODE_LIBPATH($1)
 
23946
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
 
23947
+# ------------------------------------------
 
23948
+m4_define([_LT_MANGLE_OPTION],
 
23949
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
 
23950
 
 
23951
-    _LT_CONFIG($1)
 
23952
-  fi # test -n "$compiler"
 
23953
 
 
23954
-  GCC=$lt_save_GCC
 
23955
-  CC="$lt_save_CC"
 
23956
-fi # test "$_lt_disable_FC" != yes
 
23957
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
 
23958
+# ---------------------------------------
 
23959
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
 
23960
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
 
23961
+# saved as a flag.
 
23962
+m4_define([_LT_SET_OPTION],
 
23963
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
 
23964
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
 
23965
+        _LT_MANGLE_DEFUN([$1], [$2]),
 
23966
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
 
23967
+])
 
23968
 
 
23969
-AC_LANG_POP
 
23970
-])# _LT_LANG_FC_CONFIG
 
23971
+
 
23972
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
 
23973
+# ------------------------------------------------------------
 
23974
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
23975
+m4_define([_LT_IF_OPTION],
 
23976
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
 
23977
 
 
23978
 
 
23979
-# _LT_LANG_GCJ_CONFIG([TAG])
 
23980
-# --------------------------
 
23981
-# Ensure that the configuration variables for the GNU Java Compiler compiler
 
23982
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
23983
-# to write the compiler configuration to `libtool'.
 
23984
-m4_defun([_LT_LANG_GCJ_CONFIG],
 
23985
-[AC_REQUIRE([LT_PROG_GCJ])dnl
 
23986
-AC_LANG_SAVE
 
23987
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
 
23988
+# -------------------------------------------------------
 
23989
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
 
23990
+# are set.
 
23991
+m4_define([_LT_UNLESS_OPTIONS],
 
23992
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
23993
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
 
23994
+                     [m4_define([$0_found])])])[]dnl
 
23995
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
 
23996
+])[]dnl
 
23997
+])
 
23998
 
 
23999
-# Source file extension for Java test sources.
 
24000
-ac_ext=java
 
24001
 
 
24002
-# Object file extension for compiled Java test sources.
 
24003
-objext=o
 
24004
-_LT_TAGVAR(objext, $1)=$objext
 
24005
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
 
24006
+# ----------------------------------------
 
24007
+# OPTION-LIST is a space-separated list of Libtool options associated
 
24008
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
 
24009
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
 
24010
+# the unknown option and exit.
 
24011
+m4_defun([_LT_SET_OPTIONS],
 
24012
+[# Set options
 
24013
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
24014
+    [_LT_SET_OPTION([$1], _LT_Option)])
 
24015
 
 
24016
-# Code to be used in simple compile tests
 
24017
-lt_simple_compile_test_code="class foo {}"
 
24018
+m4_if([$1],[LT_INIT],[
 
24019
+  dnl
 
24020
+  dnl Simply set some default values (i.e off) if boolean options were not
 
24021
+  dnl specified:
 
24022
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
 
24023
+  ])
 
24024
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
 
24025
+  ])
 
24026
+  dnl
 
24027
+  dnl If no reference was made to various pairs of opposing options, then
 
24028
+  dnl we run the default mode handler for the pair.  For example, if neither
 
24029
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
 
24030
+  dnl archives by default:
 
24031
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
 
24032
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
 
24033
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
 
24034
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
 
24035
+                  [_LT_ENABLE_FAST_INSTALL])
 
24036
+  ])
 
24037
+])# _LT_SET_OPTIONS
 
24038
 
 
24039
-# Code to be used in simple link tests
 
24040
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
 
24041
 
 
24042
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
24043
-_LT_TAG_COMPILER
 
24044
 
 
24045
-# save warnings/boilerplate of simple test code
 
24046
-_LT_COMPILER_BOILERPLATE
 
24047
-_LT_LINKER_BOILERPLATE
 
24048
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
 
24049
+# -----------------------------------------
 
24050
+m4_define([_LT_MANGLE_DEFUN],
 
24051
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
 
24052
 
 
24053
-# Allow CC to be a program name with arguments.
 
24054
-lt_save_CC="$CC"
 
24055
-lt_save_GCC=$GCC
 
24056
-GCC=yes
 
24057
-CC=${GCJ-"gcj"}
 
24058
-compiler=$CC
 
24059
-_LT_TAGVAR(compiler, $1)=$CC
 
24060
-_LT_TAGVAR(LD, $1)="$LD"
 
24061
-_LT_CC_BASENAME([$compiler])
 
24062
 
 
24063
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
24064
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
24065
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
 
24066
+# -----------------------------------------------
 
24067
+m4_define([LT_OPTION_DEFINE],
 
24068
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
 
24069
+])# LT_OPTION_DEFINE
 
24070
 
 
24071
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
24072
 
 
24073
-if test -n "$compiler"; then
 
24074
-  _LT_COMPILER_NO_RTTI($1)
 
24075
-  _LT_COMPILER_PIC($1)
 
24076
-  _LT_COMPILER_C_O($1)
 
24077
-  _LT_COMPILER_FILE_LOCKS($1)
 
24078
-  _LT_LINKER_SHLIBS($1)
 
24079
-  _LT_LINKER_HARDCODE_LIBPATH($1)
 
24080
+# dlopen
 
24081
+# ------
 
24082
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
 
24083
+])
 
24084
 
 
24085
-  _LT_CONFIG($1)
 
24086
-fi
 
24087
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
 
24088
+[_LT_SET_OPTION([LT_INIT], [dlopen])
 
24089
+AC_DIAGNOSE([obsolete],
 
24090
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
24091
+put the `dlopen' option into LT_INIT's first parameter.])
 
24092
+])
 
24093
 
 
24094
-AC_LANG_RESTORE
 
24095
+dnl aclocal-1.4 backwards compatibility:
 
24096
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
 
24097
 
 
24098
-GCC=$lt_save_GCC
 
24099
-CC="$lt_save_CC"
 
24100
-])# _LT_LANG_GCJ_CONFIG
 
24101
 
 
24102
+# win32-dll
 
24103
+# ---------
 
24104
+# Declare package support for building win32 dll's.
 
24105
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 
24106
+[enable_win32_dll=yes
 
24107
 
 
24108
-# _LT_LANG_RC_CONFIG([TAG])
 
24109
-# -------------------------
 
24110
-# Ensure that the configuration variables for the Windows resource compiler
 
24111
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
24112
-# to write the compiler configuration to `libtool'.
 
24113
-m4_defun([_LT_LANG_RC_CONFIG],
 
24114
-[AC_REQUIRE([LT_PROG_RC])dnl
 
24115
-AC_LANG_SAVE
 
24116
+case $host in
 
24117
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
24118
+  AC_CHECK_TOOL(AS, as, false)
 
24119
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
24120
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
24121
+  ;;
 
24122
+esac
 
24123
 
 
24124
-# Source file extension for RC test sources.
 
24125
-ac_ext=rc
 
24126
+test -z "$AS" && AS=as
 
24127
+_LT_DECL([], [AS],      [0], [Assembler program])dnl
 
24128
 
 
24129
-# Object file extension for compiled RC test sources.
 
24130
-objext=o
 
24131
-_LT_TAGVAR(objext, $1)=$objext
 
24132
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
24133
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
 
24134
 
 
24135
-# Code to be used in simple compile tests
 
24136
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
24137
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
24138
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
24139
+])# win32-dll
 
24140
 
 
24141
-# Code to be used in simple link tests
 
24142
-lt_simple_link_test_code="$lt_simple_compile_test_code"
 
24143
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
24144
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
24145
+_LT_SET_OPTION([LT_INIT], [win32-dll])
 
24146
+AC_DIAGNOSE([obsolete],
 
24147
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
24148
+put the `win32-dll' option into LT_INIT's first parameter.])
 
24149
+])
 
24150
 
 
24151
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
24152
-_LT_TAG_COMPILER
 
24153
+dnl aclocal-1.4 backwards compatibility:
 
24154
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
 
24155
 
 
24156
-# save warnings/boilerplate of simple test code
 
24157
-_LT_COMPILER_BOILERPLATE
 
24158
-_LT_LINKER_BOILERPLATE
 
24159
 
 
24160
-# Allow CC to be a program name with arguments.
 
24161
-lt_save_CC="$CC"
 
24162
-lt_save_GCC=$GCC
 
24163
-GCC=
 
24164
-CC=${RC-"windres"}
 
24165
-compiler=$CC
 
24166
-_LT_TAGVAR(compiler, $1)=$CC
 
24167
-_LT_CC_BASENAME([$compiler])
 
24168
-_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
24169
+# _LT_ENABLE_SHARED([DEFAULT])
 
24170
+# ----------------------------
 
24171
+# implement the --enable-shared flag, and supports the `shared' and
 
24172
+# `disable-shared' LT_INIT options.
 
24173
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
24174
+m4_define([_LT_ENABLE_SHARED],
 
24175
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
24176
+AC_ARG_ENABLE([shared],
 
24177
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
24178
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
 
24179
+    [p=${PACKAGE-default}
 
24180
+    case $enableval in
 
24181
+    yes) enable_shared=yes ;;
 
24182
+    no) enable_shared=no ;;
 
24183
+    *)
 
24184
+      enable_shared=no
 
24185
+      # Look at the argument we got.  We use all the common list separators.
 
24186
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
24187
+      for pkg in $enableval; do
 
24188
+       IFS="$lt_save_ifs"
 
24189
+       if test "X$pkg" = "X$p"; then
 
24190
+         enable_shared=yes
 
24191
+       fi
 
24192
+      done
 
24193
+      IFS="$lt_save_ifs"
 
24194
+      ;;
 
24195
+    esac],
 
24196
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
 
24197
 
 
24198
-if test -n "$compiler"; then
 
24199
-  :
 
24200
-  _LT_CONFIG($1)
 
24201
-fi
 
24202
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
 
24203
+       [Whether or not to build shared libraries])
 
24204
+])# _LT_ENABLE_SHARED
 
24205
 
 
24206
-GCC=$lt_save_GCC
 
24207
-AC_LANG_RESTORE
 
24208
-CC="$lt_save_CC"
 
24209
-])# _LT_LANG_RC_CONFIG
 
24210
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
 
24211
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
 
24212
 
 
24213
+# Old names:
 
24214
+AC_DEFUN([AC_ENABLE_SHARED],
 
24215
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
 
24216
+])
 
24217
 
 
24218
-# LT_PROG_GCJ
 
24219
-# -----------
 
24220
-AC_DEFUN([LT_PROG_GCJ],
 
24221
-[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
 
24222
-  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
 
24223
-    [AC_CHECK_TOOL(GCJ, gcj,)
 
24224
-      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
24225
-      AC_SUBST(GCJFLAGS)])])[]dnl
 
24226
+AC_DEFUN([AC_DISABLE_SHARED],
 
24227
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
 
24228
 ])
 
24229
 
 
24230
-# Old name:
 
24231
-AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
 
24232
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
 
24233
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
24234
+
 
24235
 dnl aclocal-1.4 backwards compatibility:
 
24236
-dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
24237
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
 
24238
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
 
24239
 
 
24240
 
 
24241
-# LT_PROG_RC
 
24242
-# ----------
 
24243
-AC_DEFUN([LT_PROG_RC],
 
24244
-[AC_CHECK_TOOL(RC, windres,)
 
24245
-])
 
24246
 
 
24247
-# Old name:
 
24248
-AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
 
24249
-dnl aclocal-1.4 backwards compatibility:
 
24250
-dnl AC_DEFUN([LT_AC_PROG_RC], [])
 
24251
+# _LT_ENABLE_STATIC([DEFAULT])
 
24252
+# ----------------------------
 
24253
+# implement the --enable-static flag, and support the `static' and
 
24254
+# `disable-static' LT_INIT options.
 
24255
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
24256
+m4_define([_LT_ENABLE_STATIC],
 
24257
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
24258
+AC_ARG_ENABLE([static],
 
24259
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
24260
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
 
24261
+    [p=${PACKAGE-default}
 
24262
+    case $enableval in
 
24263
+    yes) enable_static=yes ;;
 
24264
+    no) enable_static=no ;;
 
24265
+    *)
 
24266
+     enable_static=no
 
24267
+      # Look at the argument we got.  We use all the common list separators.
 
24268
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
24269
+      for pkg in $enableval; do
 
24270
+       IFS="$lt_save_ifs"
 
24271
+       if test "X$pkg" = "X$p"; then
 
24272
+         enable_static=yes
 
24273
+       fi
 
24274
+      done
 
24275
+      IFS="$lt_save_ifs"
 
24276
+      ;;
 
24277
+    esac],
 
24278
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
 
24279
 
 
24280
+    _LT_DECL([build_old_libs], [enable_static], [0],
 
24281
+       [Whether or not to build static libraries])
 
24282
+])# _LT_ENABLE_STATIC
 
24283
 
 
24284
-# _LT_DECL_EGREP
 
24285
-# --------------
 
24286
-# If we don't have a new enough Autoconf to choose the best grep
 
24287
-# available, choose the one first in the user's PATH.
 
24288
-m4_defun([_LT_DECL_EGREP],
 
24289
-[AC_REQUIRE([AC_PROG_EGREP])dnl
 
24290
-AC_REQUIRE([AC_PROG_FGREP])dnl
 
24291
-test -z "$GREP" && GREP=grep
 
24292
-_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
 
24293
-_LT_DECL([], [EGREP], [1], [An ERE matcher])
 
24294
-_LT_DECL([], [FGREP], [1], [A literal string matcher])
 
24295
-dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
 
24296
-AC_SUBST([GREP])
 
24297
-])
 
24298
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
 
24299
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
 
24300
 
 
24301
+# Old names:
 
24302
+AC_DEFUN([AC_ENABLE_STATIC],
 
24303
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
 
24304
+])
 
24305
 
 
24306
-# _LT_DECL_OBJDUMP
 
24307
-# --------------
 
24308
-# If we don't have a new enough Autoconf to choose the best objdump
 
24309
-# available, choose the one first in the user's PATH.
 
24310
-m4_defun([_LT_DECL_OBJDUMP],
 
24311
-[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
24312
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
24313
-_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
24314
-AC_SUBST([OBJDUMP])
 
24315
+AC_DEFUN([AC_DISABLE_STATIC],
 
24316
+[_LT_SET_OPTION([LT_INIT], [disable-static])
 
24317
 ])
 
24318
 
 
24319
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
 
24320
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
24321
 
 
24322
-# _LT_DECL_SED
 
24323
-# ------------
 
24324
-# Check for a fully-functional sed program, that truncates
 
24325
-# as few characters as possible.  Prefer GNU sed if found.
 
24326
-m4_defun([_LT_DECL_SED],
 
24327
-[AC_PROG_SED
 
24328
-test -z "$SED" && SED=sed
 
24329
-Xsed="$SED -e 1s/^X//"
 
24330
-_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
 
24331
-_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
 
24332
-    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
 
24333
-])# _LT_DECL_SED
 
24334
+dnl aclocal-1.4 backwards compatibility:
 
24335
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
 
24336
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
 
24337
 
 
24338
-m4_ifndef([AC_PROG_SED], [
 
24339
-# NOTE: This macro has been submitted for inclusion into   #
 
24340
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 
24341
-#  a released version of Autoconf we should remove this    #
 
24342
-#  macro and use it instead.                               #
 
24343
 
 
24344
-m4_defun([AC_PROG_SED],
 
24345
-[AC_MSG_CHECKING([for a sed that does not truncate output])
 
24346
-AC_CACHE_VAL(lt_cv_path_SED,
 
24347
-[# Loop through the user's path and test for sed and gsed.
 
24348
-# Then use that list of sed's as ones to test for truncation.
 
24349
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
24350
-for as_dir in $PATH
 
24351
-do
 
24352
-  IFS=$as_save_IFS
 
24353
-  test -z "$as_dir" && as_dir=.
 
24354
-  for lt_ac_prog in sed gsed; do
 
24355
-    for ac_exec_ext in '' $ac_executable_extensions; do
 
24356
-      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
24357
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
24358
-      fi
 
24359
-    done
 
24360
-  done
 
24361
-done
 
24362
-IFS=$as_save_IFS
 
24363
-lt_ac_max=0
 
24364
-lt_ac_count=0
 
24365
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
24366
-# along with /bin/sed that truncates output.
 
24367
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
24368
-  test ! -f $lt_ac_sed && continue
 
24369
-  cat /dev/null > conftest.in
 
24370
-  lt_ac_count=0
 
24371
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
24372
-  # Check for GNU sed and select it if it is found.
 
24373
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
24374
-    lt_cv_path_SED=$lt_ac_sed
 
24375
-    break
 
24376
-  fi
 
24377
-  while true; do
 
24378
-    cat conftest.in conftest.in >conftest.tmp
 
24379
-    mv conftest.tmp conftest.in
 
24380
-    cp conftest.in conftest.nl
 
24381
-    echo >>conftest.nl
 
24382
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
24383
-    cmp -s conftest.out conftest.nl || break
 
24384
-    # 10000 chars as input seems more than enough
 
24385
-    test $lt_ac_count -gt 10 && break
 
24386
-    lt_ac_count=`expr $lt_ac_count + 1`
 
24387
-    if test $lt_ac_count -gt $lt_ac_max; then
 
24388
-      lt_ac_max=$lt_ac_count
 
24389
-      lt_cv_path_SED=$lt_ac_sed
 
24390
-    fi
 
24391
-  done
 
24392
-done
 
24393
+
 
24394
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
 
24395
+# ----------------------------------
 
24396
+# implement the --enable-fast-install flag, and support the `fast-install'
 
24397
+# and `disable-fast-install' LT_INIT options.
 
24398
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
24399
+m4_define([_LT_ENABLE_FAST_INSTALL],
 
24400
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
24401
+AC_ARG_ENABLE([fast-install],
 
24402
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
24403
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
24404
+    [p=${PACKAGE-default}
 
24405
+    case $enableval in
 
24406
+    yes) enable_fast_install=yes ;;
 
24407
+    no) enable_fast_install=no ;;
 
24408
+    *)
 
24409
+      enable_fast_install=no
 
24410
+      # Look at the argument we got.  We use all the common list separators.
 
24411
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
24412
+      for pkg in $enableval; do
 
24413
+       IFS="$lt_save_ifs"
 
24414
+       if test "X$pkg" = "X$p"; then
 
24415
+         enable_fast_install=yes
 
24416
+       fi
 
24417
+      done
 
24418
+      IFS="$lt_save_ifs"
 
24419
+      ;;
 
24420
+    esac],
 
24421
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
 
24422
+
 
24423
+_LT_DECL([fast_install], [enable_fast_install], [0],
 
24424
+        [Whether or not to optimize for fast installation])dnl
 
24425
+])# _LT_ENABLE_FAST_INSTALL
 
24426
+
 
24427
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
 
24428
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
 
24429
+
 
24430
+# Old names:
 
24431
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
 
24432
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
 
24433
+AC_DIAGNOSE([obsolete],
 
24434
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
24435
+the `fast-install' option into LT_INIT's first parameter.])
 
24436
+])
 
24437
+
 
24438
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
 
24439
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
 
24440
+AC_DIAGNOSE([obsolete],
 
24441
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
24442
+the `disable-fast-install' option into LT_INIT's first parameter.])
 
24443
 ])
 
24444
-SED=$lt_cv_path_SED
 
24445
-AC_SUBST([SED])
 
24446
-AC_MSG_RESULT([$SED])
 
24447
-])#AC_PROG_SED
 
24448
-])#m4_ifndef
 
24449
 
 
24450
-# Old name:
 
24451
-AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
 
24452
 dnl aclocal-1.4 backwards compatibility:
 
24453
-dnl AC_DEFUN([LT_AC_PROG_SED], [])
 
24454
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
 
24455
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 
24456
 
 
24457
 
 
24458
-# _LT_CHECK_SHELL_FEATURES
 
24459
-# ------------------------
 
24460
-# Find out whether the shell is Bourne or XSI compatible,
 
24461
-# or has some other useful features.
 
24462
-m4_defun([_LT_CHECK_SHELL_FEATURES],
 
24463
-[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
 
24464
-# Try some XSI features
 
24465
-xsi_shell=no
 
24466
-( _lt_dummy="a/b/c"
 
24467
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
24468
-      = c,a/b,, \
 
24469
-    && eval 'test $(( 1 + 1 )) -eq 2 \
 
24470
-    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
24471
-  && xsi_shell=yes
 
24472
-AC_MSG_RESULT([$xsi_shell])
 
24473
-_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
 
24474
+# _LT_WITH_PIC([MODE])
 
24475
+# --------------------
 
24476
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
 
24477
+# LT_INIT options.
 
24478
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
24479
+m4_define([_LT_WITH_PIC],
 
24480
+[AC_ARG_WITH([pic],
 
24481
+    [AS_HELP_STRING([--with-pic],
 
24482
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
24483
+    [pic_mode="$withval"],
 
24484
+    [pic_mode=default])
 
24485
 
 
24486
-AC_MSG_CHECKING([whether the shell understands "+="])
 
24487
-lt_shell_append=no
 
24488
-( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
 
24489
-    >/dev/null 2>&1 \
 
24490
-  && lt_shell_append=yes
 
24491
-AC_MSG_RESULT([$lt_shell_append])
 
24492
-_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
 
24493
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
 
24494
 
 
24495
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
24496
-  lt_unset=unset
 
24497
-else
 
24498
-  lt_unset=false
 
24499
-fi
 
24500
-_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
 
24501
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
 
24502
+])# _LT_WITH_PIC
 
24503
 
 
24504
-# test EBCDIC or ASCII
 
24505
-case `echo X|tr X '\101'` in
 
24506
- A) # ASCII based system
 
24507
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
24508
-  lt_SP2NL='tr \040 \012'
 
24509
-  lt_NL2SP='tr \015\012 \040\040'
 
24510
-  ;;
 
24511
- *) # EBCDIC based system
 
24512
-  lt_SP2NL='tr \100 \n'
 
24513
-  lt_NL2SP='tr \r\n \100\100'
 
24514
-  ;;
 
24515
-esac
 
24516
-_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
 
24517
-_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 
24518
-])# _LT_CHECK_SHELL_FEATURES
 
24519
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
 
24520
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
 
24521
 
 
24522
+# Old name:
 
24523
+AU_DEFUN([AC_LIBTOOL_PICMODE],
 
24524
+[_LT_SET_OPTION([LT_INIT], [pic-only])
 
24525
+AC_DIAGNOSE([obsolete],
 
24526
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
24527
+put the `pic-only' option into LT_INIT's first parameter.])
 
24528
+])
 
24529
 
 
24530
-# _LT_PROG_XSI_SHELLFNS
 
24531
-# ---------------------
 
24532
-# Bourne and XSI compatible variants of some useful shell functions.
 
24533
-m4_defun([_LT_PROG_XSI_SHELLFNS],
 
24534
-[case $xsi_shell in
 
24535
-  yes)
 
24536
-    cat << \_LT_EOF >> "$cfgfile"
 
24537
+dnl aclocal-1.4 backwards compatibility:
 
24538
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
 
24539
 
 
24540
-# func_dirname file append nondir_replacement
 
24541
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
24542
-# otherwise set result to NONDIR_REPLACEMENT.
 
24543
-func_dirname ()
 
24544
-{
 
24545
-  case ${1} in
 
24546
-    */*) func_dirname_result="${1%/*}${2}" ;;
 
24547
-    *  ) func_dirname_result="${3}" ;;
 
24548
-  esac
 
24549
-}
 
24550
 
 
24551
-# func_basename file
 
24552
-func_basename ()
 
24553
-{
 
24554
-  func_basename_result="${1##*/}"
 
24555
-}
 
24556
+m4_define([_LTDL_MODE], [])
 
24557
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
 
24558
+                [m4_define([_LTDL_MODE], [nonrecursive])])
 
24559
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
 
24560
+                [m4_define([_LTDL_MODE], [recursive])])
 
24561
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
 
24562
+                [m4_define([_LTDL_MODE], [subproject])])
 
24563
 
 
24564
-# func_dirname_and_basename file append nondir_replacement
 
24565
-# perform func_basename and func_dirname in a single function
 
24566
-# call:
 
24567
-#   dirname:  Compute the dirname of FILE.  If nonempty,
 
24568
-#             add APPEND to the result, otherwise set result
 
24569
-#             to NONDIR_REPLACEMENT.
 
24570
-#             value returned in "$func_dirname_result"
 
24571
-#   basename: Compute filename of FILE.
 
24572
-#             value retuned in "$func_basename_result"
 
24573
-# Implementation must be kept synchronized with func_dirname
 
24574
-# and func_basename. For efficiency, we do not delegate to
 
24575
-# those functions but instead duplicate the functionality here.
 
24576
-func_dirname_and_basename ()
 
24577
-{
 
24578
-  case ${1} in
 
24579
-    */*) func_dirname_result="${1%/*}${2}" ;;
 
24580
-    *  ) func_dirname_result="${3}" ;;
 
24581
-  esac
 
24582
-  func_basename_result="${1##*/}"
 
24583
-}
 
24584
+m4_define([_LTDL_TYPE], [])
 
24585
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
 
24586
+                [m4_define([_LTDL_TYPE], [installable])])
 
24587
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
 
24588
+                [m4_define([_LTDL_TYPE], [convenience])])
 
24589
 
 
24590
-# func_stripname prefix suffix name
 
24591
-# strip PREFIX and SUFFIX off of NAME.
 
24592
-# PREFIX and SUFFIX must not contain globbing or regex special
 
24593
-# characters, hashes, percent signs, but SUFFIX may contain a leading
 
24594
-# dot (in which case that matches only a dot).
 
24595
-func_stripname ()
 
24596
-{
 
24597
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
24598
-  # positional parameters, so assign one to ordinary parameter first.
 
24599
-  func_stripname_result=${3}
 
24600
-  func_stripname_result=${func_stripname_result#"${1}"}
 
24601
-  func_stripname_result=${func_stripname_result%"${2}"}
 
24602
-}
 
24603
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
 
24604
+#
 
24605
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
24606
+# Written by Gary V. Vaughan, 2004
 
24607
+#
 
24608
+# This file is free software; the Free Software Foundation gives
 
24609
+# unlimited permission to copy and/or distribute it, with or without
 
24610
+# modifications, as long as this notice is preserved.
 
24611
 
 
24612
-# func_opt_split
 
24613
-func_opt_split ()
 
24614
-{
 
24615
-  func_opt_split_opt=${1%%=*}
 
24616
-  func_opt_split_arg=${1#*=}
 
24617
-}
 
24618
+# serial 6 ltsugar.m4
 
24619
 
 
24620
-# func_lo2o object
 
24621
-func_lo2o ()
 
24622
-{
 
24623
-  case ${1} in
 
24624
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
24625
-    *)    func_lo2o_result=${1} ;;
 
24626
-  esac
 
24627
-}
 
24628
+# This is to help aclocal find these macros, as it can't see m4_define.
 
24629
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
 
24630
 
 
24631
-# func_xform libobj-or-source
 
24632
-func_xform ()
 
24633
-{
 
24634
-  func_xform_result=${1%.*}.lo
 
24635
-}
 
24636
 
 
24637
-# func_arith arithmetic-term...
 
24638
-func_arith ()
 
24639
-{
 
24640
-  func_arith_result=$(( $[*] ))
 
24641
-}
 
24642
+# lt_join(SEP, ARG1, [ARG2...])
 
24643
+# -----------------------------
 
24644
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
 
24645
+# associated separator.
 
24646
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
 
24647
+# versions in m4sugar had bugs.
 
24648
+m4_define([lt_join],
 
24649
+[m4_if([$#], [1], [],
 
24650
+       [$#], [2], [[$2]],
 
24651
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
 
24652
+m4_define([_lt_join],
 
24653
+[m4_if([$#$2], [2], [],
 
24654
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
 
24655
+
 
24656
+
 
24657
+# lt_car(LIST)
 
24658
+# lt_cdr(LIST)
 
24659
+# ------------
 
24660
+# Manipulate m4 lists.
 
24661
+# These macros are necessary as long as will still need to support
 
24662
+# Autoconf-2.59 which quotes differently.
 
24663
+m4_define([lt_car], [[$1]])
 
24664
+m4_define([lt_cdr],
 
24665
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
 
24666
+       [$#], 1, [],
 
24667
+       [m4_dquote(m4_shift($@))])])
 
24668
+m4_define([lt_unquote], $1)
 
24669
 
 
24670
-# func_len string
 
24671
-# STRING may not start with a hyphen.
 
24672
-func_len ()
 
24673
-{
 
24674
-  func_len_result=${#1}
 
24675
-}
 
24676
 
 
24677
-_LT_EOF
 
24678
-    ;;
 
24679
-  *) # Bourne compatible functions.
 
24680
-    cat << \_LT_EOF >> "$cfgfile"
 
24681
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
 
24682
+# ------------------------------------------
 
24683
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
 
24684
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
 
24685
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
 
24686
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
 
24687
+# than defined and empty).
 
24688
+#
 
24689
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
 
24690
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
 
24691
+m4_define([lt_append],
 
24692
+[m4_define([$1],
 
24693
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
 
24694
 
 
24695
-# func_dirname file append nondir_replacement
 
24696
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
24697
-# otherwise set result to NONDIR_REPLACEMENT.
 
24698
-func_dirname ()
 
24699
-{
 
24700
-  # Extract subdirectory from the argument.
 
24701
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
24702
-  if test "X$func_dirname_result" = "X${1}"; then
 
24703
-    func_dirname_result="${3}"
 
24704
-  else
 
24705
-    func_dirname_result="$func_dirname_result${2}"
 
24706
-  fi
 
24707
-}
 
24708
 
 
24709
-# func_basename file
 
24710
-func_basename ()
 
24711
-{
 
24712
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
24713
-}
 
24714
 
 
24715
-dnl func_dirname_and_basename
 
24716
-dnl A portable version of this function is already defined in general.m4sh
 
24717
-dnl so there is no need for it here.
 
24718
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
 
24719
+# ----------------------------------------------------------
 
24720
+# Produce a SEP delimited list of all paired combinations of elements of
 
24721
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
 
24722
+# has the form PREFIXmINFIXSUFFIXn.
 
24723
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
 
24724
+m4_define([lt_combine],
 
24725
+[m4_if(m4_eval([$# > 3]), [1],
 
24726
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
24727
+[[m4_foreach([_Lt_prefix], [$2],
 
24728
+            [m4_foreach([_Lt_suffix],
 
24729
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
24730
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
 
24731
 
 
24732
-# func_stripname prefix suffix name
 
24733
-# strip PREFIX and SUFFIX off of NAME.
 
24734
-# PREFIX and SUFFIX must not contain globbing or regex special
 
24735
-# characters, hashes, percent signs, but SUFFIX may contain a leading
 
24736
-# dot (in which case that matches only a dot).
 
24737
-# func_strip_suffix prefix name
 
24738
-func_stripname ()
 
24739
-{
 
24740
-  case ${2} in
 
24741
-    .*) func_stripname_result=`$ECHO "X${3}" \
 
24742
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
24743
-    *)  func_stripname_result=`$ECHO "X${3}" \
 
24744
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
24745
-  esac
 
24746
-}
 
24747
 
 
24748
-# sed scripts:
 
24749
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
 
24750
-my_sed_long_arg='1s/^-[[^=]]*=//'
 
24751
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
 
24752
+# -----------------------------------------------------------------------
 
24753
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
 
24754
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
 
24755
+m4_define([lt_if_append_uniq],
 
24756
+[m4_ifdef([$1],
 
24757
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
 
24758
+                [lt_append([$1], [$2], [$3])$4],
 
24759
+                [$5])],
 
24760
+         [lt_append([$1], [$2], [$3])$4])])
 
24761
 
 
24762
-# func_opt_split
 
24763
-func_opt_split ()
 
24764
-{
 
24765
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
24766
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
24767
-}
 
24768
 
 
24769
-# func_lo2o object
 
24770
-func_lo2o ()
 
24771
-{
 
24772
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
24773
-}
 
24774
+# lt_dict_add(DICT, KEY, VALUE)
 
24775
+# -----------------------------
 
24776
+m4_define([lt_dict_add],
 
24777
+[m4_define([$1($2)], [$3])])
 
24778
 
 
24779
-# func_xform libobj-or-source
 
24780
-func_xform ()
 
24781
-{
 
24782
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
24783
-}
 
24784
 
 
24785
-# func_arith arithmetic-term...
 
24786
-func_arith ()
 
24787
-{
 
24788
-  func_arith_result=`expr "$[@]"`
 
24789
-}
 
24790
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
 
24791
+# --------------------------------------------
 
24792
+m4_define([lt_dict_add_subkey],
 
24793
+[m4_define([$1($2:$3)], [$4])])
 
24794
 
 
24795
-# func_len string
 
24796
-# STRING may not start with a hyphen.
 
24797
-func_len ()
 
24798
-{
 
24799
-  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
 
24800
-}
 
24801
 
 
24802
-_LT_EOF
 
24803
-esac
 
24804
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
 
24805
+# ----------------------------------
 
24806
+m4_define([lt_dict_fetch],
 
24807
+[m4_ifval([$3],
 
24808
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
 
24809
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
 
24810
 
 
24811
-case $lt_shell_append in
 
24812
-  yes)
 
24813
-    cat << \_LT_EOF >> "$cfgfile"
 
24814
 
 
24815
-# func_append var value
 
24816
-# Append VALUE to the end of shell variable VAR.
 
24817
-func_append ()
 
24818
-{
 
24819
-  eval "$[1]+=\$[2]"
 
24820
-}
 
24821
-_LT_EOF
 
24822
-    ;;
 
24823
-  *)
 
24824
-    cat << \_LT_EOF >> "$cfgfile"
 
24825
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
 
24826
+# -----------------------------------------------------------------
 
24827
+m4_define([lt_if_dict_fetch],
 
24828
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
 
24829
+       [$5],
 
24830
+    [$6])])
 
24831
 
 
24832
-# func_append var value
 
24833
-# Append VALUE to the end of shell variable VAR.
 
24834
-func_append ()
 
24835
-{
 
24836
-  eval "$[1]=\$$[1]\$[2]"
 
24837
-}
 
24838
 
 
24839
-_LT_EOF
 
24840
-    ;;
 
24841
-  esac
 
24842
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
 
24843
+# --------------------------------------------------------------
 
24844
+m4_define([lt_dict_filter],
 
24845
+[m4_if([$5], [], [],
 
24846
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
 
24847
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
 
24848
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
 
24849
 ])
 
24850
 
 
24851
-# Helper functions for option handling.                    -*- Autoconf -*-
 
24852
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-
 
24853
 #
 
24854
-#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
24855
-#   Written by Gary V. Vaughan, 2004
 
24856
+#   Copyright (C) 2004 Free Software Foundation, Inc.
 
24857
+#   Written by Scott James Remnant, 2004
 
24858
 #
 
24859
 # This file is free software; the Free Software Foundation gives
 
24860
 # unlimited permission to copy and/or distribute it, with or without
 
24861
 # modifications, as long as this notice is preserved.
 
24862
 
 
24863
-# serial 6 ltoptions.m4
 
24864
+# Generated from ltversion.in.
 
24865
 
 
24866
-# This is to help aclocal find these macros, as it can't see m4_define.
 
24867
-AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
 
24868
+# serial 3012 ltversion.m4
 
24869
+# This file is part of GNU Libtool
 
24870
 
 
24871
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
24872
+m4_define([LT_PACKAGE_REVISION], [1.3012])
 
24873
 
 
24874
-# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
 
24875
-# ------------------------------------------
 
24876
-m4_define([_LT_MANGLE_OPTION],
 
24877
-[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
 
24878
+AC_DEFUN([LTVERSION_VERSION],
 
24879
+[macro_version='2.2.6'
 
24880
+macro_revision='1.3012'
 
24881
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 
24882
+_LT_DECL(, macro_revision, 0)
 
24883
+])
 
24884
 
 
24885
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 
24886
+#
 
24887
+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
 
24888
+#   Written by Scott James Remnant, 2004.
 
24889
+#
 
24890
+# This file is free software; the Free Software Foundation gives
 
24891
+# unlimited permission to copy and/or distribute it, with or without
 
24892
+# modifications, as long as this notice is preserved.
 
24893
 
 
24894
-# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
 
24895
-# ---------------------------------------
 
24896
-# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
 
24897
-# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
 
24898
-# saved as a flag.
 
24899
-m4_define([_LT_SET_OPTION],
 
24900
-[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
 
24901
-m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
 
24902
-        _LT_MANGLE_DEFUN([$1], [$2]),
 
24903
-    [m4_warning([Unknown $1 option `$2'])])[]dnl
 
24904
-])
 
24905
+# serial 4 lt~obsolete.m4
 
24906
 
 
24907
+# These exist entirely to fool aclocal when bootstrapping libtool.
 
24908
+#
 
24909
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
 
24910
+# which have later been changed to m4_define as they aren't part of the
 
24911
+# exported API, or moved to Autoconf or Automake where they belong.
 
24912
+#
 
24913
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
 
24914
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
 
24915
+# using a macro with the same name in our local m4/libtool.m4 it'll
 
24916
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
 
24917
+# and doesn't know about Autoconf macros at all.)
 
24918
+#
 
24919
+# So we provide this file, which has a silly filename so it's always
 
24920
+# included after everything else.  This provides aclocal with the
 
24921
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
 
24922
+# because those macros already exist, or will be overwritten later.
 
24923
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
 
24924
+#
 
24925
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
 
24926
+# Yes, that means every name once taken will need to remain here until
 
24927
+# we give up compatibility with versions before 1.7, at which point
 
24928
+# we need to keep only those names which we still refer to.
 
24929
 
 
24930
-# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
 
24931
-# ------------------------------------------------------------
 
24932
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
24933
-m4_define([_LT_IF_OPTION],
 
24934
-[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
 
24935
+# This is to help aclocal find these macros, as it can't see m4_define.
 
24936
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
 
24937
+
 
24938
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
 
24939
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
 
24940
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
 
24941
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
 
24942
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
 
24943
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
 
24944
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
 
24945
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
 
24946
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
 
24947
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
 
24948
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
 
24949
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
 
24950
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
 
24951
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
 
24952
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
 
24953
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
 
24954
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
 
24955
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
 
24956
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
 
24957
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
 
24958
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
 
24959
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
 
24960
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
 
24961
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
 
24962
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
 
24963
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
 
24964
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
 
24965
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
 
24966
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
 
24967
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
 
24968
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
 
24969
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
 
24970
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
 
24971
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
 
24972
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
 
24973
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
 
24974
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
 
24975
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
 
24976
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 
24977
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
 
24978
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
 
24979
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
 
24980
+m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
 
24981
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 
24982
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 
24983
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
 
24984
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
 
24985
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
 
24986
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
 
24987
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
 
24988
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
 
24989
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 
24990
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 
24991
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
 
24992
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
 
24993
 
17428
24994
+# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
17429
24995
+#
17430
24996
+# This file is free software; the Free Software Foundation
17431
24997
+# gives unlimited permission to copy and/or distribute it,
17432
24998
+# with or without modifications, as long as this notice is preserved.
17433
24999
 
17434
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17435
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
17436
 
-      # to version 4, is to share data among multiple programs linked
17437
 
-      # with the same dynamic library.  Since this doesn't match the
17438
 
-      # behavior of shared libraries on other platforms, we can't use
17439
 
-      # them.
17440
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
17441
 
-      ;;
 
25000
-# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
 
25001
-# -------------------------------------------------------
 
25002
-# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
 
25003
-# are set.
 
25004
-m4_define([_LT_UNLESS_OPTIONS],
 
25005
-[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
25006
-           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
 
25007
-                     [m4_define([$0_found])])])[]dnl
 
25008
-m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
 
25009
-])[]dnl
17442
25010
+# AM_AUTOMAKE_VERSION(VERSION)
17443
25011
+# ----------------------------
17444
25012
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
17450
25018
+dnl require some minimum version.  Point them to the right macro.
17451
25019
+m4_if([$1], [1.10.1], [],
17452
25020
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
17453
 
+])
 
25021
 ])
17454
25022
 
17455
 
-    beos*)
17456
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17457
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
17458
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17459
 
-       # support --undefined.  This deserves some investigation.  FIXME
17460
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17461
 
-      else
17462
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17463
 
-      fi
17464
 
-      ;;
17465
25023
+# _AM_AUTOCONF_VERSION(VERSION)
17466
25024
+# -----------------------------
17467
25025
+# aclocal traces this macro to find the Autoconf version.
17469
25027
+# the logic in aclocal, which can simply ignore this definition.
17470
25028
+m4_define([_AM_AUTOCONF_VERSION], [])
17471
25029
 
17472
 
-    cygwin* | mingw* | pw32*)
17473
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
17474
 
-      # as there is no search path for DLLs.
17475
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
17476
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
17477
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=no
17478
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
17479
 
-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
 
25030
-# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
 
25031
-# ----------------------------------------
 
25032
-# OPTION-LIST is a space-separated list of Libtool options associated
 
25033
-# with MACRO-NAME.  If any OPTION has a matching handler declared with
 
25034
-# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
 
25035
-# the unknown option and exit.
 
25036
-m4_defun([_LT_SET_OPTIONS],
 
25037
-[# Set options
 
25038
-m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
25039
-    [_LT_SET_OPTION([$1], _LT_Option)])
17480
25040
+# AM_SET_CURRENT_AUTOMAKE_VERSION
17481
25041
+# -------------------------------
17482
25042
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
17487
25047
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17488
25048
+_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
17489
25049
 
17490
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17491
 
-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17492
 
-       # If the export-symbols file already is a .def file (1st line
17493
 
-       # is EXPORTS), use it as is; otherwise, prepend...
17494
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17495
 
-         cp $export_symbols $output_objdir/$soname.def;
17496
 
-       else
17497
 
-         echo EXPORTS > $output_objdir/$soname.def;
17498
 
-         cat $export_symbols >> $output_objdir/$soname.def;
17499
 
-       fi~
17500
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17501
 
-      else
17502
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17503
 
-      fi
17504
 
-      ;;
 
25050
-m4_if([$1],[LT_INIT],[
 
25051
-  dnl
 
25052
-  dnl Simply set some default values (i.e off) if boolean options were not
 
25053
-  dnl specified:
 
25054
-  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
 
25055
-  ])
 
25056
-  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
 
25057
-  ])
 
25058
-  dnl
 
25059
-  dnl If no reference was made to various pairs of opposing options, then
 
25060
-  dnl we run the default mode handler for the pair.  For example, if neither
 
25061
-  dnl `shared' nor `disable-shared' was passed, we enable building of shared
 
25062
-  dnl archives by default:
 
25063
-  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
 
25064
-  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
 
25065
-  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
 
25066
-  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
 
25067
-                  [_LT_ENABLE_FAST_INSTALL])
 
25068
-  ])
 
25069
-])# _LT_SET_OPTIONS
17505
25070
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
17506
 
+
 
25071
 
17507
25072
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
17508
25073
+#
17509
25074
+# This file is free software; the Free Software Foundation
17510
25075
+# gives unlimited permission to copy and/or distribute it,
17511
25076
+# with or without modifications, as long as this notice is preserved.
17512
 
+
 
25077
 
17513
25078
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
17514
25079
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
17515
25080
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
17547
25112
+# Another solution, used here, is to always expand $ac_aux_dir to an
17548
25113
+# absolute PATH.  The drawback is that using absolute paths prevent a
17549
25114
+# configured tree to be moved without reconfiguration.
17550
 
+
 
25115
 
 
25116
-# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
 
25117
-# -----------------------------------------
 
25118
-m4_define([_LT_MANGLE_DEFUN],
 
25119
-[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
17551
25120
+AC_DEFUN([AM_AUX_DIR_EXPAND],
17552
25121
+[dnl Rely on autoconf to set up CDPATH properly.
17553
25122
+AC_PREREQ([2.50])dnl
17554
25123
+# expand $ac_aux_dir to an absolute path
17555
25124
+am_aux_dir=`cd $ac_aux_dir && pwd`
17556
25125
+])
17557
 
+
17558
 
+
 
25126
 
 
25127
 
 
25128
-# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
 
25129
-# -----------------------------------------------
 
25130
-m4_define([LT_OPTION_DEFINE],
 
25131
-[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
 
25132
-])# LT_OPTION_DEFINE
17559
25133
+# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
17560
25134
+# Free Software Foundation, Inc.
17561
25135
+#
17563
25137
+# gives unlimited permission to copy and/or distribute it,
17564
25138
+# with or without modifications, as long as this notice is preserved.
17565
25139
 
17566
 
-    interix[[3-9]]*)
17567
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
17568
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17569
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17570
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17571
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17572
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
17573
 
-      # default) and relocated if they conflict, which is a slow very memory
17574
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
17575
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17576
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17577
 
-      _LT_AC_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'
17578
 
-      _LT_AC_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'
17579
 
-      ;;
17580
25140
+# serial 4
17581
25141
 
17582
 
-    gnu* | linux* | k*bsd*-gnu)
17583
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17584
 
-       tmp_addflag=
17585
 
-       case $cc_basename,$host_cpu in
17586
 
-       pgcc*)                          # Portland Group C compiler
17587
 
-         _LT_AC_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'
17588
 
-         tmp_addflag=' $pic_flag'
17589
 
-         ;;
17590
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17591
 
-         _LT_AC_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'
17592
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
17593
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17594
 
-         tmp_addflag=' -i_dynamic' ;;
17595
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17596
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
17597
 
-       ifc* | ifort*)                  # Intel Fortran compiler
17598
 
-         tmp_addflag=' -nofor_main' ;;
17599
 
-       esac
17600
 
-       case `$CC -V 2>&1 | sed 5q` in
17601
 
-       *Sun\ C*)                       # Sun C 5.9
17602
 
-         _LT_AC_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'
17603
 
-         tmp_sharedflag='-G' ;;
17604
 
-       *Sun\ F*)                       # Sun Fortran 8.3
17605
 
-         tmp_sharedflag='-G' ;;
17606
 
-       *)
17607
 
-         tmp_sharedflag='-shared' ;;
17608
 
-       esac
17609
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
25142
-# dlopen
 
25143
-# ------
 
25144
-LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
 
25145
-])
17610
25146
+# This was merged into AC_PROG_CC in Autoconf.
17611
25147
 
17612
 
-       if test $supports_anon_versioning = yes; then
17613
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
17614
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17615
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
17616
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17617
 
-       fi
17618
 
-      else
17619
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17620
 
-      fi
17621
 
-      ;;
 
25148
-AU_DEFUN([AC_LIBTOOL_DLOPEN],
 
25149
-[_LT_SET_OPTION([LT_INIT], [dlopen])
 
25150
-AC_DIAGNOSE([obsolete],
 
25151
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
25152
-put the `dlopen' option into LT_INIT's first parameter.])
17622
25153
+AU_DEFUN([AM_PROG_CC_STDC],
17623
25154
+[AC_PROG_CC
17624
25155
+AC_DIAGNOSE([obsolete], [$0:
17627
25158
+       you adjust the code.  You can also remove the above call to
17628
25159
+       AC_PROG_CC if you already called it elsewhere.])
17629
25160
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
17630
 
+])
 
25161
 ])
17631
25162
+AU_DEFUN([fp_PROG_CC_STDC])
17632
25163
 
17633
 
-    netbsd*)
17634
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17635
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17636
 
-       wlarc=
17637
 
-      else
17638
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17639
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17640
 
-      fi
17641
 
-      ;;
 
25164
-dnl aclocal-1.4 backwards compatibility:
 
25165
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
 
25166
-
17642
25167
+# AM_CONDITIONAL                                            -*- Autoconf -*-
17643
25168
 
17644
 
-    solaris*)
17645
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17646
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17647
 
-       cat <<EOF 1>&2
 
25169
-# win32-dll
 
25170
-# ---------
 
25171
-# Declare package support for building win32 dll's.
 
25172
-LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 
25173
-[enable_win32_dll=yes
17648
25174
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
17649
25175
+# Free Software Foundation, Inc.
17650
25176
+#
17652
25178
+# gives unlimited permission to copy and/or distribute it,
17653
25179
+# with or without modifications, as long as this notice is preserved.
17654
25180
 
17655
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17656
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
17657
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
17658
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
17659
 
-*** your PATH or compiler configuration so that the native linker is
17660
 
-*** used, and then restart.
 
25181
-case $host in
 
25182
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
25183
-  AC_CHECK_TOOL(AS, as, false)
 
25184
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
25185
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
25186
-  ;;
 
25187
-esac
17661
25188
+# serial 8
17662
25189
 
17663
 
-EOF
17664
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17665
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17666
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17667
 
-      else
17668
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17669
 
-      fi
17670
 
-      ;;
 
25190
-test -z "$AS" && AS=as
 
25191
-_LT_DECL([], [AS],      [0], [Assembler program])dnl
17671
25192
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
17672
25193
+# -------------------------------------
17673
25194
+# Define a conditional.
17692
25213
+Usually this means the macro was only invoked conditionally.]])
17693
25214
+fi])])
17694
25215
 
17695
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17696
 
-      case `$LD -v 2>&1` in
17697
 
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
17698
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17699
 
-       cat <<_LT_EOF 1>&2
 
25216
-test -z "$DLLTOOL" && DLLTOOL=dlltool
 
25217
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
17700
25218
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
17701
25219
+# Free Software Foundation, Inc.
17702
25220
+#
17704
25222
+# gives unlimited permission to copy and/or distribute it,
17705
25223
+# with or without modifications, as long as this notice is preserved.
17706
25224
 
17707
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17708
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
17709
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
17710
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17711
 
-*** your PATH or compiler configuration so that the native linker is
17712
 
-*** used, and then restart.
 
25225
-test -z "$OBJDUMP" && OBJDUMP=objdump
 
25226
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
25227
-])# win32-dll
17713
25228
+# serial 9
17714
25229
 
17715
 
-_LT_EOF
17716
 
-       ;;
17717
 
-       *)
17718
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17719
 
-           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17720
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17721
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17722
 
-         else
17723
 
-           _LT_AC_TAGVAR(ld_shlibs, $1)=no
17724
 
-         fi
17725
 
-       ;;
17726
 
-      esac
17727
 
-      ;;
 
25230
-AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
25231
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
25232
-_LT_SET_OPTION([LT_INIT], [win32-dll])
 
25233
-AC_DIAGNOSE([obsolete],
 
25234
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
25235
-put the `win32-dll' option into LT_INIT's first parameter.])
 
25236
-])
17728
25237
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
17729
25238
+# written in clear, in which case automake, when reading aclocal.m4,
17730
25239
+# will think it sees a *use*, and therefore will trigger all it's
17731
25240
+# C support machinery.  Also note that it means that autoscan, seeing
17732
25241
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
17733
25242
 
17734
 
-    sunos4*)
17735
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17736
 
-      wlarc=
17737
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17738
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17739
 
-      ;;
 
25243
-dnl aclocal-1.4 backwards compatibility:
 
25244
-dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
17740
25245
 
17741
 
-    *)
17742
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17743
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17744
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17745
 
-      else
17746
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
17747
 
-      fi
17748
 
-      ;;
17749
 
-    esac
17750
25246
+# _AM_DEPENDENCIES(NAME)
17751
25247
+# ----------------------
17752
25248
+# See how the compiler implements dependency checking.
17763
25259
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
17764
25260
+AC_REQUIRE([AM_DEP_TRACK])dnl
17765
25261
 
17766
 
-    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
17767
 
-      runpath_var=
17768
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
17769
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
17770
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
17771
 
-    fi
17772
 
-  else
17773
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
17774
 
-    case $host_os in
17775
 
-    aix3*)
17776
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
17777
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
17778
 
-      _LT_AC_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'
17779
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
17780
 
-      # are no directories specified by -L.
17781
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
17782
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17783
 
-       # Neither direct hardcoding nor static linking is supported with a
17784
 
-       # broken collect2.
17785
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
17786
 
-      fi
 
25262
-# _LT_ENABLE_SHARED([DEFAULT])
 
25263
-# ----------------------------
 
25264
-# implement the --enable-shared flag, and supports the `shared' and
 
25265
-# `disable-shared' LT_INIT options.
 
25266
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
25267
-m4_define([_LT_ENABLE_SHARED],
 
25268
-[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
25269
-AC_ARG_ENABLE([shared],
 
25270
-    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
25271
-       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
 
25272
-    [p=${PACKAGE-default}
 
25273
-    case $enableval in
 
25274
-    yes) enable_shared=yes ;;
 
25275
-    no) enable_shared=no ;;
 
25276
-    *)
 
25277
-      enable_shared=no
 
25278
-      # Look at the argument we got.  We use all the common list separators.
 
25279
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
25280
-      for pkg in $enableval; do
 
25281
-       IFS="$lt_save_ifs"
 
25282
-       if test "X$pkg" = "X$p"; then
 
25283
-         enable_shared=yes
 
25284
-       fi
 
25285
-      done
 
25286
-      IFS="$lt_save_ifs"
17787
25287
-      ;;
 
25288
-    esac],
 
25289
-    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
17788
25290
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
17789
25291
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
17790
25292
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
17791
25293
+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
17792
25294
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
17793
25295
+                   [depcc="$$1"   am_compiler_list=])
17794
 
+
 
25296
 
 
25297
-    _LT_DECL([build_libtool_libs], [enable_shared], [0],
 
25298
-       [Whether or not to build shared libraries])
 
25299
-])# _LT_ENABLE_SHARED
17795
25300
+AC_CACHE_CHECK([dependency style of $depcc],
17796
25301
+               [am_cv_$1_dependencies_compiler_type],
17797
25302
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17812
25317
+  # the current directory while Tru64 will put them in the object
17813
25318
+  # directory.
17814
25319
+  mkdir sub
17815
 
+
 
25320
 
 
25321
-LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
 
25322
-LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
17816
25323
+  am_cv_$1_dependencies_compiler_type=none
17817
25324
+  if test "$am_compiler_list" = ""; then
17818
25325
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
17834
25341
+    done
17835
25342
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17836
25343
 
17837
 
-    aix[[4-9]]*)
17838
 
-      if test "$host_cpu" = ia64; then
17839
 
-       # On IA64, the linker does run time linking by default, so we don't
17840
 
-       # have to do anything special.
17841
 
-       aix_use_runtimelinking=no
17842
 
-       exp_sym_flag='-Bexport'
17843
 
-       no_entry_flag=""
 
25344
-# Old names:
 
25345
-AC_DEFUN([AC_ENABLE_SHARED],
 
25346
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
 
25347
-])
17844
25348
+    case $depmode in
17845
25349
+    nosideeffect)
17846
25350
+      # after this tag, mechanisms are not by side-effect, so they'll
17847
25351
+      # only be used when explicitly requested
17848
25352
+      if test "x$enable_dependency_tracking" = xyes; then
17849
25353
+       continue
17850
 
       else
17851
 
-       # If we're using GNU nm, then we don't want the "-C" option.
17852
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
17853
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17854
 
-         _LT_AC_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'
17855
 
-       else
17856
 
-         _LT_AC_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'
17857
 
-       fi
17858
 
-       aix_use_runtimelinking=no
 
25354
+      else
17859
25355
+       break
17860
25356
+      fi
17861
25357
+      ;;
17888
25384
+    fi
17889
25385
+  done
17890
25386
 
17891
 
-       # Test if we are trying to use run time linking or normal
17892
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17893
 
-       # need to do runtime linking.
17894
 
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
17895
 
-         for ld_flag in $LDFLAGS; do
17896
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17897
 
-           aix_use_runtimelinking=yes
17898
 
-           break
17899
 
-         fi
17900
 
-         done
17901
 
-         ;;
17902
 
-       esac
 
25387
-AC_DEFUN([AC_DISABLE_SHARED],
 
25388
-[_LT_SET_OPTION([LT_INIT], [disable-shared])
17903
25389
+  cd ..
17904
25390
+  rm -rf conftest.dir
17905
25391
+else
17910
25396
+AM_CONDITIONAL([am__fastdep$1], [
17911
25397
+  test "x$enable_dependency_tracking" != xno \
17912
25398
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
17913
 
+])
17914
 
 
17915
 
-       exp_sym_flag='-bexport'
17916
 
-       no_entry_flag='-bnoentry'
17917
 
-      fi
17918
 
 
17919
 
-      # When large executables or shared objects are built, AIX ld can
17920
 
-      # have problems creating the table of contents.  If linking a library
17921
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
17922
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17923
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
25399
 ])
 
25400
 
 
25401
-AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
 
25402
-AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
25403
 
 
25404
-dnl aclocal-1.4 backwards compatibility:
 
25405
-dnl AC_DEFUN([AM_ENABLE_SHARED], [])
 
25406
-dnl AC_DEFUN([AM_DISABLE_SHARED], [])
17924
25407
+# AM_SET_DEPDIR
17925
25408
+# -------------
17926
25409
+# Choose a directory name for dependency files.
17930
25413
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
17931
25414
+])
17932
25415
 
17933
 
-      _LT_AC_TAGVAR(archive_cmds, $1)=''
17934
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17935
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
17936
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17937
25416
 
17938
 
-      if test "$GCC" = yes; then
17939
 
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
17940
 
-       # We only want to do this on AIX 4.2 and lower, the check
17941
 
-       # below for broken collect2 doesn't work under 4.3+
17942
 
-         collect2name=`${CC} -print-prog-name=collect2`
17943
 
-         if test -f "$collect2name" && \
17944
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
17945
 
-         then
17946
 
-         # We have reworked collect2
17947
 
-         :
17948
 
-         else
17949
 
-         # We have old collect2
17950
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
17951
 
-         # It fails to find uninstalled libraries when the uninstalled
17952
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
17953
 
-         # to unsupported forces relinking
17954
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
17955
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
17956
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
17957
 
-         fi
17958
 
-         ;;
17959
 
-       esac
17960
 
-       shared_flag='-shared'
17961
 
-       if test "$aix_use_runtimelinking" = yes; then
17962
 
-         shared_flag="$shared_flag "'${wl}-G'
17963
 
-       fi
17964
 
-      else
17965
 
-       # not using gcc
17966
 
-       if test "$host_cpu" = ia64; then
17967
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17968
 
-       # chokes on -Wl,-G. The following line is correct:
17969
 
-         shared_flag='-G'
17970
 
-       else
17971
 
-         if test "$aix_use_runtimelinking" = yes; then
17972
 
-           shared_flag='${wl}-G'
17973
 
-         else
17974
 
-           shared_flag='${wl}-bM:SRE'
17975
 
-         fi
17976
 
-       fi
17977
 
-      fi
17978
25417
+# AM_DEP_TRACK
17979
25418
+# ------------
17980
25419
+AC_DEFUN([AM_DEP_TRACK],
17990
25429
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
17991
25430
+])
17992
25431
 
17993
 
-      # It seems that -bexpall does not export symbols beginning with
17994
 
-      # underscore (_), so it is better to generate a list of symbols to export.
17995
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
17996
 
-      if test "$aix_use_runtimelinking" = yes; then
17997
 
-       # Warning - without using the other runtime loading flags (-brtl),
17998
 
-       # -berok will link without error, but may produce a broken library.
17999
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
18000
 
-       # Determine the default libpath from the value encoded in an empty executable.
18001
 
-       _LT_AC_SYS_LIBPATH_AIX
18002
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18003
 
-       _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18004
 
-       else
18005
 
-       if test "$host_cpu" = ia64; then
18006
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
18007
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
18008
 
-         _LT_AC_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"
18009
 
-       else
18010
 
-        # Determine the default libpath from the value encoded in an empty executable.
18011
 
-        _LT_AC_SYS_LIBPATH_AIX
18012
 
-        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18013
 
-         # Warning - without using the other run time loading flags,
18014
 
-         # -berok will link without error, but may produce a broken library.
18015
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
18016
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
18017
 
-         # Exported symbols can be pulled into shared objects from archives
18018
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
18019
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
18020
 
-         # This is similar to how AIX traditionally builds its shared libraries.
18021
 
-         _LT_AC_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'
 
25432
-# _LT_ENABLE_STATIC([DEFAULT])
 
25433
-# ----------------------------
 
25434
-# implement the --enable-static flag, and support the `static' and
 
25435
-# `disable-static' LT_INIT options.
 
25436
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
25437
-m4_define([_LT_ENABLE_STATIC],
 
25438
-[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
25439
-AC_ARG_ENABLE([static],
 
25440
-    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
25441
-       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
 
25442
-    [p=${PACKAGE-default}
 
25443
-    case $enableval in
 
25444
-    yes) enable_static=yes ;;
 
25445
-    no) enable_static=no ;;
 
25446
-    *)
 
25447
-     enable_static=no
 
25448
-      # Look at the argument we got.  We use all the common list separators.
 
25449
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
25450
-      for pkg in $enableval; do
 
25451
-       IFS="$lt_save_ifs"
 
25452
-       if test "X$pkg" = "X$p"; then
 
25453
-         enable_static=yes
18022
25454
-       fi
18023
 
-      fi
 
25455
-      done
 
25456
-      IFS="$lt_save_ifs"
18024
25457
-      ;;
 
25458
-    esac],
 
25459
-    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
18025
25460
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
18026
25461
 
18027
 
-    amigaos*)
18028
 
-      _LT_AC_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)'
18029
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18030
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18031
 
-      # see comment about different semantics on the GNU ld section
18032
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
18033
 
-      ;;
 
25462
-    _LT_DECL([build_old_libs], [enable_static], [0],
 
25463
-       [Whether or not to build static libraries])
 
25464
-])# _LT_ENABLE_STATIC
18034
25465
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
18035
25466
+# Free Software Foundation, Inc.
18036
25467
+#
18038
25469
+# gives unlimited permission to copy and/or distribute it,
18039
25470
+# with or without modifications, as long as this notice is preserved.
18040
25471
 
18041
 
-    bsdi[[45]]*)
18042
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
18043
 
-      ;;
 
25472
-LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
 
25473
-LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
18044
25474
+#serial 3
18045
 
 
18046
 
-    cygwin* | mingw* | pw32*)
18047
 
-      # When not using gcc, we currently assume that we are using
18048
 
-      # Microsoft Visual C++.
18049
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
18050
 
-      # no search path for DLLs.
18051
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
18052
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
18053
 
-      # Tell ltmain to make .lib files, not .a files.
18054
 
-      libext=lib
18055
 
-      # Tell ltmain to make .dll files, not .so files.
18056
 
-      shrext_cmds=".dll"
18057
 
-      # FIXME: Setting linknames here is a bad hack.
18058
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18059
 
-      # The linker will automatically build a .lib file if we build a DLL.
18060
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
18061
 
-      # FIXME: Should let the user specify the lib program.
18062
 
-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
18063
 
-      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
18064
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18065
 
-      ;;
 
25475
+
18066
25476
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
18067
25477
+# ------------------------------
18068
25478
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
18107
25517
+done
18108
25518
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
18109
25519
 
18110
 
-    darwin* | rhapsody*)
18111
 
-      case $host_os in
18112
 
-        rhapsody* | darwin1.[[012]])
18113
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
18114
 
-         ;;
18115
 
-       *) # Darwin 1.3 on
18116
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18117
 
-           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18118
 
-         else
18119
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
18120
 
-             10.[[012]])
18121
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18122
 
-               ;;
18123
 
-             10.*)
18124
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
18125
 
-               ;;
18126
 
-           esac
18127
 
-         fi
18128
 
-         ;;
18129
 
-      esac
18130
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18131
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
18132
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
18133
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18134
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
18135
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18136
 
-    if test "$GCC" = yes ; then
18137
 
-       output_verbose_link_cmd='echo'
18138
 
-        _LT_AC_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}"
18139
 
-        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18140
 
-        _LT_AC_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}"
18141
 
-        _LT_AC_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}"
18142
 
-    else
18143
 
-      case $cc_basename in
18144
 
-        xlc*)
18145
 
-         output_verbose_link_cmd='echo'
18146
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18147
 
-         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18148
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18149
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18150
 
-          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18151
 
-          ;;
18152
 
-       *)
18153
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
18154
 
-          ;;
18155
 
-      esac
18156
 
-    fi
18157
 
-      ;;
 
25520
-# Old names:
 
25521
-AC_DEFUN([AC_ENABLE_STATIC],
 
25522
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
 
25523
-])
18158
25524
 
18159
 
-    dgux*)
18160
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18161
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18162
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18163
 
-      ;;
 
25525
-AC_DEFUN([AC_DISABLE_STATIC],
 
25526
-[_LT_SET_OPTION([LT_INIT], [disable-static])
18164
25527
+# AM_OUTPUT_DEPENDENCY_COMMANDS
18165
25528
+# -----------------------------
18166
25529
+# This macro should only be invoked once -- use via AC_REQUIRE.
18172
25535
+[AC_CONFIG_COMMANDS([depfiles],
18173
25536
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
18174
25537
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
18175
 
+])
 
25538
 ])
18176
25539
 
18177
 
-    freebsd1*)
18178
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
25540
-AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
 
25541
-AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
25542
-
 
25543
-dnl aclocal-1.4 backwards compatibility:
 
25544
-dnl AC_DEFUN([AM_ENABLE_STATIC], [])
 
25545
-dnl AC_DEFUN([AM_DISABLE_STATIC], [])
 
25546
-
 
25547
-
 
25548
-
 
25549
-# _LT_ENABLE_FAST_INSTALL([DEFAULT])
 
25550
-# ----------------------------------
 
25551
-# implement the --enable-fast-install flag, and support the `fast-install'
 
25552
-# and `disable-fast-install' LT_INIT options.
 
25553
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
25554
-m4_define([_LT_ENABLE_FAST_INSTALL],
 
25555
-[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
25556
-AC_ARG_ENABLE([fast-install],
 
25557
-    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
25558
-    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
25559
-    [p=${PACKAGE-default}
 
25560
-    case $enableval in
 
25561
-    yes) enable_fast_install=yes ;;
 
25562
-    no) enable_fast_install=no ;;
 
25563
-    *)
 
25564
-      enable_fast_install=no
 
25565
-      # Look at the argument we got.  We use all the common list separators.
 
25566
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
25567
-      for pkg in $enableval; do
 
25568
-       IFS="$lt_save_ifs"
 
25569
-       if test "X$pkg" = "X$p"; then
 
25570
-         enable_fast_install=yes
 
25571
-       fi
 
25572
-      done
 
25573
-      IFS="$lt_save_ifs"
18179
25574
-      ;;
 
25575
-    esac],
 
25576
-    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
18180
25577
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
18181
25578
+# Free Software Foundation, Inc.
18182
25579
+#
18184
25581
+# gives unlimited permission to copy and/or distribute it,
18185
25582
+# with or without modifications, as long as this notice is preserved.
18186
25583
 
18187
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18188
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
18189
 
-    # does not break anything, and helps significantly (at the cost of a little
18190
 
-    # extra space).
18191
 
-    freebsd2.2*)
18192
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18193
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18194
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18195
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18196
 
-      ;;
 
25584
-_LT_DECL([fast_install], [enable_fast_install], [0],
 
25585
-        [Whether or not to optimize for fast installation])dnl
 
25586
-])# _LT_ENABLE_FAST_INSTALL
18197
25587
+# serial 8
18198
25588
 
18199
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18200
 
-    freebsd2*)
18201
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18202
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18203
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18204
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18205
 
-      ;;
 
25589
-LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
 
25590
-LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
18206
25591
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
18207
25592
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
18208
25593
 
18209
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18210
 
-    freebsd* | dragonfly*)
18211
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18212
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18213
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18214
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18215
 
-      ;;
 
25594
-# Old names:
 
25595
-AU_DEFUN([AC_ENABLE_FAST_INSTALL],
 
25596
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
 
25597
-AC_DIAGNOSE([obsolete],
 
25598
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
25599
-the `fast-install' option into LT_INIT's first parameter.])
 
25600
-])
18216
25601
+# Do all the work for Automake.                             -*- Autoconf -*-
18217
25602
 
18218
 
-    hpux9*)
18219
 
-      if test "$GCC" = yes; then
18220
 
-       _LT_AC_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'
18221
 
-      else
18222
 
-       _LT_AC_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'
18223
 
-      fi
18224
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18225
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18226
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
25603
-AU_DEFUN([AC_DISABLE_FAST_INSTALL],
 
25604
-[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
 
25605
-AC_DIAGNOSE([obsolete],
 
25606
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
25607
-the `disable-fast-install' option into LT_INIT's first parameter.])
 
25608
-])
18227
25609
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
18228
25610
+# 2005, 2006, 2008 Free Software Foundation, Inc.
18229
25611
+#
18231
25613
+# gives unlimited permission to copy and/or distribute it,
18232
25614
+# with or without modifications, as long as this notice is preserved.
18233
25615
 
18234
 
-      # hardcode_minus_L: Not really in the search PATH,
18235
 
-      # but as the default location of the library.
18236
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18237
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18238
 
-      ;;
 
25616
-dnl aclocal-1.4 backwards compatibility:
 
25617
-dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
 
25618
-dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
18239
25619
+# serial 13
18240
25620
 
18241
 
-    hpux10*)
18242
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18243
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18244
 
-      else
18245
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18246
 
-      fi
18247
 
-      if test "$with_gnu_ld" = no; then
18248
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18249
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18250
25621
+# This macro actually does too much.  Some checks are only needed if
18251
25622
+# your package does certain things.  But this isn't really a big deal.
18252
25623
 
18253
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18254
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
25624
-# _LT_WITH_PIC([MODE])
 
25625
-# --------------------
 
25626
-# implement the --with-pic flag, and support the `pic-only' and `no-pic'
 
25627
-# LT_INIT options.
 
25628
-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
25629
-m4_define([_LT_WITH_PIC],
 
25630
-[AC_ARG_WITH([pic],
 
25631
-    [AS_HELP_STRING([--with-pic],
 
25632
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
25633
-    [pic_mode="$withval"],
 
25634
-    [pic_mode=default])
18255
25635
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
18256
25636
+# AM_INIT_AUTOMAKE([OPTIONS])
18257
25637
+# -----------------------------------------------
18280
25660
+  fi
18281
25661
+fi
18282
25662
 
18283
 
-       # hardcode_minus_L: Not really in the search PATH,
18284
 
-       # but as the default location of the library.
18285
 
-       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18286
 
-      fi
18287
 
-      ;;
 
25663
-test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
18288
25664
+# test whether we have cygpath
18289
25665
+if test -z "$CYGPATH_W"; then
18290
25666
+  if (cygpath --version) >/dev/null 2>/dev/null; then
18295
25671
+fi
18296
25672
+AC_SUBST([CYGPATH_W])
18297
25673
 
18298
 
-    hpux11*)
18299
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18300
 
-       case $host_cpu in
18301
 
-       hppa*64*)
18302
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18303
 
-         ;;
18304
 
-       ia64*)
18305
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18306
 
-         ;;
18307
 
-       *)
18308
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18309
 
-         ;;
18310
 
-       esac
18311
 
-      else
18312
 
-       case $host_cpu in
18313
 
-       hppa*64*)
18314
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18315
 
-         ;;
18316
 
-       ia64*)
18317
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18318
 
-         ;;
18319
 
-       *)
18320
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18321
 
-         ;;
18322
 
-       esac
18323
 
-      fi
18324
 
-      if test "$with_gnu_ld" = no; then
18325
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18326
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
25674
-_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
 
25675
-])# _LT_WITH_PIC
18327
25676
+# Define the identity of the package.
18328
25677
+dnl Distinguish between old-style and new-style calls.
18329
25678
+m4_ifval([$2],
18337
25686
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
18338
25687
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
18339
25688
 
18340
 
-       case $host_cpu in
18341
 
-       hppa*64*|ia64*)
18342
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
18343
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
18344
 
-         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18345
 
-         ;;
18346
 
-       *)
18347
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18348
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
25689
-LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
 
25690
-LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
18349
25691
+_AM_IF_OPTION([no-define],,
18350
25692
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
18351
25693
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
18352
 
+
 
25694
 
 
25695
-# Old name:
 
25696
-AU_DEFUN([AC_LIBTOOL_PICMODE],
 
25697
-[_LT_SET_OPTION([LT_INIT], [pic-only])
 
25698
-AC_DIAGNOSE([obsolete],
 
25699
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
25700
-put the `pic-only' option into LT_INIT's first parameter.])
18353
25701
+# Some tools Automake needs.
18354
25702
+AC_REQUIRE([AM_SANITY_CHECK])dnl
18355
25703
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
18383
25731
+                  [define([AC_PROG_OBJC],
18384
25732
+                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
18385
25733
+])
18386
 
+])
18387
 
 
18388
 
-         # hardcode_minus_L: Not really in the search PATH,
18389
 
-         # but as the default location of the library.
18390
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18391
 
-         ;;
18392
 
-       esac
18393
 
-      fi
18394
 
-      ;;
18395
 
 
18396
 
-    irix5* | irix6* | nonstopux*)
18397
 
-      if test "$GCC" = yes; then
18398
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18399
 
-      else
18400
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18401
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
18402
 
-      fi
18403
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18404
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18405
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18406
 
-      ;;
 
25734
 ])
 
25735
-
 
25736
-dnl aclocal-1.4 backwards compatibility:
 
25737
-dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
 
25738
 
 
25739
 
 
25740
-m4_define([_LTDL_MODE], [])
 
25741
-LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
 
25742
-                [m4_define([_LTDL_MODE], [nonrecursive])])
 
25743
-LT_OPTION_DEFINE([LTDL_INIT], [recursive],
 
25744
-                [m4_define([_LTDL_MODE], [recursive])])
 
25745
-LT_OPTION_DEFINE([LTDL_INIT], [subproject],
 
25746
-                [m4_define([_LTDL_MODE], [subproject])])
18407
25747
+# When config.status generates a header, we must update the stamp-h file.
18408
25748
+# This file resides in the same directory as the config header
18409
25749
+# that is generated.  The stamp files are numbered to have different names.
18410
25750
 
18411
 
-    netbsd*)
18412
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18413
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18414
 
-      else
18415
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18416
 
-      fi
18417
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18418
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18419
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18420
 
-      ;;
 
25751
-m4_define([_LTDL_TYPE], [])
 
25752
-LT_OPTION_DEFINE([LTDL_INIT], [installable],
 
25753
-                [m4_define([_LTDL_TYPE], [installable])])
 
25754
-LT_OPTION_DEFINE([LTDL_INIT], [convenience],
 
25755
-                [m4_define([_LTDL_TYPE], [convenience])])
18421
25756
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
18422
25757
+# loop where config.status creates the headers, so we can generate
18423
25758
+# our stamp files there.
18435
25770
+done
18436
25771
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
18437
25772
 
18438
 
-    newsos6)
18439
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18440
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18441
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18442
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18443
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18444
 
-      ;;
 
25773
-# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
18445
25774
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
18446
 
+#
 
25775
 #
 
25776
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
25777
-# Written by Gary V. Vaughan, 2004
18447
25778
+# This file is free software; the Free Software Foundation
18448
25779
+# gives unlimited permission to copy and/or distribute it,
18449
25780
+# with or without modifications, as long as this notice is preserved.
18450
 
 
18451
 
-    openbsd*)
18452
 
-      if test -f /usr/libexec/ld.so; then
18453
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18454
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18455
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18456
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18457
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18458
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18459
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18460
 
-       else
18461
 
-         case $host_os in
18462
 
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
18463
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18464
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18465
 
-            ;;
18466
 
-          *)
18467
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18468
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18469
 
-            ;;
18470
 
-         esac
18471
 
-        fi
18472
 
-      else
18473
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18474
 
-      fi
18475
 
-      ;;
 
25781
+
18476
25782
+# AM_PROG_INSTALL_SH
18477
25783
+# ------------------
18478
25784
+# Define $install_sh.
18480
25786
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
18481
25787
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
18482
25788
+AC_SUBST(install_sh)])
18483
 
 
18484
 
-    os2*)
18485
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18486
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18487
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
18488
 
-      _LT_AC_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'
18489
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18490
 
-      ;;
 
25789
+
18491
25790
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
18492
 
+#
 
25791
 #
 
25792
-# This file is free software; the Free Software Foundation gives
 
25793
-# unlimited permission to copy and/or distribute it, with or without
 
25794
-# modifications, as long as this notice is preserved.
18493
25795
+# This file is free software; the Free Software Foundation
18494
25796
+# gives unlimited permission to copy and/or distribute it,
18495
25797
+# with or without modifications, as long as this notice is preserved.
18496
25798
 
18497
 
-    osf3*)
18498
 
-      if test "$GCC" = yes; then
18499
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18500
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18501
 
-      else
18502
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18503
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18504
 
-      fi
18505
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18506
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18507
 
-      ;;
 
25799
-# serial 6 ltsugar.m4
18508
25800
+# serial 2
18509
25801
 
18510
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
18511
 
-      if test "$GCC" = yes; then
18512
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18513
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18514
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18515
 
-      else
18516
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18517
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18518
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18519
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
25802
-# This is to help aclocal find these macros, as it can't see m4_define.
 
25803
-AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
18520
25804
+# Check whether the underlying file-system supports filenames
18521
25805
+# with a leading dot.  For instance MS-DOS doesn't.
18522
25806
+AC_DEFUN([AM_SET_LEADING_DOT],
18530
25814
+rmdir .tst 2>/dev/null
18531
25815
+AC_SUBST([am__leading_dot])])
18532
25816
 
18533
 
-       # Both c and cxx compiler support -rpath directly
18534
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18535
 
-      fi
18536
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18537
 
-      ;;
18538
25817
+# Check to see how 'make' treats includes.                 -*- Autoconf -*-
18539
25818
 
18540
 
-    solaris*)
18541
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
18542
 
-      if test "$GCC" = yes; then
18543
 
-       wlarc='${wl}'
18544
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18545
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18546
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18547
 
-      else
18548
 
-       wlarc=''
18549
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18550
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18551
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18552
 
-      fi
18553
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18554
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18555
 
-      case $host_os in
18556
 
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
18557
 
-      *)
18558
 
-       # The compiler driver will combine and reorder linker options,
18559
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
18560
 
-       # but is careful enough not to reorder.
18561
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
18562
 
-       if test "$GCC" = yes; then
18563
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18564
 
-       else
18565
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
18566
 
-       fi
18567
 
-       ;;
18568
 
-      esac
18569
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18570
 
-      ;;
 
25819
-# lt_join(SEP, ARG1, [ARG2...])
 
25820
-# -----------------------------
 
25821
-# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
 
25822
-# associated separator.
 
25823
-# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
 
25824
-# versions in m4sugar had bugs.
 
25825
-m4_define([lt_join],
 
25826
-[m4_if([$#], [1], [],
 
25827
-       [$#], [2], [[$2]],
 
25828
-       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
 
25829
-m4_define([_lt_join],
 
25830
-[m4_if([$#$2], [2], [],
 
25831
-       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
18571
25832
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
18572
25833
+#
18573
25834
+# This file is free software; the Free Software Foundation
18574
25835
+# gives unlimited permission to copy and/or distribute it,
18575
25836
+# with or without modifications, as long as this notice is preserved.
18576
25837
 
18577
 
-    sunos4*)
18578
 
-      if test "x$host_vendor" = xsequent; then
18579
 
-       # Use $CC to link under sequent, because it throws in some extra .o
18580
 
-       # files that make .init and .fini sections work.
18581
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18582
 
-      else
18583
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18584
 
-      fi
18585
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18586
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18587
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18588
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18589
 
-      ;;
18590
25838
+# serial 3
18591
25839
 
18592
 
-    sysv4)
18593
 
-      case $host_vendor in
18594
 
-       sni)
18595
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18596
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
18597
 
-       ;;
18598
 
-       siemens)
18599
 
-         ## LD is ld it makes a PLAMLIB
18600
 
-         ## CC just makes a GrossModule.
18601
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18602
 
-         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
18603
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
18604
 
-        ;;
18605
 
-       motorola)
18606
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18607
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
18608
 
-       ;;
18609
 
-      esac
18610
 
-      runpath_var='LD_RUN_PATH'
18611
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18612
 
-      ;;
 
25840
-# lt_car(LIST)
 
25841
-# lt_cdr(LIST)
 
25842
-# ------------
 
25843
-# Manipulate m4 lists.
 
25844
-# These macros are necessary as long as will still need to support
 
25845
-# Autoconf-2.59 which quotes differently.
 
25846
-m4_define([lt_car], [[$1]])
 
25847
-m4_define([lt_cdr],
 
25848
-[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
 
25849
-       [$#], 1, [],
 
25850
-       [m4_dquote(m4_shift($@))])])
 
25851
-m4_define([lt_unquote], $1)
18613
25852
+# AM_MAKE_INCLUDE()
18614
25853
+# -----------------
18615
25854
+# Check to see how make treats includes.
18652
25891
+rm -f confinc confmf
18653
25892
+])
18654
25893
 
18655
 
-    sysv4.3*)
18656
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18657
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18658
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
18659
 
-      ;;
18660
25894
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
18661
25895
 
18662
 
-    sysv4*MP*)
18663
 
-      if test -d /usr/nec; then
18664
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18665
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18666
 
-       runpath_var=LD_RUN_PATH
18667
 
-       hardcode_runpath_var=yes
18668
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
18669
 
-      fi
18670
 
-      ;;
 
25896
-# lt_append(MACRO-NAME, STRING, [SEPARATOR])
 
25897
-# ------------------------------------------
 
25898
-# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
 
25899
-# Note that neither SEPARATOR nor STRING are expanded; they are appended
 
25900
-# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
 
25901
-# No SEPARATOR is output if MACRO-NAME was previously undefined (different
 
25902
-# than defined and empty).
18671
25903
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
18672
25904
+# Free Software Foundation, Inc.
18673
 
+#
 
25905
 #
 
25906
-# This macro is needed until we can rely on Autoconf 2.62, since earlier
 
25907
-# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
 
25908
-m4_define([lt_append],
 
25909
-[m4_define([$1],
 
25910
-          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
18674
25911
+# This file is free software; the Free Software Foundation
18675
25912
+# gives unlimited permission to copy and/or distribute it,
18676
25913
+# with or without modifications, as long as this notice is preserved.
18677
25914
 
18678
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
18679
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18680
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18681
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18682
 
-      runpath_var='LD_RUN_PATH'
18683
25915
+# serial 5
18684
25916
 
18685
 
-      if test "$GCC" = yes; then
18686
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18687
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18688
 
-      else
18689
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18690
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18691
 
-      fi
18692
 
-      ;;
18693
25917
+# AM_MISSING_PROG(NAME, PROGRAM)
18694
25918
+# ------------------------------
18695
25919
+AC_DEFUN([AM_MISSING_PROG],
18697
25921
+$1=${$1-"${am_missing_run}$2"}
18698
25922
+AC_SUBST($1)])
18699
25923
 
18700
 
-    sysv5* | sco3.2v5* | sco5v6*)
18701
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
18702
 
-      # link with -lc, and that would cause any symbols used from libc to
18703
 
-      # always be unresolved, which means just about no library would
18704
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
18705
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
18706
 
-      # as -z defs.
18707
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
18708
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
18709
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18710
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18711
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18712
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
18713
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18714
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
18715
 
-      runpath_var='LD_RUN_PATH'
 
25924
-# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
 
25925
-# ----------------------------------------------------------
 
25926
-# Produce a SEP delimited list of all paired combinations of elements of
 
25927
-# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
 
25928
-# has the form PREFIXmINFIXSUFFIXn.
 
25929
-# Needed until we can rely on m4_combine added in Autoconf 2.62.
 
25930
-m4_define([lt_combine],
 
25931
-[m4_if(m4_eval([$# > 3]), [1],
 
25932
-       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
25933
-[[m4_foreach([_Lt_prefix], [$2],
 
25934
-            [m4_foreach([_Lt_suffix],
 
25935
-               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
25936
-       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
18716
25937
 
18717
 
-      if test "$GCC" = yes; then
18718
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18719
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18720
 
-      else
18721
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18722
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18723
 
-      fi
18724
 
-      ;;
18725
25938
+# AM_MISSING_HAS_RUN
18726
25939
+# ------------------
18727
25940
+# Define MISSING if not defined so far and test if it supports --run.
18739
25952
+fi
18740
25953
+])
18741
25954
 
18742
 
-    uts4*)
18743
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18744
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18745
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18746
 
-      ;;
 
25955
-# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
 
25956
-# -----------------------------------------------------------------------
 
25957
-# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
 
25958
-# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
 
25959
-m4_define([lt_if_append_uniq],
 
25960
-[m4_ifdef([$1],
 
25961
-         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
 
25962
-                [lt_append([$1], [$2], [$3])$4],
 
25963
-                [$5])],
 
25964
-         [lt_append([$1], [$2], [$3])$4])])
18747
25965
+# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
18748
25966
+#
18749
25967
+# This file is free software; the Free Software Foundation
18750
25968
+# gives unlimited permission to copy and/or distribute it,
18751
25969
+# with or without modifications, as long as this notice is preserved.
18752
 
 
18753
 
-    *)
18754
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
18755
 
-      ;;
18756
 
-    esac
18757
 
-  fi
 
25970
+
18758
25971
+# AM_PROG_MKDIR_P
18759
25972
+# ---------------
18760
25973
+# Check for `mkdir -p'.
18773
25986
+  [[\\/$]]* | ?:[[\\/]]*) ;;
18774
25987
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
18775
25988
+esac
18776
 
 ])
18777
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
18778
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
25989
+])
18779
25990
 
18780
25991
+# Helper functions for option handling.                     -*- Autoconf -*-
18781
 
+
 
25992
 
 
25993
-# lt_dict_add(DICT, KEY, VALUE)
 
25994
-# -----------------------------
 
25995
-m4_define([lt_dict_add],
 
25996
-[m4_define([$1($2)], [$3])])
18782
25997
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
18783
 
 #
18784
 
-# Do we need to explicitly link libc?
18785
 
-#
18786
 
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
18787
 
-x|xyes)
18788
 
-  # Assume -lc should be added
18789
 
-  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
25998
+#
18790
25999
+# This file is free software; the Free Software Foundation
18791
26000
+# gives unlimited permission to copy and/or distribute it,
18792
26001
+# with or without modifications, as long as this notice is preserved.
18793
26002
 
18794
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
18795
 
-    case $_LT_AC_TAGVAR(archive_cmds, $1) in
18796
 
-    *'~'*)
18797
 
-      # FIXME: we may have to deal with multi-command sequences.
18798
 
-      ;;
18799
 
-    '$CC '*)
18800
 
-      # Test whether the compiler implicitly links with -lc since on some
18801
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18802
 
-      # to ld, don't add -lc before -lgcc.
18803
 
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
18804
 
-      $rm conftest*
18805
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18806
26003
+# serial 3
18807
26004
 
18808
 
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
18809
 
-        soname=conftest
18810
 
-        lib=conftest
18811
 
-        libobjs=conftest.$ac_objext
18812
 
-        deplibs=
18813
 
-        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
18814
 
-       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
18815
 
-        compiler_flags=-v
18816
 
-        linker_flags=-v
18817
 
-        verstring=
18818
 
-        output_objdir=.
18819
 
-        libname=conftest
18820
 
-        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
18821
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
18822
 
-        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
18823
 
-        then
18824
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18825
 
-        else
18826
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
18827
 
-        fi
18828
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
18829
 
-      else
18830
 
-        cat conftest.err 1>&5
18831
 
-      fi
18832
 
-      $rm conftest*
18833
 
-      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
18834
 
-      ;;
18835
 
-    esac
18836
 
-  fi
18837
 
-  ;;
18838
 
-esac
18839
 
-])# AC_LIBTOOL_PROG_LD_SHLIBS
 
26005
-# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
 
26006
-# --------------------------------------------
 
26007
-m4_define([lt_dict_add_subkey],
 
26008
-[m4_define([$1($2:$3)], [$4])])
18840
26009
+# _AM_MANGLE_OPTION(NAME)
18841
26010
+# -----------------------
18842
26011
+AC_DEFUN([_AM_MANGLE_OPTION],
18843
26012
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
18844
 
+
 
26013
 
18845
26014
+# _AM_SET_OPTION(NAME)
18846
26015
+# ------------------------------
18847
26016
+# Set option NAME.  Presently that only means defining a flag for this option.
18848
26017
+AC_DEFUN([_AM_SET_OPTION],
18849
26018
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
18850
26019
 
 
26020
-# lt_dict_fetch(DICT, KEY, [SUBKEY])
18851
26021
+# _AM_SET_OPTIONS(OPTIONS)
18852
 
+# ----------------------------------
 
26022
 # ----------------------------------
 
26023
-m4_define([lt_dict_fetch],
 
26024
-[m4_ifval([$3],
 
26025
-       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
 
26026
-    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
18853
26027
+# OPTIONS is a space-separated list of Automake options.
18854
26028
+AC_DEFUN([_AM_SET_OPTIONS],
18855
26029
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
18856
 
 
18857
 
-# _LT_AC_FILE_LTDLL_C
18858
 
-# -------------------
18859
 
-# Be careful that the start marker always follows a newline.
18860
 
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
18861
 
-# /* ltdll.c starts here */
18862
 
-# #define WIN32_LEAN_AND_MEAN
18863
 
-# #include <windows.h>
18864
 
-# #undef WIN32_LEAN_AND_MEAN
18865
 
-# #include <stdio.h>
18866
 
-#
18867
 
-# #ifndef __CYGWIN__
18868
 
-# #  ifdef __CYGWIN32__
18869
 
-# #    define __CYGWIN__ __CYGWIN32__
18870
 
-# #  endif
18871
 
-# #endif
18872
 
-#
18873
 
-# #ifdef __cplusplus
18874
 
-# extern "C" {
18875
 
-# #endif
18876
 
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
18877
 
-# #ifdef __cplusplus
18878
 
-# }
18879
 
-# #endif
18880
 
-#
18881
 
-# #ifdef __CYGWIN__
18882
 
-# #include <cygwin/cygwin_dll.h>
18883
 
-# DECLARE_CYGWIN_DLL( DllMain );
18884
 
-# #endif
18885
 
-# HINSTANCE __hDllInstance_base;
 
26030
+
18886
26031
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
18887
26032
+# -------------------------------------------
18888
26033
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
18889
26034
+AC_DEFUN([_AM_IF_OPTION],
18890
26035
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
18891
 
+
 
26036
 
18892
26037
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
18893
 
+
 
26038
 
 
26039
-# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
 
26040
-# -----------------------------------------------------------------
 
26041
-m4_define([lt_if_dict_fetch],
 
26042
-[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
 
26043
-       [$5],
 
26044
-    [$6])])
18894
26045
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
18895
26046
+# Free Software Foundation, Inc.
18896
 
 #
18897
 
-# BOOL APIENTRY
18898
 
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
18899
 
-# {
18900
 
-#   __hDllInstance_base = hInst;
18901
 
-#   return TRUE;
18902
 
-# }
18903
 
-# /* ltdll.c ends here */
18904
 
-])# _LT_AC_FILE_LTDLL_C
 
26047
+#
18905
26048
+# This file is free software; the Free Software Foundation
18906
26049
+# gives unlimited permission to copy and/or distribute it,
18907
26050
+# with or without modifications, as long as this notice is preserved.
18908
 
 
 
26051
+
18909
26052
+# serial 4
18910
 
 
18911
 
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
18912
 
-# ---------------------------------
18913
 
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
 
26053
+
18914
26054
+# AM_SANITY_CHECK
18915
26055
+# ---------------
18916
26056
+AC_DEFUN([AM_SANITY_CHECK],
18941
26081
+alias in your environment])
18942
26082
+   fi
18943
26083
 
18944
 
-# old names
18945
 
-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
18946
 
-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
18947
 
-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
18948
 
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
18949
 
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
18950
 
-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
18951
 
-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
 
26084
-# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
 
26085
-# --------------------------------------------------------------
 
26086
-m4_define([lt_dict_filter],
 
26087
-[m4_if([$5], [], [],
 
26088
-  [lt_join(m4_quote(m4_default([$4], [[, ]])),
 
26089
-           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
 
26090
-                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
 
26091
-])
18952
26092
+   test "$[2]" = conftest.file
18953
26093
+   )
18954
26094
+then
18960
26100
+fi
18961
26101
+AC_MSG_RESULT(yes)])
18962
26102
 
18963
 
-# This is just to silence aclocal about the macro not being used
18964
 
-ifelse([AC_DISABLE_FAST_INSTALL])
 
26103
-# ltversion.m4 -- version numbers                      -*- Autoconf -*-
 
26104
-#
 
26105
-#   Copyright (C) 2004 Free Software Foundation, Inc.
 
26106
-#   Written by Scott James Remnant, 2004
18965
26107
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
18966
 
+#
 
26108
 #
 
26109
-# This file is free software; the Free Software Foundation gives
 
26110
-# unlimited permission to copy and/or distribute it, with or without
 
26111
-# modifications, as long as this notice is preserved.
18967
26112
+# This file is free software; the Free Software Foundation
18968
26113
+# gives unlimited permission to copy and/or distribute it,
18969
26114
+# with or without modifications, as long as this notice is preserved.
18970
26115
 
18971
 
-AC_DEFUN([LT_AC_PROG_GCJ],
18972
 
-[AC_CHECK_TOOL(GCJ, gcj, no)
18973
 
-  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
18974
 
-  AC_SUBST(GCJFLAGS)
18975
 
-])
 
26116
-# Generated from ltversion.in.
18976
26117
+# AM_PROG_INSTALL_STRIP
18977
26118
+# ---------------------
18978
26119
+# One issue with vendor `install' (even GNU) is that you can't
18995
26136
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
18996
26137
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
18997
26138
 
18998
 
-AC_DEFUN([LT_AC_PROG_RC],
18999
 
-[AC_CHECK_TOOL(RC, windres, no)
19000
 
-])
 
26139
-# serial 3012 ltversion.m4
 
26140
-# This file is part of GNU Libtool
19001
26141
+# Copyright (C) 2006  Free Software Foundation, Inc.
19002
26142
+#
19003
26143
+# This file is free software; the Free Software Foundation
19004
26144
+# gives unlimited permission to copy and/or distribute it,
19005
26145
+# with or without modifications, as long as this notice is preserved.
19006
26146
 
 
26147
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
26148
-m4_define([LT_PACKAGE_REVISION], [1.3012])
19007
26149
+# _AM_SUBST_NOTMAKE(VARIABLE)
19008
26150
+# ---------------------------
19009
26151
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
19010
26152
+# This macro is traced by Automake.
19011
26153
+AC_DEFUN([_AM_SUBST_NOTMAKE])
19012
26154
 
19013
 
-# Cheap backport of AS_EXECUTABLE_P and required macros
19014
 
-# from Autoconf 2.59; we should not use $as_executable_p directly.
 
26155
-AC_DEFUN([LTVERSION_VERSION],
 
26156
-[macro_version='2.2.6'
 
26157
-macro_revision='1.3012'
 
26158
-_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 
26159
-_LT_DECL(, macro_revision, 0)
 
26160
-])
19015
26161
+# Check how to create a tarball.                            -*- Autoconf -*-
19016
26162
 
19017
 
-# _AS_TEST_PREPARE
19018
 
-# ----------------
19019
 
-m4_ifndef([_AS_TEST_PREPARE],
19020
 
-[m4_defun([_AS_TEST_PREPARE],
19021
 
-[if test -x / >/dev/null 2>&1; then
19022
 
-  as_executable_p='test -x'
19023
 
-else
19024
 
-  as_executable_p='test -f'
19025
 
-fi
19026
 
-])])# _AS_TEST_PREPARE
 
26163
-# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 
26164
-#
 
26165
-#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
 
26166
-#   Written by Scott James Remnant, 2004.
19027
26167
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
19028
 
+#
 
26168
 #
 
26169
-# This file is free software; the Free Software Foundation gives
 
26170
-# unlimited permission to copy and/or distribute it, with or without
 
26171
-# modifications, as long as this notice is preserved.
19029
26172
+# This file is free software; the Free Software Foundation
19030
26173
+# gives unlimited permission to copy and/or distribute it,
19031
26174
+# with or without modifications, as long as this notice is preserved.
19032
26175
 
19033
 
-# AS_EXECUTABLE_P
19034
 
-# ---------------
19035
 
-# Check whether a file is executable.
19036
 
-m4_ifndef([AS_EXECUTABLE_P],
19037
 
-[m4_defun([AS_EXECUTABLE_P],
19038
 
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
19039
 
-$as_executable_p $1[]dnl
19040
 
-])])# AS_EXECUTABLE_P
 
26176
-# serial 4 lt~obsolete.m4
19041
26177
+# serial 2
19042
26178
 
19043
 
-# NOTE: This macro has been submitted for inclusion into   #
19044
 
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
19045
 
-#  a released version of Autoconf we should remove this    #
19046
 
-#  macro and use it instead.                               #
19047
 
-# LT_AC_PROG_SED
19048
 
-# --------------
19049
 
-# Check for a fully-functional sed program, that truncates
19050
 
-# as few characters as possible.  Prefer GNU sed if found.
19051
 
-AC_DEFUN([LT_AC_PROG_SED],
19052
 
-[AC_MSG_CHECKING([for a sed that does not truncate output])
19053
 
-AC_CACHE_VAL(lt_cv_path_SED,
19054
 
-[# Loop through the user's path and test for sed and gsed.
19055
 
-# Then use that list of sed's as ones to test for truncation.
19056
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19057
 
-for as_dir in $PATH
 
26179
-# These exist entirely to fool aclocal when bootstrapping libtool.
 
26180
-#
 
26181
-# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
 
26182
-# which have later been changed to m4_define as they aren't part of the
 
26183
-# exported API, or moved to Autoconf or Automake where they belong.
 
26184
-#
 
26185
-# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
 
26186
-# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
 
26187
-# using a macro with the same name in our local m4/libtool.m4 it'll
 
26188
-# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
 
26189
-# and doesn't know about Autoconf macros at all.)
19058
26190
+# _AM_PROG_TAR(FORMAT)
19059
26191
+# --------------------
19060
26192
+# Check how to create a tarball in format FORMAT.
19061
26193
+# FORMAT should be one of `v7', `ustar', or `pax'.
19062
 
+#
 
26194
 #
 
26195
-# So we provide this file, which has a silly filename so it's always
 
26196
-# included after everything else.  This provides aclocal with the
 
26197
-# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
 
26198
-# because those macros already exist, or will be overwritten later.
 
26199
-# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
19063
26200
+# Substitute a variable $(am__tar) that is a command
19064
26201
+# writing to stdout a FORMAT-tarball containing the directory
19065
26202
+# $tardir.
19066
26203
+#     tardir=directory && $(am__tar) > result.tar
19067
 
+#
 
26204
 #
 
26205
-# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
 
26206
-# Yes, that means every name once taken will need to remain here until
 
26207
-# we give up compatibility with versions before 1.7, at which point
 
26208
-# we need to keep only those names which we still refer to.
19068
26209
+# Substitute a variable $(am__untar) that extract such
19069
26210
+# a tarball read from stdin.
19070
26211
+#     $(am__untar) < result.tar
19082
26223
+# Do not fold the above two line into one, because Tru64 sh and
19083
26224
+# Solaris sh will not grok spaces in the rhs of `-'.
19084
26225
+for _am_tool in $_am_tools
19085
 
 do
19086
 
-  IFS=$as_save_IFS
19087
 
-  test -z "$as_dir" && as_dir=.
19088
 
-  for lt_ac_prog in sed gsed; do
19089
 
-    for ac_exec_ext in '' $ac_executable_extensions; do
19090
 
-      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
19091
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
19092
 
-      fi
 
26226
+do
19093
26227
+  case $_am_tool in
19094
26228
+  gnutar)
19095
26229
+    for _am_tar in tar gnutar gtar;
19096
26230
+    do
19097
26231
+      AM_RUN_LOG([$_am_tar --version]) && break
19098
 
     done
19099
 
-  done
19100
 
-done
19101
 
-IFS=$as_save_IFS
19102
 
-lt_ac_max=0
19103
 
-lt_ac_count=0
19104
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
19105
 
-# along with /bin/sed that truncates output.
19106
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
19107
 
-  test ! -f $lt_ac_sed && continue
19108
 
-  cat /dev/null > conftest.in
19109
 
-  lt_ac_count=0
19110
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
19111
 
-  # Check for GNU sed and select it if it is found.
19112
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
19113
 
-    lt_cv_path_SED=$lt_ac_sed
19114
 
-    break
 
26232
+    done
19115
26233
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
19116
26234
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
19117
26235
+    am__untar="$_am_tar -xf -"
19140
26258
+    am__untar=false
19141
26259
+    ;;
19142
26260
+  esac
19143
 
+
 
26261
 
 
26262
-# This is to help aclocal find these macros, as it can't see m4_define.
 
26263
-AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
19144
26264
+  # If the value was cached, stop now.  We just wanted to have am__tar
19145
26265
+  # and am__untar set.
19146
26266
+  test -n "${am_cv_prog_tar_$1}" && break
19147
 
+
 
26267
 
 
26268
-m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
 
26269
-m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
 
26270
-m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
 
26271
-m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
 
26272
-m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
 
26273
-m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
 
26274
-m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
 
26275
-m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
 
26276
-m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
 
26277
-m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
 
26278
-m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
 
26279
-m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
 
26280
-m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
 
26281
-m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
 
26282
-m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
 
26283
-m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
 
26284
-m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
 
26285
-m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
 
26286
-m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
 
26287
-m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
 
26288
-m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
 
26289
-m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
 
26290
-m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
 
26291
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
 
26292
-m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
 
26293
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
 
26294
-m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
 
26295
-m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
 
26296
-m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
 
26297
-m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
 
26298
-m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
 
26299
-m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
 
26300
-m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
 
26301
-m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
 
26302
-m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
 
26303
-m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
 
26304
-m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
 
26305
-m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
 
26306
-m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 
26307
-m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
 
26308
-m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
 
26309
-m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
 
26310
-m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
 
26311
-m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 
26312
-m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 
26313
-m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
 
26314
-m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
 
26315
-m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
 
26316
-m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
 
26317
-m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
 
26318
-m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
 
26319
-m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 
26320
-m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 
26321
-m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
 
26322
-m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
19148
26323
+  # tar/untar a dummy directory, and stop if the command works
19149
26324
+  rm -rf conftest.dir
19150
26325
+  mkdir conftest.dir
19154
26329
+  if test -s conftest.tar; then
19155
26330
+    AM_RUN_LOG([$am__untar <conftest.tar])
19156
26331
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
19157
 
   fi
19158
 
-  while true; do
19159
 
-    cat conftest.in conftest.in >conftest.tmp
19160
 
-    mv conftest.tmp conftest.in
19161
 
-    cp conftest.in conftest.nl
19162
 
-    echo >>conftest.nl
19163
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
19164
 
-    cmp -s conftest.out conftest.nl || break
19165
 
-    # 10000 chars as input seems more than enough
19166
 
-    test $lt_ac_count -gt 10 && break
19167
 
-    lt_ac_count=`expr $lt_ac_count + 1`
19168
 
-    if test $lt_ac_count -gt $lt_ac_max; then
19169
 
-      lt_ac_max=$lt_ac_count
19170
 
-      lt_cv_path_SED=$lt_ac_sed
19171
 
-    fi
19172
 
-  done
19173
 
 done
19174
 
-])
19175
 
-SED=$lt_cv_path_SED
19176
 
-AC_SUBST([SED])
19177
 
-AC_MSG_RESULT([$SED])
19178
 
-])
 
26332
+  fi
 
26333
+done
19179
26334
+rm -rf conftest.dir
19180
26335
+
19181
26336
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
19188
26343
===================================================================
19189
26344
--- sid.orig/guile-readline/config.guess
19190
26345
+++ sid/guile-readline/config.guess
19191
 
@@ -1,10 +1,10 @@
19192
 
 #! /bin/sh
19193
 
 # Attempt to guess a canonical system name.
19194
 
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
19195
 
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
19196
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
26346
@@ -4,7 +4,7 @@
 
26347
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
19197
26348
 #   Free Software Foundation, Inc.
19198
26349
 
19199
 
-timestamp='2008-01-07'
 
26350
-timestamp='2008-01-08'
19200
26351
+timestamp='2008-01-23'
19201
26352
 
19202
26353
 # This file is free software; you can redistribute it and/or modify it
19203
26354
 # under the terms of the GNU General Public License as published by
19204
 
@@ -56,8 +56,8 @@
19205
 
 GNU config.guess ($timestamp)
19206
 
 
19207
 
 Originally written by Per Bothner.
19208
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
19209
 
-Free Software Foundation, Inc.
19210
 
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
19211
 
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
19212
 
 
19213
 
 This is free software; see the source for copying conditions.  There is NO
19214
 
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
19215
26355
@@ -1484,9 +1484,9 @@
19216
26356
 the operating system you are using. It is advised that you
19217
26357
 download the most up to date version of the config scripts from
19224
26364
 
19225
26365
 If the version you run ($0) is already up to date, please
19226
26366
 send the following data and any information you think might be
19227
 
Index: sid/guile-readline/config.sub
19228
 
===================================================================
19229
 
--- sid.orig/guile-readline/config.sub
19230
 
+++ sid/guile-readline/config.sub
19231
 
@@ -1,10 +1,10 @@
19232
 
 #! /bin/sh
19233
 
 # Configuration validation subroutine script.
19234
 
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
19235
 
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
19236
 
-#   Inc.
19237
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
19238
 
+#   Free Software Foundation, Inc.
19239
 
 
19240
 
-timestamp='2006-09-20'
19241
 
+timestamp='2008-01-16'
19242
 
 
19243
 
 # This file is (in principle) common to ALL GNU software.
19244
 
 # The presence of a machine in this file suggests that SOME GNU software
19245
 
@@ -72,8 +72,8 @@
19246
 
 version="\
19247
 
 GNU config.sub ($timestamp)
19248
 
 
19249
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
19250
 
-Free Software Foundation, Inc.
19251
 
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
19252
 
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
19253
 
 
19254
 
 This is free software; see the source for copying conditions.  There is NO
19255
 
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
19256
 
@@ -245,12 +245,12 @@
19257
 
        | bfin \
19258
 
        | c4x | clipper \
19259
 
        | d10v | d30v | dlx | dsp16xx \
19260
 
-       | fr30 | frv \
19261
 
+       | fido | fr30 | frv \
19262
 
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
19263
 
        | i370 | i860 | i960 | ia64 \
19264
 
        | ip2k | iq2000 \
19265
 
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
19266
 
-       | maxq | mb | microblaze | mcore \
19267
 
+       | maxq | mb | microblaze | mcore | mep \
19268
 
        | mips | mipsbe | mipseb | mipsel | mipsle \
19269
 
        | mips16 \
19270
 
        | mips64 | mips64el \
19271
 
@@ -324,7 +324,7 @@
19272
 
        | clipper-* | craynv-* | cydra-* \
19273
 
        | d10v-* | d30v-* | dlx-* \
19274
 
        | elxsi-* \
19275
 
-       | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
19276
 
+       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
19277
 
        | h8300-* | h8500-* \
19278
 
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
19279
 
        | i*86-* | i860-* | i960-* | ia64-* \
19280
 
@@ -369,10 +369,14 @@
19281
 
        | v850-* | v850e-* | vax-* \
19282
 
        | we32k-* \
19283
 
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
19284
 
-       | xstormy16-* | xtensa-* \
19285
 
+       | xstormy16-* | xtensa*-* \
19286
 
        | ymp-* \
19287
 
        | z8k-*)
19288
 
                ;;
19289
 
+       # Recognize the basic CPU types without company name, with glob match.
19290
 
+       xtensa*)
19291
 
+               basic_machine=$basic_machine-unknown
19292
 
+               ;;
19293
 
        # Recognize the various machine names and aliases which stand
19294
 
        # for a CPU type and a company and sometimes even an OS.
19295
 
        386bsd)
19296
 
@@ -443,6 +447,14 @@
19297
 
                basic_machine=ns32k-sequent
19298
 
                os=-dynix
19299
 
                ;;
19300
 
+       blackfin)
19301
 
+               basic_machine=bfin-unknown
19302
 
+               os=-linux
19303
 
+               ;;
19304
 
+       blackfin-*)
19305
 
+               basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
19306
 
+               os=-linux
19307
 
+               ;;
19308
 
        c90)
19309
 
                basic_machine=c90-cray
19310
 
                os=-unicos
19311
 
@@ -475,8 +487,8 @@
19312
 
                basic_machine=craynv-cray
19313
 
                os=-unicosmp
19314
 
                ;;
19315
 
-       cr16c)
19316
 
-               basic_machine=cr16c-unknown
19317
 
+       cr16)
19318
 
+               basic_machine=cr16-unknown
19319
 
                os=-elf
19320
 
                ;;
19321
 
        crds | unos)
19322
 
@@ -668,6 +680,14 @@
19323
 
                basic_machine=m68k-isi
19324
 
                os=-sysv
19325
 
                ;;
19326
 
+       m68knommu)
19327
 
+               basic_machine=m68k-unknown
19328
 
+               os=-linux
19329
 
+               ;;
19330
 
+       m68knommu-*)
19331
 
+               basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
19332
 
+               os=-linux
19333
 
+               ;;
19334
 
        m88k-omron*)
19335
 
                basic_machine=m88k-omron
19336
 
                ;;
19337
 
@@ -683,6 +703,10 @@
19338
 
                basic_machine=i386-pc
19339
 
                os=-mingw32
19340
 
                ;;
19341
 
+       mingw32ce)
19342
 
+               basic_machine=arm-unknown
19343
 
+               os=-mingw32ce
19344
 
+               ;;
19345
 
        miniframe)
19346
 
                basic_machine=m68000-convergent
19347
 
                ;;
19348
 
@@ -809,6 +833,14 @@
19349
 
                basic_machine=i860-intel
19350
 
                os=-osf
19351
 
                ;;
19352
 
+       parisc)
19353
 
+               basic_machine=hppa-unknown
19354
 
+               os=-linux
19355
 
+               ;;
19356
 
+       parisc-*)
19357
 
+               basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
19358
 
+               os=-linux
19359
 
+               ;;
19360
 
        pbd)
19361
 
                basic_machine=sparc-tti
19362
 
                ;;
19363
 
@@ -925,6 +957,9 @@
19364
 
                basic_machine=sh-hitachi
19365
 
                os=-hms
19366
 
                ;;
19367
 
+       sh5el)
19368
 
+               basic_machine=sh5le-unknown
19369
 
+               ;;
19370
 
        sh64)
19371
 
                basic_machine=sh64-unknown
19372
 
                ;;
19373
 
@@ -1014,6 +1049,10 @@
19374
 
                basic_machine=tic6x-unknown
19375
 
                os=-coff
19376
 
                ;;
19377
 
+       tile*)
19378
 
+               basic_machine=tile-unknown
19379
 
+               os=-linux-gnu
19380
 
+               ;;
19381
 
        tx39)
19382
 
                basic_machine=mipstx39-unknown
19383
 
                ;;
19384
 
@@ -1219,7 +1258,7 @@
19385
 
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
19386
 
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
19387
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
19388
 
-             | -skyos* | -haiku* | -rdos* | -toppers*)
19389
 
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
19390
 
        # Remember, each alternative MUST END IN *, to match a version number.
19391
 
                ;;
19392
 
        -qnx*)
19393
 
@@ -1414,6 +1453,9 @@
19394
 
        m68*-cisco)
19395
 
                os=-aout
19396
 
                ;;
19397
 
+        mep-*)
19398
 
+               os=-elf
19399
 
+               ;;
19400
 
        mips*-cisco)
19401
 
                os=-elf
19402
 
                ;;
19403
26367
Index: sid/guile-readline/configure
19404
26368
===================================================================
19405
26369
--- sid.orig/guile-readline/configure
19406
26370
+++ sid/guile-readline/configure
19407
 
@@ -5068,7 +5068,7 @@
 
26371
@@ -5980,7 +5980,7 @@
19408
26372
   lt_cv_deplibs_check_method=pass_all
19409
26373
   ;;
19410
26374
 
19411
26375
-netbsd*)
19412
26376
+netbsd* | netbsdelf*-gnu)
19413
 
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
26377
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
19414
26378
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
19415
26379
   else
19416
 
@@ -9195,12 +9195,13 @@
19417
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
19418
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
26380
@@ -9185,6 +9185,9 @@
 
26381
   openbsd*)
 
26382
     with_gnu_ld=no
 
26383
     ;;
 
26384
+  linux* | k*bsd*-gnu)
 
26385
+    link_all_deplibs=no
 
26386
+    ;;
 
26387
   esac
 
26388
 
 
26389
   ld_shlibs=yes
 
26390
@@ -9367,7 +9370,7 @@
 
26391
       fi
 
26392
       ;;
 
26393
 
 
26394
-    netbsd*)
 
26395
+    netbsd* | netbsdelf*-gnu)
 
26396
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
26397
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
26398
        wlarc=
 
26399
@@ -9542,6 +9545,7 @@
 
26400
        if test "$aix_use_runtimelinking" = yes; then
 
26401
          shared_flag="$shared_flag "'${wl}-G'
19419
26402
        fi
19420
26403
+       link_all_deplibs=no
19421
26404
       else
19422
 
        ld_shlibs=no
19423
 
       fi
19424
 
       ;;
19425
 
 
19426
 
-    netbsd*)
19427
 
+    netbsd* | netbsdelf*-gnu)
19428
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19429
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19430
 
        wlarc=
19431
 
@@ -9743,7 +9744,7 @@
 
26405
        # not using gcc
 
26406
        if test "$host_cpu" = ia64; then
 
26407
@@ -9956,7 +9960,7 @@
19432
26408
       link_all_deplibs=yes
19433
26409
       ;;
19434
26410
 
19435
26411
-    netbsd*)
19436
26412
+    netbsd* | netbsdelf*-gnu)
19437
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
26413
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19438
26414
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19439
26415
       else
19440
 
@@ -10454,6 +10455,18 @@
19441
 
   dynamic_linker='GNU/Linux ld.so'
19442
 
   ;;
19443
 
 
19444
 
+netbsdelf*-gnu)
19445
 
+  version_type=linux
19446
 
+  need_lib_prefix=no
19447
 
+  need_version=no
19448
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19449
 
+  soname_spec='${libname}${release}${shared_ext}$major'
19450
 
+  shlibpath_var=LD_LIBRARY_PATH
19451
 
+  shlibpath_overrides_runpath=no
19452
 
+  hardcode_into_libs=yes
19453
 
+  dynamic_linker='NetBSD ld.elf_so'
19454
 
+  ;;
19455
 
+
19456
 
 netbsd*)
19457
 
   version_type=sunos
19458
 
   need_lib_prefix=no
19459
 
@@ -11294,7 +11307,7 @@
19460
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19461
 
   lt_status=$lt_dlunknown
19462
 
   cat > conftest.$ac_ext <<EOF
19463
 
-#line 11297 "configure"
19464
 
+#line 11310 "configure"
19465
 
 #include "confdefs.h"
19466
 
 
19467
 
 #if HAVE_DLFCN_H
19468
 
@@ -11394,7 +11407,7 @@
19469
 
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19470
 
   lt_status=$lt_dlunknown
19471
 
   cat > conftest.$ac_ext <<EOF
19472
 
-#line 11397 "configure"
19473
 
+#line 11410 "configure"
19474
 
 #include "confdefs.h"
19475
 
 
19476
 
 #if HAVE_DLFCN_H
19477
 
@@ -12982,7 +12995,7 @@
19478
 
        ;;
19479
 
     esac
19480
 
     ;;
19481
 
-  netbsd*)
19482
 
+  netbsd* | netbsdelf*-gnu)
19483
 
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19484
 
       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19485
 
       wlarc=
19486
 
@@ -13686,7 +13699,7 @@
19487
 
            ;;
19488
 
        esac
19489
 
        ;;
19490
 
-      netbsd*)
19491
 
+      netbsd* | netbsdelf*-gnu)
19492
 
        ;;
19493
 
       osf3* | osf4* | osf5*)
19494
 
        case $cc_basename in
19495
 
@@ -13795,11 +13808,11 @@
19496
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19497
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19498
 
    -e 's:$: $lt_compiler_flag:'`
19499
 
-   (eval echo "\"\$as_me:13798: $lt_compile\"" >&5)
19500
 
+   (eval echo "\"\$as_me:13811: $lt_compile\"" >&5)
19501
 
    (eval "$lt_compile" 2>conftest.err)
19502
 
    ac_status=$?
19503
 
    cat conftest.err >&5
19504
 
-   echo "$as_me:13802: \$? = $ac_status" >&5
19505
 
+   echo "$as_me:13815: \$? = $ac_status" >&5
19506
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
19507
 
      # The compiler can only warn and ignore the option if not recognized
19508
 
      # So say no if there are warnings other than the usual output.
19509
 
@@ -13899,11 +13912,11 @@
19510
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19511
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19512
 
    -e 's:$: $lt_compiler_flag:'`
19513
 
-   (eval echo "\"\$as_me:13902: $lt_compile\"" >&5)
19514
 
+   (eval echo "\"\$as_me:13915: $lt_compile\"" >&5)
19515
 
    (eval "$lt_compile" 2>out/conftest.err)
19516
 
    ac_status=$?
19517
 
    cat out/conftest.err >&5
19518
 
-   echo "$as_me:13906: \$? = $ac_status" >&5
19519
 
+   echo "$as_me:13919: \$? = $ac_status" >&5
19520
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19521
 
    then
19522
 
      # The compiler can only warn and ignore the option if not recognized
19523
 
@@ -13971,6 +13984,9 @@
19524
 
   cygwin* | mingw*)
19525
 
     export_symbols_cmds_CXX='$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'
19526
 
   ;;
19527
 
+  linux* | k*bsd*-gnu)
19528
 
+    link_all_deplibs_CXX=no
19529
 
+  ;;
19530
 
   *)
19531
 
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19532
 
   ;;
19533
 
@@ -14417,6 +14433,18 @@
19534
 
   dynamic_linker='GNU/Linux ld.so'
19535
 
   ;;
19536
 
 
19537
 
+netbsdelf*-gnu)
19538
 
+  version_type=linux
19539
 
+  need_lib_prefix=no
19540
 
+  need_version=no
19541
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19542
 
+  soname_spec='${libname}${release}${shared_ext}$major'
19543
 
+  shlibpath_var=LD_LIBRARY_PATH
19544
 
+  shlibpath_overrides_runpath=no
19545
 
+  hardcode_into_libs=yes
19546
 
+  dynamic_linker='NetBSD ld.elf_so'
19547
 
+  ;;
19548
 
+
19549
 
 netbsd*)
19550
 
   version_type=sunos
19551
 
   need_lib_prefix=no
19552
 
@@ -15482,11 +15510,11 @@
19553
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19554
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19555
 
    -e 's:$: $lt_compiler_flag:'`
19556
 
-   (eval echo "\"\$as_me:15485: $lt_compile\"" >&5)
19557
 
+   (eval echo "\"\$as_me:15513: $lt_compile\"" >&5)
19558
 
    (eval "$lt_compile" 2>conftest.err)
19559
 
    ac_status=$?
19560
 
    cat conftest.err >&5
19561
 
-   echo "$as_me:15489: \$? = $ac_status" >&5
19562
 
+   echo "$as_me:15517: \$? = $ac_status" >&5
19563
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
19564
 
      # The compiler can only warn and ignore the option if not recognized
19565
 
      # So say no if there are warnings other than the usual output.
19566
 
@@ -15586,11 +15614,11 @@
19567
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19568
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19569
 
    -e 's:$: $lt_compiler_flag:'`
19570
 
-   (eval echo "\"\$as_me:15589: $lt_compile\"" >&5)
19571
 
+   (eval echo "\"\$as_me:15617: $lt_compile\"" >&5)
19572
 
    (eval "$lt_compile" 2>out/conftest.err)
19573
 
    ac_status=$?
19574
 
    cat out/conftest.err >&5
19575
 
-   echo "$as_me:15593: \$? = $ac_status" >&5
19576
 
+   echo "$as_me:15621: \$? = $ac_status" >&5
19577
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19578
 
    then
19579
 
      # The compiler can only warn and ignore the option if not recognized
19580
 
@@ -15851,12 +15879,13 @@
19581
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
19582
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19583
 
        fi
19584
 
+       link_all_deplibs_F77=no
19585
 
       else
19586
 
        ld_shlibs_F77=no
19587
 
       fi
19588
 
       ;;
19589
 
 
19590
 
-    netbsd*)
19591
 
+    netbsd* | netbsdelf*-gnu)
19592
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19593
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19594
 
        wlarc=
19595
 
@@ -16379,7 +16408,7 @@
19596
 
       link_all_deplibs_F77=yes
19597
 
       ;;
19598
 
 
19599
 
-    netbsd*)
19600
 
+    netbsd* | netbsdelf*-gnu)
19601
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19602
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19603
 
       else
19604
 
@@ -17038,6 +17067,18 @@
19605
 
   dynamic_linker='GNU/Linux ld.so'
19606
 
   ;;
19607
 
 
19608
 
+netbsdelf*-gnu)
19609
 
+  version_type=linux
19610
 
+  need_lib_prefix=no
19611
 
+  need_version=no
19612
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19613
 
+  soname_spec='${libname}${release}${shared_ext}$major'
19614
 
+  shlibpath_var=LD_LIBRARY_PATH
19615
 
+  shlibpath_overrides_runpath=no
19616
 
+  hardcode_into_libs=yes
19617
 
+  dynamic_linker='NetBSD ld.elf_so'
19618
 
+  ;;
19619
 
+
19620
 
 netbsd*)
19621
 
   version_type=sunos
19622
 
   need_lib_prefix=no
19623
 
@@ -17793,11 +17834,11 @@
19624
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19625
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19626
 
    -e 's:$: $lt_compiler_flag:'`
19627
 
-   (eval echo "\"\$as_me:17796: $lt_compile\"" >&5)
19628
 
+   (eval echo "\"\$as_me:17837: $lt_compile\"" >&5)
19629
 
    (eval "$lt_compile" 2>conftest.err)
19630
 
    ac_status=$?
19631
 
    cat conftest.err >&5
19632
 
-   echo "$as_me:17800: \$? = $ac_status" >&5
19633
 
+   echo "$as_me:17841: \$? = $ac_status" >&5
19634
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
19635
 
      # The compiler can only warn and ignore the option if not recognized
19636
 
      # So say no if there are warnings other than the usual output.
19637
 
@@ -18083,11 +18124,11 @@
19638
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19639
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19640
 
    -e 's:$: $lt_compiler_flag:'`
19641
 
-   (eval echo "\"\$as_me:18086: $lt_compile\"" >&5)
19642
 
+   (eval echo "\"\$as_me:18127: $lt_compile\"" >&5)
19643
 
    (eval "$lt_compile" 2>conftest.err)
19644
 
    ac_status=$?
19645
 
    cat conftest.err >&5
19646
 
-   echo "$as_me:18090: \$? = $ac_status" >&5
19647
 
+   echo "$as_me:18131: \$? = $ac_status" >&5
19648
 
    if (exit $ac_status) && test -s "$ac_outfile"; then
19649
 
      # The compiler can only warn and ignore the option if not recognized
19650
 
      # So say no if there are warnings other than the usual output.
19651
 
@@ -18187,11 +18228,11 @@
19652
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19653
 
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19654
 
    -e 's:$: $lt_compiler_flag:'`
19655
 
-   (eval echo "\"\$as_me:18190: $lt_compile\"" >&5)
19656
 
+   (eval echo "\"\$as_me:18231: $lt_compile\"" >&5)
19657
 
    (eval "$lt_compile" 2>out/conftest.err)
19658
 
    ac_status=$?
19659
 
    cat out/conftest.err >&5
19660
 
-   echo "$as_me:18194: \$? = $ac_status" >&5
19661
 
+   echo "$as_me:18235: \$? = $ac_status" >&5
19662
 
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19663
 
    then
19664
 
      # The compiler can only warn and ignore the option if not recognized
19665
 
@@ -18452,12 +18493,13 @@
19666
 
   $echo "local: *; };" >> $output_objdir/$libname.ver~
19667
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19668
 
        fi
19669
 
+       link_all_deplibs_GCJ=no
19670
 
       else
19671
 
        ld_shlibs_GCJ=no
19672
 
       fi
19673
 
       ;;
19674
 
 
19675
 
-    netbsd*)
19676
 
+    netbsd* | netbsdelf*-gnu)
19677
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19678
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19679
 
        wlarc=
19680
 
@@ -19000,7 +19042,7 @@
19681
 
       link_all_deplibs_GCJ=yes
19682
 
       ;;
19683
 
 
19684
 
-    netbsd*)
19685
 
+    netbsd* | netbsdelf*-gnu)
19686
 
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19687
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19688
 
       else
19689
 
@@ -19659,6 +19701,18 @@
19690
 
   dynamic_linker='GNU/Linux ld.so'
19691
 
   ;;
19692
 
 
19693
 
+netbsdelf*-gnu)
19694
 
+  version_type=linux
19695
 
+  need_lib_prefix=no
19696
 
+  need_version=no
19697
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19698
 
+  soname_spec='${libname}${release}${shared_ext}$major'
19699
 
+  shlibpath_var=LD_LIBRARY_PATH
19700
 
+  shlibpath_overrides_runpath=no
19701
 
+  hardcode_into_libs=yes
19702
 
+  dynamic_linker='NetBSD ld.elf_so'
19703
 
+  ;;
19704
 
+
19705
 
 netbsd*)
19706
 
   version_type=sunos
19707
 
   need_lib_prefix=no
19708
 
@@ -22947,21 +23001,22 @@
19709
 
   fi
19710
 
   rm -f "$tmp/out12"
19711
 
 # Compute $ac_file's index in $config_headers.
19712
 
+_am_arg=$ac_file
19713
 
 _am_stamp_count=1
19714
 
 for _am_header in $config_headers :; do
19715
 
   case $_am_header in
19716
 
-    $ac_file | $ac_file:* )
19717
 
+    $_am_arg | $_am_arg:* )
19718
 
       break ;;
19719
 
     * )
19720
 
       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19721
 
   esac
19722
 
 done
19723
 
-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
19724
 
-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725
 
-        X$ac_file : 'X\(//\)[^/]' \| \
19726
 
-        X$ac_file : 'X\(//\)$' \| \
19727
 
-        X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
19728
 
-echo X$ac_file |
19729
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19730
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19731
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
19732
 
+        X"$_am_arg" : 'X\(//\)$' \| \
19733
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19734
 
+echo X"$_am_arg" |
19735
 
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19736
 
            s//\1/
19737
 
            q
19738
 
@@ -22998,7 +23053,7 @@
19739
 
   # each Makefile.in and add a new line on top of each file to say so.
19740
 
   # Grep'ing the whole file is not good either: AIX grep has a line
19741
 
   # limit of 2048, but all sed's we know have understand at least 4000.
19742
 
-  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
19743
 
+  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19744
 
     dirpart=`$as_dirname -- "$mf" ||
19745
 
 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19746
 
         X"$mf" : 'X\(//\)[^/]' \| \
19747
 
Index: sid/guile-readline/depcomp
19748
 
===================================================================
19749
 
--- sid.orig/guile-readline/depcomp
19750
 
+++ sid/guile-readline/depcomp
19751
 
@@ -1,9 +1,9 @@
19752
 
 #! /bin/sh
19753
 
 # depcomp - compile a program generating dependencies as side-effects
19754
 
 
19755
 
-scriptversion=2006-10-15.18
19756
 
+scriptversion=2007-03-29.01
19757
 
 
19758
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
19759
 
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
19760
 
 # Foundation, Inc.
19761
 
 
19762
 
 # This program is free software; you can redistribute it and/or modify
19763
 
@@ -215,34 +215,39 @@
19764
 
   # current directory.  Also, the AIX compiler puts `$object:' at the
19765
 
   # start of each line; $object doesn't have directory information.
19766
 
   # Version 6 uses the directory in both cases.
19767
 
-  stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
19768
 
-  tmpdepfile="$stripped.u"
19769
 
+  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
19770
 
+  test "x$dir" = "x$object" && dir=
19771
 
+  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
19772
 
   if test "$libtool" = yes; then
19773
 
+    tmpdepfile1=$dir$base.u
19774
 
+    tmpdepfile2=$base.u
19775
 
+    tmpdepfile3=$dir.libs/$base.u
19776
 
     "$@" -Wc,-M
19777
 
   else
19778
 
+    tmpdepfile1=$dir$base.u
19779
 
+    tmpdepfile2=$dir$base.u
19780
 
+    tmpdepfile3=$dir$base.u
19781
 
     "$@" -M
19782
 
   fi
19783
 
   stat=$?
19784
 
 
19785
 
-  if test -f "$tmpdepfile"; then :
19786
 
-  else
19787
 
-    stripped=`echo "$stripped" | sed 's,^.*/,,'`
19788
 
-    tmpdepfile="$stripped.u"
19789
 
-  fi
19790
 
-
19791
 
   if test $stat -eq 0; then :
19792
 
   else
19793
 
-    rm -f "$tmpdepfile"
19794
 
+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
19795
 
     exit $stat
19796
 
   fi
19797
 
 
19798
 
+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
19799
 
+  do
19800
 
+    test -f "$tmpdepfile" && break
19801
 
+  done
19802
 
   if test -f "$tmpdepfile"; then
19803
 
-    outname="$stripped.o"
19804
 
     # Each line is of the form `foo.o: dependent.h'.
19805
 
     # Do two passes, one to just change these to
19806
 
     # `$object: dependent.h' and one to simply `dependent.h:'.
19807
 
-    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
19808
 
-    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
19809
 
+    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
19810
 
+    # That's a tab and a space in the [].
19811
 
+    sed -e 's,^.*\.[a-z]*:[     ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
19812
 
   else
19813
 
     # The sourcefile does not contain any dependencies, so just
19814
 
     # store a dummy comment line, to avoid errors with the Makefile
19815
 
Index: sid/guile-readline/ice-9/Makefile.in
19816
 
===================================================================
19817
 
--- sid.orig/guile-readline/ice-9/Makefile.in
19818
 
+++ sid/guile-readline/ice-9/Makefile.in
19819
 
@@ -1,8 +1,8 @@
19820
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
19821
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
19822
 
 # @configure_input@
19823
 
 
19824
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
19825
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
19826
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
19827
 
 # This Makefile.in is free software; the Free Software Foundation
19828
 
 # gives unlimited permission to copy and/or distribute it,
19829
 
 # with or without modifications, as long as this notice is preserved.
19830
 
@@ -241,8 +241,8 @@
19831
 
        unique=`for i in $$list; do \
19832
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
19833
 
          done | \
19834
 
-         $(AWK) '    { files[$$0] = 1; } \
19835
 
-              END { for (i in files) print i; }'`; \
19836
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
19837
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
19838
 
        mkid -fID $$unique
19839
 
 tags: TAGS
19840
 
 
19841
 
@@ -254,8 +254,8 @@
19842
 
        unique=`for i in $$list; do \
19843
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
19844
 
          done | \
19845
 
-         $(AWK) '    { files[$$0] = 1; } \
19846
 
-              END { for (i in files) print i; }'`; \
19847
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
19848
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
19849
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
19850
 
          test -n "$$unique" || unique=$$empty_fix; \
19851
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
19852
 
@@ -265,13 +265,12 @@
19853
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
19854
 
                $(TAGS_FILES) $(LISP)
19855
 
        tags=; \
19856
 
-       here=`pwd`; \
19857
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
19858
 
        unique=`for i in $$list; do \
19859
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
19860
 
          done | \
19861
 
-         $(AWK) '    { files[$$0] = 1; } \
19862
 
-              END { for (i in files) print i; }'`; \
19863
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
19864
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
19865
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
19866
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
19867
 
             $$tags $$unique
19868
 
Index: sid/guile-readline/install-sh
19869
 
===================================================================
19870
 
--- sid.orig/guile-readline/install-sh
19871
 
+++ sid/guile-readline/install-sh
19872
 
@@ -1,7 +1,7 @@
19873
 
 #!/bin/sh
19874
 
 # install - install a program, script, or datafile
19875
 
 
19876
 
-scriptversion=2006-10-14.15
19877
 
+scriptversion=2006-12-25.00
19878
 
 
19879
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
19880
 
 # later released in X11R6 (xc/config/util/install.sh) with the
19881
 
@@ -48,7 +48,7 @@
19882
 
 # set DOITPROG to echo to test this script
19883
 
 
19884
 
 # Don't use :- since 4.3BSD and earlier shells don't like it.
19885
 
-doit="${DOITPROG-}"
19886
 
+doit=${DOITPROG-}
19887
 
 if test -z "$doit"; then
19888
 
   doit_exec=exec
19889
 
 else
19890
 
@@ -58,34 +58,49 @@
19891
 
 # Put in absolute file names if you don't have them in your path;
19892
 
 # or use environment vars.
19893
 
 
19894
 
-mvprog="${MVPROG-mv}"
19895
 
-cpprog="${CPPROG-cp}"
19896
 
-chmodprog="${CHMODPROG-chmod}"
19897
 
-chownprog="${CHOWNPROG-chown}"
19898
 
-chgrpprog="${CHGRPPROG-chgrp}"
19899
 
-stripprog="${STRIPPROG-strip}"
19900
 
-rmprog="${RMPROG-rm}"
19901
 
-mkdirprog="${MKDIRPROG-mkdir}"
19902
 
+chgrpprog=${CHGRPPROG-chgrp}
19903
 
+chmodprog=${CHMODPROG-chmod}
19904
 
+chownprog=${CHOWNPROG-chown}
19905
 
+cmpprog=${CMPPROG-cmp}
19906
 
+cpprog=${CPPROG-cp}
19907
 
+mkdirprog=${MKDIRPROG-mkdir}
19908
 
+mvprog=${MVPROG-mv}
19909
 
+rmprog=${RMPROG-rm}
19910
 
+stripprog=${STRIPPROG-strip}
19911
 
+
19912
 
+posix_glob='?'
19913
 
+initialize_posix_glob='
19914
 
+  test "$posix_glob" != "?" || {
19915
 
+    if (set -f) 2>/dev/null; then
19916
 
+      posix_glob=
19917
 
+    else
19918
 
+      posix_glob=:
19919
 
+    fi
19920
 
+  }
19921
 
+'
19922
 
 
19923
 
-posix_glob=
19924
 
 posix_mkdir=
19925
 
 
19926
 
 # Desired mode of installed file.
19927
 
 mode=0755
19928
 
 
19929
 
+chgrpcmd=
19930
 
 chmodcmd=$chmodprog
19931
 
 chowncmd=
19932
 
-chgrpcmd=
19933
 
-stripcmd=
19934
 
+mvcmd=$mvprog
19935
 
 rmcmd="$rmprog -f"
19936
 
-mvcmd="$mvprog"
19937
 
+stripcmd=
19938
 
+
19939
 
 src=
19940
 
 dst=
19941
 
 dir_arg=
19942
 
-dstarg=
19943
 
+dst_arg=
19944
 
+
19945
 
+copy_on_change=false
19946
 
 no_target_directory=
19947
 
 
19948
 
-usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
19949
 
+usage="\
19950
 
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
19951
 
    or: $0 [OPTION]... SRCFILES... DIRECTORY
19952
 
    or: $0 [OPTION]... -t DIRECTORY SRCFILES...
19953
 
    or: $0 [OPTION]... -d DIRECTORIES...
19954
 
@@ -95,65 +110,55 @@
19955
 
 In the 4th, create DIRECTORIES.
19956
 
 
19957
 
 Options:
19958
 
--c         (ignored)
19959
 
--d         create directories instead of installing files.
19960
 
--g GROUP   $chgrpprog installed files to GROUP.
19961
 
--m MODE    $chmodprog installed files to MODE.
19962
 
--o USER    $chownprog installed files to USER.
19963
 
--s         $stripprog installed files.
19964
 
--t DIRECTORY  install into DIRECTORY.
19965
 
--T         report an error if DSTFILE is a directory.
19966
 
---help     display this help and exit.
19967
 
---version  display version info and exit.
19968
 
+     --help     display this help and exit.
19969
 
+     --version  display version info and exit.
19970
 
+
19971
 
+  -c            (ignored)
19972
 
+  -C            install only if different (preserve the last data modification time)
19973
 
+  -d            create directories instead of installing files.
19974
 
+  -g GROUP      $chgrpprog installed files to GROUP.
19975
 
+  -m MODE       $chmodprog installed files to MODE.
19976
 
+  -o USER       $chownprog installed files to USER.
19977
 
+  -s            $stripprog installed files.
19978
 
+  -t DIRECTORY  install into DIRECTORY.
19979
 
+  -T            report an error if DSTFILE is a directory.
19980
 
 
19981
 
 Environment variables override the default commands:
19982
 
-  CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
19983
 
+  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
19984
 
+  RMPROG STRIPPROG
19985
 
 "
19986
 
 
19987
 
 while test $# -ne 0; do
19988
 
   case $1 in
19989
 
-    -c) shift
19990
 
-        continue;;
19991
 
+    -c) ;;
19992
 
+
19993
 
+    -C) copy_on_change=true;;
19994
 
 
19995
 
-    -d) dir_arg=true
19996
 
-        shift
19997
 
-        continue;;
19998
 
+    -d) dir_arg=true;;
19999
 
 
20000
 
     -g) chgrpcmd="$chgrpprog $2"
20001
 
-        shift
20002
 
-        shift
20003
 
-        continue;;
20004
 
+       shift;;
20005
 
 
20006
 
     --help) echo "$usage"; exit $?;;
20007
 
 
20008
 
     -m) mode=$2
20009
 
-        shift
20010
 
-        shift
20011
 
        case $mode in
20012
 
          *' '* | *'    '* | *'
20013
 
 '*       | *'*'* | *'?'* | *'['*)
20014
 
            echo "$0: invalid mode: $mode" >&2
20015
 
            exit 1;;
20016
 
        esac
20017
 
-        continue;;
20018
 
+       shift;;
20019
 
 
20020
 
     -o) chowncmd="$chownprog $2"
20021
 
-        shift
20022
 
-        shift
20023
 
-        continue;;
20024
 
-
20025
 
-    -s) stripcmd=$stripprog
20026
 
-        shift
20027
 
-        continue;;
20028
 
-
20029
 
-    -t) dstarg=$2
20030
 
-       shift
20031
 
-       shift
20032
 
-       continue;;
20033
 
-
20034
 
-    -T) no_target_directory=true
20035
 
-       shift
20036
 
-       continue;;
20037
 
+       shift;;
20038
 
+
20039
 
+    -s) stripcmd=$stripprog;;
20040
 
+
20041
 
+    -t) dst_arg=$2
20042
 
+       shift;;
20043
 
+
20044
 
+    -T) no_target_directory=true;;
20045
 
 
20046
 
     --version) echo "$0 $scriptversion"; exit $?;;
20047
 
 
20048
 
@@ -165,21 +170,22 @@
20049
 
 
20050
 
     *)  break;;
20051
 
   esac
20052
 
+  shift
20053
 
 done
20054
 
 
20055
 
-if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
20056
 
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
20057
 
   # When -d is used, all remaining arguments are directories to create.
20058
 
   # When -t is used, the destination is already specified.
20059
 
   # Otherwise, the last argument is the destination.  Remove it from $@.
20060
 
   for arg
20061
 
   do
20062
 
-    if test -n "$dstarg"; then
20063
 
+    if test -n "$dst_arg"; then
20064
 
       # $@ is not empty: it contains at least $arg.
20065
 
-      set fnord "$@" "$dstarg"
20066
 
+      set fnord "$@" "$dst_arg"
20067
 
       shift # fnord
20068
 
     fi
20069
 
     shift # arg
20070
 
-    dstarg=$arg
20071
 
+    dst_arg=$arg
20072
 
   done
20073
 
 fi
20074
 
 
20075
 
@@ -224,7 +230,7 @@
20076
 
 do
20077
 
   # Protect names starting with `-'.
20078
 
   case $src in
20079
 
-    -*) src=./$src ;;
20080
 
+    -*) src=./$src;;
20081
 
   esac
20082
 
 
20083
 
   if test -n "$dir_arg"; then
20084
 
@@ -242,22 +248,22 @@
20085
 
       exit 1
20086
 
     fi
20087
 
 
20088
 
-    if test -z "$dstarg"; then
20089
 
+    if test -z "$dst_arg"; then
20090
 
       echo "$0: no destination specified." >&2
20091
 
       exit 1
20092
 
     fi
20093
 
 
20094
 
-    dst=$dstarg
20095
 
+    dst=$dst_arg
20096
 
     # Protect names starting with `-'.
20097
 
     case $dst in
20098
 
-      -*) dst=./$dst ;;
20099
 
+      -*) dst=./$dst;;
20100
 
     esac
20101
 
 
20102
 
     # If destination is a directory, append the input filename; won't work
20103
 
     # if double slashes aren't ignored.
20104
 
     if test -d "$dst"; then
20105
 
       if test -n "$no_target_directory"; then
20106
 
-       echo "$0: $dstarg: Is a directory" >&2
20107
 
+       echo "$0: $dst_arg: Is a directory" >&2
20108
 
        exit 1
20109
 
       fi
20110
 
       dstdir=$dst
20111
 
@@ -378,26 +384,19 @@
20112
 
       # directory the slow way, step by step, checking for races as we go.
20113
 
 
20114
 
       case $dstdir in
20115
 
-       /*) prefix=/ ;;
20116
 
-       -*) prefix=./ ;;
20117
 
-       *)  prefix= ;;
20118
 
+       /*) prefix='/';;
20119
 
+       -*) prefix='./';;
20120
 
+       *)  prefix='';;
20121
 
       esac
20122
 
 
20123
 
-      case $posix_glob in
20124
 
-        '')
20125
 
-         if (set -f) 2>/dev/null; then
20126
 
-           posix_glob=true
20127
 
-         else
20128
 
-           posix_glob=false
20129
 
-         fi ;;
20130
 
-      esac
20131
 
+      eval "$initialize_posix_glob"
20132
 
 
20133
 
       oIFS=$IFS
20134
 
       IFS=/
20135
 
-      $posix_glob && set -f
20136
 
+      $posix_glob set -f
20137
 
       set fnord $dstdir
20138
 
       shift
20139
 
-      $posix_glob && set +f
20140
 
+      $posix_glob set +f
20141
 
       IFS=$oIFS
20142
 
 
20143
 
       prefixes=
20144
 
@@ -459,41 +458,54 @@
20145
 
     # ignore errors from any of these, just make sure not to ignore
20146
 
     # errors from the above "$doit $cpprog $src $dsttmp" command.
20147
 
     #
20148
 
-    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
20149
 
-      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
20150
 
-      && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
20151
 
-      && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
20152
 
-
20153
 
-    # Now rename the file to the real destination.
20154
 
-    { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
20155
 
-      || {
20156
 
-          # The rename failed, perhaps because mv can't rename something else
20157
 
-          # to itself, or perhaps because mv is so ancient that it does not
20158
 
-          # support -f.
20159
 
-
20160
 
-          # Now remove or move aside any old file at destination location.
20161
 
-          # We try this two ways since rm can't unlink itself on some
20162
 
-          # systems and the destination file might be busy for other
20163
 
-          # reasons.  In this case, the final cleanup might fail but the new
20164
 
-          # file should still install successfully.
20165
 
-          {
20166
 
-            if test -f "$dst"; then
20167
 
-              $doit $rmcmd -f "$dst" 2>/dev/null \
20168
 
-              || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
20169
 
-                    && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
20170
 
-              || {
20171
 
-                echo "$0: cannot unlink or rename $dst" >&2
20172
 
-                (exit 1); exit 1
20173
 
-              }
20174
 
-            else
20175
 
-              :
20176
 
-            fi
20177
 
-          } &&
20178
 
-
20179
 
-          # Now rename the file to the real destination.
20180
 
-          $doit $mvcmd "$dsttmp" "$dst"
20181
 
-        }
20182
 
-    } || exit 1
20183
 
+    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
20184
 
+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
20185
 
+    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
20186
 
+    { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
20187
 
+
20188
 
+    # If -C, don't bother to copy if it wouldn't change the file.
20189
 
+    if $copy_on_change &&
20190
 
+       old=`LC_ALL=C ls -dlL "$dst"    2>/dev/null` &&
20191
 
+       new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
20192
 
+
20193
 
+       eval "$initialize_posix_glob" &&
20194
 
+       $posix_glob set -f &&
20195
 
+       set X $old && old=:$2:$4:$5:$6 &&
20196
 
+       set X $new && new=:$2:$4:$5:$6 &&
20197
 
+       $posix_glob set +f &&
20198
 
+
20199
 
+       test "$old" = "$new" &&
20200
 
+       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
20201
 
+    then
20202
 
+      rm -f "$dsttmp"
20203
 
+    else
20204
 
+      # Rename the file to the real destination.
20205
 
+      $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
20206
 
+
20207
 
+      # The rename failed, perhaps because mv can't rename something else
20208
 
+      # to itself, or perhaps because mv is so ancient that it does not
20209
 
+      # support -f.
20210
 
+      {
20211
 
+       # Now remove or move aside any old file at destination location.
20212
 
+       # We try this two ways since rm can't unlink itself on some
20213
 
+       # systems and the destination file might be busy for other
20214
 
+       # reasons.  In this case, the final cleanup might fail but the new
20215
 
+       # file should still install successfully.
20216
 
+       {
20217
 
+         test ! -f "$dst" ||
20218
 
+         $doit $rmcmd -f "$dst" 2>/dev/null ||
20219
 
+         { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
20220
 
+           { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
20221
 
+         } ||
20222
 
+         { echo "$0: cannot unlink or rename $dst" >&2
20223
 
+           (exit 1); exit 1
20224
 
+         }
20225
 
+       } &&
20226
 
+
20227
 
+       # Now rename the file to the real destination.
20228
 
+       $doit $mvcmd "$dsttmp" "$dst"
20229
 
+      }
20230
 
+    fi || exit 1
20231
 
 
20232
 
     trap '' 0
20233
 
   fi
 
26416
@@ -10933,6 +10937,18 @@
 
26417
   dynamic_linker='GNU/Linux ld.so'
 
26418
   ;;
 
26419
 
 
26420
+netbsdelf*-gnu)
 
26421
+  version_type=linux
 
26422
+  need_lib_prefix=no
 
26423
+  need_version=no
 
26424
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
26425
+  soname_spec='${libname}${release}${shared_ext}$major'
 
26426
+  shlibpath_var=LD_LIBRARY_PATH
 
26427
+  shlibpath_overrides_runpath=no
 
26428
+  hardcode_into_libs=yes
 
26429
+  dynamic_linker='NetBSD ld.elf_so'
 
26430
+  ;;
 
26431
+
 
26432
 netbsd*)
 
26433
   version_type=sunos
 
26434
   need_lib_prefix=no
 
26435
@@ -11866,7 +11882,7 @@
 
26436
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
26437
   lt_status=$lt_dlunknown
 
26438
   cat > conftest.$ac_ext <<_LT_EOF
 
26439
-#line 11869 "configure"
 
26440
+#line 11885 "configure"
 
26441
 #include "confdefs.h"
 
26442
 
 
26443
 #if HAVE_DLFCN_H
 
26444
@@ -11962,7 +11978,7 @@
 
26445
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
26446
   lt_status=$lt_dlunknown
 
26447
   cat > conftest.$ac_ext <<_LT_EOF
 
26448
-#line 11965 "configure"
 
26449
+#line 11981 "configure"
 
26450
 #include "confdefs.h"
 
26451
 
 
26452
 #if HAVE_DLFCN_H
20234
26453
Index: sid/guile-readline/ltmain.sh
20235
26454
===================================================================
20236
26455
--- sid.orig/guile-readline/ltmain.sh
20237
26456
+++ sid/guile-readline/ltmain.sh
20238
 
@@ -43,8 +43,8 @@
 
26457
@@ -65,7 +65,7 @@
 
26458
 #       compiler:              $LTCC
 
26459
 #       compiler flags:                $LTCFLAGS
 
26460
 #       linker:                $LD (gnu? $with_gnu_ld)
 
26461
-#       $progname:             (GNU libtool) 2.2.6
 
26462
+#       $progname:             (GNU libtool) 2.2.6 Debian-2.2.6a-4
 
26463
 #       automake:              $automake_version
 
26464
 #       autoconf:              $autoconf_version
 
26465
 #
 
26466
@@ -73,7 +73,7 @@
20239
26467
 
20240
26468
 PROGRAM=ltmain.sh
20241
26469
 PACKAGE=libtool
20242
 
-VERSION=1.5.26
20243
 
-TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
20244
 
+VERSION="1.5.26 Debian 1.5.26-4"
20245
 
+TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
20246
 
 
20247
 
 # Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
20248
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20249
 
@@ -2023,8 +2023,8 @@
 
26470
-VERSION=2.2.6
 
26471
+VERSION="2.2.6 Debian-2.2.6a-4"
 
26472
 TIMESTAMP=""
 
26473
 package_revision=1.3012
 
26474
 
 
26475
@@ -116,15 +116,15 @@
 
26476
 
 
26477
 : ${CP="cp -f"}
 
26478
 : ${ECHO="echo"}
 
26479
-: ${EGREP="/usr/bin/grep -E"}
 
26480
-: ${FGREP="/usr/bin/grep -F"}
 
26481
-: ${GREP="/usr/bin/grep"}
 
26482
+: ${EGREP="/bin/grep -E"}
 
26483
+: ${FGREP="/bin/grep -F"}
 
26484
+: ${GREP="/bin/grep"}
 
26485
 : ${LN_S="ln -s"}
 
26486
 : ${MAKE="make"}
 
26487
 : ${MKDIR="mkdir"}
 
26488
 : ${MV="mv -f"}
 
26489
 : ${RM="rm -f"}
 
26490
-: ${SED="/opt/local/bin/gsed"}
 
26491
+: ${SED="/bin/sed"}
 
26492
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
 
26493
 : ${Xsed="$SED -e 1s/^X//"}
 
26494
 
 
26495
@@ -4929,8 +4929,8 @@
20250
26496
     else
20251
26497
       shlib_search_path=
20252
26498
     fi
20255
26501
+    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
20256
26502
+    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
20257
26503
 
20258
 
     output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
20259
 
     if test "X$output_objdir" = "X$output"; then
20260
 
@@ -2135,7 +2135,10 @@
 
26504
     func_dirname "$output" "/" ""
 
26505
     output_objdir="$func_dirname_result$objdir"
 
26506
@@ -5033,7 +5033,10 @@
20261
26507
        case $pass in
20262
26508
        dlopen) libs="$dlfiles" ;;
20263
26509
        dlpreopen) libs="$dlprefiles" ;;
20268
26514
+         ;;
20269
26515
        esac
20270
26516
       fi
20271
 
       if test "$pass" = dlopen; then
20272
 
@@ -3269,6 +3272,11 @@
 
26517
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
 
26518
@@ -5344,19 +5347,19 @@
 
26519
            # It is a libtool convenience library, so add in its objects.
 
26520
            convenience="$convenience $ladir/$objdir/$old_library"
 
26521
            old_convenience="$old_convenience $ladir/$objdir/$old_library"
 
26522
+           tmp_libs=
 
26523
+           for deplib in $dependency_libs; do
 
26524
+             deplibs="$deplib $deplibs"
 
26525
+             if $opt_duplicate_deps ; then
 
26526
+               case "$tmp_libs " in
 
26527
+               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
26528
+               esac
 
26529
+             fi
 
26530
+             tmp_libs="$tmp_libs $deplib"
 
26531
+           done
 
26532
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
 
26533
            func_fatal_error "\`$lib' is not a convenience library"
 
26534
          fi
 
26535
-         tmp_libs=
 
26536
-         for deplib in $dependency_libs; do
 
26537
-           deplibs="$deplib $deplibs"
 
26538
-           if $opt_duplicate_deps ; then
 
26539
-             case "$tmp_libs " in
 
26540
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
26541
-             esac
 
26542
-           fi
 
26543
-           tmp_libs="$tmp_libs $deplib"
 
26544
-         done
 
26545
          continue
 
26546
        fi # $pass = conv
 
26547
 
 
26548
@@ -5893,6 +5896,7 @@
 
26549
          if test "$link_all_deplibs" != no; then
 
26550
            # Add the search paths of all dependency libraries
 
26551
            for deplib in $dependency_libs; do
 
26552
+             path=
 
26553
              case $deplib in
 
26554
              -L*) path="$deplib" ;;
 
26555
              *.la)
 
26556
@@ -6206,6 +6210,9 @@
20273
26557
            revision="$number_minor"
20274
26558
            lt_irix_increment=no
20275
26559
            ;;
20276
26560
+         *)
20277
 
+           $echo "$modename: unknown library version type \`$version_type'" 1>&2
20278
 
+           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
20279
 
+           exit $EXIT_FAILURE
 
26561
+           func_fatal_configuration "$modename: unknown library version type \`$version_type'"
20280
26562
+           ;;
20281
26563
          esac
20282
26564
          ;;
20285
26567
===================================================================
20286
26568
--- sid.orig/ice-9/Makefile.in
20287
26569
+++ sid/ice-9/Makefile.in
20288
 
@@ -1,8 +1,8 @@
20289
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20290
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20291
 
 # @configure_input@
20292
 
 
20293
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20294
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20295
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20296
 
 # This Makefile.in is free software; the Free Software Foundation
20297
 
 # gives unlimited permission to copy and/or distribute it,
20298
 
 # with or without modifications, as long as this notice is preserved.
20299
 
@@ -429,8 +429,8 @@
20300
 
        unique=`for i in $$list; do \
20301
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20302
 
          done | \
20303
 
-         $(AWK) '    { files[$$0] = 1; } \
20304
 
-              END { for (i in files) print i; }'`; \
20305
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20306
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20307
 
        mkid -fID $$unique
20308
 
 tags: TAGS
20309
 
 
20310
 
@@ -455,8 +455,8 @@
20311
 
        unique=`for i in $$list; do \
20312
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20313
 
          done | \
20314
 
-         $(AWK) '    { files[$$0] = 1; } \
20315
 
-              END { for (i in files) print i; }'`; \
20316
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20317
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20318
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20319
 
          test -n "$$unique" || unique=$$empty_fix; \
20320
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20321
 
@@ -466,13 +466,12 @@
20322
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20323
 
                $(TAGS_FILES) $(LISP)
20324
 
        tags=; \
20325
 
-       here=`pwd`; \
20326
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20327
 
        unique=`for i in $$list; do \
20328
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20329
 
          done | \
20330
 
-         $(AWK) '    { files[$$0] = 1; } \
20331
 
-              END { for (i in files) print i; }'`; \
20332
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20333
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20334
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20335
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20336
 
             $$tags $$unique
 
26570
@@ -37,7 +37,10 @@
 
26571
 subdir = ice-9
 
26572
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26573
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26574
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26575
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26576
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26577
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26578
+       $(top_srcdir)/configure.in
 
26579
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26580
        $(ACLOCAL_M4)
 
26581
 mkinstalldirs = $(install_sh) -d
20337
26582
Index: sid/ice-9/debugger/Makefile.in
20338
26583
===================================================================
20339
26584
--- sid.orig/ice-9/debugger/Makefile.in
20340
26585
+++ sid/ice-9/debugger/Makefile.in
20341
 
@@ -1,8 +1,8 @@
20342
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20343
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20344
 
 # @configure_input@
20345
 
 
20346
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20347
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20348
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20349
 
 # This Makefile.in is free software; the Free Software Foundation
20350
 
 # gives unlimited permission to copy and/or distribute it,
20351
 
 # with or without modifications, as long as this notice is preserved.
 
26586
@@ -36,7 +36,10 @@
 
26587
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26588
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26589
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26590
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26591
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26592
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26593
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26594
+       $(top_srcdir)/configure.in
 
26595
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26596
        $(ACLOCAL_M4)
 
26597
 mkinstalldirs = $(install_sh) -d
20352
26598
Index: sid/ice-9/debugging/Makefile.in
20353
26599
===================================================================
20354
26600
--- sid.orig/ice-9/debugging/Makefile.in
20355
26601
+++ sid/ice-9/debugging/Makefile.in
20356
 
@@ -1,8 +1,8 @@
20357
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20358
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20359
 
 # @configure_input@
20360
 
 
20361
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20362
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20363
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20364
 
 # This Makefile.in is free software; the Free Software Foundation
20365
 
 # gives unlimited permission to copy and/or distribute it,
20366
 
 # with or without modifications, as long as this notice is preserved.
 
26602
@@ -36,7 +36,10 @@
 
26603
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26604
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26605
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26606
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26607
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26608
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26609
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26610
+       $(top_srcdir)/configure.in
 
26611
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26612
        $(ACLOCAL_M4)
 
26613
 mkinstalldirs = $(install_sh) -d
20367
26614
Index: sid/lang/Makefile.in
20368
26615
===================================================================
20369
26616
--- sid.orig/lang/Makefile.in
20370
26617
+++ sid/lang/Makefile.in
20371
 
@@ -1,8 +1,8 @@
20372
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20373
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20374
 
 # @configure_input@
20375
 
 
20376
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20377
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20378
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20379
 
 # This Makefile.in is free software; the Free Software Foundation
20380
 
 # gives unlimited permission to copy and/or distribute it,
20381
 
 # with or without modifications, as long as this notice is preserved.
20382
 
@@ -379,8 +379,8 @@
20383
 
        unique=`for i in $$list; do \
20384
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20385
 
          done | \
20386
 
-         $(AWK) '    { files[$$0] = 1; } \
20387
 
-              END { for (i in files) print i; }'`; \
20388
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20389
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20390
 
        mkid -fID $$unique
20391
 
 tags: TAGS
20392
 
 
20393
 
@@ -405,8 +405,8 @@
20394
 
        unique=`for i in $$list; do \
20395
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20396
 
          done | \
20397
 
-         $(AWK) '    { files[$$0] = 1; } \
20398
 
-              END { for (i in files) print i; }'`; \
20399
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20400
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20401
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20402
 
          test -n "$$unique" || unique=$$empty_fix; \
20403
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20404
 
@@ -416,13 +416,12 @@
20405
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20406
 
                $(TAGS_FILES) $(LISP)
20407
 
        tags=; \
20408
 
-       here=`pwd`; \
20409
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20410
 
        unique=`for i in $$list; do \
20411
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20412
 
          done | \
20413
 
-         $(AWK) '    { files[$$0] = 1; } \
20414
 
-              END { for (i in files) print i; }'`; \
20415
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20416
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20417
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20418
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20419
 
             $$tags $$unique
 
26618
@@ -35,7 +35,10 @@
 
26619
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26620
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26621
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26622
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26623
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26624
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26625
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26626
+       $(top_srcdir)/configure.in
 
26627
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26628
        $(ACLOCAL_M4)
 
26629
 mkinstalldirs = $(install_sh) -d
20420
26630
Index: sid/lang/elisp/Makefile.in
20421
26631
===================================================================
20422
26632
--- sid.orig/lang/elisp/Makefile.in
20423
26633
+++ sid/lang/elisp/Makefile.in
20424
 
@@ -1,8 +1,8 @@
20425
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20426
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20427
 
 # @configure_input@
20428
 
 
20429
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20430
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20431
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20432
 
 # This Makefile.in is free software; the Free Software Foundation
20433
 
 # gives unlimited permission to copy and/or distribute it,
20434
 
 # with or without modifications, as long as this notice is preserved.
20435
 
@@ -420,8 +420,8 @@
20436
 
        unique=`for i in $$list; do \
20437
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20438
 
          done | \
20439
 
-         $(AWK) '    { files[$$0] = 1; } \
20440
 
-              END { for (i in files) print i; }'`; \
20441
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20442
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20443
 
        mkid -fID $$unique
20444
 
 tags: TAGS
20445
 
 
20446
 
@@ -446,8 +446,8 @@
20447
 
        unique=`for i in $$list; do \
20448
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20449
 
          done | \
20450
 
-         $(AWK) '    { files[$$0] = 1; } \
20451
 
-              END { for (i in files) print i; }'`; \
20452
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20453
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20454
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20455
 
          test -n "$$unique" || unique=$$empty_fix; \
20456
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20457
 
@@ -457,13 +457,12 @@
20458
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20459
 
                $(TAGS_FILES) $(LISP)
20460
 
        tags=; \
20461
 
-       here=`pwd`; \
20462
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20463
 
        unique=`for i in $$list; do \
20464
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20465
 
          done | \
20466
 
-         $(AWK) '    { files[$$0] = 1; } \
20467
 
-              END { for (i in files) print i; }'`; \
20468
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20469
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20470
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20471
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20472
 
             $$tags $$unique
 
26634
@@ -36,7 +36,10 @@
 
26635
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26636
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26637
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26638
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26639
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26640
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26641
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26642
+       $(top_srcdir)/configure.in
 
26643
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26644
        $(ACLOCAL_M4)
 
26645
 mkinstalldirs = $(install_sh) -d
20473
26646
Index: sid/lang/elisp/internals/Makefile.in
20474
26647
===================================================================
20475
26648
--- sid.orig/lang/elisp/internals/Makefile.in
20476
26649
+++ sid/lang/elisp/internals/Makefile.in
20477
 
@@ -1,8 +1,8 @@
20478
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20479
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20480
 
 # @configure_input@
20481
 
 
20482
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20483
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20484
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20485
 
 # This Makefile.in is free software; the Free Software Foundation
20486
 
 # gives unlimited permission to copy and/or distribute it,
20487
 
 # with or without modifications, as long as this notice is preserved.
 
26650
@@ -36,7 +36,10 @@
 
26651
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26652
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26653
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26654
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26655
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26656
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26657
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26658
+       $(top_srcdir)/configure.in
 
26659
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26660
        $(ACLOCAL_M4)
 
26661
 mkinstalldirs = $(install_sh) -d
20488
26662
Index: sid/lang/elisp/primitives/Makefile.in
20489
26663
===================================================================
20490
26664
--- sid.orig/lang/elisp/primitives/Makefile.in
20491
26665
+++ sid/lang/elisp/primitives/Makefile.in
20492
 
@@ -1,8 +1,8 @@
20493
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20494
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20495
 
 # @configure_input@
20496
 
 
20497
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20498
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20499
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20500
 
 # This Makefile.in is free software; the Free Software Foundation
20501
 
 # gives unlimited permission to copy and/or distribute it,
20502
 
 # with or without modifications, as long as this notice is preserved.
 
26666
@@ -36,7 +36,10 @@
 
26667
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
26668
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26669
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26670
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26671
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26672
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26673
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26674
+       $(top_srcdir)/configure.in
 
26675
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26676
        $(ACLOCAL_M4)
 
26677
 mkinstalldirs = $(install_sh) -d
20503
26678
Index: sid/libguile/Makefile.in
20504
26679
===================================================================
20505
26680
--- sid.orig/libguile/Makefile.in
20506
26681
+++ sid/libguile/Makefile.in
20507
 
@@ -1,8 +1,8 @@
20508
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20509
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20510
 
 # @configure_input@
20511
 
 
20512
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20513
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20514
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20515
 
 # This Makefile.in is free software; the Free Software Foundation
20516
 
 # gives unlimited permission to copy and/or distribute it,
20517
 
 # with or without modifications, as long as this notice is preserved.
20518
 
@@ -560,8 +560,8 @@
20519
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
20520
 
          if test -f $$p; then \
20521
 
            f=$(am__strip_dir) \
20522
 
-           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
20523
 
-           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
20524
 
+           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
20525
 
+           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
20526
 
          else :; fi; \
20527
 
        done
20528
 
 
20529
 
@@ -569,8 +569,8 @@
20530
 
        @$(NORMAL_UNINSTALL)
20531
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
20532
 
          p=$(am__strip_dir) \
20533
 
-         echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
20534
 
-         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
20535
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
20536
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
20537
 
        done
20538
 
 
20539
 
 clean-libLTLIBRARIES:
20540
 
@@ -592,8 +592,8 @@
20541
 
             || test -f $$p1 \
20542
 
          ; then \
20543
 
            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
20544
 
-          echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
20545
 
-          $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
20546
 
+          echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
20547
 
+          $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
20548
 
          else :; fi; \
20549
 
        done
20550
 
 
20551
 
@@ -1669,8 +1669,8 @@
20552
 
        unique=`for i in $$list; do \
20553
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20554
 
          done | \
20555
 
-         $(AWK) '    { files[$$0] = 1; } \
20556
 
-              END { for (i in files) print i; }'`; \
20557
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20558
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20559
 
        mkid -fID $$unique
20560
 
 tags: TAGS
20561
 
 
20562
 
@@ -1682,8 +1682,8 @@
20563
 
        unique=`for i in $$list; do \
20564
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20565
 
          done | \
20566
 
-         $(AWK) '    { files[$$0] = 1; } \
20567
 
-              END { for (i in files) print i; }'`; \
20568
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20569
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20570
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20571
 
          test -n "$$unique" || unique=$$empty_fix; \
20572
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20573
 
@@ -1693,13 +1693,12 @@
20574
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20575
 
                $(TAGS_FILES) $(LISP)
20576
 
        tags=; \
20577
 
-       here=`pwd`; \
20578
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20579
 
        unique=`for i in $$list; do \
20580
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20581
 
          done | \
20582
 
-         $(AWK) '    { files[$$0] = 1; } \
20583
 
-              END { for (i in files) print i; }'`; \
20584
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20585
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20586
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20587
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20588
 
             $$tags $$unique
 
26682
@@ -49,7 +49,10 @@
 
26683
 subdir = libguile
 
26684
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
26685
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
26686
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
26687
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
26688
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
26689
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
26690
+       $(top_srcdir)/configure.in
 
26691
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
26692
        $(ACLOCAL_M4)
 
26693
 mkinstalldirs = $(install_sh) -d
 
26694
Index: sid/m4/libtool.m4
 
26695
===================================================================
 
26696
--- /dev/null
 
26697
+++ sid/m4/libtool.m4
 
26698
@@ -0,0 +1,7376 @@
 
26699
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
26700
+#
 
26701
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
26702
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
26703
+#   Written by Gordon Matzigkeit, 1996
 
26704
+#
 
26705
+# This file is free software; the Free Software Foundation gives
 
26706
+# unlimited permission to copy and/or distribute it, with or without
 
26707
+# modifications, as long as this notice is preserved.
 
26708
+
 
26709
+m4_define([_LT_COPYING], [dnl
 
26710
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
26711
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
26712
+#   Written by Gordon Matzigkeit, 1996
 
26713
+#
 
26714
+#   This file is part of GNU Libtool.
 
26715
+#
 
26716
+# GNU Libtool is free software; you can redistribute it and/or
 
26717
+# modify it under the terms of the GNU General Public License as
 
26718
+# published by the Free Software Foundation; either version 2 of
 
26719
+# the License, or (at your option) any later version.
 
26720
+#
 
26721
+# As a special exception to the GNU General Public License,
 
26722
+# if you distribute this file as part of a program or library that
 
26723
+# is built using GNU Libtool, you may include this file under the
 
26724
+# same distribution terms that you use for the rest of that program.
 
26725
+#
 
26726
+# GNU Libtool is distributed in the hope that it will be useful,
 
26727
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
26728
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
26729
+# GNU General Public License for more details.
 
26730
+#
 
26731
+# You should have received a copy of the GNU General Public License
 
26732
+# along with GNU Libtool; see the file COPYING.  If not, a copy
 
26733
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
26734
+# obtained by writing to the Free Software Foundation, Inc.,
 
26735
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
26736
+])
 
26737
+
 
26738
+# serial 56 LT_INIT
 
26739
+
 
26740
+
 
26741
+# LT_PREREQ(VERSION)
 
26742
+# ------------------
 
26743
+# Complain and exit if this libtool version is less that VERSION.
 
26744
+m4_defun([LT_PREREQ],
 
26745
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
 
26746
+       [m4_default([$3],
 
26747
+                  [m4_fatal([Libtool version $1 or higher is required],
 
26748
+                            63)])],
 
26749
+       [$2])])
 
26750
+
 
26751
+
 
26752
+# _LT_CHECK_BUILDDIR
 
26753
+# ------------------
 
26754
+# Complain if the absolute build directory name contains unusual characters
 
26755
+m4_defun([_LT_CHECK_BUILDDIR],
 
26756
+[case `pwd` in
 
26757
+  *\ * | *\    *)
 
26758
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
 
26759
+esac
 
26760
+])
 
26761
+
 
26762
+
 
26763
+# LT_INIT([OPTIONS])
 
26764
+# ------------------
 
26765
+AC_DEFUN([LT_INIT],
 
26766
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
26767
+AC_BEFORE([$0], [LT_LANG])dnl
 
26768
+AC_BEFORE([$0], [LT_OUTPUT])dnl
 
26769
+AC_BEFORE([$0], [LTDL_INIT])dnl
 
26770
+m4_require([_LT_CHECK_BUILDDIR])dnl
 
26771
+
 
26772
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
 
26773
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
 
26774
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
 
26775
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
 
26776
+dnl unless we require an AC_DEFUNed macro:
 
26777
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
 
26778
+AC_REQUIRE([LTSUGAR_VERSION])dnl
 
26779
+AC_REQUIRE([LTVERSION_VERSION])dnl
 
26780
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 
26781
+m4_require([_LT_PROG_LTMAIN])dnl
 
26782
+
 
26783
+dnl Parse OPTIONS
 
26784
+_LT_SET_OPTIONS([$0], [$1])
 
26785
+
 
26786
+# This can be used to rebuild libtool when needed
 
26787
+LIBTOOL_DEPS="$ltmain"
 
26788
+
 
26789
+# Always use our own libtool.
 
26790
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
26791
+AC_SUBST(LIBTOOL)dnl
 
26792
+
 
26793
+_LT_SETUP
 
26794
+
 
26795
+# Only expand once:
 
26796
+m4_define([LT_INIT])
 
26797
+])# LT_INIT
 
26798
+
 
26799
+# Old names:
 
26800
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
 
26801
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
 
26802
+dnl aclocal-1.4 backwards compatibility:
 
26803
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 
26804
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 
26805
+
 
26806
+
 
26807
+# _LT_CC_BASENAME(CC)
 
26808
+# -------------------
 
26809
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
26810
+m4_defun([_LT_CC_BASENAME],
 
26811
+[for cc_temp in $1""; do
 
26812
+  case $cc_temp in
 
26813
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
26814
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
26815
+    \-*) ;;
 
26816
+    *) break;;
 
26817
+  esac
 
26818
+done
 
26819
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
26820
+])
 
26821
+
 
26822
+
 
26823
+# _LT_FILEUTILS_DEFAULTS
 
26824
+# ----------------------
 
26825
+# It is okay to use these file commands and assume they have been set
 
26826
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
 
26827
+m4_defun([_LT_FILEUTILS_DEFAULTS],
 
26828
+[: ${CP="cp -f"}
 
26829
+: ${MV="mv -f"}
 
26830
+: ${RM="rm -f"}
 
26831
+])# _LT_FILEUTILS_DEFAULTS
 
26832
+
 
26833
+
 
26834
+# _LT_SETUP
 
26835
+# ---------
 
26836
+m4_defun([_LT_SETUP],
 
26837
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
26838
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
26839
+_LT_DECL([], [host_alias], [0], [The host system])dnl
 
26840
+_LT_DECL([], [host], [0])dnl
 
26841
+_LT_DECL([], [host_os], [0])dnl
 
26842
+dnl
 
26843
+_LT_DECL([], [build_alias], [0], [The build system])dnl
 
26844
+_LT_DECL([], [build], [0])dnl
 
26845
+_LT_DECL([], [build_os], [0])dnl
 
26846
+dnl
 
26847
+AC_REQUIRE([AC_PROG_CC])dnl
 
26848
+AC_REQUIRE([LT_PATH_LD])dnl
 
26849
+AC_REQUIRE([LT_PATH_NM])dnl
 
26850
+dnl
 
26851
+AC_REQUIRE([AC_PROG_LN_S])dnl
 
26852
+test -z "$LN_S" && LN_S="ln -s"
 
26853
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
 
26854
+dnl
 
26855
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
 
26856
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
 
26857
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 
26858
+dnl
 
26859
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
26860
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 
26861
+m4_require([_LT_CMD_RELOAD])dnl
 
26862
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 
26863
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 
26864
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
26865
+
 
26866
+_LT_CONFIG_LIBTOOL_INIT([
 
26867
+# See if we are running on zsh, and set the options which allow our
 
26868
+# commands through without removal of \ escapes INIT.
 
26869
+if test -n "\${ZSH_VERSION+set}" ; then
 
26870
+   setopt NO_GLOB_SUBST
 
26871
+fi
 
26872
+])
 
26873
+if test -n "${ZSH_VERSION+set}" ; then
 
26874
+   setopt NO_GLOB_SUBST
 
26875
+fi
 
26876
+
 
26877
+_LT_CHECK_OBJDIR
 
26878
+
 
26879
+m4_require([_LT_TAG_COMPILER])dnl
 
26880
+_LT_PROG_ECHO_BACKSLASH
 
26881
+
 
26882
+case $host_os in
 
26883
+aix3*)
 
26884
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
26885
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
26886
+  # vanish in a puff of smoke.
 
26887
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
26888
+    COLLECT_NAMES=
 
26889
+    export COLLECT_NAMES
 
26890
+  fi
 
26891
+  ;;
 
26892
+esac
 
26893
+
 
26894
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
26895
+# metacharacters that are still active within double-quoted strings.
 
26896
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 
26897
+
 
26898
+# Same as above, but do not quote variable references.
 
26899
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 
26900
+
 
26901
+# Sed substitution to delay expansion of an escaped shell variable in a
 
26902
+# double_quote_subst'ed string.
 
26903
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
26904
+
 
26905
+# Sed substitution to delay expansion of an escaped single quote.
 
26906
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
26907
+
 
26908
+# Sed substitution to avoid accidental globbing in evaled expressions
 
26909
+no_glob_subst='s/\*/\\\*/g'
 
26910
+
 
26911
+# Global variables:
 
26912
+ofile=libtool
 
26913
+can_build_shared=yes
 
26914
+
 
26915
+# All known linkers require a `.a' archive for static linking (except MSVC,
 
26916
+# which needs '.lib').
 
26917
+libext=a
 
26918
+
 
26919
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
26920
+
 
26921
+old_CC="$CC"
 
26922
+old_CFLAGS="$CFLAGS"
 
26923
+
 
26924
+# Set sane defaults for various variables
 
26925
+test -z "$CC" && CC=cc
 
26926
+test -z "$LTCC" && LTCC=$CC
 
26927
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
26928
+test -z "$LD" && LD=ld
 
26929
+test -z "$ac_objext" && ac_objext=o
 
26930
+
 
26931
+_LT_CC_BASENAME([$compiler])
 
26932
+
 
26933
+# Only perform the check for file, if the check method requires it
 
26934
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
26935
+case $deplibs_check_method in
 
26936
+file_magic*)
 
26937
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
26938
+    _LT_PATH_MAGIC
 
26939
+  fi
 
26940
+  ;;
 
26941
+esac
 
26942
+
 
26943
+# Use C for the default configuration in the libtool script
 
26944
+LT_SUPPORTED_TAG([CC])
 
26945
+_LT_LANG_C_CONFIG
 
26946
+_LT_LANG_DEFAULT_CONFIG
 
26947
+_LT_CONFIG_COMMANDS
 
26948
+])# _LT_SETUP
 
26949
+
 
26950
+
 
26951
+# _LT_PROG_LTMAIN
 
26952
+# ---------------
 
26953
+# Note that this code is called both from `configure', and `config.status'
 
26954
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
 
26955
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
 
26956
+# so we pass a copy along to make sure it has a sensible value anyway.
 
26957
+m4_defun([_LT_PROG_LTMAIN],
 
26958
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
 
26959
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
 
26960
+ltmain="$ac_aux_dir/ltmain.sh"
 
26961
+])# _LT_PROG_LTMAIN
 
26962
+
 
26963
+
 
26964
+## ------------------------------------- ##
 
26965
+## Accumulate code for creating libtool. ##
 
26966
+## ------------------------------------- ##
 
26967
+
 
26968
+# So that we can recreate a full libtool script including additional
 
26969
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
 
26970
+# in macros and then make a single call at the end using the `libtool'
 
26971
+# label.
 
26972
+
 
26973
+
 
26974
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
 
26975
+# ----------------------------------------
 
26976
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
26977
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
 
26978
+[m4_ifval([$1],
 
26979
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
 
26980
+                     [$1
 
26981
+])])])
 
26982
+
 
26983
+# Initialize.
 
26984
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
 
26985
+
 
26986
+
 
26987
+# _LT_CONFIG_LIBTOOL([COMMANDS])
 
26988
+# ------------------------------
 
26989
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 
26990
+m4_define([_LT_CONFIG_LIBTOOL],
 
26991
+[m4_ifval([$1],
 
26992
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
 
26993
+                     [$1
 
26994
+])])])
 
26995
+
 
26996
+# Initialize.
 
26997
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
 
26998
+
 
26999
+
 
27000
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
 
27001
+# -----------------------------------------------------
 
27002
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
 
27003
+[_LT_CONFIG_LIBTOOL([$1])
 
27004
+_LT_CONFIG_LIBTOOL_INIT([$2])
 
27005
+])
 
27006
+
 
27007
+
 
27008
+# _LT_FORMAT_COMMENT([COMMENT])
 
27009
+# -----------------------------
 
27010
+# Add leading comment marks to the start of each line, and a trailing
 
27011
+# full-stop to the whole comment if one is not present already.
 
27012
+m4_define([_LT_FORMAT_COMMENT],
 
27013
+[m4_ifval([$1], [
 
27014
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
 
27015
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
 
27016
+)])
 
27017
+
 
27018
+
 
27019
+
 
27020
+## ------------------------ ##
 
27021
+## FIXME: Eliminate VARNAME ##
 
27022
+## ------------------------ ##
 
27023
+
 
27024
+
 
27025
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
 
27026
+# -------------------------------------------------------------------
 
27027
+# CONFIGNAME is the name given to the value in the libtool script.
 
27028
+# VARNAME is the (base) name used in the configure script.
 
27029
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
 
27030
+# VARNAME.  Any other value will be used directly.
 
27031
+m4_define([_LT_DECL],
 
27032
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
 
27033
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
 
27034
+       [m4_ifval([$1], [$1], [$2])])
 
27035
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
 
27036
+    m4_ifval([$4],
 
27037
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
 
27038
+    lt_dict_add_subkey([lt_decl_dict], [$2],
 
27039
+       [tagged?], [m4_ifval([$5], [yes], [no])])])
 
27040
+])
 
27041
+
 
27042
+
 
27043
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
 
27044
+# --------------------------------------------------------
 
27045
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
 
27046
+
 
27047
+
 
27048
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
 
27049
+# ------------------------------------------------
 
27050
+m4_define([lt_decl_tag_varnames],
 
27051
+[_lt_decl_filter([tagged?], [yes], $@)])
 
27052
+
 
27053
+
 
27054
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
 
27055
+# ---------------------------------------------------------
 
27056
+m4_define([_lt_decl_filter],
 
27057
+[m4_case([$#],
 
27058
+  [0], [m4_fatal([$0: too few arguments: $#])],
 
27059
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
 
27060
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
 
27061
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
 
27062
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
 
27063
+])
 
27064
+
 
27065
+
 
27066
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
 
27067
+# --------------------------------------------------
 
27068
+m4_define([lt_decl_quote_varnames],
 
27069
+[_lt_decl_filter([value], [1], $@)])
 
27070
+
 
27071
+
 
27072
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
 
27073
+# ---------------------------------------------------
 
27074
+m4_define([lt_decl_dquote_varnames],
 
27075
+[_lt_decl_filter([value], [2], $@)])
 
27076
+
 
27077
+
 
27078
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
 
27079
+# ---------------------------------------------------
 
27080
+m4_define([lt_decl_varnames_tagged],
 
27081
+[m4_assert([$# <= 2])dnl
 
27082
+_$0(m4_quote(m4_default([$1], [[, ]])),
 
27083
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
27084
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
27085
+m4_define([_lt_decl_varnames_tagged],
 
27086
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
 
27087
+
 
27088
+
 
27089
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
 
27090
+# ------------------------------------------------
 
27091
+m4_define([lt_decl_all_varnames],
 
27092
+[_$0(m4_quote(m4_default([$1], [[, ]])),
 
27093
+     m4_if([$2], [],
 
27094
+          m4_quote(lt_decl_varnames),
 
27095
+       m4_quote(m4_shift($@))))[]dnl
 
27096
+])
 
27097
+m4_define([_lt_decl_all_varnames],
 
27098
+[lt_join($@, lt_decl_varnames_tagged([$1],
 
27099
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
 
27100
+])
 
27101
+
 
27102
+
 
27103
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
 
27104
+# ------------------------------------
 
27105
+# Quote a variable value, and forward it to `config.status' so that its
 
27106
+# declaration there will have the same value as in `configure'.  VARNAME
 
27107
+# must have a single quote delimited value for this to work.
 
27108
+m4_define([_LT_CONFIG_STATUS_DECLARE],
 
27109
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 
27110
+
 
27111
+
 
27112
+# _LT_CONFIG_STATUS_DECLARATIONS
 
27113
+# ------------------------------
 
27114
+# We delimit libtool config variables with single quotes, so when
 
27115
+# we write them to config.status, we have to be sure to quote all
 
27116
+# embedded single quotes properly.  In configure, this macro expands
 
27117
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 
27118
+#
 
27119
+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
27120
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 
27121
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
 
27122
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
 
27123
+
 
27124
+
 
27125
+# _LT_LIBTOOL_TAGS
 
27126
+# ----------------
 
27127
+# Output comment and list of tags supported by the script
 
27128
+m4_defun([_LT_LIBTOOL_TAGS],
 
27129
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
 
27130
+available_tags="_LT_TAGS"dnl
 
27131
+])
 
27132
+
 
27133
+
 
27134
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
 
27135
+# -----------------------------------
 
27136
+# Extract the dictionary values for VARNAME (optionally with TAG) and
 
27137
+# expand to a commented shell variable setting:
 
27138
+#
 
27139
+#    # Some comment about what VAR is for.
 
27140
+#    visible_name=$lt_internal_name
 
27141
+m4_define([_LT_LIBTOOL_DECLARE],
 
27142
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
 
27143
+                                          [description])))[]dnl
 
27144
+m4_pushdef([_libtool_name],
 
27145
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
 
27146
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
 
27147
+    [0], [_libtool_name=[$]$1],
 
27148
+    [1], [_libtool_name=$lt_[]$1],
 
27149
+    [2], [_libtool_name=$lt_[]$1],
 
27150
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
 
27151
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
 
27152
+])
 
27153
+
 
27154
+
 
27155
+# _LT_LIBTOOL_CONFIG_VARS
 
27156
+# -----------------------
 
27157
+# Produce commented declarations of non-tagged libtool config variables
 
27158
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
 
27159
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
 
27160
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
 
27161
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
 
27162
+[m4_foreach([_lt_var],
 
27163
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
 
27164
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
 
27165
+
 
27166
+
 
27167
+# _LT_LIBTOOL_TAG_VARS(TAG)
 
27168
+# -------------------------
 
27169
+m4_define([_LT_LIBTOOL_TAG_VARS],
 
27170
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
 
27171
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
 
27172
+
 
27173
+
 
27174
+# _LT_TAGVAR(VARNAME, [TAGNAME])
 
27175
+# ------------------------------
 
27176
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 
27177
+
 
27178
+
 
27179
+# _LT_CONFIG_COMMANDS
 
27180
+# -------------------
 
27181
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
 
27182
+# variables for single and double quote escaping we saved from calls
 
27183
+# to _LT_DECL, we can put quote escaped variables declarations
 
27184
+# into `config.status', and then the shell code to quote escape them in
 
27185
+# for loops in `config.status'.  Finally, any additional code accumulated
 
27186
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
 
27187
+m4_defun([_LT_CONFIG_COMMANDS],
 
27188
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
 
27189
+       dnl If the libtool generation code has been placed in $CONFIG_LT,
 
27190
+       dnl instead of duplicating it all over again into config.status,
 
27191
+       dnl then we will have config.status run $CONFIG_LT later, so it
 
27192
+       dnl needs to know what name is stored there:
 
27193
+        [AC_CONFIG_COMMANDS([libtool],
 
27194
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
 
27195
+    dnl If the libtool generation code is destined for config.status,
 
27196
+    dnl expand the accumulated commands and init code now:
 
27197
+    [AC_CONFIG_COMMANDS([libtool],
 
27198
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
 
27199
+])#_LT_CONFIG_COMMANDS
 
27200
+
 
27201
+
 
27202
+# Initialize.
 
27203
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
 
27204
+[
 
27205
+
 
27206
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
27207
+# if CDPATH is set.
 
27208
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
27209
+
 
27210
+sed_quote_subst='$sed_quote_subst'
 
27211
+double_quote_subst='$double_quote_subst'
 
27212
+delay_variable_subst='$delay_variable_subst'
 
27213
+_LT_CONFIG_STATUS_DECLARATIONS
 
27214
+LTCC='$LTCC'
 
27215
+LTCFLAGS='$LTCFLAGS'
 
27216
+compiler='$compiler_DEFAULT'
 
27217
+
 
27218
+# Quote evaled strings.
 
27219
+for var in lt_decl_all_varnames([[ \
 
27220
+]], lt_decl_quote_varnames); do
 
27221
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
27222
+    *[[\\\\\\\`\\"\\\$]]*)
 
27223
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
27224
+      ;;
 
27225
+    *)
 
27226
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
27227
+      ;;
 
27228
+    esac
 
27229
+done
 
27230
+
 
27231
+# Double-quote double-evaled strings.
 
27232
+for var in lt_decl_all_varnames([[ \
 
27233
+]], lt_decl_dquote_varnames); do
 
27234
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
27235
+    *[[\\\\\\\`\\"\\\$]]*)
 
27236
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
27237
+      ;;
 
27238
+    *)
 
27239
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
27240
+      ;;
 
27241
+    esac
 
27242
+done
 
27243
+
 
27244
+# Fix-up fallback echo if it was mangled by the above quoting rules.
 
27245
+case \$lt_ECHO in
 
27246
+*'\\\[$]0 --fallback-echo"')dnl "
 
27247
+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
 
27248
+  ;;
 
27249
+esac
 
27250
+
 
27251
+_LT_OUTPUT_LIBTOOL_INIT
 
27252
+])
 
27253
+
 
27254
+
 
27255
+# LT_OUTPUT
 
27256
+# ---------
 
27257
+# This macro allows early generation of the libtool script (before
 
27258
+# AC_OUTPUT is called), incase it is used in configure for compilation
 
27259
+# tests.
 
27260
+AC_DEFUN([LT_OUTPUT],
 
27261
+[: ${CONFIG_LT=./config.lt}
 
27262
+AC_MSG_NOTICE([creating $CONFIG_LT])
 
27263
+cat >"$CONFIG_LT" <<_LTEOF
 
27264
+#! $SHELL
 
27265
+# Generated by $as_me.
 
27266
+# Run this file to recreate a libtool stub with the current configuration.
 
27267
+
 
27268
+lt_cl_silent=false
 
27269
+SHELL=\${CONFIG_SHELL-$SHELL}
 
27270
+_LTEOF
 
27271
+
 
27272
+cat >>"$CONFIG_LT" <<\_LTEOF
 
27273
+AS_SHELL_SANITIZE
 
27274
+_AS_PREPARE
 
27275
+
 
27276
+exec AS_MESSAGE_FD>&1
 
27277
+exec AS_MESSAGE_LOG_FD>>config.log
 
27278
+{
 
27279
+  echo
 
27280
+  AS_BOX([Running $as_me.])
 
27281
+} >&AS_MESSAGE_LOG_FD
 
27282
+
 
27283
+lt_cl_help="\
 
27284
+\`$as_me' creates a local libtool stub from the current configuration,
 
27285
+for use in further configure time tests before the real libtool is
 
27286
+generated.
 
27287
+
 
27288
+Usage: $[0] [[OPTIONS]]
 
27289
+
 
27290
+  -h, --help      print this help, then exit
 
27291
+  -V, --version   print version number, then exit
 
27292
+  -q, --quiet     do not print progress messages
 
27293
+  -d, --debug     don't remove temporary files
 
27294
+
 
27295
+Report bugs to <bug-libtool@gnu.org>."
 
27296
+
 
27297
+lt_cl_version="\
 
27298
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 
27299
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 
27300
+configured by $[0], generated by m4_PACKAGE_STRING.
 
27301
+
 
27302
+Copyright (C) 2008 Free Software Foundation, Inc.
 
27303
+This config.lt script is free software; the Free Software Foundation
 
27304
+gives unlimited permision to copy, distribute and modify it."
 
27305
+
 
27306
+while test $[#] != 0
 
27307
+do
 
27308
+  case $[1] in
 
27309
+    --version | --v* | -V )
 
27310
+      echo "$lt_cl_version"; exit 0 ;;
 
27311
+    --help | --h* | -h )
 
27312
+      echo "$lt_cl_help"; exit 0 ;;
 
27313
+    --debug | --d* | -d )
 
27314
+      debug=: ;;
 
27315
+    --quiet | --q* | --silent | --s* | -q )
 
27316
+      lt_cl_silent=: ;;
 
27317
+
 
27318
+    -*) AC_MSG_ERROR([unrecognized option: $[1]
 
27319
+Try \`$[0] --help' for more information.]) ;;
 
27320
+
 
27321
+    *) AC_MSG_ERROR([unrecognized argument: $[1]
 
27322
+Try \`$[0] --help' for more information.]) ;;
 
27323
+  esac
 
27324
+  shift
 
27325
+done
 
27326
+
 
27327
+if $lt_cl_silent; then
 
27328
+  exec AS_MESSAGE_FD>/dev/null
 
27329
+fi
 
27330
+_LTEOF
 
27331
+
 
27332
+cat >>"$CONFIG_LT" <<_LTEOF
 
27333
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
 
27334
+_LTEOF
 
27335
+
 
27336
+cat >>"$CONFIG_LT" <<\_LTEOF
 
27337
+AC_MSG_NOTICE([creating $ofile])
 
27338
+_LT_OUTPUT_LIBTOOL_COMMANDS
 
27339
+AS_EXIT(0)
 
27340
+_LTEOF
 
27341
+chmod +x "$CONFIG_LT"
 
27342
+
 
27343
+# configure is writing to config.log, but config.lt does its own redirection,
 
27344
+# appending to config.log, which fails on DOS, as config.log is still kept
 
27345
+# open by configure.  Here we exec the FD to /dev/null, effectively closing
 
27346
+# config.log, so it can be properly (re)opened and appended to by config.lt.
 
27347
+if test "$no_create" != yes; then
 
27348
+  lt_cl_success=:
 
27349
+  test "$silent" = yes &&
 
27350
+    lt_config_lt_args="$lt_config_lt_args --quiet"
 
27351
+  exec AS_MESSAGE_LOG_FD>/dev/null
 
27352
+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
27353
+  exec AS_MESSAGE_LOG_FD>>config.log
 
27354
+  $lt_cl_success || AS_EXIT(1)
 
27355
+fi
 
27356
+])# LT_OUTPUT
 
27357
+
 
27358
+
 
27359
+# _LT_CONFIG(TAG)
 
27360
+# ---------------
 
27361
+# If TAG is the built-in tag, create an initial libtool script with a
 
27362
+# default configuration from the untagged config vars.  Otherwise add code
 
27363
+# to config.status for appending the configuration named by TAG from the
 
27364
+# matching tagged config vars.
 
27365
+m4_defun([_LT_CONFIG],
 
27366
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
27367
+_LT_CONFIG_SAVE_COMMANDS([
 
27368
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
 
27369
+  m4_if(_LT_TAG, [C], [
 
27370
+    # See if we are running on zsh, and set the options which allow our
 
27371
+    # commands through without removal of \ escapes.
 
27372
+    if test -n "${ZSH_VERSION+set}" ; then
 
27373
+      setopt NO_GLOB_SUBST
 
27374
+    fi
 
27375
+
 
27376
+    cfgfile="${ofile}T"
 
27377
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
27378
+    $RM "$cfgfile"
 
27379
+
 
27380
+    cat <<_LT_EOF >> "$cfgfile"
 
27381
+#! $SHELL
 
27382
+
 
27383
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
27384
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
27385
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
27386
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
27387
+#
 
27388
+_LT_COPYING
 
27389
+_LT_LIBTOOL_TAGS
 
27390
+
 
27391
+# ### BEGIN LIBTOOL CONFIG
 
27392
+_LT_LIBTOOL_CONFIG_VARS
 
27393
+_LT_LIBTOOL_TAG_VARS
 
27394
+# ### END LIBTOOL CONFIG
 
27395
+
 
27396
+_LT_EOF
 
27397
+
 
27398
+  case $host_os in
 
27399
+  aix3*)
 
27400
+    cat <<\_LT_EOF >> "$cfgfile"
 
27401
+# AIX sometimes has problems with the GCC collect2 program.  For some
 
27402
+# reason, if we set the COLLECT_NAMES environment variable, the problems
 
27403
+# vanish in a puff of smoke.
 
27404
+if test "X${COLLECT_NAMES+set}" != Xset; then
 
27405
+  COLLECT_NAMES=
 
27406
+  export COLLECT_NAMES
 
27407
+fi
 
27408
+_LT_EOF
 
27409
+    ;;
 
27410
+  esac
 
27411
+
 
27412
+  _LT_PROG_LTMAIN
 
27413
+
 
27414
+  # We use sed instead of cat because bash on DJGPP gets confused if
 
27415
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
27416
+  # text mode, it properly converts lines to CR/LF.  This bash problem
 
27417
+  # is reportedly fixed, but why not run on old versions too?
 
27418
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
27419
+    || (rm -f "$cfgfile"; exit 1)
 
27420
+
 
27421
+  _LT_PROG_XSI_SHELLFNS
 
27422
+
 
27423
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
27424
+    || (rm -f "$cfgfile"; exit 1)
 
27425
+
 
27426
+  mv -f "$cfgfile" "$ofile" ||
 
27427
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
27428
+  chmod +x "$ofile"
 
27429
+],
 
27430
+[cat <<_LT_EOF >> "$ofile"
 
27431
+
 
27432
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
 
27433
+dnl in a comment (ie after a #).
 
27434
+# ### BEGIN LIBTOOL TAG CONFIG: $1
 
27435
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
 
27436
+# ### END LIBTOOL TAG CONFIG: $1
 
27437
+_LT_EOF
 
27438
+])dnl /m4_if
 
27439
+],
 
27440
+[m4_if([$1], [], [
 
27441
+    PACKAGE='$PACKAGE'
 
27442
+    VERSION='$VERSION'
 
27443
+    TIMESTAMP='$TIMESTAMP'
 
27444
+    RM='$RM'
 
27445
+    ofile='$ofile'], [])
 
27446
+])dnl /_LT_CONFIG_SAVE_COMMANDS
 
27447
+])# _LT_CONFIG
 
27448
+
 
27449
+
 
27450
+# LT_SUPPORTED_TAG(TAG)
 
27451
+# ---------------------
 
27452
+# Trace this macro to discover what tags are supported by the libtool
 
27453
+# --tag option, using:
 
27454
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
 
27455
+AC_DEFUN([LT_SUPPORTED_TAG], [])
 
27456
+
 
27457
+
 
27458
+# C support is built-in for now
 
27459
+m4_define([_LT_LANG_C_enabled], [])
 
27460
+m4_define([_LT_TAGS], [])
 
27461
+
 
27462
+
 
27463
+# LT_LANG(LANG)
 
27464
+# -------------
 
27465
+# Enable libtool support for the given language if not already enabled.
 
27466
+AC_DEFUN([LT_LANG],
 
27467
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
 
27468
+m4_case([$1],
 
27469
+  [C],                 [_LT_LANG(C)],
 
27470
+  [C++],               [_LT_LANG(CXX)],
 
27471
+  [Java],              [_LT_LANG(GCJ)],
 
27472
+  [Fortran 77],                [_LT_LANG(F77)],
 
27473
+  [Fortran],           [_LT_LANG(FC)],
 
27474
+  [Windows Resource],  [_LT_LANG(RC)],
 
27475
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
 
27476
+    [_LT_LANG($1)],
 
27477
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
 
27478
+])# LT_LANG
 
27479
+
 
27480
+
 
27481
+# _LT_LANG(LANGNAME)
 
27482
+# ------------------
 
27483
+m4_defun([_LT_LANG],
 
27484
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
 
27485
+  [LT_SUPPORTED_TAG([$1])dnl
 
27486
+  m4_append([_LT_TAGS], [$1 ])dnl
 
27487
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
 
27488
+  _LT_LANG_$1_CONFIG($1)])dnl
 
27489
+])# _LT_LANG
 
27490
+
 
27491
+
 
27492
+# _LT_LANG_DEFAULT_CONFIG
 
27493
+# -----------------------
 
27494
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
 
27495
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
27496
+  [LT_LANG(CXX)],
 
27497
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
 
27498
+
 
27499
+AC_PROVIDE_IFELSE([AC_PROG_F77],
 
27500
+  [LT_LANG(F77)],
 
27501
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
 
27502
+
 
27503
+AC_PROVIDE_IFELSE([AC_PROG_FC],
 
27504
+  [LT_LANG(FC)],
 
27505
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
 
27506
+
 
27507
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
 
27508
+dnl pulling things in needlessly.
 
27509
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
27510
+  [LT_LANG(GCJ)],
 
27511
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
27512
+    [LT_LANG(GCJ)],
 
27513
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
 
27514
+      [LT_LANG(GCJ)],
 
27515
+      [m4_ifdef([AC_PROG_GCJ],
 
27516
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
 
27517
+       m4_ifdef([A][M_PROG_GCJ],
 
27518
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
 
27519
+       m4_ifdef([LT_PROG_GCJ],
 
27520
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 
27521
+
 
27522
+AC_PROVIDE_IFELSE([LT_PROG_RC],
 
27523
+  [LT_LANG(RC)],
 
27524
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
 
27525
+])# _LT_LANG_DEFAULT_CONFIG
 
27526
+
 
27527
+# Obsolete macros:
 
27528
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 
27529
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 
27530
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 
27531
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
27532
+dnl aclocal-1.4 backwards compatibility:
 
27533
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 
27534
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 
27535
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 
27536
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 
27537
+
 
27538
+
 
27539
+# _LT_TAG_COMPILER
 
27540
+# ----------------
 
27541
+m4_defun([_LT_TAG_COMPILER],
 
27542
+[AC_REQUIRE([AC_PROG_CC])dnl
 
27543
+
 
27544
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
 
27545
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
 
27546
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
 
27547
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
 
27548
+
 
27549
+# If no C compiler was specified, use CC.
 
27550
+LTCC=${LTCC-"$CC"}
 
27551
+
 
27552
+# If no C compiler flags were specified, use CFLAGS.
 
27553
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
27554
+
 
27555
+# Allow CC to be a program name with arguments.
 
27556
+compiler=$CC
 
27557
+])# _LT_TAG_COMPILER
 
27558
+
 
27559
+
 
27560
+# _LT_COMPILER_BOILERPLATE
 
27561
+# ------------------------
 
27562
+# Check for compiler boilerplate output or warnings with
 
27563
+# the simple compiler test code.
 
27564
+m4_defun([_LT_COMPILER_BOILERPLATE],
 
27565
+[m4_require([_LT_DECL_SED])dnl
 
27566
+ac_outfile=conftest.$ac_objext
 
27567
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
27568
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
27569
+_lt_compiler_boilerplate=`cat conftest.err`
 
27570
+$RM conftest*
 
27571
+])# _LT_COMPILER_BOILERPLATE
 
27572
+
 
27573
+
 
27574
+# _LT_LINKER_BOILERPLATE
 
27575
+# ----------------------
 
27576
+# Check for linker boilerplate output or warnings with
 
27577
+# the simple link test code.
 
27578
+m4_defun([_LT_LINKER_BOILERPLATE],
 
27579
+[m4_require([_LT_DECL_SED])dnl
 
27580
+ac_outfile=conftest.$ac_objext
 
27581
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
27582
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
27583
+_lt_linker_boilerplate=`cat conftest.err`
 
27584
+$RM -r conftest*
 
27585
+])# _LT_LINKER_BOILERPLATE
 
27586
+
 
27587
+# _LT_REQUIRED_DARWIN_CHECKS
 
27588
+# -------------------------
 
27589
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 
27590
+  case $host_os in
 
27591
+    rhapsody* | darwin*)
 
27592
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
27593
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
27594
+    AC_CHECK_TOOL([LIPO], [lipo], [:])
 
27595
+    AC_CHECK_TOOL([OTOOL], [otool], [:])
 
27596
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 
27597
+    _LT_DECL([], [DSYMUTIL], [1],
 
27598
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 
27599
+    _LT_DECL([], [NMEDIT], [1],
 
27600
+      [Tool to change global to local symbols on Mac OS X])
 
27601
+    _LT_DECL([], [LIPO], [1],
 
27602
+      [Tool to manipulate fat objects and archives on Mac OS X])
 
27603
+    _LT_DECL([], [OTOOL], [1],
 
27604
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 
27605
+    _LT_DECL([], [OTOOL64], [1],
 
27606
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 
27607
+
 
27608
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
27609
+      [lt_cv_apple_cc_single_mod=no
 
27610
+      if test -z "${LT_MULTI_MODULE}"; then
 
27611
+       # By default we will add the -single_module flag. You can override
 
27612
+       # by either setting the environment variable LT_MULTI_MODULE
 
27613
+       # non-empty at configure time, or by adding -multi_module to the
 
27614
+       # link flags.
 
27615
+       rm -rf libconftest.dylib*
 
27616
+       echo "int foo(void){return 1;}" > conftest.c
 
27617
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
27618
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 
27619
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
27620
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
27621
+        _lt_result=$?
 
27622
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
27623
+         lt_cv_apple_cc_single_mod=yes
 
27624
+       else
 
27625
+         cat conftest.err >&AS_MESSAGE_LOG_FD
 
27626
+       fi
 
27627
+       rm -rf libconftest.dylib*
 
27628
+       rm -f conftest.*
 
27629
+      fi])
 
27630
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
27631
+      [lt_cv_ld_exported_symbols_list],
 
27632
+      [lt_cv_ld_exported_symbols_list=no
 
27633
+      save_LDFLAGS=$LDFLAGS
 
27634
+      echo "_main" > conftest.sym
 
27635
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
27636
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
27637
+       [lt_cv_ld_exported_symbols_list=yes],
 
27638
+       [lt_cv_ld_exported_symbols_list=no])
 
27639
+       LDFLAGS="$save_LDFLAGS"
 
27640
+    ])
 
27641
+    case $host_os in
 
27642
+    rhapsody* | darwin1.[[012]])
 
27643
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
27644
+    darwin1.*)
 
27645
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
27646
+    darwin*) # darwin 5.x on
 
27647
+      # if running on 10.5 or later, the deployment target defaults
 
27648
+      # to the OS version, if on x86, and 10.4, the deployment
 
27649
+      # target defaults to 10.4. Don't you love it?
 
27650
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
27651
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
27652
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
27653
+       10.[[012]]*)
 
27654
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
27655
+       10.*)
 
27656
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
27657
+      esac
 
27658
+    ;;
 
27659
+  esac
 
27660
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
27661
+      _lt_dar_single_mod='$single_module'
 
27662
+    fi
 
27663
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
27664
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
27665
+    else
 
27666
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
27667
+    fi
 
27668
+    if test "$DSYMUTIL" != ":"; then
 
27669
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
27670
+    else
 
27671
+      _lt_dsymutil=
 
27672
+    fi
 
27673
+    ;;
 
27674
+  esac
 
27675
+])
 
27676
+
 
27677
+
 
27678
+# _LT_DARWIN_LINKER_FEATURES
 
27679
+# --------------------------
 
27680
+# Checks for linker and compiler features on darwin
 
27681
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
 
27682
+[
 
27683
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 
27684
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
27685
+  _LT_TAGVAR(hardcode_direct, $1)=no
 
27686
+  _LT_TAGVAR(hardcode_automatic, $1)=yes
 
27687
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
27688
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
27689
+  _LT_TAGVAR(link_all_deplibs, $1)=yes
 
27690
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
27691
+  case $cc_basename in
 
27692
+     ifort*) _lt_dar_can_shared=yes ;;
 
27693
+     *) _lt_dar_can_shared=$GCC ;;
 
27694
+  esac
 
27695
+  if test "$_lt_dar_can_shared" = "yes"; then
 
27696
+    output_verbose_link_cmd=echo
 
27697
+    _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}"
 
27698
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
27699
+    _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}"
 
27700
+    _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}"
 
27701
+    m4_if([$1], [CXX],
 
27702
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
27703
+      _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}"
 
27704
+      _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}"
 
27705
+    fi
 
27706
+],[])
 
27707
+  else
 
27708
+  _LT_TAGVAR(ld_shlibs, $1)=no
 
27709
+  fi
 
27710
+])
 
27711
+
 
27712
+# _LT_SYS_MODULE_PATH_AIX
 
27713
+# -----------------------
 
27714
+# Links a minimal program and checks the executable
 
27715
+# for the system default hardcoded library path. In most cases,
 
27716
+# this is /usr/lib:/lib, but when the MPI compilers are used
 
27717
+# the location of the communication and MPI libs are included too.
 
27718
+# If we don't find anything, use the default library path according
 
27719
+# to the aix ld manual.
 
27720
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
 
27721
+[m4_require([_LT_DECL_SED])dnl
 
27722
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
27723
+lt_aix_libpath_sed='
 
27724
+    /Import File Strings/,/^$/ {
 
27725
+       /^0/ {
 
27726
+           s/^0  *\(.*\)$/\1/
 
27727
+           p
 
27728
+       }
 
27729
+    }'
 
27730
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
27731
+# Check for a 64-bit object if we didn't find anything.
 
27732
+if test -z "$aix_libpath"; then
 
27733
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
27734
+fi],[])
 
27735
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
27736
+])# _LT_SYS_MODULE_PATH_AIX
 
27737
+
 
27738
+
 
27739
+# _LT_SHELL_INIT(ARG)
 
27740
+# -------------------
 
27741
+m4_define([_LT_SHELL_INIT],
 
27742
+[ifdef([AC_DIVERSION_NOTICE],
 
27743
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
27744
+        [AC_DIVERT_PUSH(NOTICE)])
 
27745
+$1
 
27746
+AC_DIVERT_POP
 
27747
+])# _LT_SHELL_INIT
 
27748
+
 
27749
+
 
27750
+# _LT_PROG_ECHO_BACKSLASH
 
27751
+# -----------------------
 
27752
+# Add some code to the start of the generated configure script which
 
27753
+# will find an echo command which doesn't interpret backslashes.
 
27754
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
 
27755
+[_LT_SHELL_INIT([
 
27756
+# Check that we are running under the correct shell.
 
27757
+SHELL=${CONFIG_SHELL-/bin/sh}
 
27758
+
 
27759
+case X$lt_ECHO in
 
27760
+X*--fallback-echo)
 
27761
+  # Remove one level of quotation (which was required for Make).
 
27762
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
27763
+  ;;
 
27764
+esac
 
27765
+
 
27766
+ECHO=${lt_ECHO-echo}
 
27767
+if test "X[$]1" = X--no-reexec; then
 
27768
+  # Discard the --no-reexec flag, and continue.
 
27769
+  shift
 
27770
+elif test "X[$]1" = X--fallback-echo; then
 
27771
+  # Avoid inline document here, it may be left over
 
27772
+  :
 
27773
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
27774
+  # Yippee, $ECHO works!
 
27775
+  :
 
27776
+else
 
27777
+  # Restart under the correct shell.
 
27778
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
27779
+fi
 
27780
+
 
27781
+if test "X[$]1" = X--fallback-echo; then
 
27782
+  # used as fallback echo
 
27783
+  shift
 
27784
+  cat <<_LT_EOF
 
27785
+[$]*
 
27786
+_LT_EOF
 
27787
+  exit 0
 
27788
+fi
 
27789
+
 
27790
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
27791
+# if CDPATH is set.
 
27792
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
27793
+
 
27794
+if test -z "$lt_ECHO"; then
 
27795
+  if test "X${echo_test_string+set}" != Xset; then
 
27796
+    # find a string as large as possible, as long as the shell can cope with it
 
27797
+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
27798
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
27799
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
27800
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
27801
+      then
 
27802
+        break
 
27803
+      fi
 
27804
+    done
 
27805
+  fi
 
27806
+
 
27807
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
27808
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
27809
+     test "X$echo_testing_string" = "X$echo_test_string"; then
 
27810
+    :
 
27811
+  else
 
27812
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
27813
+    # backslashes.  This makes it impossible to quote backslashes using
 
27814
+    #   echo "$something" | sed 's/\\/\\\\/g'
 
27815
+    #
 
27816
+    # So, first we look for a working echo in the user's PATH.
 
27817
+
 
27818
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
27819
+    for dir in $PATH /usr/ucb; do
 
27820
+      IFS="$lt_save_ifs"
 
27821
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
27822
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
27823
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
27824
+         test "X$echo_testing_string" = "X$echo_test_string"; then
 
27825
+        ECHO="$dir/echo"
 
27826
+        break
 
27827
+      fi
 
27828
+    done
 
27829
+    IFS="$lt_save_ifs"
 
27830
+
 
27831
+    if test "X$ECHO" = Xecho; then
 
27832
+      # We didn't find a better echo, so look for alternatives.
 
27833
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
27834
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
27835
+         test "X$echo_testing_string" = "X$echo_test_string"; then
 
27836
+        # This shell has a builtin print -r that does the trick.
 
27837
+        ECHO='print -r'
 
27838
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
27839
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
 
27840
+        # If we have ksh, try running configure again with it.
 
27841
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
27842
+        export ORIGINAL_CONFIG_SHELL
 
27843
+        CONFIG_SHELL=/bin/ksh
 
27844
+        export CONFIG_SHELL
 
27845
+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
27846
+      else
 
27847
+        # Try using printf.
 
27848
+        ECHO='printf %s\n'
 
27849
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
27850
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
27851
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
27852
+         # Cool, printf works
 
27853
+         :
 
27854
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
27855
+            test "X$echo_testing_string" = 'X\t' &&
 
27856
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
27857
+            test "X$echo_testing_string" = "X$echo_test_string"; then
 
27858
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
27859
+         export CONFIG_SHELL
 
27860
+         SHELL="$CONFIG_SHELL"
 
27861
+         export SHELL
 
27862
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
27863
+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
27864
+            test "X$echo_testing_string" = 'X\t' &&
 
27865
+            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
27866
+            test "X$echo_testing_string" = "X$echo_test_string"; then
 
27867
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
 
27868
+        else
 
27869
+         # maybe with a smaller string...
 
27870
+         prev=:
 
27871
+
 
27872
+         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
27873
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
27874
+           then
 
27875
+             break
 
27876
+           fi
 
27877
+           prev="$cmd"
 
27878
+         done
 
27879
+
 
27880
+         if test "$prev" != 'sed 50q "[$]0"'; then
 
27881
+           echo_test_string=`eval $prev`
 
27882
+           export echo_test_string
 
27883
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
27884
+         else
 
27885
+           # Oops.  We lost completely, so just stick with echo.
 
27886
+           ECHO=echo
 
27887
+         fi
 
27888
+        fi
 
27889
+      fi
 
27890
+    fi
 
27891
+  fi
 
27892
+fi
 
27893
+
 
27894
+# Copy echo and quote the copy suitably for passing to libtool from
 
27895
+# the Makefile, instead of quoting the original, which is used later.
 
27896
+lt_ECHO=$ECHO
 
27897
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
27898
+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
27899
+fi
 
27900
+
 
27901
+AC_SUBST(lt_ECHO)
 
27902
+])
 
27903
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 
27904
+_LT_DECL([], [ECHO], [1],
 
27905
+    [An echo program that does not interpret backslashes])
 
27906
+])# _LT_PROG_ECHO_BACKSLASH
 
27907
+
 
27908
+
 
27909
+# _LT_ENABLE_LOCK
 
27910
+# ---------------
 
27911
+m4_defun([_LT_ENABLE_LOCK],
 
27912
+[AC_ARG_ENABLE([libtool-lock],
 
27913
+  [AS_HELP_STRING([--disable-libtool-lock],
 
27914
+    [avoid locking (might break parallel builds)])])
 
27915
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
27916
+
 
27917
+# Some flags need to be propagated to the compiler or linker for good
 
27918
+# libtool support.
 
27919
+case $host in
 
27920
+ia64-*-hpux*)
 
27921
+  # Find out which ABI we are using.
 
27922
+  echo 'int i;' > conftest.$ac_ext
 
27923
+  if AC_TRY_EVAL(ac_compile); then
 
27924
+    case `/usr/bin/file conftest.$ac_objext` in
 
27925
+      *ELF-32*)
 
27926
+       HPUX_IA64_MODE="32"
 
27927
+       ;;
 
27928
+      *ELF-64*)
 
27929
+       HPUX_IA64_MODE="64"
 
27930
+       ;;
 
27931
+    esac
 
27932
+  fi
 
27933
+  rm -rf conftest*
 
27934
+  ;;
 
27935
+*-*-irix6*)
 
27936
+  # Find out which ABI we are using.
 
27937
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
27938
+  if AC_TRY_EVAL(ac_compile); then
 
27939
+    if test "$lt_cv_prog_gnu_ld" = yes; then
 
27940
+      case `/usr/bin/file conftest.$ac_objext` in
 
27941
+       *32-bit*)
 
27942
+         LD="${LD-ld} -melf32bsmip"
 
27943
+         ;;
 
27944
+       *N32*)
 
27945
+         LD="${LD-ld} -melf32bmipn32"
 
27946
+         ;;
 
27947
+       *64-bit*)
 
27948
+         LD="${LD-ld} -melf64bmip"
 
27949
+       ;;
 
27950
+      esac
 
27951
+    else
 
27952
+      case `/usr/bin/file conftest.$ac_objext` in
 
27953
+       *32-bit*)
 
27954
+         LD="${LD-ld} -32"
 
27955
+         ;;
 
27956
+       *N32*)
 
27957
+         LD="${LD-ld} -n32"
 
27958
+         ;;
 
27959
+       *64-bit*)
 
27960
+         LD="${LD-ld} -64"
 
27961
+         ;;
 
27962
+      esac
 
27963
+    fi
 
27964
+  fi
 
27965
+  rm -rf conftest*
 
27966
+  ;;
 
27967
+
 
27968
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
27969
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
27970
+  # Find out which ABI we are using.
 
27971
+  echo 'int i;' > conftest.$ac_ext
 
27972
+  if AC_TRY_EVAL(ac_compile); then
 
27973
+    case `/usr/bin/file conftest.o` in
 
27974
+      *32-bit*)
 
27975
+       case $host in
 
27976
+         x86_64-*kfreebsd*-gnu)
 
27977
+           LD="${LD-ld} -m elf_i386_fbsd"
 
27978
+           ;;
 
27979
+         x86_64-*linux*)
 
27980
+           LD="${LD-ld} -m elf_i386"
 
27981
+           ;;
 
27982
+         ppc64-*linux*|powerpc64-*linux*)
 
27983
+           LD="${LD-ld} -m elf32ppclinux"
 
27984
+           ;;
 
27985
+         s390x-*linux*)
 
27986
+           LD="${LD-ld} -m elf_s390"
 
27987
+           ;;
 
27988
+         sparc64-*linux*)
 
27989
+           LD="${LD-ld} -m elf32_sparc"
 
27990
+           ;;
 
27991
+       esac
 
27992
+       ;;
 
27993
+      *64-bit*)
 
27994
+       case $host in
 
27995
+         x86_64-*kfreebsd*-gnu)
 
27996
+           LD="${LD-ld} -m elf_x86_64_fbsd"
 
27997
+           ;;
 
27998
+         x86_64-*linux*)
 
27999
+           LD="${LD-ld} -m elf_x86_64"
 
28000
+           ;;
 
28001
+         ppc*-*linux*|powerpc*-*linux*)
 
28002
+           LD="${LD-ld} -m elf64ppc"
 
28003
+           ;;
 
28004
+         s390*-*linux*|s390*-*tpf*)
 
28005
+           LD="${LD-ld} -m elf64_s390"
 
28006
+           ;;
 
28007
+         sparc*-*linux*)
 
28008
+           LD="${LD-ld} -m elf64_sparc"
 
28009
+           ;;
 
28010
+       esac
 
28011
+       ;;
 
28012
+    esac
 
28013
+  fi
 
28014
+  rm -rf conftest*
 
28015
+  ;;
 
28016
+
 
28017
+*-*-sco3.2v5*)
 
28018
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
28019
+  SAVE_CFLAGS="$CFLAGS"
 
28020
+  CFLAGS="$CFLAGS -belf"
 
28021
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
28022
+    [AC_LANG_PUSH(C)
 
28023
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
28024
+     AC_LANG_POP])
 
28025
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
28026
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
28027
+    CFLAGS="$SAVE_CFLAGS"
 
28028
+  fi
 
28029
+  ;;
 
28030
+sparc*-*solaris*)
 
28031
+  # Find out which ABI we are using.
 
28032
+  echo 'int i;' > conftest.$ac_ext
 
28033
+  if AC_TRY_EVAL(ac_compile); then
 
28034
+    case `/usr/bin/file conftest.o` in
 
28035
+    *64-bit*)
 
28036
+      case $lt_cv_prog_gnu_ld in
 
28037
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
28038
+      *)
 
28039
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
28040
+         LD="${LD-ld} -64"
 
28041
+       fi
 
28042
+       ;;
 
28043
+      esac
 
28044
+      ;;
 
28045
+    esac
 
28046
+  fi
 
28047
+  rm -rf conftest*
 
28048
+  ;;
 
28049
+esac
 
28050
+
 
28051
+need_locks="$enable_libtool_lock"
 
28052
+])# _LT_ENABLE_LOCK
 
28053
+
 
28054
+
 
28055
+# _LT_CMD_OLD_ARCHIVE
 
28056
+# -------------------
 
28057
+m4_defun([_LT_CMD_OLD_ARCHIVE],
 
28058
+[AC_CHECK_TOOL(AR, ar, false)
 
28059
+test -z "$AR" && AR=ar
 
28060
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
28061
+_LT_DECL([], [AR], [1], [The archiver])
 
28062
+_LT_DECL([], [AR_FLAGS], [1])
 
28063
+
 
28064
+AC_CHECK_TOOL(STRIP, strip, :)
 
28065
+test -z "$STRIP" && STRIP=:
 
28066
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 
28067
+
 
28068
+AC_CHECK_TOOL(RANLIB, ranlib, :)
 
28069
+test -z "$RANLIB" && RANLIB=:
 
28070
+_LT_DECL([], [RANLIB], [1],
 
28071
+    [Commands used to install an old-style archive])
 
28072
+
 
28073
+# Determine commands to create old-style static archives.
 
28074
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
28075
+old_postinstall_cmds='chmod 644 $oldlib'
 
28076
+old_postuninstall_cmds=
 
28077
+
 
28078
+if test -n "$RANLIB"; then
 
28079
+  case $host_os in
 
28080
+  openbsd*)
 
28081
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
28082
+    ;;
 
28083
+  *)
 
28084
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
28085
+    ;;
 
28086
+  esac
 
28087
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
28088
+fi
 
28089
+_LT_DECL([], [old_postinstall_cmds], [2])
 
28090
+_LT_DECL([], [old_postuninstall_cmds], [2])
 
28091
+_LT_TAGDECL([], [old_archive_cmds], [2],
 
28092
+    [Commands used to build an old-style archive])
 
28093
+])# _LT_CMD_OLD_ARCHIVE
 
28094
+
 
28095
+
 
28096
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
28097
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 
28098
+# ----------------------------------------------------------------
 
28099
+# Check whether the given compiler option works
 
28100
+AC_DEFUN([_LT_COMPILER_OPTION],
 
28101
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
28102
+m4_require([_LT_DECL_SED])dnl
 
28103
+AC_CACHE_CHECK([$1], [$2],
 
28104
+  [$2=no
 
28105
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
28106
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
28107
+   lt_compiler_flag="$3"
 
28108
+   # Insert the option either (1) after the last *FLAGS variable, or
 
28109
+   # (2) before a word containing "conftest.", or (3) at the end.
 
28110
+   # Note that $ac_compile itself does not contain backslashes and begins
 
28111
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
28112
+   # The option is referenced via a variable to avoid confusing sed.
 
28113
+   lt_compile=`echo "$ac_compile" | $SED \
 
28114
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
28115
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
28116
+   -e 's:$: $lt_compiler_flag:'`
 
28117
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
28118
+   (eval "$lt_compile" 2>conftest.err)
 
28119
+   ac_status=$?
 
28120
+   cat conftest.err >&AS_MESSAGE_LOG_FD
 
28121
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
28122
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
28123
+     # The compiler can only warn and ignore the option if not recognized
 
28124
+     # So say no if there are warnings other than the usual output.
 
28125
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
28126
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
28127
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
28128
+       $2=yes
 
28129
+     fi
 
28130
+   fi
 
28131
+   $RM conftest*
 
28132
+])
 
28133
+
 
28134
+if test x"[$]$2" = xyes; then
 
28135
+    m4_if([$5], , :, [$5])
 
28136
+else
 
28137
+    m4_if([$6], , :, [$6])
 
28138
+fi
 
28139
+])# _LT_COMPILER_OPTION
 
28140
+
 
28141
+# Old name:
 
28142
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 
28143
+dnl aclocal-1.4 backwards compatibility:
 
28144
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 
28145
+
 
28146
+
 
28147
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
28148
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 
28149
+# ----------------------------------------------------
 
28150
+# Check whether the given linker option works
 
28151
+AC_DEFUN([_LT_LINKER_OPTION],
 
28152
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
28153
+m4_require([_LT_DECL_SED])dnl
 
28154
+AC_CACHE_CHECK([$1], [$2],
 
28155
+  [$2=no
 
28156
+   save_LDFLAGS="$LDFLAGS"
 
28157
+   LDFLAGS="$LDFLAGS $3"
 
28158
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
28159
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
28160
+     # The linker can only warn and ignore the option if not recognized
 
28161
+     # So say no if there are warnings
 
28162
+     if test -s conftest.err; then
 
28163
+       # Append any errors to the config.log.
 
28164
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 
28165
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
28166
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
28167
+       if diff conftest.exp conftest.er2 >/dev/null; then
 
28168
+         $2=yes
 
28169
+       fi
 
28170
+     else
 
28171
+       $2=yes
 
28172
+     fi
 
28173
+   fi
 
28174
+   $RM -r conftest*
 
28175
+   LDFLAGS="$save_LDFLAGS"
 
28176
+])
 
28177
+
 
28178
+if test x"[$]$2" = xyes; then
 
28179
+    m4_if([$4], , :, [$4])
 
28180
+else
 
28181
+    m4_if([$5], , :, [$5])
 
28182
+fi
 
28183
+])# _LT_LINKER_OPTION
 
28184
+
 
28185
+# Old name:
 
28186
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 
28187
+dnl aclocal-1.4 backwards compatibility:
 
28188
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 
28189
+
 
28190
+
 
28191
+# LT_CMD_MAX_LEN
 
28192
+#---------------
 
28193
+AC_DEFUN([LT_CMD_MAX_LEN],
 
28194
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
28195
+# find the maximum length of command line arguments
 
28196
+AC_MSG_CHECKING([the maximum length of command line arguments])
 
28197
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 
28198
+  i=0
 
28199
+  teststring="ABCD"
 
28200
+
 
28201
+  case $build_os in
 
28202
+  msdosdjgpp*)
 
28203
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
28204
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
28205
+    # during glob expansion).  Even if it were fixed, the result of this
 
28206
+    # check would be larger than it should be.
 
28207
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
28208
+    ;;
 
28209
+
 
28210
+  gnu*)
 
28211
+    # Under GNU Hurd, this test is not required because there is
 
28212
+    # no limit to the length of command line arguments.
 
28213
+    # Libtool will interpret -1 as no limit whatsoever
 
28214
+    lt_cv_sys_max_cmd_len=-1;
 
28215
+    ;;
 
28216
+
 
28217
+  cygwin* | mingw* | cegcc*)
 
28218
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
28219
+    # about 5 minutes as the teststring grows exponentially.
 
28220
+    # Worse, since 9x/ME are not pre-emptively multitasking,
 
28221
+    # you end up with a "frozen" computer, even though with patience
 
28222
+    # the test eventually succeeds (with a max line length of 256k).
 
28223
+    # Instead, let's just punt: use the minimum linelength reported by
 
28224
+    # all of the supported platforms: 8192 (on NT/2K/XP).
 
28225
+    lt_cv_sys_max_cmd_len=8192;
 
28226
+    ;;
 
28227
+
 
28228
+  amigaos*)
 
28229
+    # On AmigaOS with pdksh, this test takes hours, literally.
 
28230
+    # So we just punt and use a minimum line length of 8192.
 
28231
+    lt_cv_sys_max_cmd_len=8192;
 
28232
+    ;;
 
28233
+
 
28234
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
28235
+    # This has been around since 386BSD, at least.  Likely further.
 
28236
+    if test -x /sbin/sysctl; then
 
28237
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
28238
+    elif test -x /usr/sbin/sysctl; then
 
28239
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
28240
+    else
 
28241
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
 
28242
+    fi
 
28243
+    # And add a safety zone
 
28244
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
28245
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
28246
+    ;;
 
28247
+
 
28248
+  interix*)
 
28249
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
28250
+    lt_cv_sys_max_cmd_len=196608
 
28251
+    ;;
 
28252
+
 
28253
+  osf*)
 
28254
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
28255
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
28256
+    # nice to cause kernel panics so lets avoid the loop below.
 
28257
+    # First set a reasonable default.
 
28258
+    lt_cv_sys_max_cmd_len=16384
 
28259
+    #
 
28260
+    if test -x /sbin/sysconfig; then
 
28261
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
28262
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
28263
+      esac
 
28264
+    fi
 
28265
+    ;;
 
28266
+  sco3.2v5*)
 
28267
+    lt_cv_sys_max_cmd_len=102400
 
28268
+    ;;
 
28269
+  sysv5* | sco5v6* | sysv4.2uw2*)
 
28270
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
28271
+    if test -n "$kargmax"; then
 
28272
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
 
28273
+    else
 
28274
+      lt_cv_sys_max_cmd_len=32768
 
28275
+    fi
 
28276
+    ;;
 
28277
+  *)
 
28278
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
28279
+    if test -n "$lt_cv_sys_max_cmd_len"; then
 
28280
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
28281
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
28282
+    else
 
28283
+      # Make teststring a little bigger before we do anything with it.
 
28284
+      # a 1K string should be a reasonable start.
 
28285
+      for i in 1 2 3 4 5 6 7 8 ; do
 
28286
+        teststring=$teststring$teststring
 
28287
+      done
 
28288
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
28289
+      # If test is not a shell built-in, we'll probably end up computing a
 
28290
+      # maximum length that is only half of the actual maximum length, but
 
28291
+      # we can't tell.
 
28292
+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
28293
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
28294
+             test $i != 17 # 1/2 MB should be enough
 
28295
+      do
 
28296
+        i=`expr $i + 1`
 
28297
+        teststring=$teststring$teststring
 
28298
+      done
 
28299
+      # Only check the string length outside the loop.
 
28300
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
28301
+      teststring=
 
28302
+      # Add a significant safety factor because C++ compilers can tack on
 
28303
+      # massive amounts of additional arguments before passing them to the
 
28304
+      # linker.  It appears as though 1/2 is a usable value.
 
28305
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
28306
+    fi
 
28307
+    ;;
 
28308
+  esac
 
28309
+])
 
28310
+if test -n $lt_cv_sys_max_cmd_len ; then
 
28311
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
28312
+else
 
28313
+  AC_MSG_RESULT(none)
 
28314
+fi
 
28315
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
28316
+_LT_DECL([], [max_cmd_len], [0],
 
28317
+    [What is the maximum length of a command?])
 
28318
+])# LT_CMD_MAX_LEN
 
28319
+
 
28320
+# Old name:
 
28321
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 
28322
+dnl aclocal-1.4 backwards compatibility:
 
28323
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 
28324
+
 
28325
+
 
28326
+# _LT_HEADER_DLFCN
 
28327
+# ----------------
 
28328
+m4_defun([_LT_HEADER_DLFCN],
 
28329
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 
28330
+])# _LT_HEADER_DLFCN
 
28331
+
 
28332
+
 
28333
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
28334
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
28335
+# ----------------------------------------------------------------
 
28336
+m4_defun([_LT_TRY_DLOPEN_SELF],
 
28337
+[m4_require([_LT_HEADER_DLFCN])dnl
 
28338
+if test "$cross_compiling" = yes; then :
 
28339
+  [$4]
 
28340
+else
 
28341
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
28342
+  lt_status=$lt_dlunknown
 
28343
+  cat > conftest.$ac_ext <<_LT_EOF
 
28344
+[#line __oline__ "configure"
 
28345
+#include "confdefs.h"
 
28346
+
 
28347
+#if HAVE_DLFCN_H
 
28348
+#include <dlfcn.h>
 
28349
+#endif
 
28350
+
 
28351
+#include <stdio.h>
 
28352
+
 
28353
+#ifdef RTLD_GLOBAL
 
28354
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
28355
+#else
 
28356
+#  ifdef DL_GLOBAL
 
28357
+#    define LT_DLGLOBAL                DL_GLOBAL
 
28358
+#  else
 
28359
+#    define LT_DLGLOBAL                0
 
28360
+#  endif
 
28361
+#endif
 
28362
+
 
28363
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
28364
+   find out it does not work in some platform. */
 
28365
+#ifndef LT_DLLAZY_OR_NOW
 
28366
+#  ifdef RTLD_LAZY
 
28367
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
28368
+#  else
 
28369
+#    ifdef DL_LAZY
 
28370
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
28371
+#    else
 
28372
+#      ifdef RTLD_NOW
 
28373
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
28374
+#      else
 
28375
+#        ifdef DL_NOW
 
28376
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
28377
+#        else
 
28378
+#          define LT_DLLAZY_OR_NOW     0
 
28379
+#        endif
 
28380
+#      endif
 
28381
+#    endif
 
28382
+#  endif
 
28383
+#endif
 
28384
+
 
28385
+void fnord() { int i=42;}
 
28386
+int main ()
 
28387
+{
 
28388
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
28389
+  int status = $lt_dlunknown;
 
28390
+
 
28391
+  if (self)
 
28392
+    {
 
28393
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
28394
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
28395
+      /* dlclose (self); */
 
28396
+    }
 
28397
+  else
 
28398
+    puts (dlerror ());
 
28399
+
 
28400
+  return status;
 
28401
+}]
 
28402
+_LT_EOF
 
28403
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 
28404
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 
28405
+    lt_status=$?
 
28406
+    case x$lt_status in
 
28407
+      x$lt_dlno_uscore) $1 ;;
 
28408
+      x$lt_dlneed_uscore) $2 ;;
 
28409
+      x$lt_dlunknown|x*) $3 ;;
 
28410
+    esac
 
28411
+  else :
 
28412
+    # compilation failed
 
28413
+    $3
 
28414
+  fi
 
28415
+fi
 
28416
+rm -fr conftest*
 
28417
+])# _LT_TRY_DLOPEN_SELF
 
28418
+
 
28419
+
 
28420
+# LT_SYS_DLOPEN_SELF
 
28421
+# ------------------
 
28422
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
 
28423
+[m4_require([_LT_HEADER_DLFCN])dnl
 
28424
+if test "x$enable_dlopen" != xyes; then
 
28425
+  enable_dlopen=unknown
 
28426
+  enable_dlopen_self=unknown
 
28427
+  enable_dlopen_self_static=unknown
 
28428
+else
 
28429
+  lt_cv_dlopen=no
 
28430
+  lt_cv_dlopen_libs=
 
28431
+
 
28432
+  case $host_os in
 
28433
+  beos*)
 
28434
+    lt_cv_dlopen="load_add_on"
 
28435
+    lt_cv_dlopen_libs=
 
28436
+    lt_cv_dlopen_self=yes
 
28437
+    ;;
 
28438
+
 
28439
+  mingw* | pw32* | cegcc*)
 
28440
+    lt_cv_dlopen="LoadLibrary"
 
28441
+    lt_cv_dlopen_libs=
 
28442
+    ;;
 
28443
+
 
28444
+  cygwin*)
 
28445
+    lt_cv_dlopen="dlopen"
 
28446
+    lt_cv_dlopen_libs=
 
28447
+    ;;
 
28448
+
 
28449
+  darwin*)
 
28450
+  # if libdl is installed we need to link against it
 
28451
+    AC_CHECK_LIB([dl], [dlopen],
 
28452
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
 
28453
+    lt_cv_dlopen="dyld"
 
28454
+    lt_cv_dlopen_libs=
 
28455
+    lt_cv_dlopen_self=yes
 
28456
+    ])
 
28457
+    ;;
 
28458
+
 
28459
+  *)
 
28460
+    AC_CHECK_FUNC([shl_load],
 
28461
+         [lt_cv_dlopen="shl_load"],
 
28462
+      [AC_CHECK_LIB([dld], [shl_load],
 
28463
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
 
28464
+       [AC_CHECK_FUNC([dlopen],
 
28465
+             [lt_cv_dlopen="dlopen"],
 
28466
+         [AC_CHECK_LIB([dl], [dlopen],
 
28467
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 
28468
+           [AC_CHECK_LIB([svld], [dlopen],
 
28469
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 
28470
+             [AC_CHECK_LIB([dld], [dld_link],
 
28471
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
 
28472
+             ])
 
28473
+           ])
 
28474
+         ])
 
28475
+       ])
 
28476
+      ])
 
28477
+    ;;
 
28478
+  esac
 
28479
+
 
28480
+  if test "x$lt_cv_dlopen" != xno; then
 
28481
+    enable_dlopen=yes
 
28482
+  else
 
28483
+    enable_dlopen=no
 
28484
+  fi
 
28485
+
 
28486
+  case $lt_cv_dlopen in
 
28487
+  dlopen)
 
28488
+    save_CPPFLAGS="$CPPFLAGS"
 
28489
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
28490
+
 
28491
+    save_LDFLAGS="$LDFLAGS"
 
28492
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
28493
+
 
28494
+    save_LIBS="$LIBS"
 
28495
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
28496
+
 
28497
+    AC_CACHE_CHECK([whether a program can dlopen itself],
 
28498
+         lt_cv_dlopen_self, [dnl
 
28499
+         _LT_TRY_DLOPEN_SELF(
 
28500
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
28501
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
28502
+    ])
 
28503
+
 
28504
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
28505
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
28506
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
28507
+         lt_cv_dlopen_self_static, [dnl
 
28508
+         _LT_TRY_DLOPEN_SELF(
 
28509
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
28510
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
28511
+      ])
 
28512
+    fi
 
28513
+
 
28514
+    CPPFLAGS="$save_CPPFLAGS"
 
28515
+    LDFLAGS="$save_LDFLAGS"
 
28516
+    LIBS="$save_LIBS"
 
28517
+    ;;
 
28518
+  esac
 
28519
+
 
28520
+  case $lt_cv_dlopen_self in
 
28521
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
28522
+  *) enable_dlopen_self=unknown ;;
 
28523
+  esac
 
28524
+
 
28525
+  case $lt_cv_dlopen_self_static in
 
28526
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
28527
+  *) enable_dlopen_self_static=unknown ;;
 
28528
+  esac
 
28529
+fi
 
28530
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
 
28531
+        [Whether dlopen is supported])
 
28532
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 
28533
+        [Whether dlopen of programs is supported])
 
28534
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 
28535
+        [Whether dlopen of statically linked programs is supported])
 
28536
+])# LT_SYS_DLOPEN_SELF
 
28537
+
 
28538
+# Old name:
 
28539
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 
28540
+dnl aclocal-1.4 backwards compatibility:
 
28541
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 
28542
+
 
28543
+
 
28544
+# _LT_COMPILER_C_O([TAGNAME])
 
28545
+# ---------------------------
 
28546
+# Check to see if options -c and -o are simultaneously supported by compiler.
 
28547
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 
28548
+m4_defun([_LT_COMPILER_C_O],
 
28549
+[m4_require([_LT_DECL_SED])dnl
 
28550
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
28551
+m4_require([_LT_TAG_COMPILER])dnl
 
28552
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 
28553
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
28554
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
28555
+   $RM -r conftest 2>/dev/null
 
28556
+   mkdir conftest
 
28557
+   cd conftest
 
28558
+   mkdir out
 
28559
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
28560
+
 
28561
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
28562
+   # Insert the option either (1) after the last *FLAGS variable, or
 
28563
+   # (2) before a word containing "conftest.", or (3) at the end.
 
28564
+   # Note that $ac_compile itself does not contain backslashes and begins
 
28565
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
28566
+   lt_compile=`echo "$ac_compile" | $SED \
 
28567
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
28568
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
28569
+   -e 's:$: $lt_compiler_flag:'`
 
28570
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
28571
+   (eval "$lt_compile" 2>out/conftest.err)
 
28572
+   ac_status=$?
 
28573
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 
28574
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
28575
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
28576
+   then
 
28577
+     # The compiler can only warn and ignore the option if not recognized
 
28578
+     # So say no if there are warnings
 
28579
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
28580
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
28581
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
28582
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
28583
+     fi
 
28584
+   fi
 
28585
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 
28586
+   $RM conftest*
 
28587
+   # SGI C++ compiler will create directory out/ii_files/ for
 
28588
+   # template instantiation
 
28589
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
28590
+   $RM out/* && rmdir out
 
28591
+   cd ..
 
28592
+   $RM -r conftest
 
28593
+   $RM conftest*
 
28594
+])
 
28595
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 
28596
+       [Does compiler simultaneously support -c and -o options?])
 
28597
+])# _LT_COMPILER_C_O
 
28598
+
 
28599
+
 
28600
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 
28601
+# ----------------------------------
 
28602
+# Check to see if we can do hard links to lock some files if needed
 
28603
+m4_defun([_LT_COMPILER_FILE_LOCKS],
 
28604
+[m4_require([_LT_ENABLE_LOCK])dnl
 
28605
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
28606
+_LT_COMPILER_C_O([$1])
 
28607
+
 
28608
+hard_links="nottested"
 
28609
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
28610
+  # do not overwrite the value of need_locks provided by the user
 
28611
+  AC_MSG_CHECKING([if we can lock with hard links])
 
28612
+  hard_links=yes
 
28613
+  $RM conftest*
 
28614
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
28615
+  touch conftest.a
 
28616
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
28617
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
28618
+  AC_MSG_RESULT([$hard_links])
 
28619
+  if test "$hard_links" = no; then
 
28620
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
 
28621
+    need_locks=warn
 
28622
+  fi
 
28623
+else
 
28624
+  need_locks=no
 
28625
+fi
 
28626
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 
28627
+])# _LT_COMPILER_FILE_LOCKS
 
28628
+
 
28629
+
 
28630
+# _LT_CHECK_OBJDIR
 
28631
+# ----------------
 
28632
+m4_defun([_LT_CHECK_OBJDIR],
 
28633
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 
28634
+[rm -f .libs 2>/dev/null
 
28635
+mkdir .libs 2>/dev/null
 
28636
+if test -d .libs; then
 
28637
+  lt_cv_objdir=.libs
 
28638
+else
 
28639
+  # MS-DOS does not allow filenames that begin with a dot.
 
28640
+  lt_cv_objdir=_libs
 
28641
+fi
 
28642
+rmdir .libs 2>/dev/null])
 
28643
+objdir=$lt_cv_objdir
 
28644
+_LT_DECL([], [objdir], [0],
 
28645
+         [The name of the directory that contains temporary libtool files])dnl
 
28646
+m4_pattern_allow([LT_OBJDIR])dnl
 
28647
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
 
28648
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
 
28649
+])# _LT_CHECK_OBJDIR
 
28650
+
 
28651
+
 
28652
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 
28653
+# --------------------------------------
 
28654
+# Check hardcoding attributes.
 
28655
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 
28656
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
 
28657
+_LT_TAGVAR(hardcode_action, $1)=
 
28658
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 
28659
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 
28660
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
28661
+
 
28662
+  # We can hardcode non-existent directories.
 
28663
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
 
28664
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
28665
+     # have to relink, otherwise we might link with an installed library
 
28666
+     # when we should be linking with a yet-to-be-installed one
 
28667
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
28668
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
 
28669
+    # Linking always hardcodes the temporary library directory.
 
28670
+    _LT_TAGVAR(hardcode_action, $1)=relink
 
28671
+  else
 
28672
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
28673
+    _LT_TAGVAR(hardcode_action, $1)=immediate
 
28674
+  fi
 
28675
+else
 
28676
+  # We cannot hardcode anything, or else we can only hardcode existing
 
28677
+  # directories.
 
28678
+  _LT_TAGVAR(hardcode_action, $1)=unsupported
 
28679
+fi
 
28680
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 
28681
+
 
28682
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
 
28683
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
 
28684
+  # Fast installation is not supported
 
28685
+  enable_fast_install=no
 
28686
+elif test "$shlibpath_overrides_runpath" = yes ||
 
28687
+     test "$enable_shared" = no; then
 
28688
+  # Fast installation is not necessary
 
28689
+  enable_fast_install=needless
 
28690
+fi
 
28691
+_LT_TAGDECL([], [hardcode_action], [0],
 
28692
+    [How to hardcode a shared library path into an executable])
 
28693
+])# _LT_LINKER_HARDCODE_LIBPATH
 
28694
+
 
28695
+
 
28696
+# _LT_CMD_STRIPLIB
 
28697
+# ----------------
 
28698
+m4_defun([_LT_CMD_STRIPLIB],
 
28699
+[m4_require([_LT_DECL_EGREP])
 
28700
+striplib=
 
28701
+old_striplib=
 
28702
+AC_MSG_CHECKING([whether stripping libraries is possible])
 
28703
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
28704
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
28705
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
28706
+  AC_MSG_RESULT([yes])
 
28707
+else
 
28708
+# FIXME - insert some real tests, host_os isn't really good enough
 
28709
+  case $host_os in
 
28710
+  darwin*)
 
28711
+    if test -n "$STRIP" ; then
 
28712
+      striplib="$STRIP -x"
 
28713
+      old_striplib="$STRIP -S"
 
28714
+      AC_MSG_RESULT([yes])
 
28715
+    else
 
28716
+      AC_MSG_RESULT([no])
 
28717
+    fi
 
28718
+    ;;
 
28719
+  *)
 
28720
+    AC_MSG_RESULT([no])
 
28721
+    ;;
 
28722
+  esac
 
28723
+fi
 
28724
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 
28725
+_LT_DECL([], [striplib], [1])
 
28726
+])# _LT_CMD_STRIPLIB
 
28727
+
 
28728
+
 
28729
+# _LT_SYS_DYNAMIC_LINKER([TAG])
 
28730
+# -----------------------------
 
28731
+# PORTME Fill in your ld.so characteristics
 
28732
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
 
28733
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
28734
+m4_require([_LT_DECL_EGREP])dnl
 
28735
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
28736
+m4_require([_LT_DECL_OBJDUMP])dnl
 
28737
+m4_require([_LT_DECL_SED])dnl
 
28738
+AC_MSG_CHECKING([dynamic linker characteristics])
 
28739
+m4_if([$1],
 
28740
+       [], [
 
28741
+if test "$GCC" = yes; then
 
28742
+  case $host_os in
 
28743
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
28744
+    *) lt_awk_arg="/^libraries:/" ;;
 
28745
+  esac
 
28746
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
28747
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
28748
+    # if the path contains ";" then we assume it to be the separator
 
28749
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
28750
+    # assumed that no part of a normal pathname contains ";" but that should
 
28751
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
28752
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
28753
+  else
 
28754
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
28755
+  fi
 
28756
+  # Ok, now we have the path, separated by spaces, we can step through it
 
28757
+  # and add multilib dir if necessary.
 
28758
+  lt_tmp_lt_search_path_spec=
 
28759
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
28760
+  for lt_sys_path in $lt_search_path_spec; do
 
28761
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
28762
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
28763
+    else
 
28764
+      test -d "$lt_sys_path" && \
 
28765
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
28766
+    fi
 
28767
+  done
 
28768
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
28769
+BEGIN {RS=" "; FS="/|\n";} {
 
28770
+  lt_foo="";
 
28771
+  lt_count=0;
 
28772
+  for (lt_i = NF; lt_i > 0; lt_i--) {
 
28773
+    if ($lt_i != "" && $lt_i != ".") {
 
28774
+      if ($lt_i == "..") {
 
28775
+        lt_count++;
 
28776
+      } else {
 
28777
+        if (lt_count == 0) {
 
28778
+          lt_foo="/" $lt_i lt_foo;
 
28779
+        } else {
 
28780
+          lt_count--;
 
28781
+        }
 
28782
+      }
 
28783
+    }
 
28784
+  }
 
28785
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 
28786
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 
28787
+}'`
 
28788
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
28789
+else
 
28790
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
28791
+fi])
 
28792
+library_names_spec=
 
28793
+libname_spec='lib$name'
 
28794
+soname_spec=
 
28795
+shrext_cmds=".so"
 
28796
+postinstall_cmds=
 
28797
+postuninstall_cmds=
 
28798
+finish_cmds=
 
28799
+finish_eval=
 
28800
+shlibpath_var=
 
28801
+shlibpath_overrides_runpath=unknown
 
28802
+version_type=none
 
28803
+dynamic_linker="$host_os ld.so"
 
28804
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
28805
+need_lib_prefix=unknown
 
28806
+hardcode_into_libs=no
 
28807
+
 
28808
+# when you set need_version to no, make sure it does not cause -set_version
 
28809
+# flags to be left without arguments
 
28810
+need_version=unknown
 
28811
+
 
28812
+case $host_os in
 
28813
+aix3*)
 
28814
+  version_type=linux
 
28815
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
28816
+  shlibpath_var=LIBPATH
 
28817
+
 
28818
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
28819
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28820
+  ;;
 
28821
+
 
28822
+aix[[4-9]]*)
 
28823
+  version_type=linux
 
28824
+  need_lib_prefix=no
 
28825
+  need_version=no
 
28826
+  hardcode_into_libs=yes
 
28827
+  if test "$host_cpu" = ia64; then
 
28828
+    # AIX 5 supports IA64
 
28829
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
28830
+    shlibpath_var=LD_LIBRARY_PATH
 
28831
+  else
 
28832
+    # With GCC up to 2.95.x, collect2 would create an import file
 
28833
+    # for dependence libraries.  The import file would start with
 
28834
+    # the line `#! .'.  This would cause the generated library to
 
28835
+    # depend on `.', always an invalid library.  This was fixed in
 
28836
+    # development snapshots of GCC prior to 3.0.
 
28837
+    case $host_os in
 
28838
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
28839
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
28840
+          echo ' yes '
 
28841
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
28842
+       :
 
28843
+      else
 
28844
+       can_build_shared=no
 
28845
+      fi
 
28846
+      ;;
 
28847
+    esac
 
28848
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
28849
+    # soname into executable. Probably we can add versioning support to
 
28850
+    # collect2, so additional links can be useful in future.
 
28851
+    if test "$aix_use_runtimelinking" = yes; then
 
28852
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
28853
+      # instead of lib<name>.a to let people know that these are not
 
28854
+      # typical AIX shared libraries.
 
28855
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28856
+    else
 
28857
+      # We preserve .a as extension for shared libraries through AIX4.2
 
28858
+      # and later when we are not doing run time linking.
 
28859
+      library_names_spec='${libname}${release}.a $libname.a'
 
28860
+      soname_spec='${libname}${release}${shared_ext}$major'
 
28861
+    fi
 
28862
+    shlibpath_var=LIBPATH
 
28863
+  fi
 
28864
+  ;;
 
28865
+
 
28866
+amigaos*)
 
28867
+  case $host_cpu in
 
28868
+  powerpc)
 
28869
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
28870
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
28871
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28872
+    ;;
 
28873
+  m68k)
 
28874
+    library_names_spec='$libname.ixlibrary $libname.a'
 
28875
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
28876
+    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'
 
28877
+    ;;
 
28878
+  esac
 
28879
+  ;;
 
28880
+
 
28881
+beos*)
 
28882
+  library_names_spec='${libname}${shared_ext}'
 
28883
+  dynamic_linker="$host_os ld.so"
 
28884
+  shlibpath_var=LIBRARY_PATH
 
28885
+  ;;
 
28886
+
 
28887
+bsdi[[45]]*)
 
28888
+  version_type=linux
 
28889
+  need_version=no
 
28890
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
28891
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28892
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
28893
+  shlibpath_var=LD_LIBRARY_PATH
 
28894
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
28895
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
28896
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
28897
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
28898
+  # libtool to hard-code these into programs
 
28899
+  ;;
 
28900
+
 
28901
+cygwin* | mingw* | pw32* | cegcc*)
 
28902
+  version_type=windows
 
28903
+  shrext_cmds=".dll"
 
28904
+  need_version=no
 
28905
+  need_lib_prefix=no
 
28906
+
 
28907
+  case $GCC,$host_os in
 
28908
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
28909
+    library_names_spec='$libname.dll.a'
 
28910
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
28911
+    postinstall_cmds='base_file=`basename \${file}`~
 
28912
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
28913
+      dldir=$destdir/`dirname \$dlpath`~
 
28914
+      test -d \$dldir || mkdir -p \$dldir~
 
28915
+      $install_prog $dir/$dlname \$dldir/$dlname~
 
28916
+      chmod a+x \$dldir/$dlname~
 
28917
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
28918
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
28919
+      fi'
 
28920
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
28921
+      dlpath=$dir/\$dldll~
 
28922
+       $RM \$dlpath'
 
28923
+    shlibpath_overrides_runpath=yes
 
28924
+
 
28925
+    case $host_os in
 
28926
+    cygwin*)
 
28927
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
28928
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
28929
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
28930
+      ;;
 
28931
+    mingw* | cegcc*)
 
28932
+      # MinGW DLLs use traditional 'lib' prefix
 
28933
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
28934
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
28935
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 
28936
+        # It is most probably a Windows format PATH printed by
 
28937
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
28938
+        # path with ; separators, and with drive letters. We can handle the
 
28939
+        # drive letters (cygwin fileutils understands them), so leave them,
 
28940
+        # especially as we might pass files found there to a mingw objdump,
 
28941
+        # which wouldn't understand a cygwinified path. Ahh.
 
28942
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
28943
+      else
 
28944
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
28945
+      fi
 
28946
+      ;;
 
28947
+    pw32*)
 
28948
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
28949
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
28950
+      ;;
 
28951
+    esac
 
28952
+    ;;
 
28953
+
 
28954
+  *)
 
28955
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
28956
+    ;;
 
28957
+  esac
 
28958
+  dynamic_linker='Win32 ld.exe'
 
28959
+  # FIXME: first we should search . and the directory the executable is in
 
28960
+  shlibpath_var=PATH
 
28961
+  ;;
 
28962
+
 
28963
+darwin* | rhapsody*)
 
28964
+  dynamic_linker="$host_os dyld"
 
28965
+  version_type=darwin
 
28966
+  need_lib_prefix=no
 
28967
+  need_version=no
 
28968
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
28969
+  soname_spec='${libname}${release}${major}$shared_ext'
 
28970
+  shlibpath_overrides_runpath=yes
 
28971
+  shlibpath_var=DYLD_LIBRARY_PATH
 
28972
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
28973
+m4_if([$1], [],[
 
28974
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 
28975
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
28976
+  ;;
 
28977
+
 
28978
+dgux*)
 
28979
+  version_type=linux
 
28980
+  need_lib_prefix=no
 
28981
+  need_version=no
 
28982
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
28983
+  soname_spec='${libname}${release}${shared_ext}$major'
 
28984
+  shlibpath_var=LD_LIBRARY_PATH
 
28985
+  ;;
 
28986
+
 
28987
+freebsd1*)
 
28988
+  dynamic_linker=no
 
28989
+  ;;
 
28990
+
 
28991
+freebsd* | dragonfly*)
 
28992
+  # DragonFly does not have aout.  When/if they implement a new
 
28993
+  # versioning mechanism, adjust this.
 
28994
+  if test -x /usr/bin/objformat; then
 
28995
+    objformat=`/usr/bin/objformat`
 
28996
+  else
 
28997
+    case $host_os in
 
28998
+    freebsd[[123]]*) objformat=aout ;;
 
28999
+    *) objformat=elf ;;
 
29000
+    esac
 
29001
+  fi
 
29002
+  version_type=freebsd-$objformat
 
29003
+  case $version_type in
 
29004
+    freebsd-elf*)
 
29005
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
29006
+      need_version=no
 
29007
+      need_lib_prefix=no
 
29008
+      ;;
 
29009
+    freebsd-*)
 
29010
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
29011
+      need_version=yes
 
29012
+      ;;
 
29013
+  esac
 
29014
+  shlibpath_var=LD_LIBRARY_PATH
 
29015
+  case $host_os in
 
29016
+  freebsd2*)
 
29017
+    shlibpath_overrides_runpath=yes
 
29018
+    ;;
 
29019
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 
29020
+    shlibpath_overrides_runpath=yes
 
29021
+    hardcode_into_libs=yes
 
29022
+    ;;
 
29023
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 
29024
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 
29025
+    shlibpath_overrides_runpath=no
 
29026
+    hardcode_into_libs=yes
 
29027
+    ;;
 
29028
+  *) # from 4.6 on, and DragonFly
 
29029
+    shlibpath_overrides_runpath=yes
 
29030
+    hardcode_into_libs=yes
 
29031
+    ;;
 
29032
+  esac
 
29033
+  ;;
 
29034
+
 
29035
+gnu*)
 
29036
+  version_type=linux
 
29037
+  need_lib_prefix=no
 
29038
+  need_version=no
 
29039
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
29040
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29041
+  shlibpath_var=LD_LIBRARY_PATH
 
29042
+  hardcode_into_libs=yes
 
29043
+  ;;
 
29044
+
 
29045
+hpux9* | hpux10* | hpux11*)
 
29046
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
29047
+  # link against other versions.
 
29048
+  version_type=sunos
 
29049
+  need_lib_prefix=no
 
29050
+  need_version=no
 
29051
+  case $host_cpu in
 
29052
+  ia64*)
 
29053
+    shrext_cmds='.so'
 
29054
+    hardcode_into_libs=yes
 
29055
+    dynamic_linker="$host_os dld.so"
 
29056
+    shlibpath_var=LD_LIBRARY_PATH
 
29057
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
29058
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29059
+    soname_spec='${libname}${release}${shared_ext}$major'
 
29060
+    if test "X$HPUX_IA64_MODE" = X32; then
 
29061
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
29062
+    else
 
29063
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
29064
+    fi
 
29065
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
29066
+    ;;
 
29067
+  hppa*64*)
 
29068
+    shrext_cmds='.sl'
 
29069
+    hardcode_into_libs=yes
 
29070
+    dynamic_linker="$host_os dld.sl"
 
29071
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
29072
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
29073
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29074
+    soname_spec='${libname}${release}${shared_ext}$major'
 
29075
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
29076
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
29077
+    ;;
 
29078
+  *)
 
29079
+    shrext_cmds='.sl'
 
29080
+    dynamic_linker="$host_os dld.sl"
 
29081
+    shlibpath_var=SHLIB_PATH
 
29082
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
29083
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29084
+    soname_spec='${libname}${release}${shared_ext}$major'
 
29085
+    ;;
 
29086
+  esac
 
29087
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
29088
+  postinstall_cmds='chmod 555 $lib'
 
29089
+  ;;
 
29090
+
 
29091
+interix[[3-9]]*)
 
29092
+  version_type=linux
 
29093
+  need_lib_prefix=no
 
29094
+  need_version=no
 
29095
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
29096
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29097
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
29098
+  shlibpath_var=LD_LIBRARY_PATH
 
29099
+  shlibpath_overrides_runpath=no
 
29100
+  hardcode_into_libs=yes
 
29101
+  ;;
 
29102
+
 
29103
+irix5* | irix6* | nonstopux*)
 
29104
+  case $host_os in
 
29105
+    nonstopux*) version_type=nonstopux ;;
 
29106
+    *)
 
29107
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
29108
+               version_type=linux
 
29109
+       else
 
29110
+               version_type=irix
 
29111
+       fi ;;
 
29112
+  esac
 
29113
+  need_lib_prefix=no
 
29114
+  need_version=no
 
29115
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29116
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
29117
+  case $host_os in
 
29118
+  irix5* | nonstopux*)
 
29119
+    libsuff= shlibsuff=
 
29120
+    ;;
 
29121
+  *)
 
29122
+    case $LD in # libtool.m4 will add one of these switches to LD
 
29123
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
29124
+      libsuff= shlibsuff= libmagic=32-bit;;
 
29125
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
29126
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
29127
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
29128
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
29129
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
29130
+    esac
 
29131
+    ;;
 
29132
+  esac
 
29133
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
29134
+  shlibpath_overrides_runpath=no
 
29135
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
29136
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
29137
+  hardcode_into_libs=yes
 
29138
+  ;;
 
29139
+
 
29140
+# No shared lib support for Linux oldld, aout, or coff.
 
29141
+linux*oldld* | linux*aout* | linux*coff*)
 
29142
+  dynamic_linker=no
 
29143
+  ;;
 
29144
+
 
29145
+# This must be Linux ELF.
 
29146
+linux* | k*bsd*-gnu)
 
29147
+  version_type=linux
 
29148
+  need_lib_prefix=no
 
29149
+  need_version=no
 
29150
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29151
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29152
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
29153
+  shlibpath_var=LD_LIBRARY_PATH
 
29154
+  shlibpath_overrides_runpath=no
 
29155
+  # Some binutils ld are patched to set DT_RUNPATH
 
29156
+  save_LDFLAGS=$LDFLAGS
 
29157
+  save_libdir=$libdir
 
29158
+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 
29159
+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 
29160
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
29161
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 
29162
+       [shlibpath_overrides_runpath=yes])])
 
29163
+  LDFLAGS=$save_LDFLAGS
 
29164
+  libdir=$save_libdir
 
29165
+
 
29166
+  # This implies no fast_install, which is unacceptable.
 
29167
+  # Some rework will be needed to allow for fast_install
 
29168
+  # before this can be enabled.
 
29169
+  hardcode_into_libs=yes
 
29170
+
 
29171
+  # Append ld.so.conf contents to the search path
 
29172
+  if test -f /etc/ld.so.conf; then
 
29173
+    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' ' '`
 
29174
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
29175
+  fi
 
29176
+
 
29177
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
29178
+  # powerpc, because MkLinux only supported shared libraries with the
 
29179
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
29180
+  # most powerpc-linux boxes support dynamic linking these days and
 
29181
+  # people can always --disable-shared, the test was removed, and we
 
29182
+  # assume the GNU/Linux dynamic linker is in use.
 
29183
+  dynamic_linker='GNU/Linux ld.so'
 
29184
+  ;;
 
29185
+
 
29186
+netbsdelf*-gnu)
 
29187
+  version_type=linux
 
29188
+  need_lib_prefix=no
 
29189
+  need_version=no
 
29190
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
29191
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29192
+  shlibpath_var=LD_LIBRARY_PATH
 
29193
+  shlibpath_overrides_runpath=no
 
29194
+  hardcode_into_libs=yes
 
29195
+  dynamic_linker='NetBSD ld.elf_so'
 
29196
+  ;;
 
29197
+
 
29198
+netbsd*)
 
29199
+  version_type=sunos
 
29200
+  need_lib_prefix=no
 
29201
+  need_version=no
 
29202
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
29203
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
29204
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
29205
+    dynamic_linker='NetBSD (a.out) ld.so'
 
29206
+  else
 
29207
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
29208
+    soname_spec='${libname}${release}${shared_ext}$major'
 
29209
+    dynamic_linker='NetBSD ld.elf_so'
 
29210
+  fi
 
29211
+  shlibpath_var=LD_LIBRARY_PATH
 
29212
+  shlibpath_overrides_runpath=yes
 
29213
+  hardcode_into_libs=yes
 
29214
+  ;;
 
29215
+
 
29216
+newsos6)
 
29217
+  version_type=linux
 
29218
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29219
+  shlibpath_var=LD_LIBRARY_PATH
 
29220
+  shlibpath_overrides_runpath=yes
 
29221
+  ;;
 
29222
+
 
29223
+*nto* | *qnx*)
 
29224
+  version_type=qnx
 
29225
+  need_lib_prefix=no
 
29226
+  need_version=no
 
29227
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29228
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29229
+  shlibpath_var=LD_LIBRARY_PATH
 
29230
+  shlibpath_overrides_runpath=no
 
29231
+  hardcode_into_libs=yes
 
29232
+  dynamic_linker='ldqnx.so'
 
29233
+  ;;
 
29234
+
 
29235
+openbsd*)
 
29236
+  version_type=sunos
 
29237
+  sys_lib_dlsearch_path_spec="/usr/lib"
 
29238
+  need_lib_prefix=no
 
29239
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
29240
+  case $host_os in
 
29241
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
29242
+    *)                         need_version=no  ;;
 
29243
+  esac
 
29244
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
29245
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
29246
+  shlibpath_var=LD_LIBRARY_PATH
 
29247
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
29248
+    case $host_os in
 
29249
+      openbsd2.[[89]] | openbsd2.[[89]].*)
 
29250
+       shlibpath_overrides_runpath=no
 
29251
+       ;;
 
29252
+      *)
 
29253
+       shlibpath_overrides_runpath=yes
 
29254
+       ;;
 
29255
+      esac
 
29256
+  else
 
29257
+    shlibpath_overrides_runpath=yes
 
29258
+  fi
 
29259
+  ;;
 
29260
+
 
29261
+os2*)
 
29262
+  libname_spec='$name'
 
29263
+  shrext_cmds=".dll"
 
29264
+  need_lib_prefix=no
 
29265
+  library_names_spec='$libname${shared_ext} $libname.a'
 
29266
+  dynamic_linker='OS/2 ld.exe'
 
29267
+  shlibpath_var=LIBPATH
 
29268
+  ;;
 
29269
+
 
29270
+osf3* | osf4* | osf5*)
 
29271
+  version_type=osf
 
29272
+  need_lib_prefix=no
 
29273
+  need_version=no
 
29274
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29275
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29276
+  shlibpath_var=LD_LIBRARY_PATH
 
29277
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
29278
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
29279
+  ;;
 
29280
+
 
29281
+rdos*)
 
29282
+  dynamic_linker=no
 
29283
+  ;;
 
29284
+
 
29285
+solaris*)
 
29286
+  version_type=linux
 
29287
+  need_lib_prefix=no
 
29288
+  need_version=no
 
29289
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29290
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29291
+  shlibpath_var=LD_LIBRARY_PATH
 
29292
+  shlibpath_overrides_runpath=yes
 
29293
+  hardcode_into_libs=yes
 
29294
+  # ldd complains unless libraries are executable
 
29295
+  postinstall_cmds='chmod +x $lib'
 
29296
+  ;;
 
29297
+
 
29298
+sunos4*)
 
29299
+  version_type=sunos
 
29300
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
29301
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
29302
+  shlibpath_var=LD_LIBRARY_PATH
 
29303
+  shlibpath_overrides_runpath=yes
 
29304
+  if test "$with_gnu_ld" = yes; then
 
29305
+    need_lib_prefix=no
 
29306
+  fi
 
29307
+  need_version=yes
 
29308
+  ;;
 
29309
+
 
29310
+sysv4 | sysv4.3*)
 
29311
+  version_type=linux
 
29312
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29313
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29314
+  shlibpath_var=LD_LIBRARY_PATH
 
29315
+  case $host_vendor in
 
29316
+    sni)
 
29317
+      shlibpath_overrides_runpath=no
 
29318
+      need_lib_prefix=no
 
29319
+      runpath_var=LD_RUN_PATH
 
29320
+      ;;
 
29321
+    siemens)
 
29322
+      need_lib_prefix=no
 
29323
+      ;;
 
29324
+    motorola)
 
29325
+      need_lib_prefix=no
 
29326
+      need_version=no
 
29327
+      shlibpath_overrides_runpath=no
 
29328
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
29329
+      ;;
 
29330
+  esac
 
29331
+  ;;
 
29332
+
 
29333
+sysv4*MP*)
 
29334
+  if test -d /usr/nec ;then
 
29335
+    version_type=linux
 
29336
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
29337
+    soname_spec='$libname${shared_ext}.$major'
 
29338
+    shlibpath_var=LD_LIBRARY_PATH
 
29339
+  fi
 
29340
+  ;;
 
29341
+
 
29342
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
29343
+  version_type=freebsd-elf
 
29344
+  need_lib_prefix=no
 
29345
+  need_version=no
 
29346
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
29347
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29348
+  shlibpath_var=LD_LIBRARY_PATH
 
29349
+  shlibpath_overrides_runpath=yes
 
29350
+  hardcode_into_libs=yes
 
29351
+  if test "$with_gnu_ld" = yes; then
 
29352
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
29353
+  else
 
29354
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
29355
+    case $host_os in
 
29356
+      sco3.2v5*)
 
29357
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
29358
+       ;;
 
29359
+    esac
 
29360
+  fi
 
29361
+  sys_lib_dlsearch_path_spec='/usr/lib'
 
29362
+  ;;
 
29363
+
 
29364
+tpf*)
 
29365
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
29366
+  version_type=linux
 
29367
+  need_lib_prefix=no
 
29368
+  need_version=no
 
29369
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29370
+  shlibpath_var=LD_LIBRARY_PATH
 
29371
+  shlibpath_overrides_runpath=no
 
29372
+  hardcode_into_libs=yes
 
29373
+  ;;
 
29374
+
 
29375
+uts4*)
 
29376
+  version_type=linux
 
29377
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
29378
+  soname_spec='${libname}${release}${shared_ext}$major'
 
29379
+  shlibpath_var=LD_LIBRARY_PATH
 
29380
+  ;;
 
29381
+
 
29382
+*)
 
29383
+  dynamic_linker=no
 
29384
+  ;;
 
29385
+esac
 
29386
+AC_MSG_RESULT([$dynamic_linker])
 
29387
+test "$dynamic_linker" = no && can_build_shared=no
 
29388
+
 
29389
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
29390
+if test "$GCC" = yes; then
 
29391
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
29392
+fi
 
29393
+
 
29394
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
29395
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
29396
+fi
 
29397
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
29398
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
29399
+fi
 
29400
+
 
29401
+_LT_DECL([], [variables_saved_for_relink], [1],
 
29402
+    [Variables whose values should be saved in libtool wrapper scripts and
 
29403
+    restored at link time])
 
29404
+_LT_DECL([], [need_lib_prefix], [0],
 
29405
+    [Do we need the "lib" prefix for modules?])
 
29406
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 
29407
+_LT_DECL([], [version_type], [0], [Library versioning type])
 
29408
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 
29409
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 
29410
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
 
29411
+    [Is shlibpath searched before the hard-coded library search path?])
 
29412
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 
29413
+_LT_DECL([], [library_names_spec], [1],
 
29414
+    [[List of archive names.  First name is the real one, the rest are links.
 
29415
+    The last name is the one that the linker finds with -lNAME]])
 
29416
+_LT_DECL([], [soname_spec], [1],
 
29417
+    [[The coded name of the library, if different from the real name]])
 
29418
+_LT_DECL([], [postinstall_cmds], [2],
 
29419
+    [Command to use after installation of a shared archive])
 
29420
+_LT_DECL([], [postuninstall_cmds], [2],
 
29421
+    [Command to use after uninstallation of a shared archive])
 
29422
+_LT_DECL([], [finish_cmds], [2],
 
29423
+    [Commands used to finish a libtool library installation in a directory])
 
29424
+_LT_DECL([], [finish_eval], [1],
 
29425
+    [[As "finish_cmds", except a single script fragment to be evaled but
 
29426
+    not shown]])
 
29427
+_LT_DECL([], [hardcode_into_libs], [0],
 
29428
+    [Whether we should hardcode library paths into libraries])
 
29429
+_LT_DECL([], [sys_lib_search_path_spec], [2],
 
29430
+    [Compile-time system search path for libraries])
 
29431
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
 
29432
+    [Run-time system search path for libraries])
 
29433
+])# _LT_SYS_DYNAMIC_LINKER
 
29434
+
 
29435
+
 
29436
+# _LT_PATH_TOOL_PREFIX(TOOL)
 
29437
+# --------------------------
 
29438
+# find a file program which can recognize shared library
 
29439
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 
29440
+[m4_require([_LT_DECL_EGREP])dnl
 
29441
+AC_MSG_CHECKING([for $1])
 
29442
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
29443
+[case $MAGIC_CMD in
 
29444
+[[\\/*] |  ?:[\\/]*])
 
29445
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
29446
+  ;;
 
29447
+*)
 
29448
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
29449
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
29450
+dnl $ac_dummy forces splitting on constant user-supplied paths.
 
29451
+dnl POSIX.2 word splitting is done only on the output of word expansions,
 
29452
+dnl not every word.  This closes a longstanding sh security hole.
 
29453
+  ac_dummy="m4_if([$2], , $PATH, [$2])"
 
29454
+  for ac_dir in $ac_dummy; do
 
29455
+    IFS="$lt_save_ifs"
 
29456
+    test -z "$ac_dir" && ac_dir=.
 
29457
+    if test -f $ac_dir/$1; then
 
29458
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
29459
+      if test -n "$file_magic_test_file"; then
 
29460
+       case $deplibs_check_method in
 
29461
+       "file_magic "*)
 
29462
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
29463
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
29464
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
29465
+           $EGREP "$file_magic_regex" > /dev/null; then
 
29466
+           :
 
29467
+         else
 
29468
+           cat <<_LT_EOF 1>&2
 
29469
+
 
29470
+*** Warning: the command libtool uses to detect shared libraries,
 
29471
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
29472
+*** The result is that libtool may fail to recognize shared libraries
 
29473
+*** as such.  This will affect the creation of libtool libraries that
 
29474
+*** depend on shared libraries, but programs linked with such libtool
 
29475
+*** libraries will work regardless of this problem.  Nevertheless, you
 
29476
+*** may want to report the problem to your system manager and/or to
 
29477
+*** bug-libtool@gnu.org
 
29478
+
 
29479
+_LT_EOF
 
29480
+         fi ;;
 
29481
+       esac
 
29482
+      fi
 
29483
+      break
 
29484
+    fi
 
29485
+  done
 
29486
+  IFS="$lt_save_ifs"
 
29487
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
29488
+  ;;
 
29489
+esac])
 
29490
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
29491
+if test -n "$MAGIC_CMD"; then
 
29492
+  AC_MSG_RESULT($MAGIC_CMD)
 
29493
+else
 
29494
+  AC_MSG_RESULT(no)
 
29495
+fi
 
29496
+_LT_DECL([], [MAGIC_CMD], [0],
 
29497
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 
29498
+])# _LT_PATH_TOOL_PREFIX
 
29499
+
 
29500
+# Old name:
 
29501
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 
29502
+dnl aclocal-1.4 backwards compatibility:
 
29503
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 
29504
+
 
29505
+
 
29506
+# _LT_PATH_MAGIC
 
29507
+# --------------
 
29508
+# find a file program which can recognize a shared library
 
29509
+m4_defun([_LT_PATH_MAGIC],
 
29510
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
29511
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
29512
+  if test -n "$ac_tool_prefix"; then
 
29513
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
29514
+  else
 
29515
+    MAGIC_CMD=:
 
29516
+  fi
 
29517
+fi
 
29518
+])# _LT_PATH_MAGIC
 
29519
+
 
29520
+
 
29521
+# LT_PATH_LD
 
29522
+# ----------
 
29523
+# find the pathname to the GNU or non-GNU linker
 
29524
+AC_DEFUN([LT_PATH_LD],
 
29525
+[AC_REQUIRE([AC_PROG_CC])dnl
 
29526
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
29527
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
29528
+m4_require([_LT_DECL_SED])dnl
 
29529
+m4_require([_LT_DECL_EGREP])dnl
 
29530
+
 
29531
+AC_ARG_WITH([gnu-ld],
 
29532
+    [AS_HELP_STRING([--with-gnu-ld],
 
29533
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
29534
+    [test "$withval" = no || with_gnu_ld=yes],
 
29535
+    [with_gnu_ld=no])dnl
 
29536
+
 
29537
+ac_prog=ld
 
29538
+if test "$GCC" = yes; then
 
29539
+  # Check if gcc -print-prog-name=ld gives a path.
 
29540
+  AC_MSG_CHECKING([for ld used by $CC])
 
29541
+  case $host in
 
29542
+  *-*-mingw*)
 
29543
+    # gcc leaves a trailing carriage return which upsets mingw
 
29544
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
29545
+  *)
 
29546
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
29547
+  esac
 
29548
+  case $ac_prog in
 
29549
+    # Accept absolute paths.
 
29550
+    [[\\/]]* | ?:[[\\/]]*)
 
29551
+      re_direlt='/[[^/]][[^/]]*/\.\./'
 
29552
+      # Canonicalize the pathname of ld
 
29553
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
29554
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
29555
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
29556
+      done
 
29557
+      test -z "$LD" && LD="$ac_prog"
 
29558
+      ;;
 
29559
+  "")
 
29560
+    # If it fails, then pretend we aren't using GCC.
 
29561
+    ac_prog=ld
 
29562
+    ;;
 
29563
+  *)
 
29564
+    # If it is relative, then search for the first ld in PATH.
 
29565
+    with_gnu_ld=unknown
 
29566
+    ;;
 
29567
+  esac
 
29568
+elif test "$with_gnu_ld" = yes; then
 
29569
+  AC_MSG_CHECKING([for GNU ld])
 
29570
+else
 
29571
+  AC_MSG_CHECKING([for non-GNU ld])
 
29572
+fi
 
29573
+AC_CACHE_VAL(lt_cv_path_LD,
 
29574
+[if test -z "$LD"; then
 
29575
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
29576
+  for ac_dir in $PATH; do
 
29577
+    IFS="$lt_save_ifs"
 
29578
+    test -z "$ac_dir" && ac_dir=.
 
29579
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
29580
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
29581
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
29582
+      # but apparently some variants of GNU ld only accept -v.
 
29583
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
29584
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
29585
+      *GNU* | *'with BFD'*)
 
29586
+       test "$with_gnu_ld" != no && break
 
29587
+       ;;
 
29588
+      *)
 
29589
+       test "$with_gnu_ld" != yes && break
 
29590
+       ;;
 
29591
+      esac
 
29592
+    fi
 
29593
+  done
 
29594
+  IFS="$lt_save_ifs"
 
29595
+else
 
29596
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
29597
+fi])
 
29598
+LD="$lt_cv_path_LD"
 
29599
+if test -n "$LD"; then
 
29600
+  AC_MSG_RESULT($LD)
 
29601
+else
 
29602
+  AC_MSG_RESULT(no)
 
29603
+fi
 
29604
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
29605
+_LT_PATH_LD_GNU
 
29606
+AC_SUBST([LD])
 
29607
+
 
29608
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 
29609
+])# LT_PATH_LD
 
29610
+
 
29611
+# Old names:
 
29612
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 
29613
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 
29614
+dnl aclocal-1.4 backwards compatibility:
 
29615
+dnl AC_DEFUN([AM_PROG_LD], [])
 
29616
+dnl AC_DEFUN([AC_PROG_LD], [])
 
29617
+
 
29618
+
 
29619
+# _LT_PATH_LD_GNU
 
29620
+#- --------------
 
29621
+m4_defun([_LT_PATH_LD_GNU],
 
29622
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
29623
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 
29624
+case `$LD -v 2>&1 </dev/null` in
 
29625
+*GNU* | *'with BFD'*)
 
29626
+  lt_cv_prog_gnu_ld=yes
 
29627
+  ;;
 
29628
+*)
 
29629
+  lt_cv_prog_gnu_ld=no
 
29630
+  ;;
 
29631
+esac])
 
29632
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
29633
+])# _LT_PATH_LD_GNU
 
29634
+
 
29635
+
 
29636
+# _LT_CMD_RELOAD
 
29637
+# --------------
 
29638
+# find reload flag for linker
 
29639
+#   -- PORTME Some linkers may need a different reload flag.
 
29640
+m4_defun([_LT_CMD_RELOAD],
 
29641
+[AC_CACHE_CHECK([for $LD option to reload object files],
 
29642
+  lt_cv_ld_reload_flag,
 
29643
+  [lt_cv_ld_reload_flag='-r'])
 
29644
+reload_flag=$lt_cv_ld_reload_flag
 
29645
+case $reload_flag in
 
29646
+"" | " "*) ;;
 
29647
+*) reload_flag=" $reload_flag" ;;
 
29648
+esac
 
29649
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
29650
+case $host_os in
 
29651
+  darwin*)
 
29652
+    if test "$GCC" = yes; then
 
29653
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
29654
+    else
 
29655
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
29656
+    fi
 
29657
+    ;;
 
29658
+esac
 
29659
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
29660
+_LT_DECL([], [reload_cmds], [2])dnl
 
29661
+])# _LT_CMD_RELOAD
 
29662
+
 
29663
+
 
29664
+# _LT_CHECK_MAGIC_METHOD
 
29665
+# ----------------------
 
29666
+# how to check for library dependencies
 
29667
+#  -- PORTME fill in with the dynamic library characteristics
 
29668
+m4_defun([_LT_CHECK_MAGIC_METHOD],
 
29669
+[m4_require([_LT_DECL_EGREP])
 
29670
+m4_require([_LT_DECL_OBJDUMP])
 
29671
+AC_CACHE_CHECK([how to recognize dependent libraries],
 
29672
+lt_cv_deplibs_check_method,
 
29673
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
29674
+lt_cv_file_magic_test_file=
 
29675
+lt_cv_deplibs_check_method='unknown'
 
29676
+# Need to set the preceding variable on all platforms that support
 
29677
+# interlibrary dependencies.
 
29678
+# 'none' -- dependencies not supported.
 
29679
+# `unknown' -- same as none, but documents that we really don't know.
 
29680
+# 'pass_all' -- all dependencies passed with no checks.
 
29681
+# 'test_compile' -- check by making test program.
 
29682
+# 'file_magic [[regex]]' -- check by looking for files in library path
 
29683
+# which responds to the $file_magic_cmd with a given extended regex.
 
29684
+# If you have `file' or equivalent on your system and you're not sure
 
29685
+# whether `pass_all' will *always* work, you probably want this one.
 
29686
+
 
29687
+case $host_os in
 
29688
+aix[[4-9]]*)
 
29689
+  lt_cv_deplibs_check_method=pass_all
 
29690
+  ;;
 
29691
+
 
29692
+beos*)
 
29693
+  lt_cv_deplibs_check_method=pass_all
 
29694
+  ;;
 
29695
+
 
29696
+bsdi[[45]]*)
 
29697
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
29698
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
29699
+  lt_cv_file_magic_test_file=/shlib/libc.so
 
29700
+  ;;
 
29701
+
 
29702
+cygwin*)
 
29703
+  # func_win32_libid is a shell function defined in ltmain.sh
 
29704
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
29705
+  lt_cv_file_magic_cmd='func_win32_libid'
 
29706
+  ;;
 
29707
+
 
29708
+mingw* | pw32*)
 
29709
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
29710
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
29711
+  # unless we find 'file', for example because we are cross-compiling.
 
29712
+  if ( file / ) >/dev/null 2>&1; then
 
29713
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
29714
+    lt_cv_file_magic_cmd='func_win32_libid'
 
29715
+  else
 
29716
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
29717
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
29718
+  fi
 
29719
+  ;;
 
29720
+
 
29721
+cegcc)
 
29722
+  # use the weaker test based on 'objdump'. See mingw*.
 
29723
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
29724
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
29725
+  ;;
 
29726
+
 
29727
+darwin* | rhapsody*)
 
29728
+  lt_cv_deplibs_check_method=pass_all
 
29729
+  ;;
 
29730
+
 
29731
+freebsd* | dragonfly*)
 
29732
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
29733
+    case $host_cpu in
 
29734
+    i*86 )
 
29735
+      # Not sure whether the presence of OpenBSD here was a mistake.
 
29736
+      # Let's accept both of them until this is cleared up.
 
29737
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 
29738
+      lt_cv_file_magic_cmd=/usr/bin/file
 
29739
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
29740
+      ;;
 
29741
+    esac
 
29742
+  else
 
29743
+    lt_cv_deplibs_check_method=pass_all
 
29744
+  fi
 
29745
+  ;;
 
29746
+
 
29747
+gnu*)
 
29748
+  lt_cv_deplibs_check_method=pass_all
 
29749
+  ;;
 
29750
+
 
29751
+hpux10.20* | hpux11*)
 
29752
+  lt_cv_file_magic_cmd=/usr/bin/file
 
29753
+  case $host_cpu in
 
29754
+  ia64*)
 
29755
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
29756
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
29757
+    ;;
 
29758
+  hppa*64*)
 
29759
+    [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]']
 
29760
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
29761
+    ;;
 
29762
+  *)
 
29763
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
29764
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
29765
+    ;;
 
29766
+  esac
 
29767
+  ;;
 
29768
+
 
29769
+interix[[3-9]]*)
 
29770
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
29771
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 
29772
+  ;;
 
29773
+
 
29774
+irix5* | irix6* | nonstopux*)
 
29775
+  case $LD in
 
29776
+  *-32|*"-32 ") libmagic=32-bit;;
 
29777
+  *-n32|*"-n32 ") libmagic=N32;;
 
29778
+  *-64|*"-64 ") libmagic=64-bit;;
 
29779
+  *) libmagic=never-match;;
 
29780
+  esac
 
29781
+  lt_cv_deplibs_check_method=pass_all
 
29782
+  ;;
 
29783
+
 
29784
+# This must be Linux ELF.
 
29785
+linux* | k*bsd*-gnu)
 
29786
+  lt_cv_deplibs_check_method=pass_all
 
29787
+  ;;
 
29788
+
 
29789
+netbsd* | netbsdelf*-gnu)
 
29790
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
29791
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
29792
+  else
 
29793
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
29794
+  fi
 
29795
+  ;;
 
29796
+
 
29797
+newos6*)
 
29798
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
29799
+  lt_cv_file_magic_cmd=/usr/bin/file
 
29800
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
29801
+  ;;
 
29802
+
 
29803
+*nto* | *qnx*)
 
29804
+  lt_cv_deplibs_check_method=pass_all
 
29805
+  ;;
 
29806
+
 
29807
+openbsd*)
 
29808
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
29809
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 
29810
+  else
 
29811
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
29812
+  fi
 
29813
+  ;;
 
29814
+
 
29815
+osf3* | osf4* | osf5*)
 
29816
+  lt_cv_deplibs_check_method=pass_all
 
29817
+  ;;
 
29818
+
 
29819
+rdos*)
 
29820
+  lt_cv_deplibs_check_method=pass_all
 
29821
+  ;;
 
29822
+
 
29823
+solaris*)
 
29824
+  lt_cv_deplibs_check_method=pass_all
 
29825
+  ;;
 
29826
+
 
29827
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
29828
+  lt_cv_deplibs_check_method=pass_all
 
29829
+  ;;
 
29830
+
 
29831
+sysv4 | sysv4.3*)
 
29832
+  case $host_vendor in
 
29833
+  motorola)
 
29834
+    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]]'
 
29835
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
29836
+    ;;
 
29837
+  ncr)
 
29838
+    lt_cv_deplibs_check_method=pass_all
 
29839
+    ;;
 
29840
+  sequent)
 
29841
+    lt_cv_file_magic_cmd='/bin/file'
 
29842
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
29843
+    ;;
 
29844
+  sni)
 
29845
+    lt_cv_file_magic_cmd='/bin/file'
 
29846
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
29847
+    lt_cv_file_magic_test_file=/lib/libc.so
 
29848
+    ;;
 
29849
+  siemens)
 
29850
+    lt_cv_deplibs_check_method=pass_all
 
29851
+    ;;
 
29852
+  pc)
 
29853
+    lt_cv_deplibs_check_method=pass_all
 
29854
+    ;;
 
29855
+  esac
 
29856
+  ;;
 
29857
+
 
29858
+tpf*)
 
29859
+  lt_cv_deplibs_check_method=pass_all
 
29860
+  ;;
 
29861
+esac
 
29862
+])
 
29863
+file_magic_cmd=$lt_cv_file_magic_cmd
 
29864
+deplibs_check_method=$lt_cv_deplibs_check_method
 
29865
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
29866
+
 
29867
+_LT_DECL([], [deplibs_check_method], [1],
 
29868
+    [Method to check whether dependent libraries are shared objects])
 
29869
+_LT_DECL([], [file_magic_cmd], [1],
 
29870
+    [Command to use when deplibs_check_method == "file_magic"])
 
29871
+])# _LT_CHECK_MAGIC_METHOD
 
29872
+
 
29873
+
 
29874
+# LT_PATH_NM
 
29875
+# ----------
 
29876
+# find the pathname to a BSD- or MS-compatible name lister
 
29877
+AC_DEFUN([LT_PATH_NM],
 
29878
+[AC_REQUIRE([AC_PROG_CC])dnl
 
29879
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 
29880
+[if test -n "$NM"; then
 
29881
+  # Let the user override the test.
 
29882
+  lt_cv_path_NM="$NM"
 
29883
+else
 
29884
+  lt_nm_to_check="${ac_tool_prefix}nm"
 
29885
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
29886
+    lt_nm_to_check="$lt_nm_to_check nm"
 
29887
+  fi
 
29888
+  for lt_tmp_nm in $lt_nm_to_check; do
 
29889
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
29890
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
29891
+      IFS="$lt_save_ifs"
 
29892
+      test -z "$ac_dir" && ac_dir=.
 
29893
+      tmp_nm="$ac_dir/$lt_tmp_nm"
 
29894
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
29895
+       # Check to see if the nm accepts a BSD-compat flag.
 
29896
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
29897
+       #   nm: unknown option "B" ignored
 
29898
+       # Tru64's nm complains that /dev/null is an invalid object file
 
29899
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
29900
+       */dev/null* | *'Invalid file or object type'*)
 
29901
+         lt_cv_path_NM="$tmp_nm -B"
 
29902
+         break
 
29903
+         ;;
 
29904
+       *)
 
29905
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
29906
+         */dev/null*)
 
29907
+           lt_cv_path_NM="$tmp_nm -p"
 
29908
+           break
 
29909
+           ;;
 
29910
+         *)
 
29911
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
29912
+           continue # so that we can try to find one that supports BSD flags
 
29913
+           ;;
 
29914
+         esac
 
29915
+         ;;
 
29916
+       esac
 
29917
+      fi
 
29918
+    done
 
29919
+    IFS="$lt_save_ifs"
 
29920
+  done
 
29921
+  : ${lt_cv_path_NM=no}
 
29922
+fi])
 
29923
+if test "$lt_cv_path_NM" != "no"; then
 
29924
+  NM="$lt_cv_path_NM"
 
29925
+else
 
29926
+  # Didn't find any BSD compatible name lister, look for dumpbin.
 
29927
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
29928
+  AC_SUBST([DUMPBIN])
 
29929
+  if test "$DUMPBIN" != ":"; then
 
29930
+    NM="$DUMPBIN"
 
29931
+  fi
 
29932
+fi
 
29933
+test -z "$NM" && NM=nm
 
29934
+AC_SUBST([NM])
 
29935
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 
29936
+
 
29937
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
 
29938
+  [lt_cv_nm_interface="BSD nm"
 
29939
+  echo "int some_variable = 0;" > conftest.$ac_ext
 
29940
+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
29941
+  (eval "$ac_compile" 2>conftest.err)
 
29942
+  cat conftest.err >&AS_MESSAGE_LOG_FD
 
29943
+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
29944
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
29945
+  cat conftest.err >&AS_MESSAGE_LOG_FD
 
29946
+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
29947
+  cat conftest.out >&AS_MESSAGE_LOG_FD
 
29948
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
29949
+    lt_cv_nm_interface="MS dumpbin"
 
29950
+  fi
 
29951
+  rm -f conftest*])
 
29952
+])# LT_PATH_NM
 
29953
+
 
29954
+# Old names:
 
29955
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
 
29956
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
 
29957
+dnl aclocal-1.4 backwards compatibility:
 
29958
+dnl AC_DEFUN([AM_PROG_NM], [])
 
29959
+dnl AC_DEFUN([AC_PROG_NM], [])
 
29960
+
 
29961
+
 
29962
+# LT_LIB_M
 
29963
+# --------
 
29964
+# check for math library
 
29965
+AC_DEFUN([LT_LIB_M],
 
29966
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
29967
+LIBM=
 
29968
+case $host in
 
29969
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
29970
+  # These system don't have libm, or don't need it
 
29971
+  ;;
 
29972
+*-ncr-sysv4.3*)
 
29973
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
29974
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
29975
+  ;;
 
29976
+*)
 
29977
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
29978
+  ;;
 
29979
+esac
 
29980
+AC_SUBST([LIBM])
 
29981
+])# LT_LIB_M
 
29982
+
 
29983
+# Old name:
 
29984
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
 
29985
+dnl aclocal-1.4 backwards compatibility:
 
29986
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
 
29987
+
 
29988
+
 
29989
+# _LT_COMPILER_NO_RTTI([TAGNAME])
 
29990
+# -------------------------------
 
29991
+m4_defun([_LT_COMPILER_NO_RTTI],
 
29992
+[m4_require([_LT_TAG_COMPILER])dnl
 
29993
+
 
29994
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
29995
+
 
29996
+if test "$GCC" = yes; then
 
29997
+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
29998
+
 
29999
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
30000
+    lt_cv_prog_compiler_rtti_exceptions,
 
30001
+    [-fno-rtti -fno-exceptions], [],
 
30002
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
30003
+fi
 
30004
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
 
30005
+       [Compiler flag to turn off builtin functions])
 
30006
+])# _LT_COMPILER_NO_RTTI
 
30007
+
 
30008
+
 
30009
+# _LT_CMD_GLOBAL_SYMBOLS
 
30010
+# ----------------------
 
30011
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
 
30012
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
30013
+AC_REQUIRE([AC_PROG_CC])dnl
 
30014
+AC_REQUIRE([LT_PATH_NM])dnl
 
30015
+AC_REQUIRE([LT_PATH_LD])dnl
 
30016
+m4_require([_LT_DECL_SED])dnl
 
30017
+m4_require([_LT_DECL_EGREP])dnl
 
30018
+m4_require([_LT_TAG_COMPILER])dnl
 
30019
+
 
30020
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
30021
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 
30022
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 
30023
+[
 
30024
+# These are sane defaults that work on at least a few old systems.
 
30025
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
30026
+
 
30027
+# Character class describing NM global symbol codes.
 
30028
+symcode='[[BCDEGRST]]'
 
30029
+
 
30030
+# Regexp to match symbols that can be accessed directly from C.
 
30031
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
30032
+
 
30033
+# Define system-specific variables.
 
30034
+case $host_os in
 
30035
+aix*)
 
30036
+  symcode='[[BCDT]]'
 
30037
+  ;;
 
30038
+cygwin* | mingw* | pw32* | cegcc*)
 
30039
+  symcode='[[ABCDGISTW]]'
 
30040
+  ;;
 
30041
+hpux*)
 
30042
+  if test "$host_cpu" = ia64; then
 
30043
+    symcode='[[ABCDEGRST]]'
 
30044
+  fi
 
30045
+  ;;
 
30046
+irix* | nonstopux*)
 
30047
+  symcode='[[BCDEGRST]]'
 
30048
+  ;;
 
30049
+osf*)
 
30050
+  symcode='[[BCDEGQRST]]'
 
30051
+  ;;
 
30052
+solaris*)
 
30053
+  symcode='[[BDRT]]'
 
30054
+  ;;
 
30055
+sco3.2v5*)
 
30056
+  symcode='[[DT]]'
 
30057
+  ;;
 
30058
+sysv4.2uw2*)
 
30059
+  symcode='[[DT]]'
 
30060
+  ;;
 
30061
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
30062
+  symcode='[[ABDT]]'
 
30063
+  ;;
 
30064
+sysv4)
 
30065
+  symcode='[[DFNSTU]]'
 
30066
+  ;;
 
30067
+esac
 
30068
+
 
30069
+# If we're using GNU nm, then use its standard symbol codes.
 
30070
+case `$NM -V 2>&1` in
 
30071
+*GNU* | *'with BFD'*)
 
30072
+  symcode='[[ABCDGIRSTW]]' ;;
 
30073
+esac
 
30074
+
 
30075
+# Transform an extracted symbol line into a proper C declaration.
 
30076
+# Some systems (esp. on ia64) link data and code symbols differently,
 
30077
+# so use this general approach.
 
30078
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
30079
+
 
30080
+# Transform an extracted symbol line into symbol name and symbol address
 
30081
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
30082
+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'"
 
30083
+
 
30084
+# Handle CRLF in mingw tool chain
 
30085
+opt_cr=
 
30086
+case $build_os in
 
30087
+mingw*)
 
30088
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
30089
+  ;;
 
30090
+esac
 
30091
+
 
30092
+# Try without a prefix underscore, then with it.
 
30093
+for ac_symprfx in "" "_"; do
 
30094
+
 
30095
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
30096
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
30097
+
 
30098
+  # Write the raw and C identifiers.
 
30099
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
30100
+    # Fake it for dumpbin and say T for any non-static function
 
30101
+    # and D for any global variable.
 
30102
+    # Also find C++ and __fastcall symbols from MSVC++,
 
30103
+    # which start with @ or ?.
 
30104
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
 
30105
+"     {last_section=section; section=\$ 3};"\
 
30106
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
30107
+"     \$ 0!~/External *\|/{next};"\
 
30108
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
30109
+"     {if(hide[section]) next};"\
 
30110
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
30111
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
30112
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
30113
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
30114
+"     ' prfx=^$ac_symprfx]"
 
30115
+  else
 
30116
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
30117
+  fi
 
30118
+
 
30119
+  # Check to see that the pipe works correctly.
 
30120
+  pipe_works=no
 
30121
+
 
30122
+  rm -f conftest*
 
30123
+  cat > conftest.$ac_ext <<_LT_EOF
 
30124
+#ifdef __cplusplus
 
30125
+extern "C" {
 
30126
+#endif
 
30127
+char nm_test_var;
 
30128
+void nm_test_func(void);
 
30129
+void nm_test_func(void){}
 
30130
+#ifdef __cplusplus
 
30131
+}
 
30132
+#endif
 
30133
+int main(){nm_test_var='a';nm_test_func();return(0);}
 
30134
+_LT_EOF
 
30135
+
 
30136
+  if AC_TRY_EVAL(ac_compile); then
 
30137
+    # Now try to grab the symbols.
 
30138
+    nlist=conftest.nm
 
30139
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
30140
+      # Try sorting and uniquifying the output.
 
30141
+      if sort "$nlist" | uniq > "$nlist"T; then
 
30142
+       mv -f "$nlist"T "$nlist"
 
30143
+      else
 
30144
+       rm -f "$nlist"T
 
30145
+      fi
 
30146
+
 
30147
+      # Make sure that we snagged all the symbols we need.
 
30148
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
30149
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
30150
+         cat <<_LT_EOF > conftest.$ac_ext
 
30151
+#ifdef __cplusplus
 
30152
+extern "C" {
 
30153
+#endif
 
30154
+
 
30155
+_LT_EOF
 
30156
+         # Now generate the symbol file.
 
30157
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
30158
+
 
30159
+         cat <<_LT_EOF >> conftest.$ac_ext
 
30160
+
 
30161
+/* The mapping between symbol names and symbols.  */
 
30162
+const struct {
 
30163
+  const char *name;
 
30164
+  void       *address;
 
30165
+}
 
30166
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
 
30167
+{
 
30168
+  { "@PROGRAM@", (void *) 0 },
 
30169
+_LT_EOF
 
30170
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
30171
+         cat <<\_LT_EOF >> conftest.$ac_ext
 
30172
+  {0, (void *) 0}
 
30173
+};
 
30174
+
 
30175
+/* This works around a problem in FreeBSD linker */
 
30176
+#ifdef FREEBSD_WORKAROUND
 
30177
+static const void *lt_preloaded_setup() {
 
30178
+  return lt__PROGRAM__LTX_preloaded_symbols;
 
30179
+}
 
30180
+#endif
 
30181
+
 
30182
+#ifdef __cplusplus
 
30183
+}
 
30184
+#endif
 
30185
+_LT_EOF
 
30186
+         # Now try linking the two files.
 
30187
+         mv conftest.$ac_objext conftstm.$ac_objext
 
30188
+         lt_save_LIBS="$LIBS"
 
30189
+         lt_save_CFLAGS="$CFLAGS"
 
30190
+         LIBS="conftstm.$ac_objext"
 
30191
+         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 
30192
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 
30193
+           pipe_works=yes
 
30194
+         fi
 
30195
+         LIBS="$lt_save_LIBS"
 
30196
+         CFLAGS="$lt_save_CFLAGS"
 
30197
+       else
 
30198
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 
30199
+       fi
 
30200
+      else
 
30201
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
 
30202
+      fi
 
30203
+    else
 
30204
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
 
30205
+    fi
 
30206
+  else
 
30207
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
 
30208
+    cat conftest.$ac_ext >&5
 
30209
+  fi
 
30210
+  rm -rf conftest* conftst*
 
30211
+
 
30212
+  # Do not use the global_symbol_pipe unless it works.
 
30213
+  if test "$pipe_works" = yes; then
 
30214
+    break
 
30215
+  else
 
30216
+    lt_cv_sys_global_symbol_pipe=
 
30217
+  fi
 
30218
+done
 
30219
+])
 
30220
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
30221
+  lt_cv_sys_global_symbol_to_cdecl=
 
30222
+fi
 
30223
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
30224
+  AC_MSG_RESULT(failed)
 
30225
+else
 
30226
+  AC_MSG_RESULT(ok)
 
30227
+fi
 
30228
+
 
30229
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
 
30230
+    [Take the output of nm and produce a listing of raw symbols and C names])
 
30231
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
 
30232
+    [Transform the output of nm in a proper C declaration])
 
30233
+_LT_DECL([global_symbol_to_c_name_address],
 
30234
+    [lt_cv_sys_global_symbol_to_c_name_address], [1],
 
30235
+    [Transform the output of nm in a C name address pair])
 
30236
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
 
30237
+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
 
30238
+    [Transform the output of nm in a C name address pair when lib prefix is needed])
 
30239
+]) # _LT_CMD_GLOBAL_SYMBOLS
 
30240
+
 
30241
+
 
30242
+# _LT_COMPILER_PIC([TAGNAME])
 
30243
+# ---------------------------
 
30244
+m4_defun([_LT_COMPILER_PIC],
 
30245
+[m4_require([_LT_TAG_COMPILER])dnl
 
30246
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
 
30247
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30248
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
 
30249
+
 
30250
+AC_MSG_CHECKING([for $compiler option to produce PIC])
 
30251
+m4_if([$1], [CXX], [
 
30252
+  # C++ specific cases for pic, static, wl, etc.
 
30253
+  if test "$GXX" = yes; then
 
30254
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30255
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30256
+
 
30257
+    case $host_os in
 
30258
+    aix*)
 
30259
+      # All AIX code is PIC.
 
30260
+      if test "$host_cpu" = ia64; then
 
30261
+       # AIX 5 now supports IA64 processor
 
30262
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30263
+      fi
 
30264
+      ;;
 
30265
+
 
30266
+    amigaos*)
 
30267
+      case $host_cpu in
 
30268
+      powerpc)
 
30269
+            # see comment about AmigaOS4 .so support
 
30270
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30271
+        ;;
 
30272
+      m68k)
 
30273
+            # FIXME: we need at least 68020 code to build shared libraries, but
 
30274
+            # adding the `-m68020' flag to GCC prevents building anything better,
 
30275
+            # like `-m68040'.
 
30276
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
30277
+        ;;
 
30278
+      esac
 
30279
+      ;;
 
30280
+
 
30281
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
30282
+      # PIC is the default for these OSes.
 
30283
+      ;;
 
30284
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
30285
+      # This hack is so that the source file can tell whether it is being
 
30286
+      # built for inclusion in a dll (and should export symbols for example).
 
30287
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
30288
+      # (--disable-auto-import) libraries
 
30289
+      m4_if([$1], [GCJ], [],
 
30290
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
30291
+      ;;
 
30292
+    darwin* | rhapsody*)
 
30293
+      # PIC is the default on this platform
 
30294
+      # Common symbols not allowed in MH_DYLIB files
 
30295
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
30296
+      ;;
 
30297
+    *djgpp*)
 
30298
+      # DJGPP does not support shared libraries at all
 
30299
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30300
+      ;;
 
30301
+    interix[[3-9]]*)
 
30302
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
30303
+      # Instead, we relocate shared libraries at runtime.
 
30304
+      ;;
 
30305
+    sysv4*MP*)
 
30306
+      if test -d /usr/nec; then
 
30307
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
30308
+      fi
 
30309
+      ;;
 
30310
+    hpux*)
 
30311
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
30312
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
30313
+      # sets the default TLS model and affects inlining.
 
30314
+      case $host_cpu in
 
30315
+      hppa*64*)
 
30316
+       ;;
 
30317
+      *)
 
30318
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30319
+       ;;
 
30320
+      esac
 
30321
+      ;;
 
30322
+    *qnx* | *nto*)
 
30323
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
30324
+      # it will coredump.
 
30325
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
30326
+      ;;
 
30327
+    *)
 
30328
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30329
+      ;;
 
30330
+    esac
 
30331
+  else
 
30332
+    case $host_os in
 
30333
+      aix[[4-9]]*)
 
30334
+       # All AIX code is PIC.
 
30335
+       if test "$host_cpu" = ia64; then
 
30336
+         # AIX 5 now supports IA64 processor
 
30337
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30338
+       else
 
30339
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
30340
+       fi
 
30341
+       ;;
 
30342
+      chorus*)
 
30343
+       case $cc_basename in
 
30344
+       cxch68*)
 
30345
+         # Green Hills C++ Compiler
 
30346
+         # _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"
 
30347
+         ;;
 
30348
+       esac
 
30349
+       ;;
 
30350
+      dgux*)
 
30351
+       case $cc_basename in
 
30352
+         ec++*)
 
30353
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30354
+           ;;
 
30355
+         ghcx*)
 
30356
+           # Green Hills C++ Compiler
 
30357
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
30358
+           ;;
 
30359
+         *)
 
30360
+           ;;
 
30361
+       esac
 
30362
+       ;;
 
30363
+      freebsd* | dragonfly*)
 
30364
+       # FreeBSD uses GNU C++
 
30365
+       ;;
 
30366
+      hpux9* | hpux10* | hpux11*)
 
30367
+       case $cc_basename in
 
30368
+         CC*)
 
30369
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30370
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
30371
+           if test "$host_cpu" != ia64; then
 
30372
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
30373
+           fi
 
30374
+           ;;
 
30375
+         aCC*)
 
30376
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30377
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
30378
+           case $host_cpu in
 
30379
+           hppa*64*|ia64*)
 
30380
+             # +Z the default
 
30381
+             ;;
 
30382
+           *)
 
30383
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
30384
+             ;;
 
30385
+           esac
 
30386
+           ;;
 
30387
+         *)
 
30388
+           ;;
 
30389
+       esac
 
30390
+       ;;
 
30391
+      interix*)
 
30392
+       # This is c89, which is MS Visual C++ (no shared libs)
 
30393
+       # Anyone wants to do a port?
 
30394
+       ;;
 
30395
+      irix5* | irix6* | nonstopux*)
 
30396
+       case $cc_basename in
 
30397
+         CC*)
 
30398
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30399
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30400
+           # CC pic flag -KPIC is the default.
 
30401
+           ;;
 
30402
+         *)
 
30403
+           ;;
 
30404
+       esac
 
30405
+       ;;
 
30406
+      linux* | k*bsd*-gnu)
 
30407
+       case $cc_basename in
 
30408
+         KCC*)
 
30409
+           # KAI C++ Compiler
 
30410
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
30411
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30412
+           ;;
 
30413
+         ecpc* )
 
30414
+           # old Intel C++ for x86_64 which still supported -KPIC.
 
30415
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30416
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30417
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30418
+           ;;
 
30419
+         icpc* )
 
30420
+           # Intel C++, used to be incompatible with GCC.
 
30421
+           # ICC 10 doesn't accept -KPIC any more.
 
30422
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30423
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30424
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30425
+           ;;
 
30426
+         pgCC* | pgcpp*)
 
30427
+           # Portland Group C++ compiler
 
30428
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30429
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
30430
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30431
+           ;;
 
30432
+         cxx*)
 
30433
+           # Compaq C++
 
30434
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
30435
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
30436
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30437
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30438
+           ;;
 
30439
+         xlc* | xlC*)
 
30440
+           # IBM XL 8.0 on PPC
 
30441
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30442
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 
30443
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 
30444
+           ;;
 
30445
+         *)
 
30446
+           case `$CC -V 2>&1 | sed 5q` in
 
30447
+           *Sun\ C*)
 
30448
+             # Sun C++ 5.9
 
30449
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30450
+             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30451
+             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
30452
+             ;;
 
30453
+           esac
 
30454
+           ;;
 
30455
+       esac
 
30456
+       ;;
 
30457
+      lynxos*)
 
30458
+       ;;
 
30459
+      m88k*)
 
30460
+       ;;
 
30461
+      mvs*)
 
30462
+       case $cc_basename in
 
30463
+         cxx*)
 
30464
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 
30465
+           ;;
 
30466
+         *)
 
30467
+           ;;
 
30468
+       esac
 
30469
+       ;;
 
30470
+      netbsd* | netbsdelf*-gnu)
 
30471
+       ;;
 
30472
+      *qnx* | *nto*)
 
30473
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
30474
+        # it will coredump.
 
30475
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
30476
+        ;;
 
30477
+      osf3* | osf4* | osf5*)
 
30478
+       case $cc_basename in
 
30479
+         KCC*)
 
30480
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
30481
+           ;;
 
30482
+         RCC*)
 
30483
+           # Rational C++ 2.4.1
 
30484
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
30485
+           ;;
 
30486
+         cxx*)
 
30487
+           # Digital/Compaq C++
 
30488
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30489
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
30490
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
30491
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30492
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30493
+           ;;
 
30494
+         *)
 
30495
+           ;;
 
30496
+       esac
 
30497
+       ;;
 
30498
+      psos*)
 
30499
+       ;;
 
30500
+      solaris*)
 
30501
+       case $cc_basename in
 
30502
+         CC*)
 
30503
+           # Sun C++ 4.2, 5.x and Centerline C++
 
30504
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30505
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30506
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
30507
+           ;;
 
30508
+         gcx*)
 
30509
+           # Green Hills C++ Compiler
 
30510
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
30511
+           ;;
 
30512
+         *)
 
30513
+           ;;
 
30514
+       esac
 
30515
+       ;;
 
30516
+      sunos4*)
 
30517
+       case $cc_basename in
 
30518
+         CC*)
 
30519
+           # Sun C++ 4.x
 
30520
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
30521
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30522
+           ;;
 
30523
+         lcc*)
 
30524
+           # Lucid
 
30525
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
30526
+           ;;
 
30527
+         *)
 
30528
+           ;;
 
30529
+       esac
 
30530
+       ;;
 
30531
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
30532
+       case $cc_basename in
 
30533
+         CC*)
 
30534
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30535
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30536
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30537
+           ;;
 
30538
+       esac
 
30539
+       ;;
 
30540
+      tandem*)
 
30541
+       case $cc_basename in
 
30542
+         NCC*)
 
30543
+           # NonStop-UX NCC 3.20
 
30544
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30545
+           ;;
 
30546
+         *)
 
30547
+           ;;
 
30548
+       esac
 
30549
+       ;;
 
30550
+      vxworks*)
 
30551
+       ;;
 
30552
+      *)
 
30553
+       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
30554
+       ;;
 
30555
+    esac
 
30556
+  fi
 
30557
+],
 
30558
+[
 
30559
+  if test "$GCC" = yes; then
 
30560
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30561
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30562
+
 
30563
+    case $host_os in
 
30564
+      aix*)
 
30565
+      # All AIX code is PIC.
 
30566
+      if test "$host_cpu" = ia64; then
 
30567
+       # AIX 5 now supports IA64 processor
 
30568
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30569
+      fi
 
30570
+      ;;
 
30571
+
 
30572
+    amigaos*)
 
30573
+      case $host_cpu in
 
30574
+      powerpc)
 
30575
+            # see comment about AmigaOS4 .so support
 
30576
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30577
+        ;;
 
30578
+      m68k)
 
30579
+            # FIXME: we need at least 68020 code to build shared libraries, but
 
30580
+            # adding the `-m68020' flag to GCC prevents building anything better,
 
30581
+            # like `-m68040'.
 
30582
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
30583
+        ;;
 
30584
+      esac
 
30585
+      ;;
 
30586
+
 
30587
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
30588
+      # PIC is the default for these OSes.
 
30589
+      ;;
 
30590
+
 
30591
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
30592
+      # This hack is so that the source file can tell whether it is being
 
30593
+      # built for inclusion in a dll (and should export symbols for example).
 
30594
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
30595
+      # (--disable-auto-import) libraries
 
30596
+      m4_if([$1], [GCJ], [],
 
30597
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
30598
+      ;;
 
30599
+
 
30600
+    darwin* | rhapsody*)
 
30601
+      # PIC is the default on this platform
 
30602
+      # Common symbols not allowed in MH_DYLIB files
 
30603
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
30604
+      ;;
 
30605
+
 
30606
+    hpux*)
 
30607
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
30608
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
30609
+      # sets the default TLS model and affects inlining.
 
30610
+      case $host_cpu in
 
30611
+      hppa*64*)
 
30612
+       # +Z the default
 
30613
+       ;;
 
30614
+      *)
 
30615
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30616
+       ;;
 
30617
+      esac
 
30618
+      ;;
 
30619
+
 
30620
+    interix[[3-9]]*)
 
30621
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
30622
+      # Instead, we relocate shared libraries at runtime.
 
30623
+      ;;
 
30624
+
 
30625
+    msdosdjgpp*)
 
30626
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
30627
+      # on systems that don't support them.
 
30628
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
30629
+      enable_shared=no
 
30630
+      ;;
 
30631
+
 
30632
+    *nto* | *qnx*)
 
30633
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
30634
+      # it will coredump.
 
30635
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
30636
+      ;;
 
30637
+
 
30638
+    sysv4*MP*)
 
30639
+      if test -d /usr/nec; then
 
30640
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
30641
+      fi
 
30642
+      ;;
 
30643
+
 
30644
+    *)
 
30645
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30646
+      ;;
 
30647
+    esac
 
30648
+  else
 
30649
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
30650
+    case $host_os in
 
30651
+    aix*)
 
30652
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30653
+      if test "$host_cpu" = ia64; then
 
30654
+       # AIX 5 now supports IA64 processor
 
30655
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30656
+      else
 
30657
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
30658
+      fi
 
30659
+      ;;
 
30660
+
 
30661
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
30662
+      # This hack is so that the source file can tell whether it is being
 
30663
+      # built for inclusion in a dll (and should export symbols for example).
 
30664
+      m4_if([$1], [GCJ], [],
 
30665
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
 
30666
+      ;;
 
30667
+
 
30668
+    hpux9* | hpux10* | hpux11*)
 
30669
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30670
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
30671
+      # not for PA HP-UX.
 
30672
+      case $host_cpu in
 
30673
+      hppa*64*|ia64*)
 
30674
+       # +Z the default
 
30675
+       ;;
 
30676
+      *)
 
30677
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
30678
+       ;;
 
30679
+      esac
 
30680
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
30681
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
30682
+      ;;
 
30683
+
 
30684
+    irix5* | irix6* | nonstopux*)
 
30685
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30686
+      # PIC (with -KPIC) is the default.
 
30687
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30688
+      ;;
 
30689
+
 
30690
+    linux* | k*bsd*-gnu)
 
30691
+      case $cc_basename in
 
30692
+      # old Intel for x86_64 which still supported -KPIC.
 
30693
+      ecc*)
 
30694
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30695
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30696
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30697
+        ;;
 
30698
+      # icc used to be incompatible with GCC.
 
30699
+      # ICC 10 doesn't accept -KPIC any more.
 
30700
+      icc* | ifort*)
 
30701
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30702
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
30703
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
30704
+        ;;
 
30705
+      # Lahey Fortran 8.1.
 
30706
+      lf95*)
 
30707
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30708
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
30709
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
30710
+       ;;
 
30711
+      pgcc* | pgf77* | pgf90* | pgf95*)
 
30712
+        # Portland Group compilers (*not* the Pentium gcc compiler,
 
30713
+       # which looks to be a dead project)
 
30714
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30715
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
30716
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30717
+        ;;
 
30718
+      ccc*)
 
30719
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30720
+        # All Alpha code is PIC.
 
30721
+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30722
+        ;;
 
30723
+      xl*)
 
30724
+       # IBM XL C 8.0/Fortran 10.1 on PPC
 
30725
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30726
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
 
30727
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
 
30728
+       ;;
 
30729
+      *)
 
30730
+       case `$CC -V 2>&1 | sed 5q` in
 
30731
+       *Sun\ C*)
 
30732
+         # Sun C 5.9
 
30733
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30734
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30735
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30736
+         ;;
 
30737
+       *Sun\ F*)
 
30738
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
30739
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30740
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30741
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 
30742
+         ;;
 
30743
+       esac
 
30744
+       ;;
 
30745
+      esac
 
30746
+      ;;
 
30747
+
 
30748
+    newsos6)
 
30749
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30750
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30751
+      ;;
 
30752
+
 
30753
+    *nto* | *qnx*)
 
30754
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
30755
+      # it will coredump.
 
30756
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
 
30757
+      ;;
 
30758
+
 
30759
+    osf3* | osf4* | osf5*)
 
30760
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30761
+      # All OSF/1 code is PIC.
 
30762
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30763
+      ;;
 
30764
+
 
30765
+    rdos*)
 
30766
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
30767
+      ;;
 
30768
+
 
30769
+    solaris*)
 
30770
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30771
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30772
+      case $cc_basename in
 
30773
+      f77* | f90* | f95*)
 
30774
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
 
30775
+      *)
 
30776
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
 
30777
+      esac
 
30778
+      ;;
 
30779
+
 
30780
+    sunos4*)
 
30781
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
30782
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
30783
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30784
+      ;;
 
30785
+
 
30786
+    sysv4 | sysv4.2uw2* | sysv4.3*)
 
30787
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30788
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30789
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30790
+      ;;
 
30791
+
 
30792
+    sysv4*MP*)
 
30793
+      if test -d /usr/nec ;then
 
30794
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
 
30795
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30796
+      fi
 
30797
+      ;;
 
30798
+
 
30799
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
30800
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30801
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
30802
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30803
+      ;;
 
30804
+
 
30805
+    unicos*)
 
30806
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
30807
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
30808
+      ;;
 
30809
+
 
30810
+    uts4*)
 
30811
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
30812
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
30813
+      ;;
 
30814
+
 
30815
+    *)
 
30816
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
30817
+      ;;
 
30818
+    esac
 
30819
+  fi
 
30820
+])
 
30821
+case $host_os in
 
30822
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
30823
+  *djgpp*)
 
30824
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30825
+    ;;
 
30826
+  *)
 
30827
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
 
30828
+    ;;
 
30829
+esac
 
30830
+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
 
30831
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
 
30832
+       [How to pass a linker flag through the compiler])
 
30833
+
 
30834
+#
 
30835
+# Check to make sure the PIC flag actually works.
 
30836
+#
 
30837
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
30838
+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
 
30839
+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
 
30840
+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
 
30841
+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
 
30842
+     "" | " "*) ;;
 
30843
+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 
30844
+     esac],
 
30845
+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
 
30846
+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 
30847
+fi
 
30848
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
 
30849
+       [Additional compiler flags for building library objects])
 
30850
+
 
30851
+#
 
30852
+# Check to make sure the static flag actually works.
 
30853
+#
 
30854
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
 
30855
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
 
30856
+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
 
30857
+  $lt_tmp_static_flag,
 
30858
+  [],
 
30859
+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
 
30860
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
 
30861
+       [Compiler flag to prevent dynamic linking])
 
30862
+])# _LT_COMPILER_PIC
 
30863
+
 
30864
+
 
30865
+# _LT_LINKER_SHLIBS([TAGNAME])
 
30866
+# ----------------------------
 
30867
+# See if the linker supports building shared libraries.
 
30868
+m4_defun([_LT_LINKER_SHLIBS],
 
30869
+[AC_REQUIRE([LT_PATH_LD])dnl
 
30870
+AC_REQUIRE([LT_PATH_NM])dnl
 
30871
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
30872
+m4_require([_LT_DECL_EGREP])dnl
 
30873
+m4_require([_LT_DECL_SED])dnl
 
30874
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 
30875
+m4_require([_LT_TAG_COMPILER])dnl
 
30876
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
30877
+m4_if([$1], [CXX], [
 
30878
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
30879
+  case $host_os in
 
30880
+  aix[[4-9]]*)
 
30881
+    # If we're using GNU nm, then we don't want the "-C" option.
 
30882
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
30883
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
30884
+      _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'
 
30885
+    else
 
30886
+      _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'
 
30887
+    fi
 
30888
+    ;;
 
30889
+  pw32*)
 
30890
+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 
30891
+  ;;
 
30892
+  cygwin* | mingw* | cegcc*)
 
30893
+    _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'
 
30894
+  ;;
 
30895
+  linux* | k*bsd*-gnu)
 
30896
+    _LT_TAGVAR(link_all_deplibs, $1)=no
 
30897
+  ;;
 
30898
+  *)
 
30899
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
30900
+  ;;
 
30901
+  esac
 
30902
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 
30903
+], [
 
30904
+  runpath_var=
 
30905
+  _LT_TAGVAR(allow_undefined_flag, $1)=
 
30906
+  _LT_TAGVAR(always_export_symbols, $1)=no
 
30907
+  _LT_TAGVAR(archive_cmds, $1)=
 
30908
+  _LT_TAGVAR(archive_expsym_cmds, $1)=
 
30909
+  _LT_TAGVAR(compiler_needs_object, $1)=no
 
30910
+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
30911
+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
30912
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
30913
+  _LT_TAGVAR(hardcode_automatic, $1)=no
 
30914
+  _LT_TAGVAR(hardcode_direct, $1)=no
 
30915
+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
30916
+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
30917
+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
30918
+  _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
30919
+  _LT_TAGVAR(hardcode_minus_L, $1)=no
 
30920
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
30921
+  _LT_TAGVAR(inherit_rpath, $1)=no
 
30922
+  _LT_TAGVAR(link_all_deplibs, $1)=unknown
 
30923
+  _LT_TAGVAR(module_cmds, $1)=
 
30924
+  _LT_TAGVAR(module_expsym_cmds, $1)=
 
30925
+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
 
30926
+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
 
30927
+  _LT_TAGVAR(thread_safe_flag_spec, $1)=
 
30928
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
30929
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
30930
+  # included in the symbol list
 
30931
+  _LT_TAGVAR(include_expsyms, $1)=
 
30932
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
30933
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
30934
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
30935
+  # as well as any symbol that contains `d'.
 
30936
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 
30937
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
30938
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
30939
+  # the symbol is explicitly referenced.  Since portable code cannot
 
30940
+  # rely on this symbol name, it's probably fine to never include it in
 
30941
+  # preloaded symbol tables.
 
30942
+  # Exclude shared library initialization/finalization symbols.
 
30943
+dnl Note also adjust exclude_expsyms for C++ above.
 
30944
+  extract_expsyms_cmds=
 
30945
+
 
30946
+  case $host_os in
 
30947
+  cygwin* | mingw* | pw32* | cegcc*)
 
30948
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
30949
+    # When not using gcc, we currently assume that we are using
 
30950
+    # Microsoft Visual C++.
 
30951
+    if test "$GCC" != yes; then
 
30952
+      with_gnu_ld=no
 
30953
+    fi
 
30954
+    ;;
 
30955
+  interix*)
 
30956
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
30957
+    with_gnu_ld=yes
 
30958
+    ;;
 
30959
+  openbsd*)
 
30960
+    with_gnu_ld=no
 
30961
+    ;;
 
30962
+  linux* | k*bsd*-gnu)
 
30963
+    _LT_TAGVAR(link_all_deplibs, $1)=no
 
30964
+    ;;
 
30965
+  esac
 
30966
+
 
30967
+  _LT_TAGVAR(ld_shlibs, $1)=yes
 
30968
+  if test "$with_gnu_ld" = yes; then
 
30969
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
30970
+    wlarc='${wl}'
 
30971
+
 
30972
+    # Set some defaults for GNU ld with shared library support. These
 
30973
+    # are reset later if shared libraries are not supported. Putting them
 
30974
+    # here allows them to be overridden if necessary.
 
30975
+    runpath_var=LD_RUN_PATH
 
30976
+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
30977
+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
30978
+    # ancient GNU ld didn't support --whole-archive et. al.
 
30979
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
30980
+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
30981
+    else
 
30982
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
30983
+    fi
 
30984
+    supports_anon_versioning=no
 
30985
+    case `$LD -v 2>&1` in
 
30986
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
 
30987
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
30988
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
30989
+      *\ 2.11.*) ;; # other 2.11 versions
 
30990
+      *) supports_anon_versioning=yes ;;
 
30991
+    esac
 
30992
+
 
30993
+    # See if GNU ld supports shared libraries.
 
30994
+    case $host_os in
 
30995
+    aix[[3-9]]*)
 
30996
+      # On AIX/PPC, the GNU linker is very broken
 
30997
+      if test "$host_cpu" != ia64; then
 
30998
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
30999
+       cat <<_LT_EOF 1>&2
 
31000
+
 
31001
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
31002
+*** to be unable to reliably create shared libraries on AIX.
 
31003
+*** Therefore, libtool is disabling shared libraries support.  If you
 
31004
+*** really care for shared libraries, you may want to modify your PATH
 
31005
+*** so that a non-GNU linker is found, and then restart.
 
31006
+
 
31007
+_LT_EOF
 
31008
+      fi
 
31009
+      ;;
 
31010
+
 
31011
+    amigaos*)
 
31012
+      case $host_cpu in
 
31013
+      powerpc)
 
31014
+            # see comment about AmigaOS4 .so support
 
31015
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31016
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 
31017
+        ;;
 
31018
+      m68k)
 
31019
+            _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)'
 
31020
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31021
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31022
+        ;;
 
31023
+      esac
 
31024
+      ;;
 
31025
+
 
31026
+    beos*)
 
31027
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
31028
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
31029
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
31030
+       # support --undefined.  This deserves some investigation.  FIXME
 
31031
+       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31032
+      else
 
31033
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31034
+      fi
 
31035
+      ;;
 
31036
+
 
31037
+    cygwin* | mingw* | pw32* | cegcc*)
 
31038
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
31039
+      # as there is no search path for DLLs.
 
31040
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31041
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
31042
+      _LT_TAGVAR(always_export_symbols, $1)=no
 
31043
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
31044
+      _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'
 
31045
+
 
31046
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
31047
+        _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'
 
31048
+       # If the export-symbols file already is a .def file (1st line
 
31049
+       # is EXPORTS), use it as is; otherwise, prepend...
 
31050
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
31051
+         cp $export_symbols $output_objdir/$soname.def;
 
31052
+       else
 
31053
+         echo EXPORTS > $output_objdir/$soname.def;
 
31054
+         cat $export_symbols >> $output_objdir/$soname.def;
 
31055
+       fi~
 
31056
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
31057
+      else
 
31058
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31059
+      fi
 
31060
+      ;;
 
31061
+
 
31062
+    interix[[3-9]]*)
 
31063
+      _LT_TAGVAR(hardcode_direct, $1)=no
 
31064
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31065
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
31066
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
31067
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
31068
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
31069
+      # default) and relocated if they conflict, which is a slow very memory
 
31070
+      # consuming and fragmenting process.  To avoid this, we pick a random,
 
31071
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
31072
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
31073
+      _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'
 
31074
+      _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'
 
31075
+      ;;
 
31076
+
 
31077
+    gnu* | linux* | tpf* | k*bsd*-gnu)
 
31078
+      tmp_diet=no
 
31079
+      if test "$host_os" = linux-dietlibc; then
 
31080
+       case $cc_basename in
 
31081
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
31082
+       esac
 
31083
+      fi
 
31084
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
31085
+        && test "$tmp_diet" = no
 
31086
+      then
 
31087
+       tmp_addflag=
 
31088
+       tmp_sharedflag='-shared'
 
31089
+       case $cc_basename,$host_cpu in
 
31090
+        pgcc*)                         # Portland Group C compiler
 
31091
+         _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'
 
31092
+         tmp_addflag=' $pic_flag'
 
31093
+         ;;
 
31094
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
31095
+         _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'
 
31096
+         tmp_addflag=' $pic_flag -Mnomain' ;;
 
31097
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
31098
+         tmp_addflag=' -i_dynamic' ;;
 
31099
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
31100
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
 
31101
+       ifc* | ifort*)                  # Intel Fortran compiler
 
31102
+         tmp_addflag=' -nofor_main' ;;
 
31103
+       lf95*)                          # Lahey Fortran 8.1
 
31104
+         _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
31105
+         tmp_sharedflag='--shared' ;;
 
31106
+       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
 
31107
+         tmp_sharedflag='-qmkshrobj'
 
31108
+         tmp_addflag= ;;
 
31109
+       esac
 
31110
+       case `$CC -V 2>&1 | sed 5q` in
 
31111
+       *Sun\ C*)                       # Sun C 5.9
 
31112
+         _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'
 
31113
+         _LT_TAGVAR(compiler_needs_object, $1)=yes
 
31114
+         tmp_sharedflag='-G' ;;
 
31115
+       *Sun\ F*)                       # Sun Fortran 8.3
 
31116
+         tmp_sharedflag='-G' ;;
 
31117
+       esac
 
31118
+       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31119
+
 
31120
+        if test "x$supports_anon_versioning" = xyes; then
 
31121
+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
31122
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
31123
+           echo "local: *; };" >> $output_objdir/$libname.ver~
 
31124
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
31125
+        fi
 
31126
+
 
31127
+       case $cc_basename in
 
31128
+       xlf*)
 
31129
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
31130
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
 
31131
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
31132
+         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
31133
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
31134
+         if test "x$supports_anon_versioning" = xyes; then
 
31135
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
31136
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
31137
+             echo "local: *; };" >> $output_objdir/$libname.ver~
 
31138
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
31139
+         fi
 
31140
+         ;;
 
31141
+       esac
 
31142
+      else
 
31143
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
31144
+      fi
 
31145
+      ;;
 
31146
+
 
31147
+    netbsd* | netbsdelf*-gnu)
 
31148
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
31149
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
31150
+       wlarc=
 
31151
+      else
 
31152
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31153
+       _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'
 
31154
+      fi
 
31155
+      ;;
 
31156
+
 
31157
+    solaris*)
 
31158
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
31159
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31160
+       cat <<_LT_EOF 1>&2
 
31161
+
 
31162
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
31163
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
31164
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
31165
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
31166
+*** your PATH or compiler configuration so that the native linker is
 
31167
+*** used, and then restart.
 
31168
+
 
31169
+_LT_EOF
 
31170
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
31171
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31172
+       _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'
 
31173
+      else
 
31174
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31175
+      fi
 
31176
+      ;;
 
31177
+
 
31178
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
31179
+      case `$LD -v 2>&1` in
 
31180
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
 
31181
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31182
+       cat <<_LT_EOF 1>&2
 
31183
+
 
31184
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
31185
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
31186
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
31187
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
31188
+*** your PATH or compiler configuration so that the native linker is
 
31189
+*** used, and then restart.
 
31190
+
 
31191
+_LT_EOF
 
31192
+       ;;
 
31193
+       *)
 
31194
+         # For security reasons, it is highly recommended that you always
 
31195
+         # use absolute paths for naming shared libraries, and exclude the
 
31196
+         # DT_RUNPATH tag from executables and libraries.  But doing so
 
31197
+         # requires that you compile everything twice, which is a pain.
 
31198
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
31199
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
31200
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31201
+           _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'
 
31202
+         else
 
31203
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
31204
+         fi
 
31205
+       ;;
 
31206
+      esac
 
31207
+      ;;
 
31208
+
 
31209
+    sunos4*)
 
31210
+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
31211
+      wlarc=
 
31212
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31213
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31214
+      ;;
 
31215
+
 
31216
+    *)
 
31217
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
31218
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31219
+       _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'
 
31220
+      else
 
31221
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31222
+      fi
 
31223
+      ;;
 
31224
+    esac
 
31225
+
 
31226
+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
 
31227
+      runpath_var=
 
31228
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
31229
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
31230
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
31231
+    fi
 
31232
+  else
 
31233
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
31234
+    case $host_os in
 
31235
+    aix3*)
 
31236
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
31237
+      _LT_TAGVAR(always_export_symbols, $1)=yes
 
31238
+      _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'
 
31239
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
31240
+      # are no directories specified by -L.
 
31241
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31242
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
31243
+       # Neither direct hardcoding nor static linking is supported with a
 
31244
+       # broken collect2.
 
31245
+       _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
31246
+      fi
 
31247
+      ;;
 
31248
+
 
31249
+    aix[[4-9]]*)
 
31250
+      if test "$host_cpu" = ia64; then
 
31251
+       # On IA64, the linker does run time linking by default, so we don't
 
31252
+       # have to do anything special.
 
31253
+       aix_use_runtimelinking=no
 
31254
+       exp_sym_flag='-Bexport'
 
31255
+       no_entry_flag=""
 
31256
+      else
 
31257
+       # If we're using GNU nm, then we don't want the "-C" option.
 
31258
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
31259
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
31260
+         _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'
 
31261
+       else
 
31262
+         _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'
 
31263
+       fi
 
31264
+       aix_use_runtimelinking=no
 
31265
+
 
31266
+       # Test if we are trying to use run time linking or normal
 
31267
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
31268
+       # need to do runtime linking.
 
31269
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 
31270
+         for ld_flag in $LDFLAGS; do
 
31271
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
31272
+           aix_use_runtimelinking=yes
 
31273
+           break
 
31274
+         fi
 
31275
+         done
 
31276
+         ;;
 
31277
+       esac
 
31278
+
 
31279
+       exp_sym_flag='-bexport'
 
31280
+       no_entry_flag='-bnoentry'
 
31281
+      fi
 
31282
+
 
31283
+      # When large executables or shared objects are built, AIX ld can
 
31284
+      # have problems creating the table of contents.  If linking a library
 
31285
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
31286
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
31287
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
31288
+
 
31289
+      _LT_TAGVAR(archive_cmds, $1)=''
 
31290
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31291
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
31292
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
31293
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
31294
+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 
31295
+
 
31296
+      if test "$GCC" = yes; then
 
31297
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
31298
+       # We only want to do this on AIX 4.2 and lower, the check
 
31299
+       # below for broken collect2 doesn't work under 4.3+
 
31300
+         collect2name=`${CC} -print-prog-name=collect2`
 
31301
+         if test -f "$collect2name" &&
 
31302
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
31303
+         then
 
31304
+         # We have reworked collect2
 
31305
+         :
 
31306
+         else
 
31307
+         # We have old collect2
 
31308
+         _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
31309
+         # It fails to find uninstalled libraries when the uninstalled
 
31310
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
31311
+         # to unsupported forces relinking
 
31312
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31313
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31314
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
31315
+         fi
 
31316
+         ;;
 
31317
+       esac
 
31318
+       shared_flag='-shared'
 
31319
+       if test "$aix_use_runtimelinking" = yes; then
 
31320
+         shared_flag="$shared_flag "'${wl}-G'
 
31321
+       fi
 
31322
+       _LT_TAGVAR(link_all_deplibs, $1)=no
 
31323
+      else
 
31324
+       # not using gcc
 
31325
+       if test "$host_cpu" = ia64; then
 
31326
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
31327
+       # chokes on -Wl,-G. The following line is correct:
 
31328
+         shared_flag='-G'
 
31329
+       else
 
31330
+         if test "$aix_use_runtimelinking" = yes; then
 
31331
+           shared_flag='${wl}-G'
 
31332
+         else
 
31333
+           shared_flag='${wl}-bM:SRE'
 
31334
+         fi
 
31335
+       fi
 
31336
+      fi
 
31337
+
 
31338
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 
31339
+      # It seems that -bexpall does not export symbols beginning with
 
31340
+      # underscore (_), so it is better to generate a list of symbols to export.
 
31341
+      _LT_TAGVAR(always_export_symbols, $1)=yes
 
31342
+      if test "$aix_use_runtimelinking" = yes; then
 
31343
+       # Warning - without using the other runtime loading flags (-brtl),
 
31344
+       # -berok will link without error, but may produce a broken library.
 
31345
+       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 
31346
+        # Determine the default libpath from the value encoded in an
 
31347
+        # empty executable.
 
31348
+        _LT_SYS_MODULE_PATH_AIX
 
31349
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
31350
+        _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"
 
31351
+      else
 
31352
+       if test "$host_cpu" = ia64; then
 
31353
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
31354
+         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
31355
+         _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"
 
31356
+       else
 
31357
+        # Determine the default libpath from the value encoded in an
 
31358
+        # empty executable.
 
31359
+        _LT_SYS_MODULE_PATH_AIX
 
31360
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
31361
+         # Warning - without using the other run time loading flags,
 
31362
+         # -berok will link without error, but may produce a broken library.
 
31363
+         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
31364
+         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
31365
+         # Exported symbols can be pulled into shared objects from archives
 
31366
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
31367
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
31368
+         # This is similar to how AIX traditionally builds its shared libraries.
 
31369
+         _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'
 
31370
+       fi
 
31371
+      fi
 
31372
+      ;;
 
31373
+
 
31374
+    amigaos*)
 
31375
+      case $host_cpu in
 
31376
+      powerpc)
 
31377
+            # see comment about AmigaOS4 .so support
 
31378
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
31379
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
 
31380
+        ;;
 
31381
+      m68k)
 
31382
+            _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)'
 
31383
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31384
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31385
+        ;;
 
31386
+      esac
 
31387
+      ;;
 
31388
+
 
31389
+    bsdi[[45]]*)
 
31390
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 
31391
+      ;;
 
31392
+
 
31393
+    cygwin* | mingw* | pw32* | cegcc*)
 
31394
+      # When not using gcc, we currently assume that we are using
 
31395
+      # Microsoft Visual C++.
 
31396
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
31397
+      # no search path for DLLs.
 
31398
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 
31399
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
31400
+      # Tell ltmain to make .lib files, not .a files.
 
31401
+      libext=lib
 
31402
+      # Tell ltmain to make .dll files, not .so files.
 
31403
+      shrext_cmds=".dll"
 
31404
+      # FIXME: Setting linknames here is a bad hack.
 
31405
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
31406
+      # The linker will automatically build a .lib file if we build a DLL.
 
31407
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
 
31408
+      # FIXME: Should let the user specify the lib program.
 
31409
+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
31410
+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
 
31411
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
31412
+      ;;
 
31413
+
 
31414
+    darwin* | rhapsody*)
 
31415
+      _LT_DARWIN_LINKER_FEATURES($1)
 
31416
+      ;;
 
31417
+
 
31418
+    dgux*)
 
31419
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31420
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31421
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31422
+      ;;
 
31423
+
 
31424
+    freebsd1*)
 
31425
+      _LT_TAGVAR(ld_shlibs, $1)=no
 
31426
+      ;;
 
31427
+
 
31428
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
31429
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
31430
+    # does not break anything, and helps significantly (at the cost of a little
 
31431
+    # extra space).
 
31432
+    freebsd2.2*)
 
31433
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
31434
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
31435
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31436
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31437
+      ;;
 
31438
+
 
31439
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
31440
+    freebsd2*)
 
31441
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
31442
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31443
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31444
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31445
+      ;;
 
31446
+
 
31447
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
31448
+    freebsd* | dragonfly*)
 
31449
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
31450
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
31451
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31452
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31453
+      ;;
 
31454
+
 
31455
+    hpux9*)
 
31456
+      if test "$GCC" = yes; then
 
31457
+       _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'
 
31458
+      else
 
31459
+       _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'
 
31460
+      fi
 
31461
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
31462
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31463
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31464
+
 
31465
+      # hardcode_minus_L: Not really in the search PATH,
 
31466
+      # but as the default location of the library.
 
31467
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31468
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
31469
+      ;;
 
31470
+
 
31471
+    hpux10*)
 
31472
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
31473
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
31474
+      else
 
31475
+       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
31476
+      fi
 
31477
+      if test "$with_gnu_ld" = no; then
 
31478
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
31479
+       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
31480
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31481
+       _LT_TAGVAR(hardcode_direct, $1)=yes
 
31482
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
31483
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
31484
+       # hardcode_minus_L: Not really in the search PATH,
 
31485
+       # but as the default location of the library.
 
31486
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31487
+      fi
 
31488
+      ;;
 
31489
+
 
31490
+    hpux11*)
 
31491
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
31492
+       case $host_cpu in
 
31493
+       hppa*64*)
 
31494
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31495
+         ;;
 
31496
+       ia64*)
 
31497
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
31498
+         ;;
 
31499
+       *)
 
31500
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
31501
+         ;;
 
31502
+       esac
 
31503
+      else
 
31504
+       case $host_cpu in
 
31505
+       hppa*64*)
 
31506
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31507
+         ;;
 
31508
+       ia64*)
 
31509
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
31510
+         ;;
 
31511
+       *)
 
31512
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
31513
+         ;;
 
31514
+       esac
 
31515
+      fi
 
31516
+      if test "$with_gnu_ld" = no; then
 
31517
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
31518
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31519
+
 
31520
+       case $host_cpu in
 
31521
+       hppa*64*|ia64*)
 
31522
+         _LT_TAGVAR(hardcode_direct, $1)=no
 
31523
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31524
+         ;;
 
31525
+       *)
 
31526
+         _LT_TAGVAR(hardcode_direct, $1)=yes
 
31527
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
31528
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
31529
+
 
31530
+         # hardcode_minus_L: Not really in the search PATH,
 
31531
+         # but as the default location of the library.
 
31532
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31533
+         ;;
 
31534
+       esac
 
31535
+      fi
 
31536
+      ;;
 
31537
+
 
31538
+    irix5* | irix6* | nonstopux*)
 
31539
+      if test "$GCC" = yes; then
 
31540
+       _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'
 
31541
+       # Try to use the -exported_symbol ld option, if it does not
 
31542
+       # work, assume that -exports_file does not work either and
 
31543
+       # implicitly export all symbols.
 
31544
+        save_LDFLAGS="$LDFLAGS"
 
31545
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
31546
+        AC_LINK_IFELSE(int foo(void) {},
 
31547
+          _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'
 
31548
+        )
 
31549
+        LDFLAGS="$save_LDFLAGS"
 
31550
+      else
 
31551
+       _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'
 
31552
+       _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'
 
31553
+      fi
 
31554
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
31555
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
31556
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31557
+      _LT_TAGVAR(inherit_rpath, $1)=yes
 
31558
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
31559
+      ;;
 
31560
+
 
31561
+    netbsd* | netbsdelf*-gnu)
 
31562
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
31563
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
31564
+      else
 
31565
+       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
31566
+      fi
 
31567
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
31568
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31569
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31570
+      ;;
 
31571
+
 
31572
+    newsos6)
 
31573
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31574
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31575
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
31576
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31577
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31578
+      ;;
 
31579
+
 
31580
+    *nto* | *qnx*)
 
31581
+      ;;
 
31582
+
 
31583
+    openbsd*)
 
31584
+      if test -f /usr/libexec/ld.so; then
 
31585
+       _LT_TAGVAR(hardcode_direct, $1)=yes
 
31586
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31587
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
31588
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
31589
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
31590
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
31591
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
31592
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
31593
+       else
 
31594
+         case $host_os in
 
31595
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
31596
+            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
31597
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
31598
+            ;;
 
31599
+          *)
 
31600
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
31601
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
31602
+            ;;
 
31603
+         esac
 
31604
+       fi
 
31605
+      else
 
31606
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
31607
+      fi
 
31608
+      ;;
 
31609
+
 
31610
+    os2*)
 
31611
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31612
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31613
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
31614
+      _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'
 
31615
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
31616
+      ;;
 
31617
+
 
31618
+    osf3*)
 
31619
+      if test "$GCC" = yes; then
 
31620
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
31621
+       _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'
 
31622
+      else
 
31623
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
31624
+       _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'
 
31625
+      fi
 
31626
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
31627
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
31628
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31629
+      ;;
 
31630
+
 
31631
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
31632
+      if test "$GCC" = yes; then
 
31633
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
31634
+       _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'
 
31635
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
31636
+      else
 
31637
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
31638
+       _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'
 
31639
+       _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~
 
31640
+       $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'
 
31641
+
 
31642
+       # Both c and cxx compiler support -rpath directly
 
31643
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
31644
+      fi
 
31645
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
 
31646
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
31647
+      ;;
 
31648
+
 
31649
+    solaris*)
 
31650
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
 
31651
+      if test "$GCC" = yes; then
 
31652
+       wlarc='${wl}'
 
31653
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31654
+       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
31655
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
31656
+      else
 
31657
+       case `$CC -V 2>&1` in
 
31658
+       *"Compilers 5.0"*)
 
31659
+         wlarc=''
 
31660
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31661
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
31662
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
31663
+         ;;
 
31664
+       *)
 
31665
+         wlarc='${wl}'
 
31666
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
31667
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
31668
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
31669
+         ;;
 
31670
+       esac
 
31671
+      fi
 
31672
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
31673
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31674
+      case $host_os in
 
31675
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
31676
+      *)
 
31677
+       # The compiler driver will combine and reorder linker options,
 
31678
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
31679
+       # but is careful enough not to reorder.
 
31680
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
 
31681
+       if test "$GCC" = yes; then
 
31682
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
31683
+       else
 
31684
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
31685
+       fi
 
31686
+       ;;
 
31687
+      esac
 
31688
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
31689
+      ;;
 
31690
+
 
31691
+    sunos4*)
 
31692
+      if test "x$host_vendor" = xsequent; then
 
31693
+       # Use $CC to link under sequent, because it throws in some extra .o
 
31694
+       # files that make .init and .fini sections work.
 
31695
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
31696
+      else
 
31697
+       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
31698
+      fi
 
31699
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31700
+      _LT_TAGVAR(hardcode_direct, $1)=yes
 
31701
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
31702
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31703
+      ;;
 
31704
+
 
31705
+    sysv4)
 
31706
+      case $host_vendor in
 
31707
+       sni)
 
31708
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31709
+         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
 
31710
+       ;;
 
31711
+       siemens)
 
31712
+         ## LD is ld it makes a PLAMLIB
 
31713
+         ## CC just makes a GrossModule.
 
31714
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
31715
+         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
 
31716
+         _LT_TAGVAR(hardcode_direct, $1)=no
 
31717
+        ;;
 
31718
+       motorola)
 
31719
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31720
+         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
 
31721
+       ;;
 
31722
+      esac
 
31723
+      runpath_var='LD_RUN_PATH'
 
31724
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31725
+      ;;
 
31726
+
 
31727
+    sysv4.3*)
 
31728
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31729
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31730
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
 
31731
+      ;;
 
31732
+
 
31733
+    sysv4*MP*)
 
31734
+      if test -d /usr/nec; then
 
31735
+       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31736
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31737
+       runpath_var=LD_RUN_PATH
 
31738
+       hardcode_runpath_var=yes
 
31739
+       _LT_TAGVAR(ld_shlibs, $1)=yes
 
31740
+      fi
 
31741
+      ;;
 
31742
+
 
31743
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
31744
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
31745
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
31746
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31747
+      runpath_var='LD_RUN_PATH'
 
31748
+
 
31749
+      if test "$GCC" = yes; then
 
31750
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31751
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31752
+      else
 
31753
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31754
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31755
+      fi
 
31756
+      ;;
 
31757
+
 
31758
+    sysv5* | sco3.2v5* | sco5v6*)
 
31759
+      # Note: We can NOT use -z defs as we might desire, because we do not
 
31760
+      # link with -lc, and that would cause any symbols used from libc to
 
31761
+      # always be unresolved, which means just about no library would
 
31762
+      # ever link correctly.  If we're not using GNU ld we use -z text
 
31763
+      # though, which does catch some bad symbols but isn't as heavy-handed
 
31764
+      # as -z defs.
 
31765
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
31766
+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
31767
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
31768
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31769
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
31770
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
31771
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
31772
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
31773
+      runpath_var='LD_RUN_PATH'
 
31774
+
 
31775
+      if test "$GCC" = yes; then
 
31776
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31777
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31778
+      else
 
31779
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31780
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
31781
+      fi
 
31782
+      ;;
 
31783
+
 
31784
+    uts4*)
 
31785
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
31786
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
31787
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
31788
+      ;;
 
31789
+
 
31790
+    *)
 
31791
+      _LT_TAGVAR(ld_shlibs, $1)=no
 
31792
+      ;;
 
31793
+    esac
 
31794
+
 
31795
+    if test x$host_vendor = xsni; then
 
31796
+      case $host in
 
31797
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
31798
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
 
31799
+       ;;
 
31800
+      esac
 
31801
+    fi
 
31802
+  fi
 
31803
+])
 
31804
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
31805
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
31806
+
 
31807
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
 
31808
+
 
31809
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
 
31810
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
 
31811
+_LT_DECL([], [extract_expsyms_cmds], [2],
 
31812
+    [The commands to extract the exported symbol list from a shared archive])
 
31813
+
 
31814
+#
 
31815
+# Do we need to explicitly link libc?
 
31816
+#
 
31817
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
 
31818
+x|xyes)
 
31819
+  # Assume -lc should be added
 
31820
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
31821
+
 
31822
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
31823
+    case $_LT_TAGVAR(archive_cmds, $1) in
 
31824
+    *'~'*)
 
31825
+      # FIXME: we may have to deal with multi-command sequences.
 
31826
+      ;;
 
31827
+    '$CC '*)
 
31828
+      # Test whether the compiler implicitly links with -lc since on some
 
31829
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
31830
+      # to ld, don't add -lc before -lgcc.
 
31831
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
 
31832
+      $RM conftest*
 
31833
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
31834
+
 
31835
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
31836
+        soname=conftest
 
31837
+        lib=conftest
 
31838
+        libobjs=conftest.$ac_objext
 
31839
+        deplibs=
 
31840
+        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
 
31841
+       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
 
31842
+        compiler_flags=-v
 
31843
+        linker_flags=-v
 
31844
+        verstring=
 
31845
+        output_objdir=.
 
31846
+        libname=conftest
 
31847
+        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
 
31848
+        _LT_TAGVAR(allow_undefined_flag, $1)=
 
31849
+        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
 
31850
+        then
 
31851
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
31852
+        else
 
31853
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
31854
+        fi
 
31855
+        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
31856
+      else
 
31857
+        cat conftest.err 1>&5
 
31858
+      fi
 
31859
+      $RM conftest*
 
31860
+      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
 
31861
+      ;;
 
31862
+    esac
 
31863
+  fi
 
31864
+  ;;
 
31865
+esac
 
31866
+
 
31867
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
 
31868
+    [Whether or not to add -lc for building shared libraries])
 
31869
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
 
31870
+    [enable_shared_with_static_runtimes], [0],
 
31871
+    [Whether or not to disallow shared libs when runtime libs are static])
 
31872
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
 
31873
+    [Compiler flag to allow reflexive dlopens])
 
31874
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
 
31875
+    [Compiler flag to generate shared objects directly from archives])
 
31876
+_LT_TAGDECL([], [compiler_needs_object], [1],
 
31877
+    [Whether the compiler copes with passing no objects directly])
 
31878
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
 
31879
+    [Create an old-style archive from a shared archive])
 
31880
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
 
31881
+    [Create a temporary old-style archive to link instead of a shared archive])
 
31882
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
 
31883
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
 
31884
+_LT_TAGDECL([], [module_cmds], [2],
 
31885
+    [Commands used to build a loadable module if different from building
 
31886
+    a shared archive.])
 
31887
+_LT_TAGDECL([], [module_expsym_cmds], [2])
 
31888
+_LT_TAGDECL([], [with_gnu_ld], [1],
 
31889
+    [Whether we are building with GNU ld or not])
 
31890
+_LT_TAGDECL([], [allow_undefined_flag], [1],
 
31891
+    [Flag that allows shared libraries with undefined symbols to be built])
 
31892
+_LT_TAGDECL([], [no_undefined_flag], [1],
 
31893
+    [Flag that enforces no undefined symbols])
 
31894
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
 
31895
+    [Flag to hardcode $libdir into a binary during linking.
 
31896
+    This must work even if $libdir does not exist])
 
31897
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
 
31898
+    [[If ld is used when linking, flag to hardcode $libdir into a binary
 
31899
+    during linking.  This must work even if $libdir does not exist]])
 
31900
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
 
31901
+    [Whether we need a single "-rpath" flag with a separated argument])
 
31902
+_LT_TAGDECL([], [hardcode_direct], [0],
 
31903
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 
31904
+    DIR into the resulting binary])
 
31905
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
 
31906
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
 
31907
+    DIR into the resulting binary and the resulting library dependency is
 
31908
+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
 
31909
+    library is relocated])
 
31910
+_LT_TAGDECL([], [hardcode_minus_L], [0],
 
31911
+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
31912
+    into the resulting binary])
 
31913
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
 
31914
+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
31915
+    into the resulting binary])
 
31916
+_LT_TAGDECL([], [hardcode_automatic], [0],
 
31917
+    [Set to "yes" if building a shared library automatically hardcodes DIR
 
31918
+    into the library and all subsequent libraries and executables linked
 
31919
+    against it])
 
31920
+_LT_TAGDECL([], [inherit_rpath], [0],
 
31921
+    [Set to yes if linker adds runtime paths of dependent libraries
 
31922
+    to runtime path list])
 
31923
+_LT_TAGDECL([], [link_all_deplibs], [0],
 
31924
+    [Whether libtool must link a program against all its dependency libraries])
 
31925
+_LT_TAGDECL([], [fix_srcfile_path], [1],
 
31926
+    [Fix the shell variable $srcfile for the compiler])
 
31927
+_LT_TAGDECL([], [always_export_symbols], [0],
 
31928
+    [Set to "yes" if exported symbols are required])
 
31929
+_LT_TAGDECL([], [export_symbols_cmds], [2],
 
31930
+    [The commands to list exported symbols])
 
31931
+_LT_TAGDECL([], [exclude_expsyms], [1],
 
31932
+    [Symbols that should not be listed in the preloaded symbols])
 
31933
+_LT_TAGDECL([], [include_expsyms], [1],
 
31934
+    [Symbols that must always be exported])
 
31935
+_LT_TAGDECL([], [prelink_cmds], [2],
 
31936
+    [Commands necessary for linking programs (against libraries) with templates])
 
31937
+_LT_TAGDECL([], [file_list_spec], [1],
 
31938
+    [Specify filename containing input files])
 
31939
+dnl FIXME: Not yet implemented
 
31940
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
 
31941
+dnl    [Compiler flag to generate thread safe objects])
 
31942
+])# _LT_LINKER_SHLIBS
 
31943
+
 
31944
+
 
31945
+# _LT_LANG_C_CONFIG([TAG])
 
31946
+# ------------------------
 
31947
+# Ensure that the configuration variables for a C compiler are suitably
 
31948
+# defined.  These variables are subsequently used by _LT_CONFIG to write
 
31949
+# the compiler configuration to `libtool'.
 
31950
+m4_defun([_LT_LANG_C_CONFIG],
 
31951
+[m4_require([_LT_DECL_EGREP])dnl
 
31952
+lt_save_CC="$CC"
 
31953
+AC_LANG_PUSH(C)
 
31954
+
 
31955
+# Source file extension for C test sources.
 
31956
+ac_ext=c
 
31957
+
 
31958
+# Object file extension for compiled C test sources.
 
31959
+objext=o
 
31960
+_LT_TAGVAR(objext, $1)=$objext
 
31961
+
 
31962
+# Code to be used in simple compile tests
 
31963
+lt_simple_compile_test_code="int some_variable = 0;"
 
31964
+
 
31965
+# Code to be used in simple link tests
 
31966
+lt_simple_link_test_code='int main(){return(0);}'
 
31967
+
 
31968
+_LT_TAG_COMPILER
 
31969
+# Save the default compiler, since it gets overwritten when the other
 
31970
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
31971
+compiler_DEFAULT=$CC
 
31972
+
 
31973
+# save warnings/boilerplate of simple test code
 
31974
+_LT_COMPILER_BOILERPLATE
 
31975
+_LT_LINKER_BOILERPLATE
 
31976
+
 
31977
+## CAVEAT EMPTOR:
 
31978
+## There is no encapsulation within the following macros, do not change
 
31979
+## the running order or otherwise move them around unless you know exactly
 
31980
+## what you are doing...
 
31981
+if test -n "$compiler"; then
 
31982
+  _LT_COMPILER_NO_RTTI($1)
 
31983
+  _LT_COMPILER_PIC($1)
 
31984
+  _LT_COMPILER_C_O($1)
 
31985
+  _LT_COMPILER_FILE_LOCKS($1)
 
31986
+  _LT_LINKER_SHLIBS($1)
 
31987
+  _LT_SYS_DYNAMIC_LINKER($1)
 
31988
+  _LT_LINKER_HARDCODE_LIBPATH($1)
 
31989
+  LT_SYS_DLOPEN_SELF
 
31990
+  _LT_CMD_STRIPLIB
 
31991
+
 
31992
+  # Report which library types will actually be built
 
31993
+  AC_MSG_CHECKING([if libtool supports shared libraries])
 
31994
+  AC_MSG_RESULT([$can_build_shared])
 
31995
+
 
31996
+  AC_MSG_CHECKING([whether to build shared libraries])
 
31997
+  test "$can_build_shared" = "no" && enable_shared=no
 
31998
+
 
31999
+  # On AIX, shared libraries and static libraries use the same namespace, and
 
32000
+  # are all built from PIC.
 
32001
+  case $host_os in
 
32002
+  aix3*)
 
32003
+    test "$enable_shared" = yes && enable_static=no
 
32004
+    if test -n "$RANLIB"; then
 
32005
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
32006
+      postinstall_cmds='$RANLIB $lib'
 
32007
+    fi
 
32008
+    ;;
 
32009
+
 
32010
+  aix[[4-9]]*)
 
32011
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
32012
+      test "$enable_shared" = yes && enable_static=no
 
32013
+    fi
 
32014
+    ;;
 
32015
+  esac
 
32016
+  AC_MSG_RESULT([$enable_shared])
 
32017
+
 
32018
+  AC_MSG_CHECKING([whether to build static libraries])
 
32019
+  # Make sure either enable_shared or enable_static is yes.
 
32020
+  test "$enable_shared" = yes || enable_static=yes
 
32021
+  AC_MSG_RESULT([$enable_static])
 
32022
+
 
32023
+  _LT_CONFIG($1)
 
32024
+fi
 
32025
+AC_LANG_POP
 
32026
+CC="$lt_save_CC"
 
32027
+])# _LT_LANG_C_CONFIG
 
32028
+
 
32029
+
 
32030
+# _LT_PROG_CXX
 
32031
+# ------------
 
32032
+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
 
32033
+# compiler, we have our own version here.
 
32034
+m4_defun([_LT_PROG_CXX],
 
32035
+[
 
32036
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
 
32037
+AC_PROG_CXX
 
32038
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
32039
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
32040
+    (test "X$CXX" != "Xg++"))) ; then
 
32041
+  AC_PROG_CXXCPP
 
32042
+else
 
32043
+  _lt_caught_CXX_error=yes
 
32044
+fi
 
32045
+popdef([AC_MSG_ERROR])
 
32046
+])# _LT_PROG_CXX
 
32047
+
 
32048
+dnl aclocal-1.4 backwards compatibility:
 
32049
+dnl AC_DEFUN([_LT_PROG_CXX], [])
 
32050
+
 
32051
+
 
32052
+# _LT_LANG_CXX_CONFIG([TAG])
 
32053
+# --------------------------
 
32054
+# Ensure that the configuration variables for a C++ compiler are suitably
 
32055
+# defined.  These variables are subsequently used by _LT_CONFIG to write
 
32056
+# the compiler configuration to `libtool'.
 
32057
+m4_defun([_LT_LANG_CXX_CONFIG],
 
32058
+[AC_REQUIRE([_LT_PROG_CXX])dnl
 
32059
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
32060
+m4_require([_LT_DECL_EGREP])dnl
 
32061
+
 
32062
+AC_LANG_PUSH(C++)
 
32063
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
32064
+_LT_TAGVAR(allow_undefined_flag, $1)=
 
32065
+_LT_TAGVAR(always_export_symbols, $1)=no
 
32066
+_LT_TAGVAR(archive_expsym_cmds, $1)=
 
32067
+_LT_TAGVAR(compiler_needs_object, $1)=no
 
32068
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
32069
+_LT_TAGVAR(hardcode_direct, $1)=no
 
32070
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
32071
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
32072
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
32073
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
32074
+_LT_TAGVAR(hardcode_minus_L, $1)=no
 
32075
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
32076
+_LT_TAGVAR(hardcode_automatic, $1)=no
 
32077
+_LT_TAGVAR(inherit_rpath, $1)=no
 
32078
+_LT_TAGVAR(module_cmds, $1)=
 
32079
+_LT_TAGVAR(module_expsym_cmds, $1)=
 
32080
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
32081
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
32082
+_LT_TAGVAR(no_undefined_flag, $1)=
 
32083
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
32084
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
32085
+
 
32086
+# Source file extension for C++ test sources.
 
32087
+ac_ext=cpp
 
32088
+
 
32089
+# Object file extension for compiled C++ test sources.
 
32090
+objext=o
 
32091
+_LT_TAGVAR(objext, $1)=$objext
 
32092
+
 
32093
+# No sense in running all these tests if we already determined that
 
32094
+# the CXX compiler isn't working.  Some variables (like enable_shared)
 
32095
+# are currently assumed to apply to all compilers on this platform,
 
32096
+# and will be corrupted by setting them based on a non-working compiler.
 
32097
+if test "$_lt_caught_CXX_error" != yes; then
 
32098
+  # Code to be used in simple compile tests
 
32099
+  lt_simple_compile_test_code="int some_variable = 0;"
 
32100
+
 
32101
+  # Code to be used in simple link tests
 
32102
+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
 
32103
+
 
32104
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
32105
+  _LT_TAG_COMPILER
 
32106
+
 
32107
+  # save warnings/boilerplate of simple test code
 
32108
+  _LT_COMPILER_BOILERPLATE
 
32109
+  _LT_LINKER_BOILERPLATE
 
32110
+
 
32111
+  # Allow CC to be a program name with arguments.
 
32112
+  lt_save_CC=$CC
 
32113
+  lt_save_LD=$LD
 
32114
+  lt_save_GCC=$GCC
 
32115
+  GCC=$GXX
 
32116
+  lt_save_with_gnu_ld=$with_gnu_ld
 
32117
+  lt_save_path_LD=$lt_cv_path_LD
 
32118
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
32119
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
32120
+  else
 
32121
+    $as_unset lt_cv_prog_gnu_ld
 
32122
+  fi
 
32123
+  if test -n "${lt_cv_path_LDCXX+set}"; then
 
32124
+    lt_cv_path_LD=$lt_cv_path_LDCXX
 
32125
+  else
 
32126
+    $as_unset lt_cv_path_LD
 
32127
+  fi
 
32128
+  test -z "${LDCXX+set}" || LD=$LDCXX
 
32129
+  CC=${CXX-"c++"}
 
32130
+  compiler=$CC
 
32131
+  _LT_TAGVAR(compiler, $1)=$CC
 
32132
+  _LT_CC_BASENAME([$compiler])
 
32133
+
 
32134
+  if test -n "$compiler"; then
 
32135
+    # We don't want -fno-exception when compiling C++ code, so set the
 
32136
+    # no_builtin_flag separately
 
32137
+    if test "$GXX" = yes; then
 
32138
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
32139
+    else
 
32140
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
32141
+    fi
 
32142
+
 
32143
+    if test "$GXX" = yes; then
 
32144
+      # Set up default GNU C++ configuration
 
32145
+
 
32146
+      LT_PATH_LD
 
32147
+
 
32148
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
32149
+      # archiving commands below assume that GNU ld is being used.
 
32150
+      if test "$with_gnu_ld" = yes; then
 
32151
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32152
+        _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'
 
32153
+
 
32154
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
32155
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
32156
+
 
32157
+        # If archive_cmds runs LD, not CC, wlarc should be empty
 
32158
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
32159
+        #     investigate it a little bit more. (MM)
 
32160
+        wlarc='${wl}'
 
32161
+
 
32162
+        # ancient GNU ld didn't support --whole-archive et. al.
 
32163
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
32164
+         $GREP 'no-whole-archive' > /dev/null; then
 
32165
+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
32166
+        else
 
32167
+          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
32168
+        fi
 
32169
+      else
 
32170
+        with_gnu_ld=no
 
32171
+        wlarc=
 
32172
+
 
32173
+        # A generic and very simple default shared library creation
 
32174
+        # command for GNU C++ for the case where it uses the native
 
32175
+        # linker, instead of GNU ld.  If possible, this setting should
 
32176
+        # overridden to take advantage of the native linker features on
 
32177
+        # the platform it is being used on.
 
32178
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
32179
+      fi
 
32180
+
 
32181
+      # Commands to make compiler produce verbose output that lists
 
32182
+      # what "hidden" libraries, object files and flags are used when
 
32183
+      # linking a shared library.
 
32184
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
32185
+
 
32186
+    else
 
32187
+      GXX=no
 
32188
+      with_gnu_ld=no
 
32189
+      wlarc=
 
32190
+    fi
 
32191
+
 
32192
+    # PORTME: fill in a description of your system's C++ link characteristics
 
32193
+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
32194
+    _LT_TAGVAR(ld_shlibs, $1)=yes
 
32195
+    case $host_os in
 
32196
+      aix3*)
 
32197
+        # FIXME: insert proper C++ library support
 
32198
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
32199
+        ;;
 
32200
+      aix[[4-9]]*)
 
32201
+        if test "$host_cpu" = ia64; then
 
32202
+          # On IA64, the linker does run time linking by default, so we don't
 
32203
+          # have to do anything special.
 
32204
+          aix_use_runtimelinking=no
 
32205
+          exp_sym_flag='-Bexport'
 
32206
+          no_entry_flag=""
 
32207
+        else
 
32208
+          aix_use_runtimelinking=no
 
32209
+
 
32210
+          # Test if we are trying to use run time linking or normal
 
32211
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
32212
+          # need to do runtime linking.
 
32213
+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
 
32214
+           for ld_flag in $LDFLAGS; do
 
32215
+             case $ld_flag in
 
32216
+             *-brtl*)
 
32217
+               aix_use_runtimelinking=yes
 
32218
+               break
 
32219
+               ;;
 
32220
+             esac
 
32221
+           done
 
32222
+           ;;
 
32223
+          esac
 
32224
+
 
32225
+          exp_sym_flag='-bexport'
 
32226
+          no_entry_flag='-bnoentry'
 
32227
+        fi
 
32228
+
 
32229
+        # When large executables or shared objects are built, AIX ld can
 
32230
+        # have problems creating the table of contents.  If linking a library
 
32231
+        # or program results in "error TOC overflow" add -mminimal-toc to
 
32232
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
32233
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
32234
+
 
32235
+        _LT_TAGVAR(archive_cmds, $1)=''
 
32236
+        _LT_TAGVAR(hardcode_direct, $1)=yes
 
32237
+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
32238
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
32239
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
 
32240
+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
 
32241
+
 
32242
+        if test "$GXX" = yes; then
 
32243
+          case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
32244
+          # We only want to do this on AIX 4.2 and lower, the check
 
32245
+          # below for broken collect2 doesn't work under 4.3+
 
32246
+         collect2name=`${CC} -print-prog-name=collect2`
 
32247
+         if test -f "$collect2name" &&
 
32248
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
32249
+         then
 
32250
+           # We have reworked collect2
 
32251
+           :
 
32252
+         else
 
32253
+           # We have old collect2
 
32254
+           _LT_TAGVAR(hardcode_direct, $1)=unsupported
 
32255
+           # It fails to find uninstalled libraries when the uninstalled
 
32256
+           # path is not listed in the libpath.  Setting hardcode_minus_L
 
32257
+           # to unsupported forces relinking
 
32258
+           _LT_TAGVAR(hardcode_minus_L, $1)=yes
 
32259
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
32260
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=
 
32261
+         fi
 
32262
+          esac
 
32263
+          shared_flag='-shared'
 
32264
+         if test "$aix_use_runtimelinking" = yes; then
 
32265
+           shared_flag="$shared_flag "'${wl}-G'
 
32266
+         fi
 
32267
+        else
 
32268
+          # not using gcc
 
32269
+          if test "$host_cpu" = ia64; then
 
32270
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
32271
+         # chokes on -Wl,-G. The following line is correct:
 
32272
+         shared_flag='-G'
 
32273
+          else
 
32274
+           if test "$aix_use_runtimelinking" = yes; then
 
32275
+             shared_flag='${wl}-G'
 
32276
+           else
 
32277
+             shared_flag='${wl}-bM:SRE'
 
32278
+           fi
 
32279
+          fi
 
32280
+        fi
 
32281
+
 
32282
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
 
32283
+        # It seems that -bexpall does not export symbols beginning with
 
32284
+        # underscore (_), so it is better to generate a list of symbols to
 
32285
+       # export.
 
32286
+        _LT_TAGVAR(always_export_symbols, $1)=yes
 
32287
+        if test "$aix_use_runtimelinking" = yes; then
 
32288
+          # Warning - without using the other runtime loading flags (-brtl),
 
32289
+          # -berok will link without error, but may produce a broken library.
 
32290
+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
 
32291
+          # Determine the default libpath from the value encoded in an empty
 
32292
+          # executable.
 
32293
+          _LT_SYS_MODULE_PATH_AIX
 
32294
+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
32295
+
 
32296
+          _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"
 
32297
+        else
 
32298
+          if test "$host_cpu" = ia64; then
 
32299
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
32300
+           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
32301
+           _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"
 
32302
+          else
 
32303
+           # Determine the default libpath from the value encoded in an
 
32304
+           # empty executable.
 
32305
+           _LT_SYS_MODULE_PATH_AIX
 
32306
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
32307
+           # Warning - without using the other run time loading flags,
 
32308
+           # -berok will link without error, but may produce a broken library.
 
32309
+           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
32310
+           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
32311
+           # Exported symbols can be pulled into shared objects from archives
 
32312
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
32313
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
32314
+           # This is similar to how AIX traditionally builds its shared
 
32315
+           # libraries.
 
32316
+           _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'
 
32317
+          fi
 
32318
+        fi
 
32319
+        ;;
 
32320
+
 
32321
+      beos*)
 
32322
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
32323
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
32324
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
32325
+         # support --undefined.  This deserves some investigation.  FIXME
 
32326
+         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32327
+       else
 
32328
+         _LT_TAGVAR(ld_shlibs, $1)=no
 
32329
+       fi
 
32330
+       ;;
 
32331
+
 
32332
+      chorus*)
 
32333
+        case $cc_basename in
 
32334
+          *)
 
32335
+         # FIXME: insert proper C++ library support
 
32336
+         _LT_TAGVAR(ld_shlibs, $1)=no
 
32337
+         ;;
 
32338
+        esac
 
32339
+        ;;
 
32340
+
 
32341
+      cygwin* | mingw* | pw32* | cegcc*)
 
32342
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
32343
+        # as there is no search path for DLLs.
 
32344
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
32345
+        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 
32346
+        _LT_TAGVAR(always_export_symbols, $1)=no
 
32347
+        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
32348
+
 
32349
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
32350
+          _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'
 
32351
+          # If the export-symbols file already is a .def file (1st line
 
32352
+          # is EXPORTS), use it as is; otherwise, prepend...
 
32353
+          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
32354
+           cp $export_symbols $output_objdir/$soname.def;
 
32355
+          else
 
32356
+           echo EXPORTS > $output_objdir/$soname.def;
 
32357
+           cat $export_symbols >> $output_objdir/$soname.def;
 
32358
+          fi~
 
32359
+          $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'
 
32360
+        else
 
32361
+          _LT_TAGVAR(ld_shlibs, $1)=no
 
32362
+        fi
 
32363
+        ;;
 
32364
+      darwin* | rhapsody*)
 
32365
+        _LT_DARWIN_LINKER_FEATURES($1)
 
32366
+       ;;
 
32367
+
 
32368
+      dgux*)
 
32369
+        case $cc_basename in
 
32370
+          ec++*)
 
32371
+           # FIXME: insert proper C++ library support
 
32372
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32373
+           ;;
 
32374
+          ghcx*)
 
32375
+           # Green Hills C++ Compiler
 
32376
+           # FIXME: insert proper C++ library support
 
32377
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32378
+           ;;
 
32379
+          *)
 
32380
+           # FIXME: insert proper C++ library support
 
32381
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32382
+           ;;
 
32383
+        esac
 
32384
+        ;;
 
32385
+
 
32386
+      freebsd[[12]]*)
 
32387
+        # C++ shared libraries reported to be fairly broken before
 
32388
+       # switch to ELF
 
32389
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
32390
+        ;;
 
32391
+
 
32392
+      freebsd-elf*)
 
32393
+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
32394
+        ;;
 
32395
+
 
32396
+      freebsd* | dragonfly*)
 
32397
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
32398
+        # conventions
 
32399
+        _LT_TAGVAR(ld_shlibs, $1)=yes
 
32400
+        ;;
 
32401
+
 
32402
+      gnu*)
 
32403
+        ;;
 
32404
+
 
32405
+      hpux9*)
 
32406
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
32407
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32408
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
32409
+        _LT_TAGVAR(hardcode_direct, $1)=yes
 
32410
+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
32411
+                                            # but as the default
 
32412
+                                            # location of the library.
 
32413
+
 
32414
+        case $cc_basename in
 
32415
+          CC*)
 
32416
+            # FIXME: insert proper C++ library support
 
32417
+            _LT_TAGVAR(ld_shlibs, $1)=no
 
32418
+            ;;
 
32419
+          aCC*)
 
32420
+            _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'
 
32421
+            # Commands to make compiler produce verbose output that lists
 
32422
+            # what "hidden" libraries, object files and flags are used when
 
32423
+            # linking a shared library.
 
32424
+            #
 
32425
+            # There doesn't appear to be a way to prevent this compiler from
 
32426
+            # explicitly linking system object files so we need to strip them
 
32427
+            # from the output so that they don't get included in the library
 
32428
+            # dependencies.
 
32429
+            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'
 
32430
+            ;;
 
32431
+          *)
 
32432
+            if test "$GXX" = yes; then
 
32433
+              _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'
 
32434
+            else
 
32435
+              # FIXME: insert proper C++ library support
 
32436
+              _LT_TAGVAR(ld_shlibs, $1)=no
 
32437
+            fi
 
32438
+            ;;
 
32439
+        esac
 
32440
+        ;;
 
32441
+
 
32442
+      hpux10*|hpux11*)
 
32443
+        if test $with_gnu_ld = no; then
 
32444
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
32445
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32446
+
 
32447
+          case $host_cpu in
 
32448
+            hppa*64*|ia64*)
 
32449
+              ;;
 
32450
+            *)
 
32451
+             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
32452
+              ;;
 
32453
+          esac
 
32454
+        fi
 
32455
+        case $host_cpu in
 
32456
+          hppa*64*|ia64*)
 
32457
+            _LT_TAGVAR(hardcode_direct, $1)=no
 
32458
+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32459
+            ;;
 
32460
+          *)
 
32461
+            _LT_TAGVAR(hardcode_direct, $1)=yes
 
32462
+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
32463
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
32464
+                                                # but as the default
 
32465
+                                                # location of the library.
 
32466
+            ;;
 
32467
+        esac
 
32468
+
 
32469
+        case $cc_basename in
 
32470
+          CC*)
 
32471
+           # FIXME: insert proper C++ library support
 
32472
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32473
+           ;;
 
32474
+          aCC*)
 
32475
+           case $host_cpu in
 
32476
+             hppa*64*)
 
32477
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
32478
+               ;;
 
32479
+             ia64*)
 
32480
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
32481
+               ;;
 
32482
+             *)
 
32483
+               _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'
 
32484
+               ;;
 
32485
+           esac
 
32486
+           # Commands to make compiler produce verbose output that lists
 
32487
+           # what "hidden" libraries, object files and flags are used when
 
32488
+           # linking a shared library.
 
32489
+           #
 
32490
+           # There doesn't appear to be a way to prevent this compiler from
 
32491
+           # explicitly linking system object files so we need to strip them
 
32492
+           # from the output so that they don't get included in the library
 
32493
+           # dependencies.
 
32494
+           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'
 
32495
+           ;;
 
32496
+          *)
 
32497
+           if test "$GXX" = yes; then
 
32498
+             if test $with_gnu_ld = no; then
 
32499
+               case $host_cpu in
 
32500
+                 hppa*64*)
 
32501
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
32502
+                   ;;
 
32503
+                 ia64*)
 
32504
+                   _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'
 
32505
+                   ;;
 
32506
+                 *)
 
32507
+                   _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'
 
32508
+                   ;;
 
32509
+               esac
 
32510
+             fi
 
32511
+           else
 
32512
+             # FIXME: insert proper C++ library support
 
32513
+             _LT_TAGVAR(ld_shlibs, $1)=no
 
32514
+           fi
 
32515
+           ;;
 
32516
+        esac
 
32517
+        ;;
 
32518
+
 
32519
+      interix[[3-9]]*)
 
32520
+       _LT_TAGVAR(hardcode_direct, $1)=no
 
32521
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32522
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
32523
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
32524
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
32525
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
 
32526
+       # default) and relocated if they conflict, which is a slow very memory
 
32527
+       # consuming and fragmenting process.  To avoid this, we pick a random,
 
32528
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
32529
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
32530
+       _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'
 
32531
+       _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'
 
32532
+       ;;
 
32533
+      irix5* | irix6*)
 
32534
+        case $cc_basename in
 
32535
+          CC*)
 
32536
+           # SGI C++
 
32537
+           _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'
 
32538
+
 
32539
+           # Archives containing C++ object files must be created using
 
32540
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
32541
+           # necessary to make sure instantiated templates are included
 
32542
+           # in the archive.
 
32543
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
32544
+           ;;
 
32545
+          *)
 
32546
+           if test "$GXX" = yes; then
 
32547
+             if test "$with_gnu_ld" = no; then
 
32548
+               _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'
 
32549
+             else
 
32550
+               _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'
 
32551
+             fi
 
32552
+           fi
 
32553
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
32554
+           ;;
 
32555
+        esac
 
32556
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
32557
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32558
+        _LT_TAGVAR(inherit_rpath, $1)=yes
 
32559
+        ;;
 
32560
+
 
32561
+      linux* | k*bsd*-gnu)
 
32562
+        case $cc_basename in
 
32563
+          KCC*)
 
32564
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
32565
+
 
32566
+           # KCC will only create a shared library if the output file
 
32567
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
32568
+           # to its proper name (with version) after linking.
 
32569
+           _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'
 
32570
+           _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'
 
32571
+           # Commands to make compiler produce verbose output that lists
 
32572
+           # what "hidden" libraries, object files and flags are used when
 
32573
+           # linking a shared library.
 
32574
+           #
 
32575
+           # There doesn't appear to be a way to prevent this compiler from
 
32576
+           # explicitly linking system object files so we need to strip them
 
32577
+           # from the output so that they don't get included in the library
 
32578
+           # dependencies.
 
32579
+           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'
 
32580
+
 
32581
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
32582
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
32583
+
 
32584
+           # Archives containing C++ object files must be created using
 
32585
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
32586
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
32587
+           ;;
 
32588
+         icpc* | ecpc* )
 
32589
+           # Intel C++
 
32590
+           with_gnu_ld=yes
 
32591
+           # version 8.0 and above of icpc choke on multiply defined symbols
 
32592
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
 
32593
+           # earlier do not add the objects themselves.
 
32594
+           case `$CC -V 2>&1` in
 
32595
+             *"Version 7."*)
 
32596
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32597
+               _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'
 
32598
+               ;;
 
32599
+             *)  # Version 8.0 or newer
 
32600
+               tmp_idyn=
 
32601
+               case $host_cpu in
 
32602
+                 ia64*) tmp_idyn=' -i_dynamic';;
 
32603
+               esac
 
32604
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32605
+               _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'
 
32606
+               ;;
 
32607
+           esac
 
32608
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
32609
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
32610
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
32611
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
32612
+           ;;
 
32613
+          pgCC* | pgcpp*)
 
32614
+            # Portland Group C++ compiler
 
32615
+           case `$CC -V` in
 
32616
+           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
 
32617
+             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
 
32618
+               rm -rf $tpldir~
 
32619
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
32620
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
32621
+             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
 
32622
+               rm -rf $tpldir~
 
32623
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
32624
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
32625
+               $RANLIB $oldlib'
 
32626
+             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
 
32627
+               rm -rf $tpldir~
 
32628
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
32629
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
32630
+             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
 
32631
+               rm -rf $tpldir~
 
32632
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
32633
+               $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'
 
32634
+             ;;
 
32635
+           *) # Version 6 will use weak symbols
 
32636
+             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
32637
+             _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'
 
32638
+             ;;
 
32639
+           esac
 
32640
+
 
32641
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
32642
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
32643
+           _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'
 
32644
+            ;;
 
32645
+         cxx*)
 
32646
+           # Compaq C++
 
32647
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32648
+           _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'
 
32649
+
 
32650
+           runpath_var=LD_RUN_PATH
 
32651
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
32652
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32653
+
 
32654
+           # Commands to make compiler produce verbose output that lists
 
32655
+           # what "hidden" libraries, object files and flags are used when
 
32656
+           # linking a shared library.
 
32657
+           #
 
32658
+           # There doesn't appear to be a way to prevent this compiler from
 
32659
+           # explicitly linking system object files so we need to strip them
 
32660
+           # from the output so that they don't get included in the library
 
32661
+           # dependencies.
 
32662
+           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'
 
32663
+           ;;
 
32664
+         xl*)
 
32665
+           # IBM XL 8.0 on PPC, with GNU ld
 
32666
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
32667
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
32668
+           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
32669
+           if test "x$supports_anon_versioning" = xyes; then
 
32670
+             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
 
32671
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
32672
+               echo "local: *; };" >> $output_objdir/$libname.ver~
 
32673
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
32674
+           fi
 
32675
+           ;;
 
32676
+         *)
 
32677
+           case `$CC -V 2>&1 | sed 5q` in
 
32678
+           *Sun\ C*)
 
32679
+             # Sun C++ 5.9
 
32680
+             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
32681
+             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
32682
+             _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'
 
32683
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
32684
+             _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'
 
32685
+             _LT_TAGVAR(compiler_needs_object, $1)=yes
 
32686
+
 
32687
+             # Not sure whether something based on
 
32688
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
32689
+             # would be better.
 
32690
+             output_verbose_link_cmd='echo'
 
32691
+
 
32692
+             # Archives containing C++ object files must be created using
 
32693
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
32694
+             # necessary to make sure instantiated templates are included
 
32695
+             # in the archive.
 
32696
+             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
32697
+             ;;
 
32698
+           esac
 
32699
+           ;;
 
32700
+       esac
 
32701
+       ;;
 
32702
+
 
32703
+      lynxos*)
 
32704
+        # FIXME: insert proper C++ library support
 
32705
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
32706
+       ;;
 
32707
+
 
32708
+      m88k*)
 
32709
+        # FIXME: insert proper C++ library support
 
32710
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
32711
+       ;;
 
32712
+
 
32713
+      mvs*)
 
32714
+        case $cc_basename in
 
32715
+          cxx*)
 
32716
+           # FIXME: insert proper C++ library support
 
32717
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32718
+           ;;
 
32719
+         *)
 
32720
+           # FIXME: insert proper C++ library support
 
32721
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32722
+           ;;
 
32723
+       esac
 
32724
+       ;;
 
32725
+
 
32726
+      netbsd*)
 
32727
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
32728
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
32729
+         wlarc=
 
32730
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
32731
+         _LT_TAGVAR(hardcode_direct, $1)=yes
 
32732
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32733
+       fi
 
32734
+       # Workaround some broken pre-1.5 toolchains
 
32735
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
32736
+       ;;
 
32737
+
 
32738
+      *nto* | *qnx*)
 
32739
+        _LT_TAGVAR(ld_shlibs, $1)=yes
 
32740
+       ;;
 
32741
+
 
32742
+      openbsd2*)
 
32743
+        # C++ shared libraries are fairly broken
 
32744
+       _LT_TAGVAR(ld_shlibs, $1)=no
 
32745
+       ;;
 
32746
+
 
32747
+      openbsd*)
 
32748
+       if test -f /usr/libexec/ld.so; then
 
32749
+         _LT_TAGVAR(hardcode_direct, $1)=yes
 
32750
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32751
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
 
32752
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
32753
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
32754
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
32755
+           _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'
 
32756
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
32757
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
32758
+         fi
 
32759
+         output_verbose_link_cmd=echo
 
32760
+       else
 
32761
+         _LT_TAGVAR(ld_shlibs, $1)=no
 
32762
+       fi
 
32763
+       ;;
 
32764
+
 
32765
+      osf3* | osf4* | osf5*)
 
32766
+        case $cc_basename in
 
32767
+          KCC*)
 
32768
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
 
32769
+
 
32770
+           # KCC will only create a shared library if the output file
 
32771
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
32772
+           # to its proper name (with version) after linking.
 
32773
+           _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'
 
32774
+
 
32775
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
32776
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32777
+
 
32778
+           # Archives containing C++ object files must be created using
 
32779
+           # the KAI C++ compiler.
 
32780
+           case $host in
 
32781
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
32782
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
 
32783
+           esac
 
32784
+           ;;
 
32785
+          RCC*)
 
32786
+           # Rational C++ 2.4.1
 
32787
+           # FIXME: insert proper C++ library support
 
32788
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32789
+           ;;
 
32790
+          cxx*)
 
32791
+           case $host in
 
32792
+             osf3*)
 
32793
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
32794
+               _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'
 
32795
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
32796
+               ;;
 
32797
+             *)
 
32798
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
32799
+               _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'
 
32800
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
32801
+                 echo "-hidden">> $lib.exp~
 
32802
+                 $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~
 
32803
+                 $RM $lib.exp'
 
32804
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
32805
+               ;;
 
32806
+           esac
 
32807
+
 
32808
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32809
+
 
32810
+           # Commands to make compiler produce verbose output that lists
 
32811
+           # what "hidden" libraries, object files and flags are used when
 
32812
+           # linking a shared library.
 
32813
+           #
 
32814
+           # There doesn't appear to be a way to prevent this compiler from
 
32815
+           # explicitly linking system object files so we need to strip them
 
32816
+           # from the output so that they don't get included in the library
 
32817
+           # dependencies.
 
32818
+           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'
 
32819
+           ;;
 
32820
+         *)
 
32821
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
32822
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
32823
+             case $host in
 
32824
+               osf3*)
 
32825
+                 _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'
 
32826
+                 ;;
 
32827
+               *)
 
32828
+                 _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'
 
32829
+                 ;;
 
32830
+             esac
 
32831
+
 
32832
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
32833
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
 
32834
+
 
32835
+             # Commands to make compiler produce verbose output that lists
 
32836
+             # what "hidden" libraries, object files and flags are used when
 
32837
+             # linking a shared library.
 
32838
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
32839
+
 
32840
+           else
 
32841
+             # FIXME: insert proper C++ library support
 
32842
+             _LT_TAGVAR(ld_shlibs, $1)=no
 
32843
+           fi
 
32844
+           ;;
 
32845
+        esac
 
32846
+        ;;
 
32847
+
 
32848
+      psos*)
 
32849
+        # FIXME: insert proper C++ library support
 
32850
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
32851
+        ;;
 
32852
+
 
32853
+      sunos4*)
 
32854
+        case $cc_basename in
 
32855
+          CC*)
 
32856
+           # Sun C++ 4.x
 
32857
+           # FIXME: insert proper C++ library support
 
32858
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32859
+           ;;
 
32860
+          lcc*)
 
32861
+           # Lucid
 
32862
+           # FIXME: insert proper C++ library support
 
32863
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32864
+           ;;
 
32865
+          *)
 
32866
+           # FIXME: insert proper C++ library support
 
32867
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
32868
+           ;;
 
32869
+        esac
 
32870
+        ;;
 
32871
+
 
32872
+      solaris*)
 
32873
+        case $cc_basename in
 
32874
+          CC*)
 
32875
+           # Sun C++ 4.2, 5.x and Centerline C++
 
32876
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
 
32877
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
32878
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
32879
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
32880
+             $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'
 
32881
+
 
32882
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
32883
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32884
+           case $host_os in
 
32885
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
32886
+             *)
 
32887
+               # The compiler driver will combine and reorder linker options,
 
32888
+               # but understands `-z linker_flag'.
 
32889
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
 
32890
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
32891
+               ;;
 
32892
+           esac
 
32893
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
 
32894
+
 
32895
+           output_verbose_link_cmd='echo'
 
32896
+
 
32897
+           # Archives containing C++ object files must be created using
 
32898
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
32899
+           # necessary to make sure instantiated templates are included
 
32900
+           # in the archive.
 
32901
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
32902
+           ;;
 
32903
+          gcx*)
 
32904
+           # Green Hills C++ Compiler
 
32905
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
32906
+
 
32907
+           # The C++ compiler must be used to create the archive.
 
32908
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
32909
+           ;;
 
32910
+          *)
 
32911
+           # GNU C++ compiler with Solaris linker
 
32912
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
32913
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
32914
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
32915
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
32916
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
32917
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
32918
+
 
32919
+               # Commands to make compiler produce verbose output that lists
 
32920
+               # what "hidden" libraries, object files and flags are used when
 
32921
+               # linking a shared library.
 
32922
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
32923
+             else
 
32924
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
32925
+               # platform.
 
32926
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
32927
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
32928
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
32929
+
 
32930
+               # Commands to make compiler produce verbose output that lists
 
32931
+               # what "hidden" libraries, object files and flags are used when
 
32932
+               # linking a shared library.
 
32933
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
32934
+             fi
 
32935
+
 
32936
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
32937
+             case $host_os in
 
32938
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
32939
+               *)
 
32940
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
32941
+                 ;;
 
32942
+             esac
 
32943
+           fi
 
32944
+           ;;
 
32945
+        esac
 
32946
+        ;;
 
32947
+
 
32948
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
32949
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
32950
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
32951
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32952
+      runpath_var='LD_RUN_PATH'
 
32953
+
 
32954
+      case $cc_basename in
 
32955
+        CC*)
 
32956
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32957
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32958
+         ;;
 
32959
+       *)
 
32960
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32961
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32962
+         ;;
 
32963
+      esac
 
32964
+      ;;
 
32965
+
 
32966
+      sysv5* | sco3.2v5* | sco5v6*)
 
32967
+       # Note: We can NOT use -z defs as we might desire, because we do not
 
32968
+       # link with -lc, and that would cause any symbols used from libc to
 
32969
+       # always be unresolved, which means just about no library would
 
32970
+       # ever link correctly.  If we're not using GNU ld we use -z text
 
32971
+       # though, which does catch some bad symbols but isn't as heavy-handed
 
32972
+       # as -z defs.
 
32973
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
32974
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
32975
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
32976
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
 
32977
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
 
32978
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
 
32979
+       _LT_TAGVAR(link_all_deplibs, $1)=yes
 
32980
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
32981
+       runpath_var='LD_RUN_PATH'
 
32982
+
 
32983
+       case $cc_basename in
 
32984
+          CC*)
 
32985
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32986
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32987
+           ;;
 
32988
+         *)
 
32989
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32990
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
32991
+           ;;
 
32992
+       esac
 
32993
+      ;;
 
32994
+
 
32995
+      tandem*)
 
32996
+        case $cc_basename in
 
32997
+          NCC*)
 
32998
+           # NonStop-UX NCC 3.20
 
32999
+           # FIXME: insert proper C++ library support
 
33000
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
33001
+           ;;
 
33002
+          *)
 
33003
+           # FIXME: insert proper C++ library support
 
33004
+           _LT_TAGVAR(ld_shlibs, $1)=no
 
33005
+           ;;
 
33006
+        esac
 
33007
+        ;;
 
33008
+
 
33009
+      vxworks*)
 
33010
+        # FIXME: insert proper C++ library support
 
33011
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
33012
+        ;;
 
33013
+
 
33014
+      *)
 
33015
+        # FIXME: insert proper C++ library support
 
33016
+        _LT_TAGVAR(ld_shlibs, $1)=no
 
33017
+        ;;
 
33018
+    esac
 
33019
+
 
33020
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
 
33021
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
33022
+
 
33023
+    _LT_TAGVAR(GCC, $1)="$GXX"
 
33024
+    _LT_TAGVAR(LD, $1)="$LD"
 
33025
+
 
33026
+    ## CAVEAT EMPTOR:
 
33027
+    ## There is no encapsulation within the following macros, do not change
 
33028
+    ## the running order or otherwise move them around unless you know exactly
 
33029
+    ## what you are doing...
 
33030
+    _LT_SYS_HIDDEN_LIBDEPS($1)
 
33031
+    _LT_COMPILER_PIC($1)
 
33032
+    _LT_COMPILER_C_O($1)
 
33033
+    _LT_COMPILER_FILE_LOCKS($1)
 
33034
+    _LT_LINKER_SHLIBS($1)
 
33035
+    _LT_SYS_DYNAMIC_LINKER($1)
 
33036
+    _LT_LINKER_HARDCODE_LIBPATH($1)
 
33037
+
 
33038
+    _LT_CONFIG($1)
 
33039
+  fi # test -n "$compiler"
 
33040
+
 
33041
+  CC=$lt_save_CC
 
33042
+  LDCXX=$LD
 
33043
+  LD=$lt_save_LD
 
33044
+  GCC=$lt_save_GCC
 
33045
+  with_gnu_ld=$lt_save_with_gnu_ld
 
33046
+  lt_cv_path_LDCXX=$lt_cv_path_LD
 
33047
+  lt_cv_path_LD=$lt_save_path_LD
 
33048
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
33049
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
33050
+fi # test "$_lt_caught_CXX_error" != yes
 
33051
+
 
33052
+AC_LANG_POP
 
33053
+])# _LT_LANG_CXX_CONFIG
 
33054
+
 
33055
+
 
33056
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
 
33057
+# ---------------------------------
 
33058
+# Figure out "hidden" library dependencies from verbose
 
33059
+# compiler output when linking a shared library.
 
33060
+# Parse the compiler output and extract the necessary
 
33061
+# objects, libraries and library flags.
 
33062
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
 
33063
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
33064
+# Dependencies to place before and after the object being linked:
 
33065
+_LT_TAGVAR(predep_objects, $1)=
 
33066
+_LT_TAGVAR(postdep_objects, $1)=
 
33067
+_LT_TAGVAR(predeps, $1)=
 
33068
+_LT_TAGVAR(postdeps, $1)=
 
33069
+_LT_TAGVAR(compiler_lib_search_path, $1)=
 
33070
+
 
33071
+dnl we can't use the lt_simple_compile_test_code here,
 
33072
+dnl because it contains code intended for an executable,
 
33073
+dnl not a library.  It's possible we should let each
 
33074
+dnl tag define a new lt_????_link_test_code variable,
 
33075
+dnl but it's only used here...
 
33076
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
 
33077
+int a;
 
33078
+void foo (void) { a = 0; }
 
33079
+_LT_EOF
 
33080
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
 
33081
+class Foo
 
33082
+{
 
33083
+public:
 
33084
+  Foo (void) { a = 0; }
 
33085
+private:
 
33086
+  int a;
 
33087
+};
 
33088
+_LT_EOF
 
33089
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
 
33090
+      subroutine foo
 
33091
+      implicit none
 
33092
+      integer*4 a
 
33093
+      a=0
 
33094
+      return
 
33095
+      end
 
33096
+_LT_EOF
 
33097
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
 
33098
+      subroutine foo
 
33099
+      implicit none
 
33100
+      integer a
 
33101
+      a=0
 
33102
+      return
 
33103
+      end
 
33104
+_LT_EOF
 
33105
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
 
33106
+public class foo {
 
33107
+  private int a;
 
33108
+  public void bar (void) {
 
33109
+    a = 0;
 
33110
+  }
 
33111
+};
 
33112
+_LT_EOF
 
33113
+])
 
33114
+dnl Parse the compiler output and extract the necessary
 
33115
+dnl objects, libraries and library flags.
 
33116
+if AC_TRY_EVAL(ac_compile); then
 
33117
+  # Parse the compiler output and extract the necessary
 
33118
+  # objects, libraries and library flags.
 
33119
+
 
33120
+  # Sentinel used to keep track of whether or not we are before
 
33121
+  # the conftest object file.
 
33122
+  pre_test_object_deps_done=no
 
33123
+
 
33124
+  for p in `eval "$output_verbose_link_cmd"`; do
 
33125
+    case $p in
 
33126
+
 
33127
+    -L* | -R* | -l*)
 
33128
+       # Some compilers place space between "-{L,R}" and the path.
 
33129
+       # Remove the space.
 
33130
+       if test $p = "-L" ||
 
33131
+          test $p = "-R"; then
 
33132
+        prev=$p
 
33133
+        continue
 
33134
+       else
 
33135
+        prev=
 
33136
+       fi
 
33137
+
 
33138
+       if test "$pre_test_object_deps_done" = no; then
 
33139
+        case $p in
 
33140
+        -L* | -R*)
 
33141
+          # Internal compiler library paths should come after those
 
33142
+          # provided the user.  The postdeps already come after the
 
33143
+          # user supplied libs so there is no need to process them.
 
33144
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
 
33145
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
33146
+          else
 
33147
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
33148
+          fi
 
33149
+          ;;
 
33150
+        # The "-l" case would never come before the object being
 
33151
+        # linked, so don't bother handling this case.
 
33152
+        esac
 
33153
+       else
 
33154
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
 
33155
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
 
33156
+        else
 
33157
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
 
33158
+        fi
 
33159
+       fi
 
33160
+       ;;
 
33161
+
 
33162
+    *.$objext)
 
33163
+       # This assumes that the test object file only shows up
 
33164
+       # once in the compiler output.
 
33165
+       if test "$p" = "conftest.$objext"; then
 
33166
+        pre_test_object_deps_done=yes
 
33167
+        continue
 
33168
+       fi
 
33169
+
 
33170
+       if test "$pre_test_object_deps_done" = no; then
 
33171
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
 
33172
+          _LT_TAGVAR(predep_objects, $1)="$p"
 
33173
+        else
 
33174
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
 
33175
+        fi
 
33176
+       else
 
33177
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
 
33178
+          _LT_TAGVAR(postdep_objects, $1)="$p"
 
33179
+        else
 
33180
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
 
33181
+        fi
 
33182
+       fi
 
33183
+       ;;
 
33184
+
 
33185
+    *) ;; # Ignore the rest.
 
33186
+
 
33187
+    esac
 
33188
+  done
 
33189
+
 
33190
+  # Clean up.
 
33191
+  rm -f a.out a.exe
 
33192
+else
 
33193
+  echo "libtool.m4: error: problem compiling $1 test program"
 
33194
+fi
 
33195
+
 
33196
+$RM -f confest.$objext
 
33197
+
 
33198
+# PORTME: override above test on systems where it is broken
 
33199
+m4_if([$1], [CXX],
 
33200
+[case $host_os in
 
33201
+interix[[3-9]]*)
 
33202
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
33203
+  # hack all around it, let's just trust "g++" to DTRT.
 
33204
+  _LT_TAGVAR(predep_objects,$1)=
 
33205
+  _LT_TAGVAR(postdep_objects,$1)=
 
33206
+  _LT_TAGVAR(postdeps,$1)=
 
33207
+  ;;
 
33208
+
 
33209
+linux*)
 
33210
+  case `$CC -V 2>&1 | sed 5q` in
 
33211
+  *Sun\ C*)
 
33212
+    # Sun C++ 5.9
 
33213
+
 
33214
+    # The more standards-conforming stlport4 library is
 
33215
+    # incompatible with the Cstd library. Avoid specifying
 
33216
+    # it if it's in CXXFLAGS. Ignore libCrun as
 
33217
+    # -library=stlport4 depends on it.
 
33218
+    case " $CXX $CXXFLAGS " in
 
33219
+    *" -library=stlport4 "*)
 
33220
+      solaris_use_stlport4=yes
 
33221
+      ;;
 
33222
+    esac
 
33223
+
 
33224
+    if test "$solaris_use_stlport4" != yes; then
 
33225
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
33226
+    fi
 
33227
+    ;;
 
33228
+  esac
 
33229
+  ;;
 
33230
+
 
33231
+solaris*)
 
33232
+  case $cc_basename in
 
33233
+  CC*)
 
33234
+    # The more standards-conforming stlport4 library is
 
33235
+    # incompatible with the Cstd library. Avoid specifying
 
33236
+    # it if it's in CXXFLAGS. Ignore libCrun as
 
33237
+    # -library=stlport4 depends on it.
 
33238
+    case " $CXX $CXXFLAGS " in
 
33239
+    *" -library=stlport4 "*)
 
33240
+      solaris_use_stlport4=yes
 
33241
+      ;;
 
33242
+    esac
 
33243
+
 
33244
+    # Adding this requires a known-good setup of shared libraries for
 
33245
+    # Sun compiler versions before 5.6, else PIC objects from an old
 
33246
+    # archive will be linked into the output, leading to subtle bugs.
 
33247
+    if test "$solaris_use_stlport4" != yes; then
 
33248
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
33249
+    fi
 
33250
+    ;;
 
33251
+  esac
 
33252
+  ;;
 
33253
+esac
 
33254
+])
 
33255
+
 
33256
+case " $_LT_TAGVAR(postdeps, $1) " in
 
33257
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
33258
+esac
 
33259
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
 
33260
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
 
33261
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
33262
+fi
 
33263
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
 
33264
+    [The directories searched by this compiler when creating a shared library])
 
33265
+_LT_TAGDECL([], [predep_objects], [1],
 
33266
+    [Dependencies to place before and after the objects being linked to
 
33267
+    create a shared library])
 
33268
+_LT_TAGDECL([], [postdep_objects], [1])
 
33269
+_LT_TAGDECL([], [predeps], [1])
 
33270
+_LT_TAGDECL([], [postdeps], [1])
 
33271
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
 
33272
+    [The library search path used internally by the compiler when linking
 
33273
+    a shared library])
 
33274
+])# _LT_SYS_HIDDEN_LIBDEPS
 
33275
+
 
33276
+
 
33277
+# _LT_PROG_F77
 
33278
+# ------------
 
33279
+# Since AC_PROG_F77 is broken, in that it returns the empty string
 
33280
+# if there is no fortran compiler, we have our own version here.
 
33281
+m4_defun([_LT_PROG_F77],
 
33282
+[
 
33283
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
 
33284
+AC_PROG_F77
 
33285
+if test -z "$F77" || test "X$F77" = "Xno"; then
 
33286
+  _lt_disable_F77=yes
 
33287
+fi
 
33288
+popdef([AC_MSG_ERROR])
 
33289
+])# _LT_PROG_F77
 
33290
+
 
33291
+dnl aclocal-1.4 backwards compatibility:
 
33292
+dnl AC_DEFUN([_LT_PROG_F77], [])
 
33293
+
 
33294
+
 
33295
+# _LT_LANG_F77_CONFIG([TAG])
 
33296
+# --------------------------
 
33297
+# Ensure that the configuration variables for a Fortran 77 compiler are
 
33298
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
33299
+# to write the compiler configuration to `libtool'.
 
33300
+m4_defun([_LT_LANG_F77_CONFIG],
 
33301
+[AC_REQUIRE([_LT_PROG_F77])dnl
 
33302
+AC_LANG_PUSH(Fortran 77)
 
33303
+
 
33304
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
33305
+_LT_TAGVAR(allow_undefined_flag, $1)=
 
33306
+_LT_TAGVAR(always_export_symbols, $1)=no
 
33307
+_LT_TAGVAR(archive_expsym_cmds, $1)=
 
33308
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
33309
+_LT_TAGVAR(hardcode_direct, $1)=no
 
33310
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
33311
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
33312
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
33313
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
33314
+_LT_TAGVAR(hardcode_minus_L, $1)=no
 
33315
+_LT_TAGVAR(hardcode_automatic, $1)=no
 
33316
+_LT_TAGVAR(inherit_rpath, $1)=no
 
33317
+_LT_TAGVAR(module_cmds, $1)=
 
33318
+_LT_TAGVAR(module_expsym_cmds, $1)=
 
33319
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
33320
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
33321
+_LT_TAGVAR(no_undefined_flag, $1)=
 
33322
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
33323
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
33324
+
 
33325
+# Source file extension for f77 test sources.
 
33326
+ac_ext=f
 
33327
+
 
33328
+# Object file extension for compiled f77 test sources.
 
33329
+objext=o
 
33330
+_LT_TAGVAR(objext, $1)=$objext
 
33331
+
 
33332
+# No sense in running all these tests if we already determined that
 
33333
+# the F77 compiler isn't working.  Some variables (like enable_shared)
 
33334
+# are currently assumed to apply to all compilers on this platform,
 
33335
+# and will be corrupted by setting them based on a non-working compiler.
 
33336
+if test "$_lt_disable_F77" != yes; then
 
33337
+  # Code to be used in simple compile tests
 
33338
+  lt_simple_compile_test_code="\
 
33339
+      subroutine t
 
33340
+      return
 
33341
+      end
 
33342
+"
 
33343
+
 
33344
+  # Code to be used in simple link tests
 
33345
+  lt_simple_link_test_code="\
 
33346
+      program t
 
33347
+      end
 
33348
+"
 
33349
+
 
33350
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
33351
+  _LT_TAG_COMPILER
 
33352
+
 
33353
+  # save warnings/boilerplate of simple test code
 
33354
+  _LT_COMPILER_BOILERPLATE
 
33355
+  _LT_LINKER_BOILERPLATE
 
33356
+
 
33357
+  # Allow CC to be a program name with arguments.
 
33358
+  lt_save_CC="$CC"
 
33359
+  lt_save_GCC=$GCC
 
33360
+  CC=${F77-"f77"}
 
33361
+  compiler=$CC
 
33362
+  _LT_TAGVAR(compiler, $1)=$CC
 
33363
+  _LT_CC_BASENAME([$compiler])
 
33364
+  GCC=$G77
 
33365
+  if test -n "$compiler"; then
 
33366
+    AC_MSG_CHECKING([if libtool supports shared libraries])
 
33367
+    AC_MSG_RESULT([$can_build_shared])
 
33368
+
 
33369
+    AC_MSG_CHECKING([whether to build shared libraries])
 
33370
+    test "$can_build_shared" = "no" && enable_shared=no
 
33371
+
 
33372
+    # On AIX, shared libraries and static libraries use the same namespace, and
 
33373
+    # are all built from PIC.
 
33374
+    case $host_os in
 
33375
+      aix3*)
 
33376
+        test "$enable_shared" = yes && enable_static=no
 
33377
+        if test -n "$RANLIB"; then
 
33378
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
33379
+          postinstall_cmds='$RANLIB $lib'
 
33380
+        fi
 
33381
+        ;;
 
33382
+      aix[[4-9]]*)
 
33383
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
33384
+         test "$enable_shared" = yes && enable_static=no
 
33385
+       fi
 
33386
+        ;;
 
33387
+    esac
 
33388
+    AC_MSG_RESULT([$enable_shared])
 
33389
+
 
33390
+    AC_MSG_CHECKING([whether to build static libraries])
 
33391
+    # Make sure either enable_shared or enable_static is yes.
 
33392
+    test "$enable_shared" = yes || enable_static=yes
 
33393
+    AC_MSG_RESULT([$enable_static])
 
33394
+
 
33395
+    _LT_TAGVAR(GCC, $1)="$G77"
 
33396
+    _LT_TAGVAR(LD, $1)="$LD"
 
33397
+
 
33398
+    ## CAVEAT EMPTOR:
 
33399
+    ## There is no encapsulation within the following macros, do not change
 
33400
+    ## the running order or otherwise move them around unless you know exactly
 
33401
+    ## what you are doing...
 
33402
+    _LT_COMPILER_PIC($1)
 
33403
+    _LT_COMPILER_C_O($1)
 
33404
+    _LT_COMPILER_FILE_LOCKS($1)
 
33405
+    _LT_LINKER_SHLIBS($1)
 
33406
+    _LT_SYS_DYNAMIC_LINKER($1)
 
33407
+    _LT_LINKER_HARDCODE_LIBPATH($1)
 
33408
+
 
33409
+    _LT_CONFIG($1)
 
33410
+  fi # test -n "$compiler"
 
33411
+
 
33412
+  GCC=$lt_save_GCC
 
33413
+  CC="$lt_save_CC"
 
33414
+fi # test "$_lt_disable_F77" != yes
 
33415
+
 
33416
+AC_LANG_POP
 
33417
+])# _LT_LANG_F77_CONFIG
 
33418
+
 
33419
+
 
33420
+# _LT_PROG_FC
 
33421
+# -----------
 
33422
+# Since AC_PROG_FC is broken, in that it returns the empty string
 
33423
+# if there is no fortran compiler, we have our own version here.
 
33424
+m4_defun([_LT_PROG_FC],
 
33425
+[
 
33426
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
 
33427
+AC_PROG_FC
 
33428
+if test -z "$FC" || test "X$FC" = "Xno"; then
 
33429
+  _lt_disable_FC=yes
 
33430
+fi
 
33431
+popdef([AC_MSG_ERROR])
 
33432
+])# _LT_PROG_FC
 
33433
+
 
33434
+dnl aclocal-1.4 backwards compatibility:
 
33435
+dnl AC_DEFUN([_LT_PROG_FC], [])
 
33436
+
 
33437
+
 
33438
+# _LT_LANG_FC_CONFIG([TAG])
 
33439
+# -------------------------
 
33440
+# Ensure that the configuration variables for a Fortran compiler are
 
33441
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
 
33442
+# to write the compiler configuration to `libtool'.
 
33443
+m4_defun([_LT_LANG_FC_CONFIG],
 
33444
+[AC_REQUIRE([_LT_PROG_FC])dnl
 
33445
+AC_LANG_PUSH(Fortran)
 
33446
+
 
33447
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
33448
+_LT_TAGVAR(allow_undefined_flag, $1)=
 
33449
+_LT_TAGVAR(always_export_symbols, $1)=no
 
33450
+_LT_TAGVAR(archive_expsym_cmds, $1)=
 
33451
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
 
33452
+_LT_TAGVAR(hardcode_direct, $1)=no
 
33453
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
 
33454
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
33455
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
33456
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
 
33457
+_LT_TAGVAR(hardcode_minus_L, $1)=no
 
33458
+_LT_TAGVAR(hardcode_automatic, $1)=no
 
33459
+_LT_TAGVAR(inherit_rpath, $1)=no
 
33460
+_LT_TAGVAR(module_cmds, $1)=
 
33461
+_LT_TAGVAR(module_expsym_cmds, $1)=
 
33462
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
 
33463
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
33464
+_LT_TAGVAR(no_undefined_flag, $1)=
 
33465
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
 
33466
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
33467
+
 
33468
+# Source file extension for fc test sources.
 
33469
+ac_ext=${ac_fc_srcext-f}
 
33470
+
 
33471
+# Object file extension for compiled fc test sources.
 
33472
+objext=o
 
33473
+_LT_TAGVAR(objext, $1)=$objext
 
33474
+
 
33475
+# No sense in running all these tests if we already determined that
 
33476
+# the FC compiler isn't working.  Some variables (like enable_shared)
 
33477
+# are currently assumed to apply to all compilers on this platform,
 
33478
+# and will be corrupted by setting them based on a non-working compiler.
 
33479
+if test "$_lt_disable_FC" != yes; then
 
33480
+  # Code to be used in simple compile tests
 
33481
+  lt_simple_compile_test_code="\
 
33482
+      subroutine t
 
33483
+      return
 
33484
+      end
 
33485
+"
 
33486
+
 
33487
+  # Code to be used in simple link tests
 
33488
+  lt_simple_link_test_code="\
 
33489
+      program t
 
33490
+      end
 
33491
+"
 
33492
+
 
33493
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
33494
+  _LT_TAG_COMPILER
 
33495
+
 
33496
+  # save warnings/boilerplate of simple test code
 
33497
+  _LT_COMPILER_BOILERPLATE
 
33498
+  _LT_LINKER_BOILERPLATE
 
33499
+
 
33500
+  # Allow CC to be a program name with arguments.
 
33501
+  lt_save_CC="$CC"
 
33502
+  lt_save_GCC=$GCC
 
33503
+  CC=${FC-"f95"}
 
33504
+  compiler=$CC
 
33505
+  GCC=$ac_cv_fc_compiler_gnu
 
33506
+
 
33507
+  _LT_TAGVAR(compiler, $1)=$CC
 
33508
+  _LT_CC_BASENAME([$compiler])
 
33509
+
 
33510
+  if test -n "$compiler"; then
 
33511
+    AC_MSG_CHECKING([if libtool supports shared libraries])
 
33512
+    AC_MSG_RESULT([$can_build_shared])
 
33513
+
 
33514
+    AC_MSG_CHECKING([whether to build shared libraries])
 
33515
+    test "$can_build_shared" = "no" && enable_shared=no
 
33516
+
 
33517
+    # On AIX, shared libraries and static libraries use the same namespace, and
 
33518
+    # are all built from PIC.
 
33519
+    case $host_os in
 
33520
+      aix3*)
 
33521
+        test "$enable_shared" = yes && enable_static=no
 
33522
+        if test -n "$RANLIB"; then
 
33523
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
33524
+          postinstall_cmds='$RANLIB $lib'
 
33525
+        fi
 
33526
+        ;;
 
33527
+      aix[[4-9]]*)
 
33528
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
33529
+         test "$enable_shared" = yes && enable_static=no
 
33530
+       fi
 
33531
+        ;;
 
33532
+    esac
 
33533
+    AC_MSG_RESULT([$enable_shared])
 
33534
+
 
33535
+    AC_MSG_CHECKING([whether to build static libraries])
 
33536
+    # Make sure either enable_shared or enable_static is yes.
 
33537
+    test "$enable_shared" = yes || enable_static=yes
 
33538
+    AC_MSG_RESULT([$enable_static])
 
33539
+
 
33540
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
 
33541
+    _LT_TAGVAR(LD, $1)="$LD"
 
33542
+
 
33543
+    ## CAVEAT EMPTOR:
 
33544
+    ## There is no encapsulation within the following macros, do not change
 
33545
+    ## the running order or otherwise move them around unless you know exactly
 
33546
+    ## what you are doing...
 
33547
+    _LT_SYS_HIDDEN_LIBDEPS($1)
 
33548
+    _LT_COMPILER_PIC($1)
 
33549
+    _LT_COMPILER_C_O($1)
 
33550
+    _LT_COMPILER_FILE_LOCKS($1)
 
33551
+    _LT_LINKER_SHLIBS($1)
 
33552
+    _LT_SYS_DYNAMIC_LINKER($1)
 
33553
+    _LT_LINKER_HARDCODE_LIBPATH($1)
 
33554
+
 
33555
+    _LT_CONFIG($1)
 
33556
+  fi # test -n "$compiler"
 
33557
+
 
33558
+  GCC=$lt_save_GCC
 
33559
+  CC="$lt_save_CC"
 
33560
+fi # test "$_lt_disable_FC" != yes
 
33561
+
 
33562
+AC_LANG_POP
 
33563
+])# _LT_LANG_FC_CONFIG
 
33564
+
 
33565
+
 
33566
+# _LT_LANG_GCJ_CONFIG([TAG])
 
33567
+# --------------------------
 
33568
+# Ensure that the configuration variables for the GNU Java Compiler compiler
 
33569
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
33570
+# to write the compiler configuration to `libtool'.
 
33571
+m4_defun([_LT_LANG_GCJ_CONFIG],
 
33572
+[AC_REQUIRE([LT_PROG_GCJ])dnl
 
33573
+AC_LANG_SAVE
 
33574
+
 
33575
+# Source file extension for Java test sources.
 
33576
+ac_ext=java
 
33577
+
 
33578
+# Object file extension for compiled Java test sources.
 
33579
+objext=o
 
33580
+_LT_TAGVAR(objext, $1)=$objext
 
33581
+
 
33582
+# Code to be used in simple compile tests
 
33583
+lt_simple_compile_test_code="class foo {}"
 
33584
+
 
33585
+# Code to be used in simple link tests
 
33586
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
 
33587
+
 
33588
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
33589
+_LT_TAG_COMPILER
 
33590
+
 
33591
+# save warnings/boilerplate of simple test code
 
33592
+_LT_COMPILER_BOILERPLATE
 
33593
+_LT_LINKER_BOILERPLATE
 
33594
+
 
33595
+# Allow CC to be a program name with arguments.
 
33596
+lt_save_CC="$CC"
 
33597
+lt_save_GCC=$GCC
 
33598
+GCC=yes
 
33599
+CC=${GCJ-"gcj"}
 
33600
+compiler=$CC
 
33601
+_LT_TAGVAR(compiler, $1)=$CC
 
33602
+_LT_TAGVAR(LD, $1)="$LD"
 
33603
+_LT_CC_BASENAME([$compiler])
 
33604
+
 
33605
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
33606
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
33607
+
 
33608
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
33609
+
 
33610
+## CAVEAT EMPTOR:
 
33611
+## There is no encapsulation within the following macros, do not change
 
33612
+## the running order or otherwise move them around unless you know exactly
 
33613
+## what you are doing...
 
33614
+if test -n "$compiler"; then
 
33615
+  _LT_COMPILER_NO_RTTI($1)
 
33616
+  _LT_COMPILER_PIC($1)
 
33617
+  _LT_COMPILER_C_O($1)
 
33618
+  _LT_COMPILER_FILE_LOCKS($1)
 
33619
+  _LT_LINKER_SHLIBS($1)
 
33620
+  _LT_LINKER_HARDCODE_LIBPATH($1)
 
33621
+
 
33622
+  _LT_CONFIG($1)
 
33623
+fi
 
33624
+
 
33625
+AC_LANG_RESTORE
 
33626
+
 
33627
+GCC=$lt_save_GCC
 
33628
+CC="$lt_save_CC"
 
33629
+])# _LT_LANG_GCJ_CONFIG
 
33630
+
 
33631
+
 
33632
+# _LT_LANG_RC_CONFIG([TAG])
 
33633
+# -------------------------
 
33634
+# Ensure that the configuration variables for the Windows resource compiler
 
33635
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
33636
+# to write the compiler configuration to `libtool'.
 
33637
+m4_defun([_LT_LANG_RC_CONFIG],
 
33638
+[AC_REQUIRE([LT_PROG_RC])dnl
 
33639
+AC_LANG_SAVE
 
33640
+
 
33641
+# Source file extension for RC test sources.
 
33642
+ac_ext=rc
 
33643
+
 
33644
+# Object file extension for compiled RC test sources.
 
33645
+objext=o
 
33646
+_LT_TAGVAR(objext, $1)=$objext
 
33647
+
 
33648
+# Code to be used in simple compile tests
 
33649
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
33650
+
 
33651
+# Code to be used in simple link tests
 
33652
+lt_simple_link_test_code="$lt_simple_compile_test_code"
 
33653
+
 
33654
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
33655
+_LT_TAG_COMPILER
 
33656
+
 
33657
+# save warnings/boilerplate of simple test code
 
33658
+_LT_COMPILER_BOILERPLATE
 
33659
+_LT_LINKER_BOILERPLATE
 
33660
+
 
33661
+# Allow CC to be a program name with arguments.
 
33662
+lt_save_CC="$CC"
 
33663
+lt_save_GCC=$GCC
 
33664
+GCC=
 
33665
+CC=${RC-"windres"}
 
33666
+compiler=$CC
 
33667
+_LT_TAGVAR(compiler, $1)=$CC
 
33668
+_LT_CC_BASENAME([$compiler])
 
33669
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
33670
+
 
33671
+if test -n "$compiler"; then
 
33672
+  :
 
33673
+  _LT_CONFIG($1)
 
33674
+fi
 
33675
+
 
33676
+GCC=$lt_save_GCC
 
33677
+AC_LANG_RESTORE
 
33678
+CC="$lt_save_CC"
 
33679
+])# _LT_LANG_RC_CONFIG
 
33680
+
 
33681
+
 
33682
+# LT_PROG_GCJ
 
33683
+# -----------
 
33684
+AC_DEFUN([LT_PROG_GCJ],
 
33685
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
 
33686
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
 
33687
+    [AC_CHECK_TOOL(GCJ, gcj,)
 
33688
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
33689
+      AC_SUBST(GCJFLAGS)])])[]dnl
 
33690
+])
 
33691
+
 
33692
+# Old name:
 
33693
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
 
33694
+dnl aclocal-1.4 backwards compatibility:
 
33695
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
 
33696
+
 
33697
+
 
33698
+# LT_PROG_RC
 
33699
+# ----------
 
33700
+AC_DEFUN([LT_PROG_RC],
 
33701
+[AC_CHECK_TOOL(RC, windres,)
 
33702
+])
 
33703
+
 
33704
+# Old name:
 
33705
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
 
33706
+dnl aclocal-1.4 backwards compatibility:
 
33707
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
 
33708
+
 
33709
+
 
33710
+# _LT_DECL_EGREP
 
33711
+# --------------
 
33712
+# If we don't have a new enough Autoconf to choose the best grep
 
33713
+# available, choose the one first in the user's PATH.
 
33714
+m4_defun([_LT_DECL_EGREP],
 
33715
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
33716
+AC_REQUIRE([AC_PROG_FGREP])dnl
 
33717
+test -z "$GREP" && GREP=grep
 
33718
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
 
33719
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
 
33720
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
 
33721
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
 
33722
+AC_SUBST([GREP])
 
33723
+])
 
33724
+
 
33725
+
 
33726
+# _LT_DECL_OBJDUMP
 
33727
+# --------------
 
33728
+# If we don't have a new enough Autoconf to choose the best objdump
 
33729
+# available, choose the one first in the user's PATH.
 
33730
+m4_defun([_LT_DECL_OBJDUMP],
 
33731
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
33732
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
33733
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
33734
+AC_SUBST([OBJDUMP])
 
33735
+])
 
33736
+
 
33737
+
 
33738
+# _LT_DECL_SED
 
33739
+# ------------
 
33740
+# Check for a fully-functional sed program, that truncates
 
33741
+# as few characters as possible.  Prefer GNU sed if found.
 
33742
+m4_defun([_LT_DECL_SED],
 
33743
+[AC_PROG_SED
 
33744
+test -z "$SED" && SED=sed
 
33745
+Xsed="$SED -e 1s/^X//"
 
33746
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
 
33747
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
 
33748
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
 
33749
+])# _LT_DECL_SED
 
33750
+
 
33751
+m4_ifndef([AC_PROG_SED], [
 
33752
+############################################################
 
33753
+# NOTE: This macro has been submitted for inclusion into   #
 
33754
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 
33755
+#  a released version of Autoconf we should remove this    #
 
33756
+#  macro and use it instead.                               #
 
33757
+############################################################
 
33758
+
 
33759
+m4_defun([AC_PROG_SED],
 
33760
+[AC_MSG_CHECKING([for a sed that does not truncate output])
 
33761
+AC_CACHE_VAL(lt_cv_path_SED,
 
33762
+[# Loop through the user's path and test for sed and gsed.
 
33763
+# Then use that list of sed's as ones to test for truncation.
 
33764
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
33765
+for as_dir in $PATH
 
33766
+do
 
33767
+  IFS=$as_save_IFS
 
33768
+  test -z "$as_dir" && as_dir=.
 
33769
+  for lt_ac_prog in sed gsed; do
 
33770
+    for ac_exec_ext in '' $ac_executable_extensions; do
 
33771
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
33772
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
33773
+      fi
 
33774
+    done
 
33775
+  done
 
33776
+done
 
33777
+IFS=$as_save_IFS
 
33778
+lt_ac_max=0
 
33779
+lt_ac_count=0
 
33780
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
33781
+# along with /bin/sed that truncates output.
 
33782
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
33783
+  test ! -f $lt_ac_sed && continue
 
33784
+  cat /dev/null > conftest.in
 
33785
+  lt_ac_count=0
 
33786
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
33787
+  # Check for GNU sed and select it if it is found.
 
33788
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
33789
+    lt_cv_path_SED=$lt_ac_sed
 
33790
+    break
 
33791
+  fi
 
33792
+  while true; do
 
33793
+    cat conftest.in conftest.in >conftest.tmp
 
33794
+    mv conftest.tmp conftest.in
 
33795
+    cp conftest.in conftest.nl
 
33796
+    echo >>conftest.nl
 
33797
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
33798
+    cmp -s conftest.out conftest.nl || break
 
33799
+    # 10000 chars as input seems more than enough
 
33800
+    test $lt_ac_count -gt 10 && break
 
33801
+    lt_ac_count=`expr $lt_ac_count + 1`
 
33802
+    if test $lt_ac_count -gt $lt_ac_max; then
 
33803
+      lt_ac_max=$lt_ac_count
 
33804
+      lt_cv_path_SED=$lt_ac_sed
 
33805
+    fi
 
33806
+  done
 
33807
+done
 
33808
+])
 
33809
+SED=$lt_cv_path_SED
 
33810
+AC_SUBST([SED])
 
33811
+AC_MSG_RESULT([$SED])
 
33812
+])#AC_PROG_SED
 
33813
+])#m4_ifndef
 
33814
+
 
33815
+# Old name:
 
33816
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
 
33817
+dnl aclocal-1.4 backwards compatibility:
 
33818
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
 
33819
+
 
33820
+
 
33821
+# _LT_CHECK_SHELL_FEATURES
 
33822
+# ------------------------
 
33823
+# Find out whether the shell is Bourne or XSI compatible,
 
33824
+# or has some other useful features.
 
33825
+m4_defun([_LT_CHECK_SHELL_FEATURES],
 
33826
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
 
33827
+# Try some XSI features
 
33828
+xsi_shell=no
 
33829
+( _lt_dummy="a/b/c"
 
33830
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
33831
+      = c,a/b,, \
 
33832
+    && eval 'test $(( 1 + 1 )) -eq 2 \
 
33833
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
33834
+  && xsi_shell=yes
 
33835
+AC_MSG_RESULT([$xsi_shell])
 
33836
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
 
33837
+
 
33838
+AC_MSG_CHECKING([whether the shell understands "+="])
 
33839
+lt_shell_append=no
 
33840
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
 
33841
+    >/dev/null 2>&1 \
 
33842
+  && lt_shell_append=yes
 
33843
+AC_MSG_RESULT([$lt_shell_append])
 
33844
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
 
33845
+
 
33846
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
33847
+  lt_unset=unset
 
33848
+else
 
33849
+  lt_unset=false
 
33850
+fi
 
33851
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
 
33852
+
 
33853
+# test EBCDIC or ASCII
 
33854
+case `echo X|tr X '\101'` in
 
33855
+ A) # ASCII based system
 
33856
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
33857
+  lt_SP2NL='tr \040 \012'
 
33858
+  lt_NL2SP='tr \015\012 \040\040'
 
33859
+  ;;
 
33860
+ *) # EBCDIC based system
 
33861
+  lt_SP2NL='tr \100 \n'
 
33862
+  lt_NL2SP='tr \r\n \100\100'
 
33863
+  ;;
 
33864
+esac
 
33865
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
 
33866
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
 
33867
+])# _LT_CHECK_SHELL_FEATURES
 
33868
+
 
33869
+
 
33870
+# _LT_PROG_XSI_SHELLFNS
 
33871
+# ---------------------
 
33872
+# Bourne and XSI compatible variants of some useful shell functions.
 
33873
+m4_defun([_LT_PROG_XSI_SHELLFNS],
 
33874
+[case $xsi_shell in
 
33875
+  yes)
 
33876
+    cat << \_LT_EOF >> "$cfgfile"
 
33877
+
 
33878
+# func_dirname file append nondir_replacement
 
33879
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
33880
+# otherwise set result to NONDIR_REPLACEMENT.
 
33881
+func_dirname ()
 
33882
+{
 
33883
+  case ${1} in
 
33884
+    */*) func_dirname_result="${1%/*}${2}" ;;
 
33885
+    *  ) func_dirname_result="${3}" ;;
 
33886
+  esac
 
33887
+}
 
33888
+
 
33889
+# func_basename file
 
33890
+func_basename ()
 
33891
+{
 
33892
+  func_basename_result="${1##*/}"
 
33893
+}
 
33894
+
 
33895
+# func_dirname_and_basename file append nondir_replacement
 
33896
+# perform func_basename and func_dirname in a single function
 
33897
+# call:
 
33898
+#   dirname:  Compute the dirname of FILE.  If nonempty,
 
33899
+#             add APPEND to the result, otherwise set result
 
33900
+#             to NONDIR_REPLACEMENT.
 
33901
+#             value returned in "$func_dirname_result"
 
33902
+#   basename: Compute filename of FILE.
 
33903
+#             value retuned in "$func_basename_result"
 
33904
+# Implementation must be kept synchronized with func_dirname
 
33905
+# and func_basename. For efficiency, we do not delegate to
 
33906
+# those functions but instead duplicate the functionality here.
 
33907
+func_dirname_and_basename ()
 
33908
+{
 
33909
+  case ${1} in
 
33910
+    */*) func_dirname_result="${1%/*}${2}" ;;
 
33911
+    *  ) func_dirname_result="${3}" ;;
 
33912
+  esac
 
33913
+  func_basename_result="${1##*/}"
 
33914
+}
 
33915
+
 
33916
+# func_stripname prefix suffix name
 
33917
+# strip PREFIX and SUFFIX off of NAME.
 
33918
+# PREFIX and SUFFIX must not contain globbing or regex special
 
33919
+# characters, hashes, percent signs, but SUFFIX may contain a leading
 
33920
+# dot (in which case that matches only a dot).
 
33921
+func_stripname ()
 
33922
+{
 
33923
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
33924
+  # positional parameters, so assign one to ordinary parameter first.
 
33925
+  func_stripname_result=${3}
 
33926
+  func_stripname_result=${func_stripname_result#"${1}"}
 
33927
+  func_stripname_result=${func_stripname_result%"${2}"}
 
33928
+}
 
33929
+
 
33930
+# func_opt_split
 
33931
+func_opt_split ()
 
33932
+{
 
33933
+  func_opt_split_opt=${1%%=*}
 
33934
+  func_opt_split_arg=${1#*=}
 
33935
+}
 
33936
+
 
33937
+# func_lo2o object
 
33938
+func_lo2o ()
 
33939
+{
 
33940
+  case ${1} in
 
33941
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
33942
+    *)    func_lo2o_result=${1} ;;
 
33943
+  esac
 
33944
+}
 
33945
+
 
33946
+# func_xform libobj-or-source
 
33947
+func_xform ()
 
33948
+{
 
33949
+  func_xform_result=${1%.*}.lo
 
33950
+}
 
33951
+
 
33952
+# func_arith arithmetic-term...
 
33953
+func_arith ()
 
33954
+{
 
33955
+  func_arith_result=$(( $[*] ))
 
33956
+}
 
33957
+
 
33958
+# func_len string
 
33959
+# STRING may not start with a hyphen.
 
33960
+func_len ()
 
33961
+{
 
33962
+  func_len_result=${#1}
 
33963
+}
 
33964
+
 
33965
+_LT_EOF
 
33966
+    ;;
 
33967
+  *) # Bourne compatible functions.
 
33968
+    cat << \_LT_EOF >> "$cfgfile"
 
33969
+
 
33970
+# func_dirname file append nondir_replacement
 
33971
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
33972
+# otherwise set result to NONDIR_REPLACEMENT.
 
33973
+func_dirname ()
 
33974
+{
 
33975
+  # Extract subdirectory from the argument.
 
33976
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
33977
+  if test "X$func_dirname_result" = "X${1}"; then
 
33978
+    func_dirname_result="${3}"
 
33979
+  else
 
33980
+    func_dirname_result="$func_dirname_result${2}"
 
33981
+  fi
 
33982
+}
 
33983
+
 
33984
+# func_basename file
 
33985
+func_basename ()
 
33986
+{
 
33987
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
33988
+}
 
33989
+
 
33990
+dnl func_dirname_and_basename
 
33991
+dnl A portable version of this function is already defined in general.m4sh
 
33992
+dnl so there is no need for it here.
 
33993
+
 
33994
+# func_stripname prefix suffix name
 
33995
+# strip PREFIX and SUFFIX off of NAME.
 
33996
+# PREFIX and SUFFIX must not contain globbing or regex special
 
33997
+# characters, hashes, percent signs, but SUFFIX may contain a leading
 
33998
+# dot (in which case that matches only a dot).
 
33999
+# func_strip_suffix prefix name
 
34000
+func_stripname ()
 
34001
+{
 
34002
+  case ${2} in
 
34003
+    .*) func_stripname_result=`$ECHO "X${3}" \
 
34004
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
34005
+    *)  func_stripname_result=`$ECHO "X${3}" \
 
34006
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
34007
+  esac
 
34008
+}
 
34009
+
 
34010
+# sed scripts:
 
34011
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
 
34012
+my_sed_long_arg='1s/^-[[^=]]*=//'
 
34013
+
 
34014
+# func_opt_split
 
34015
+func_opt_split ()
 
34016
+{
 
34017
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
34018
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
34019
+}
 
34020
+
 
34021
+# func_lo2o object
 
34022
+func_lo2o ()
 
34023
+{
 
34024
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
34025
+}
 
34026
+
 
34027
+# func_xform libobj-or-source
 
34028
+func_xform ()
 
34029
+{
 
34030
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
34031
+}
 
34032
+
 
34033
+# func_arith arithmetic-term...
 
34034
+func_arith ()
 
34035
+{
 
34036
+  func_arith_result=`expr "$[@]"`
 
34037
+}
 
34038
+
 
34039
+# func_len string
 
34040
+# STRING may not start with a hyphen.
 
34041
+func_len ()
 
34042
+{
 
34043
+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
 
34044
+}
 
34045
+
 
34046
+_LT_EOF
 
34047
+esac
 
34048
+
 
34049
+case $lt_shell_append in
 
34050
+  yes)
 
34051
+    cat << \_LT_EOF >> "$cfgfile"
 
34052
+
 
34053
+# func_append var value
 
34054
+# Append VALUE to the end of shell variable VAR.
 
34055
+func_append ()
 
34056
+{
 
34057
+  eval "$[1]+=\$[2]"
 
34058
+}
 
34059
+_LT_EOF
 
34060
+    ;;
 
34061
+  *)
 
34062
+    cat << \_LT_EOF >> "$cfgfile"
 
34063
+
 
34064
+# func_append var value
 
34065
+# Append VALUE to the end of shell variable VAR.
 
34066
+func_append ()
 
34067
+{
 
34068
+  eval "$[1]=\$$[1]\$[2]"
 
34069
+}
 
34070
+
 
34071
+_LT_EOF
 
34072
+    ;;
 
34073
+  esac
 
34074
+])
 
34075
Index: sid/m4/ltoptions.m4
 
34076
===================================================================
 
34077
--- /dev/null
 
34078
+++ sid/m4/ltoptions.m4
 
34079
@@ -0,0 +1,368 @@
 
34080
+# Helper functions for option handling.                    -*- Autoconf -*-
 
34081
+#
 
34082
+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
34083
+#   Written by Gary V. Vaughan, 2004
 
34084
+#
 
34085
+# This file is free software; the Free Software Foundation gives
 
34086
+# unlimited permission to copy and/or distribute it, with or without
 
34087
+# modifications, as long as this notice is preserved.
 
34088
+
 
34089
+# serial 6 ltoptions.m4
 
34090
+
 
34091
+# This is to help aclocal find these macros, as it can't see m4_define.
 
34092
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
 
34093
+
 
34094
+
 
34095
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
 
34096
+# ------------------------------------------
 
34097
+m4_define([_LT_MANGLE_OPTION],
 
34098
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
 
34099
+
 
34100
+
 
34101
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
 
34102
+# ---------------------------------------
 
34103
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
 
34104
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
 
34105
+# saved as a flag.
 
34106
+m4_define([_LT_SET_OPTION],
 
34107
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
 
34108
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
 
34109
+        _LT_MANGLE_DEFUN([$1], [$2]),
 
34110
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
 
34111
+])
 
34112
+
 
34113
+
 
34114
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
 
34115
+# ------------------------------------------------------------
 
34116
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
34117
+m4_define([_LT_IF_OPTION],
 
34118
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
 
34119
+
 
34120
+
 
34121
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
 
34122
+# -------------------------------------------------------
 
34123
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
 
34124
+# are set.
 
34125
+m4_define([_LT_UNLESS_OPTIONS],
 
34126
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
34127
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
 
34128
+                     [m4_define([$0_found])])])[]dnl
 
34129
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
 
34130
+])[]dnl
 
34131
+])
 
34132
+
 
34133
+
 
34134
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
 
34135
+# ----------------------------------------
 
34136
+# OPTION-LIST is a space-separated list of Libtool options associated
 
34137
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
 
34138
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
 
34139
+# the unknown option and exit.
 
34140
+m4_defun([_LT_SET_OPTIONS],
 
34141
+[# Set options
 
34142
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
 
34143
+    [_LT_SET_OPTION([$1], _LT_Option)])
 
34144
+
 
34145
+m4_if([$1],[LT_INIT],[
 
34146
+  dnl
 
34147
+  dnl Simply set some default values (i.e off) if boolean options were not
 
34148
+  dnl specified:
 
34149
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
 
34150
+  ])
 
34151
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
 
34152
+  ])
 
34153
+  dnl
 
34154
+  dnl If no reference was made to various pairs of opposing options, then
 
34155
+  dnl we run the default mode handler for the pair.  For example, if neither
 
34156
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
 
34157
+  dnl archives by default:
 
34158
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
 
34159
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
 
34160
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
 
34161
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
 
34162
+                  [_LT_ENABLE_FAST_INSTALL])
 
34163
+  ])
 
34164
+])# _LT_SET_OPTIONS
 
34165
+
 
34166
+
 
34167
+## --------------------------------- ##
 
34168
+## Macros to handle LT_INIT options. ##
 
34169
+## --------------------------------- ##
 
34170
+
 
34171
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
 
34172
+# -----------------------------------------
 
34173
+m4_define([_LT_MANGLE_DEFUN],
 
34174
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
 
34175
+
 
34176
+
 
34177
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
 
34178
+# -----------------------------------------------
 
34179
+m4_define([LT_OPTION_DEFINE],
 
34180
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
 
34181
+])# LT_OPTION_DEFINE
 
34182
+
 
34183
+
 
34184
+# dlopen
 
34185
+# ------
 
34186
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
 
34187
+])
 
34188
+
 
34189
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
 
34190
+[_LT_SET_OPTION([LT_INIT], [dlopen])
 
34191
+AC_DIAGNOSE([obsolete],
 
34192
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
34193
+put the `dlopen' option into LT_INIT's first parameter.])
 
34194
+])
 
34195
+
 
34196
+dnl aclocal-1.4 backwards compatibility:
 
34197
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
 
34198
+
 
34199
+
 
34200
+# win32-dll
 
34201
+# ---------
 
34202
+# Declare package support for building win32 dll's.
 
34203
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
 
34204
+[enable_win32_dll=yes
 
34205
+
 
34206
+case $host in
 
34207
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
34208
+  AC_CHECK_TOOL(AS, as, false)
 
34209
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
34210
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
34211
+  ;;
 
34212
+esac
 
34213
+
 
34214
+test -z "$AS" && AS=as
 
34215
+_LT_DECL([], [AS],      [0], [Assembler program])dnl
 
34216
+
 
34217
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
34218
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
 
34219
+
 
34220
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
34221
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
34222
+])# win32-dll
 
34223
+
 
34224
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
34225
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
34226
+_LT_SET_OPTION([LT_INIT], [win32-dll])
 
34227
+AC_DIAGNOSE([obsolete],
 
34228
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
34229
+put the `win32-dll' option into LT_INIT's first parameter.])
 
34230
+])
 
34231
+
 
34232
+dnl aclocal-1.4 backwards compatibility:
 
34233
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
 
34234
+
 
34235
+
 
34236
+# _LT_ENABLE_SHARED([DEFAULT])
 
34237
+# ----------------------------
 
34238
+# implement the --enable-shared flag, and supports the `shared' and
 
34239
+# `disable-shared' LT_INIT options.
 
34240
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
34241
+m4_define([_LT_ENABLE_SHARED],
 
34242
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
34243
+AC_ARG_ENABLE([shared],
 
34244
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
34245
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
 
34246
+    [p=${PACKAGE-default}
 
34247
+    case $enableval in
 
34248
+    yes) enable_shared=yes ;;
 
34249
+    no) enable_shared=no ;;
 
34250
+    *)
 
34251
+      enable_shared=no
 
34252
+      # Look at the argument we got.  We use all the common list separators.
 
34253
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
34254
+      for pkg in $enableval; do
 
34255
+       IFS="$lt_save_ifs"
 
34256
+       if test "X$pkg" = "X$p"; then
 
34257
+         enable_shared=yes
 
34258
+       fi
 
34259
+      done
 
34260
+      IFS="$lt_save_ifs"
 
34261
+      ;;
 
34262
+    esac],
 
34263
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
 
34264
+
 
34265
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
 
34266
+       [Whether or not to build shared libraries])
 
34267
+])# _LT_ENABLE_SHARED
 
34268
+
 
34269
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
 
34270
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
 
34271
+
 
34272
+# Old names:
 
34273
+AC_DEFUN([AC_ENABLE_SHARED],
 
34274
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
 
34275
+])
 
34276
+
 
34277
+AC_DEFUN([AC_DISABLE_SHARED],
 
34278
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
 
34279
+])
 
34280
+
 
34281
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
 
34282
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
34283
+
 
34284
+dnl aclocal-1.4 backwards compatibility:
 
34285
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
 
34286
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
 
34287
+
 
34288
+
 
34289
+
 
34290
+# _LT_ENABLE_STATIC([DEFAULT])
 
34291
+# ----------------------------
 
34292
+# implement the --enable-static flag, and support the `static' and
 
34293
+# `disable-static' LT_INIT options.
 
34294
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
34295
+m4_define([_LT_ENABLE_STATIC],
 
34296
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
34297
+AC_ARG_ENABLE([static],
 
34298
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
34299
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
 
34300
+    [p=${PACKAGE-default}
 
34301
+    case $enableval in
 
34302
+    yes) enable_static=yes ;;
 
34303
+    no) enable_static=no ;;
 
34304
+    *)
 
34305
+     enable_static=no
 
34306
+      # Look at the argument we got.  We use all the common list separators.
 
34307
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
34308
+      for pkg in $enableval; do
 
34309
+       IFS="$lt_save_ifs"
 
34310
+       if test "X$pkg" = "X$p"; then
 
34311
+         enable_static=yes
 
34312
+       fi
 
34313
+      done
 
34314
+      IFS="$lt_save_ifs"
 
34315
+      ;;
 
34316
+    esac],
 
34317
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
 
34318
+
 
34319
+    _LT_DECL([build_old_libs], [enable_static], [0],
 
34320
+       [Whether or not to build static libraries])
 
34321
+])# _LT_ENABLE_STATIC
 
34322
+
 
34323
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
 
34324
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
 
34325
+
 
34326
+# Old names:
 
34327
+AC_DEFUN([AC_ENABLE_STATIC],
 
34328
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
 
34329
+])
 
34330
+
 
34331
+AC_DEFUN([AC_DISABLE_STATIC],
 
34332
+[_LT_SET_OPTION([LT_INIT], [disable-static])
 
34333
+])
 
34334
+
 
34335
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
 
34336
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
34337
+
 
34338
+dnl aclocal-1.4 backwards compatibility:
 
34339
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
 
34340
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
 
34341
+
 
34342
+
 
34343
+
 
34344
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
 
34345
+# ----------------------------------
 
34346
+# implement the --enable-fast-install flag, and support the `fast-install'
 
34347
+# and `disable-fast-install' LT_INIT options.
 
34348
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
34349
+m4_define([_LT_ENABLE_FAST_INSTALL],
 
34350
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
 
34351
+AC_ARG_ENABLE([fast-install],
 
34352
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
34353
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
34354
+    [p=${PACKAGE-default}
 
34355
+    case $enableval in
 
34356
+    yes) enable_fast_install=yes ;;
 
34357
+    no) enable_fast_install=no ;;
 
34358
+    *)
 
34359
+      enable_fast_install=no
 
34360
+      # Look at the argument we got.  We use all the common list separators.
 
34361
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
34362
+      for pkg in $enableval; do
 
34363
+       IFS="$lt_save_ifs"
 
34364
+       if test "X$pkg" = "X$p"; then
 
34365
+         enable_fast_install=yes
 
34366
+       fi
 
34367
+      done
 
34368
+      IFS="$lt_save_ifs"
 
34369
+      ;;
 
34370
+    esac],
 
34371
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
 
34372
+
 
34373
+_LT_DECL([fast_install], [enable_fast_install], [0],
 
34374
+        [Whether or not to optimize for fast installation])dnl
 
34375
+])# _LT_ENABLE_FAST_INSTALL
 
34376
+
 
34377
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
 
34378
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
 
34379
+
 
34380
+# Old names:
 
34381
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
 
34382
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
 
34383
+AC_DIAGNOSE([obsolete],
 
34384
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
34385
+the `fast-install' option into LT_INIT's first parameter.])
 
34386
+])
 
34387
+
 
34388
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
 
34389
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
 
34390
+AC_DIAGNOSE([obsolete],
 
34391
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
 
34392
+the `disable-fast-install' option into LT_INIT's first parameter.])
 
34393
+])
 
34394
+
 
34395
+dnl aclocal-1.4 backwards compatibility:
 
34396
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
 
34397
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 
34398
+
 
34399
+
 
34400
+# _LT_WITH_PIC([MODE])
 
34401
+# --------------------
 
34402
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
 
34403
+# LT_INIT options.
 
34404
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
34405
+m4_define([_LT_WITH_PIC],
 
34406
+[AC_ARG_WITH([pic],
 
34407
+    [AS_HELP_STRING([--with-pic],
 
34408
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
34409
+    [pic_mode="$withval"],
 
34410
+    [pic_mode=default])
 
34411
+
 
34412
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
 
34413
+
 
34414
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
 
34415
+])# _LT_WITH_PIC
 
34416
+
 
34417
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
 
34418
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
 
34419
+
 
34420
+# Old name:
 
34421
+AU_DEFUN([AC_LIBTOOL_PICMODE],
 
34422
+[_LT_SET_OPTION([LT_INIT], [pic-only])
 
34423
+AC_DIAGNOSE([obsolete],
 
34424
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
 
34425
+put the `pic-only' option into LT_INIT's first parameter.])
 
34426
+])
 
34427
+
 
34428
+dnl aclocal-1.4 backwards compatibility:
 
34429
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
 
34430
+
 
34431
+## ----------------- ##
 
34432
+## LTDL_INIT Options ##
 
34433
+## ----------------- ##
 
34434
+
 
34435
+m4_define([_LTDL_MODE], [])
 
34436
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
 
34437
+                [m4_define([_LTDL_MODE], [nonrecursive])])
 
34438
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
 
34439
+                [m4_define([_LTDL_MODE], [recursive])])
 
34440
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
 
34441
+                [m4_define([_LTDL_MODE], [subproject])])
 
34442
+
 
34443
+m4_define([_LTDL_TYPE], [])
 
34444
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
 
34445
+                [m4_define([_LTDL_TYPE], [installable])])
 
34446
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
 
34447
+                [m4_define([_LTDL_TYPE], [convenience])])
 
34448
Index: sid/m4/ltsugar.m4
 
34449
===================================================================
 
34450
--- /dev/null
 
34451
+++ sid/m4/ltsugar.m4
 
34452
@@ -0,0 +1,123 @@
 
34453
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
 
34454
+#
 
34455
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
34456
+# Written by Gary V. Vaughan, 2004
 
34457
+#
 
34458
+# This file is free software; the Free Software Foundation gives
 
34459
+# unlimited permission to copy and/or distribute it, with or without
 
34460
+# modifications, as long as this notice is preserved.
 
34461
+
 
34462
+# serial 6 ltsugar.m4
 
34463
+
 
34464
+# This is to help aclocal find these macros, as it can't see m4_define.
 
34465
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
 
34466
+
 
34467
+
 
34468
+# lt_join(SEP, ARG1, [ARG2...])
 
34469
+# -----------------------------
 
34470
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
 
34471
+# associated separator.
 
34472
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
 
34473
+# versions in m4sugar had bugs.
 
34474
+m4_define([lt_join],
 
34475
+[m4_if([$#], [1], [],
 
34476
+       [$#], [2], [[$2]],
 
34477
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
 
34478
+m4_define([_lt_join],
 
34479
+[m4_if([$#$2], [2], [],
 
34480
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
 
34481
+
 
34482
+
 
34483
+# lt_car(LIST)
 
34484
+# lt_cdr(LIST)
 
34485
+# ------------
 
34486
+# Manipulate m4 lists.
 
34487
+# These macros are necessary as long as will still need to support
 
34488
+# Autoconf-2.59 which quotes differently.
 
34489
+m4_define([lt_car], [[$1]])
 
34490
+m4_define([lt_cdr],
 
34491
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
 
34492
+       [$#], 1, [],
 
34493
+       [m4_dquote(m4_shift($@))])])
 
34494
+m4_define([lt_unquote], $1)
 
34495
+
 
34496
+
 
34497
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
 
34498
+# ------------------------------------------
 
34499
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
 
34500
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
 
34501
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
 
34502
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
 
34503
+# than defined and empty).
 
34504
+#
 
34505
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
 
34506
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
 
34507
+m4_define([lt_append],
 
34508
+[m4_define([$1],
 
34509
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
 
34510
+
 
34511
+
 
34512
+
 
34513
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
 
34514
+# ----------------------------------------------------------
 
34515
+# Produce a SEP delimited list of all paired combinations of elements of
 
34516
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
 
34517
+# has the form PREFIXmINFIXSUFFIXn.
 
34518
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
 
34519
+m4_define([lt_combine],
 
34520
+[m4_if(m4_eval([$# > 3]), [1],
 
34521
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
34522
+[[m4_foreach([_Lt_prefix], [$2],
 
34523
+            [m4_foreach([_Lt_suffix],
 
34524
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
34525
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
 
34526
+
 
34527
+
 
34528
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
 
34529
+# -----------------------------------------------------------------------
 
34530
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
 
34531
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
 
34532
+m4_define([lt_if_append_uniq],
 
34533
+[m4_ifdef([$1],
 
34534
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
 
34535
+                [lt_append([$1], [$2], [$3])$4],
 
34536
+                [$5])],
 
34537
+         [lt_append([$1], [$2], [$3])$4])])
 
34538
+
 
34539
+
 
34540
+# lt_dict_add(DICT, KEY, VALUE)
 
34541
+# -----------------------------
 
34542
+m4_define([lt_dict_add],
 
34543
+[m4_define([$1($2)], [$3])])
 
34544
+
 
34545
+
 
34546
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
 
34547
+# --------------------------------------------
 
34548
+m4_define([lt_dict_add_subkey],
 
34549
+[m4_define([$1($2:$3)], [$4])])
 
34550
+
 
34551
+
 
34552
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
 
34553
+# ----------------------------------
 
34554
+m4_define([lt_dict_fetch],
 
34555
+[m4_ifval([$3],
 
34556
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
 
34557
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
 
34558
+
 
34559
+
 
34560
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
 
34561
+# -----------------------------------------------------------------
 
34562
+m4_define([lt_if_dict_fetch],
 
34563
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
 
34564
+       [$5],
 
34565
+    [$6])])
 
34566
+
 
34567
+
 
34568
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
 
34569
+# --------------------------------------------------------------
 
34570
+m4_define([lt_dict_filter],
 
34571
+[m4_if([$5], [], [],
 
34572
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
 
34573
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
 
34574
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
 
34575
+])
 
34576
Index: sid/m4/ltversion.m4
 
34577
===================================================================
 
34578
--- /dev/null
 
34579
+++ sid/m4/ltversion.m4
 
34580
@@ -0,0 +1,23 @@
 
34581
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-
 
34582
+#
 
34583
+#   Copyright (C) 2004 Free Software Foundation, Inc.
 
34584
+#   Written by Scott James Remnant, 2004
 
34585
+#
 
34586
+# This file is free software; the Free Software Foundation gives
 
34587
+# unlimited permission to copy and/or distribute it, with or without
 
34588
+# modifications, as long as this notice is preserved.
 
34589
+
 
34590
+# Generated from ltversion.in.
 
34591
+
 
34592
+# serial 3012 ltversion.m4
 
34593
+# This file is part of GNU Libtool
 
34594
+
 
34595
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
34596
+m4_define([LT_PACKAGE_REVISION], [1.3012])
 
34597
+
 
34598
+AC_DEFUN([LTVERSION_VERSION],
 
34599
+[macro_version='2.2.6'
 
34600
+macro_revision='1.3012'
 
34601
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 
34602
+_LT_DECL(, macro_revision, 0)
 
34603
+])
 
34604
Index: sid/m4/lt~obsolete.m4
 
34605
===================================================================
 
34606
--- /dev/null
 
34607
+++ sid/m4/lt~obsolete.m4
 
34608
@@ -0,0 +1,92 @@
 
34609
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
 
34610
+#
 
34611
+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
 
34612
+#   Written by Scott James Remnant, 2004.
 
34613
+#
 
34614
+# This file is free software; the Free Software Foundation gives
 
34615
+# unlimited permission to copy and/or distribute it, with or without
 
34616
+# modifications, as long as this notice is preserved.
 
34617
+
 
34618
+# serial 4 lt~obsolete.m4
 
34619
+
 
34620
+# These exist entirely to fool aclocal when bootstrapping libtool.
 
34621
+#
 
34622
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
 
34623
+# which have later been changed to m4_define as they aren't part of the
 
34624
+# exported API, or moved to Autoconf or Automake where they belong.
 
34625
+#
 
34626
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
 
34627
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
 
34628
+# using a macro with the same name in our local m4/libtool.m4 it'll
 
34629
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
 
34630
+# and doesn't know about Autoconf macros at all.)
 
34631
+#
 
34632
+# So we provide this file, which has a silly filename so it's always
 
34633
+# included after everything else.  This provides aclocal with the
 
34634
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
 
34635
+# because those macros already exist, or will be overwritten later.
 
34636
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
 
34637
+#
 
34638
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
 
34639
+# Yes, that means every name once taken will need to remain here until
 
34640
+# we give up compatibility with versions before 1.7, at which point
 
34641
+# we need to keep only those names which we still refer to.
 
34642
+
 
34643
+# This is to help aclocal find these macros, as it can't see m4_define.
 
34644
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
 
34645
+
 
34646
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
 
34647
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
 
34648
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
 
34649
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
 
34650
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
 
34651
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
 
34652
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
 
34653
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
 
34654
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
 
34655
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
 
34656
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
 
34657
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
 
34658
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
 
34659
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
 
34660
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
 
34661
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
 
34662
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
 
34663
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
 
34664
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
 
34665
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
 
34666
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
 
34667
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
 
34668
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
 
34669
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
 
34670
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
 
34671
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
 
34672
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
 
34673
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
 
34674
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
 
34675
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
 
34676
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
 
34677
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
 
34678
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
 
34679
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
 
34680
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
 
34681
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
 
34682
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
 
34683
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
 
34684
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
 
34685
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
 
34686
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
 
34687
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
 
34688
+m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
 
34689
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
 
34690
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
 
34691
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
 
34692
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
 
34693
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
 
34694
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
 
34695
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
 
34696
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
 
34697
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
 
34698
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
 
34699
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
 
34700
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
20589
34701
Index: sid/oop/Makefile.in
20590
34702
===================================================================
20591
34703
--- sid.orig/oop/Makefile.in
20592
34704
+++ sid/oop/Makefile.in
20593
 
@@ -1,8 +1,8 @@
20594
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20595
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20596
 
 # @configure_input@
20597
 
 
20598
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20599
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20600
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20601
 
 # This Makefile.in is free software; the Free Software Foundation
20602
 
 # gives unlimited permission to copy and/or distribute it,
20603
 
 # with or without modifications, as long as this notice is preserved.
20604
 
@@ -413,8 +413,8 @@
20605
 
        unique=`for i in $$list; do \
20606
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20607
 
          done | \
20608
 
-         $(AWK) '    { files[$$0] = 1; } \
20609
 
-              END { for (i in files) print i; }'`; \
20610
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20611
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20612
 
        mkid -fID $$unique
20613
 
 tags: TAGS
20614
 
 
20615
 
@@ -439,8 +439,8 @@
20616
 
        unique=`for i in $$list; do \
20617
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20618
 
          done | \
20619
 
-         $(AWK) '    { files[$$0] = 1; } \
20620
 
-              END { for (i in files) print i; }'`; \
20621
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20622
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20623
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20624
 
          test -n "$$unique" || unique=$$empty_fix; \
20625
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20626
 
@@ -450,13 +450,12 @@
20627
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20628
 
                $(TAGS_FILES) $(LISP)
20629
 
        tags=; \
20630
 
-       here=`pwd`; \
20631
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20632
 
        unique=`for i in $$list; do \
20633
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20634
 
          done | \
20635
 
-         $(AWK) '    { files[$$0] = 1; } \
20636
 
-              END { for (i in files) print i; }'`; \
20637
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20638
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20639
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20640
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20641
 
             $$tags $$unique
 
34705
@@ -36,7 +36,10 @@
 
34706
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
34707
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34708
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34709
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34710
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34711
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34712
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34713
+       $(top_srcdir)/configure.in
 
34714
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34715
        $(ACLOCAL_M4)
 
34716
 mkinstalldirs = $(install_sh) -d
20642
34717
Index: sid/oop/goops/Makefile.in
20643
34718
===================================================================
20644
34719
--- sid.orig/oop/goops/Makefile.in
20645
34720
+++ sid/oop/goops/Makefile.in
20646
 
@@ -1,8 +1,8 @@
20647
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20648
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20649
 
 # @configure_input@
20650
 
 
20651
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20652
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20653
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20654
 
 # This Makefile.in is free software; the Free Software Foundation
20655
 
 # gives unlimited permission to copy and/or distribute it,
20656
 
 # with or without modifications, as long as this notice is preserved.
 
34721
@@ -36,7 +36,10 @@
 
34722
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
34723
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34724
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34725
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34726
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34727
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34728
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34729
+       $(top_srcdir)/configure.in
 
34730
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34731
        $(ACLOCAL_M4)
 
34732
 mkinstalldirs = $(install_sh) -d
20657
34733
Index: sid/scripts/Makefile.in
20658
34734
===================================================================
20659
34735
--- sid.orig/scripts/Makefile.in
20660
34736
+++ sid/scripts/Makefile.in
20661
 
@@ -1,8 +1,8 @@
20662
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20663
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20664
 
 # @configure_input@
20665
 
 
20666
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20667
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20668
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20669
 
 # This Makefile.in is free software; the Free Software Foundation
20670
 
 # gives unlimited permission to copy and/or distribute it,
20671
 
 # with or without modifications, as long as this notice is preserved.
 
34737
@@ -37,7 +37,10 @@
 
34738
 subdir = scripts
 
34739
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34740
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34741
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34742
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34743
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34744
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34745
+       $(top_srcdir)/configure.in
 
34746
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34747
        $(ACLOCAL_M4)
 
34748
 mkinstalldirs = $(install_sh) -d
20672
34749
Index: sid/srfi/Makefile.in
20673
34750
===================================================================
20674
34751
--- sid.orig/srfi/Makefile.in
20675
34752
+++ sid/srfi/Makefile.in
20676
 
@@ -1,8 +1,8 @@
20677
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20678
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20679
 
 # @configure_input@
20680
 
 
20681
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20682
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20683
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20684
 
 # This Makefile.in is free software; the Free Software Foundation
20685
 
 # gives unlimited permission to copy and/or distribute it,
20686
 
 # with or without modifications, as long as this notice is preserved.
20687
 
@@ -95,7 +95,7 @@
20688
 
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
20689
 
        $(libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_LDFLAGS) \
20690
 
        $(LDFLAGS) -o $@
20691
 
-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
20692
 
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
20693
 
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
20694
 
 am__depfiles_maybe = depfiles
20695
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
20696
 
@@ -425,8 +425,8 @@
20697
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
20698
 
          if test -f $$p; then \
20699
 
            f=$(am__strip_dir) \
20700
 
-           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
20701
 
-           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
20702
 
+           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
20703
 
+           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
20704
 
          else :; fi; \
20705
 
        done
20706
 
 
20707
 
@@ -434,8 +434,8 @@
20708
 
        @$(NORMAL_UNINSTALL)
20709
 
        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
20710
 
          p=$(am__strip_dir) \
20711
 
-         echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
20712
 
-         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
20713
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
20714
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
20715
 
        done
20716
 
 
20717
 
 clean-libLTLIBRARIES:
20718
 
@@ -533,8 +533,8 @@
20719
 
        unique=`for i in $$list; do \
20720
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20721
 
          done | \
20722
 
-         $(AWK) '    { files[$$0] = 1; } \
20723
 
-              END { for (i in files) print i; }'`; \
20724
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20725
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20726
 
        mkid -fID $$unique
20727
 
 tags: TAGS
20728
 
 
20729
 
@@ -546,8 +546,8 @@
20730
 
        unique=`for i in $$list; do \
20731
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20732
 
          done | \
20733
 
-         $(AWK) '    { files[$$0] = 1; } \
20734
 
-              END { for (i in files) print i; }'`; \
20735
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20736
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20737
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20738
 
          test -n "$$unique" || unique=$$empty_fix; \
20739
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20740
 
@@ -557,13 +557,12 @@
20741
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20742
 
                $(TAGS_FILES) $(LISP)
20743
 
        tags=; \
20744
 
-       here=`pwd`; \
20745
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20746
 
        unique=`for i in $$list; do \
20747
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20748
 
          done | \
20749
 
-         $(AWK) '    { files[$$0] = 1; } \
20750
 
-              END { for (i in files) print i; }'`; \
20751
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20752
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20753
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20754
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20755
 
             $$tags $$unique
 
34753
@@ -39,7 +39,10 @@
 
34754
        $(srfiinclude_HEADERS)
 
34755
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34756
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34757
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34758
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34759
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34760
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34761
+       $(top_srcdir)/configure.in
 
34762
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34763
        $(ACLOCAL_M4)
 
34764
 mkinstalldirs = $(install_sh) -d
20756
34765
Index: sid/test-suite/Makefile.in
20757
34766
===================================================================
20758
34767
--- sid.orig/test-suite/Makefile.in
20759
34768
+++ sid/test-suite/Makefile.in
20760
 
@@ -1,8 +1,8 @@
20761
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20762
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20763
 
 # @configure_input@
20764
 
 
20765
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20766
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20767
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20768
 
 # This Makefile.in is free software; the Free Software Foundation
20769
 
 # gives unlimited permission to copy and/or distribute it,
20770
 
 # with or without modifications, as long as this notice is preserved.
20771
 
@@ -456,8 +456,8 @@
20772
 
        unique=`for i in $$list; do \
20773
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20774
 
          done | \
20775
 
-         $(AWK) '    { files[$$0] = 1; } \
20776
 
-              END { for (i in files) print i; }'`; \
20777
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20778
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20779
 
        mkid -fID $$unique
20780
 
 tags: TAGS
20781
 
 
20782
 
@@ -482,8 +482,8 @@
20783
 
        unique=`for i in $$list; do \
20784
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20785
 
          done | \
20786
 
-         $(AWK) '    { files[$$0] = 1; } \
20787
 
-              END { for (i in files) print i; }'`; \
20788
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20789
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20790
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20791
 
          test -n "$$unique" || unique=$$empty_fix; \
20792
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20793
 
@@ -493,13 +493,12 @@
20794
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20795
 
                $(TAGS_FILES) $(LISP)
20796
 
        tags=; \
20797
 
-       here=`pwd`; \
20798
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20799
 
        unique=`for i in $$list; do \
20800
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20801
 
          done | \
20802
 
-         $(AWK) '    { files[$$0] = 1; } \
20803
 
-              END { for (i in files) print i; }'`; \
20804
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20805
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20806
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20807
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20808
 
             $$tags $$unique
 
34769
@@ -35,7 +35,10 @@
 
34770
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
34771
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34772
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34773
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34774
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34775
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34776
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34777
+       $(top_srcdir)/configure.in
 
34778
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34779
        $(ACLOCAL_M4)
 
34780
 mkinstalldirs = $(install_sh) -d
20809
34781
Index: sid/test-suite/standalone/Makefile.in
20810
34782
===================================================================
20811
34783
--- sid.orig/test-suite/standalone/Makefile.in
20812
34784
+++ sid/test-suite/standalone/Makefile.in
20813
 
@@ -1,8 +1,8 @@
20814
 
-# Makefile.in generated by automake 1.10 from Makefile.am.
20815
 
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
20816
 
 # @configure_input@
20817
 
 
20818
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20819
 
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
20820
 
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
20821
 
 # This Makefile.in is free software; the Free Software Foundation
20822
 
 # gives unlimited permission to copy and/or distribute it,
20823
 
 # with or without modifications, as long as this notice is preserved.
20824
 
@@ -110,7 +110,7 @@
20825
 
        $(LIBTOOLFLAGS) --mode=link $(CCLD) \
20826
 
        $(test_with_guile_module_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
20827
 
        $(LDFLAGS) -o $@
20828
 
-DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
20829
 
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
20830
 
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
20831
 
 am__depfiles_maybe = depfiles
20832
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
20833
 
@@ -624,8 +624,8 @@
20834
 
        unique=`for i in $$list; do \
20835
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20836
 
          done | \
20837
 
-         $(AWK) '    { files[$$0] = 1; } \
20838
 
-              END { for (i in files) print i; }'`; \
20839
 
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
20840
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20841
 
        mkid -fID $$unique
20842
 
 tags: TAGS
20843
 
 
20844
 
@@ -637,8 +637,8 @@
20845
 
        unique=`for i in $$list; do \
20846
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20847
 
          done | \
20848
 
-         $(AWK) '    { files[$$0] = 1; } \
20849
 
-              END { for (i in files) print i; }'`; \
20850
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20851
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20852
 
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
20853
 
          test -n "$$unique" || unique=$$empty_fix; \
20854
 
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
20855
 
@@ -648,13 +648,12 @@
20856
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
20857
 
                $(TAGS_FILES) $(LISP)
20858
 
        tags=; \
20859
 
-       here=`pwd`; \
20860
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
20861
 
        unique=`for i in $$list; do \
20862
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20863
 
          done | \
20864
 
-         $(AWK) '    { files[$$0] = 1; } \
20865
 
-              END { for (i in files) print i; }'`; \
20866
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
20867
 
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
20868
 
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
20869
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
20870
 
             $$tags $$unique
 
34785
@@ -51,7 +51,10 @@
 
34786
        $(srcdir)/test-use-srfi.in
 
34787
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
34788
 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
 
34789
-       $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
 
34790
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
 
34791
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
 
34792
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
 
34793
+       $(top_srcdir)/configure.in
 
34794
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
34795
        $(ACLOCAL_M4)
 
34796
 mkinstalldirs = $(install_sh) -d